JPH0216683A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0216683A
JPH0216683A JP63167457A JP16745788A JPH0216683A JP H0216683 A JPH0216683 A JP H0216683A JP 63167457 A JP63167457 A JP 63167457A JP 16745788 A JP16745788 A JP 16745788A JP H0216683 A JPH0216683 A JP H0216683A
Authority
JP
Japan
Prior art keywords
processing
picture
target object
image processing
binarizing
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.)
Granted
Application number
JP63167457A
Other languages
Japanese (ja)
Other versions
JP2937327B2 (en
Inventor
Yoshimi Niihara
良美 新原
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP63167457A priority Critical patent/JP2937327B2/en
Publication of JPH0216683A publication Critical patent/JPH0216683A/en
Application granted granted Critical
Publication of JP2937327B2 publication Critical patent/JP2937327B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To shorten recognizing time by providing a feature part to be the reference of a binarizing processing in a picture area to which a picture processing is to be executed and deciding optimum binarizing processing conditions with executing the picture processing on only the feature parts. CONSTITUTION:A TC camera 5 image-picks-up an object 2 optically, and the object 2 is recognized by executing a picture processing by scanning and a binarizing processing on a picture formed on the target of the TV camera 5. The picture processing is executed with using a feature part 9 provided separately from the object 2 at a fixed position in a picture area 8 in which the picture processing is to be executed. First, an objective picture is taken in, the small area involving the feature part 9 is cut off, and optimum binarizing conditions on the cut off small area, that is, a minimum scanning line number necessary for the recognizing of the object 2 is decided. Next, a binarizing processing is executed on the whole of the picture area 8 involving the object 2 based on the decided binarizing processing condition and the object 2 is recognized. Thus, recognizing time can be shortened.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、目標物を光学的に撮像してこれを認識するた
めの画像処理方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image processing method for optically imaging and recognizing a target object.

(従来の技術) 目標物を光学的に撮像し、この画像の全体を順次走査し
て2値化処理を行なうことにより、目標物との交差部分
を求めてこれを認識するという画像処理方法は一般に知
られている(例えば、特開昭61−30708号公報参
照)。
(Prior art) An image processing method that optically images a target object, sequentially scans the entire image, and performs binarization processing to find and recognize the intersection with the target object. It is generally known (see, for example, Japanese Patent Laid-Open No. 61-30708).

この場合、上記画像処理においては、目標物の認識のた
めに、テレビカメラで光学的に得られた画像を走査する
が、この走査線の数が多いほど目標物の認識が容易にな
るものの、それだけ走査に時間がかかることになる。従
って、最初は粗い走査線間隔で2値化処理を行ない、そ
れによって目標物の認識ができないときに上記走査線間
隔を狭くしていくという方法が採用されている。
In this case, in the image processing described above, an image obtained optically by a television camera is scanned in order to recognize the target object. This means that scanning will take longer. Therefore, a method has been adopted in which binarization processing is performed at a coarse scanning line interval at first, and then when the target object cannot be recognized, the scanning line interval is narrowed.

(発明が解決しようとする課題) しかし、従来の画像処理方法においては、目標物の認識
するために、光学的に得られた画像の全体について、数
回の2値化処理を行なう必要があって、この目標物の認
識に至るまでの時間が長くなるという問題がある。
(Problem to be Solved by the Invention) However, in conventional image processing methods, in order to recognize a target object, it is necessary to perform binarization processing several times on the entire optically obtained image. Therefore, there is a problem in that it takes a long time to recognize the target object.

(課題を解決するための手段) 本発明は、かかる点に鑑み、最初から目標物認識のため
の画像処理を行なうのではなく、上記画像処理すべき領
域内に目標物とは別に2値化処理の基準となる特徴部を
設けておき、先にこの特徴部を含む狭い領域の画像処理
を行なうことにより、目標物の画像処理に最適な2値化
処理条件を求めることにより、目標物を含む広い領域の
画像処理については1回の2値化処理により目標物を認
識できるようにして、その認識時間の短縮を図ろうとす
るものである。
(Means for Solving the Problems) In view of the above, the present invention does not perform image processing for target object recognition from the beginning, but performs binarization separately from the target object in the area to be image processed. By setting a feature that serves as a reference for processing and first performing image processing on a narrow area that includes this feature, the optimal binarization processing conditions for image processing of the target are determined. Regarding image processing of a wide area including image processing, it is possible to recognize a target object by performing binarization processing once, thereby shortening the recognition time.

すなわち、本発明は、目標物を光学的に撮像し、その目
標物を認識すべく画像処理を行なう方法であって、画像
処理を行なうべき画像領域内に上記目標物とは別にこの
目標物の2値化処理の基準となる特徴部を設けておき、
この特徴部のみについて画像処理を行なって最適な2値
化処理条件を決定し、この2値化処理条件に基づいて上
記目標物を含む画像領域の2値化処理を行なって目標物
を認識することを特徴とするものである。
That is, the present invention is a method of optically capturing an image of a target object and performing image processing to recognize the target object. A characteristic part is provided as a standard for binarization processing,
Image processing is performed only on this feature to determine optimal binarization processing conditions, and based on these binarization processing conditions, the image area containing the target is binarized to recognize the target. It is characterized by this.

(作用) 上記画像処理方法の場合、特徴部のみについての画像処
理は、その処理すべき領域が狭いため比較的短時間に終
了することができ、そして、目標物を含む画像領域の画
像処理は上記特徴部の画像処理で得られた最適2値化処
理条件に基づいて行なうから、1回の2値化処理で目標
物を認識することができる。
(Function) In the case of the above image processing method, image processing for only the characteristic part can be completed in a relatively short time because the area to be processed is small, and image processing for the image area including the target object can be completed in a relatively short time. Since this is performed based on the optimal binarization processing conditions obtained through the image processing of the characteristic portion, the target object can be recognized with one binarization process.

(発明の効果) 従って、本発明によれば、目標物とは別に基準となる特
徴部を設けて、狭い領域の画像処理で最適2値化処理条
件を求め、それに基づいて目標物を含む領域の2値化処
理を行なうようにしたから、この目標物を含む領域が広
くとも1回の2値化処理で目標物を認識することができ
、この目標物の認識時間を短縮することができる。
(Effects of the Invention) Therefore, according to the present invention, a feature part that serves as a reference is provided separately from the target object, the optimum binarization processing conditions are determined by image processing of a narrow area, and based on the optimum binarization processing conditions, the area including the target object is determined. Since the binarization process is performed, even if the area including the target object is large, the target object can be recognized with one binarization process, and the recognition time for this target object can be shortened. .

(実施例) 以下、本発明の実施例を図面に基づいて説明する。(Example) Embodiments of the present invention will be described below based on the drawings.

第1図にはパレット1に載置された目標物2を画像処理
により認識してこれに作業を行なう例が示されている。
FIG. 1 shows an example in which a target object 2 placed on a pallet 1 is recognized by image processing and work is performed on it.

同図において、3は目標物2を載置した作業台、4は目
標物2に対する照明器具、5は目標物2を光学的に撮像
するテレビカメラ、6は作業機である。この場合、テレ
ビカメラ5のターゲット上に結ばれた画像について走査
及び2値化処理によって画像処理を行なうことにより、
目標物2の位置や形状ないしは姿勢を認識し、これに基
づいてコントローラ7により作業機6を作動させること
になる。
In the figure, 3 is a workbench on which the target object 2 is placed, 4 is a lighting device for the target object 2, 5 is a television camera that optically images the target object 2, and 6 is a working machine. In this case, by performing image processing on the image focused on the target of the television camera 5 through scanning and binarization processing,
The position, shape, or attitude of the target object 2 is recognized, and the controller 7 operates the work implement 6 based on this.

本例の場合、上記画像処理は、第2図に示すように、そ
の処理を行なうべき画像領域8内の定位置(パレット1
の定位置)に上記目標物2とは別に設けられた特徴部9
を利用して行なうようになっている。すなわち、この特
徴部9は上記目標物2の2値化処理の基準となるもので
あり、この特徴部9を認識することができるレベルの2
値化処理で上記目標物2を認識することができるもので
ある。
In the case of this example, the above image processing is carried out at a fixed position within the image area 8 (palette 1
A characteristic portion 9 provided separately from the target object 2 at a fixed position of
This is done using the . That is, this feature part 9 serves as a reference for the binarization process of the target object 2, and the feature part 9 is a level 2 that can be recognized.
The target object 2 can be recognized by the value conversion process.

画像処理の具体的な流れは第3図に示されている。The specific flow of image processing is shown in FIG.

まず、処理すべき対象の画像を取り込み、上記目標物2
の2値化処理条件決定のために特徴部9を含む狭い領域
の切出しを行なう(ステップS1゜S2)。そして、こ
の切出した狭い領域について、比較的広い走査線間隔で
2値化処理を行なって上記特徴部9の抽出処理を行なう
(ステップS3゜S4)。
First, an image of the object to be processed is captured, and the target object 2 is
In order to determine the binarization processing conditions, a narrow region including the characteristic portion 9 is cut out (steps S1 and S2). Then, the extracted narrow region is subjected to binarization processing at a relatively wide scanning line interval to extract the characteristic portion 9 (steps S3 and S4).

次に、この抽出処理の結果と予め設定されたティーチン
グデータと比較し、このティーチングデータに等しくな
るまで上述の切出し、2値化処理及び特徴部抽出を行な
う(ステップSs)。この場合、走査線間隔は順次狭く
していくものであり、これにより、上記目標物2の画像
処理に最適な2値化処理条件、つまり、目標物2の認識
に必要な最少限の走査線数を決定することになる。そう
して、この決定された2値化処理条件に基づいて上記目
標物2を含む画像領域8の全体について2値化処理を行
なって目標物2の特徴を抽出し、この目標物2を認識す
ることになる(ステップS6゜Sy)。
Next, the result of this extraction process is compared with preset teaching data, and the above-described cutting, binarization process, and characteristic part extraction are performed until the teaching data becomes equal to the teaching data (step Ss). In this case, the scanning line interval is gradually narrowed, thereby achieving the optimal binarization processing conditions for image processing of the target object 2, that is, the minimum number of scanning lines necessary for recognizing the target object 2. The number will be determined. Then, based on the determined binarization processing conditions, the entire image area 8 including the target object 2 is binarized to extract the features of the target object 2, and this target object 2 is recognized. (Step S6°Sy).

従って、上記画像領域8の全体についての走査は1回で
よく、また、その前の上記2値化処理条件決定のための
走査は、定められた位置で狭い範囲で実行すればよいか
ら、結局、全体としてみれば、目標物2の認識に要する
時間は、最初から上記画像領域8の全体について走査線
感覚を順次狭くしていきながら画像処理を行なう場合に
比べて、短縮されることになる。
Therefore, the entire image area 8 only needs to be scanned once, and the previous scan for determining the binarization processing conditions can be performed in a narrow range at a predetermined position. , Overall, the time required to recognize the target object 2 is reduced compared to the case where image processing is performed while sequentially narrowing the scanning line sense for the entire image area 8 from the beginning. .

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

図面は本発明の実施例を示し、第1図は目標物の画像処
理手段と作業機との関係を示す全体構成図、第2図は画
像領域での目標物と特徴部との関係を示す平面図、第3
図面像処理の流れを示す図である。 2・・・・・・目標物、5・・・・・・テレビカメラ、
8・・・・・・画像領域、9・・・・・・特徴部
The drawings show an embodiment of the present invention, and FIG. 1 is an overall configuration diagram showing the relationship between the image processing means of the target object and the working machine, and FIG. 2 shows the relationship between the target object and characteristic parts in the image area. Floor plan, 3rd
It is a figure which shows the flow of drawing image processing. 2...Target, 5...TV camera,
8...Image area, 9...Characteristic part

Claims (1)

【特許請求の範囲】[Claims] (1)目標物を光学的に撮像し、その目標物を認識すべ
く画像処理を行なう方法であって、画像処理を行なうべ
き画像領域内に上記目標物とは別にこの目標物の2値化
処理の基準となる特徴部を設けておき、この特徴部のみ
について画像処理を行なって最適な2値化処理条件を決
定し、この2値化処理条件に基づいて上記目標物を含む
画像領域の2値化処理を行なって目標物を認識すること
を特徴とする画像処理方法。
(1) A method in which a target is optically imaged and image processing is performed to recognize the target, and the target is binarized separately from the target within the image area where image processing is to be performed. A feature part that serves as a reference for processing is provided, image processing is performed on only this feature part to determine optimal binarization processing conditions, and based on the binarization processing conditions, the image area including the target object is An image processing method characterized by performing binarization processing to recognize a target object.
JP63167457A 1988-07-05 1988-07-05 Image processing method Expired - Fee Related JP2937327B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63167457A JP2937327B2 (en) 1988-07-05 1988-07-05 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63167457A JP2937327B2 (en) 1988-07-05 1988-07-05 Image processing method

Publications (2)

Publication Number Publication Date
JPH0216683A true JPH0216683A (en) 1990-01-19
JP2937327B2 JP2937327B2 (en) 1999-08-23

Family

ID=15850036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63167457A Expired - Fee Related JP2937327B2 (en) 1988-07-05 1988-07-05 Image processing method

Country Status (1)

Country Link
JP (1) JP2937327B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430326B2 (en) 2002-08-30 2008-09-30 Fujitsu Limited Image encoding apparatus, method and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS603273A (en) * 1983-06-20 1985-01-09 Hitachi Ltd Image binarization threshold setting method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS603273A (en) * 1983-06-20 1985-01-09 Hitachi Ltd Image binarization threshold setting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430326B2 (en) 2002-08-30 2008-09-30 Fujitsu Limited Image encoding apparatus, method and program

Also Published As

Publication number Publication date
JP2937327B2 (en) 1999-08-23

Similar Documents

Publication Publication Date Title
KR890002287B1 (en) Pattern matching method and apparatus
KR20060101268A (en) Image processing method, three-dimensional position measuring method and image processing device
CN114509446A (en) Automatic detection method and system for chip corner defect
JPH0216683A (en) Picture processor
JP3627249B2 (en) Image processing device
EP1698887A2 (en) Method and apparatus for acquiring image of internal structure, and computer product
JPH0935058A (en) Image recognizing method
JPH0689343A (en) Dead band area setting method for template matching
JP2003302354A (en) Apparatus for inspecting appearance of electronic circuit parts, apparatus for inspecting appearance, and method for manufacturing electronic circuit parts
JP4129354B2 (en) Template registration method and apparatus and defect detection method
JP3087788B2 (en) Component position detection method and device
JP3149069B2 (en) How to automatically set the region of interest
JP2002230564A (en) Outline extraction apparatus, method and outline extraction program
JPS60200375A (en) Template matching system
JP3333280B2 (en) Bonding wire inspection method
JPH10288503A (en) Semiconductor substrate pattern arrangement recognition method
JP2646577B2 (en) Image information creation device
JPH07107650B2 (en) Method of teaching reference board data in automatic inspection device
JPS60263270A (en) Pattern search method
JPH0290374A (en) Positioning device and image processing LSI circuit
JPH03158709A (en) Recognizing device for solid body shape
JPH10255060A (en) Robot device
JPS6360432B2 (en)
JPH10188000A (en) Method and apparatus for extracting straight line component of image
JPH03120732A (en) Misregistration amount recognition device and manufacture of semiconductor device using same

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees