JPH0582618A - Image data defect detector - Google Patents

Image data defect detector

Info

Publication number
JPH0582618A
JPH0582618A JP3268772A JP26877291A JPH0582618A JP H0582618 A JPH0582618 A JP H0582618A JP 3268772 A JP3268772 A JP 3268772A JP 26877291 A JP26877291 A JP 26877291A JP H0582618 A JPH0582618 A JP H0582618A
Authority
JP
Japan
Prior art keywords
image data
variance value
circuit
pixel
labeling
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.)
Withdrawn
Application number
JP3268772A
Other languages
Japanese (ja)
Inventor
Masaki Inoue
雅基 井上
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP3268772A priority Critical patent/JPH0582618A/en
Publication of JPH0582618A publication Critical patent/JPH0582618A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide an image data defect detector which does not require a large quantity of judging data and avoids a false detection due to the deviation in location of image data. CONSTITUTION:A comparison circuit 4 compares the image data from a standard variable-density image data storage circuit and the image data from an input device 3 for each picture element, outputting differential image data to a labeling circuit 6 through a binary circuit 5. The labeling circuit 6 extracts picture elements most suitable for defects and outputs the data about the location of those picture elements as labeling image data to a distributed value selection circuit 10. Meanwhile, a distributed value of the image data inputted into a storage circuit 7 is calculated by a distributed value calculating circuit 8. Based on the labeling image data, the distributed value selection circuit 10 selects the distributed value for the picture element which has been decided most suitable for defects and a judging circuit 12 determines whether the selected distributed value is within the range of defects stored in a register 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、半導体チップを載せる
プリント基板、リードフレームなどの外観の欠陥を検出
する画像データ欠陥検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data defect detecting device for detecting a defect in appearance of a printed circuit board on which a semiconductor chip is mounted, a lead frame or the like.

【0002】[0002]

【従来の技術】図3は従来の画像データ欠陥検出装置の
概略ブロック図である。従来の画像データ欠陥検出装置
は、欠陥のないプリント基板の画像データを予め記憶し
ている基準濃淡画像データ記憶回路31と、被検査パタ
ーン32の画像データを入力する入力装置33と、比較
回路34と、欠陥判定回路35と、判定データ記憶回路
36と、検査結果表示部37とを備える。
2. Description of the Related Art FIG. 3 is a schematic block diagram of a conventional image data defect detecting apparatus. The conventional image data defect detection apparatus includes a reference grayscale image data storage circuit 31 in which image data of a printed circuit board having no defect is stored in advance, an input device 33 for inputting image data of a pattern 32 to be inspected, and a comparison circuit 34. A defect determination circuit 35, a determination data storage circuit 36, and an inspection result display section 37.

【0003】比較回路34は基準濃淡画像データ記憶回
路31からの画像データと入力装置33からの画像デー
タとを画素毎に比較し、両画像データの差をとった差画
像データに変える。差画像データは欠陥判定回路35に
出力される。欠陥判定回路35は、判定データ記憶回路
36から良品か欠陥品かを判定するための判定データ
(閾値)を読み出し、各画素毎に差画像データを判定デ
ータと比較し、判定データの値を越える差画像データに
ついては画素に欠陥があると判断する。そして、判断結
果は検査結果表示部37に表示される。
The comparison circuit 34 compares the image data from the reference grayscale image data storage circuit 31 and the image data from the input device 33 for each pixel, and changes the difference between the two image data into difference image data. The difference image data is output to the defect determination circuit 35. The defect determination circuit 35 reads the determination data (threshold value) for determining whether the product is a non-defective product or a defective product from the determination data storage circuit 36, compares the difference image data for each pixel with the determination data, and exceeds the value of the determination data. Regarding the difference image data, it is determined that the pixel has a defect. Then, the judgment result is displayed on the inspection result display unit 37.

【0004】[0004]

【発明が解決しようとする課題】このように、従来は、
画像データの欠陥を検出するのに、判定データ(閾値)
が必要であるが、差画像データと判定データとを各画素
毎に比較するため、判定データとしては基準濃淡画像デ
ータ記憶回路31の画像データと同程度の情報量が必要
である。したがって、判定データを格納しておくメモリ
としては大容量のものが要求される。
As described above, the prior art is as follows.
Judgment data (threshold value) to detect defects in image data
However, since the difference image data and the judgment data are compared for each pixel, the judgment data needs to have the same amount of information as the image data of the reference grayscale image data storage circuit 31. Therefore, a large capacity memory is required to store the determination data.

