JPS62185487A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS62185487A
JPS62185487A JP2758386A JP2758386A JPS62185487A JP S62185487 A JPS62185487 A JP S62185487A JP 2758386 A JP2758386 A JP 2758386A JP 2758386 A JP2758386 A JP 2758386A JP S62185487 A JPS62185487 A JP S62185487A
Authority
JP
Japan
Prior art keywords
picture
image
circuit
binarization
signal
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
JP2758386A
Other languages
Japanese (ja)
Inventor
Yoshimi Niihara
良美 新原
Hideyuki Kato
英之 加藤
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 JP2758386A priority Critical patent/JPS62185487A/en
Publication of JPS62185487A publication Critical patent/JPS62185487A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To extract a detected object stably without receiving the influence from the change in an external illumination or the like by detecting the detected object from the difference in lightness and the difference in chromaticity, synthesizing two pictures of the result thereof, and obtaining the final picture of the detected object. CONSTITUTION:The first comparison circuit 16 compares the lightness data signal (D1) of the respective picture elements of a lightness memory 14 with the first set value R1. To the output terminal of the comparison circuit 16, a picture binarization circuit 18 for binarizing the picture from '0', '1' signals is connected and the binarization picture signal BS1 obtained in this circuit 18 is stored in a binarization picture memory 19. The second comparison circuit 20 compares the chromaticity parameter signal D2 of the respective picture elements from a lightness memory 15 with the second set value 2. To the output terminal of the comparison circuit 20, a picture binarization circuit 22 for binarizing the picture from '0', '1' signals is connected and the binarization picture signal BS2 obtained in this circuit 22 is stored in a binarization picture memory 23. To the output terminals of the two binarization picture memories 19, 23, a picture synthesizing circuit 24 is connected and this circuit synthesizes the two binarization pictures to obtain the synthesized picture for a gasoline filling port 3.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、画像処理装置に関し、更に詳細には、車両の
ボディ上の検出物の位置を検出する際に用いられる画像
処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image processing device, and more particularly to an image processing device used when detecting the position of an object on the body of a vehicle.

(従来の技術) 上記した種類の画像処理装置としては、例えば特開昭6
0−91204号公報に示されているように、撮像装置
からの画像明度信号を設定値と比較して、明度差により
検出物を背景と区別する2値化画像に変換する画像処理
が知られている。
(Prior Art) As the above-mentioned type of image processing device, for example, Japanese Patent Laid-Open No. 6
As disclosed in Japanese Patent No. 0-91204, image processing is known in which an image brightness signal from an imaging device is compared with a set value and converted into a binary image that distinguishes a detected object from a background based on the difference in brightness. ing.

(発明が解決しようとする問題点) しかしながら、上記従来′A置のように、単に明度レベ
ル差に基づく特徴抽出パラメータによるワーク抽出手法
の場合は、ワークと背景の明度レベルの差が小さくなる
と、特徴抽出が困難になり、ワークの抽出が不可能とな
る。また、外部照明の変化によっても、明度レベルの差
が変化するため、ワークの抽出が不安定となり、誤認識
が発生する。
(Problems to be Solved by the Invention) However, in the case of a workpiece extraction method using feature extraction parameters simply based on the brightness level difference, as in the above-mentioned conventional 'A', when the difference in brightness level between the workpiece and the background becomes small, Feature extraction becomes difficult and workpiece extraction becomes impossible. Furthermore, the difference in brightness level also changes due to changes in external lighting, making extraction of the workpiece unstable and causing erroneous recognition.

更に、ワークと背景が、色度等が異なるだけで明度レベ
ルが同じな場合には、該ワークの抽出は全く不可能にな
ってしまう。
Furthermore, if the work and the background differ only in chromaticity and the like but have the same lightness level, it becomes completely impossible to extract the work.

そこで本発明は、検出物の検出を外部照明等の変化に影
響されないで安定に行なうことができ、更に背景と明度
レベルが同じで色度が異なる検出物の検出も可能とする
ことができる画像処理装置を提供することを目的とする
ものである。
Therefore, the present invention provides an image that can stably detect objects without being affected by changes in external illumination, etc., and can also detect objects that have the same brightness level as the background but different chromaticity. The purpose is to provide a processing device.

