JPH052647A - Pattern inspection method - Google Patents

Pattern inspection method

Info

Publication number
JPH052647A
JPH052647A JP3180302A JP18030291A JPH052647A JP H052647 A JPH052647 A JP H052647A JP 3180302 A JP3180302 A JP 3180302A JP 18030291 A JP18030291 A JP 18030291A JP H052647 A JPH052647 A JP H052647A
Authority
JP
Japan
Prior art keywords
pattern
result
binarized
label
processing
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
JP3180302A
Other languages
Japanese (ja)
Inventor
Toshio Konishi
敏夫 小西
Tetsuaki Furuya
徹明 古屋
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP3180302A priority Critical patent/JPH052647A/en
Publication of JPH052647A publication Critical patent/JPH052647A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a pattern inspection method which automatically inspects the patterns of a graphic and a character, which are printed on a printed board, etc., with a highly reliable and easy method. CONSTITUTION:Picture data on a reference pattern is differentiated by individual directions. A differentiation result by the individual directions is binarized with a first low threshold and the binarized result is labelled. The differentiation result by the individual directions is binarized with a second high threshold. When the respective labels of a labelling result are in an effective part binarized by the second threshold, the label is decided and the number of labelling is calculated. The same signal processing is executed as to a pattern being the object of inspection. The obtained number of labelling is compared with that as to the reference pattern. When they coincide, it is set to be 'good'. When they do not coincide, it is set to be 'bad' so as to judge the 'good/bad' of the pattern.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像処理を行って図形パ
ターンを検査するパターン検査方法に関するものであ
り,特に,簡単な手法でかつ短時間で図形パターンを自
動検査可能なパターン検査方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern inspection method for inspecting a graphic pattern by performing image processing, and more particularly to a pattern inspection method capable of automatically inspecting a graphic pattern by a simple method in a short time.

【0002】[0002]

【従来の技術】プリント基板における配線パターンの欠
陥の検出,CD印刷面の検査などについて高い信頼性で
リアルタイムで自動的に検査が可能な方法が要望されて
いる。かかる自動検査では画像処理方法を用いており,
たとえば,配線パターンを画像データとして入力してそ
の図形について画像処理を行ってその結果に基づいて配
線パターンの良否を自動的に決定する。かかる検査の前
提として,簡単な手法でその処理が実時間性をもち,信
頼性の高い画像処理方法が要望されている。画像処理方
法で高い信頼性の処理結果が得られれば,その結果を用
いる検査の信頼性も高くなる。
2. Description of the Related Art There is a demand for a method capable of automatically inspecting defects of a wiring pattern on a printed circuit board, inspecting a CD printed surface, etc. in real time with high reliability. Such automatic inspection uses image processing method,
For example, a wiring pattern is input as image data, image processing is performed on the figure, and the quality of the wiring pattern is automatically determined based on the result. As a premise of such inspection, there is a demand for a highly reliable image processing method which has a simple method for real-time processing. If a highly reliable processing result is obtained by the image processing method, the reliability of the inspection using the result also becomes high.

【0003】従来の画像処理方法としては図形を撮像装
置で2次元状画像データとして入力し,これらの画像デ
ータを単純に1つのしきい値を用いて2値化し,画像の
濃淡(強度)情報を「1」か「0」として2値化画像処
理する方法が知られている。また方向別微分を適用して
方向別境界を強調した後,2値化する画像処理方法が知
られている。これらの画像処理方法で得られた結果を基
準のデータと比較してパターンの良否を判定する。
As a conventional image processing method, a figure is input as two-dimensional image data by an image pickup device, and these image data are simply binarized by using one threshold value, and image density (intensity) information is obtained. There is known a method of performing binarized image processing with "1" or "0". There is also known an image processing method in which a direction-specific boundary is emphasized by applying a direction-specific differential and then binarized. The quality of the pattern is judged by comparing the results obtained by these image processing methods with the reference data.

【0004】さらに濃淡画像データを用いる方法も知ら
れている。この濃淡画像データを用いる方法の1つの方
法としては,検査対象の画像データについての微分結果
を2値化し,基準図形の画像データについて予め処理し
た微分結果について2値化した結果と比較する方法が知
られている。また濃淡画像データを用いる他の方法とし
ては,相関演算によるマッチング方法が知られている。
Further, a method using grayscale image data is also known. As one of the methods of using the grayscale image data, there is a method of binarizing the differential result of the image data of the inspection object and comparing it with the binarized result of the preprocessed image data of the reference graphic. Are known. Further, as another method using the grayscale image data, a matching method based on correlation calculation is known.