【0005】また、基準濃淡画像データ記憶回路31か
らの画像データと入力装置33からの画像データとの位
置合わせは、一画素が通常一辺約5μmと微小であるの
で、非常に困難である。このため、良品の画像データで
あっても、基準濃淡画像データ記憶回路31からの画像
データと比較する際に、位置ズレが生じると、配線パタ
ーン等の輪郭部分に対応する差画像データが大きくな
り、不良品と認定されることがある。このように、従来
の装置では位置ズレが誤検出の原因となり、欠陥検出精
度が良くないという問題があった。
Further, the alignment of the image data from the reference grayscale image data storage circuit 31 and the image data from the input device 33 is extremely difficult because one pixel is usually as small as about 5 μm on each side. For this reason, even if the image data is a good product, when the positional deviation occurs when the image data from the reference grayscale image data storage circuit 31 is compared, the difference image data corresponding to the contour portion of the wiring pattern or the like becomes large. , May be certified as defective. As described above, the conventional apparatus has a problem in that the positional deviation causes an erroneous detection and the defect detection accuracy is not good.

【0006】本発明は上記事情に基づいてなされたもの
であり、大量の判定データを必要とせず、しかも画像デ
ータの位置ズレによる誤検出を防止することができる画
像データ欠陥検出装置を提供することを目的とするもの
である。
The present invention has been made in view of the above circumstances, and provides an image data defect detecting apparatus which does not require a large amount of determination data and can prevent erroneous detection due to positional deviation of image data. The purpose is.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
の本発明に係る画像データ欠陥検出装置は、基準画像デ
ータの各画素毎に該画素を含む一定の領域内で明るさの
変化の度合を示す分散値を計算する第1の分散値計算手
段と、該分散値を基に画像を欠陥と判断する分散値の上
限と下限とを記憶する記憶手段と、被検査パターンの画
像データの各画素毎に該画素を含む一定の領域内で明る
さの変化の度合を示す分散値を計算する第2の分散値計
算手段と、前記被検査パターンの分散値が前記記憶手段
に記憶した分散値の上限と下限の範囲内にあるか否かを
判断する判断手段とを備えたことを特徴とするものであ
る。
In order to achieve the above object, an image data defect detecting apparatus according to the present invention has, for each pixel of reference image data, a degree of change in brightness within a certain area including the pixel. A first variance value calculating means for calculating a variance value, a storage means for storing an upper limit and a lower limit of the variance value for judging an image as a defect based on the variance value, and image data of an inspection pattern. Second dispersion value calculating means for calculating, for each pixel, a dispersion value indicating the degree of change in brightness within a certain area including the pixel; and a dispersion value for which the dispersion value of the pattern to be inspected is stored in the storage means. It is characterized in that it is provided with a judging means for judging whether it is within the range between the upper limit and the lower limit.

【0008】[0008]

【作用】本発明は上記の構成によって、画像データの欠
陥を検出する際の判断対象として、画像データの各画素
毎にその画素を含む一定の領域内における明るさの変化
の度合を示す分散値を用い、被検査パターンの画像デー
タの各画素についての分散値が欠陥範囲内にあるかどう
かを判定して、画像データの欠陥を判断する。これによ
り、各画素毎に判定データを記憶する必要がなくなり、
全ての画素に対して共通に用いる分散値の上限と下限の
みを判定データとして記憶すれば十分である。また、判
定データの分散値の上限を位置ズレによる画像の分散値
よりも小さい値に設定することにより、位置ズレによる
誤検出を防止することができる。
According to the present invention, with the above-described structure, as a determination target when detecting a defect in image data, a variance value indicating the degree of change in brightness for each pixel of image data within a certain area including the pixel. Is used to determine whether the variance value for each pixel of the image data of the pattern to be inspected is within the defect range, and to determine the defect of the image data. This eliminates the need to store judgment data for each pixel,
It is sufficient to store only the upper limit and the lower limit of the variance value commonly used for all pixels as the determination data. Further, by setting the upper limit of the variance value of the determination data to a value smaller than the variance value of the image due to the positional deviation, it is possible to prevent erroneous detection due to the positional deviation.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面を参照しつつ
説明する。図1は本発明の一実施例である画像データ欠
陥検出装置の概略ブロック図、図2は分散値の計算方法
を説明するための図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram of an image data defect detecting apparatus which is an embodiment of the present invention, and FIG. 2 is a diagram for explaining a variance value calculating method.

