JP2009276073A - Plane estimating method, curved surface estimating method, and plane estimating device - Google Patents

Plane estimating method, curved surface estimating method, and plane estimating device Download PDF

Info

Publication number
JP2009276073A
JP2009276073A JP2008124733A JP2008124733A JP2009276073A JP 2009276073 A JP2009276073 A JP 2009276073A JP 2008124733 A JP2008124733 A JP 2008124733A JP 2008124733 A JP2008124733 A JP 2008124733A JP 2009276073 A JP2009276073 A JP 2009276073A
Authority
JP
Japan
Prior art keywords
plane
coordinates
point
points
unknown
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008124733A
Other languages
Japanese (ja)
Inventor
Ryosuke Koseki
亮介 小関
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Industries Corp
Original Assignee
Toyota Industries Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Industries Corp filed Critical Toyota Industries Corp
Priority to JP2008124733A priority Critical patent/JP2009276073A/en
Publication of JP2009276073A publication Critical patent/JP2009276073A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a plane estimating method which enables accurate estimation of coordinates of a plane without giving precise knowledge beforehand, in regard to the plane estimating method for estimating the coordinates of an unknown plane, based on the coordinates of a plurality of points in a three-dimensional space. <P>SOLUTION: A plane estimating device 20 is installed on a floor surface 10. The plane estimating device 20 acquires the coordinates of observation points in an observation space A and selects, from the observation points, candidate points which may constitute the floor surface 10. Based on the coordinates of the candidate points, a temporary approximate plane is calculated. A processing wherein the candidate points located at positions apart from this approximate plane are removed as outliers and the approximate plane is calculated again, is repeated. Lastly the coordinates of the floor surface 10 are calculated based on the candidate points left after the removal and on the observation points acquired first. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

この発明は平面推定方法、曲面推定方法、および平面推定装置に関し、とくに、三次元空間において複数の点の座標に基づいて未知の平面または曲面の座標を推定するものに関する。   The present invention relates to a plane estimation method, a curved surface estimation method, and a plane estimation apparatus, and more particularly to a method for estimating coordinates of an unknown plane or curved surface based on the coordinates of a plurality of points in a three-dimensional space.

ロボット等による作業においては、床等の平面の座標を認識することが重要である。とくに、歩行、荷取り、荷降ろし等の動作を正確に行うためには、動作の基準となる基準平面を高精度で認識することが必要となる。また、床や机等の平面に設置された物体を検出するためには、まずその物体が置かれている設置面を認識する必要がある。   When working with a robot or the like, it is important to recognize the coordinates of a plane such as a floor. In particular, in order to accurately perform operations such as walking, unloading, and unloading, it is necessary to recognize a reference plane serving as a reference for the operation with high accuracy. In order to detect an object installed on a plane such as a floor or a desk, it is necessary to first recognize the installation surface on which the object is placed.

平面を認識するための従来の方法として、たとえば特許文献1に記載される方法および特許文献2に記載される方法がある。
特許文献1の方法では、車載カメラを用いて道路面を撮影し、撮影された画像と、あらかじめ指定されたパラメータとに基づいて道路面を認識する。そして、道路面の認識状況を撮影された画像に重ねて表示させ、ユーザはこれを見てパラメータの適否を判定する。
特許文献2の方法では、車載カメラの位置および俯角を既知の値として扱っている。これらの値に基づいて、撮影された画像に座標変換を行い、路面を近似する平面を算出する。
As a conventional method for recognizing a plane, for example, there are a method described in Patent Document 1 and a method described in Patent Document 2.
In the method of Patent Document 1, a road surface is photographed using an in-vehicle camera, and the road surface is recognized based on the photographed image and a parameter specified in advance. Then, the recognition state of the road surface is displayed over the captured image, and the user sees this to determine whether the parameter is appropriate.
In the method of Patent Document 2, the position and the depression angle of the in-vehicle camera are handled as known values. Based on these values, coordinate conversion is performed on the photographed image to calculate a plane that approximates the road surface.

特開2005−62924号公報JP-A-2005-62924 特開2003−178309号公報JP 2003-178309 A

しかしながら、従来の方法では、平面の座標を精度良く推定するためには、あらかじめ精密な知識を与えておく必要があるという問題があった。
特許文献1の方法では、平面の認識はあらかじめ定義されるパラメータに依存するので、このパラメータを精密に決定しておく必要がある。また、パラメータの適否はユーザが判断するので、自動的にパラメータを調整することができない。このため、平面の座標を精密なパラメータなしで精度良く推定することは困難である。
特許文献2の方法でも、カメラの位置および俯角が既知である必要があり、これらの知識が精密に与えられない場合には、平面の座標を精度良く推定することは困難である。
However, the conventional method has a problem that it is necessary to give precise knowledge beforehand in order to accurately estimate the coordinates of the plane.
In the method of Patent Document 1, since the recognition of the plane depends on a parameter defined in advance, it is necessary to determine this parameter precisely. In addition, since the user determines whether or not the parameter is appropriate, the parameter cannot be automatically adjusted. For this reason, it is difficult to accurately estimate the plane coordinates without precise parameters.
Even in the method of Patent Document 2, it is necessary to know the position and depression angle of the camera, and it is difficult to accurately estimate the coordinates of the plane if such knowledge is not given precisely.

この発明は、このような問題点を解決するためになされたものであり、あらかじめ精密な知識を与えることなく平面の座標を精度良く推定することができる、平面推定方法、曲面推定方法、および平面推定装置を提供することを目的とする。   The present invention has been made to solve such a problem, and can provide a plane estimation method, a curved surface estimation method, and a plane that can accurately estimate the coordinates of the plane without giving precise knowledge beforehand. An object is to provide an estimation device.

上述の問題点を解決するため、この発明に係る平面推定方法は、三次元空間において、平面推定装置を用いて、複数の観測点の座標に基づいて未知の平面の座標を推定する、平面推定方法であって、観測点のうちから候補点を選出するステップと、複数回繰り返されるアウトライア除去ステップであって、候補点の座標に基づいて近似平面の座標を算出するサブステップと、候補点のうち、近似平面からの距離が所定の閾値を超えるものを候補点から除外するサブステップとを含む、アウトライア除去ステップと、除外されなかった候補点の座標に基づいて、未知の平面の座標を算出するステップとを含む。   In order to solve the above-described problems, a plane estimation method according to the present invention estimates a plane of an unknown plane based on the coordinates of a plurality of observation points using a plane estimation apparatus in a three-dimensional space. A method of selecting candidate points from observation points; a step of removing an outlier repeated a plurality of times, a sub-step of calculating approximate plane coordinates based on the coordinates of candidate points; and candidate points Outlier removal step including a substep of excluding from the candidate points those whose distance from the approximate plane exceeds a predetermined threshold, and the coordinates of the unknown plane based on the coordinates of the candidate points not excluded Calculating.

観測点とは、三次元空間内で座標が特定され得る点を意味する。観測点は、未知の平面を構成する点を含むが、未知の平面を構成しない点も含む可能性がある。また、候補点とは、観測点のうち、未知の平面を構成する可能性がある点を意味する。
本発明に係る平面推定方法では、まず候補点の座標に基づいて、暫定的な近似平面を算出する。そして、この近似平面から離れた位置にある候補点をアウトライアとして除去し、再び近似平面を算出するという処理を繰り返し行う。このようにして、未知の平面を構成する可能性が高い候補点を絞り込む。最後に、除去されずに残った候補点と、最初に得られた観測点とに基づいて、未知の平面の座標を算出する。
An observation point means a point where coordinates can be specified in a three-dimensional space. Observation points include points that constitute an unknown plane, but may also include points that do not constitute an unknown plane. The candidate point means a point that may constitute an unknown plane among the observation points.
In the plane estimation method according to the present invention, a temporary approximate plane is first calculated based on the coordinates of the candidate points. Then, the candidate point at a position away from the approximate plane is removed as an outlier, and the process of calculating the approximate plane again is repeated. In this way, candidate points that are likely to constitute an unknown plane are narrowed down. Finally, the coordinates of the unknown plane are calculated based on the candidate points remaining without being removed and the observation points obtained first.