【0005】[0005]

【発明が解決しようとする課題】上記2値化画像処理方
法は,特徴量として,面積,重心,周長さなどを用いる
方法もあるが,照明条件の変動により上記面積,周囲長
さは数10%も変動し,小さい欠陥を検出できない。ま
た重心位置も小さい欠陥に対しては特徴量とはなりえな
い。したがって,かかる画像処理方法を適用しても精度
が高く,信頼性の高い不良パターンの検出はできない。
上記方向別微分による画像処理方法は,微分マスク(マ
トリクス)が方向に対してディスクリート(離散的)で
あるため,たとえば,45度きざみのマスクを用いた場
合,その中間の22.5度付近の境界情報が中間階調を
持つため,特定の1つのしきい値では境界が出たり出な
かったりして,微分化のノイズとなり画像処理の信頼性
に欠けるという問題がある。濃淡画像データを微分処理
して2値化する方法は,基準パターンと検査対象の位置
がずれると正確な検査をすることができない。さらに,
相関演算を行う方法は処理が複雑な上,小さい不良に対
しては相関係数が変動ないから,パターンの欠陥を検出
することには適用できない。したがって,本発明は上記
問題を解決し,比較的簡単な手法で処理の実時間性を持
ち,信頼性の高いパターン検査方法を提供することを目
的とする。
There is a method of using the area, the center of gravity, the perimeter, etc. as the feature quantity in the above-mentioned binarized image processing method, but the above-mentioned area and perimeter are several depending on the variation of the illumination condition. It fluctuates by 10%, and small defects cannot be detected. Further, it cannot be a feature amount for a defect whose center of gravity is small. Therefore, even if such an image processing method is applied, a defective pattern with high accuracy and high reliability cannot be detected.
In the image processing method based on the above-described direction-dependent differentiation, since the differential mask (matrix) is discrete (discrete) with respect to the direction, for example, when a mask with a step of 45 degrees is used, the intermediate value of 22.5 degrees is obtained. Since the boundary information has an intermediate gradation, the boundary may or may not appear at one specific threshold value, which may cause noise in the differentiation, resulting in a lack of reliability in image processing. The method of differentiating the grayscale image data and binarizing it cannot perform an accurate inspection if the reference pattern and the position of the inspection target are deviated. further,
Since the method of performing the correlation calculation is complicated in processing and the correlation coefficient does not change for small defects, it cannot be applied to detect pattern defects. Therefore, it is an object of the present invention to solve the above problems and provide a highly reliable pattern inspection method having a real-time processing property with a relatively simple method.

【0006】[0006]

【課題を解決するための手段】上記問題を解決するた
め,本発明のパターン検査方法は,検査対象とする図
形,文字などのパターンの2次元状画像データを複数の
方向から方向別微分し,該方向別微分した結果について
第1のしきい値で2値化し,該第2値化した結果につい
てラベリングを行い,上記方向別微分した結果に上記第
1のしきい値より大きい第2のしきい値で2値化して有
効画素を決定し,上記ラベリングによって規定されたラ
ベルが上記有効画素の位置に存在するときそのラベルを
有効であると確定し,該確定したラベル数を基準のラベ
ル数と比較して一致しているときその検査対象のパター
ンに欠陥がないと判定する。
In order to solve the above problems, a pattern inspection method according to the present invention differentiates two-dimensional image data of a pattern such as a figure or a character to be inspected from a plurality of directions according to directions. The direction-differentiated result is binarized with a first threshold value, the second-value binarized result is labeled, and the direction-differentiated result is a second threshold larger than the first threshold value. The effective pixel is binarized by the threshold value, and when the label specified by the labeling exists at the position of the effective pixel, the label is determined to be effective, and the determined number of labels is the reference number of labels. When they match with each other, it is determined that the pattern to be inspected has no defect.

【0006】[0006]

