JPS6014165Y2 - Line symmetric pattern recognition device - Google Patents
Line symmetric pattern recognition deviceInfo
- Publication number
- JPS6014165Y2 JPS6014165Y2 JP5020283U JP5020283U JPS6014165Y2 JP S6014165 Y2 JPS6014165 Y2 JP S6014165Y2 JP 5020283 U JP5020283 U JP 5020283U JP 5020283 U JP5020283 U JP 5020283U JP S6014165 Y2 JPS6014165 Y2 JP S6014165Y2
- Authority
- JP
- Japan
- Prior art keywords
- line
- gradient
- pattern
- signal
- contour
- 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
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
Description
【考案の詳細な説明】
〔考案の利用分野〕
本考案は、円、だ円、三角形、方形等の線対称パターン
に存在する微小欠陥等の特徴部を認識する線対称パター
ンの認識装置に関するものである。[Detailed description of the invention] [Field of application of the invention] The present invention relates to a line-symmetric pattern recognition device that recognizes features such as minute defects that exist in line-symmetric patterns such as circles, ellipses, triangles, and squares. It is.
従来、線対称パターンの検査装置としては、パターンマ
ツチング方式と面積9周囲長によって検査する方式があ
る。Conventionally, as a line-symmetrical pattern inspection apparatus, there are a pattern matching method and a method of inspecting based on area 9 and perimeter length.
前者の方式は、第1図に示す如く、例えば対象とする円
形パターン1の良否を判定するのに正して円形パターン
3を回路内に用意しておき、これと検査対象の円形パタ
ーン1を重ね、不一致部分5を抽出し、5の大きさ等を
判定することにより検査パターン1の良否を判定する方
式と、第2図に示す如く検査パターン1とこれを任意角
回転したパターン6を重ね、不一致部分8,9を抽出し
、その大きさ等を判定することにより、検査パターン1
の良否を判定する方式が知られている。In the former method, as shown in FIG. 1, for example, a circular pattern 3 is prepared in the circuit to judge the acceptability of the circular pattern 1 to be inspected, and this and the circular pattern 1 to be inspected are There is a method in which the quality of the inspection pattern 1 is determined by overlapping the pattern 1, extracting the mismatched part 5, and determining the size of the pattern 5, etc., and a method in which the inspection pattern 1 and the pattern 6 obtained by rotating it by an arbitrary angle are overlapped as shown in FIG. , the inspection pattern 1 is extracted by extracting the mismatched parts 8 and 9 and determining their size, etc.
There is a known method for determining the quality of the product.
これらの方式は円形パターン等、単純なパターンのある
程度大きな欠陥を検出する時有効であるが、微小な欠陥
を検出しようとすると、量子化誤差に欠陥が埋もれてし
まうという欠点がある。These methods are effective when detecting fairly large defects in simple patterns such as circular patterns, but when attempting to detect minute defects, they have the disadvantage that the defects are buried in quantization errors.
ここで量子化誤差とは第3図a、 bにその例を示すよ
うに、被検査パターン10.13を論理回路で処理でき
るように、2次元メツシュ11,14で分割し、2値化
するがこの時生じる誤差である。Here, the quantization error is the result of dividing the inspected pattern 10.13 into two-dimensional meshes 11 and 14 and binarizing it so that it can be processed by a logic circuit, as shown in Figure 3a and b. is the error that occurs at this time.
第3図at bは、この現象をわかりやすくするため、
検査対象の円の半径と同じ大きさのメツシュでパターン
を2値化した場合であり、1つのメツシュ内でパターン
のしめる割合が半分以上の時“1′、半分以下の時“0
°゛となるように2値化したものである。Figure 3 at b shows this phenomenon in order to make it easier to understand.
This is a case where the pattern is binarized using a mesh with the same size as the radius of the circle to be inspected, and when the proportion of patterns in one mesh is more than half, it is "1', and when it is less than half, it is "0".
It is binarized so that ゛゛.
第3図a、 bのメツシュで量子化したパターン12.
15を比較すると明らかなように同じ大きさの円でもメ
ツシュの位置により1絵素になったり、4絵素になった
りする。Pattern 12 quantized with the mesh in Figures 3a and b.
15, it is clear that even circles of the same size can become one picture element or four picture elements depending on the mesh position.
この誤差をここでは量子化誤差と呼んでいる。This error is called a quantization error here.
即ち、第1図、第2図に示したようにパターンマツチン
グ方式ではパターン1,3.6がともに量子化誤差を有
しているため、その不一致部分をとると、輪郭4,7上
にこの誤差が不一致部分として抽出されてくる。That is, as shown in FIGS. 1 and 2, in the pattern matching method, both patterns 1 and 3.6 have quantization errors, so if we take the mismatched portions, we will see that on contours 4 and 7. This error is extracted as a mismatched portion.
また上記パターンマツチング方式では特に欠陥2が微小
な場合、この欠陥2はこの量子化誤差に埋もれてしまい
、検出することができない。Furthermore, in the pattern matching method described above, especially when the defect 2 is minute, the defect 2 is buried in the quantization error and cannot be detected.
また、後者の面積9周囲長による検査方式は上記パター
ンマツチング方式と同じく2次元メツシュで2値化した
パターンについて、値“1°゛の絵素数を求め、これを
パターンの面積S1またその輪郭部分のみを抽出し、輪
郭図形について値GG 199の絵素数を求め、これを
パターンの周囲長1としてこのS、 1が正しい値に
なっているかどうか、また円形パターンの場合、(2π
γ)2/πγ2=12/Sより、12/S=4?r(一
定)の性質を利用して12/Sを計算し、これが4?r
になっているかどうかにより、円かどうかを判定する方
式である。In addition, the latter inspection method based on area 9 and perimeter length is similar to the pattern matching method described above, in which the number of picture elements with a value of "1°" is determined for a pattern binarized with a two-dimensional mesh, and this is calculated based on the area S1 of the pattern and its contour. Extract only the part, find the number of picture elements with the value GG 199 for the contour figure, take this as the perimeter of the pattern 1, check whether S, 1 is the correct value, and in the case of a circular pattern, (2π
γ) From 2/πγ2=12/S, 12/S=4? Using the property of r (constant), calculate 12/S, which is 4? r
This method determines whether it is a yen or not based on whether it is .
この方式によっても微小な欠陥は量子化誤差にうもれて
しまい、欠陥として検出することができない欠点を有し
ている。This method also has the disadvantage that minute defects are hidden in quantization errors and cannot be detected as defects.
本考案の目的は上記した従来技術の欠点をなくし、極め
て微小な欠陥をも欠陥として検出できる線対称パターン
の認識装置を提供するにある。An object of the present invention is to eliminate the above-mentioned drawbacks of the prior art and to provide a line-symmetric pattern recognition device that can detect even extremely small defects as defects.
本考案は上記目的を遠戚するために、線対称パターンを
該線と直角方向に複数本の走査線にて走査して映像信号
を検知する撮像装置と、該撮像装置によって検知される
映像信号を2値化映像信号に変換する2値化回路と、該
2値化回路により出力される2値化映像信号を2次元的
な絵素に切出して記憶し中央の絵素に対する周囲の絵素
において傾きがあると認められたとき、線対称パターン
に輪郭があるとして2値化信号でもって抽出する輪郭抽
出手段と、該輪郭抽出手段から抽出される2値輪郭信号
の隣接する走査線において上記線対称パターンの線方向
に対する勾配があるか否かを勾配方向に応じて正負の極
性付号を付して−1゜0、+1なる勾配信号でもって抽
出する勾配抽出手段と、該勾配抽出手段によって抽出さ
れる上記勾配信号を走査線毎に加算する勾配加算手段と
該勾配加算手段から走査線毎に出力される信号が零のと
きは無視して同一極性を有して連続して検知されるとき
線対称パターンに線対称でない特徴部があると判定する
判定手段とを備えたことを特徴とする線対称パターンの
認識装置である。In order to achieve the above object, the present invention provides an imaging device that detects a video signal by scanning a line-symmetrical pattern with a plurality of scanning lines in a direction perpendicular to the line, and a video signal detected by the imaging device. a binarization circuit that converts the image into a binarized video signal, and a binarization circuit that cuts out the binarized video signal outputted by the binarization circuit into two-dimensional picture elements and stores them. When it is recognized that there is an inclination in the line-symmetrical pattern, an outline extracting means extracts the line-symmetrical pattern with a binary signal as having an outline; Gradient extracting means for extracting whether or not there is a gradient with respect to the line direction of a line-symmetric pattern using a gradient signal of -1°0, +1 with a positive or negative polarity sign depending on the gradient direction; and the gradient extracting means a gradient adding means for adding the gradient signals extracted by the gradient adding means for each scanning line; and a signal outputted from the gradient adding means for each scanning line, which is ignored when it is zero and is continuously detected with the same polarity. and determining means for determining that the line-symmetric pattern has a feature portion that is not line-symmetrical when the line-symmetric pattern recognizes the line-symmetric pattern.
以後本考案を図に示す実施例にもとづいて具体的に説明
する。Hereinafter, the present invention will be specifically explained based on embodiments shown in the drawings.
第4図は本考案の線対称パターンの検査装置の概略構成
を示した図である。FIG. 4 is a diagram showing a schematic configuration of a line-symmetric pattern inspection apparatus according to the present invention.
同図に示す如<16は線対称パターンを該線と直角方向
に走査して撮像し、走査線に沿ってシリーズの映像信号
を検知する撮像装置にして、例えばフォトダイオードア
レイ、TVカメラ等がある。As shown in the figure, <16 is an imaging device that scans and images a line-symmetrical pattern in a direction perpendicular to the line and detects a series of video signals along the scanning line, such as a photodiode array, a TV camera, etc. be.
17は制御信号発生器にして、撮像装置16に撮像され
た線対称パターンの像を走査させる走査信号18を出力
すると共に水平同期信号19を出力するものである。Reference numeral 17 denotes a control signal generator, which outputs a scanning signal 18 for scanning an image of a line-symmetric pattern captured by the imaging device 16, and also outputs a horizontal synchronizing signal 19.
20は撮像装置から検知される映像信号を所定のスレッ
ショルドレベルでスレッショルドして2値化映像信号に
変換する2値化回路である。20 is a binarization circuit that thresholds the video signal detected from the imaging device at a predetermined threshold level and converts it into a binary video signal.
21,22は1走査線及び2走査線の遅れた2値化映像
信号をつくるために1走査線のビット数を有し、−走査
線に亘って得られた2値化映像信号を記憶するシフトレ
ジスタ、23は3×3の絵素の2値化映像信号を記憶す
る3×3の記憶素子23a〜23fから形成されたシフ
トレジスタである。21 and 22 have the number of bits of one scanning line to create delayed binary video signals of one scanning line and two scanning lines, and - store the binary video signals obtained over the scanning lines. A shift register 23 is a shift register formed of 3×3 storage elements 23a to 23f that store binary video signals of 3×3 picture elements.
25は輪郭抽出回路にして、記憶素子23b、23d、
23f、23hの論理積否定をとり、更にこの論理積否
定の結果と記憶素子23eとの論理積をとり、線対称パ
ターンの輪郭を抽出する回路である。25 is a contour extraction circuit, and memory elements 23b, 23d,
This circuit performs the logical product negation of 23f and 23h, and further performs the logical product of the result of this logical product negation and the storage element 23e to extract the outline of a line-symmetric pattern.
26は1走査線のビット数を有し、−走査線に亘って得
られる輪郭信号を記憶するシフトレジスタである。26 is a shift register having the number of bits of one scanning line and storing the contour signal obtained over the -scanning line.
28は2×3の絵素の輪郭信号を記憶する2×3の記憶
素子23a〜23fから形成されたシフトレジスタであ
る。Reference numeral 28 denotes a shift register formed of 2×3 storage elements 23a to 23f for storing contour signals of 2×3 picture elements.
30は勾配抽出回路にして、記憶素子28dに記憶され
た値が°“1°゛で記憶素子28e及び28fに記憶さ
れた値が°“0″のとき、記憶素子28bに°“1′が
記憶されている場合に+1なる勾配値信号を抽出し、記
憶素子28fに記憶された値が“1゛で記憶素子28d
及び28eに記憶された値が“0゛。Reference numeral 30 denotes a gradient extracting circuit, and when the value stored in the storage element 28d is ``1'' and the values stored in the storage elements 28e and 28f are ``0'', ``1'' is stored in the storage element 28b. If stored, a slope value signal of +1 is extracted, and when the value stored in the storage element 28f is "1", the slope value signal is extracted from the storage element 28d.
and the value stored in 28e is "0".
のとき記憶素子28bに“1′°が記憶されている場合
に−1なる勾配値信号を抽出し、他の場合には勾配無し
ということで零なる勾配値信号を抽出するものである。When "1'° is stored in the storage element 28b, a slope value signal of -1 is extracted, and in other cases, a slope value signal of zero is extracted because there is no slope.
31は勾配加算回路にして、勾配抽出回路30から出力
される勾配値を一走査線毎に加算し、その結果を出力す
る回路である。Reference numeral 31 denotes a gradient addition circuit which adds the gradient values output from the gradient extraction circuit 30 for each scanning line and outputs the result.
32は判定回路にして、勾配抽出回路30から出力され
る信号が零以外で同じ信号が続けて出力されるとき、線
対称パターンに欠陥が存在すると判定する回路である。Reference numeral 32 denotes a determination circuit which determines that a defect exists in the line-symmetric pattern when the signal output from the gradient extraction circuit 30 is not zero and the same signal is continuously output.
第5図は第4図に示す撮像装置がフォトダイオードアレ
イの場合に線対称パターンを走査して撮像する装置の具
体的実施例を示した図である。FIG. 5 is a diagram showing a specific embodiment of an apparatus for scanning and imaging a line-symmetric pattern when the imaging device shown in FIG. 4 is a photodiode array.
この図に示す如く、34は第4図17〜32で示される
電気回路部、35は顕微鏡にして、上端にフォトダイオ
ードアレイ33と下端に対物レンズ37を備えている。As shown in this figure, numeral 34 is an electric circuit section shown in FIGS. 17 to 32, and 35 is a microscope, which is equipped with a photodiode array 33 at the upper end and an objective lens 37 at the lower end.
36は照明装置、38はテーブル、39は線対称パター
ンが描かれた被検査物体、40はテーブル38の送りね
じ、ナツト部分、41はテーブル38を一定速度で駆動
させるためのモータである。36 is an illumination device, 38 is a table, 39 is an object to be inspected on which a line-symmetrical pattern is drawn, 40 is a feed screw and nut portion of the table 38, and 41 is a motor for driving the table 38 at a constant speed.
従って照明装置36によって照射された被検査物体39
上の線対称パターンは、対物レンズ37により、フォト
ダイオードアレイ33の受光面上に実像として投影され
る。Therefore, the object to be inspected 39 illuminated by the illumination device 36
The above line-symmetrical pattern is projected by the objective lens 37 onto the light receiving surface of the photodiode array 33 as a real image.
而してテーブル38をモータ41により一定速度で移動
させるとフォトダイオードアレイ33上に投影された線
対称パターンの像も、一定速度で移動する。When the table 38 is moved at a constant speed by the motor 41, the image of the line-symmetric pattern projected onto the photodiode array 33 also moves at a constant speed.
そのため、フォトダイオードアレイ33は、上記線対称
パターンを順次光電変換素子の配列方向に電気的に走査
しながら、この配列方向と直角方向に移行して幾本かの
走査線の映像信号を検知する。Therefore, the photodiode array 33 electrically scans the line-symmetrical pattern sequentially in the direction in which the photoelectric conversion elements are arranged, and moves in a direction perpendicular to this arrangement direction to detect video signals of several scanning lines. .
ここでフォトダイオードアレイ33とは直線上に数十か
ら数十個の光電変換素子を有し、各素子からの光電荷を
順次とり出してくることにより、−直線上の明暗画像を
電気信号に変換するものである。Here, the photodiode array 33 has dozens to dozens of photoelectric conversion elements arranged on a straight line, and by sequentially extracting photocharges from each element, a bright and dark image on the straight line is converted into an electric signal. It is something that converts.
上記の如くフォトダイオードアレイ33等で構成された
撮像装置は、線対称パターンの該線の直角方向に走査し
て、走査線毎に映像信号を検知する。The imaging device configured with the photodiode array 33 and the like as described above scans in a direction perpendicular to the line of a line-symmetrical pattern and detects a video signal for each scanning line.
この映像信号は2値化回路20により2値化映像信号に
変換される。This video signal is converted into a binary video signal by the binarization circuit 20.
モして2値化回路20からの2値化映像信号とシフトレ
ジスタ21、及び22により走査しようとする走査線よ
り1及び2走査線分だけ前の2つの2値化映像信号がシ
フトレジスタ23の各行に入力される。The binarized video signal from the binarization circuit 20 and the shift registers 21 and 22 transfer the two binarized video signals 1 and 2 scanning lines before the scanning line to be scanned to the shift register 23. is entered on each line.
このとき線対称パターンの輪部が絵素23eに位置すれ
ば記憶素子23eには°“1゛′なる信号が記憶される
。At this time, if the ring of the line-symmetrical pattern is located at the picture element 23e, a signal of "1" is stored in the storage element 23e.
なお線対称パターンは周囲に比べて明るいものとし、線
対称パターンからは“1′°なる2値化映像信号が検知
されるものとする。It is assumed that the line-symmetrical pattern is brighter than its surroundings, and that a binary video signal of "1'° is detected from the line-symmetrical pattern.
次に輪郭抽出回路25は上記シフトレジスタ23の各記
憶素子23a〜23iに記憶された2値化映像信号24
a〜24iを読み出し、記憶素子23eに“1′なる信
号が記憶され、且記憶素子24b、24d、24f、2
4hのいずれかに0°′の信号が記憶されている(24
bX24dX24fX24h=0)とき記憶素子23e
の絵素に線対称パターンの輪郭が存在するものとしてl
゛なる信号を出力し、他のときは全て“0゛の信号を出
力する。Next, the contour extraction circuit 25 extracts the binary video signal 24 stored in each of the storage elements 23a to 23i of the shift register 23.
a to 24i are read, a signal “1” is stored in the memory element 23e, and the memory elements 24b, 24d, 24f, 2
A signal of 0°' is stored in one of 4h (24
bX24dX24fX24h=0), memory element 23e
Assuming that there is an outline of a line-symmetric pattern in the picture element l
It outputs a signal of "0", and at all other times it outputs a signal of "0".
このようにして輪郭抽出回路27から輪郭信号が抽出さ
れる。In this manner, a contour signal is extracted from the contour extraction circuit 27.
すでにシフトレジスタ26には、走査しようとする走査
線より1走査線前に輪郭抽出回路25から出力された輪
郭信号が記憶される。The shift register 26 has already stored the contour signal output from the contour extraction circuit 25 one scan line before the scan line to be scanned.
而してシフトレジスタ28の第1行目の記憶素子28a
、28b、28cには、輪郭抽出回路25より出力され
る各絵素の輪郭信号が記憶され、シフトレジスタ28の
第2行目の記憶素子28 dv 28 e、28fには
、シフトレジスタ26から出力される1走査線前の輪郭
信号が記憶される。Therefore, the memory element 28a in the first row of the shift register 28
, 28b, 28c store the contour signal of each picture element output from the contour extraction circuit 25, and the second row memory elements 28 dv 28e, 28f of the shift register 28 store the contour signal output from the shift register 26. The contour signal of the previous scanning line is stored.
この輪郭信号29a〜29fは勾配抽出回路30に読み
込まれ、勾配抽出回路30は第6図aに示した状態のと
き、即ち記憶素子28dに1゛、記憶素子28e、及び
28fに“0゛信号が記憶され、且記憶素子28bに°
゛1なる信号が記憶されているとき、正方向の勾配があ
るものとして+1なる勾配値を出力し、第6図すに示し
た状態のとき、即ち記憶素子28fに°“1゛′、記憶
素子28d及び28eに゛0゛信号が記憶され、且記憶
素子28bに“1°゛なる信号が記憶されているとき、
負方向の勾配があるものとして−1なる勾配値を出力し
、他の状態とき、勾配がないものとして零なる勾配値を
出力する。These contour signals 29a to 29f are read into the gradient extraction circuit 30, and the gradient extraction circuit 30 is in the state shown in FIG. is stored in the memory element 28b, and
When the signal ``1'' is stored, a slope value of +1 is output assuming that there is a positive gradient, and when the state shown in FIG. When the "0" signal is stored in the elements 28d and 28e, and the "1°" signal is stored in the storage element 28b,
A gradient value of -1 is output assuming that there is a gradient in the negative direction, and a gradient value of zero is output in other states, assuming that there is no gradient.
次に勾配加算回路31は上記勾配抽出回路30から出力
される勾配値を走査線毎に加算し、その結果を出力する
。Next, the gradient addition circuit 31 adds the gradient values output from the gradient extraction circuit 30 for each scanning line, and outputs the result.
判定回路32はこの加算された勾配値が零のとき無視し
て、+1の勾配値もしくは−1の勾配値が交互に出現せ
ず、連続して出現したとき線対称パターンに欠陥がある
と判定する。The determination circuit 32 ignores when the added gradient value is zero, and determines that there is a defect in the line-symmetric pattern when +1 gradient values or -1 gradient values do not appear alternately but appear consecutively. do.
以上の処理を第7図aに示す如、線対称パターンである
円形パターンに直線上の欠陥がある場合について具体的
に説明する。The above process will be specifically explained for the case where there is a linear defect in a circular pattern which is a line-symmetrical pattern, as shown in FIG. 7a.
即ち撮像装置16によって上記パターンを走査しながら
撮像しシリーズの映像信号を検知する。That is, the imaging device 16 images the pattern while scanning it, and detects a series of video signals.
次にこの映像信号は2値化回路20により2値化映像信
号に変換されてシフトレジスタ23を介してシフトレジ
スタ23に印加され、シフトレジスタ23には、3×3
の絵素からなる2値化映像信号が記憶される。Next, this video signal is converted into a binarized video signal by the binarization circuit 20 and applied to the shift register 23 via the shift register 23.
A binarized video signal consisting of picture elements is stored.
これらの2値化映像信号は輪郭抽出回路25によって走
査線42にそって輪郭43が抽出され第7図すに示す如
く形成される。From these binary video signals, a contour 43 is extracted along a scanning line 42 by a contour extraction circuit 25, and is formed as shown in FIG.
次にシフトレジスタ28にこの輪郭の絵素が記憶され、
輪郭が走査線42と直角方向に対して時計の回転方向に
傾斜しているときには第7図eに示す如く白点である+
1の勾配値が勾配抽出回路30から出力され、輪郭が走
査線42と直角方向に対し反時計方向に傾斜していると
きには第7図Cに示す如く黒点である−1の勾配値が勾
配抽出回路30から出力され、傾斜、即ち勾配がないと
きには無印である零なる勾配値が勾配抽出回路30から
出力される。Next, the picture elements of this outline are stored in the shift register 28,
When the contour is inclined in the direction of rotation of the clock with respect to the direction perpendicular to the scanning line 42, it is a white point as shown in FIG. 7e.
A gradient value of 1 is output from the gradient extraction circuit 30, and when the contour is inclined counterclockwise with respect to a direction perpendicular to the scanning line 42, a gradient value of -1, which is a black dot, is extracted as a gradient as shown in FIG. 7C. A gradient value of zero, which is unmarked when there is no gradient, is output from the gradient extraction circuit 30.
この勾配値は勾配加算回路31によって走査線42毎に
加算され、その結果が第7図dに示すように+1のとき
白点、−iのとぎ黒点、零のとき無印にて示される。This gradient value is added for each scanning line 42 by the gradient adding circuit 31, and the result is shown as a white dot when it is +1, a black dot when it is -i, and an unmarked mark when it is zero, as shown in FIG. 7d.
第7図a、 b、 C,dから明らかなように線対称パ
ターンが左右対称のときには一走査線の勾配値の和は零
となる。As is clear from FIGS. 7a, b, c, and d, when the line-symmetric pattern is bilaterally symmetrical, the sum of the gradient values of one scanning line becomes zero.
また、量子化誤差により輪郭が1ビツトずれたとしても
、その隣接部分のビットで補正されるため、必ず勾配値
の和は第7図dに示す如く+1と−1とが交互に出現す
る。Furthermore, even if the contour is shifted by one bit due to a quantization error, it is corrected by the bits of the adjacent portion, so that the sum of the gradient values always appears alternately as +1 and -1 as shown in FIG. 7d.
しかし線対称パターンに欠陥が存在すると、第7図dに
示す如く、勾配値の和は+1、もしくは−1で連続する
。However, if a defect exists in the line-symmetrical pattern, the sum of the gradient values will continue to be +1 or -1, as shown in FIG. 7d.
即ち第7図eに示す如くこの連続部分を検知することに
より線対称パターンの欠陥部分は検知される。That is, as shown in FIG. 7e, by detecting this continuous portion, the defective portion of the axisymmetric pattern can be detected.
以上説明したように本考案によれば、従来の如く2次元
パターンの全てをメモリに記憶させてパターンマツチン
グにより比較検査する方式に比較して線対称パターンに
ついて簡単な装置構成により微小欠陥等を高速、高感度
でもって認識できる効果を奏する。As explained above, according to the present invention, compared to the conventional method in which all two-dimensional patterns are stored in a memory and comparatively inspected by pattern matching, minute defects etc. can be detected for line-symmetric patterns using a simpler device configuration. It has the effect of being able to be recognized at high speed and with high sensitivity.
第1図は従来の対称パターンの検査装置のパターンマツ
チング方式を説明するための図、第2図は従来の対称パ
ターン検査装置の90°回転パターンマツチング方式を
説明するための図、第3図は量子化誤差を説明するため
の図、第4図は本考案の対称パターン検査装置の一実施
例を示すためのブロック図、第5図は第4図に示す撮像
装置の一例を示した図、第6図a、 bは第4図に示す
勾配抽出回路の動作を説明するために示した図、第7図
a、 b! c、 at eは、線対称パターンとして
円形パターンの場合について各々輪郭抽出回路、勾配抽
出回路、勾配加算回路、判定回路から出力される信号を
パターンにて示した図である。
16・・・・・・撮像装置、20・・・・・・2値化回
路、23・・・・・・シフトレジスタ、25・・・・・
・輪郭抽出回路、2訃・・・・・シフトレジスタ、30
・・・・・・勾配抽出回路、31・・・・・・勾配加算
回路、32・・・・・・判定回路。FIG. 1 is a diagram for explaining a pattern matching method of a conventional symmetrical pattern inspection device, FIG. 2 is a diagram for explaining a 90° rotation pattern matching method of a conventional symmetrical pattern inspection device, and FIG. The figure is a diagram for explaining quantization error, FIG. 4 is a block diagram showing an embodiment of the symmetrical pattern inspection device of the present invention, and FIG. 5 is an example of the imaging device shown in FIG. 4. Figures 6a and b are diagrams shown to explain the operation of the gradient extraction circuit shown in Figure 4, and Figures 7a and b! FIGS. 3C and 3E are diagrams illustrating signals output from the contour extraction circuit, gradient extraction circuit, gradient addition circuit, and determination circuit, respectively, in the form of patterns in the case of a circular pattern as a line-symmetric pattern. 16... Imaging device, 20... Binarization circuit, 23... Shift register, 25...
・Contour extraction circuit, 2...Shift register, 30
... Gradient extraction circuit, 31 ... Gradient addition circuit, 32 ... Judgment circuit.
Claims (1)
走査して映像信号を検知する撮像装置と、該撮像装置に
よって検知される映像信号を2値化映像信号に変換する
2値化回路と、該2値化回路により出力される2値化映
像信号を2次元的な絵素に切出して記憶し、中央の絵素
に対する周囲の絵素において傾きがあると認められたと
き線対称パターンに輪郭があるとして2値化信号でもっ
て抽出する輪郭抽出手段と、該輪郭抽出手段からの抽出
される2値輪郭信号の隣接する走査線において上記線対
称パターンの線方向に対する勾配があるか否を勾配方向
に応じて正負の極性符号を付して−L Ot 千1なる
勾配信号でもって抽出する勾配抽出手段と、該勾配抽出
手段によって抽出される上記勾配信号を走査線毎に加算
する勾配加算手段と、該勾配加算手段から走査線毎に出
力される信号が零のときは無視して同一極性を有して連
続して検知されるとき線対称パターンに線対称でない特
徴部があると判定する判定手段とを備え付けたことを特
徴とする線対称パターンの認識装置。An imaging device that detects a video signal by scanning a line-symmetrical pattern with a plurality of scanning lines in a direction perpendicular to the line, and a binarization device that converts the video signal detected by the imaging device into a binary video signal. The circuit and the binarized video signal output by the binarization circuit are cut out into two-dimensional picture elements and stored, and when it is recognized that there is a slope in the surrounding picture elements with respect to the central picture element, line symmetry is established. Assuming that the pattern has a contour, there is a contour extraction means for extracting it using a binary signal, and whether there is a slope in the line direction of the line-symmetrical pattern in adjacent scanning lines of the binary contour signal extracted from the contour extraction means. gradient extracting means for extracting the difference with a positive or negative polarity sign according to the gradient direction as a gradient signal of -L Ot 1,000, and adding the above gradient signals extracted by the gradient extracting means for each scanning line. Gradient addition means, and when the signal output from the gradient addition means for each scanning line is ignored when it is zero and is continuously detected with the same polarity, there is a feature part that is not line symmetric in the line symmetric pattern. 1. A recognition device for a line-symmetric pattern, characterized in that it is equipped with a determining means for determining.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5020283U JPS6014165Y2 (en) | 1983-04-06 | 1983-04-06 | Line symmetric pattern recognition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5020283U JPS6014165Y2 (en) | 1983-04-06 | 1983-04-06 | Line symmetric pattern recognition device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5952406U JPS5952406U (en) | 1984-04-06 |
| JPS6014165Y2 true JPS6014165Y2 (en) | 1985-05-07 |
Family
ID=30180676
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5020283U Expired JPS6014165Y2 (en) | 1983-04-06 | 1983-04-06 | Line symmetric pattern recognition device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6014165Y2 (en) |
-
1983
- 1983-04-06 JP JP5020283U patent/JPS6014165Y2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5952406U (en) | 1984-04-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0491555B1 (en) | Method of and apparatus for inspecting transparent object for defect | |
| JPH0736001B2 (en) | Bottle defect inspection method | |
| JP2597370B2 (en) | Method for detecting significant differences in sheet-like test materials | |
| JPH0244202A (en) | Apparatus for detecting end position of object | |
| JPS6014165Y2 (en) | Line symmetric pattern recognition device | |
| JP2846052B2 (en) | Cylindrical inspection equipment | |
| JP2710527B2 (en) | Inspection equipment for periodic patterns | |
| JPS5924361B2 (en) | 2D image comparison inspection device | |
| JPS6027079A (en) | Sloping angle detector for character string | |
| JP3234636B2 (en) | Defect inspection equipment | |
| JPS5816837B2 (en) | pattern detection device | |
| JPS6026973B2 (en) | Object surface inspection method and device | |
| JPS6027064B2 (en) | Label front and back inspection device | |
| JPH08263656A (en) | Character quality inspection method | |
| JPH05108799A (en) | Wiring pattern inspection device | |
| JPH05332950A (en) | Defect inspection instrument | |
| JPS62148838A (en) | Defect recognizing method | |
| JPS5821107A (en) | pattern inspection equipment | |
| JPS59196446A (en) | Defect recognizing device | |
| JP2836580B2 (en) | Projection inspection device for semiconductor integrated circuit device | |
| JP2787851B2 (en) | Pattern feature extraction device | |
| JPH07325885A (en) | Character recognition device and character recognition method | |
| JPH0743325B2 (en) | Chip inspection device | |
| JP2674320B2 (en) | Minimum pattern interval inspection device | |
| JPH0618425A (en) | Burr detecting method of o-ring packing form article |