【0010】図1に示す画像データ欠陥検出装置は、基
準濃淡画像データ記憶回路1と、入力装置3と、比較回
路4と、二値化回路5と、ラベリング回路6と、記憶回
路7と、分散値計算回路8,9と、分散値選択回路10
と、レジスタ11と、判定回路12と、検査結果表示部
13とを備えるものである。
The image data defect detection apparatus shown in FIG. 1 includes a reference grayscale image data storage circuit 1, an input device 3, a comparison circuit 4, a binarization circuit 5, a labeling circuit 6, a storage circuit 7, and a storage circuit 7. Distributed value calculation circuits 8 and 9 and distributed value selection circuit 10
The register 11, the determination circuit 12, and the inspection result display unit 13 are provided.

【0011】基準濃淡画像データ記憶回路1は、例え
ば、欠陥のないプリント基板の画像データを記憶してい
るメモリであり、入力装置3はCCDカメラ等からなる
もので、検査すべきプリント基板の被検査パターン2か
ら画像データを得る。
The reference grayscale image data storage circuit 1 is, for example, a memory for storing image data of a printed circuit board having no defect, and the input device 3 is composed of a CCD camera or the like. Image data is obtained from the inspection pattern 2.

【0012】比較回路4は基準濃淡画像データ記憶回路
1からの画像データと入力装置3からの画像データとを
各画素毎に比較し、両画像データの差である差画像デー
タに変える。二値化回路5は予め二値化レベルを設定し
ておき、この二値化レベルをもとに差画像データに対し
て二値画像データに変換する。ラベリング回路6は二値
画像データに対してラベリング処理を行う。これによ
り、濃淡差が一定の大きさ以上のものが欠陥候補として
抽出され、その欠陥候補に対する画素の位置データをラ
ベリング画像データとして出力する。
The comparison circuit 4 compares the image data from the reference grayscale image data storage circuit 1 with the image data from the input device 3 for each pixel, and changes it into difference image data which is the difference between the two image data. The binarization circuit 5 sets a binarization level in advance and converts the difference image data into binary image data based on this binarization level. The labeling circuit 6 performs a labeling process on the binary image data. As a result, a grayscale difference having a certain magnitude or more is extracted as a defect candidate, and pixel position data for the defect candidate is output as labeling image data.

【0013】ところで、比較回路4において差画像デー
タを得る際に、一般に基準濃淡画像データ記憶回路1か
らの画像データと入力装置3からの画像データとの位置
合わせを完璧に行うことはできない。このため、良品の
画像データであっても、位置ズレにより、配線パターン
等の輪郭部分に対応する差画像データが大きくなってし
まうことがある。したがって、上記のラベリング画像デ
ータは、真に欠陥に起因して濃淡差が生じた画素の位置
データと、位置ズレにより誤検出された画素の位置デー
タとを含むことになる。
By the way, when the difference image data is obtained in the comparison circuit 4, generally, the image data from the reference grayscale image data storage circuit 1 and the image data from the input device 3 cannot be perfectly aligned. Therefore, even if the image data is a good product, the difference image data corresponding to the contour portion of the wiring pattern or the like may become large due to the positional deviation. Therefore, the above-mentioned labeling image data includes the position data of the pixel in which the gray level difference is caused due to the true defect and the position data of the pixel erroneously detected due to the position shift.

【0014】分散値計算回路8,9はそれぞれ入力装置
3からの画像データ、基準濃淡画像データ記憶回路1か
らの画像データについて各画素毎に分散値を計算するも
のである。分散値とは、各画素毎にその画素を含む一定
の領域における明るさの変化の度合を示すものである。
The variance value calculation circuits 8 and 9 calculate the variance value for each pixel of the image data from the input device 3 and the image data from the reference grayscale image data storage circuit 1, respectively. The variance value indicates, for each pixel, the degree of change in brightness in a certain area including the pixel.