【作用】上記画像データについて方向別微分を行い,先
ず方向別境界を強調する。この方向別微分された結果に
ついて,第1の低いしきい値で2値化を行い,その2値
化結果をラベリングする。この処理と並行して方向別微
分結果について第1のしきい値よりも高い第2のしきい
値で2値化して有効画素を決定する。ラベリングに基づ
くそれぞれのラベルが有効画素の位置に存在する場合そ
のラベルは有効であると確定する。このラベル数を基準
のパターンについて上記同様に処理した結果得られたラ
ベル数と比較して一致していれば,欠陥はないと判断す
る。このように方向別微分を低いしきい値で2値化した
結果をラベリングし,高いしきい値で2値化した有効画
素と照合することにより信頼性の高い画像処理結果が得
られる。そして,このようにして得られたラベル数を基
準パターンについてのラベル数と比較することでパター
ン欠陥の有無を判定する。
Function: The image data is differentiated according to direction, and the boundary according to direction is first emphasized. The direction-differentiated result is binarized with the first low threshold value, and the binarized result is labeled. In parallel to this process, the direction-specific differentiation result is binarized with a second threshold value higher than the first threshold value to determine an effective pixel. If each label based on the labeling exists at the position of the effective pixel, the label is determined to be effective. This number of labels is compared with the number of labels obtained as a result of the same processing as described above for the reference pattern, and if they match, it is determined that there is no defect. In this way, a highly reliable image processing result can be obtained by labeling the result obtained by binarizing the direction-specific differential with a low threshold value and matching it with the effective pixel binarized with a high threshold value. Then, the presence or absence of a pattern defect is determined by comparing the number of labels thus obtained with the number of labels for the reference pattern.

【0007】[0007]

【実施例】本発明のパターン検査方法を実施するパター
ン検査装置を図1に示す。この画像処理装置は,画像入
力手段1,方向別微分手段2,第1の2値化処理手段
3,ラベリング手段4,第2の2値化処理手段5,ラベ
リング確定手段6,および,判定手段7からなる。画像
入力手段1はCCD撮像装置などで実現されており,画
像処理すべき図形,文字などのパターンを,たとえば8
ビットの階調を持つ2次元状の画像データとして入力す
る。このパターン検査装置は,まず,検査対象のパター
ンの基準となるパターンについて良好な条件で画像処理
およびその結果としてのラベル数を算出する。パターン
検査装置は次いで,基準パターンと同様な信号処理を検
査対象について行い,そのラベル数と基準パターンのラ
ベル数とを比較して,欠陥の有無を判定する。方向別微
分手段2,第1の2値化処理手段3,ラベリング手段
4,第2の2値化処理手段5,ラベリング確定手段6,
および,判定手段7は本実施例ではマイクロコンピュー
タを用いて実現されている。これらの処理機能を図2の
フローチャート,および,図3〜図8に示した図形例を
参照して述べる。
FIG. 1 shows a pattern inspection apparatus for carrying out the pattern inspection method of the present invention. This image processing apparatus comprises an image inputting means 1, a direction-dependent differentiating means 2, a first binarizing processing means 3, a labeling means 4, a second binarizing processing means 5, a labeling confirming means 6, and a judging means. It consists of 7. The image input means 1 is realized by a CCD image pickup device or the like, and a pattern such as a figure or a character to be image-processed is, for example, 8
It is input as two-dimensional image data having a bit gradation. This pattern inspection apparatus first calculates the number of labels as a result of image processing on a pattern serving as a reference of a pattern to be inspected under favorable conditions. Next, the pattern inspection apparatus performs the same signal processing as the reference pattern on the inspection target, compares the number of labels with the number of labels of the reference pattern, and determines the presence or absence of a defect. Directional differentiation means 2, first binarization processing means 3, labeling means 4, second binarization processing means 5, labeling confirmation means 6,
The determining means 7 is realized by using a microcomputer in this embodiment. These processing functions will be described with reference to the flowchart of FIG. 2 and the graphic examples shown in FIGS.