未知の平面の座標を算出するステップは、観測点のうち、最後に算出された近似平面からの距離が所定の閾値未満となるものを推定平面点とするサブステップと、推定平面点の座標に基づいて、未知の平面の座標を算出するサブステップとを含んでもよい。
ここで、推定平面点とは、未知の平面を最終的に推定するために用いられる点を意味する。このようにすると、最終的な候補点に含まれない観測点であっても、実際に未知の平面を構成する可能性が高い点は推定平面点に含まれるので、平面推定の根拠として信頼できる点の情報を増やすことができる。
平面推定装置はステレオカメラを備え、ステレオカメラは未知の平面に対して静止していてもよい。
未知の平面は床が構成する平面であるか、または床が構成する平面に平行な平面であってもよい。
ここで、床が構成する平面に平行な平面は、建物の床面、地表面、机面等を含み、平面推定装置または他の何らかの物体が置かれ得るまたは存在し得る面を意味する。
観測点のうちから候補点を選出するステップは、観測点のそれぞれを、鉛直方向に延びる複数の領域のいずれかに分類するサブステップと、領域のそれぞれにおいて、観測点のうち最も低い位置にあるものを候補点とするサブステップとを含んでもよい。
候補点のうち、鉛直方向の位置が所定の範囲に含まれないものを候補点から除外するステップをさらに含んでもよい。
このように、鉛直方向の座標に基づく候補点の選出やフィルタリングによって、未知の平面の座標の推定精度を高めることができる。
近似平面の座標を算出するサブステップ、および、未知の平面の座標を算出するステップのうち少なくとも一方では、最小二乗法が用いられてもよい。
画像に基づいて観測点の座標を取得するステップをさらに含んでもよい。
The step of calculating the coordinates of the unknown plane includes substeps in which observation points whose distance from the last calculated approximate plane is less than a predetermined threshold are estimated plane points, and the coordinates of the estimated plane points. And a sub-step of calculating the coordinates of the unknown plane based thereon.
Here, the estimated plane point means a point used for finally estimating an unknown plane. In this way, even if the observation point is not included in the final candidate point, a point that is likely to actually constitute an unknown plane is included in the estimated plane point, and can be trusted as a basis for plane estimation. The point information can be increased.
The plane estimation apparatus may include a stereo camera, and the stereo camera may be stationary with respect to an unknown plane.
The unknown plane may be a plane constituted by the floor or a plane parallel to the plane constituted by the floor.
Here, the plane parallel to the plane formed by the floor means a plane on which a plane estimation device or some other object can be placed or exist, including a floor surface of a building, a ground surface, a desk surface, and the like.
The step of selecting candidate points from among the observation points is the sub-step of classifying each of the observation points into one of a plurality of areas extending in the vertical direction, and the lowest position among the observation points in each of the areas. And sub-steps using a candidate as a candidate point.
You may further include the step which excludes a candidate point from which the position of a perpendicular direction is not contained in a predetermined range among candidate points.
Thus, the estimation accuracy of the coordinates of the unknown plane can be increased by selecting candidate points based on the vertical coordinates and filtering.
The least square method may be used in at least one of the sub-step of calculating the coordinates of the approximate plane and the step of calculating the coordinates of the unknown plane.
You may further include the step which acquires the coordinate of an observation point based on an image.

また、この発明に係る曲面推定方法は、三次元空間において未知の曲面の形状を推定する、曲面推定方法であって、未知の曲面を複数の未知の平面に分割するステップと、分割された未知の平面のそれぞれについて、上述の平面推定方法を用いて座標を推定するステップとを含む。   The curved surface estimation method according to the present invention is a curved surface estimation method for estimating the shape of an unknown curved surface in a three-dimensional space, the step of dividing the unknown curved surface into a plurality of unknown planes, and the divided unknown For each of the planes, estimating the coordinates using the plane estimation method described above.

また、この発明に係る平面推定装置は、三次元空間において、複数の観測点の座標に基づいて未知の平面の座標を推定する、平面推定装置であって、観測点のうちから候補点を選出し、候補点の座標に基づいて近似平面の座標を算出することと、候補点のうち近似平面からの距離が所定の閾値以上となるものを候補点から除外することとを繰り返し、除外されなかった候補点の座標に基づいて、未知の平面の座標を算出する。   The plane estimation apparatus according to the present invention is a plane estimation apparatus that estimates the coordinates of an unknown plane based on the coordinates of a plurality of observation points in a three-dimensional space, and selects candidate points from the observation points. And repeatedly calculating the coordinates of the approximate plane based on the coordinates of the candidate points and excluding those candidate points whose distance from the approximate plane is equal to or greater than a predetermined threshold from the candidate points. Based on the coordinates of the candidate points, the coordinates of the unknown plane are calculated.

この発明に係る平面推定方法、曲面推定方法、および平面推定装置によれば、あらかじめ精密な知識が与えられなくとも、未知の平面から離れた位置にある候補点をアウトライアとして高精度で除去することができ、候補点を適切に絞り込んで、未知の平面または曲面の座標を高精度で推定することができる。   According to the plane estimation method, the curved surface estimation method, and the plane estimation apparatus according to the present invention, candidate points located away from an unknown plane can be removed with high accuracy as an outlier even if precise knowledge is not given in advance. It is possible to appropriately narrow down candidate points and estimate the coordinates of an unknown plane or curved surface with high accuracy.

以下、この発明の実施の形態を添付図面に基づいて説明する。
実施の形態1.
図1は、床面10と、床面10に設置された平面推定装置20との配置を示す。平面推定装置20は、床面10の座標を推定する装置である。
平面推定装置20は、ステレオカメラを備える。すなわち、平面推定装置20は、デジタルカメラ等の撮像手段を複数備えており、ある観測空間の画像を一時点で異なる角度から撮影し、複数の画像を生成することができる。また、平面推定装置20は、撮影した複数の画像に基づいて、観測空間内の点の位置を表す座標を取得する、座標取得手段としての機能を有する。さらに、平面推定装置20は、取得した点の座標に基づいて床面10の位置を表す座標を推定する、平面算出手段としての機能を有する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.
Embodiment 1 FIG.
FIG. 1 shows an arrangement of a floor surface 10 and a plane estimation device 20 installed on the floor surface 10. The plane estimation device 20 is a device that estimates the coordinates of the floor surface 10.
The plane estimation device 20 includes a stereo camera. That is, the plane estimation apparatus 20 includes a plurality of imaging means such as a digital camera, and can capture images of a certain observation space from different angles at a single point and generate a plurality of images. Further, the plane estimation device 20 has a function as a coordinate acquisition unit that acquires coordinates representing the position of a point in the observation space based on a plurality of captured images. Furthermore, the plane estimation device 20 has a function as plane calculation means for estimating coordinates representing the position of the floor surface 10 based on the coordinates of the acquired points.