【0015】たとえば、図2に示すように一画素が一辺
5μmの正方形である場合に、縦方向がN番目、横方向
がM番目である画素を(N,M)で表すこととする。い
ま、一つの画素P(n,m)を含むa画素×b画素サイ
ズの微小領域Sをとり、この領域S内の任意の一つの画
素PS (i,j)の明るさをEnm,ij とする。このと
き、画素P(n,m)についてのEnm,ij の平均値Enm
は、以下の式で与えられる。
For example, when one pixel is a square having a side of 5 μm as shown in FIG. 2, the pixel having the Nth in the vertical direction and the Mth in the horizontal direction is represented by (N, M). Now, a small area S of a pixel × b pixel size including one pixel P (n, m) is taken, and the brightness of any one pixel P S (i, j) in this area S is En, ij . At this time, the average value E nm , ij of E nm, ij for the pixel P (n, m)
Is given by the following formula.

【0016】[0016]

【数1】 [Equation 1]

【0017】また画素P(n,m)についての分散値s
nm 2 は、以下の式で与えられる。
The variance value s for the pixel P (n, m)
nm 2 is given by the following formula.

【0018】[0018]

【数2】 [Equation 2]

【0019】ここで、(1),(2)式において、i,
jについての和は領域S内にある(i,j)の組にわた
って取られる。
In the equations (1) and (2), i,
The sum for j is taken over the set of (i, j) that is in the region S.

【0020】一般に、分散値snm 2 が大きいと、微小領
域Sでの明るさの変化の度合が大きいと判断され、一
方、分散値snm 2が小さいと、微小領域Sでの明るさの
変化の度合が小さく、明るさが均一であると判断され
る。具体的には、分散値snm 2 は、領域Sが基板や配線
パターン等の平坦な面等に取られた場合に小さくなり、
領域Sが配線パターン等の輪郭部分や欠陥による凹凸部
分に取られた場合に大きくなる。
Generally, if the dispersion value s nm 2 is large, it is judged that the degree of change in brightness in the minute area S is large, whereas if the dispersion value s nm 2 is small, the brightness in the minute area S is small. It is determined that the degree of change is small and the brightness is uniform. Specifically, the dispersion value s nm 2 becomes small when the region S is taken on a flat surface such as a substrate or a wiring pattern,
The area S becomes large when the area S is taken as a contour portion such as a wiring pattern or an uneven portion due to a defect.

【0021】尚、微小領域Sを極端に大きくとった場合
は分散値が各画素毎にあまり変化せず、微小領域Sを極
端に小さくとった場合は分散値が各画素毎に大きく変動
する。したがって、微小領域Sを適切な範囲に設定しな
ければ、分散値で画像が欠陥かどうかを精度良く判断す
ることができない。本実施例では、微小領域Sを画素P
を中心とする5×5サイズに設定した。
When the minute area S is extremely large, the dispersion value does not change so much for each pixel, and when the minute area S is extremely small, the dispersion value greatly changes for each pixel. Therefore, unless the minute area S is set in an appropriate range, it is not possible to accurately determine whether or not the image is defective by the variance value. In this embodiment, the minute area S is set to the pixel P.
The size was set to 5 × 5 centered on.

【0022】分散値選択回路10では、ラベリング回路
6からのラベリング画像データをもとにして分散値計算
回路8で計算した各画素についての分散値の中から欠陥
候補とされた画素に対する分散値が選定される。
In the variance value selection circuit 10, the variance value for the pixel which is a defect candidate is selected from the variance values for each pixel calculated by the variance value calculation circuit 8 based on the labeling image data from the labeling circuit 6. Selected.

【0023】一方、レジスタ11では、分散値計算回路
9で計算された各画素についての分散値に基づいて、す
べての画素について共通の分散値の欠陥範囲を設定す
る。欠陥範囲は、分散値から画像が欠陥かどうかを判断
する判断基準であり、この欠陥範囲の上限は部品の輪郭
部分での分散値より少し小さい値に設定する。これは、
一般に、部品の輪郭部分における分散値は欠陥による凹
凸部分における分散値よりも大きいので、ラベリング回
路6で位置ズレにより欠陥候補とされたものを取り除く
ためである。また、分散値の下限を設定したのは、分散
値がこの下限よりも小さい場合、取り除かなければなら
ない欠陥というより、許容範囲内にあるものと考えられ
るからである。
On the other hand, in the register 11, the defect range of the common dispersion value is set for all pixels based on the dispersion value for each pixel calculated by the dispersion value calculation circuit 9. The defect range is a criterion for judging whether or not the image is defective from the variance value, and the upper limit of the defect range is set to a value slightly smaller than the variance value in the contour portion of the part. this is,
This is because, in general, the variance value in the contour portion of the component is larger than the variance value in the uneven portion due to the defect, so that the defect candidate due to the positional deviation in the labeling circuit 6 is removed. Further, the lower limit of the dispersion value is set, because when the dispersion value is smaller than this lower limit, it is considered that the dispersion value is within an allowable range rather than a defect that must be removed.