【0008】まず,検査対象のパターンの基準となるパ
ターンについて良好な条件で画像処理およびその結果と
してのラベル数を算出する処理について述べる。 ステップS01:画像データ入力 画像入力手段1は,画像処理対象となる図形を,たとえ
ば,各ピクセルが8ビットの階調を持ち2次元状に配列
された画像データとして入力し,画像メモリ(図示せ
ず)に記憶する。このようにして画像メモリに記憶され
た画像データを表示装置(図示せず)に表示した結果を
図3に示す。この図形例は全体が黒地のパネルに白い図
形が印刷されているものをパネルの正面から照明を当
て,その反射光をCCD撮像装置で入力したものであ
る。白い図形部分は各ピクセルは8ビットの階調(「2
55」)を示すはずであるが,実際には「255」の値
を示すものは少なく0〜255の範囲で大きくばらつ
く。 ステップS02:方向別微分処理 方向別微分手段2は画像メモリに記憶された画像データ
について方向別微分処理を行う。この方向別微分処理は
図3に示した画像データについて図4に示したように直
交する4方向,N,E,S,W,さらにこれらの間の4
5度方向から,合計8方向についてから順次,公知の微
分マトリクス(マスク)を用いて微分処理を行う。方向
別微分の内,N方向からの方向別微分結果を図4に示
す。この結果からN方向に沿った方向において図形の境
界が強調されていることが判る。
First, the image processing for a pattern serving as a reference of the pattern to be inspected and the processing for calculating the number of labels as a result thereof will be described. Step S01: Image data input The image input means 1 inputs a figure to be image-processed as, for example, image data arranged in a two-dimensional manner with each pixel having an 8-bit gradation, and an image memory (not shown). )). FIG. 3 shows the result of displaying the image data stored in the image memory on the display device (not shown) in this way. In this figure example, a panel with a black background and a white figure printed on it is illuminated from the front of the panel, and the reflected light is input by a CCD image pickup device. In the white figure, each pixel has an 8-bit gradation ("2
55 ”), but there are few that actually show the value of“ 255 ”, and there is a large variation in the range of 0 to 255. Step S02: Differentiating by Direction The differentiating means by direction 2 performs differentiating by direction on the image data stored in the image memory. This direction-dependent differentiation processing is performed on the image data shown in FIG. 3 in four directions orthogonal to each other as shown in FIG. 4, N, E, S, W, and 4 between them.
Differentiating processing is performed sequentially from a 5 degree direction and a total of 8 directions using a known differential matrix (mask). FIG. 4 shows the direction-dependent differentiation result from the N direction among the direction-dependent differentiation. From this result, it can be seen that the boundary of the figure is emphasized in the direction along the N direction.

【0009】ステップS03:低い第1のしきい値で2
値化処理 第1の2値化処理手段3は上記方向別微分結果につい
て,第1のしきい値で2値化を行う。図5(A)は第1
のしきい値として最大階調「255」に対して「50」
で2値化をした結果を示す。 ステップS04:ラベリング処理 ラベリング手段4は上記2値化結果についてラベリング
処理を行う。このラベリングは上記2値化した結果で
「50」より大きいとして「1」と判断されたピクセル
(画素)の連続性を検査し,連続する画素の固まりを1
つのラベルとするものである。図5(A)は第1のしき
い値=50で2値化した結果が12個のラベル:ラベル
L1〜ラベルL12にラベルづけされていることを示
す。 ステップS05:高いしきい値で2値化 第2の2値化処理手段5は上記第1の2値化処理手段3
およびラベリング手段4との処理に並行して,第1のし
きい値よりも高い第2のしきい値=70で方向別微分結
果について2値化処理を行ない有効画素を決定する。図
5(B)は第2のしきい値で2値化した結果を示す。高
いしきい値で2値化すると,低いしきい値で「1」とさ
れた部分が消滅する部分が出てくる。この例ではN方向
からの方向別微分においてノイズ成分として現れた図5
(A)のラベルL9〜L12に対応する部分が第2のし
きい値で「0」とされている。
Step S03: 2 at low first threshold
Binarization The first binarization processing means 3 binarizes the direction-specific differentiation result with a first threshold value. FIG. 5A shows the first
"50" for the maximum gradation of "255" as the threshold of
The result of binarization with is shown. Step S04: Labeling process The labeling means 4 performs a labeling process on the binarized result. In this labeling, the continuity of the pixels (pixels) determined to be “1” as being larger than “50” in the binarization result is checked, and the cluster of consecutive pixels is set to 1
One label. FIG. 5A shows that the result of binarization with the first threshold value = 50 is labeled with 12 labels: label L1 to label L12. Step S05: Binarization with a High Threshold The second binarization processing means 5 is the first binarization processing means 3 described above.
In parallel with the processing with the labeling means 4, binarization processing is performed on the direction-specific differentiation result at a second threshold value = 70 higher than the first threshold value to determine an effective pixel. FIG. 5B shows the result of binarization with the second threshold value. When binarization is performed with a high threshold value, there will be a portion where the portion that is set to “1” with a low threshold value disappears. In this example, a noise component appears in the direction-dependent differentiation from the N direction.
The portion corresponding to the labels L9 to L12 in (A) is set to "0" at the second threshold value.