平面推定装置20には、三次元空間における床面10の位置を表す座標に関する知識はあらかじめ与えられておらず、平面推定装置20にとって床面10は未知の平面である。
図1のX軸、Y軸、およびZ軸は、平面推定装置20が三次元空間内の構造を認識する際に用いる直交座標系の軸を示す。平面推定装置20は、XZ平面が床面10と平行または略平行になるよう設置される。図1の例では、XZ平面と床面10とは厳密に平行ではなく、誤差としてある程度の角度をなしている。また、図1の床面10を含む三次元空間のうち、平面推定装置20のステレオカメラが撮影する部分を観測空間Aとして表す。
なお、平面推定装置20の設置位置の変更等による観測空間Aのサイズの変動に対応するため、平面推定装置20は、観測空間A内の座標を正規化して扱う。たとえば、観測空間A内で観測されるX軸方向、Y軸方向、およびZ軸方向のそれぞれについて、最小値を0とし、最大値を1.0とする。
The plane estimation device 20 is not given any knowledge about the coordinates representing the position of the floor surface 10 in the three-dimensional space in advance, and the floor surface 10 is an unknown plane for the plane estimation device 20.
An X axis, a Y axis, and a Z axis in FIG. 1 indicate axes of an orthogonal coordinate system used when the plane estimation apparatus 20 recognizes a structure in the three-dimensional space. The plane estimation device 20 is installed such that the XZ plane is parallel or substantially parallel to the floor surface 10. In the example of FIG. 1, the XZ plane and the floor surface 10 are not strictly parallel, and form a certain angle as an error. Moreover, the part which the stereo camera of the plane estimation apparatus 20 image | photographs among the three-dimensional spaces containing the floor surface 10 of FIG.
Note that the plane estimation apparatus 20 handles coordinates in the observation space A by normalizing them in order to cope with a change in the size of the observation space A due to a change in the installation position of the plane estimation apparatus 20 or the like. For example, the minimum value is set to 0 and the maximum value is set to 1.0 for each of the X-axis direction, the Y-axis direction, and the Z-axis direction observed in the observation space A.

図2は、平面推定装置20が床面10の座標を推定する際に実行する処理の流れを説明するフローチャートである。
以下、図1および図2を用いて、平面推定装置20の動作を説明する。
まず平面推定装置20は、座標取得手段として機能する。ここでは、平面推定装置20は、観測空間Aを撮影した複数の画像に基づいて、観測空間Aに含まれる複数の観測点について、その座標を取得する(ステップS1)。なお、三次元空間における点の座標を取得する方法としては、周知のものが用いられる。たとえば、2枚の画像に共通して存在するエッジを検出し、その端を観測点とする方法などがあり、これらの方法をどのように用いて座標を取得するかは当業者であれば適宜設計し得る事項である。
図1の例では、観測空間Aについて10個の観測点が存在する。すなわち、点P11、点P12、点P13、点P21、点P22、点P23、点P31、点P31B、点P32、および点P33である。これらの観測点のうち、点P12、点P13、点P21、点P23、および点P32は床面10を構成する点であるが、点P11、点P22、点P31、点P31B、および点P33は床面10を構成しない点である。
FIG. 2 is a flowchart for explaining the flow of processing executed when the plane estimation device 20 estimates the coordinates of the floor surface 10.
Hereinafter, the operation of the plane estimation apparatus 20 will be described with reference to FIGS. 1 and 2.
First, the plane estimation device 20 functions as a coordinate acquisition unit. Here, the plane estimation apparatus 20 acquires the coordinates of a plurality of observation points included in the observation space A based on a plurality of images obtained by photographing the observation space A (step S1). A known method is used as a method for acquiring the coordinates of the point in the three-dimensional space. For example, there is a method of detecting an edge that is common to two images and using the end as an observation point. A person skilled in the art can determine how to use these methods to obtain coordinates. This is a matter that can be designed.
In the example of FIG. 1, there are 10 observation points for the observation space A. That is, they are point P 11 , point P 12 , point P 13 , point P 21 , point P 22 , point P 23 , point P 31 , point P 31B , point P 32 , and point P 33 . Among these observation points, the point P 12 , the point P 13 , the point P 21 , the point P 23 , and the point P 32 constitute the floor surface 10, but the point P 11 , the point P 22 , and the point P 31 are included. The point P 31B and the point P 33 are points that do not constitute the floor surface 10.

観測点の座標を取得した後、平面推定装置20は平面推定手段として機能する。ここで、まず平面推定装置20は、ステップS1で取得した観測点のうちから、床面10を構成する可能性がある点を、候補点として選出する(ステップS2およびS3)。   After acquiring the coordinates of the observation point, the plane estimation device 20 functions as plane estimation means. Here, first, the plane estimation device 20 selects a point that may constitute the floor surface 10 as a candidate point from the observation points acquired in step S1 (steps S2 and S3).

ステップS2では、平面推定装置20は、観測空間Aを複数の領域に分割し、観測点のそれぞれを領域のいずれかに分類する。図1の例では、観測空間Aは、領域A11、領域A12、領域A13、領域A21、領域A22、領域A23、領域A31、領域A32、および領域A33に分割される。ここで、各領域は鉛直方向に延びるものとする。すなわち、たとえば領域A11は、床面10のうち領域A11に含まれる部分と、その上方の空間と、その下方の空間とを含む。また、各領域は、観測空間AをX軸およびZ軸に沿って等間隔に分割するものである。図1の例では、観測空間AはX軸およびZ軸に沿ってそれぞれ3つに分割され、結果として9つの領域A11〜A33が構成されている。
図1において、領域A31にのみ2つの観測点P31およびP31Bが分類され、その他の領域には1つずつ観測点が分類されることになる。なお、図1の例では説明の便宜上観測点を10個としているが、実際にはさらに多数の観測点が存在してもよく、それぞれの領域に多数の観測点が分類されてもよい。
In step S2, the plane estimation apparatus 20 divides the observation space A into a plurality of regions, and classifies each observation point as one of the regions. In the example of FIG. 1, the observation space A is divided into a region A 11 , a region A 12 , a region A 13 , a region A 21 , a region A 22 , a region A 23 , a region A 31 , a region A 32 , and a region A 33. The Here, each region is assumed to extend in the vertical direction. Thus, for example region A 11 includes a portion included in the area A 11 of the floor 10, and the space above them, a space thereunder. Each region divides the observation space A at equal intervals along the X axis and the Z axis. In the example of FIG. 1, the observation space A is divided into three along the X axis and the Z axis, and as a result, nine regions A 11 to A 33 are configured.
In FIG. 1, two observation points P 31 and P 31B are classified only in the region A 31 , and observation points are classified one by one in the other regions. In the example of FIG. 1, for convenience of explanation, ten observation points are used. However, actually, a larger number of observation points may exist, and a large number of observation points may be classified in each region.

ステップS3では、平面推定装置20は、各領域において、最も低い位置にある観測点を候補点として選出する。図1の例では、最もY座標が小さい観測点が候補点となる。
図1の例では、領域A31においては、点P31Bより点P31のほうが低い位置にある、すなわちY座標が小さいので、点P31のみが候補点となる。その他の領域には観測点が1つしか存在しないので、それぞれの観測点が候補点となる。
このようにして、10個の観測点のうち、点P11、点P12、点P13、点P21、点P22、点P23、点P31、点P32、および点P33が候補点となるが、点P31Bは候補点とはならない。
In step S3, the plane estimation apparatus 20 selects the observation point at the lowest position in each region as a candidate point. In the example of FIG. 1, an observation point with the smallest Y coordinate is a candidate point.
In the example of FIG. 1, in the area A 31, it is in the lower position towards the point P 31 than the point P 31B, that is, the Y coordinate is small, only the point P 31 is the candidate point. Since there is only one observation point in the other region, each observation point is a candidate point.
In this way, among the ten observation points, the point P 11 , the point P 12 , the point P 13 , the point P 21 , the point P 22 , the point P 23 , the point P 31 , the point P 32 , and the point P 33 are Although it is a candidate point, the point P 31B is not a candidate point.

次に、平面推定装置20は、候補点をY座標の偏差値に基づいてフィルタリングし、Y座標が所定の範囲に含まれないものを候補点から除外する(ステップS4)。なお、ここで「Y座標の偏差値」とは、すべての候補点のY座標の集合を母集合とした場合の、それぞれの候補点のY座標の偏差値を意味する。
この所定の範囲は、たとえば偏差値が40以上かつ50以下となる範囲である。一般的な観測空間では床面の上に物体が存在し、候補点は床面および物体のいずれにも分布する可能性があるため、候補点のY座標の平均(すなわち偏差値50に対応する値)は、床面10に対応するY座標よりわずかに上となる。すなわち、床面10を構成する候補点のY座標の偏差値は、50よりわずかに小さい値となる。したがって、偏差値40〜50の範囲に含まれる候補点は実際に床面10を構成する可能性が高く、このようなフィルタリングは処理全体の精度の向上につながる。
図1の例において、たとえば点P33のY座標は偏差値が55であり、その他の候補点のY座標は偏差値が40〜50の範囲内であるとすると、上述のステップS3では候補点とされていた点P33はステップS4において候補点から除外され、残る候補点は点P11、点P12、点P13、点P21、点P22、点P23、点P31、および点P32の8点となる。
Next, the plane estimation apparatus 20 filters the candidate points based on the deviation value of the Y coordinate, and excludes those whose Y coordinate is not included in the predetermined range from the candidate points (step S4). Here, the “Y-coordinate deviation value” means the deviation value of the Y-coordinate of each candidate point when a set of Y-coordinates of all candidate points is used as a mother set.
This predetermined range is a range in which the deviation value is 40 or more and 50 or less, for example. In a general observation space, an object exists on the floor surface, and the candidate points may be distributed on both the floor surface and the object. Therefore, the average of the Y coordinates of the candidate points (that is, corresponding to the deviation value 50). (Value) is slightly above the Y coordinate corresponding to the floor surface 10. That is, the deviation value of the Y coordinate of the candidate points constituting the floor surface 10 is a value slightly smaller than 50. Therefore, there is a high possibility that the candidate points included in the range of the deviation values 40 to 50 actually constitute the floor surface 10, and such filtering leads to an improvement in accuracy of the entire process.
In the example of FIG. 1, for example, assuming that the Y coordinate of the point P 33 has a deviation value of 55, and the Y coordinates of other candidate points are within the range of the deviation value of 40 to 50, in step S3 described above, the candidate point P 33 point has been considered is excluded from the candidate points in step S4, the candidate point is the point P 11 that remains, the point P 12, the point P 13, the point P 21, the point P 22, the point P 23, and the point P 31, There are 8 points P 32 .

次に、平面推定装置20は、候補点のうち所定の条件に該当するものをアウトライアと判定し、これを候補点から除外する(ステップS5〜S7)。
ステップS5において、平面推定装置20は、候補点の座標に基づいて近似平面の座標を算出する。この算出は最小二乗法を用いて行われる。たとえば図1の例において、ステップS5が最初に実行される時点では、上記8点の候補点に基づき、最小二乗法によって近似平面11の座標が算出される。
ステップS6において、平面推定装置20は、候補点のうち、近似平面11からの距離が所定の閾値Tを超えるものが存在するか否か、すなわちアウトライアが存在するか否かを判定する。
ステップS6においてアウトライアが存在すると判定された場合、平面推定装置20は、ステップS7において、当該アウトライアをすべて候補点から除外する。
Next, the plane estimation device 20 determines that a candidate point that satisfies a predetermined condition is an outlier, and excludes it from the candidate point (steps S5 to S7).
In step S5, the plane estimation apparatus 20 calculates the coordinates of the approximate plane based on the coordinates of the candidate points. This calculation is performed using the least square method. For example, in the example of FIG. 1, when step S5 is first executed, the coordinates of the approximate plane 11 are calculated by the least square method based on the above eight candidate points.
In step S <b> 6, the plane estimation apparatus 20 determines whether there is a candidate point whose distance from the approximate plane 11 exceeds a predetermined threshold T, that is, whether an outlier exists.
If it is determined in step S6 that an outlier exists, the plane estimation apparatus 20 excludes all the outliers from candidate points in step S7.

たとえば図1において、点P22と近似平面11との距離が閾値Tを超えており、その他の候補点と近似平面11との距離は閾値T以下であるとする。このような場合、ステップS4までは候補点とされていた点P22はステップS7において候補点から除外され、残る候補点は点P11、点P12、点P13、点P21、点P23、点P31、および点P32の7点となる。その後、平面推定装置20の処理はステップS5に戻る。
このように、ステップS5〜S7はアウトライア除去ステップを構成し、このアウトライア除去ステップは、ステップS6の条件分岐に応じて複数回繰り返される。ここで、アウトライアが除外されるたびに近似平面11が再計算されるので、近似平面11はその都度座標が変わる。このような繰り返しの過程において、床面10を構成しない点P11および点P31は順次アウトライアとして候補点から除外され、これに伴って徐々に近似の精度が向上する。
For example, in FIG. 1, it exceeds the distance threshold value T of the point P 22 and the approximate plane 11, and the distance between the approximate plane 11 and the other candidate points is less than the threshold value T. In such a case, steps S4 P 22 point is a candidate point is excluded from the candidate points in step S7, the candidate point is the point P 11 that remains, the point P 12, the point P 13, the point P 21, the point P 23 , point P 31 , and point P 32 . Then, the process of the plane estimation apparatus 20 returns to step S5.
As described above, steps S5 to S7 constitute an outlier removal step, and this outlier removal step is repeated a plurality of times according to the conditional branch in step S6. Here, since the approximate plane 11 is recalculated each time the outlier is excluded, the coordinates of the approximate plane 11 change each time. In such an iterative process, the point P 11 and the point P 31 that do not constitute the floor surface 10 are sequentially excluded from the candidate points as outliers, and accordingly the accuracy of approximation gradually improves.

このアウトライア除去ステップは、上述のように全体で見れば近似の精度を向上させるものではあるが、場合によっては実際に床面10を構成する点をアウトライアと判定してしまう可能性がわずかながら存在する。たとえば、図1において実際には床面10を構成する点P32がアウトライアと判定され、候補点から除外されたとする。その後の繰り返しにおいて他の候補点は除外されなかったとすると、残る候補点は点P12、点P13、点P21、および点P23の4点となる。 As described above, this outlier removal step improves the accuracy of approximation as a whole, but in some cases, there is a slight possibility that a point that actually constitutes the floor surface 10 is determined as an outlier. Exist. For example, in practice in Fig. 1 P 32 points constituting the floor surface 10 is determined to outliers, and were excluded from the candidate point. If other candidate points are not excluded in the subsequent iterations, the remaining candidate points are four points of point P 12 , point P 13 , point P 21 , and point P 23 .

ステップS6においてアウトライアが存在しないと判定された場合、平面推定装置20は、それまで除外されなかった候補点の座標に基づいて、床面10の座標を算出する(ステップS8およびS9)。
それまで除外されなかった候補点に基づく近似平面11、すなわち最後に算出された近似平面11は、上記ステップS5が最後に実行された時点ですでに決定されている。平面推定装置20は、ステップS8において、観測点のうち、近似平面11からの距離が閾値T未満となるものをすべて選出し、選出された観測点を、床面10を最終的に推定するための推定平面点とする。
When it is determined in step S6 that no outlier exists, the plane estimation device 20 calculates the coordinates of the floor surface 10 based on the coordinates of candidate points that have not been excluded so far (steps S8 and S9).
The approximate plane 11 based on the candidate points that have not been excluded until that time, that is, the approximate plane 11 calculated last is already determined at the time when the above step S5 is finally executed. In step S8, the plane estimation device 20 selects all the observation points whose distance from the approximate plane 11 is less than the threshold value T, and finally estimates the floor surface 10 for the selected observation points. Are estimated plane points.