【0024】次に、画像データの欠陥を検出する動作を
説明する。まず、入力装置3からの画像データは比較回
路4及び記憶回路7に出力される。比較回路4では、こ
の画像データと基準濃淡画像データ記憶装置1からの画
像データとが比較され、両画像データの差である差画像
データを二値化回路5に出力する。二値化回路5は差画
像データを二値画像データに変換し、ラベリング回路6
に出力する。そして、ラベリング回路6は二値画像デー
タに対してラベリング処理を行い、欠陥候補に対する位
置データをラベリング画像データとして得る。尚、ラベ
リング処理により両画像データの濃淡差が一定の大きさ
以上のものだけが取り出されるため、ラベリング回路6
はノイズの除去という役割をも果たす。
Next, the operation of detecting a defect in image data will be described. First, the image data from the input device 3 is output to the comparison circuit 4 and the storage circuit 7. The comparison circuit 4 compares this image data with the image data from the reference grayscale image data storage device 1 and outputs difference image data, which is the difference between the two image data, to the binarization circuit 5. The binarization circuit 5 converts the difference image data into binary image data, and the labeling circuit 6
Output to. Then, the labeling circuit 6 performs the labeling process on the binary image data, and obtains the position data for the defect candidate as the labeling image data. It should be noted that since only the grayscale difference between the two image data is equal to or larger than a certain size is extracted by the labeling process, the labeling circuit 6
Also plays the role of removing noise.

【0025】また、入力装置3から記憶回路7に記憶さ
れた画像データは、分散値計算回路8において分散値が
計算される。ラベリング回路6で得られたラベリング画
像データが分散値選択回路10に出力されると、分散値
選択回路10は欠陥候補とされた画素についての分散値
を選択して取り出す。一方、基準濃淡画像データ記憶回
路1からの画像データは、分散値計算回路9に送られて
分散値が計算される。ここで計算された分散値を基にし
て、すべての画素について共通の欠陥範囲(分散値の上
限と下限)をレジスタ11に記憶する。
The variance value of the image data stored in the storage circuit 7 from the input device 3 is calculated in the variance value calculation circuit 8. When the labeling image data obtained by the labeling circuit 6 is output to the variance value selection circuit 10, the variance value selection circuit 10 selects and fetches the variance value of the pixel which is the defect candidate. On the other hand, the image data from the reference grayscale image data storage circuit 1 is sent to the variance value calculation circuit 9 to calculate the variance value. The defect range (upper and lower limits of the variance value) common to all pixels is stored in the register 11 based on the variance value calculated here.

【0026】そして、判定回路12では分散値選択回路
10で選択された分散値がレジスタ11において記憶し
た欠陥範囲内にあるかどうかを判定する。分散値がこの
範囲内にあれば真の欠陥とみなし、どの位置の画素が欠
陥であるかを検査結果表示部13に表示する。
Then, the judgment circuit 12 judges whether or not the dispersion value selected by the dispersion value selection circuit 10 is within the defect range stored in the register 11. If the variance value is within this range, it is regarded as a true defect, and the pixel at which position is defective is displayed on the inspection result display unit 13.

【0027】本実施例では、画像データの欠陥を検出す
るのに、各画素毎にその画素を含む一定の領域における
明るさの変化の度合を示す分散値を用いて、入力装置か
らの画像データに対する分散値が欠陥範囲内にあるかど
うかを判断する。このように欠陥を判定する対象として
分散値を用いたため、各画素毎に判定データを設定する
必要はなく、画像全体で欠陥範囲の上限と下限を共通に
使用することができる。このため、従来のように判定デ
ータとして多くの情報量を必要とせず、判定データを格
納するメモリとしてレジスタ等を使用することができ、
コストの低減を図ることができる。
In the present embodiment, in order to detect a defect in the image data, a variance value indicating the degree of change in brightness in a certain area including the pixel is used for each pixel, and the image data from the input device is used. Determine if the variance value for is within the defect range. Since the variance value is used as a target for determining a defect in this manner, it is not necessary to set determination data for each pixel, and the upper and lower limits of the defect range can be commonly used in the entire image. Therefore, unlike the conventional case, a large amount of information is not required as the determination data, and a register or the like can be used as a memory for storing the determination data,
The cost can be reduced.

