JPH0283785A - Method for recognizing object - Google Patents

Method for recognizing object

Info

Publication number
JPH0283785A
JPH0283785A JP63237262A JP23726288A JPH0283785A JP H0283785 A JPH0283785 A JP H0283785A JP 63237262 A JP63237262 A JP 63237262A JP 23726288 A JP23726288 A JP 23726288A JP H0283785 A JPH0283785 A JP H0283785A
Authority
JP
Japan
Prior art keywords
focus
depth
contour line
scanning
picture elements
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
JP63237262A
Other languages
Japanese (ja)
Inventor
Hideyuki Wakai
秀之 若井
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.)
Komatsu Ltd
Original Assignee
Komatsu Ltd
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 Komatsu Ltd filed Critical Komatsu Ltd
Priority to JP63237262A priority Critical patent/JPH0283785A/en
Publication of JPH0283785A publication Critical patent/JPH0283785A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To recognize a three-dimensional shape with simple processing and composition by switching the depth of focus of an image pickup means and storing an image at a part in which the difference in the lightness of a picture is closed to zero as contour line information. CONSTITUTION:A focal length L of an ITV camera 2 is set to a scanning start distance by a control signal from a picture processor 5, and next, variables to indicate a scanning space, the number of the times of scanning, a threshold value, and the current number of the times of scanning are set. Next, the focal length is changed by a switching mechanism 3, and the depth of focus is changed by a switching mechanism 4, respectively. Thus, in the camera 2, the depth of focus is either deepened or shallowed, and respective received pictures are stored in the memory of the device 5. At this time, the device 5 calculates the differences in the lightness of picture elements corresponding to the respective pictures, determines some picture elements at parts in which the differences are smaller than the threshold value determined from a zero point as the picture elements at the position of a contour line, links the picture elements at the position of the contour line with each other, and stores the linked picture elements as contour line information 6. Further, after the whole of the scanning of an object 1 completes, the three-dimensional shape of the object 1 is recognized from the bent state and the interval of the information 6.

Description

【発明の詳細な説明】 〔産業上の利用分野] この発明は物体の形状を3次元的に認識−りる物体の認
識方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an object recognition method for three-dimensionally recognizing the shape of an object.

〔従来の技術] 物体の形状を3次元的に認識する従来の方法どして、次
のような方法が公知で゛ある。
[Prior Art] The following methods are known as conventional methods for three-dimensionally recognizing the shape of an object.

(a)レーザ光などの光を認識すべき物体に帯状に照射
し、かつ照射位置を等間隔で段階的にずらずことにより
得られた格子状の像をもとに物体の3次元形状を認識づ
−るレーザ切断法、(b)格子を透過させた光を物体に
照射した状態で、該物体を等間隔の格子を通して受像し
、得られた像を基に物体の3次元像を認識するモアレ法
、 (C)上記モアレ法において、受像側の格子間隔を光照
射側の格子間隔と異なら氾た変形格子法。
(a) The three-dimensional shape of the object is determined based on a lattice-like image obtained by irradiating light such as a laser beam onto the object to be recognized in a band-like manner and shifting the irradiation position in steps at equal intervals. Laser cutting method that facilitates recognition, (b) An object is irradiated with light that has passed through a grating, and the object is imaged through an equally spaced grating, and a three-dimensional image of the object is recognized based on the image obtained. (C) A modified lattice method in which the lattice spacing on the image receiving side is different from the lattice spacing on the light irradiation side in the above Moire method.

(d)2台のITV(工業用テレビジ・]ン)カメラを
用いて3角法の原理で物体の3次元形状を認識する方法
(d) A method of recognizing the three-dimensional shape of an object using the principle of trigonometry using two ITV (Industrial Television) cameras.

