JPS617406A - Object shape defect detection method - Google Patents

Object shape defect detection method

Info

Publication number
JPS617406A
JPS617406A JP59128040A JP12804084A JPS617406A JP S617406 A JPS617406 A JP S617406A JP 59128040 A JP59128040 A JP 59128040A JP 12804084 A JP12804084 A JP 12804084A JP S617406 A JPS617406 A JP S617406A
Authority
JP
Japan
Prior art keywords
image
image data
inspected
defect detection
detection method
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
JP59128040A
Other languages
Japanese (ja)
Inventor
Akira Naito
内藤 昭
Yasuyuki Sohara
曽原 泰之
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59128040A priority Critical patent/JPS617406A/en
Publication of JPS617406A publication Critical patent/JPS617406A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、所定の形状を有する物体の形状欠陥を画像処
理によって検出する物体形状の欠陥検出方法に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an object shape defect detection method for detecting shape defects of an object having a predetermined shape by image processing.

〔従来技術〕[Prior art]

第1図は、この種の欠陥検出方法を用いた欠陥検出装置
の従来構成を示すブロック図であり、1は被検査物体、
2はテレビカメラ、3はAD変換器、4は画像メモリ、
5は基準物体の画像信号を記憶した画像メモリ、6は比
較回路、7はマイクo7’ロセッサ等で構成されるCP
U、8は判定回路、9は出力端子である。
FIG. 1 is a block diagram showing the conventional configuration of a defect detection device using this type of defect detection method, in which 1 indicates an object to be inspected;
2 is a TV camera, 3 is an AD converter, 4 is an image memory,
5 is an image memory storing the image signal of the reference object, 6 is a comparison circuit, and 7 is a CP consisting of a microphone o7' processor, etc.
U, 8 is a determination circuit, and 9 is an output terminal.

このような構成において、被検査物体lの画像はテレビ
カメラ2によって撮像される。そして、その画像信号は
AD変換器3によって例えば16階調の画像データに変
換されて画像メモリ4に記憶される。
In such a configuration, an image of the object to be inspected l is captured by the television camera 2. Then, the image signal is converted into image data of, for example, 16 gradations by the AD converter 3 and stored in the image memory 4.

これにより、画像メモリ4には第2図aに示すように被
検査物体1の画像の濃度を表す画像データが濃淡に応じ
て“0”〜“F” (16進表示)の符号で記憶される
As a result, image data representing the density of the image of the object to be inspected 1 is stored in the image memory 4 as codes from "0" to "F" (in hexadecimal notation) according to the density, as shown in FIG. 2a. Ru.

一方、画像データメモリ5には基準物体2oの画像の濃
度を表す画像データが前記画像メモリ4と同様に“0”
〜“F′の符号で記憶されている(第2図す参照)。画
像メモリ4に被検査物体1の画像データが記憶されると
、この画像データはCPU7の読出し制御によって読出
されて比較回路6に人力される。同時に、画像メモリ5
に予め記憶されている基準物体20の画像データもCP
U7の読出し制御によって読出されて比較口−路6に入
力され、被検査物体1の画像データと比較される。
On the other hand, image data representing the density of the image of the reference object 2o is stored in the image data memory 5 as "0" as in the image memory 4.
~"F' (see Fig. 2). When the image data of the object to be inspected 1 is stored in the image memory 4, this image data is read out under the read control of the CPU 7 and sent to the comparison circuit. 6. At the same time, the image memory 5
The image data of the reference object 20 stored in advance in the CP
The data is read out by the readout control of U7 and inputted to the comparison port 6, where it is compared with the image data of the object to be inspected 1.

この結果、2つの画像データが完全に一致すれば、欠陥
無しを表す信号が側車回路8から出力される。この場合
、画像データの比較は1画素単位で行なわれる。また、
画像信号をlII調化する際の誤差による誤判定を防止
するため、欠陥有りを表す判定信号は被検査物体1の画
像データと基準物体20の画像データとが濃度領域で所
定値以上具なった場合のみ出力されるようになっている
As a result, if the two image data completely match, a signal indicating that there is no defect is output from the sidecar circuit 8. In this case, comparison of image data is performed pixel by pixel. Also,
In order to prevent erroneous judgments due to errors in adjusting the image signal, the judgment signal indicating the presence of a defect is determined when the image data of the object to be inspected 1 and the image data of the reference object 20 are equal to or greater than a predetermined value in the density region. It is designed to be output only if

従って、この構成によれば、被検査物体1に第2図aに
示す欠陥部分3】が存在した時のみ、この欠陥部分31
に対応する画素の画像データ33と基準物体20の画像
データ21とが不一致となり、欠陥有りの判定信号が判
定回路8から出力される。
Therefore, according to this configuration, only when the defective portion 3 shown in FIG.
The image data 33 of the pixel corresponding to the reference object 20 does not match the image data 21 of the reference object 20, and a determination signal indicating that there is a defect is output from the determination circuit 8.