(問題点を解決するための手段) 本発明による画像処理装置は、車両のボディ部を撮像す
る撮像装置からの画像明度信号を第1設定値と比較して
、明度差によりボディ上の検出物を背景と区別する第一
2値化画像に変換する第1画像処理手段、前記撮像装置
からの画像色度信号を第2設定値と比較して、色度差に
より前記検出物を背景と区別する第二2値化画像に変換
する第2画像処理手段、および前記第一および第二2値
化画像を合成して最終画像を得る画像合成手段を備えて
いることを特徴するものである。
(Means for Solving the Problems) An image processing device according to the present invention compares an image brightness signal from an imaging device that images the body of a vehicle with a first setting value, and detects detected objects on the body based on the difference in brightness. a first image processing means for converting the detected object into a first binary image that distinguishes the detected object from the background; The present invention is characterized by comprising a second image processing means for converting the image into a second binary image, and an image synthesizing means for synthesizing the first and second binary images to obtain a final image.

(発明の作用・効果) 本発明の画像処理装置においては、上記したように検出
物を明度の差および色度の差の両方から検出し、しかも
その結果の2つの画像を合成して、検出物の最終画像を
得るようにしているので、検出物の抽出を、外部照明の
変化等に影響されないで安定に行なうことができるとと
もに、明度レベルが同じで色度の異なる検出物の抽出も
可能である。
(Operations and Effects of the Invention) As described above, the image processing device of the present invention detects an object based on both the difference in brightness and the difference in chromaticity, and also combines the two resulting images to detect the object. Since the final image of the object is obtained, it is possible to stably extract the detected object without being affected by changes in external lighting, etc., and it is also possible to extract detected objects with the same brightness level but different chromaticity. It is.

なお、被検出体の反射光受光信号の色成分により該被検
出体の色識別を行なうものとしては、特開昭56−43
521号公報に開示されたものが知られている。
Note that the method for identifying the color of a detected object based on the color components of the reflected light reception signal of the detected object is disclosed in Japanese Patent Application Laid-Open No. 56-43.
The one disclosed in Japanese Patent No. 521 is known.

(実施例) 以下、添付図面を参照して本発明の好ましい実施例によ
る画像処理装置について説明する。
(Embodiment) An image processing apparatus according to a preferred embodiment of the present invention will be described below with reference to the accompanying drawings.

以下の実施例においては、第1図および第2図に示した
ように、自動車組立ライン1のガソリン注入工程で、自
動車2のガソリン注入口3の位置検出をし、ロボット4
によってガソリンの自動注入を行なう場合について説明
する。上記ガソリン注入口の位置検出を行なうため、カ
ラー撮像装置(以下単にカメラと称す)5が固定されて
設けられている。このカメラ5には、画像処理装置lO
が接続されており、この画像処理装置10は、上記カメ
ラ5からの画像信号Isを受け、この信号Isを処理し
て上記ガソリン注入口3の位置を決定するための最終画
像信号LSを得、これを出力するものである。
In the following embodiment, as shown in FIGS. 1 and 2, in the gasoline injection process of the automobile assembly line 1, the position of the gasoline injection port 3 of the automobile 2 is detected and the robot
The case where automatic gasoline injection is performed will be explained below. In order to detect the position of the gasoline injection port, a color imaging device (hereinafter simply referred to as a camera) 5 is fixedly provided. This camera 5 includes an image processing device lO
is connected, and this image processing device 10 receives an image signal Is from the camera 5, processes this signal Is to obtain a final image signal LS for determining the position of the gasoline injection port 3, This is what is output.

上記画像処理装置10にはロボットコントローラ6が接
続されており、このロボットコントローラ6は、該画像
処理装置10からの上記最終画像信号LSを受け、この
信号LSに基づいて上記ガソリン注入口3の位置を決定
し、ロボット4に取り付けられたガソリン注入ノズル7
を、該ロボット4を操作してガソリン注入口3内に挿入
し、その後一定量のガソリンを注入するようになってい
る。
A robot controller 6 is connected to the image processing device 10, and this robot controller 6 receives the final image signal LS from the image processing device 10 and positions the gasoline injection port 3 based on this signal LS. is determined, and the gasoline injection nozzle 7 attached to the robot 4
is inserted into the gasoline injection port 3 by operating the robot 4, and then a certain amount of gasoline is injected.