ここで、推定平面点は、最後まで除外されなかった候補点のみでなく、全観測点から選出される。すなわち、ステップS3で候補点とならなかった観測点や、ステップS4およびS7で候補点から除外された観測点も、推定平面点となる可能性がある。たとえば、図1において、最終的に近似平面11の近似精度が高まり、これによって、一旦除外された観測点P32と近似平面11との距離が閾値T未満になっているとする。この場合、推定平面点は、点P12、点P13、点P21、点P23、および点P32の5点となる。
ここで、近似平面11の近似精度はステップS5〜S7の繰り返しによって高まっているので、近似平面11に近い点は実際に床面10を構成する可能性が高い点ということができる。このように、最終的な候補点に含まれない観測点であっても、実際に床面10を構成する可能性が高い点は推定平面点に含まれるので、平面推定の根拠として信頼できる点の情報を増やすことができる。
ステップS9において、平面推定装置20は、推定平面点の座標に基づいて、床面10の座標を算出する。この算出は最小二乗法を用いて行われる。
Here, the estimated plane points are selected not only from candidate points that are not excluded until the end but also from all observation points. That is, observation points that have not become candidate points in step S3 and observation points that have been excluded from candidate points in steps S4 and S7 may also be estimated plane points. For example, in FIG. 1, it is assumed that the approximation accuracy of the approximate plane 11 finally increases, and as a result, the distance between the observation point P 32 once excluded and the approximate plane 11 is less than the threshold T. In this case, the estimated plane points are five points of point P 12 , point P 13 , point P 21 , point P 23 , and point P 32 .
Here, since the approximation accuracy of the approximate plane 11 is increased by repeating Steps S <b> 5 to S <b> 7, it can be said that a point close to the approximate plane 11 is highly likely to actually constitute the floor surface 10. As described above, even if the observation point is not included in the final candidate point, a point that is likely to actually constitute the floor surface 10 is included in the estimated plane point. Can increase information.
In step S9, the plane estimation device 20 calculates the coordinates of the floor 10 based on the coordinates of the estimated plane point. This calculation is performed using the least square method.

このように、実施の形態1に係る平面推定装置20によれば、あらかじめ床面10についての精密な知識が与えられなくとも、最小二乗法による平面近似とアウトライア除去とを繰り返すことで、床面10から離れた位置にある候補点をアウトライアとして高精度で除去することができるので、候補点を適切に絞り込んで、床面10の座標を高精度で推定することができる。
また、このような平面推定を応用することによって、ロボット等の歩行、荷取り、荷降ろし等の動作に要求される基準面の認識の精度が向上するので、ロボット等の装置はより適切な動作を行うことができる。
As described above, according to the plane estimation apparatus 20 according to the first embodiment, the floor approximation by the least square method and the outlier removal are repeatedly performed even if precise knowledge about the floor surface 10 is not given in advance. Candidate points located away from the surface 10 can be removed as an outlier with high accuracy, so that the candidate points can be appropriately narrowed down and the coordinates of the floor surface 10 can be estimated with high accuracy.
In addition, by applying such plane estimation, the accuracy of the reference plane recognition required for operations such as walking, unloading, and unloading of robots is improved, so that devices such as robots operate more appropriately. It can be performed.

また、最終的な候補点に含まれない観測点であっても、最後に算出された近似平面11に近い点については、実際に床面10を構成する可能性が高い点として推定平面点に含めるので、信頼できる点の情報を増やすことができ、床面10の座標の推定精度をさらに高めることができる。   In addition, even if the observation point is not included in the final candidate point, the point near the last calculated approximate plane 11 is the estimated plane point as a point that is likely to actually constitute the floor surface 10. Since it is included, the information of the reliable point can be increased and the estimation accuracy of the coordinates of the floor surface 10 can be further increased.

また、平面推定装置は、撮像手段として床面10に対して静止しているステレオカメラを用いることができるので、撮像装置を移動させつつ異なる時点において複数の画像を取得する必要がなく、構成および処理内容を簡素にすることができる。もちろん、平面推定装置20あるいはステレオカメラは移動するものであってもよく、床面10に対して移動しつつ異なる位置で撮影を行い、その結果に基づいて観測点の座標を取得するものであってもよい。   In addition, since the plane estimation apparatus can use a stereo camera that is stationary with respect to the floor 10 as an imaging unit, there is no need to acquire a plurality of images at different time points while moving the imaging apparatus. Processing contents can be simplified. Of course, the plane estimation device 20 or the stereo camera may be moved, and the image is taken at different positions while moving with respect to the floor surface 10, and the coordinates of the observation point are acquired based on the result. May be.

また、平面推定装置20は、XZ平面が床面10と略平行になるように設置されるので、「床面10は、床面10上に置かれた物体よりも低い位置に存在する」という知識を利用することができる。すなわち、Y座標を点の高低を表す座標として用いることができ、Y座標に基づく候補点の選出やフィルタリングによって、床面10の座標の推定精度を高めることができる。この効果は、XZ平面が床面10と厳密に平行でなく、図1に示すように多少の傾きを有する場合でも十分に得られるものであり、平面推定装置20を設置する際に精密な位置決めは必要とされない。このため、平面推定装置20を設置する際の工程を簡素なものとすることができる。   Further, since the plane estimation device 20 is installed so that the XZ plane is substantially parallel to the floor surface 10, “the floor surface 10 exists at a position lower than an object placed on the floor surface 10”. Knowledge can be used. That is, the Y coordinate can be used as a coordinate representing the height of the point, and the estimation accuracy of the coordinate of the floor surface 10 can be increased by selecting candidate points based on the Y coordinate and filtering. This effect is sufficiently obtained even when the XZ plane is not strictly parallel to the floor surface 10 and has a slight inclination as shown in FIG. 1, and precise positioning is performed when the plane estimation device 20 is installed. Is not required. For this reason, the process at the time of installing the plane estimation apparatus 20 can be simplified.

なお、この「床面10は、床面10上に置かれた物体よりも低い位置に存在する」という知識は、XZ平面が床面10と平行に近いほど、すなわちこれらのなす角度が小さいほど、効率的に利用することができる。ただし、原理的には、平面推定装置20が「上方向」と認識する方向、すなわちY座標が大きくなる方向が、水平方向より上を向いていれば、事前知識をまったく利用しない方法と比較して推定精度を向上させられる可能性がある。言い換えれば、平面推定装置20を設置する際に上下が逆転しないように設置すれば、平面推定装置20の上下軸が横倒しに近い状態になっていても、推定精度を向上させられる可能性がある。
ただし、このような知識を利用しない構成としてもよく、たとえば図2のステップS3やステップS4を実行しないものであってもよい。この場合は、推定精度の低下と引き換えに、水平面に限られないより汎用的な平面推定を行うことができる。
Note that the knowledge that “the floor surface 10 exists at a position lower than the object placed on the floor surface 10” is that the closer the XZ plane is to the floor surface 10, that is, the smaller the angle formed between them. Can be used efficiently. However, in principle, if the direction that the plane estimation device 20 recognizes as “upward”, that is, the direction in which the Y coordinate increases, is higher than the horizontal direction, it is compared with a method that does not use prior knowledge at all. The estimation accuracy may be improved. In other words, if the plane estimator 20 is installed so that it does not turn upside down, the estimation accuracy may be improved even if the vertical axis of the plane estimator 20 is in a state of being nearly lying down. .
However, such a configuration may not be used, and for example, step S3 and step S4 in FIG. 2 may not be executed. In this case, more general plane estimation can be performed without being limited to the horizontal plane in exchange for a decrease in estimation accuracy.