【0010】ステップS06〜S09:ラベリング確定
処理 ラベリング確定手段6は上記図5(A)に示すラベルL
1〜ラベルL12について,そのラベルが位置する部分
に第2の2値化処理手段5による第2のしきい値で2値
化処理で「1」とされた有効画素の部分か否かを判別す
る(ステップS06)。もし,そのラベルに高いしきい
値で2値化した結果「1」とされた有効画素部分が存在
すれば,そのラベルは正しいものとして確定する(ステ
ップS07)。一方,そのラベルに高いしきい値で2値
化した結果「0」とされた部分であれば,そのラベルは
ノイズ成分の高いものとしてラベルを消去する(ステッ
プS08)。上記ラベリング確定処理を全てのラベルL
1〜L12について行う(ステップS09)。この例で
はラベルL1〜LL8が確定され,ラベルL9〜L12
が消去された。 ステップS10:ラベル整理 ラベリング確定手段6はラベリング確定後,途中のラベ
ルで消去されたラベルなどがあるとき次の番号のラベル
を繰り上げてラベルづけをしてラベルの整理を行う。
Steps S06 to S09: Labeling Confirmation Processing The labeling confirmation means 6 uses the label L shown in FIG.
For 1 to the label L12, it is determined whether or not the portion where the label is located is the portion of the effective pixel which is "1" in the binarization processing by the second threshold value by the second binarization processing means 5. Yes (step S06). If the label has an effective pixel portion which is "1" as a result of binarization with a high threshold value, the label is determined to be correct (step S07). On the other hand, if the label is a portion which is "0" as a result of binarization with a high threshold value, the label is erased because it has a high noise component (step S08). Labeling confirmation processing is performed for all labels L
It performs about 1-L12 (step S09). In this example, the labels L1 to LL8 are confirmed and the labels L9 to L12 are
Was erased. Step S10: Label organizing The labeling organizing means 6 arranges the labels by advancing and labeling the next numbered label when there is a label which is erased in the middle of the label after the labeling is established.

【0011】上述した方向別微分結果についての第1し
きい値での2値化,そのラベリング処理,第2しきい値
での2値化による有効画素の決定,そして,ラベリング
確定処理をその他の方向についても行う。以上の処理に
よって,基準パターンについて,各方向についてのラベ
ル数が得られる。
Binarization with the first threshold value for the above-mentioned direction-dependent differentiation result, its labeling processing, determination of effective pixels by binarization with the second threshold value, and labeling confirmation processing are other Do the same for directions. With the above processing, the number of labels in each direction can be obtained for the reference pattern.

【0012】次に,実際に検査する検査対象のパターン
についても上記ステップS01〜S10と同様な処理を
行う。例として,図6に示したように,図3に示した基
準パターンに対してA,B部分に突起がある欠陥のある
図形パターンを例示して述べる。図7はN方向からの方
向別微分結果を示す。この方向別微分によって,欠陥部
分A,Bも強調されている。そして,欠陥部分A,Bの
方向別微分結果は連続性がない。この方向別微分結果を
第1のしきい値=50で2値化し,さらにラベリング処
理した結果と第2しきい値=70で2値化して有効画素
を決定したものを用いてラベリング確定した結果を図8
に示す。図8の結果は,欠陥A,Bの存在により,図5
(C)で示した確定ラベルL4の部分がラベルL41,
L42,L43の3つのラベルに分割されており,その
ラベル数が10に増加している。
Next, with respect to the pattern to be inspected which is actually inspected, the same processing as in steps S01 to S10 is performed. As an example, as shown in FIG. 6, a defective graphic pattern having protrusions at the A and B portions with respect to the reference pattern shown in FIG. 3 will be described as an example. FIG. 7 shows the direction-dependent differentiation result from the N direction. Defects A and B are also emphasized by this direction-wise differentiation. The direction-based differential results of the defective portions A and B are not continuous. The result of binarization of the differentiation result by direction with the first threshold value = 50, and the result of further labeling processing, and the result of binarization with the second threshold value = 70 to determine the effective pixel, and the result of confirming the labeling Figure 8
Shown in. The result of FIG. 8 is the same as that of FIG.
The portion of the definite label L4 shown in (C) is the label L41,
The label is divided into three labels L42 and L43, and the number of labels is increased to 10.