【0028】また、比較回路から得た差画像データに基
づいて欠陥を判定するのではなく、被検査パターンの画
像データの分散値が一定範囲内の値であるか否かを判断
することにより欠陥を判断するので、基準となる分散値
の上限の値を適切な値に設定することにより、たとえ位
置ズレが生じても、この位置ズレによる画像データを欠
陥データと判断しないようにすることができる。したが
って、位置ズレによる誤検出を防止して、欠陥検出の精
度を向上させることができる。
Further, the defect is not judged based on the difference image data obtained from the comparison circuit, but it is judged whether or not the variance value of the image data of the pattern to be inspected is within a certain range. Therefore, by setting the upper limit value of the reference variance value to an appropriate value, it is possible to prevent the image data due to this positional deviation from being determined as defective data even if the positional deviation occurs. .. Therefore, it is possible to prevent erroneous detection due to positional deviation and improve the accuracy of defect detection.

【0029】さらに、本実施例では、画像データの全画
素について分散値が欠陥範囲にあるがどうかを検出する
のではなく、ラベリング回路を設けて各画素のうちいく
つかを欠陥候補として抽出しているため、一部の画素に
ついてのみ分散値が欠陥範囲にあるかどうかを判断すれ
ばよいので、処理速度の向上を図ることができる。
Further, in this embodiment, instead of detecting whether or not the variance value is within the defect range for all pixels of the image data, a labeling circuit is provided to extract some of the pixels as defect candidates. Therefore, it is only necessary to determine whether or not the variance value is within the defect range for only some pixels, and thus it is possible to improve the processing speed.

【0030】[0030]

【発明の効果】以上説明したように本発明によれば、画
像データが欠陥であるか否かを判断する対象として、各
画素毎にその画素を含む一定の領域における明るさの変
化の度合を示す分散値を用いることにより、判定データ
としてすべての画素に共通のデータを使用することがで
きるので、判定データを格納するメモリとしてレジスタ
等の小容量のものを使用することができ、しかも位置ズ
レによる誤検出を防止することができるので、欠陥検出
の精度を向上させることができる画像データ欠陥検出装
置を提供することができる。
As described above, according to the present invention, as a target for determining whether or not image data is defective, for each pixel, the degree of change in brightness in a certain area including the pixel is determined. By using the variance value shown, the data common to all pixels can be used as the judgment data, so that a small capacity memory such as a register can be used as the memory for storing the judgment data, and the position shift can be made. Since it is possible to prevent erroneous detection due to, it is possible to provide an image data defect detecting apparatus capable of improving the accuracy of defect detection.

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

【図1】本発明の一実施例である画像データ欠陥検出装
置の概略ブロック図である。
FIG. 1 is a schematic block diagram of an image data defect detection apparatus that is an embodiment of the present invention.

【図2】分散値の計算方法を説明するための図である。FIG. 2 is a diagram for explaining a calculation method of a variance value.

【図3】従来の画像データ欠陥検出装置の概略ブロック
図である。
FIG. 3 is a schematic block diagram of a conventional image data defect detection device.

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