しかし、(a)ないしくC)の方法では物体を受像する
I T V ノJメラの他に特殊な照明装置を必要とす
ると共に、(d)の方法りはITVカメラを2台必要と
するなど、いずれにJプいても設備費が嵩むと共に、照
明の位置やITVカメラの視野などによって物体に影が
生じ、影の部分の形状認識ができないなどの不具合があ
った。
However, methods (a) to C) require a special lighting device in addition to the ITV camera that receives images of the object, and method (d) requires two ITV cameras. In either case, equipment costs would increase, and there would be problems such as shadows being cast on objects depending on the position of the lighting and the field of view of the ITV camera, making it impossible to recognize the shape of the shadowed parts.

そこで、このような不具合を解決覆る目的で、(e)認
識すべき物体を単一のITVカメラにより焦点距離を段
階的に変えながら受像し、得られた画像から焦点の合っ
た部分の像を等高線欄報として取り出し、この等高線欄
報より物体の3次元形状を認識リ−るという方法が提案
されている。
Therefore, in order to solve and overcome such problems, (e) the object to be recognized is imaged by a single ITV camera while changing the focal length in stages, and the image of the in-focus part is determined from the obtained image. A method has been proposed in which a contour line report is extracted and the three-dimensional shape of an object is recognized and read from this contour line report.

〔発明が解決しようとする課題] ところが、ある焦点距離に対する1つの画像のみによっ
て等高線欄報を取り出す方法においてはその処理が複雑
になるという問題があった。
[Problems to be Solved by the Invention] However, the method of extracting a contour column using only one image for a certain focal length has a problem in that the processing becomes complicated.

この発明は、簡単な処理および簡単な構成で3次元的形
状を認識することができる物体の認識方法を提供するこ
とを目的とするものである。
An object of the present invention is to provide an object recognition method that can recognize a three-dimensional shape with simple processing and a simple configuration.

(課題を解決するための手段〕 本発明は、認識すべき物体を単一の撮像手段により焦点
処理を段階的に変えながら各焦点距離毎に深い焦点深度
と浅い焦点深度の2段階に変えて受像し、焦点深度を変
えて得られた画像の明度の差が零に近い部分の像を等高
線欄報として取り出し、この等高線欄報より物体の3次
元形状を認識覆るように構成したものである。
(Means for Solving the Problems) The present invention processes an object to be recognized by changing the focus processing step by step using a single imaging means, changing the depth of focus into two stages: deep depth of focus and shallow depth of focus for each focal length. The system is constructed so that the image of the area where the difference in brightness is close to zero is taken out as a contour line report, and the three-dimensional shape of the object is recognized and covered from this contour line report. .

(作用) 複数の焦点距離のそれぞれにおいて、焦点深度を深い場
合と浅い場合の2段階に切替えると、同じ距離にある部
分は焦点距離を切替えてもその明度がほぼ同じである。
(Function) When the depth of focus is switched to two levels, deep and shallow, at each of a plurality of focal lengths, the brightness of parts at the same distance remains almost the same even when the focal length is switched.

従って、焦点距離を切替えた場合に、像の明度を比較し
、その明度がほぼ同じになる部分は撮像手段から見て同
じ距離にあることになる。そこで、明度が同じ部分を等
高線に変換づ−れば、この等高線により物体の3次元的
形状を簡単に認識できる。
Therefore, when the focal length is changed, the brightness of the images is compared, and the parts where the brightness is almost the same are located at the same distance from the imaging means. Therefore, if parts of the same brightness are converted into contour lines, the three-dimensional shape of the object can be easily recognized from these contour lines.

〔実施例] 第1図はこの北門の一実施例を示す概略構成図であり、
1は3次元形状を認識づ−べき物体、2は該物体1を受
像する撮像手段としてのITVカメラであり、物体1の
例えば上方にレンズ2aを物体1側へ向(プて固定され
ている。I T V )Jタラ2は焦点深度切替え機構
3により焦点距1i1111 L−が等間隔で段階的に
調整できるようになっており、また焦点深度切替え機!
4により焦点深度が深い場合と浅い場合について2段階
に調整できるようになっており、ITVカメラ2で臂ら
れた物体1の画像は画像処理装置5で次のようにして3
次元形状が認識される。
[Example] Figure 1 is a schematic diagram showing an example of the north gate.
1 is an object whose three-dimensional shape is to be recognized; 2 is an ITV camera as an imaging means for receiving an image of the object 1; .ITV) J Tara 2 has a depth of focus switching mechanism 3 that allows the focal length 1i1111L- to be adjusted in stages at equal intervals, and also a depth of focus switching mechanism!
4, the depth of focus can be adjusted in two stages, deep and shallow.The image of the object 1 taken by the ITV camera 2 is processed by the image processing device 5 as follows
Dimensional shapes are recognized.