ところが、このような従来の欠陥検出方法によれば、■
画素単位で被検査物体1の画像データと基準物体20の
画素データとが順次比較されるため、高精度で欠陥の有
無を検出することができるという反面、判定終了までに
長時間を要するという欠点がある。
However, according to such conventional defect detection methods, ■
Since the image data of the inspected object 1 and the pixel data of the reference object 20 are sequentially compared pixel by pixel, the presence or absence of defects can be detected with high precision, but the drawback is that it takes a long time to complete the determination. There is.

〔発明の概要〕[Summary of the invention]

本発明はこのような欠点を解決するためになされたもの
で、被検査物体と基準物体の画像信号を濃度領域で所定
゛数画素単位で平均化し、その平均値を比較することに
より、短時間のうちに欠陥の有無を検出できる物体形状
の欠陥検出方法を提供するものである。
The present invention has been made to solve these drawbacks, and it averages the image signals of the object to be inspected and the reference object in units of a predetermined number of pixels in the density area, and compares the average values. The object of the present invention is to provide a method for detecting defects in the shape of an object, which can detect the presence or absence of defects in an object.

〔発明の実施例〕[Embodiments of the invention]

第3図は本発明を適用した欠陥検出装置の一実施例を示
すブロック図であり、従来構成と異なる点は画像メモリ
4の出力側に平均値計算回路1゜を設けると共に、第1
図の判定口98を削除したことである。
FIG. 3 is a block diagram showing an embodiment of a defect detection device to which the present invention is applied. The difference from the conventional configuration is that an average value calculation circuit 1° is provided on the output side of the image memory 4, and a
This is because the judgment port 98 in the figure has been deleted.

このような構成において、被検査物体1の画像データは
従来と同様にして画像メモリ4に記憶される。一方、画
像メモリ5には第4図aに示すように基準物体20の画
像データを濃度領域で所定画素数単位(この実施例では
4画素単位)で平均化した平均化画像データが“0”〜
“F”の符号で予め記憶されている。
In such a configuration, image data of the object to be inspected 1 is stored in the image memory 4 in the same manner as in the prior art. On the other hand, as shown in FIG. 4a, the image memory 5 contains averaged image data of "0" obtained by averaging the image data of the reference object 20 in units of a predetermined number of pixels (in units of 4 pixels in this embodiment) in the density area. ~
It is stored in advance with the code "F".

そこで、画像メモリ4に被検査物体1の画像が記憶され
ると、この画像データはCPU7の読出し制御によって
読出されて平均値計算回路10に入力される。そして、
この平均値計算回路10において4画素単位での濃度の
平均値が算出される。
Therefore, when the image of the object to be inspected 1 is stored in the image memory 4, this image data is read out under the readout control of the CPU 7 and input to the average value calculation circuit 10. and,
This average value calculation circuit 10 calculates the average value of the density in units of four pixels.

第4図すにこの場合の画像データを示している。FIG. 4 shows image data in this case.

この動作と並行して画像メモリ5から基準物体20の平
均化画像データが4画素単位で読出され、比較器6にお
いて上記計算回路10で算出された平均値と比較される
In parallel with this operation, the averaged image data of the reference object 20 is read from the image memory 5 in units of four pixels, and is compared with the average value calculated by the calculation circuit 10 in the comparator 6.

この比較の結果、2つの平均化画像データが一致すれば
、欠陥無しの判定信号が比較回路6から出力される。こ
の場合の比較動作は4画素単位で実行される。
As a result of this comparison, if the two averaged image data match, a determination signal indicating no defect is output from the comparison circuit 6. The comparison operation in this case is performed in units of four pixels.

従って、この実施例の判定結果は従来の×の所要時間で
出力されるものとなる。この場合、平均化する画素数を
多くすればさらに所要時間を短縮することができるが、
逆に精度が低下子るので平均化画素数は精度との関連で
適切な数に設定するのが望ましい。
Therefore, the determination result of this embodiment is output in the conventional required time of x. In this case, the time required can be further reduced by increasing the number of pixels to be averaged, but
On the other hand, the accuracy decreases, so it is desirable to set the number of averaging pixels to an appropriate number in relation to the accuracy.

〔発明の効果〕〔Effect of the invention〕

欠陥の有無を検出するよう゛にしたため、極めて短時間
のうちに被検査物体の欠陥の有無を検出でき、製造ライ
ンにおける欠陥検出装置に適用すれば製造ラインの効率
化を図れるという効果がある。
Since the present invention is designed to detect the presence or absence of defects, it is possible to detect the presence or absence of defects in the object to be inspected in an extremely short period of time, and when applied to a defect detection device in a production line, the efficiency of the production line can be improved.

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