上述の実施の形態1では、観測空間Aは9つの領域A11〜A33に分割されているが、領域の数はこれとは異なるものであってもよい。分割される領域の数は、平面推定の精度と、全体の演算に必要な時間とに応じ、適宜決定されるものであってもよい。 In the above-described first embodiment, the observation space A is divided into nine regions A 11 to A 33 , but the number of regions may be different from this. The number of regions to be divided may be appropriately determined according to the accuracy of plane estimation and the time required for the entire calculation.

実施の形態1では、ステップS4における偏差値の範囲は40以上50以下であるが、この範囲の上限および下限は、これとは異なる値であってもよく、たとえば実験等に基づいて決められてもよい。また、判定に用いる値は、Y座標に基づいて算出される値であれば偏差値でなくともよく、たとえば全点のY座標の平均と各点のY座標との差であってもよい。   In the first embodiment, the range of the deviation value in step S4 is 40 or more and 50 or less. However, the upper limit and the lower limit of this range may be different values, and are determined based on, for example, experiments. Also good. Moreover, the value used for determination may not be a deviation value as long as it is a value calculated based on the Y coordinate, and may be, for example, the difference between the average of the Y coordinates of all points and the Y coordinate of each point.

実施の形態1において、所定の閾値Tは、観測点の座標に誤差が含まれることを考慮し、適切な値に設定される。ここで、閾値Tを大きくすると、多数の推定平面点を確保することができ、これに応じた精度の向上が期待できる。逆に、閾値Tを小さくすると、実際に床面10を構成しない点をより確実に除外することができ、これに応じた精度の向上が期待できる。閾値Tは、これらの効果のバランスを考慮して決定されてもよい。   In the first embodiment, the predetermined threshold value T is set to an appropriate value in consideration of an error included in the coordinates of the observation point. Here, when the threshold value T is increased, a large number of estimated plane points can be secured, and an improvement in accuracy according to this can be expected. On the other hand, if the threshold value T is reduced, the point that does not actually constitute the floor surface 10 can be more reliably excluded, and an improvement in accuracy corresponding to this can be expected. The threshold value T may be determined in consideration of the balance of these effects.

実施の形態1では、平面推定装置20が、座標取得手段および平面算出手段として機能する。変形例として、座標取得手段または平面算出手段は、平面推定装置20の外部の装置として構成されてもよく、またこれらが複数の装置に分散して構成されてもよい。たとえば、座標取得手段が平面推定装置20に含まれない構成では、平面推定装置20は、ステップS1において画像に基づいて観測点の座標を取得することに代えて、外部から観測点の座標を受け取ってもよく、あるいは外部に記録された観測点の座標を読み込んでもよい。その後、これらの観測点の座標に基づいてステップS2以降の処理を行ってもよい。
また、平面推定装置20はステレオカメラを備える必要はなく、観測空間Aにおける観測点の座標を取得できる手段として他の周知の手段を備えてもよい。
In the first embodiment, the plane estimation device 20 functions as a coordinate acquisition unit and a plane calculation unit. As a modification, the coordinate acquisition unit or the plane calculation unit may be configured as a device external to the plane estimation device 20, or may be configured to be distributed among a plurality of devices. For example, in the configuration in which the coordinate acquisition unit is not included in the plane estimation device 20, the plane estimation device 20 receives the coordinates of the observation point from the outside instead of acquiring the coordinates of the observation point based on the image in step S1. Alternatively, the coordinates of observation points recorded externally may be read. Thereafter, the processing after step S2 may be performed based on the coordinates of these observation points.
Further, the plane estimation device 20 does not need to include a stereo camera, and may include other well-known means as means for acquiring the coordinates of the observation point in the observation space A.

実施の形態1は、床面10が平面または略平面であることを想定したものであるが、床面10が曲面である場合も実施の形態1と同様の処理を行うことができる。その場合は、平面推定装置20は、床曲面の座標として、その床曲面を近似する平面の座標を算出することになる。   The first embodiment assumes that the floor surface 10 is a flat surface or a substantially flat surface, but the same processing as in the first embodiment can be performed even when the floor surface 10 is a curved surface. In this case, the plane estimation device 20 calculates the coordinates of the plane that approximates the floor curved surface as the coordinates of the floor curved surface.

実施の形態2.
実施の形態2は、実施の形態1において、座標を推定すべき未知の平面と、平面推定装置20が設置される面とが異なる構成としたものである。以下、実施の形態1と異なる点を説明する。
図3は、床面10と、床面10に設置された平面推定装置20と、床面10に設置された机の表面である机面30との位置関係を示す。実施の形態2では、机面30が、その座標を推定すべき未知の平面となる。
机面30を含む三次元空間のうち、実施の形態2において平面推定装置20が撮影する部分を、観測空間Bとして表す。なお図3では観測空間Bが9つの領域に分割されることが示されている。
平面推定装置20は、観測空間B内の観測点の座標に基づいて、観測空間Bに含まれる机面30の座標を推定する。この推定は、平面推定装置20は、実施の形態1において観測空間Aにおける床面10の座標を推定する処理と同様にして、図2のフローチャートに従って行われる。
Embodiment 2. FIG.
The second embodiment is different from the first embodiment in that the unknown plane whose coordinates are to be estimated is different from the plane on which the plane estimation device 20 is installed. Hereinafter, differences from the first embodiment will be described.
FIG. 3 shows the positional relationship between the floor surface 10, the plane estimation device 20 installed on the floor surface 10, and the desk surface 30 which is the surface of the desk installed on the floor surface 10. In the second embodiment, the desk surface 30 is an unknown plane whose coordinates should be estimated.
Of the three-dimensional space including the desk surface 30, a portion captured by the plane estimation device 20 in the second embodiment is represented as an observation space B. Note that FIG. 3 shows that the observation space B is divided into nine regions.
The plane estimation device 20 estimates the coordinates of the desk surface 30 included in the observation space B based on the coordinates of the observation points in the observation space B. This estimation is performed according to the flowchart of FIG. 2 in the same manner as the processing for estimating the coordinates of the floor surface 10 in the observation space A in the first embodiment.

実施の形態2では、平面推定装置20が設置されている床面10と、未知の平面である机面30とは異なる面であるが、実施の形態2に係る平面推定装置20は、机面30上に観測空間Bを設定することによって、実施の形態1と同様の精度で机面30の座標を推定することができる。
なお、未知の平面は、机面30に限らず、平面推定装置20が設置される平面に平行または略平行な平面であればどのような面であってもよい。
In the second embodiment, the floor surface 10 on which the plane estimation device 20 is installed is different from the desk surface 30 that is an unknown plane, but the plane estimation device 20 according to the second embodiment is a table surface. By setting the observation space B on 30, the coordinates of the desk surface 30 can be estimated with the same accuracy as in the first embodiment.
The unknown plane is not limited to the desk surface 30 and may be any plane as long as the plane is parallel or substantially parallel to the plane on which the plane estimation device 20 is installed.

実施の形態3.
実施の形態3は、実施の形態1における平面の推定を応用し、未知の曲面の形状を推定する構成としたものである。以下、実施の形態1と異なる点を説明する。
図4は、床曲面15と、床曲面15に設置された曲面推定装置25との配置を示す。床曲面15の形状および位置は、曲面推定装置25にとって未知である。曲面推定装置25は、実施の形態1における平面推定装置20の機能を備え、この機能を利用して床曲面15の形状を推定する。
Embodiment 3 FIG.
The third embodiment is configured to apply the estimation of the plane in the first embodiment to estimate the shape of an unknown curved surface. Hereinafter, differences from the first embodiment will be described.
FIG. 4 shows an arrangement of the floor curved surface 15 and the curved surface estimation device 25 installed on the floor curved surface 15. The shape and position of the floor curved surface 15 are unknown to the curved surface estimation device 25. The curved surface estimating device 25 has the function of the flat surface estimating device 20 in the first embodiment, and estimates the shape of the floor curved surface 15 using this function.