次に上記画像処理装置10の詳細を第3図を参照しつつ
説明すると、該画像処理装置lOは、・カメラ5に接続
され、該カメラ5からの画像信号Isを、各色ごとに分
解し、レッド画像信号ISR。
Next, the details of the image processing device 10 will be explained with reference to FIG. 3. The image processing device 10 is: connected to the camera 5, decomposes the image signal Is from the camera 5 into each color, Red image signal ISR.

グリーン画像信号ISOおよびブルー画像信号ISBを
得、これらの信号l5RS ISG、ISBを一旦記憶
する画像メモリ11を備えている。この画像メモリ11
は、2つの出力端子を有しており、一方の出力端子は明
度演算回路12に接続されており、他方の出力端子は色
度演算回路13に接続されている。上記明度演算回路1
2は、明度演算(ICI=R2+G” +82 )によ
り、カラー三次元要素を、明度−次元要素の明度データ
信号D1へ変換するものであり、この明度データ信号D
1は明度メモリ14に記憶される。上記色度演算回路1
3は、色度演算(R/R+G+B。
It is provided with an image memory 11 that obtains a green image signal ISO and a blue image signal ISB and temporarily stores these signals ISG and ISB. This image memory 11
has two output terminals, one output terminal is connected to the brightness calculation circuit 12, and the other output terminal is connected to the chromaticity calculation circuit 13. Above brightness calculation circuit 1
2 converts a color three-dimensional element into a brightness data signal D1 of a brightness-dimensional element by a brightness calculation (ICI=R2+G''+82), and this brightness data signal D
1 is stored in the brightness memory 14. The above chromaticity calculation circuit 1
3 is chromaticity calculation (R/R+G+B.

G/R+G+B、B/R+G+B)によりカラー三次元
データを色度パラメータ(f (R’、G’。
G/R+G+B, B/R+G+B) to convert the color three-dimensional data to the chromaticity parameter (f (R', G'.

B))信号D2へ変換するものであり、この色度パラメ
ータ信号D2は、色度メモリ15に記憶される。
B)) This chromaticity parameter signal D2 is stored in the chromaticity memory 15.

上記明度メモリ14の出力端子は、第1比較回路16の
一方の入力端子に接続されており、この第1比較回路1
6の他方の入力端子には明度の設定値である第1設定値
R1を設定する第1設定値設定回路17が接続されてい
る。上記第1比較回路16は、明度メモリ14からの各
画素分の明度データ信号D1と上記第1設定値R1とを
比較し、DlがR1より大きいときには信号“1”を出
力し、DIがR1より小さいとき信号“0”を出力する
。上記比較回路16の出力端子には、上記“0”、“1
”信号から画像を2値化する画像2値化回路18が接続
されており、この画像2値化回路18で得られた2値化
画像信号BSIは2値化画像メモリ19に記憶される。
The output terminal of the brightness memory 14 is connected to one input terminal of a first comparison circuit 16.
A first set value setting circuit 17 for setting a first set value R1, which is a set value of brightness, is connected to the other input terminal of the display unit 6. The first comparison circuit 16 compares the brightness data signal D1 for each pixel from the brightness memory 14 with the first set value R1, and outputs a signal "1" when Dl is larger than R1, and when DI is R1. When it is smaller, a signal "0" is output. The output terminal of the comparison circuit 16 has the above “0” and “1”.
An image binarization circuit 18 that binarizes an image from a signal is connected, and a binarized image signal BSI obtained by this image binarization circuit 18 is stored in a binarized image memory 19.

上記2値化画像信号BSIによる2値化画像I−1を第
4図に示す。この2値化画像I−1には、この図に示さ
れているように欠陥F−2があったものとする。
FIG. 4 shows a binarized image I-1 based on the binarized image signal BSI. It is assumed that this binarized image I-1 has a defect F-2 as shown in this figure.