第3図は認識処理手順を示すフローチャートであり、ま
ず、画像処理装置5からの制御信号によりITVカメラ
2の焦点距離りを走査開始距離に設定する(ステップ1
00)。次に、走査間隔DLを設定し、ざらに走査回数
Nと閾値Thを設定し、さらに現在の走査回数を表わす
変数nをn−1に設定する(ステップ101〜104)
。次に、焦点距離をL (n) =L (1)にするよ
うに切替えI[M3に指令し、さらに焦点深度を深くす
るように切替え114M4に指令する(ステップ105
゜106)。これにより、ITVカメラ2の焦点は、第
2図にお(プる物体1の縦断面図に示すように第1焦点
距離しく1)に合わせられ、また焦点深度は深く合わせ
られる。ここでITVカメラ2で受像された第3図のよ
うな画像IM1は画像処理装置5に送られ、図示しない
メモリに記憶される(ステップ107.108)。次に
、画像処理装置5から焦点深度を浅くする指令が送出さ
れ、ITVカメラ2の焦点深度が浅く合わゼられ、この
とぎITVカメラ2で受像された第4図のような画像I
M2も画像処理装置5に送られ、メモリに記憶される(
ステップ109〜111)。
FIG. 3 is a flowchart showing the recognition processing procedure. First, the focal length of the ITV camera 2 is set to the scanning start distance by a control signal from the image processing device 5 (step 1).
00). Next, the scan interval DL is set, the number of scans N and the threshold Th are roughly set, and the variable n representing the current number of scans is set to n-1 (steps 101 to 104).
. Next, the switch I[M3 is commanded to set the focal length to L (n) = L (1), and the switch 114M4 is commanded to further deepen the depth of focus (step 105
゜106). As a result, the focus of the ITV camera 2 is set to the first focal length 1 as shown in FIG. 2 (as shown in the longitudinal cross-sectional view of the object 1), and the depth of focus is set to be deep. Here, the image IM1 as shown in FIG. 3 received by the ITV camera 2 is sent to the image processing device 5 and stored in a memory (not shown) (steps 107 and 108). Next, a command to reduce the depth of focus is sent from the image processing device 5, the depth of focus of the ITV camera 2 is made shallower, and the image I as shown in FIG.
M2 is also sent to the image processing device 5 and stored in the memory (
Steps 109-111).

そこで、画像処理装置5は画像IM1と1M2とのそれ
ぞれ対応する画素の明度の差(絶対値)を計算し、その
差が零点より定めた閾値Thより小さい部分の画素を等
高線位置の画素として決定し、この等高線位置の画素を
結んで等高線欄報6としてメモリに記憶する(ステップ
112゜113)。
Therefore, the image processing device 5 calculates the difference in brightness (absolute value) between corresponding pixels in the images IM1 and 1M2, and determines the pixels in the portion where the difference is smaller than the threshold Th determined from the zero point as pixels at the contour line position. Then, the pixels at these contour line positions are connected and stored in the memory as contour column report 6 (steps 112 and 113).

第2焦点距離L(2)ないし第n焦点距離しくn)に対
しても同様な操作を繰り返して物体1から得られた画像
を等高線欄報として記憶覆る。
The same operation is repeated for the second focal length L(2) to the nth focal length L(2) to n), and the image obtained from the object 1 is stored as a contour report.