1 基準濃淡画像データ記憶回路 2 被検査パターン 3 入力装置 4 比較回路 5 二値化回路 6 ラベリング回路 7 記憶回路 8,9 分散値計算回路 10 分散値選択回路 11 レジスタ 12 判定回路 13 検査結果表示部 1 reference grayscale image data storage circuit 2 inspected pattern 3 input device 4 comparison circuit 5 binarization circuit 6 labeling circuit 7 storage circuit 8, 9 variance value calculation circuit 10 variance value selection circuit 11 register 12 judgment circuit 13 inspection result display section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 基準画像データの各画素毎に該画素を含
む一定の領域内で明るさの変化の度合を示す分散値を計
算する第1の分散値計算手段と、該分散値を基に画像を
欠陥と判断する分散値の上限と下限とを記憶する記憶手
段と、被検査パターンの画像データの各画素毎に該画素
を含む一定の領域内で明るさの変化の度合を示す分散値
を計算する第2の分散値計算手段と、前記被検査パター
ンの分散値が前記記憶手段に記憶した分散値の上限と下
限の範囲内にあるか否かを判断する判断手段とを備えた
ことを特徴とする画像データ欠陥検出装置。
1. A first variance value calculating means for calculating, for each pixel of reference image data, a variance value indicating a degree of change in brightness within a certain area including the pixel, and based on the variance value. Storage means for storing an upper limit and a lower limit of a variance value for determining an image as a defect, and a variance value for each pixel of image data of a pattern to be inspected, which indicates a degree of change in brightness within a certain area including the pixel A second variance value calculating means for calculating the variance value, and a determining means for determining whether or not the variance value of the pattern to be inspected is within an upper limit and a lower limit of the variance value stored in the storage means. An image data defect detection device characterized by:
【請求項2】 前記基準画像データと前記被検査パター
ンの画像データとの各画素の濃淡を比較して差画像デー
タを出力する比較手段と、前記差画像データを二値化し
て二値画像データとする二値化手段と、前記二値画像デ
ータに対してラベリング処理してラベリング画像データ
を出力するラベリング手段と、前記ラベリング画像デー
タに基づいて前記第2の分散値計算手段から欠陥候補と
される画素に対する分散値を選定する分散値選定手段と
を設け、前記判断手段は前記分散値選定手段が選定した
分散値が前記記憶手段に記憶した分散値の上限と下限の
範囲内にあるか否かを判断することを特徴とする請求項
1記載の画像データ欠陥検出装置。
2. Comparing means for comparing the lightness and darkness of each pixel of the reference image data and the image data of the pattern to be inspected to output difference image data, and binary image data obtained by binarizing the difference image data. Binarizing means, a labeling means for labeling the binary image data and outputting labeling image data, and a defect candidate from the second variance value calculating means based on the labeling image data. A variance value selecting means for selecting a variance value for a pixel, and the judging means determines whether the variance value selected by the variance value selecting means is within the upper and lower limits of the variance value stored in the storage means. The image data defect detecting device according to claim 1, wherein the image data defect detecting device determines whether or not.
JP3268772A 1991-09-20 1991-09-20 Image data defect detector Withdrawn JPH0582618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3268772A JPH0582618A (en) 1991-09-20 1991-09-20 Image data defect detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3268772A JPH0582618A (en) 1991-09-20 1991-09-20 Image data defect detector

Publications (1)

Publication Number Publication Date
JPH0582618A true JPH0582618A (en) 1993-04-02

Family

ID=17463089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3268772A Withdrawn JPH0582618A (en) 1991-09-20 1991-09-20 Image data defect detector

Country Status (1)

Country Link
JP (1) JPH0582618A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113409295A (en) * 2021-06-30 2021-09-17 北京兆维电子(集团)有限责任公司 CELL-based edge defect detection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113409295A (en) * 2021-06-30 2021-09-17 北京兆维电子(集团)有限责任公司 CELL-based edge defect detection method
CN113409295B (en) * 2021-06-30 2024-03-29 北京兆维电子(集团)有限责任公司 CELL-based edge defect detection method

Similar Documents

Publication Publication Date Title
US20060133660A1 (en) Apparatus and method for detecting defect existing in pattern on object
US20070053580A1 (en) Image defect inspection apparatus, image defect inspection system, defect classifying apparatus, and image defect inspection method
JPH055709A (en) Screen inspection device
KR20090101356A (en) Defect detecting device, and defect detecting method
JP2003057019A (en) Pattern inspection device and inspection method using the same
TWI234649B (en) Visual inspection apparatus and method
JP4230880B2 (en) Defect inspection method
JP2002005850A (en) Defect inspection method and apparatus therefor, and production method of mask
JPH0582618A (en) Image data defect detector
JP3260425B2 (en) Pattern edge line estimation method and pattern inspection device
JP2000321038A (en) Method for detecting fault of pattern
JP4357666B2 (en) Pattern inspection method and apparatus
JPH05108800A (en) Picture defect discrimination processor
JP3771329B2 (en) Electronic component mounting direction inspection method
JP2000121495A (en) Screen inspection method
JPH10214327A (en) Method of detecting surface defect using image
JP2756738B2 (en) Apparatus for visual inspection of semiconductor devices
JP3198105B2 (en) Automatic visual inspection device
JP2535704Y2 (en) Shading image processing device
JP2000258353A (en) Defect inspection method and device
JPH0781962B2 (en) Foreign object detection method
JPH0763692A (en) Method and apparatus for inspection of pattern defect
KR100237304B1 (en) Method for detecting quality and position of image upon image comparisoon
JPH11167641A (en) Pattern detecting device, pattern detecting method and computer readable storage medium
JPH01150987A (en) Method for recognizing shape

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981203