第1図は従来における欠陥検出袋”置の構成を示すブロ
ック図、第2図は従来装置の動作を説明するための画像
データ配列図、第3図は本発明を適用した欠陥検出装置
の一実施例を示すブロック図、第4図は平均化画像デー
タの配列図である。 1・・・被検査物体、2・・・テレビカメラ、3・・・
AD変換器、4,5・・・画像メモリ、6・・・比較回
路、7・・・CPU、31・・・欠陥部分。 代理人  大  岩  増  雄(外2名)第1図 名3図 第4図G) 第4はb)
Fig. 1 is a block diagram showing the configuration of a conventional defect detection bag device, Fig. 2 is an image data array diagram for explaining the operation of the conventional device, and Fig. 3 is an example of a defect detection device to which the present invention is applied. A block diagram showing an embodiment, FIG. 4 is an array diagram of averaged image data. 1... object to be inspected, 2... television camera, 3...
AD converter, 4, 5... Image memory, 6... Comparison circuit, 7... CPU, 31... Defective part. Agent: Masuo Oiwa (2 others) Figure 1 name 3 Figure 4 G) 4th b)

Claims (1)

【特許請求の範囲】[Claims] 検査対象物体の画像を撮像装置によって抽出し、基準物
体の画像と比較することによって検査対象物体の形状の
欠陥を検出する物体形状の欠陥検出方法において、前記
撮像装置によって抽出した検査対象物体および基準物体
の画像信号を濃度領域で所定数画素単位で平均化し、そ
の平均化された値の比較によって検査対象物体の形状欠
陥を検出することを特徴とする物体形状の欠陥検出方法
In an object shape defect detection method in which a defect in the shape of the object to be inspected is detected by extracting an image of the object to be inspected using an imaging device and comparing it with an image of a reference object, the object to be inspected extracted by the imaging device and the reference 1. A method for detecting defects in the shape of an object, characterized in that image signals of the object are averaged in units of a predetermined number of pixels in a density region, and shape defects in the object to be inspected are detected by comparing the averaged values.
JP59128040A 1984-06-21 1984-06-21 Object shape defect detection method Pending JPS617406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59128040A JPS617406A (en) 1984-06-21 1984-06-21 Object shape defect detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59128040A JPS617406A (en) 1984-06-21 1984-06-21 Object shape defect detection method

Publications (1)

Publication Number Publication Date
JPS617406A true JPS617406A (en) 1986-01-14

Family

ID=14975021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59128040A Pending JPS617406A (en) 1984-06-21 1984-06-21 Object shape defect detection method

Country Status (1)

Country Link
JP (1) JPS617406A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63112184A (en) * 1986-10-30 1988-05-17 Fujitsu Ltd Detecting system for printed density
JPH0498374A (en) * 1990-08-09 1992-03-31 Matsushita Electric Ind Co Ltd pattern recognition device
JPH0479250U (en) * 1990-11-22 1992-07-10
JPH06258057A (en) * 1993-03-03 1994-09-16 Toyo Glass Co Ltd Method and equipment for inspecting flaw of product
JPH0721376A (en) * 1993-06-18 1995-01-24 Asia Electron Inc Picture processing system
US7951517B2 (en) 2007-04-18 2011-05-31 Fuji Xerox Co., Ltd. Electrophotographic photoreceptor, process cartridge, and image forming apparatus
JP2013167483A (en) * 2012-02-14 2013-08-29 Mecc Co Ltd Defect inspection system and defect inspection method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63112184A (en) * 1986-10-30 1988-05-17 Fujitsu Ltd Detecting system for printed density
JPH0498374A (en) * 1990-08-09 1992-03-31 Matsushita Electric Ind Co Ltd pattern recognition device
JPH0479250U (en) * 1990-11-22 1992-07-10
JPH06258057A (en) * 1993-03-03 1994-09-16 Toyo Glass Co Ltd Method and equipment for inspecting flaw of product
JPH0721376A (en) * 1993-06-18 1995-01-24 Asia Electron Inc Picture processing system
US7951517B2 (en) 2007-04-18 2011-05-31 Fuji Xerox Co., Ltd. Electrophotographic photoreceptor, process cartridge, and image forming apparatus
JP2013167483A (en) * 2012-02-14 2013-08-29 Mecc Co Ltd Defect inspection system and defect inspection method

Similar Documents

Publication Publication Date Title
JPS617406A (en) Object shape defect detection method
JPH10304384A (en) Motion vector detecting device/method
JP2882227B2 (en) Pixel defect correction device
JPH1097439A (en) Digital signal error detector and detection method
JP2947994B2 (en) Binary filter device
JP2962290B2 (en) Automatic monitoring device in tunnel
JP2727797B2 (en) Solid-state imaging device inspection device
JPS62154076A (en) Image processing method
JPH03206771A (en) Peak hold circuit
JP2759963B2 (en) Lead bending detection method
JP2753732B2 (en) Inspection equipment for printed wiring boards
JP2765339B2 (en) Through hole inspection equipment
SU1462360A1 (en) Device for processing image signals
JPS63221487A (en) Threshold level detector
JPH03270580A (en) Infrared ray image pickup device
JPS6064588A (en) Position detector
JPH08327541A (en) Road freeze detector
JP2566954Y2 (en) Camera shake detection circuit
JPS61881A (en) Method and device for picture inspection
JPH04107089A (en) Video abnormality detecting device
JPH08101138A (en) Appearance inspection device and inspection method thereof
JPS59120963A (en) Waveform processing device
JPS62123583A (en) How to extract line segments in images
JPS6149277A (en) Picture processing device
JPH08181858A (en) Image processing device