一方、上記明度メモリ15の出力端子は、第2比較回路
20の一方の入力端子に接続されており、この第2比較
回路20の他方の入力端子には色度の設定値である第2
設定値R2を設定する第2設定値設定回路21が接続さ
れている。この第2設定値R2は、該設定回路21にお
いて、メモリ15からの色度パラメータ信号D2に基づ
きその都度演算されて設定されるようになっている。上
記第2比較回路20は、明度メモリ15からの各画素分
の色度パラメータ信号D2と上記第2設定値R2とを比
較し、D2がR2より大きいときには信号“1”を出力
し、D2がR2より小さいとき信号“0”巻出力する。
On the other hand, the output terminal of the brightness memory 15 is connected to one input terminal of a second comparison circuit 20, and the other input terminal of the second comparison circuit 20 is connected to a second input terminal which is a set value of chromaticity.
A second set value setting circuit 21 for setting the set value R2 is connected. This second setting value R2 is calculated and set each time in the setting circuit 21 based on the chromaticity parameter signal D2 from the memory 15. The second comparison circuit 20 compares the chromaticity parameter signal D2 for each pixel from the brightness memory 15 with the second set value R2, and outputs a signal "1" when D2 is larger than R2, and when D2 is When it is smaller than R2, a signal "0" is output.

上記比較回路20の出力端子には、上記“0”、“1”
信号から画像を2値化する画像2値化回路22が接続さ
れており、この画像2値化回路22で得られた2値化画
像信号BS2は2値化画像メモリ23に記憶される。
The output terminal of the comparison circuit 20 has the above “0” and “1”.
An image binarization circuit 22 that binarizes an image from a signal is connected, and a binarized image signal BS2 obtained by this image binarization circuit 22 is stored in a binarized image memory 23.

上記2値化画像信号BS2による2値化画像1−2を第
5図に示す。この2値化画像1−2には、この図に示さ
れているように欠陥F−2があったものとする。
FIG. 5 shows a binarized image 1-2 based on the binarized image signal BS2. It is assumed that this binarized image 1-2 has a defect F-2 as shown in this figure.

上記2つの2値化画像メモIJ 19.23の出力端子
には画像合成回路24が接続されており、この画像合成
回路24は、上記の2つの2値化画像I−L I−2を
合成して、それぞれの欠陥F−1F−2を解消した、第
6図に示されたような欠陥のないガソリン注入口3の合
成画像I−3を得る。
An image synthesizing circuit 24 is connected to the output terminals of the two binarized image memos IJ 19 and 23, and this image synthesizing circuit 24 synthesizes the two binarized images I-L I-2. As a result, a composite image I-3 of the defect-free gasoline injection port 3 as shown in FIG. 6, in which the respective defects F-1 and F-2 are eliminated, is obtained.

上記合成画像I−3の信号は更にノイズ等減少するため
の最終画像処理回路25に入力され、ノイズ処理等がな
されてロボットコントローラ6に人力される。このロボ
ットコントローラ6は、処理がなされた上記合成画像I
−3の信号に基づきガソリン注入口3の位置を決定し、
これにより上記したようにしてロボット4を作動させて
ガソリンの自動注入を行なう。
The signal of the composite image I-3 is further inputted to a final image processing circuit 25 for reducing noise, etc., and subjected to noise processing, etc., and then manually inputted to the robot controller 6. This robot controller 6 uses the processed composite image I.
- Determine the position of the gasoline injection port 3 based on the signal 3,
This causes the robot 4 to operate as described above to automatically inject gasoline.

以上により、照明、ボディ色等の変化により、被検出物
および背景の明度が変わっても、2値化画像を得ること
ができ、より広範囲での画像処理が可能となる。
As described above, even if the brightness of the object to be detected and the background change due to changes in illumination, body color, etc., a binarized image can be obtained, and image processing over a wider range is possible.

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

