JPS6312311B2 - - Google Patents
Info
- Publication number
- JPS6312311B2 JPS6312311B2 JP54061439A JP6143979A JPS6312311B2 JP S6312311 B2 JPS6312311 B2 JP S6312311B2 JP 54061439 A JP54061439 A JP 54061439A JP 6143979 A JP6143979 A JP 6143979A JP S6312311 B2 JPS6312311 B2 JP S6312311B2
- Authority
- JP
- Japan
- Prior art keywords
- distribution
- pattern
- signal
- scanning line
- axis direction
- 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
Links
- 238000009826 distribution Methods 0.000 claims description 45
- 230000007547 defect Effects 0.000 claims description 14
- 238000000034 method Methods 0.000 claims description 11
- 238000003384 imaging method Methods 0.000 claims description 10
- 238000007689 inspection Methods 0.000 claims description 6
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 230000002950 deficient Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
Description
【発明の詳細な説明】
本発明はパターンの自動検査におけるパターン
検査方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pattern inspection method for automatic pattern inspection.
従来より第1図aに示す2次元映像を第1図b
に示すように水平(X軸)方向に射影した分布、
及び第1図cに示すように垂直(Y軸)方向に射
影した分布(以下、周辺分布と呼ぶ)より、パタ
ーンの特徴を抽出する方式がある。しかし、第1
図aに示すように1の画面に複数のパターン10
1,102,103,104が存在すると、第1
図b、及びcに示す如く周辺分布からは個々のパ
ターンの特徴を抽出することが困難である。 Conventionally, the two-dimensional image shown in Fig. 1a is changed to Fig. 1b.
The distribution projected in the horizontal (X-axis) direction as shown in
As shown in FIG. 1c, there is a method of extracting pattern features from a distribution projected in the vertical (Y-axis) direction (hereinafter referred to as marginal distribution). However, the first
As shown in figure a, multiple patterns 10 are displayed on one screen.
1,102,103,104 exists, the first
As shown in Figures b and c, it is difficult to extract the features of individual patterns from the peripheral distribution.
本発明の目的は上記した従来技術の欠点をなく
し、簡単な構成により周辺分布から個々のパター
ンの特徴を抽出できるようにしたパターン検査方
式を提供するにある。 SUMMARY OF THE INVENTION An object of the present invention is to eliminate the drawbacks of the prior art described above and to provide a pattern inspection method that is capable of extracting features of individual patterns from peripheral distributions with a simple configuration.
即ち、本発明は上記目的を達成するために、任
意の位置に欠陥パターンが発生する被検査物体上
を2次元方向に走査して撮像する撮像装置と、該
撮像装置により2次元方向に走査して得られる映
像信号を2値絵素化する2値化回路と、該2値化
回路から得られる走査線毎の2値絵素化信号を同
じX線絵素座標についてY軸方向に走査するに従
つて順次計数していつて、一走査線の全絵素数に
ついて所定のビツト数で記憶できるように構成さ
れた記憶手段に記憶させて欠陥パターンのX軸方
向の分布を形成する分布形成手段と、上記2値化
回路から得られる2値絵素化信号の欠陥パターン
のレベルがX軸方向の一走査線に亘つてみて存在
したか否かを順次走査線毎に判定して存在した信
号を出力するX方向2値化信号判定手段と、該X
方向2値化信号判定手段からの存在した信号が走
査線毎に連続して検出された状態から検出されな
くなつた終了走査線を判定するY軸連続性判定手
段と、該Y軸連続性判定手段で終了走査線と判定
される毎に、上記分布形成手段の記憶手段に記憶
されたX軸方向の欠陥パターン信号の分布を読出
すと共に上記分布形成手段の記憶手段をクリアー
し、読出された欠陥パターン信号の分布がX軸方
向に連続している毎に分離して出力する分離手段
と、該分離手段により分離して得られる欠陥パタ
ーン信号の分布毎に欠陥パターンの特徴を抽出
し、基準値と比較して欠陥パターンを判定するパ
ターン判定手段とを備えたことを特徴とするパタ
ーン検査方式である。 That is, in order to achieve the above object, the present invention provides an imaging device that scans and images an object to be inspected in a two-dimensional direction in which a defect pattern occurs at an arbitrary position; a binarization circuit that converts the video signal obtained by the binarization circuit into a binary pixel; and a binary pixel conversion signal for each scanning line obtained from the binarization circuit, which scans the same X-ray pixel coordinate in the Y-axis direction. distribution forming means for forming a distribution of defect patterns in the X-axis direction by sequentially counting the number of pixels according to the number of pixels and storing the result in a storage means configured to store a predetermined number of bits for the total number of picture elements of one scanning line; , the level of the defective pattern of the binary pixel signal obtained from the binarization circuit is sequentially determined for each scanning line over one scanning line in the X-axis direction, and the signal that is present is determined. X-direction binary signal determination means to output;
Y-axis continuity determining means for determining an end scanning line where the existing signal from the direction binarized signal determining means is no longer detected from a state in which the existing signal is continuously detected for each scanning line; and the Y-axis continuity determining means. Each time the means determines that the scanning line is the end, the distribution of the defect pattern signal in the X-axis direction stored in the storage means of the distribution forming means is read out, and the storage means of the distribution forming means is cleared and read out. A separating means separates and outputs the defect pattern signal every time the distribution of the defect pattern signal is continuous in the X-axis direction, and a feature of the defect pattern is extracted for each distribution of the defect pattern signal separated and obtained by the separating means, and a standard is obtained. This is a pattern inspection method characterized by comprising a pattern determination means for determining a defective pattern by comparing the pattern with a value.
以下本発明の具体例の全体構成を第2図に示
す。第2図において、4は撮像装置であり、5は
4からの映像信号を2値化すると共にグロツクパ
ルスでサンプリングして絵素化する2値化回路で
あり、6は2値絵素化信号よりX方向の分布(以
下周辺分布と呼ぶ)を作成するX分布作成回路
(特徴分布形成手段)、7は2値絵素化信号の一方
のレベルがX軸方向に亘つてみてあるか否かを検
知してある場合にはそれを加算していくY方向加
算回路である。8は4より得られる撮像装置の走
査クロツクより、走査方向の座標を発生する座標
発生回路であり、9は4の水平同期信号である。
10はY軸方向にパターンが発生し、消滅したこ
とを判定するY連続性判定回路(Y軸連続性判定
手段)であり、Y軸方向においてパターンが終了
すると7を初期状態にすると同時に6のX分布を
読み出すX分布読み出し回路11に起動をかけ
る。12は6のX分布よりパターンの特徴を算出
し、個々のパターンの判定を行なうパターン判定
回路(パターン判定手段)である。 The overall configuration of a specific example of the present invention is shown in FIG. 2 below. In Fig. 2, 4 is an imaging device, 5 is a binarization circuit that binarizes the video signal from 4 and samples it with a clock pulse to convert it into picture elements, and 6 is a binary picture element signal. An X distribution creation circuit (feature distribution formation means) that creates a distribution in the X direction (hereinafter referred to as marginal distribution), 7 determines whether one level of the binary pixelated signal extends across the X axis direction. This is a Y-direction addition circuit that adds up the detected values if any. Reference numeral 8 denotes a coordinate generation circuit that generates coordinates in the scanning direction from the scanning clock of the imaging device obtained from 4, and 9 is a horizontal synchronization signal of 4.
10 is a Y-continuity determination circuit (Y-axis continuity determination means) that determines whether a pattern has occurred or disappeared in the Y-axis direction, and when the pattern ends in the Y-axis direction, 7 is set to the initial state, and at the same time, 6 is set to the initial state. The X distribution readout circuit 11 for reading out the X distribution is activated. Reference numeral 12 denotes a pattern judgment circuit (pattern judgment means) which calculates the characteristics of the pattern from the X distribution of 6 and judges each pattern.
第3図に周辺分布作成回路の具体的構成を示
す。第3図において、13はX分布が作成される
メモリでありメモリ容量は撮像装置のX方向の絵
素数Xnビツト(n:走査線の本数分あれば十分)
であり、14は13のメモリへの書込、読出アド
レスを水平同期信号を基準にクロツクパルスを計
数した座標発生回路8の出力より決定するアドレ
ス選択回路あり、15は加算回路である。このよ
うにすると13のメモリは走査線上の座標位置に
従う同じアドレスに2値化信号5の値“0”、
“1”が加算されていく。16は水平同期信号
(Hsync)にもとづいて1つの走査線上で2値化
信号が“1”になつたか否かを判定するX方向2
値化信号判定回路であり、16の出力はY方向の
メモリ17の値と加算回路18により、一走査終
了ごとに加算されていく。10はこのようにして
求まる値が増加しなくなる、すなわち、Y軸方向
にパターンが存在し、その後消滅するのを判定す
るY連続性判定回路であり、9の水平同期信号が
出力されるごとに判定を行なう。10によりパタ
ーンが終了したことが判定されると、10の出力
は17のメモリに記憶されたYの座標数(走査線
本数)をクリアをし、さらに13のX分布を読み
出す。11がX分布読出回路であり、X分布を読
み出すと同時に読み出した13のメモリをクリア
していく。第4図は11により読み出されたX分
布の内容より、パターンの判定を行なうパターン
判定回路を示し、21は13より読み出されるX
分布の各メモリの内容である。 FIG. 3 shows the specific configuration of the marginal distribution creation circuit. In Fig. 3, 13 is a memory in which the X distribution is created, and the memory capacity is the number of picture elements in the X direction of the imaging device, Xn bits (n: the number of scanning lines is sufficient).
14 is an address selection circuit which determines the write/read address for the memory 13 from the output of the coordinate generation circuit 8 which counts clock pulses based on the horizontal synchronizing signal, and 15 is an adder circuit. In this way, the memory No. 13 stores the value "0" of the binary signal 5 at the same address according to the coordinate position on the scanning line.
“1” is added. 16 is an X direction 2 that determines whether or not the binarized signal has become "1" on one scanning line based on the horizontal synchronization signal (Hsync).
This is a digitized signal determination circuit, and the output of 16 is added to the value of the memory 17 in the Y direction by the addition circuit 18 every time one scan is completed. 10 is a Y continuity judgment circuit that judges whether the value obtained in this way stops increasing, that is, a pattern exists in the Y-axis direction and then disappears, and every time the horizontal synchronization signal 9 is output. Make a judgment. When it is determined by 10 that the pattern is completed, the output of 10 clears the number of Y coordinates (number of scanning lines) stored in the memory 17, and further reads out the X distribution of 13. Reference numeral 11 denotes an X distribution reading circuit, which reads out the X distribution and at the same time clears the read memory 13. FIG. 4 shows a pattern determination circuit that determines the pattern based on the contents of the X distribution read out by 11;
The contents of each memory in the distribution.
以下、21より個々のパターンの面積を求め、
パターンの判定をするとして第4図を説明する。
22は加算回路であり、21を入力とし、21の
内容を逐次加算し、記憶していき、21が“0”
になる(すなわち、X分布においてパターンの射
影がなくなる)と23のゲート回路により24の
面積判定回路へ22の内容は出力されると同時に
クリアされる。なお、加算回路22とゲート回路
23とにより分離記憶手段を構成する。24の面
積判定回路(比較手段)は入力された22の内容
を基準値と比較し、パターンの判定出力25を検
出する。第1図を例として、以上述べた具体例に
おける本発明の動作を説明する。第1図におい
て、Y軸方向のパターンが終了するのはl1,l2,
l3の3つの走査線においてであり、第5図a、第
6図a、第7図aに示すパターンに分離される。
l1,l2,l3でのX分布を第5図b、第6図b、第
7図cに示す。このように第5図、第6図、第7
図からも明らかなように本発明の方式によれば、
各X分布より各パターンの面積S101,S102,S103,
S104を容易に求めることができる。 Below, calculate the area of each pattern from 21,
FIG. 4 will be described with reference to pattern determination.
22 is an adder circuit which takes 21 as an input, sequentially adds and stores the contents of 21, and 21 becomes "0".
(that is, the projection of the pattern disappears in the X distribution), the gate circuit 23 outputs the contents of 22 to the area determination circuit 24, and at the same time, the contents of 22 are cleared. Note that the adder circuit 22 and the gate circuit 23 constitute separate storage means. The area determination circuit (comparison means) 24 compares the input contents 22 with a reference value and detects a pattern determination output 25. The operation of the present invention in the specific example described above will be explained using FIG. 1 as an example. In Figure 1, the pattern in the Y-axis direction ends at l 1 , l 2 ,
13 , and is separated into patterns shown in FIG. 5a, FIG. 6a, and FIG. 7a.
The X distributions at l 1 , l 2 , and l 3 are shown in Figures 5b, 6b, and 7c. In this way, Figures 5, 6, and 7
As is clear from the figure, according to the method of the present invention,
From each X distribution, the area of each pattern S 101 , S 102 , S 103 ,
S 104 can be easily determined.
なお、前記実施例で撮像装置4としては様々な
形態なものが存在する。即ち撮像装置が微小なる
絵素領域の光像をとらえパターンと撮像装置とが
相対的に2軸方向(X軸、Y軸)に一定なる速度
で走査移動して2次元映像信号を得るもの、また
撮像装置として一軸方向に走査機能を有するリニ
アイメージセンサを用い、パターンの他の軸方向
に移動走査させて2次元映像信号を得るもの、ま
た撮像装置として自己走査機能を有するTVカメ
ラで構成して2次元映像信号を得るもの等があ
る。 Note that there are various forms of the imaging device 4 in the above embodiments. That is, an image pickup device captures a light image of a minute pixel area, and the pattern and the image pickup device scan relative to each other at a constant speed in two axial directions (X-axis, Y-axis) to obtain a two-dimensional video signal; In addition, a linear image sensor with a scanning function in one axis direction is used as an imaging device, and a two-dimensional image signal is obtained by scanning the pattern in the other axis direction, and a TV camera with a self-scanning function is used as an imaging device. There are some methods that obtain a two-dimensional video signal using the same method.
以上説明したように本発明によれば従来よりパ
ターンの特徴抽出に用いられている周辺分布法の
一方の分布をパターンの終了判定に用い、パター
ン終了ごとにもう一方の分布を参照し、パターン
の特徴抽出に用いるもので、従来の周辺分布法で
問題であつた一画面内に存在する複数個の欠陥パ
ターンの特徴を簡単な構成によりほぼパターンご
とに抽出することができ、フエイルセーフの考え
に従つて分離されたパターンごとに合否判定を行
うことができる効果を奏する。 As explained above, according to the present invention, one distribution of the marginal distribution method conventionally used for pattern feature extraction is used to determine the end of a pattern, and the other distribution is referred to each time the pattern ends, and the pattern is This is used for feature extraction, and can extract the features of multiple defect patterns that exist in one screen with a simple configuration, which was a problem with the conventional marginal distribution method, almost for each pattern, and it follows the concept of fail-safe. This has the effect that pass/fail judgment can be made for each separated pattern.
第1図は2次元平面上のパターンの例とその周
辺分布を示した図、第2図〜第4図は本発明の具
体例、第5図〜第7図は本発明の動作例、第2図
は本発明のパターン検査方式の一実施例を示す概
略構成図、第3図は第2図に示すX分布作成回路
及びY方向加算回路を具体的に示した構成図、第
4図は第2図に示すパターン判定回路を具体的に
示した構成図、第5図乃至第7図の各aは分離さ
れたパターンを示し、第5図乃至第7図の各bは
そのX分布を示した図である。
符号の説明、4……撮像装置、5……2値化回
路、6……X分布作成回路、7……Y方向加算回
路、10……Y連続性判定回路、11……X分布
読み出し回路、12……パターン判定回路。
FIG. 1 is a diagram showing an example of a pattern on a two-dimensional plane and its peripheral distribution, FIGS. 2 to 4 are specific examples of the present invention, and FIGS. 5 to 7 are examples of the operation of the present invention. FIG. 2 is a schematic block diagram showing an embodiment of the pattern inspection method of the present invention, FIG. 3 is a block diagram specifically showing the X distribution creation circuit and Y direction addition circuit shown in FIG. 2, and FIG. In the block diagram specifically showing the pattern determination circuit shown in FIG. 2, each a in FIGS. 5 to 7 indicates a separated pattern, and each b in FIGS. 5 to 7 indicates its X distribution. FIG. Explanation of symbols, 4...Imaging device, 5...Binarization circuit, 6...X distribution creation circuit, 7...Y direction addition circuit, 10...Y continuity determination circuit, 11...X distribution readout circuit , 12... Pattern determination circuit.
Claims (1)
物体上を2次元方向に走査して撮像する撮像装置
と、該撮像装置により2次元方向に走査して得ら
れる映像信号を2値絵素化する2値化回路と、該
2値化回路から得られる走査線毎の2値絵素化信
号を同じX線絵素座標についてY軸方向に走査す
るに従つて順次計数していつて、一走査線の全絵
素数について所定のビツト数で記憶できるように
構成された記憶手段に記憶させて欠陥パターンの
X軸方向の分布を形成する分布形成手段と、上記
2値化回路から得られる2値絵素化信号の欠陥パ
ターンのレベルがX軸方向の一走査線に亘つてみ
て存在したか否かを順次走査線毎に判定して存在
した信号を出力するX方向2値化信号判定手段
と、該X方向2値化信号判定手段からの存在した
信号が走査線毎に連続して検出された状態から検
出されなくなつた終了走査線を判定するY軸連続
性判定手段と、該Y軸連続性判定手段で終了走査
線と判定される毎に、上記分布形成手段の記憶手
段に記憶されたX軸方向の欠陥パターン信号の分
布を読出すと共に上記分布形成手段の記憶手段を
クリアーし、読出された欠陥パターン信号の分布
がX軸方向に連続している毎に分離して出力する
分離手段と、該分離手段により分離して得られる
欠陥パターン信号の分布毎に欠陥パターンの特徴
を抽出し、基準値と比較して欠陥パターンを判定
するパターン判定手段とを備えたことを特徴とす
るパターン検査方式。1. An imaging device that scans and images an object to be inspected where a defect pattern occurs at an arbitrary position in two-dimensional directions, and converts the image signal obtained by scanning in two-dimensional directions with the imaging device into binary picture elements. A binarization circuit and a binary pixel conversion signal obtained from the binarization circuit for each scanning line are sequentially counted as the same X-ray pixel coordinates are scanned in the Y-axis direction. distribution forming means for forming a distribution of the defect pattern in the X-axis direction by storing it in a storage means configured to store a predetermined number of bits for the total number of picture elements; and a binary picture obtained from the binarization circuit. X-direction binarized signal determining means for sequentially determining for each scanning line whether or not the level of the defect pattern of the pixelization signal exists over one scanning line in the X-axis direction, and outputting a signal that exists; Y-axis continuity determining means for determining an end scanning line where the existing signal from the X-direction binarized signal determining means is no longer detected from a state in which the existing signal is continuously detected for each scanning line; Each time the scanning line is determined to be an end scanning line by the gender determination means, the distribution of defect pattern signals in the X-axis direction stored in the storage means of the distribution formation means is read out, and the storage means of the distribution formation means is cleared and read out. a separating means for separating and outputting the defect pattern signal distribution each time the defect pattern signal distribution is continuous in the X-axis direction; 1. A pattern inspection method, comprising: pattern determination means for determining a defective pattern by comparing it with a reference value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6143979A JPS55154654A (en) | 1979-05-21 | 1979-05-21 | Pattern inspection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6143979A JPS55154654A (en) | 1979-05-21 | 1979-05-21 | Pattern inspection system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS55154654A JPS55154654A (en) | 1980-12-02 |
| JPS6312311B2 true JPS6312311B2 (en) | 1988-03-18 |
Family
ID=13171094
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6143979A Granted JPS55154654A (en) | 1979-05-21 | 1979-05-21 | Pattern inspection system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS55154654A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5835677A (en) * | 1981-08-26 | 1983-03-02 | Stanley Electric Co Ltd | Pattern information processing method |
| JPS5862766A (en) * | 1981-10-12 | 1983-04-14 | Matsushita Electric Ind Co Ltd | projection calculation device |
-
1979
- 1979-05-21 JP JP6143979A patent/JPS55154654A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS55154654A (en) | 1980-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW479432B (en) | Picture signal processing apparatus and method for detecting pixel defect | |
| US4396903A (en) | Electro-optical system for correlating and integrating image data from frame-to-frame | |
| NL8200682A (en) | METHOD AND DEVICE FOR DETECTING DEFECTS. | |
| JP4992462B2 (en) | Imaging device, imaging apparatus, imaging system, imaging method, motion data generation system, motion data generation program, and motion data generation method | |
| US5450503A (en) | Image recognition method | |
| JPH011087A (en) | line and character separator | |
| US6995802B2 (en) | Image binarization method and binary image creation method | |
| JPH057363A (en) | Picture monitoring device | |
| JP2758180B2 (en) | Edge signal processing circuit | |
| JPH06268922A (en) | Smear correction device | |
| JP2554102B2 (en) | Slit optical detector | |
| JPH0514898A (en) | Image monitor device | |
| JPH0783474B2 (en) | Automatic tracking imaging device | |
| JPH0129643Y2 (en) | ||
| JP3020293B2 (en) | Attribute determination method | |
| JPH0334112B2 (en) | ||
| JP3574883B2 (en) | Pupil measurement device | |
| JPS633354B2 (en) | ||
| JPH043656A (en) | Picture processor | |
| JPS6116519Y2 (en) | ||
| JP2725674B2 (en) | Defect judgment device | |
| JPH07104137B2 (en) | Method of detecting the rotation angle of the target pattern | |
| JPH09257723A (en) | Surface inspection equipment | |
| JPS5994181A (en) | Pattern recognizing device | |
| JPH057813B2 (en) |