【0013】ステップS11〜S13:ラベル数一致判
定 判定手段7は基準パターンについて得られたラベル数=
8と,上記検査対象について得られたラベルL1〜L
8,L41,L42のラベル数=10とを比較して一致
していないから,検査対象に欠陥があると判定する。こ
の判定はラベル数の比較であるから非常に簡単である。
また上述した画像処理方法は簡単で短時間で処理でき,
しかも,信頼性が高い。
Steps S11 to S13: Judgment of the Number of Labels The judgment means 7 determines the number of labels obtained for the reference pattern =
8 and labels L1 to L obtained for the above inspection target
The number of labels of 8, L41, and L42 = 10 is compared and they do not match, so it is determined that the inspection target has a defect. This judgment is very easy because it is a comparison of the number of labels.
The image processing method described above is simple and can be processed in a short time.
Moreover, it is highly reliable.

【0014】本発明の実施に際しては上述したものの
他,種々の変形態様をとることができる。たとえば,上
述した本発明の実施例は図形パターンの正面から照明し
てその反射光を画像データとして入力した場合について
述べたが,図形パターンの裏面から照明してその透過光
を入力した画像データを処理してもよい。また本発明は
図形に限らず文字などのパターン検査にも適用できる。
In carrying out the present invention, various modifications other than those described above can be taken. For example, the above-described embodiment of the present invention has been described with respect to the case where the front side of the graphic pattern is illuminated and the reflected light thereof is input as image data. May be processed. Further, the present invention can be applied not only to figures but also to pattern inspection of characters and the like.

【0015】[0015]

【発明の効果】以上に述べたように,本発明によれば,
比較的簡単な手法で信頼性の高い画像処理を適用したパ
ターン検査方法を実現できる。上述した本発明の画像処
理方法および検査方法は簡単な手法によっているので,
簡単な構成で実現でき,短時間で結果を得ることができ
実時間性を有する。したがって,たとえば,プリント基
板,CDなどのオンラインパターン自動検査などに有効
に適用できる。
As described above, according to the present invention,
A pattern inspection method to which highly reliable image processing is applied can be realized by a relatively simple method. Since the image processing method and inspection method of the present invention described above are based on a simple method,
It can be realized with a simple configuration, can obtain results in a short time, and has real-time performance. Therefore, for example, it can be effectively applied to online pattern automatic inspection of printed circuit boards, CDs and the like.

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

【図1】本発明の実施例のパターン検査方法を実施する
パターン検査装置の構成図である。
FIG. 1 is a configuration diagram of a pattern inspection apparatus that implements a pattern inspection method according to an embodiment of the present invention.

【図2】図1に示したパターン検査装置の処理フローチ
ャートである。
FIG. 2 is a processing flowchart of the pattern inspection apparatus shown in FIG.

【図3】図1のパターン検査装置で画像処理を行った基
準パターンの画像表示図である。
FIG. 3 is an image display diagram of a reference pattern subjected to image processing by the pattern inspection apparatus of FIG.

【図4】図3に示した画像データを方向別微分処理した
結果を示す図である。
FIG. 4 is a diagram showing a result of the direction-specific differentiation processing of the image data shown in FIG.

【図5】図4に示した結果をさらに図1のパターン検査
装置で2値化処理結果を示す図である。
5 is a diagram showing a binarization result of the result shown in FIG. 4 in the pattern inspection apparatus of FIG.

【図6】図1のパターン検査装置で画像処理を行った欠
陥ある検査対象パターンの画像表示図である。
6 is an image display diagram of a defective inspection target pattern subjected to image processing by the pattern inspection apparatus of FIG.