曲面推定装置25は、図2のフローチャートに示す処理を実行する。ただし、図2のステップS1の前に、床曲面15を複数の平面に分割するステップを実行する。図4の例では、床曲面15を含む観測空間全体が、複数のより小さな観測空間に分割されており、分割された観測空間はそれぞれ1つの平面を含む。これによって、床曲面15が複数の平面に分割されている(なお図4では、4つの平面に対応する4つの観測空間C1〜C4のみを例示する)。この分割は、床曲面15に対応する観測空間を、X軸およびZ軸に沿って等間隔に分割するものである。   The curved surface estimation device 25 executes the processing shown in the flowchart of FIG. However, a step of dividing the floor curved surface 15 into a plurality of planes is executed before step S1 of FIG. In the example of FIG. 4, the entire observation space including the floor curved surface 15 is divided into a plurality of smaller observation spaces, and each divided observation space includes one plane. Thereby, the floor curved surface 15 is divided into a plurality of planes (in FIG. 4, only four observation spaces C1 to C4 corresponding to the four planes are illustrated). This division divides the observation space corresponding to the floor curved surface 15 at equal intervals along the X axis and the Z axis.

このように床曲面15を複数の平面に分割した後、曲面推定装置25は、それぞれの平面について実施の形態1の平面推定方法を実行し、座標を推定する。図4では、観測空間C1〜C4に対応する平面が、実施の形態1と同様にしてそれぞれ9つの領域に分割されることが示されている。
さらに、曲面推定装置25は、推定されたそれぞれの平面の座標に基づいて、床曲面15の形状を推定する。たとえば、床曲面15の形状は、推定された平面をすべて組み合わせた形状であると推定する。また、異なる平面の境界ではなんらかの補間処理が行われてもよい。この補間処理は、境界に対応する部分のみを観測空間とし、そこに含まれる平面の座標を図2のフローチャートに従って推定する処理であってもよい。
このように、実施の形態3に係る曲面推定装置25は、高精度に推定された平面の座標に基づいて床曲面15の形状を推定するので、床曲面15の形状を全体として高精度に推定することができる。
After dividing the floor curved surface 15 into a plurality of planes in this way, the curved surface estimation device 25 executes the plane estimation method of the first embodiment for each plane and estimates coordinates. FIG. 4 shows that the planes corresponding to the observation spaces C1 to C4 are each divided into nine regions in the same manner as in the first embodiment.
Furthermore, the curved surface estimation device 25 estimates the shape of the floor curved surface 15 based on the estimated coordinates of each plane. For example, the shape of the floor curved surface 15 is estimated to be a shape combining all estimated planes. Further, some interpolation processing may be performed at the boundary between different planes. This interpolation processing may be processing for estimating only the portion corresponding to the boundary as an observation space and estimating the coordinates of the plane included therein according to the flowchart of FIG.
As described above, the curved surface estimation apparatus 25 according to the third embodiment estimates the shape of the floor curved surface 15 based on the coordinates of the plane estimated with high accuracy, so the shape of the floor curved surface 15 is estimated with high accuracy as a whole. can do.

実施の形態1において、床面と、床面に設置された平面推定装置との配置を示す図である。In Embodiment 1, it is a figure which shows arrangement | positioning with a floor surface and the plane estimation apparatus installed in the floor surface. 平面推定装置が床面の座標を推定する際に実行する処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of the process performed when a plane estimation apparatus estimates the coordinate of a floor surface. 実施の形態2において、床面と、床面に設置された平面推定装置と、床面に設置された机の表面との位置関係を示す図である。In Embodiment 2, it is a figure which shows the positional relationship with the floor surface, the plane estimation apparatus installed in the floor surface, and the surface of the desk installed in the floor surface. 実施の形態3において、床曲面と、床曲面に設置された曲面推定装置との配置を示す図である。In Embodiment 3, it is a figure which shows arrangement | positioning with a floor curved surface and the curved surface estimation apparatus installed in the floor curved surface.

符号の説明Explanation of symbols

10 床面(未知の平面、床が構成する平面)、11 近似平面、15 床曲面(未知の曲面)、20 平面推定装置(座標取得手段、平面算出手段)、25 曲面推定装置、30 机面(未知の平面、床が構成する平面に平行な平面)、A11〜A33 領域、P11〜P33 点(観測点、候補点)、P31B 点(観測点)。 DESCRIPTION OF SYMBOLS 10 Floor surface (Unknown plane, plane which a floor comprises), 11 Approximation plane, 15 Floor curved surface (Unknown curved surface), 20 Plane estimation apparatus (coordinate acquisition means, plane calculation means), 25 Curved surface estimation apparatus, 30 Desk surface (Unknown plane, plane parallel to the plane formed by the floor), A 11 to A 33 region, P 11 to P 33 points (observation point, candidate point), P 31B point (observation point).

Claims (10)

