JP2695498B2 - Distance measurement processing method - Google Patents
Distance measurement processing methodInfo
- Publication number
- JP2695498B2 JP2695498B2 JP33399089A JP33399089A JP2695498B2 JP 2695498 B2 JP2695498 B2 JP 2695498B2 JP 33399089 A JP33399089 A JP 33399089A JP 33399089 A JP33399089 A JP 33399089A JP 2695498 B2 JP2695498 B2 JP 2695498B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- straight line
- brightness level
- false contour
- contour line
- 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.)
- Expired - Lifetime
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は,複数の視点から静止剛体を撮影した複数枚
の画像から,自動的に該静止剛体の3次元形状情報を計
測する距離計測処理方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention is a distance measuring process for automatically measuring three-dimensional shape information of a stationary rigid body from a plurality of images obtained by photographing the stationary rigid body from a plurality of viewpoints. Regarding the method.
従来の技術として,以下の2手法があげられる。 Conventional techniques include the following two methods.
2〜3台のカメラを基線長Lだけ離して設置し,静
止剛体の画像を2〜3枚撮影する方法 1台のカメラの視軸を静止剛体に向けたまま基線長
Lだけ等速並進運動させ,一定時間間隔で該静止剛体の
画像をN枚撮影する方法 どちらの手法においても,撮影された静止剛体の各画
像間での対応点を求め,三角測量の原理で該静止剛体の
形状を計測する。従って計測精度をあげるためには基線
長Lをなるべく大きく取る必要がある。の手法では基
線長Lを大きく取ると,対応点の隠れなどが発生するた
め,対応点探索は困難になる。一方では対応点探索問
題を以下の様な直線抽出問題に置き換えることができる
ため,隠れなどが発生しても対応点付を行うことが可能
である。A method in which two to three cameras are installed apart from each other by a base line length L, and two to three images of a stationary rigid body are captured. A uniform length translational motion is performed by a baseline length L with one camera's visual axis facing the stationary rigid body. Then, a method of capturing N images of the stationary rigid body at a fixed time interval. In either method, the corresponding points between the captured images of the stationary rigid body are found, and the shape of the stationary rigid body is determined by the principle of triangulation. measure. Therefore, in order to increase the measurement accuracy, it is necessary to increase the base line length L as much as possible. In the method of (1), if the base line length L is set to be large, the corresponding points may be hidden, so that it is difficult to search for the corresponding points. On the other hand, since the corresponding point search problem can be replaced with the following straight line extraction problem, it is possible to assign corresponding points even if occlusion occurs.
第7図(a)に示すように,ワールド座標系O−XYZ
を設定し,視点をX軸上におき,視軸をZ軸の正方向と
する。焦点距離をFとすると,ワールド座標系内の3次
元物体は面Z=F上に中心投影される。投影面座標o−
xyは視軸との交点を原点とし,各座標軸の方向はワール
ド座標系の座標軸と一致させる。視点をX軸上に移動さ
せつつ微小移動ピッチδx毎に投影画像を蓄積する。得
られた画像列を順番に並べると,第7図(b)のような
3次元画像(時空間画像Spatio−temporal image)を得
ることができる。n番目の視点位置のX座標をUとし,U
=n・δxとする。このときワールド座標系内の点P
(X,Y,Z)は投影面上の点p(X′,Y′,Z′)に次式で
写像される。As shown in FIG. 7 (a), the world coordinate system O-XYZ
Is set, the viewpoint is set on the X axis, and the visual axis is set to the positive direction of the Z axis. Assuming that the focal length is F, the three-dimensional object in the world coordinate system is centrally projected on a plane Z = F. Projection plane coordinates o-
xy has the origin at the intersection with the visual axis, and the direction of each coordinate axis matches the coordinate axis of the world coordinate system. While moving the viewpoint on the X-axis, the projected images are accumulated for each minute movement pitch δ x . By arranging the obtained image sequences in order, a three-dimensional image (spatio-temporal image) as shown in FIG. 7B can be obtained. Let the X coordinate of the nth viewpoint position be U,
= N · δ x . At this time, the point P in the world coordinate system
(X, Y, Z) is mapped to the point p (X ', Y', Z ') on the projection plane by the following equation.
これを投影面座標(x,y)で表すと, 式(2b)は点Pの投影点が描く運動軌跡が水平断面上
に拘束されることを意味し,式(2a)はその軌跡が直線
であり,この直線の傾きから深さZを求められることを
意味している。従って時空間画像を水平線に沿って切断
した画像(エピポーラ画像)から直線成分を抽出するこ
とで,ワールド座標系内の3次元物体の形状を計測する
ことが可能である。 Expressing this as projection plane coordinates (x, y), Equation (2b) means that the motion trajectory drawn by the projected point of the point P is constrained on a horizontal section, and equation (2a) is that the trajectory is a straight line, and the depth Z can be obtained from the slope of this straight line. Means that. Therefore, it is possible to measure the shape of a three-dimensional object in the world coordinate system by extracting a linear component from an image (epipolar image) obtained by cutting a spatiotemporal image along a horizontal line.
しかし,従来のの手法では直線成分が抽出する際
に,まずエピポーラ画像中から微分処理などによって輝
度変化が大きいエッジ部分だけを取り出し,このエッジ
部分の直線成分抽出を行っていた。このため,エピポー
ラ画像中の輝度変化が緩やかな部分における直線成分を
抽出することは不可能であった。輝度変化が緩やかな部
分は,一般的には静止剛体の曲面部分に対応しており,
従って,従来手法では曲面部分の形状計測が不可能であ
った。However, in the conventional method, when the straight line component is extracted, first, only the edge part having a large luminance change is extracted from the epipolar image by a differentiating process and the straight line component of this edge part is extracted. For this reason, it was impossible to extract the linear component in the part of the epipolar image where the change in brightness was gradual. The part where the change in brightness is gentle generally corresponds to the curved surface part of the stationary rigid body.
Therefore, the conventional method cannot measure the shape of the curved surface.
本発明は,時空間画像(Spatio−temporal image)を
用いて静止剛体の形状計測を行い,輝度変化が緩やかな
曲面部における形状計測を可能とすることを目的として
いる。It is an object of the present invention to measure the shape of a stationary rigid body using a spatio-temporal image, and to enable shape measurement in a curved surface portion where the luminance change is gentle.
本発明では,エピポーラ画像から直線成分を抽出する
際に,エピポーラ画像をある輝度レベルVqで一旦,二値
化する。二値化された画像には輝度変化が緩やかな部分
に偽輪郭線が現れる。第1図は偽輪郭線が現れる状況を
表す説明図であり,横軸は位置の座標,縦軸は輝度を表
している。この偽輪郭線は輝度変化が緩やかな部分にお
ける等輝度線を表している。したがって輝度レベルVqを
該エピポーラ画像中の最低輝度レベルVminから最高輝度
レベルVmaxの範囲で,δvずつ変化させながら,該エピ
ポーラ画像の二値化を繰返し行い,得られた各二値画像
から偽輪郭線を抽出することで,輝度変化が緩やかな部
分においても距離計測が可能となる。すなわち, Vqi=i・δv+Vmin ……(3) (1=0,……,(Vmax−Vmin)/δv−1) でエピポーラ画像Eを二値化する。得られた(Vmax−
Vmin)/δv枚の二値画像Eqiの各々には,輝度レベルV
qiの量子化によって偽輪郭線が発生する。そこで二値画
像Eqiに微分処理などを施し,Hough変換などの直線抽出
手法を適用することで,偽輪郭線を直線として特定する
ことができる。In the present invention, when the linear component is extracted from the epipolar image, the epipolar image is once binarized at a certain brightness level V q . In the binarized image, a false contour line appears in a portion where the luminance change is gentle. FIG. 1 is an explanatory diagram showing a situation where a false contour line appears, in which the horizontal axis represents position coordinates and the vertical axis represents luminance. This false contour line represents an equal luminance line in a portion where the luminance change is gentle. Therefore, binarization of the epipolar image is repeated while changing the brightness level V q in the range from the minimum brightness level V min in the epipolar image to the maximum brightness level V max by δ v , and each of the obtained binary values is obtained. By extracting the false contour line from the image, it is possible to measure the distance even in the part where the luminance change is gentle. That is, the epipolar image E is binarized by V qi = i · δ v + V min (3) (1 = 0, ..., (V max −V min ) / δ v −1). Obtained (V max −
V min ) / δ v Each of the binary images E qi has a brightness level V
Quantization of qi produces false contours. Therefore, the false contour can be specified as a straight line by applying a differentiation process to the binary image E qi and applying a straight line extraction method such as the Hough transform.
なお従来の技術では,エピポーラ画像から偽輪郭線を
抽出せずに,微分処理などによってエッジ部分を抽出し
ていたため,輝度変化が緩やかな部分における情報が除
去されてしまい,輝度変化が緩やかな部分における直線
成分の抽出が不可能になっていたものである。In the conventional technique, the edge portion is extracted by differential processing or the like without extracting the false contour line from the epipolar image, so that the information in the portion where the luminance change is gentle is removed, and the portion where the luminance change is gentle is removed. It was impossible to extract the linear component in.
本発明において各二値画像Eqiに見られる偽輪郭線
は,輝度変化が緩やかな部分での純粋な偽輪郭線のみで
なく,第1図図示の如く,輝度変化の激しい実エッジ部
分も含まれてしまう。したがって,このままでは実エッ
ジ部分については同一の直線抽出を複数回行ってしまう
可能性があり,計算の手間がかかってしまう。In the present invention, the false contour line seen in each binary image E qi includes not only a pure false contour line in a portion where the luminance change is gentle but also a real edge portion where the luminance change is drastic as shown in FIG. Get lost. Therefore, if it is left as it is, there is a possibility that the same straight line may be extracted a plurality of times for the actual edge portion, which takes time and effort for calculation.
そこで,以下の手順で実エッジ部と偽輪郭線部とを分
離する実エッジ/偽輪郭線分離処理を付加することで,
より効率的な直線抽出が可能となる。Therefore, by adding a real edge / false contour line separation process for separating a real edge portion and a false contour line portion in the following procedure,
More efficient straight line extraction is possible.
まず,あらかじめエピポーラ画像Eの輝度変化が激し
いエッジ部分だけを抽出した二値の実エッジ画像Eeを用
意しておく。そして二値画像Eqiから微分処理などによ
って輝度変化が激しい部分を抽出した二値画像Eqi′
(以後偽輪郭線/実エッジ混在画像と呼ぶ)と実エッジ
画像Eeとの間で,画素毎に排他的論理和(Exclusive−O
R)を取ることで,輝度変化が激しいエッジ部分を除去
した偽輪郭線画像Fiを得ることができる。第2図は偽輪
郭線画像が得られる処理フローを示す。First, a binary real edge image E e is prepared in advance by extracting only the edge portion of the epipolar image E where the brightness changes drastically. The brightness change such as by differentiating the binary image E qi extracted the intense partial binary image E qi '
An exclusive OR (Exclusive-O) is performed for each pixel between (hereinafter referred to as a false contour line / real edge mixed image) and the real edge image E e.
By taking R), it is possible to obtain the false contour line image F i from which the edge part where the brightness change is drastically removed. FIG. 2 shows a processing flow for obtaining a false contour line image.
Fi上での点列は,偽輪郭線による直線成分の構成点で
あるから,このFiにHough変換などを施して偽輪郭成分
を抽出する。輝度変化が激しいエッジ部分については,
別途実エッジ画像Eeに従来の直線追跡アルゴリズムを適
用することで容易に直線成分を抽出することが可能であ
る。Since the point sequence on F i is the constituent points of the straight line component by the false contour line, the Hough transform is applied to this F i to extract the false contour component. For the edge part where the brightness changes drastically,
It is possible to easily extract the straight line component by separately applying the conventional straight line tracking algorithm to the real edge image E e .
本発明において,Hough変換によって偽輪郭線を抽出す
る場合,一般的には次の様な手順でHough変換を実施す
ることになる。In the present invention, when a false contour line is extracted by the Hough transform, the Hough transform is generally performed by the following procedure.
偽輪郭線画像Fi(あるいはEqi)の座標系をo−x−
Uとすると,Fi(あるいはEqi)での直線は, x cosθ+U sinθ=ρ ……(4) と表される。Hough変換では直線の式のパラメータを
(4)式の様にθとρとに変換する。Fi上でのある点
(x′,U′)を通過する全ての直線は,θ−ρ空間上で
は(4)式で表される軌跡となる。そこでこのθ−ρ空
間を適当に量子化して2次元配列Kを用意し,Fi上で直
線候補となる全ての点について,(4)式で表される軌
跡をK上に累積する。するとFi上での直線成分はK上で
累積度数の極大値として検出される。The coordinate system of the false contour image F i (or E qi ) is ox−
If U, the straight line at F i (or E qi ) is expressed as x cos θ + U sin θ = ρ (4). In the Hough transform, the parameters of the straight line equation are transformed into θ and ρ as in equation (4). All the straight lines passing through a certain point (x ', U') on F i are the loci represented by the equation (4) on the θ-ρ space. Therefore, the θ-ρ space is appropriately quantized to prepare a two-dimensional array K, and the loci represented by the equation (4) are accumulated on K for all points that are straight line candidates on F i . Then, the linear component on F i is detected as the maximum value of the cumulative frequency on K.
しかし,偽輪郭線/実エッジ混在画像Eqi′(あるい
は偽輪郭線だけを抽出した画像Fi)において,偽輪郭線
を構成する点列集合のバラツキはかなり大きいものとな
る。これは撮像素子(CCDなど)のバラツキに起因す
る。したがって,Hough変換における直接検出の規範が,
単に「通過する点列の数が極大になるものを直線とす
る」ことであるから,これだけでは偽輪郭線の正確な傾
きを求めること(すなわち距離を求めること)は出来な
い。またHough変換では2次元配列K上での累積度数分
布は,その極大値周辺でSidelobeが形成される。このた
め累積度数の極大値検出において,単純にしきい値で累
積度数を区切ると類似したパラメータを持つ複数本の直
線を検出してしまう可能性がある。However, in the false contour line / real edge mixed image E qi ′ (or the image F i in which only the false contour line is extracted), the variation of the point sequence set forming the false contour line becomes considerably large. This is due to variations in the image sensor (CCD, etc.). Therefore, the criterion of direct detection in Hough transform is
Since it is simply “straight lines that maximize the number of passing point sequences”, it is not possible to find the exact slope of the false contour line (that is, to find the distance) with this alone. In the Hough transform, the cumulative frequency distribution on the two-dimensional array K forms Sidelobe around its maximum value. Therefore, in detecting the maximum value of the cumulative frequency, simply dividing the cumulative frequency by a threshold value may result in detection of multiple straight lines having similar parameters.
そこで以下の処理によって,直線の統合を行う。Side
lobeの影響によって,Fiの偽輪郭線の構成点列集合C
(f)に対して,N本の直線li(i=0,……,N−1)が検
出された場合,もし各直線liが実際には同一の偽輪郭線
から検出されたものならば,通過する点列集合C(fi)
⊆C(f)の大部分はお互いに共有される。そこで,以
下の手順で直線の統合・検出を行う。第3図は直線の統
合・検出を行うための説明図である。Therefore, straight lines are integrated by the following processing. Side
Due to the influence of lobe, a set C of constituent points of the false contour of F i
For (f), if N straight lines l i (i = 0, ..., N−1) are detected, if each straight line l i is actually detected from the same false contour line Then, the set of passing point sequences C (fi)
Most of ⊆ C (f) are shared with each other. Therefore, straight lines are integrated and detected by the following procedure. FIG. 3 is an explanatory diagram for performing integration / detection of straight lines.
step1(点列集積処理): 第3図に示すように,各直線liに幅dをもたせた帯β
iを考慮し,各帯βiに含まれる点列集合C(βi)を求
める。step1 (point sequence accumulation processing): As shown in FIG. 3, a band β in which each straight line l i has a width d
Considering i, we obtain the set of columns C (β i) points contained in each band beta i.
step2(直線統合処理): 各C(βi)間で, ‖C(βi)∩C(βj)‖>T ……(8) であるなら,直線ljをliに統合する。ただしTはしき
い値,‖・‖は集合濃度を表す。step2 (straight line integration process): If each of C (β i ) is ‖C (β i ) ∩C (β j ) ‖> T (8), then the straight line l j is integrated into l i . However, T is a threshold value, and ‖ ・ ‖ is a set concentration.
step3(最小自乗近似処理): 統合処理の終了した点列集合C(βi)を通過する直
線Liを最小自乗法で求める。step3 (least squares approximation process): A straight line L i passing through the point sequence set C (β i ) after the integration process is obtained by the least squares method.
上記step1で,直線liに幅dを持たせた帯として通過
点列集合を求めているが,この処理によって偽輪郭線を
構成するバラツキのある点列集合を数え上げることが出
来る。step2では,数え上げた点列が各直線li間でどれ
だけ共有されるかを調べて,sidelobeの影響で誤って検
出された複数の直線を統合している。そしてstep3で最
小自乗法を用いて最終的な直線を正確に検出する。該直
線統合処理によって正確な直線抽出が可能となる。In step 1 above, the passing point sequence set is obtained as a band in which the straight line l i has a width d. By this processing, it is possible to enumerate the scattered point sequence sets forming the false contour line. In step 2, we investigated how much the enumerated point sequence was shared among the straight lines l i , and integrated multiple lines that were erroneously detected due to the sidelobe effect. Then, in step 3, the final straight line is accurately detected using the method of least squares. The straight line integration processing enables accurate straight line extraction.
第4図は本発明の第一の実施例を示す。図中1はエピ
ポーラ画像E,2は最低/最高輝度レベル抽出処理,3は輝
度レベル更新処理,4は偽輪郭線抽出処理,4−1は二値化
処理,4−2は二値画像Eqi,4−3はエッジ抽出処理,4−
4は二値化処理,5は偽輪郭線/実エッジ混在画像Eqi′,
6は直線抽出処理,7は直線/3次元情報変換処理,8は3次
元情報である。FIG. 4 shows a first embodiment of the present invention. In the figure, 1 is an epipolar image E, 2 is a minimum / maximum brightness level extraction process, 3 is a brightness level update process, 4 is a false contour line extraction process, 4-1 is a binarization process, and 4-2 is a binary image E. qi , 4-3 is edge extraction processing, 4−
4 is the binarization processing, 5 is the false contour / real edge mixed image E qi ′,
6 is a straight line extraction process, 7 is a straight line / three-dimensional information conversion process, and 8 is three-dimensional information.
まず静止剛体を等速並進運動する撮影装置で時系列的
に撮影した複数枚の画像から,時空間画像を構成する。
該時空間画像からエピポーラ画像E1を一枚取り出す。該
エピポーラ画像E1の最高輝度レベルVmaxと最低輝度レベ
ルVminとを最低/最高輝度レベル抽出処理2によって抽
出する。該最低輝度レベルと最高輝度レベルとから
(3)式に示す輝度レベル更新処理3によって輝度レベ
ルVqiが生成される。偽輪郭線抽出処理4は二値化処理
4−1とエッジ抽出処理4−3と二値化処理4−4とに
よって構成される。該エピポーラ画像は二値化処理4−
1によって該輝度レベルVqiで二値化され二値画像Eqi4
−2となる。該二値画像Eqi4−2はエッジ抽出処理4
−3のあとさらに二値化処理4−4によって処理されて
偽輪郭線/実エッジ混在画像Eqi′5となる。該偽輪郭
線/実エッジ混在画像Eqi′5からHough変換などの直線
抽出処理6によって直線情報を抽出し,直線/3次元情報
変換処理7によって3次元情報8を出力する。輝度レベ
ル更新処理3によって,(3)式に従って次の輝度レベ
ルVqi+1を生成し,同様の処理を反復する。以上の処理
を該時空間画像中の全エピポーラ画像について実施する
ことで,該静止剛体の3次元情報を抽出することが出来
る。First, a spatio-temporal image is constructed from a plurality of images taken in chronological order by an imaging device that translates a stationary rigid body at a constant speed.
One epipolar image E1 is extracted from the spatiotemporal image. The maximum brightness level V max and the minimum brightness level V min of the epipolar image E1 are extracted by the minimum / maximum brightness level extraction processing 2. The brightness level V qi is generated from the minimum brightness level and the maximum brightness level by the brightness level update processing 3 shown in the expression (3). The false contour line extraction process 4 includes a binarization process 4-1, an edge extraction process 4-3, and a binarization process 4-4. The epipolar image is binarized 4-
A binary image E qi 4 binarized by the luminance level V qi by 1
-2. The binary image E qi 4-2 is processed by edge extraction processing 4
-3, it is further processed by the binarization processing 4-4 to form the false contour line / real edge mixed image E qi ′ 5. Straight line information is extracted from the false contour line / real edge mixed image E qi ′ 5 by a straight line extraction process 6 such as Hough conversion, and three-dimensional information 8 is output by a straight line / 3D information conversion process 7. By the brightness level update process 3, the next brightness level V qi + 1 is generated according to the expression (3), and the same process is repeated. By performing the above processing on all epipolar images in the spatiotemporal image, the three-dimensional information of the stationary rigid body can be extracted.
この様な処理構成になっているから,エッジ以外の輝
度変化が緩やかな部分からでも直線情報を抽出すること
が可能であり,よって該静止剛体の曲面部分における3
次元情報を抽出することが可能となる。With such a processing configuration, it is possible to extract straight line information even from a portion other than the edge where the change in luminance is gentle, and thus, the 3rd line in the curved surface portion of the stationary rigid body can be extracted.
It becomes possible to extract dimension information.
第5図は本発明の第一の実施例の構成に加えて実エッ
ジ/偽輪郭線分離処理を付加した第二の実施例を示す。
図中,9は実エッジ/偽輪郭線分離処理,9−1は実エッジ
抽出処理,9−1−1はエッジ抽出処理,9−1−2は二値
化処理,9−2は実エッジ画像Ee,9−3は排他的論理和演
算,10は偽輪郭線画像Fiである。FIG. 5 shows a second embodiment in which real edge / false contour line separation processing is added to the configuration of the first embodiment of the present invention.
In the figure, 9 is a real edge / false contour separation process, 9-1 is a real edge extraction process, 9-1-1 is an edge extraction process, 9-1-2 is a binarization process, and 9-2 is a real edge. Images E e and 9-3 are exclusive OR operations, and 10 is a false contour image F i .
実エッジ/偽輪郭線分離処理9は,実エッジ抽出処理
9−1と排他的論理和演算9−3とから構成され,実エ
ッジ抽出処理9−1はエッジ抽出処理9−1−1と二値
化処理9−1−2とから構成される。The real edge / false contour line separation process 9 is composed of a real edge extraction process 9-1 and an exclusive OR operation 9-3. The real edge extraction process 9-1 and the edge extraction process 9-1-1 are combined with each other. It is composed of the digitization processing 9-1-2.
まず静止剛体を等速並進運動する撮影装置で時系列的
に撮影した複数枚の画像から,時空間画像を構成する。
該時空間画像からエピポーラ画像E1を一枚取り出す。該
エピポーラ画像E1にエッジ抽出処理9−1−1と二値化
処理9−1−2とを施し,実エッジ画像Ee9−2を生成
する。該実エッジ画像Ee9−2は該エピポーラ画像E1中
の実エッジだけを表している。一方,該エピポーラ画像
E1の最高輝度レベルVmaxと最低輝度レベルVminとを最低
/最高輝度レベル抽出処理2によって抽出する。該最低
輝度レベルと最高輝度レベルとから(3)式に示す輝度
レベル更新処理3によって輝度レベルVqiが生成され
る。偽輪郭線抽出処理4は二値化処理4−1とエッジ抽
出処理4−3と二値化処理4−4とによって構成され
る。該エピポーラ画像は二値化処理4−1によって該輝
度レベルVqiで二値化され二値画像Eqi4−2となる。該
二値画像Eqi4−2はエッジ抽出処理4−3のあとさら
に二抽出化処理4−4によって処理されて偽輪郭線/実
エッジ混在画像Eqi′5となる。該偽輪郭線/実エッジ
混在画像Eqi′5には実エッジと偽輪郭線が混在してい
る。そこで該偽輪郭線/実エッジ混在画像Eqi′5と実
エッジ画像Ee9−2との間で画素毎に排他的論理和演算
9−3を行うことで,偽輪郭線と実エッジとが混在する
偽輪郭線/実エッジ混在画像Eqi′5から実エッジを除
去した偽輪郭線画像Fi10を生成する。該偽輪郭線画像Fi
10からHough変換などの直線抽出処理6によって直線情
報を抽出し,直線/3次元情報変換処理7によって3次元
情報を出力する。輝度レベル更新処理によって,(3)
式に従って次の輝度レベルVqi+1を生成し,同様の処理
を反復する。以上の処理を該時空間画像中の全エピポー
ラ画像について実施することで,該静止剛体の3次元情
報を抽出することが出来る。また別途,実エッジ画像Ee
9−2に直線抽出処理6を施し,得られた直線情報に直
線/3次元情報変換処理7を行うことで,エピポーラ画像
中の実エッジからも3次元情報8を抽出することができ
る。First, a spatio-temporal image is constructed from a plurality of images taken in chronological order by an imaging device that translates a stationary rigid body at a constant speed.
One epipolar image E1 is extracted from the spatiotemporal image. Edge extraction processing 9-1-1 and binarization processing 9-1-2 are applied to the epipolar image E1 to generate a real edge image E e 9-2. The real edge image E e 9-2 represents only the real edge in the epipolar image E1. On the other hand, the epipolar image
The maximum brightness level V max and the minimum brightness level V min of E1 are extracted by the minimum / maximum brightness level extraction processing 2. The brightness level V qi is generated from the minimum brightness level and the maximum brightness level by the brightness level update processing 3 shown in the expression (3). The false contour line extraction process 4 includes a binarization process 4-1, an edge extraction process 4-3, and a binarization process 4-4. The epipolar image is binarized by the binarization processing 4-1 at the brightness level V qi to become a binary image E qi 4-2. The binary image E qi 4-2 is processed by the edge extraction process 4-3 and then the binary extraction process 4-4 to become a false contour line / real edge mixed image E qi ′ 5. The false contour / actual edge mixed image E qi ′ 5 has a mixture of real edges and false contours. Therefore, by performing an exclusive OR calculation 9-3 for each pixel between the false contour line / real edge mixed image E qi ′ 5 and the real edge image E e 9-2, a false contour line and a real edge are obtained. A false contour line image F i 10 is generated by removing the real edges from the mixed false contour line / real edge image E qi ′ 5. The false contour image F i
The straight line information is extracted from 10 by the straight line extraction process 6 such as the Hough transform, and the three-dimensional information is output by the straight line / 3D information conversion process 7. By the brightness level update process, (3)
The next brightness level V qi + 1 is generated according to the formula, and the same processing is repeated. By performing the above processing on all epipolar images in the spatiotemporal image, the three-dimensional information of the stationary rigid body can be extracted. Separately, the real edge image E e
By performing the straight line extraction process 6 on 9-2 and performing the straight line / three-dimensional information conversion process 7 on the obtained straight line information, the three-dimensional information 8 can be extracted from the actual edge in the epipolar image.
この様な処理構成になっているから,実エッジ部と偽
輪郭線部とを分離して3次元情報の抽出を行うことが可
能であり,計算の手間を軽減することが出来る。With such a processing configuration, it is possible to extract the three-dimensional information by separating the real edge portion and the false contour line portion, and it is possible to reduce the calculation labor.
第6図は本発明の第4図図示および第5図図示の直線
抽出処理の他の実施例を示す。図中,6−1はHough変換,
6−2は点列集積処理,6−3は直線統合処理,6−4は最
小自乗近似処理,6−5は直線情報である。FIG. 6 shows another embodiment of the straight line extracting process shown in FIGS. 4 and 5 of the present invention. In the figure, 6-1 is Hough transform,
6-2 is a point sequence accumulation process, 6-3 is a straight line integration process, 6-4 is a least square approximation process, and 6-5 is straight line information.
第一の実施例における偽輪郭線/実エッジ混在画像E
qi′5あるいは第二の実施例における偽輪郭線画像Fi10
または実エッジ画像Ee9−2に対し,まずHough変換6
−1によって直線候補を検出する。該直線候補の各々に
ついて,点列集積処理6−2を施し,各直線に属する点
列集合を数え上げる。ついで直線統合処理6−3によっ
て共有する点列がしきい値Tを越えるものについて,直
線同士の統合を行う。最後に統合された直線に属する点
列の座標値から最小自乗近似処理6−4によって直線情
報6−5を抽出する。False contour line / real edge mixed image E in the first embodiment
qi′5 or false contour image F i 10 in the second embodiment
Or, for the real edge image E e 9-2, first, the Hough transform 6
A straight line candidate is detected by -1. The point sequence accumulation process 6-2 is performed on each of the straight line candidates, and the point sequence set belonging to each straight line is counted. Then, in the straight line integration processing 6-3, the straight lines are integrated with respect to the shared point sequence exceeding the threshold value T. Finally, the straight line information 6-5 is extracted from the coordinate values of the point sequence belonging to the integrated straight line by the least square approximation process 6-4.
この様な構成になっているから,Hough変換によってSi
delobeの影響から複数の直線候補が検出されたとして
も,それらを一本に統合し,さらに最小自乗近似処理に
よって高精度の直線情報,すなわち高精度の3次元情報
を抽出することが可能である。Due to this structure, the Hough
Even if a plurality of straight line candidates are detected due to the influence of delobe, it is possible to integrate them and to extract high-precision straight-line information, that is, high-precision three-dimensional information by least-squares approximation processing. .
本発明によれば,静止剛体の曲面形状などの従来の時
空間画像を用いた計測手法では計測不可能であった部分
の形状計測を実現することができる。According to the present invention, it is possible to realize shape measurement of a portion, such as a curved surface shape of a stationary rigid body, which cannot be measured by a conventional measurement method using a spatiotemporal image.
第1図は偽輪郭線が現れる状況を表す説明図,第2図は
偽輪郭線画像が得られる処理フロー,第3図は直線の統
合・検出を行うための説明図,第4図は本発明の第一の
実施例,第5図は本発明の第二の実施例,第6図は本発
明に用いる直線抽出処理の他の実施例,第7図(a)
(b)は時空間画像における運動軌跡を説明する図であ
る。 図中,1はエピポーラ画像,2は最低/最高輝度レベル抽出
処理,3は輝度レベル更新処理,4は偽輪郭線抽出処理,5は
偽輪郭線/実エッジ混在画像,6は直線抽出処理,7は直線
/3次元情報変換処理,8は3次元情報,9は実エッジ/偽輪
郭線分離処理を表す。FIG. 1 is an explanatory diagram showing a situation where a false contour line appears, FIG. 2 is a processing flow for obtaining a false contour image, FIG. 3 is an explanatory diagram for performing integration / detection of straight lines, and FIG. 4 is a book. First embodiment of the invention, FIG. 5 is a second embodiment of the present invention, FIG. 6 is another embodiment of the straight line extraction processing used in the present invention, FIG. 7 (a)
(B) is a figure explaining a motion locus in a spatiotemporal image. In the figure, 1 is an epipolar image, 2 is minimum / maximum brightness level extraction processing, 3 is brightness level update processing, 4 is false contour line extraction processing, 5 is false contour line / real edge mixed image, 6 is straight line extraction processing, 7 is a straight line
/ 3D information conversion processing, 8 represents 3D information, and 9 represents real edge / false contour line separation processing.
Claims (3)
系列的に撮影して得られる時空間画像を構成するエピポ
ーラ画像を用い,当該エピポーラ画像から,最低輝度レ
ベルおよび最高輝度レベルを抽出する最低/最高輝度レ
ベル抽出処理と,該最低輝度レベルおよび最高輝度レベ
ルから該エピポーラ画像を二値化処理する際に必要とな
る輝度レベルを算出する輝度レベル更新処理と,該輝度
レベル更新処理で算出された輝度レベルによって構成さ
れる等輝度線を抽出して偽輪郭線/実エッジ混在画像を
得る偽輪郭線抽出処理と,該偽輪郭線抽出処理によって
得られた偽輪郭線/実エッジ混在画像から直線情報を抽
出する直線抽出処理と,該直線抽出処理で抽出された直
線情報を3次元情報に変換する直線/3次元情報変換処理
とを行うようにしたことを特徴とする距離計測処理方
法。1. A minimum brightness level and a maximum brightness level are extracted from the epipolar image using an epipolar image forming a spatiotemporal image obtained by time-sequentially imaging a stationary rigid body with an imaging device that performs translational motion at a constant speed. Minimum / maximum brightness level extraction processing, brightness level update processing for calculating a brightness level required for binarizing the epipolar image from the minimum brightness level and the maximum brightness level, and the brightness level update processing. False contour line extraction processing for obtaining a pseudo contour line / real edge mixed image by extracting isoluminance lines formed by the calculated brightness levels, and false contour line / real edge mixture obtained by the pseudo contour line extraction processing A straight line extraction process for extracting straight line information from the image and a straight line / 3D information conversion process for converting the straight line information extracted by the straight line extraction process into three-dimensional information are performed. Distance measurement processing method characterized by.
実エッジ混在画像から偽輪郭線画像と実エッジ画像とを
分離する実エッジ/偽輪郭線分離処理を付加し,該偽輪
郭線画像と該実エッジ画像とに別個に直線抽出処理を施
すことを特徴とする距離計測処理方法。2. The false contour line according to claim 1 above.
A real edge / pseudo contour line separation process for separating a false contour line image and a real edge image from a real edge mixed image is added, and a straight line extraction process is separately performed on the false contour line image and the real edge image. A characteristic distance measurement processing method.
直線抽出処理が,画像に対し,直線候補の抽出を行うHo
ugh変換と,該直線候補の各々についてそれに属する点
列集合を数え上げる点列集積処理と,該点列集合の共有
度によって直線の統合を行う直線統合処理と,該直線統
合処理によって統合された直線に属する点列の座標値か
ら最小自乗近似によって正確な直線情報を算出する最小
自乗近似処理とから構成されることを特徴とする距離計
測処理方法。3. The Ho in which the straight line extraction processing according to claim (1) or (2) above extracts a straight line candidate from an image.
The ugh transformation, the point sequence accumulation process of counting the point sequence sets belonging to each of the straight line candidates, the line integration process of integrating the straight lines according to the degree of sharing of the point sequence set, and the straight line integrated by the straight line integration process. And a least-squares approximation process for calculating accurate straight-line information by the least-squares approximation from the coordinate values of the point sequence belonging to the distance measurement processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33399089A JP2695498B2 (en) | 1989-12-22 | 1989-12-22 | Distance measurement processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33399089A JP2695498B2 (en) | 1989-12-22 | 1989-12-22 | Distance measurement processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03194412A JPH03194412A (en) | 1991-08-26 |
| JP2695498B2 true JP2695498B2 (en) | 1997-12-24 |
Family
ID=18272261
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33399089A Expired - Lifetime JP2695498B2 (en) | 1989-12-22 | 1989-12-22 | Distance measurement processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2695498B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2916319B2 (en) * | 1992-03-25 | 1999-07-05 | 凸版印刷株式会社 | 3D shape measuring device |
-
1989
- 1989-12-22 JP JP33399089A patent/JP2695498B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03194412A (en) | 1991-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6701005B1 (en) | Method and apparatus for three-dimensional object segmentation | |
| CN107388960B (en) | A method and device for determining the volume of an object | |
| KR100422370B1 (en) | An Apparatus and Method to Measuring Dimensions of 3D Object on a Moving Conveyor | |
| CN106969706A (en) | Workpiece sensing and three-dimension measuring system and detection method based on binocular stereo vision | |
| JP6524529B2 (en) | Building limit judging device | |
| CN102589516B (en) | Dynamic distance measuring system based on binocular line scan cameras | |
| CN110044374B (en) | Image feature-based monocular vision mileage measurement method and odometer | |
| KR101658576B1 (en) | Apparatus and method for measuring distance using image data | |
| KR20130021018A (en) | Method for separating object in three dimension point clouds | |
| JPH10143659A (en) | Object detection device | |
| CN114199205A (en) | Binocular ranging method based on improved quadtree ORB algorithm | |
| JP2004030461A (en) | Method and program for edge matching, and computer readable recording medium with the program recorded thereon, as well as method and program for stereo matching, and computer readable recording medium with the program recorded thereon | |
| CN119048701A (en) | Roadway environment modeling method integrating machine vision and millimeter wave radar | |
| JP2695498B2 (en) | Distance measurement processing method | |
| JPH05135155A (en) | 3D model construction device using continuous slice images | |
| JPH0778252A (en) | Object recognition method | |
| CN113327287A (en) | Insulator umbrella skirt fine positioning method based on depth horizontal histogram | |
| JP2010205040A (en) | Road surface shape recognition apparatus | |
| CN116542927A (en) | Track plate product flatness detection method based on camera vision | |
| JP2004030453A (en) | Stereo matching method, stereo matching program, and computer readable recording medium with stereo matching program recorded thereon | |
| Yoshida et al. | Three-dimensional measurement using multiple slits with a random dot pattern—multiple slits and camera calibration | |
| US12579670B2 (en) | Laser scan data modeling with sparse datasets | |
| JPH0933249A (en) | Three-dimensional image measuring device | |
| Chiryshev et al. | Detection and dimension of moving objects using single camera applied to the round timber measurement | |
| Muktadir et al. | RCP Method: An Autonomous Volume Calculation Method Using Image Processing and Machine Vision |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 10 Free format text: PAYMENT UNTIL: 20070912 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 11 Free format text: PAYMENT UNTIL: 20080912 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080912 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 12 Free format text: PAYMENT UNTIL: 20090912 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090912 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100912 Year of fee payment: 13 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100912 Year of fee payment: 13 |