【図7】図6に示した画像データを方向別微分処理した
結果を示す図である。
FIG. 7 is a diagram showing a result of the direction-dependent differentiation processing of the image data shown in FIG.

【図8】図7に示した結果をさらに図1のパターン検査
装置で2値化処理しラベリングした結果を示す図であ
る。
8 is a diagram showing a result of binarizing and labeling the result shown in FIG. 7 by the pattern inspection apparatus of FIG.

【符号の説明】[Explanation of symbols]

1・・画像入力手段,2・・方向別微分手段,3・・第
1の2値化処理手段,4・・ラベリング手段,5・・第
2の2値化処理手段,6・・ラベリング確定手段,7・
・判定手段。
1 ... Image input means, 2 ... Directional differentiation means, 3 ... 1st binarization processing means, 4 ... Labeling means, 5 ... 2nd binarization processing means, 6 ... Labeling confirmation Means, 7 ・
-Judgment means.

Claims (1)

【特許請求の範囲】 【請求項1】 検査対象とする図形,文字などのパター
ンの2次元状画像データを複数の方向から方向別微分
し,該方向別微分した結果について第1のしきい値で2
値化し,該2値化した結果についてラベリングを行い,
上記方向別微分した結果を上記第1のしきい値より大き
い第2のしきい値で2値化して有効画素を決定し,上記
ラベリングによって規定されたラベルが上記有効画素の
位置に存在するときそのラベルを確定し,該確定したラ
ベル数を基準のラベル数と比較して一致しているときそ
の検査対象のパターンに欠陥がないと判定するパターン
検査方法。
Claim: What is claimed is: 1. A two-dimensional image data of a pattern such as a figure or a character to be inspected is differentiated from a plurality of directions according to directions, and a result of the differentiation according to the directions is a first threshold value. In 2
Quantize and label the binarized result,
When the effective pixel is determined by binarizing the direction-differentiated result with a second threshold value larger than the first threshold value, and the label defined by the labeling is present at the effective pixel position. A pattern inspection method for determining the label, comparing the determined number of labels with a reference number of labels, and determining that the pattern to be inspected has no defect when they match.
JP3180302A 1991-06-25 1991-06-25 Pattern inspection method Pending JPH052647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3180302A JPH052647A (en) 1991-06-25 1991-06-25 Pattern inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3180302A JPH052647A (en) 1991-06-25 1991-06-25 Pattern inspection method

Publications (1)

Publication Number Publication Date
JPH052647A true JPH052647A (en) 1993-01-08

Family

ID=16080833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3180302A Pending JPH052647A (en) 1991-06-25 1991-06-25 Pattern inspection method

Country Status (1)

Country Link
JP (1) JPH052647A (en)

Similar Documents

Publication Publication Date Title
US6061476A (en) Method and apparatus using image subtraction and dynamic thresholding
US7409081B2 (en) Apparatus and computer-readable medium for assisting image classification
US5774574A (en) Pattern defect detection apparatus
US5774573A (en) Automatic visual inspection system
JPH07159337A (en) Fault inspection method for semiconductor element
JP2981434B2 (en) Pattern defect detection method and apparatus
JP2710527B2 (en) Inspection equipment for periodic patterns
JP3260425B2 (en) Pattern edge line estimation method and pattern inspection device
JPH052647A (en) Pattern inspection method
JP3581040B2 (en) Wiring pattern inspection method
JP2906454B2 (en) Object position detection method
JPH052646A (en) Picture processing method
JP3106370B2 (en) Defect detection and type recognition of printed circuit boards using graph information
USRE38559E1 (en) Automatic visual inspection system
JPH0658729A (en) Inspecting apparatus for soldered state
JP2001250109A (en) Method and device for inspection
JP2000258353A (en) Defect inspection method and device
JP3575551B2 (en) Residue inspection method
JPH07111284A (en) Contact judging method
JPH0815173A (en) Character and symbol inspection apparatus
JPS6326511A (en) Inspection device for packaging component
JPH0590365A (en) Testing apparatus
JPH0619252B2 (en) Soldering inspection device for printed wiring boards
JPS6166908A (en) Detecting method of ic lead
Chehdi et al. Automatic System of Quality Control by Vision of Hybrid Circuits