N=nとなって物体1の全走査が完了したら、得られた
等高線欄報6を解析して等高線欄報6の曲がり具合や間
隔から物体1の形状を認識する。
When N=n and all scanning of the object 1 is completed, the obtained contour line report 6 is analyzed and the shape of the object 1 is recognized from the degree of curvature and spacing of the contour line report 6.

認識した等高線欄報あるいは形状はモニタなどへ出力さ
れ、物体1のワイヤフレーム像として再現される。
The recognized contour line report or shape is output to a monitor or the like and reproduced as a wire frame image of the object 1.

なお、この実施例では焦点距離りを調整しているが、I
TVノノメラ2の位置を変えるか、物体1の位置を変え
ることでも等価であり、いずれの方法を用いても物体1
のあらゆる面の3次元形状の認識が単一のr −r v
カメラ2 ’U−可能どなる。
In addition, although the focal length is adjusted in this example, I
It is equivalent to changing the position of TV nonomera 2 or changing the position of object 1, and no matter which method is used, object 1
Recognition of three-dimensional shapes on all sides of a single r - r v
Camera 2 'U - Possible roar.

また、焦点深度はITVカメラ2のレンズ2aのFナン
バを変えることによっても切替えることがでさる3、 (発明の効果) 以上説明したように本発明では、単一の撮像手段を使用
し、認識すべき物体を焦点距離を段階的に変えながら各
焦点距離において焦点深度を深い場合と浅い場合の2段
階に変えて受像し、焦点深度を変えて得られた画像の明
度の差が零に近い部分の像を等高線欄報として取り出し
、この等高線欄報より物体の3次元形状を認識するよう
にしたため、単一の撮像手段で、しかも特殊な照明など
を必要とゼザ、かつ簡単な処理で物体の3次元形状が認
識できる。これによって、影などに影響されることなく
物体の形状が精度よく認識できると共に、簡単な設備を
使用覆るため安価に実M−することが可能どなる。
Further, the depth of focus can also be changed by changing the F number of the lens 2a of the ITV camera 2. (Effects of the Invention) As explained above, in the present invention, a single imaging means is used, and the recognition The object to be detected is imaged by changing the focal length step by step, and the depth of focus is changed to deep and shallow at each focal length, and the difference in brightness of the images obtained by changing the depth of focus is close to zero. The image of the part is extracted as a contour line report, and the three-dimensional shape of the object is recognized from this contour line report, so it is possible to recognize the object with a single imaging means, without requiring special lighting, etc., and with simple processing. The three-dimensional shape of can be recognized. As a result, the shape of the object can be recognized with high accuracy without being affected by shadows, etc., and since it uses simple equipment, it becomes possible to perform actual M- at low cost.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例を示づ一概略構成図、第2図
は焦点の切替え位置を示−リー物体の縦断面図、第3図
および第4図は焦点深度を変えた時の画像を示す図、第
5図は3次元像の認識手順を示づフローチャートである
。 1・・・物体、2・・・ITVカメラ。3・・・焦点距
離切替え機構、4・・・焦点深度切替え1a構、6・・
・等高線欄報。
Fig. 1 is a schematic diagram showing an embodiment of the present invention; Fig. 2 is a vertical cross-sectional view of a Lee object; Fig. 2 is a longitudinal cross-sectional view of a Lee object; FIG. 5 is a flowchart showing a three-dimensional image recognition procedure. 1...object, 2...ITV camera. 3... Focal length switching mechanism, 4... Focal depth switching 1a mechanism, 6...
・Contour column report.

Claims (1)

【特許請求の範囲】[Claims] 認識すべき物体を単一の撮像手段により焦点距離を段階
的に変えながら各焦点距離毎に深い焦点深度と浅い焦点
深度の2段階に変えて受像し、焦点深度を変えて得られ
た画像の明度の差が零に近い部分の像を等高線情報とし
て取り出し、この等高線欄報より物体の3次元形状を認
識することを特徴とする物体の認識方法。
The object to be recognized is imaged by a single imaging means while changing the focal length in stages, changing the depth of focus into two stages: deep depth of focus and shallow depth of focus for each focal length, and the image obtained by changing the depth of focus. A method for recognizing an object, characterized in that an image of a portion where the difference in brightness is close to zero is extracted as contour line information, and the three-dimensional shape of the object is recognized from this contour line information.
JP63237262A 1988-09-21 1988-09-21 Method for recognizing object Pending JPH0283785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63237262A JPH0283785A (en) 1988-09-21 1988-09-21 Method for recognizing object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63237262A JPH0283785A (en) 1988-09-21 1988-09-21 Method for recognizing object

Publications (1)

Publication Number Publication Date
JPH0283785A true JPH0283785A (en) 1990-03-23

Family

ID=17012800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63237262A Pending JPH0283785A (en) 1988-09-21 1988-09-21 Method for recognizing object

Country Status (1)

Country Link
JP (1) JPH0283785A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001258599A (en) * 2000-03-23 2001-09-25 Japan Science & Technology Corp Method for extracting cell genealogy
WO2001071663A1 (en) * 2000-03-23 2001-09-27 Japan Science And Technology Corporation Cell lineage extracting method
JP2001311730A (en) * 2000-04-27 2001-11-09 Japan Science & Technology Corp Cell lineage extraction method
KR20020024749A (en) * 2000-09-26 2002-04-01 이종식 Snack moisture control device
JPWO2002045018A1 (en) * 2000-12-01 2004-04-02 科学技術振興事業団 Nuclear region recognition and cell lineage creation

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001258599A (en) * 2000-03-23 2001-09-25 Japan Science & Technology Corp Method for extracting cell genealogy
WO2001071663A1 (en) * 2000-03-23 2001-09-27 Japan Science And Technology Corporation Cell lineage extracting method
US7110584B2 (en) 2000-03-23 2006-09-19 Japan Science And Technology Corporation Cell lineage extracting method
JP2001311730A (en) * 2000-04-27 2001-11-09 Japan Science & Technology Corp Cell lineage extraction method
KR20020024749A (en) * 2000-09-26 2002-04-01 이종식 Snack moisture control device
JPWO2002045018A1 (en) * 2000-12-01 2004-04-02 科学技術振興事業団 Nuclear region recognition and cell lineage creation

Similar Documents

Publication Publication Date Title
US6356298B1 (en) Three-dimensional image photographing system
US4422153A (en) Oblique projection original and oblique projection original forming apparatus and method
CN112866542B (en) Focus tracking method and apparatus, electronic device, and computer-readable storage medium
US7831091B2 (en) Pattern matching system
US5105278A (en) Automatic focus-adjusting apparatus using two-dimensional frequency component of an image
JPH0283785A (en) Method for recognizing object
US8023744B2 (en) Pattern matching system and targeted object pursuit system using light quantities in designated areas of images to be compared
JPH0146002B2 (en)
US6157468A (en) Focus adjusting system of an optical scanner
TWM544742U (en) Image scanning apparatus
JP3548213B2 (en) Multipoint ranging device and camera
JPS62140008A (en) Method for confirming object
JPH02141880A (en) Copy body separating and extracting device
JPH06205269A (en) Automatic focus adjustment device and video camera
JP3800841B2 (en) Method and apparatus for measuring 3D shape and storage medium storing 3D shape measurement program
GB2215938A (en) Background differencing operator for target motion detection
JPH07107363A (en) Automatic focusing method
SU588470A1 (en) System for automatic identification of identical regions on pairs of stereoscopic photos
JP3234650B2 (en) Red / black data reader
JPH01147971A (en) Picture input device
JPS60254107A (en) Automatic tracking device of camera
US20180302531A1 (en) Image scanning apparatus
JPH09134418A (en) Method for extracting specified object and device therefor
JPH0586701B2 (en)
JPH01144871A (en) Image input device