第1図は、本発明の実施例による画像処理装置を組み込
んだガソリンの自動注入装置の概略平面図、 第2図は、第1図に示した自動注入装置の概略正面図、 第3図は、本発明の実施例による画像処理装置の構成を
示すブロックダイヤグラム、 第4図は、明度に基づく2値化画像の一例を示す図、 第5図は、色度に基づく2値化画像の一例を示す図、 第6図は、第4図および第5図に示した2つの2値化画
像を本発明に基づき合成して得られた合成画像を示す図
である。 2・・・・・・自動車  3・・・・・・ガソリン注入
口5・・・・・・カメラ  11・・・・・・画像メモ
リ12・・・・・・明度演算回路  13・・・・・・
色度演算回路16.20・・・・・・比較回路 18・・・・・・画像2値化回路〈明度)22・・・・
・・画像2値化回路(色度)24・・・・・・画像合成
回路 第2図 第4図 第5図 第6図 −J
FIG. 1 is a schematic plan view of an automatic gasoline injection device incorporating an image processing device according to an embodiment of the present invention, FIG. 2 is a schematic front view of the automatic injection device shown in FIG. 1, and FIG. , a block diagram showing the configuration of an image processing device according to an embodiment of the present invention, FIG. 4 is a diagram showing an example of a binarized image based on brightness, and FIG. 5 is an example of a binarized image based on chromaticity. FIG. 6 is a diagram showing a composite image obtained by combining the two binarized images shown in FIGS. 4 and 5 based on the present invention. 2...Car 3...Gasoline inlet 5...Camera 11...Image memory 12...Brightness calculation circuit 13...・・・
Chromaticity calculation circuit 16.20... Comparison circuit 18... Image binarization circuit (brightness) 22...
...Image binarization circuit (chromaticity) 24...Image synthesis circuit Fig. 2 Fig. 4 Fig. 5 Fig. 6-J

Claims (1)

【特許請求の範囲】[Claims] 車両のボディ部を撮像する撮像装置からの画像明度信号
を第1設定値と比較して、明度差によりボディ上の検出
物を背景と区別する第一2値化画像に変換する第1画像
処理手段、前記撮像装置からの画像色度信号を第2設定
値と比較して、色度差により前記検出物を背景と区別す
る第二2値化画像に変換する第2画像処理手段、および
前記第一および第二2値化画像を合成して最終画像を得
る画像合成手段を備えた画像処理装置。
First image processing that compares an image brightness signal from an imaging device that images the body of the vehicle with a first set value and converts it into a first binary image that distinguishes a detected object on the body from a background based on the difference in brightness. means, a second image processing means that compares the image chromaticity signal from the imaging device with a second set value and converts it into a second binary image that distinguishes the detected object from the background based on the chromaticity difference; An image processing device comprising an image synthesis means for synthesizing first and second binary images to obtain a final image.
JP2758386A 1986-02-10 1986-02-10 Picture processor Pending JPS62185487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2758386A JPS62185487A (en) 1986-02-10 1986-02-10 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2758386A JPS62185487A (en) 1986-02-10 1986-02-10 Picture processor

Publications (1)

Publication Number Publication Date
JPS62185487A true JPS62185487A (en) 1987-08-13

Family

ID=12224980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2758386A Pending JPS62185487A (en) 1986-02-10 1986-02-10 Picture processor

Country Status (1)

Country Link
JP (1) JPS62185487A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59231679A (en) * 1983-06-15 1984-12-26 Fujitsu Ltd Picture input device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59231679A (en) * 1983-06-15 1984-12-26 Fujitsu Ltd Picture input device

Similar Documents

Publication Publication Date Title
US7375745B2 (en) Method for digital image stitching and apparatus for performing the same
US7545442B2 (en) Y/C separation with 3D comb filter
CN112798613B (en) LCD foreign matter defect color imaging detection method, electronic equipment and storage medium
JP2000123186A (en) Object recognizing device
US7835552B2 (en) Image capturing apparatus and face area extraction method
JPS62185487A (en) Picture processor
JPH0771939A (en) Visual inspection device
JP4354173B2 (en) Appearance inspection equipment for electronic circuit components
JPH11134591A (en) Vehicle type discriminating device
JPH10141925A (en) Appearance inspection device
JPH1114323A (en) Pattern inspection method and pattern inspection device
JP2003302354A (en) Appearance inspection method and appearance inspection device for electronic circuit parts, and method for manufacturing electronic circuit parts
JP4354174B2 (en) Manufacturing method for electronic circuit components
JPH09232797A (en) Ic component position detecting device
JPH0760135B2 (en) Image processing method for wafer defect inspection
JPH06160035A (en) Substrate inspection device
JP2765339B2 (en) Through hole inspection equipment
JPH01101422A (en) Method for detecting mark using light splitting device
JP2953588B2 (en) Color misregistration detection circuit
JPH02140886A (en) Picture preprocessing device
JPH1040383A (en) Appearance inspecting device
JPH0926313A (en) Object recognition method in visual inspection apparatus for electronic-component mounting board
JPH10206237A (en) Device for visual inspection of semiconductor product
JP2837887B2 (en) Color shift detection circuit
JPH0273473A (en) Inspecting method