三次元空間において、平面推定装置を用いて、複数の観測点の座標に基づいて未知の平面の座標を推定する、平面推定方法であって、
前記観測点のうちから候補点を選出するステップと、
複数回繰り返されるアウトライア除去ステップであって、
前記候補点の座標に基づいて近似平面の座標を算出するサブステップと、
前記候補点のうち、前記近似平面からの距離が所定の閾値を超えるものを候補点から除外するサブステップと
を含む、アウトライア除去ステップと、
除外されなかった前記候補点の座標に基づいて、前記未知の平面の座標を算出するステップと
を含む、平面推定方法。
A plane estimation method for estimating coordinates of an unknown plane based on coordinates of a plurality of observation points using a plane estimation device in a three-dimensional space,
Selecting candidate points from the observation points;
An outlier removal step that is repeated multiple times,
A sub-step of calculating the coordinates of the approximate plane based on the coordinates of the candidate points;
An outlier removal step comprising: substeps of excluding candidate points whose distance from the approximate plane exceeds a predetermined threshold from the candidate points;
Calculating the coordinates of the unknown plane based on the coordinates of the candidate points that were not excluded.
前記未知の平面の座標を算出するステップは、
前記観測点のうち、最後に算出された前記近似平面からの距離が前記所定の閾値未満となるものを推定平面点とするサブステップと、
前記推定平面点の座標に基づいて、前記未知の平面の座標を算出するサブステップと
を含む、請求項1に記載の平面推定方法。
Calculating the coordinates of the unknown plane,
Among the observation points, a sub-step in which an estimated plane point is a distance that is less than the predetermined threshold value from the last calculated approximate plane;
The plane estimation method according to claim 1, further comprising a sub-step of calculating coordinates of the unknown plane based on coordinates of the estimated plane point.
前記平面推定装置はステレオカメラを備え、前記ステレオカメラは前記未知の平面に対して静止している、請求項1または2に記載の平面推定方法。   The plane estimation method according to claim 1, wherein the plane estimation device includes a stereo camera, and the stereo camera is stationary with respect to the unknown plane. 前記未知の平面は床が構成する平面であるか、または前記床が構成する平面に平行な平面である、請求項1〜3のいずれか一項に記載の平面推定方法。   The plane estimation method according to any one of claims 1 to 3, wherein the unknown plane is a plane constituted by a floor or a plane parallel to a plane constituted by the floor. 前記観測点のうちから候補点を選出する前記ステップは、
前記観測点のそれぞれを、鉛直方向に延びる複数の領域のいずれかに分類するサブステップと、
前記領域のそれぞれにおいて、観測点のうち最も低い位置にあるものを候補点とするサブステップと
を含む、請求項1〜4のいずれか一項に記載の平面推定方法。
The step of selecting candidate points from the observation points includes:
A sub-step of classifying each of the observation points into one of a plurality of regions extending in a vertical direction;
5. The plane estimation method according to claim 1, further comprising: a substep in which a candidate point is the lowest observation point in each of the regions.
前記候補点のうち、鉛直方向の位置が所定の範囲に含まれないものを候補点から除外するステップをさらに含む、請求項5に記載の平面推定方法。   The plane estimation method according to claim 5, further comprising the step of excluding from the candidate points those candidate points whose vertical positions are not included in a predetermined range. 前記近似平面の座標を算出する前記サブステップ、および、前記未知の平面の座標を算出する前記ステップのうち少なくとも一方では、最小二乗法が用いられる、請求項1〜6のいずれか一項に記載の平面推定方法。   The least square method is used in at least one of the sub-step of calculating the coordinates of the approximate plane and the step of calculating the coordinates of the unknown plane, according to any one of claims 1 to 6. Plane estimation method. 画像に基づいて前記観測点の座標を取得するステップをさらに含む、請求項1〜7のいずれか一項に記載の平面推定方法。   The plane estimation method according to claim 1, further comprising a step of acquiring coordinates of the observation point based on an image. 三次元空間において未知の曲面の形状を推定する、曲面推定方法であって、
前記未知の曲面を複数の未知の平面に分割するステップと、
分割された前記未知の平面のそれぞれについて、請求項1〜8のいずれか一項に記載の平面推定方法を用いて座標を推定するステップと
を含む、曲面推定方法。
A surface estimation method for estimating the shape of an unknown curved surface in a three-dimensional space,
Dividing the unknown curved surface into a plurality of unknown planes;
A surface estimation method including a step of estimating coordinates for each of the divided unknown planes using the plane estimation method according to claim 1.
三次元空間において、複数の観測点の座標に基づいて未知の平面の座標を推定する、平面推定装置であって、
前記観測点のうちから候補点を選出し、
前記候補点の座標に基づいて近似平面の座標を算出することと、前記候補点のうち前記近似平面からの距離が所定の閾値以上となるものを候補点から除外することとを繰り返し、
除外されなかった前記候補点の座標に基づいて、前記未知の平面の座標を算出する
平面推定装置。
A plane estimation device that estimates the coordinates of an unknown plane based on the coordinates of a plurality of observation points in a three-dimensional space,
A candidate point is selected from the observation points,
Repeatedly calculating the coordinates of the approximate plane based on the coordinates of the candidate point, and excluding those candidate points whose distance from the approximate plane is equal to or greater than a predetermined threshold from the candidate points,
A plane estimation apparatus that calculates coordinates of the unknown plane based on the coordinates of the candidate points that are not excluded.
JP2008124733A 2008-05-12 2008-05-12 Plane estimating method, curved surface estimating method, and plane estimating device Pending JP2009276073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008124733A JP2009276073A (en) 2008-05-12 2008-05-12 Plane estimating method, curved surface estimating method, and plane estimating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008124733A JP2009276073A (en) 2008-05-12 2008-05-12 Plane estimating method, curved surface estimating method, and plane estimating device

Publications (1)

Publication Number Publication Date
JP2009276073A true JP2009276073A (en) 2009-11-26

Family

ID=41441661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008124733A Pending JP2009276073A (en) 2008-05-12 2008-05-12 Plane estimating method, curved surface estimating method, and plane estimating device

Country Status (1)

Country Link
JP (1) JP2009276073A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013024705A1 (en) * 2011-08-18 2013-02-21 Ricoh Company, Ltd. Projector and control method thereof
JP2013041167A (en) * 2011-08-18 2013-02-28 Ricoh Co Ltd Image processing device, projector, projector system, image processing method, program thereof, and recording medium with the program stored therein
JP2014095644A (en) * 2012-11-11 2014-05-22 Kajima Corp Method, system, and program for measuring grain size of deposited granular material
KR101566448B1 (en) 2014-03-21 2015-11-05 동아대학교 산학협력단 Method for detecting and removing floor area using depth information and apparutus for detecting and removing floor area using depth information and program recording medium for detecting and removing floor area using depth information
WO2020129554A1 (en) * 2018-12-19 2020-06-25 パナソニックIpマネジメント株式会社 Observation method and observation device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013024705A1 (en) * 2011-08-18 2013-02-21 Ricoh Company, Ltd. Projector and control method thereof
JP2013041166A (en) * 2011-08-18 2013-02-28 Ricoh Co Ltd Projector, control method thereof, program thereof, and recording medium with the program stored therein
JP2013041167A (en) * 2011-08-18 2013-02-28 Ricoh Co Ltd Image processing device, projector, projector system, image processing method, program thereof, and recording medium with the program stored therein
CN103782232A (en) * 2011-08-18 2014-05-07 株式会社理光 Projector and control method thereof
US8953101B2 (en) 2011-08-18 2015-02-10 Ricoh Company, Ltd. Projector and control method thereof
CN103782232B (en) * 2011-08-18 2015-12-02 株式会社理光 Projector and control method thereof
US9696613B2 (en) 2011-08-18 2017-07-04 Ricoh Company, Ltd. Image processing apparatus, projector and image processing method
JP2014095644A (en) * 2012-11-11 2014-05-22 Kajima Corp Method, system, and program for measuring grain size of deposited granular material
KR101566448B1 (en) 2014-03-21 2015-11-05 동아대학교 산학협력단 Method for detecting and removing floor area using depth information and apparutus for detecting and removing floor area using depth information and program recording medium for detecting and removing floor area using depth information
WO2020129554A1 (en) * 2018-12-19 2020-06-25 パナソニックIpマネジメント株式会社 Observation method and observation device

Similar Documents

Publication Publication Date Title
US8755562B2 (en) Estimation apparatus, control method thereof, and program
KR102209008B1 (en) Apparatus for estimating camera pose and method for estimating camera pose
JP6503906B2 (en) Image processing apparatus, image processing method and image processing program
JP4943034B2 (en) Stereo image processing device
KR101896301B1 (en) Apparatus and method for processing depth image
JP6499047B2 (en) Measuring device, method and program
JP6326641B2 (en) Image processing apparatus and image processing method
US11908081B2 (en) Method and system for automatic characterization of a three-dimensional (3D) point cloud
US10207409B2 (en) Image processing method, image processing device, and robot system
JPWO2018131165A1 (en) Information processing program, information processing method, and information processing apparatus
JP2009276073A (en) Plane estimating method, curved surface estimating method, and plane estimating device
JP2022514429A (en) Calibration method for image acquisition equipment, equipment, systems, equipment and storage media
WO2020017334A1 (en) Vehicle-mounted environment recognition device
CN108369739B (en) Object detection device and object detection method
KR101469099B1 (en) Auto-Camera Calibration Method Based on Human Object Tracking
US9025022B2 (en) Method and apparatus for gesture recognition using a two dimensional imaging device
WO2022147655A1 (en) Positioning method and apparatus, spatial information acquisition method and apparatus, and photographing device
CN116921932A (en) Welding track recognition method, device, equipment and storage medium
KR101436695B1 (en) Apparatus and method for detecting finger using depth image
JP5677234B2 (en) Edge detection device and program thereof
JP6840968B2 (en) Shape estimation method, shape estimation device and shape estimation program
CN113140031B (en) Three-dimensional image modeling system and method and oral cavity scanning equipment applying same
JP6861592B2 (en) Data thinning device, surveying device, surveying system and data thinning method
JP2013104660A (en) Momentum estimation method based on stereo vision using monocular camera image and momentum estimation device using the same
JP6042289B2 (en) Posture estimation apparatus, posture estimation method and program