JP2710527B2 - Inspection equipment for periodic patterns - Google Patents

Inspection equipment for periodic patterns

Info

Publication number
JP2710527B2
JP2710527B2 JP30820892A JP30820892A JP2710527B2 JP 2710527 B2 JP2710527 B2 JP 2710527B2 JP 30820892 A JP30820892 A JP 30820892A JP 30820892 A JP30820892 A JP 30820892A JP 2710527 B2 JP2710527 B2 JP 2710527B2
Authority
JP
Japan
Prior art keywords
image
defect
value
valued
defect candidate
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 - Lifetime
Application number
JP30820892A
Other languages
Japanese (ja)
Other versions
JPH06129992A (en
Inventor
央章 角間
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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP30820892A priority Critical patent/JP2710527B2/en
Publication of JPH06129992A publication Critical patent/JPH06129992A/en
Application granted granted Critical
Publication of JP2710527B2 publication Critical patent/JP2710527B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、例えばシャドウマス
ク、液晶表示パネル用カラーフィルタなどの周期性パタ
ーンを有する検査対象物における、傷、ピンホール、黒
点、ゴミなどの欠陥を検査する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for inspecting defects such as scratches, pinholes, black spots and dust on an inspection object having a periodic pattern such as a shadow mask and a color filter for a liquid crystal display panel.

【0002】[0002]

【従来の技術】従来、周期性パターンにおける欠陥の検
査は、裸眼または顕微鏡を用いて眼視的に行われていた
が、多数の製品を検査するためには多くの人手を必要と
し、また官能検査であるために検査精度および信頼性に
かけるという欠点があった。この問題を解決するものと
して、様々な検査装置が提案されている。特開昭62−
130343号公報に開示される装置はその一例であ
る。
2. Description of the Related Art Conventionally, inspection of defects in a periodic pattern has been carried out visually with a naked eye or using a microscope. The inspection has a drawback that the inspection accuracy and reliability are reduced. Various inspection apparatuses have been proposed to solve this problem. JP-A-62-2
The device disclosed in Japanese Patent Publication No. 130343 is one example.

【0003】図7は、この従来装置による検査の原理を
示す説明図である。図7(a)は、検査対象物としての
周期性パターンの一例を示す。この周期性パターンで
は、明暗2つの領域が反復する。図7(b)は、図7
(a)におけるA−A線に沿って、このパターンを撮像
して得られる多値画像(明度に応じた階調を有する画
像)の例を示し、図7(c)は図7(b)の多値画像を
1周期分遅らせた画像である。図7(d)は、図7
(b)および(c)の2つの多値画像の差分を演算して
得られた差分画像である。この従来装置では、差分画像
における値が所定の閾値以上である部分を欠陥と判定す
る。なお、図7(b)〜(d)の各画像は画像信号で表
現されている。
FIG. 7 is an explanatory view showing the principle of inspection by this conventional apparatus. FIG. 7A shows an example of a periodic pattern as an inspection target. In this periodic pattern, two light and dark areas are repeated. FIG.
FIG. 7C shows an example of a multi-valued image (an image having a gradation corresponding to lightness) obtained by imaging this pattern along the line AA in FIG. 7A, and FIG. Is an image obtained by delaying the multi-valued image by one cycle. FIG. 7D shows FIG.
9 is a difference image obtained by calculating a difference between two multi-value images of (b) and (c). In this conventional device, a portion in the difference image whose value is equal to or larger than a predetermined threshold is determined as a defect. Each image in FIGS. 7B to 7D is represented by an image signal.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、パター
ンの繰り返し周期は、画像を構成する最小単位である画
素の整数倍になるとは限らない。このため、パターンの
明暗が変化する点(変化点)での階調の変動の傾きは、
一般に繰り返し周期毎に異なるので、図7(d)に示す
ように差分画像には欠陥に対応する部分だけではなく、
変化点においても高い値が現れる。その結果、変化点の
近傍においても欠陥が存在するものと、誤って判定され
るという問題点があった。
However, the repetition period of the pattern is not always an integral multiple of the pixel which is the minimum unit constituting the image. Therefore, the gradient of the gradation change at the point where the brightness of the pattern changes (change point) is
Generally, the difference image differs for each repetition period. Therefore, as shown in FIG.
High values also appear at transition points. As a result, there is a problem that it is erroneously determined that a defect exists even in the vicinity of the change point.

【0005】この発明は、上記の問題点を解消するため
になされたもので、周期性パターンにおける欠陥を誤り
なく検査する周期性パターンの検査装置を提供すること
を目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a periodic pattern inspection apparatus for inspecting a periodic pattern for defects without error.

【0006】[0006]

【課題を解決するための手段】この発明にかかる周期性
パターンの検査装置は、一定の周期でパターンが反復す
る検査対象物における欠陥を検査する装置であって、
(a)前記検査対象物の明度に応じた階調を有する多値
画像を得る画像入力手段と、(b)前記多値画像を、前
記パターンが反復する方向に前記周期の整数倍分ずらし
た変位多値画像を得る第1の変位手段と、(c)前記多
値画像と前記変位多値画像との差を演算して差分多値画
像を得る差分演算手段と、(d)前記差分多値画像の絶
対値を演算して絶対多値画像を得る絶対値演算手段と、
(e)前記絶対多値画像における値を所定の第1の閾値
と比較し、その比較結果に応じて2値化することによ
り、第1の2値画像を得る第1の2値化手段と、(f)
前記画像入力手段で得た多値画像におけるエッジ部分を
表現するエッジ画像を得るエッジ抽出手段と、(g)前
記エッジ画像における値を所定の第2の閾値と比較し、
その比較結果に応じて2値化することにより、第2の2
値画像を得る第2の2値化手段と、(h)前記第2の2
値画像を、前記パターンが反復する方向に前記周期の整
数倍分ずらした変位2値画像を得る第2の変位手段と、
(i)前記第2の2値画像と前記変位2値画像との論理
積を演算し、マスク画像を得る論理積演算手段と、
(j)前記マスク画像の反転画像と前記第1の2値画像
との論理積を演算し、被マスク画像を得るマスク手段
と、(k)前記被マスク画像に基づいて前記検査対象物
における欠陥を検出する検出手段と、を備える。
A periodic pattern inspection apparatus according to the present invention is an apparatus for inspecting a defect in an inspection object whose pattern repeats at a constant cycle,
(A) image input means for obtaining a multi-valued image having a gradation corresponding to the brightness of the inspection object, and (b) shifting the multi-valued image by an integral multiple of the period in a direction in which the pattern repeats. First displacement means for obtaining a displaced multi-valued image; (c) difference calculating means for calculating a difference between the multi-valued image and the displaced multi-valued image to obtain a differential multi-valued image; An absolute value calculating means for calculating an absolute value of the value image to obtain an absolute multi-value image;
(E) first binarizing means for comparing a value in the absolute multi-valued image with a predetermined first threshold and binarizing according to a result of the comparison to obtain a first binary image; , (F)
(G) comparing a value in the edge image with a predetermined second threshold, and an edge extracting unit for obtaining an edge image representing an edge portion in the multi-valued image obtained by the image input unit;
By binarizing according to the comparison result, the second binary
Second binarizing means for obtaining a value image; and (h) the second binarizing means.
Second displacement means for obtaining a displacement binary image in which the value image is shifted by an integral multiple of the period in a direction in which the pattern repeats;
(I) logical product calculating means for calculating a logical product of the second binary image and the displacement binary image to obtain a mask image;
(J) mask means for calculating a logical product of an inverted image of the mask image and the first binary image to obtain a masked image; and (k) a defect in the inspection object based on the masked image. And detecting means for detecting

【0007】なおこの発明では、煩雑な記載を避けるた
めに、画像を表現し各手段で処理される「画像信号」
と、「画像」そのものとを区別せずに、双方を「画像」
と表現する。
In the present invention, in order to avoid complicated description, an "image signal" which represents an image and is processed by each means is used.
And "image" itself without distinguishing them
Is expressed as

【0008】[0008]

【作用】この発明における検査装置は、周期性パターン
を有する検査対象物の多値画像とその変位多値画像との
差分画像を得て、更にその絶対値を2値化することによ
り、検査対象物に存在する欠陥候補とすべき2値画像を
抽出する。この2値画像には欠陥候補の画像の他に、多
値画像における変化点に相当する無用な画像が混在して
いる。多値画像をもとに得られるマスク画像は、この変
化点を表現しており、マスク画像の反転画像と2値化画
像の論理積を演算することにより、2値化画像から無用
な画像が除去され、欠陥候補に相当する被マスク画像の
みが取り出される。この被マスク画像に基づいて、欠陥
候補の中から欠陥の選別を行うことにより、欠陥の検出
が行われる。
The inspection apparatus according to the present invention obtains a difference image between a multivalued image of an inspection object having a periodic pattern and a displacement multivalued image, and binarizes its absolute value, thereby obtaining an inspection object. A binary image to be a defect candidate existing in the object is extracted. In the binary image, in addition to the defect candidate image, useless images corresponding to the change points in the multi-valued image are mixed. The mask image obtained based on the multi-valued image expresses this change point, and by calculating the logical product of the inverted image of the mask image and the binarized image, an unnecessary image is obtained from the binarized image. It is removed and only the masked image corresponding to the defect candidate is extracted. Based on the masked image, a defect is selected from the defect candidates to detect the defect.

【0009】[0009]

【実施例】【Example】

[1.装置の全体構成と概略動作]図2はこの発明の実
施例における検査装置の全体構成を示すブロック図であ
る。画像入力ブロック(画像入力手段)10は、検査対
象物1の多値画像を得る装置部分である。画像入力ブロ
ック10では、検査対象物1がステージ11の上に載置
され、副走査方向Yへ搬送される。搬送の過程で読み取
り装置12によって、検査対象物1の画像が画素単位で
主走査方向Xに沿って読み取られる。A/D変換回路1
3は、読み取り装置12から送られる画像をデジタル化
して多値画像を得る。この多値画像は比較ブロック20
とマスク生成ブロック30へ入力される。ステージ11
は制御系15で制御されるステージ駆動系14によって
駆動される。更に、制御系15はマイクロプロセッサ部
70によって制御されている。
[1. FIG. 2 is a block diagram showing the overall configuration of an inspection apparatus according to an embodiment of the present invention. The image input block (image input means) 10 is a device portion for obtaining a multi-value image of the inspection object 1. In the image input block 10, the inspection object 1 is placed on the stage 11 and transported in the sub-scanning direction Y. In the course of transport, the image of the inspection object 1 is read in the main scanning direction X in pixel units by the reading device 12. A / D conversion circuit 1
3 digitizes the image sent from the reading device 12 to obtain a multi-valued image. This multi-valued image is compared with the comparison block 20
Is input to the mask generation block 30. Stage 11
Is driven by a stage drive system 14 controlled by a control system 15. Further, the control system 15 is controlled by the microprocessor unit 70.

【0010】比較ブロック20では、パターンの反復周
期の整数倍だけ多値画像を遅延させた画像と元の多値画
像とを比較する。そして、これらの両者の画像の差分の
絶対値を2値化した2値画像を得て、欠陥位置特定・欠
陥種別ブロック40へ供給する。マスク生成ブロック3
0では、多値画像をもとにマスク画像を作成する。欠陥
位置特定・欠陥種別ブロック40は、比較ブロック20
から入力される2値画像にマスク画像の反転画像との論
理積を演算して得られた画像をもとに、欠陥候補の位置
と種類とを特定する。
In a comparison block 20, an image obtained by delaying the multi-valued image by an integral multiple of the pattern repetition period is compared with the original multi-valued image. Then, a binary image obtained by binarizing the absolute value of the difference between these two images is obtained and supplied to the defect position identification / defect type block 40. Mask generation block 3
At 0, a mask image is created based on the multi-valued image. The defect position identification / defect type block 40 is a comparison block 20
The position and the type of the defect candidate are specified based on the image obtained by calculating the logical product of the binary image input from the mask image and the inverted image of the mask image.

【0011】欠陥検出ブロック60は、欠陥位置特定・
欠陥種別ブロック40から送られる欠陥候補の画像か
ら、所定以上の大きさを持つ欠陥候補を欠陥と判定し、
欠陥画像とその位置の座標を記憶する。座標はマイクロ
プロセッサ部70によって読み出され、その画像がCR
T71に表示される。欠陥確認装置73は、CRT71
に表示された欠陥の画像を拡大して表示する。欠陥品除
去装置74は、欠陥を有すると判定された検査対象物
を、不良品トレーなどに搬送する。マイクロプロセッサ
部70の動作は、操作者がキーボード72を適宜操作す
ることにより指示される。
[0011] The defect detection block 60 specifies a defect position.
From the image of the defect candidate sent from the defect type block 40, a defect candidate having a size equal to or larger than a predetermined value is determined as a defect,
The defect image and its position coordinates are stored. The coordinates are read out by the microprocessor unit 70, and the image
It is displayed at T71. The defect confirmation device 73 includes a CRT 71
Is enlarged and displayed. The defective product removing device 74 conveys the inspection target object determined to have a defect to a defective product tray or the like. The operation of the microprocessor unit 70 is instructed by an operator operating the keyboard 72 as appropriate.

【0012】[2.比較ブロック]図1は、比較ブロッ
ク20、マスク生成ブロック30、欠陥位置特定・欠陥
種別ブロック40、及び欠陥検出ブロック60の内部構
成を示すブロック図である。図3は、これらのブロック
によって処理が行われる過程にある画像Pa〜Pmを示
す模式図である。
[2. Comparison Block] FIG. 1 is a block diagram showing the internal configuration of a comparison block 20, a mask generation block 30, a defect position identification / defect type block 40, and a defect detection block 60. FIG. 3 is a schematic diagram showing images Pa to Pm in the process of being processed by these blocks.

【0013】画像入力ブロック10で得られた多値画像
Paは画素毎に逐次、比較ブロック20の遅延回路(第
1の変位手段)21と差分回路(差分演算手段)22へ
入力される。図3に一例を示す多値画像Paにおいて、
矩形で囲まれた領域(梨地模様で描かれる)は、例えば
中間の階調値を有する画像領域である。反復単位A、G
にハッチングで描かれる領域は、低い階調値を有する欠
陥候補、すなわち暗部として画像に現れる欠陥候補(黒
欠陥候補)を表している。反復単位Dに描かれる白抜き
の領域は、高い階調値を有する欠陥候補、すなわち明部
として画像に現れる欠陥候補(白欠陥候補)を表してい
る。検査の対象となる範囲(有効範囲)は、反復単位A
〜Gの範囲であるとする。
The multi-valued image Pa obtained by the image input block 10 is sequentially input to a delay circuit (first displacement means) 21 and a difference circuit (difference calculation means) 22 of a comparison block 20 for each pixel. In the multi-valued image Pa whose example is shown in FIG.
A region surrounded by a rectangle (drawn with a satin pattern) is, for example, an image region having an intermediate gradation value. Repeating units A, G
The hatched area indicates a defect candidate having a low gradation value, that is, a defect candidate (black defect candidate) that appears in an image as a dark portion. The white area drawn in the repeating unit D represents a defect candidate having a high gradation value, that is, a defect candidate (white defect candidate) that appears in the image as a bright part. The range to be tested (effective range) is the repeating unit A
GG.

【0014】遅延回路21は多値画像Paを1周期分遅
延させ、遅延多値画像(変位多値画像)Pbとして出力
する。差分回路22は、多値画像Paと遅延多値画像P
bの差分を演算し、差分多値画像として出力する。絶対
値回路(絶対値演算手段)23は差分多値画像の絶対値
を演算し、絶対多値画像として出力する。2値化回路2
4(第1の2値化手段)は、絶対多値画像の値を所定の
閾値(第1の閾値)と比較することにより2値化し、2
値画像(第1の2値画像)として出力する。2値化は、
例えば閾値よりも高い値を有する領域に値”1”を付与
し、そうでない領域に値”0”を付与することにより行
われる。ライン・ピクセルディレイ25は2値化回路2
4から出力される画像を、主走査線の所定ライン分遅延
させ、更に主走査方向Xに所定画素分遅延させて出力す
る遅延回路である。このライン・ピクセルディレイ25
は、マスク生成ブロック30より欠陥位置特定・欠陥種
別ブロック40へ入力される画像と、同一の画素におけ
る画像が入力されるように、欠陥位置特定・欠陥種別ブ
ロック40へ入力される時期を調整するために設けられ
ている。
The delay circuit 21 delays the multi-level image Pa by one cycle and outputs the delayed multi-level image (displaced multi-level image) Pb. The difference circuit 22 includes a multi-valued image Pa and a delayed multi-valued image P
The difference b is calculated and output as a difference multi-valued image. An absolute value circuit (absolute value calculating means) 23 calculates the absolute value of the differential multi-valued image and outputs it as an absolute multi-valued image. Binarization circuit 2
4 (first binarizing means) binarizes the value of the absolute multi-valued image by comparing it with a predetermined threshold (first threshold).
Output as a value image (first binary image). Binarization is
For example, this is performed by assigning a value “1” to an area having a value higher than the threshold and assigning a value “0” to an area other than the threshold. The line / pixel delay 25 is a binarization circuit 2
4 is a delay circuit that delays the image output from the pixel 4 by a predetermined number of main scanning lines and further delays the image by a predetermined number of pixels in the main scanning direction X. This line pixel delay 25
Adjusts the timing of input to the defect position identification / defect type block 40 such that an image at the same pixel as the image input to the defect position identification / defect type block 40 from the mask generation block 30 is input. It is provided for.

【0015】ライン・ピクセルディレイ25から出力さ
れる2値画像Pc(第1の2値画像)が、図3に示され
ている。2値画像Pcは、多値画像Paまたは遅延多値
画像Pbのいずれかにおける、欠陥候補に対応する部分
では、値”1”を有する(図3においてハッチングで描
かれている)。また、変化点に相当する矩形領域の輪郭
部分は、その一部分または全体において値”1”を有す
る(図3において実線で描かれている)。この輪郭部分
の画像は、欠陥候補とすべき画像以外の無用な画像部分
であり、欠陥の判定において誤判定を避けるために、除
去すべき画像部分である。
FIG. 3 shows a binary image Pc (first binary image) output from the line / pixel delay 25. The binary image Pc has a value “1” in a portion corresponding to a defect candidate in either the multi-valued image Pa or the delayed multi-valued image Pb (shown by hatching in FIG. 3). In addition, the outline of the rectangular area corresponding to the change point has a value “1” in a part or the whole (depicted by a solid line in FIG. 3). The image of the contour portion is an unnecessary image portion other than the image to be a defect candidate, and is an image portion to be removed in order to avoid erroneous determination in defect determination.

【0016】[3.マスク生成ブロック]マスク生成ブ
ロック30は、2値画像Pcにおける無用な画像部分を
除去するためのマスク画像Pmを作成する。多値画像P
aは比較ブロック20とともに、マスク生成ブロック3
0へも同時に入力される。入力された多値画像Paは、
まずラインメモリ31において、副走査方向Yに3画素
分展開される。エッジ抽出回路32(エッジ抽出手段)
は、ラインメモリ31で展開される3ライン分の多値画
像Paに、例えば同一出願人による特開平2−7956
6号公報、あるいは同じく同一出願人による特公平2−
39913号公報などに開示される、公知の空間フィル
タを作用させて、画像の空間上の変化を表現するエッジ
画像を得る。エッジ画像は、例えば多値画像Paの空間
的な変化率(微分)の大きさを表現する。すなわち、エ
ッジ画像は、多値画像Paの変化点において、その値の
変化が急峻であるほど大きな値を有する。従って、図3
に例示する多値画像Paにおける欠陥候補に対応する部
分の輪郭、及び矩形領域の輪郭において大きな値を有す
る。
[3. Mask Generation Block] The mask generation block 30 generates a mask image Pm for removing unnecessary image portions in the binary image Pc. Multi-valued image P
a is the mask generation block 3 together with the comparison block 20.
0 is also input at the same time. The input multi-valued image Pa is
First, in the line memory 31, three pixels are developed in the sub-scanning direction Y. Edge extraction circuit 32 (edge extraction means)
Is converted into a multi-valued image Pa for three lines developed in the line memory 31 by, for example, JP-A-2-7956 by the same applicant.
No. 6 or Japanese Patent Publication 2-
A known spatial filter disclosed in, for example, Japanese Patent No. 39913 or the like is applied to obtain an edge image expressing a spatial change of an image. The edge image represents, for example, the magnitude of the spatial change rate (derivative) of the multi-valued image Pa. That is, the edge image has a larger value at a change point of the multi-valued image Pa as the value changes more steeply. Therefore, FIG.
Has a large value in the outline of the portion corresponding to the defect candidate in the multi-valued image Pa and the outline of the rectangular area.

【0017】2値化回路33(第2の2値化手段)は、
エッジ画像の値と所定の閾値との比較を行うことによ
り、エッジ画像を2値化し、2値画像Pj(第2の2値
画像)を得る。従って2値画像Pjは、図3に示すよう
に欠陥候補の輪郭、及び矩形領域の輪郭において、値”
1”(実線で描かれる)を有する。
The binarizing circuit 33 (second binarizing means)
By comparing the value of the edge image with a predetermined threshold value, the edge image is binarized to obtain a binary image Pj (second binary image). Therefore, as shown in FIG. 3, the binary image Pj has the value "" in the outline of the defect candidate and the outline of the rectangular area.
1 "(drawn with solid lines).

【0018】遅延回路34(第2の変位手段)は、2値
画像Pjを1周期分遅延させ、遅延2値画像(変位2値
画像)Pkとして出力する。論理積回路(論理積演算手
段)35は、2値画像Pjと遅延2値画像Pkの論理積
を演算し、マスク画像Pmとして出力する。マスク画像
Pmは、2値画像Pjと遅延2値画像Pkの双方におい
て値が”1”である部分に限って、値”1”を有する。
このため、2値画像Pj、及び遅延2値画像Pkに現れ
ていた欠陥候補の輪郭に対応する画像は、マスク画像P
mにおいては消滅する。従って、マスク画像Pmは、多
値画像Paにおける変化点に対応する画像の中で、無用
な画像に相当する部分だけを表現する。すなわち図3の
例では、マスク画像Pmは、多値画像Paにおける矩形
の輪郭に相当する部分においてのみ、値”1”を有す
る。反転回路36はインバータを備えており、マスク画
像Pmの値を反転する。
The delay circuit 34 (second displacement means) delays the binary image Pj by one period and outputs it as a delayed binary image (displaced binary image) Pk. The logical product circuit (logical product calculation means) 35 calculates the logical product of the binary image Pj and the delayed binary image Pk, and outputs the result as a mask image Pm. The mask image Pm has a value “1” only in a portion where the value is “1” in both the binary image Pj and the delayed binary image Pk.
Therefore, the image corresponding to the contour of the defect candidate appearing in the binary image Pj and the delayed binary image Pk is the mask image P
It disappears at m. Therefore, the mask image Pm expresses only a portion corresponding to a useless image in an image corresponding to a change point in the multi-valued image Pa. That is, in the example of FIG. 3, the mask image Pm has a value “1” only in a portion corresponding to the rectangular outline in the multi-valued image Pa. The inversion circuit 36 includes an inverter, and inverts the value of the mask image Pm.

【0019】[4.欠陥位置特定・欠陥種別ブロック]
論理積回路41(マスク手段)には、マスク画像Pmの
反転画像と2値画像Pcの双方が入力される。論理積回
路41は、これらの画像の論理積を演算し、被マスク画
像Pdとして出力する。言い替えると論理積回路41
は、2値画像Pcにおいて値”1”を有する部分から、
マスク画像Pmにおいて値”1”を有する部分を除去す
る。従って、被マスク画像Pdでは、2値画像Pcにお
ける無用な画像部分が除去されており、被マスク画像P
dは欠陥候補に対応する部分においてのみ、値”1”を
有する。この被マスク画像Pdに基づいて、欠陥候補の
位置及び種類の特定が行われる。
[4. Defect location identification / defect type block]
Both the inverted image of the mask image Pm and the binary image Pc are input to the AND circuit 41 (mask means). The logical product circuit 41 calculates the logical product of these images and outputs the result as the masked image Pd. In other words, the AND circuit 41
From the portion having the value “1” in the binary image Pc,
The portion having the value “1” in the mask image Pm is removed. Therefore, in the masked image Pd, unnecessary image portions in the binary image Pc are removed, and the masked image Pd is removed.
d has the value “1” only in the portion corresponding to the defect candidate. The position and type of the defect candidate are specified based on the masked image Pd.

【0020】<4−1.欠陥候補の位置特定>被マスク
画像Pdでは、図3にも示されるように1個の欠陥候補
が2つの反復単位にわたって重複して現れる。そこで、
以下に記述する原理に基づいて、欠陥候補の位置特定が
行われる。
<4-1. In the position identification of defect candidate> masked image Pd, as shown in FIG. 3, one defect candidate appears over two repetition units. Therefore,
The position of a defect candidate is specified based on the principle described below.

【0021】図4は、この欠陥候補の位置特定の原理を
示す模式図である。図4において、画像P、Q、Rは、
それぞれ周期性パターンの互いに隣接する1反復単位の
多値画像Paを表している。画像Pには黒欠陥候補(ハ
ッチングで図示される)、画像Qには白欠陥候補(白抜
きで図示される)と黒欠陥候補の双方、画像Rには白欠
陥候補がそれぞれ存在する。これらの画像の図におい
て、矩形で囲まれた領域(梨地模様で描かれる)は、中
間の階調値を有する画像領域を表現する。画像Pと画像
Qから得られる差分多値画像S、及び画像Qと画像Rか
ら得られる差分多値画像Tから、それぞれ得られる2値
画像Pcが画像Uおよび画像Vである。ここでは、説明
の簡略化を意図して、無用な画像部分はないものとし、
マスクを施す過程についての説明を省く。図4に示され
るように、画像Qに現れた欠陥候補は、画像Uと画像V
の双方に現れる。そこで、これらの画像Uと画像Vの論
理積を演算することにより、元の画像Qに存在した欠陥
候補のみが現れる画像Wを得る。以上の操作を反復単位
毎に繰り返すことにより、欠陥候補の位置を特定するこ
とができる。
FIG. 4 is a schematic diagram showing the principle of specifying the position of the defect candidate. In FIG. 4, images P, Q, and R are
Each represents a multi-level image Pa of one repetition unit adjacent to each other in the periodic pattern. The image P has both a black defect candidate (shown by hatching), the image Q has both a white defect candidate (shown by white) and a black defect candidate, and the image R has a white defect candidate. In the figures of these images, a region surrounded by a rectangle (drawn in a satin pattern) represents an image region having an intermediate gradation value. The binary images Pc obtained from the differential multivalued image S obtained from the images P and Q and the differential multivalued image T obtained from the images Q and R are the images U and V, respectively. Here, for the sake of simplicity, it is assumed that there are no unnecessary image parts,
A description of the process of applying the mask is omitted. As shown in FIG. 4, the defect candidates appearing in the image Q are the image U and the image V
Appear on both sides. Therefore, by calculating the logical product of these images U and V, an image W in which only the defect candidates existing in the original image Q appear is obtained. By repeating the above operation for each repetition unit, the position of the defect candidate can be specified.

【0022】この原理に基づいて欠陥位置特定・欠陥種
別ブロック40では、まず遅延回路42によって、被マ
スク画像Pdに1周期分の遅延が施され、遅延2値画像
Peが得られる。つづいて、論理積回路43により被マ
スク画像Pdと遅延2値画像Peとの論理積が演算さ
れ、欠陥候補画像Pfが得られる。この欠陥候補画像P
fが、前記の画像Wに相当する。
In the defect position specifying / defect type block 40 based on this principle, first, the masked image Pd is delayed by one cycle by the delay circuit 42 to obtain a delayed binary image Pe. Subsequently, the logical product of the masked image Pd and the delayed binary image Pe is calculated by the logical product circuit 43, and the defect candidate image Pf is obtained. This defect candidate image P
f corresponds to the image W described above.

【0023】ところで、図4から理解されるように、画
像Qの欠陥候補を特定するためには、画像Pと画像Rが
必要である。従って、この原理のみでは最初の反復単位
と最後の反復単位の双方の画像に現れる欠陥候補は、そ
の位置を特定することができない。位置特定におけるこ
の欠落部分を補完するためには、次のような操作が更に
追加的に実行されればよい。すなわち、最初の反復単位
における欠陥候補を特定するためには、画像Vの反転画
像と画像Uとの論理積を演算するとよい。それにより得
られる画像には、最初の反復単位における欠陥候補が現
れる。この原理に基づいて欠陥位置特定・欠陥種別ブロ
ック40では、反転回路44により被マスク画像Pdが
反転され、論理積回路45によりこの反転画像と遅延2
値画像Peとの論理積が演算され、欠陥候補画像Pgが
得られる。欠陥候補画像Pgには、元の多値画像Paの
最初の反復単位Aにおける欠陥候補が現れる。
As understood from FIG. 4, the image P and the image R are required to specify the defect candidate of the image Q. Therefore, it is not possible to specify the position of a defect candidate appearing in the image of both the first repeating unit and the last repeating unit using only this principle. In order to compensate for the missing part in the position specification, the following operation may be additionally performed. That is, in order to specify a defect candidate in the first repetition unit, a logical product of the inverted image of the image V and the image U may be calculated. In the resulting image, defect candidates in the first repetition unit appear. In the defect position specifying / defect type block 40 based on this principle, the masked image Pd is inverted by the inverting circuit 44, and the inverted image and the delay 2 are inverted by the AND circuit 45.
The logical product with the value image Pe is calculated, and a defect candidate image Pg is obtained. In the defect candidate image Pg, a defect candidate in the first repeating unit A of the original multi-valued image Pa appears.

【0024】また、最後の反復単位における欠陥候補を
特定するためには、画像Uの反転画像と画像Vとの論理
積を演算するとよい。それにより得られる画像には、最
後の反復単位における欠陥候補が現れる。この原理に基
づいて欠陥位置特定・欠陥種別ブロック40では、反転
回路46により遅延2値画像Peが反転され、論理積回
路47によりこの反転画像と被マスク画像Pdとの論理
積が演算され、欠陥候補画像Phが得られる。欠陥候補
画像Phには、元の多値画像Paの最後の反復単位Gに
おける欠陥候補が現れる。
In order to specify a defect candidate in the last repetition unit, a logical product of the inverted image of the image U and the image V may be calculated. In the resulting image, defect candidates in the last repeat unit appear. Based on this principle, in the defect position specifying / defect type block 40, the delayed binary image Pe is inverted by the inverting circuit 46, and the logical product of the inverted image and the image to be masked Pd is calculated by the logical product circuit 47, and the defect is calculated. A candidate image Ph is obtained. In the defect candidate image Ph, a defect candidate in the last repeating unit G of the original multi-valued image Pa appears.

【0025】これらの欠陥候補画像Pg及びPhは、被
マスク画像Pdと遅延2値画像Peの双方が出力された
後でないと演算されないので、最初の反復単位Aの欠陥
候補の特定結果と2番目の反復単位Bの欠陥候補の特定
結果とは同時に出力され、最後の反復単位Gの欠陥候補
の特定結果とその1つ前の反復単位Fの欠陥候補の特定
結果とは同時に出力される。言い替えると、欠陥候補画
像Pf、Pg、及びPhは、同一の反復単位に対応した
画像が互いに同時に得られる。そこで、欠陥位置特定・
欠陥種別ブロック40では、遅延回路48により欠陥候
補画像Pfを1周期分遅延させ、遅延回路49により欠
陥候補画像Phを2周期分遅延させる。そして、選択回
路50により、適宜これらの欠陥候補画像Pf、Pg、
及びPhを反復単位毎に選択して、欠陥候補画像Piを
得る。すなわち、選択回路50は最初の反復単位Aに対
しては、欠陥候補画像Pgを選択し、最後の反復単位G
に対しては欠陥候補画像Phを選択し、それらの間の反
復単位B〜Fに対しては、欠陥候補画像Pfを選択す
る。その結果、欠陥候補画像Piは、最初の反復単位か
ら最後の反復単位Gまでの全ての反復単位における欠陥
候補を、しかも重複なく表現する。
Since these defect candidate images Pg and Ph are calculated only after both the masked image Pd and the delayed binary image Pe are output, the result of identifying the defect candidate of the first repetition unit A and the second And the result of specifying the defect candidate of the last repetition unit G and the result of specifying the defect candidate of the immediately preceding repetition unit F are simultaneously output. In other words, as the defect candidate images Pf, Pg, and Ph, images corresponding to the same repeating unit are obtained at the same time. Therefore, defect location identification and
In the defect type block 40, the delay circuit 48 delays the defect candidate image Pf by one period, and the delay circuit 49 delays the defect candidate image Ph by two periods. Then, these defect candidate images Pf, Pg,
And Ph for each repetition unit to obtain a defect candidate image Pi. That is, the selection circuit 50 selects the defect candidate image Pg for the first repeating unit A, and selects the last repeating unit G
, The defect candidate image Ph is selected, and for the repetition units BF between them, the defect candidate image Pf is selected. As a result, the defect candidate image Pi expresses the defect candidates in all the repeating units from the first repeating unit to the last repeating unit G without duplication.

【0026】<4−2.欠陥候補の種類特定>欠陥候補
画像Piは、黒欠陥候補、及び白欠陥候補の双方の欠陥
候補を含んでおり、そのままではこれらの中の何れであ
るかを特定することはできない。以下に、欠陥候補画像
Piに基づいて、欠陥の種類を特定する原理について記
述する。
<4-2. Determining the Type of Defect Candidate> The defect candidate image Pi includes both the defect candidates, the black defect candidate and the white defect candidate, and it is not possible to identify which of them is the same. The principle of specifying the type of defect based on the defect candidate image Pi will be described below.

【0027】図1のブロック図における比較ブロック2
0では、差分回路22において多値画像Paと遅延多値
画像Pbとの間の比較が行われており、それらの画像の
値、すなわち明るさの度合によって、得られる差分多値
画像では、その符号が正あるいは負となる。この差分多
値画像における符号を記憶しておき、この符号と欠陥候
補画像Piの双方を参照することにより、欠陥候補の種
類を特定することができる。
Comparison block 2 in the block diagram of FIG.
At 0, the comparison between the multi-valued image Pa and the delayed multi-valued image Pb is performed in the difference circuit 22, and the difference multi-valued image obtained by the value of those images, that is, the degree of brightness, The sign is positive or negative. The type of the defect candidate can be specified by storing the code of the differential multi-valued image and referring to both the code and the defect candidate image Pi.

【0028】図5は、この欠陥候補の種類特定の原理を
示す模式図である。図5において、画像P、Q、R、
S、及びTは、それぞれ図4に示される同一符号の画像
と同一の画像を表している。画像S及びTは、それぞれ
1周期前の反復単位から次の周期の反復単位を引算して
得られる。このため、前の周期の反復単位における黒欠
陥候補に対応する画像部分ではその値が負となり、白欠
陥候補に対応する画像部分では正となる。また、逆に次
の周期の反復単位における黒欠陥候補に対応する画像部
分では値が正となり、白欠陥候補に対応する画像部分で
は値が負となる。画像Sにおける負符号を有する部分が
値”1”となるように2値化することにより、負符号を
表現する符号画像Lが得られる。同様に画像Tにおける
負符号を有する部分が値”1”となるように2値化され
た符号画像Mが得られる。更に、符号画像Mの反転画像
と符号画像Lとの論理積を演算することにより、画像N
を得る。この画像Nと画像W(図4)との論理積を演算
することにより、画像Qに現れる白欠陥候補のみを表現
する画像が得られる。以上の操作を各反復単位毎に繰り
返すことにより、白欠陥候補のみの位置を特定すること
ができる。すなわち、欠陥候補の位置に加えて、その種
類の特定を行うことができる。
FIG. 5 is a schematic diagram showing the principle of specifying the type of the defect candidate. In FIG. 5, images P, Q, R,
S and T each represent the same image as the image of the same reference numeral shown in FIG. The images S and T are obtained by subtracting the repetition unit of the next cycle from the repetition unit of one cycle before. Therefore, the value is negative in the image portion corresponding to the black defect candidate in the repetition unit of the previous cycle, and is positive in the image portion corresponding to the white defect candidate. Conversely, the value is positive in the image portion corresponding to the black defect candidate in the next cycle repetition unit, and negative in the image portion corresponding to the white defect candidate. By performing binarization so that a portion having a negative sign in the image S has a value “1”, a code image L expressing a negative sign is obtained. Similarly, a binarized code image M is obtained such that a portion having a negative sign in the image T has a value “1”. Further, by calculating the logical product of the inverted image of the code image M and the code image L, the image N
Get. By calculating the logical product of the image N and the image W (FIG. 4), an image expressing only the white defect candidates appearing in the image Q is obtained. By repeating the above operation for each repetition unit, the position of only the white defect candidate can be specified. That is, the type of the defect candidate can be specified in addition to the position of the defect candidate.

【0029】この原理に基づいて欠陥位置特定・欠陥種
別ブロック40では、まず差分回路22で得られる差分
多値画像において符号が負である画像部分が値”1”と
なるように2値化された符号画像を差分回路22より得
る。ライン・ピクセルディレイ51によりこの符号画像
に所定ライン分及び所定画素分の遅延を施すことによ
り、欠陥候補画像Piとの時期の調整を行う。更に、時
期調整された符号画像は反転回路52により反転され、
論理積回路53により欠陥候補画像Piとの論理積が演
算される。演算により得られた画像PW は、白欠陥候補
のみを表現する。
Based on this principle, the defect position specifying / defect type block 40 first binarizes the difference multi-valued image obtained by the difference circuit 22 so that the image portion having a negative sign has the value "1". The obtained encoded image is obtained from the difference circuit 22. The code image is delayed by a predetermined line and a predetermined pixel by the line / pixel delay 51 to adjust the timing with the defect candidate image Pi. Further, the code image whose time has been adjusted is inverted by the inversion circuit 52,
The logical product with the defect candidate image Pi is calculated by the logical product circuit 53. The image PW obtained by the operation represents only white defect candidates.

【0030】一方、反転回路52を介することなく、ラ
イン・ピクセルディレイ51から出力される符号画像と
欠陥候補画像Piとの論理積を、論理積回路54により
演算することにより、黒欠陥候補のみを表現する画像P
B が得られる。これら双方の画像は欠陥検出ブロック6
0へ供給される。
On the other hand, the logical product of the code image output from the line / pixel delay 51 and the defect candidate image Pi is calculated by the logical product circuit 54 without passing through the inversion circuit 52, so that only the black defect candidate is calculated. Image P to be expressed
B is obtained. These two images are displayed in the defect detection block 6
0.

【0031】[5.欠陥検出ブロック]欠陥検出ブロッ
ク60には、画像PW とPB のそれぞれに対応して2系
統のラインメモリ61a、61bと、同じく2系統の欠
陥検出回路62a、62bが設けられている。図6は、
ラインメモリ61aと欠陥検出回路62aの内部構造を
示すブロック図である。ラインメモリ61b及び欠陥検
出回路62bも、これらと同様の構造を有している。
[5. Defect Detection Block] The defect detection block 60 is provided with two systems of line memories 61a and 61b and two systems of defect detection circuits 62a and 62b corresponding to the images PW and PB, respectively. FIG.
FIG. 3 is a block diagram showing an internal structure of a line memory 61a and a defect detection circuit 62a. The line memory 61b and the defect detection circuit 62b also have the same structure.

【0032】ラインメモリLM1、LM2は、画像PW
を1ライン分遅延させ、DフリップフロップDF1〜D
F9は、クロック信号に同期して1画素ずつ画像を遅延
させる。従って、DフリップフロップDF1〜DF9の
出力は、主走査方向Xおよび副走査方向Yに3画素×3
画素の範囲で、画像PW を2次元的に展開する。論理積
回路AND1は、これらの3画素×3画素の中の2画素
×2画素を選んでそれらの画像の論理積を演算する。論
理積回路AND1は、入力される4画素の画像のいずれ
もが、値”1”を有するときにのみ、値”1”を出力す
る。従って、欠陥候補がこれらの4画素を包含し得る大
きさであるときには、論理積回路AND1は走査の過程
のある時点において値”1”を出力する。すなわち、論
理積回路AND1は欠陥候補の中から、2画素×2画素
以上の大きさを持った欠陥を検出する。同じく、論理積
回路AND2は、3画素×3画素以上の大きさの欠陥を
検出する。これらの論理積回路AND1、AND2の出
力は、選択回路SELへ入力される。選択回路SELに
は、同時に1画素分の画像も入力される。この画像は、
1画素の大きさ以上の欠陥の検出信号に相当する。
The line memories LM1 and LM2 store the image PW
Are delayed by one line, and D flip-flops DF1 to DF
F9 delays the image one pixel at a time in synchronization with the clock signal. Accordingly, the outputs of the D flip-flops DF1 to DF9 are 3 pixels × 3 in the main scanning direction X and the sub-scanning direction Y.
The image PW is two-dimensionally developed in the range of the pixel. The AND circuit AND1 selects 2 pixels × 2 pixels from the 3 pixels × 3 pixels and calculates the logical product of those images. The AND circuit AND1 outputs the value “1” only when any of the input four-pixel images has the value “1”. Therefore, when the defect candidate is large enough to include these four pixels, the AND circuit AND1 outputs a value “1” at a certain point in the scanning process. That is, the AND circuit AND1 detects a defect having a size of 2 pixels × 2 pixels or more from the defect candidates. Similarly, the AND circuit AND2 detects a defect having a size of 3 pixels × 3 pixels or more. Outputs of these AND circuits AND1 and AND2 are input to the selection circuit SEL. The image for one pixel is also input to the selection circuit SEL at the same time. This image is
This corresponds to a detection signal of a defect having a size of one pixel or more.

【0033】選択回路SELは、マイクロプロセッサ部
70から送信される選択信号に基づいて、これらの3入
力の中から1つを選択し、欠陥情報記憶回路MEMへ記
憶させる。欠陥情報記憶回路MEMには、画素毎の走査
に同期して、マイクロプロセッサ部70から座標信号が
同時に入力される。このため、欠陥情報記憶回路MEM
は、1画素以上、2画素×2画素以上、又は3画素×3
画素以上の大きさを有する欠陥をその座標と共に記憶す
る。
The selection circuit SEL selects one of these three inputs based on a selection signal transmitted from the microprocessor unit 70, and stores it in the defect information storage circuit MEM. A coordinate signal is simultaneously input to the defect information storage circuit MEM from the microprocessor unit 70 in synchronization with scanning for each pixel. Therefore, the defect information storage circuit MEM
Is 1 pixel or more, 2 pixels × 2 pixels or more, or 3 pixels × 3
A defect having a size equal to or larger than a pixel is stored together with its coordinates.

【0034】[6.変形例]この実施例では、欠陥検出
回路にDフリップフロップを9個配列しているが、Dフ
リップフロップの数を更に増やすことにより、更に大き
な欠陥サイズを設定することができる。また、任意のD
フリップフロップの出力を選択して、それらの論理積を
演算することにより、任意の形状の欠陥を検出すること
ができる。
[6. Modification] In this embodiment, nine D flip-flops are arranged in the defect detection circuit. However, a larger defect size can be set by further increasing the number of D flip-flops. Also, any D
By selecting the outputs of the flip-flops and calculating their logical product, a defect of any shape can be detected.

【0035】また、上記の実施例では、欠陥候補画像が
白欠陥候補と黒欠陥候補とに対応した2系統に分けら
れ、同じく2系統のラインメモリ61a、61b及び欠
陥検出回路62a、62bで、それぞれ処理された。ラ
インメモリ及び欠陥検出回路を1系統にして、欠陥候補
画像Piをこれらで処理した後に、符号画像を作用させ
て、白欠陥と黒欠陥に対応する2系統に分離するように
構成してもよい。
In the above embodiment, the defect candidate image is divided into two systems corresponding to the white defect candidate and the black defect candidate, and the two systems of line memories 61a and 61b and the defect detection circuits 62a and 62b Each was processed. The line memory and the defect detection circuit may be configured as one system, and after processing the defect candidate image Pi with these, the code image may be applied to separate the two systems corresponding to the white defect and the black defect. .

【0036】また、上記実施例におけるエッジ抽出回路
32で得られたエッジ画像に、強調処理を施してもよ
い。
The edge image obtained by the edge extracting circuit 32 in the above embodiment may be subjected to an emphasis process.

【0037】[0037]

【発明の効果】この発明における検査装置では、周期性
パターンを有する検査対象物の多値画像をもとに得られ
るマスク画像を作用させることにより、欠陥候補を表現
する2値画像から無用な画像部分が除去され、欠陥候補
に相当する被マスク画像のみが抽出される。この被マス
ク画像に基づいて、欠陥候補の中から欠陥の選別を行う
ことにより、欠陥の検出が行われる。このためこの発明
の検査装置は、欠陥を誤りなく検査し得る効果を有して
いる。
According to the inspection apparatus of the present invention, a mask image obtained on the basis of a multi-valued image of an inspection object having a periodic pattern is applied, so that an unnecessary image can be converted from a binary image representing a defect candidate. The part is removed, and only the masked image corresponding to the defect candidate is extracted. Based on the masked image, a defect is selected from the defect candidates to detect the defect. Therefore, the inspection apparatus of the present invention has an effect that the defect can be inspected without error.

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

【図1】比較ブロック、マスク生成ブロック、欠陥位置
特定・欠陥種別ブロック、及び欠陥検出ブロックの内部
構成を示すブロック図である。
FIG. 1 is a block diagram showing an internal configuration of a comparison block, a mask generation block, a defect position identification / defect type block, and a defect detection block.

【図2】この発明の実施例における検査装置の全体構成
を示すブロック図である。
FIG. 2 is a block diagram showing an overall configuration of the inspection device according to the embodiment of the present invention.

【図3】処理の過程途上における画像Pa〜Pmを示す
模式図である。
FIG. 3 is a schematic diagram showing images Pa to Pm in the course of processing.

【図4】この欠陥候補の位置特定の原理を示す模式図で
ある。
FIG. 4 is a schematic diagram showing the principle of specifying the position of the defect candidate.

【図5】欠陥候補の種類特定の原理を示す模式図であ
る。
FIG. 5 is a schematic diagram showing the principle of specifying the type of a defect candidate.

【図6】ラインメモリ61aと欠陥検出回路62aの内
部構造を示すブロック図である。
FIG. 6 is a block diagram showing an internal structure of a line memory 61a and a defect detection circuit 62a.

【図7】従来装置による検査の原理を示す説明図であ
る。
FIG. 7 is an explanatory view showing the principle of inspection by a conventional apparatus.

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

10 画像入力ブロック(画像入力手段) 21 遅延回路(第1の変位手段) 22 差分回路(差分演算手段) 23 絶対値回路(絶対値演算手段) 24 2値化回路(第1の2値化手段) 32 エッジ抽出回路(エッジ抽出手段) 33 2値化回路(第2の2値化手段) 34 遅延回路(第2の変位手段) 35 論理積回路(論理積演算手段) 41 論理積回路(マスク手段) Pa 多値画像 Pb 遅延多値画像(変位多値画像) Pc 2値画像(第1の2値画像) Pd 被マスク画像 Pj 2値画像(第2の2値画像) Pk 遅延2値画像(変位2値画像) Pm マスク画像 Reference Signs List 10 image input block (image input means) 21 delay circuit (first displacement means) 22 difference circuit (difference calculation means) 23 absolute value circuit (absolute value calculation means) 24 binarization circuit (first binarization means) 32) Edge extraction circuit (edge extraction means) 33 Binarization circuit (second binarization means) 34 Delay circuit (second displacement means) 35 AND circuit (AND operation means) 41 AND circuit (mask) Means) Pa multivalued image Pb delayed multivalued image (displacement multivalued image) Pc binary image (first binary image) Pd masked image Pj binary image (second binary image) Pk delayed binary image (Displacement binary image) Pm mask image

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一定の周期でパターンが反復する検査対
象物における欠陥を検査する装置であって、(a)前記
検査対象物の明度に応じた階調を有する多値画像を得る
画像入力手段と、(b)前記多値画像を、前記パターン
が反復する方向に前記周期の整数倍分ずらした変位多値
画像を得る第1の変位手段と、(c)前記多値画像と前
記変位多値画像との差を演算して差分多値画像を得る差
分演算手段と、(d)前記差分多値画像の絶対値を演算
して絶対多値画像を得る絶対値演算手段と、(e)前記
絶対多値画像における値を所定の第1の閾値と比較し、
その比較結果に応じて2値化することにより、第1の2
値画像を得る第1の2値化手段と、(f)前記画像入力
手段で得た多値画像におけるエッジ部分を表現するエッ
ジ画像を得るエッジ抽出手段と、(g)前記エッジ画像
における値を所定の第2の閾値と比較し、その比較結果
に応じて2値化することにより、第2の2値画像を得る
第2の2値化手段と、(h)前記第2の2値画像を、前
記パターンが反復する方向に前記周期の整数倍分ずらし
た変位2値画像を得る第2の変位手段と、(i)前記第
2の2値画像と前記変位2値画像との論理積を演算し、
マスク画像を得る論理積演算手段と、(j)前記マスク
画像の反転画像と前記第1の2値画像との論理積を演算
し、被マスク画像を得るマスク手段と、(k)前記被マ
スク画像に基づいて前記検査対象物における欠陥を検出
する検出手段と、を備える周期性パターンの検査装置。
1. An apparatus for inspecting a defect in an inspection object in which a pattern is repeated at a constant period, wherein: (a) an image input means for obtaining a multi-valued image having a gradation corresponding to the brightness of the inspection object (B) first displacement means for obtaining a displaced multi-valued image obtained by displacing the multi-valued image by an integral multiple of the period in a direction in which the pattern is repeated; (E) a difference calculating means for calculating a difference from the value image to obtain a differential multi-valued image; (d) an absolute value calculating means for calculating an absolute value of the differential multi-valued image to obtain an absolute multi-valued image; Comparing the value in the absolute multi-valued image with a predetermined first threshold,
By binarizing according to the comparison result, the first 2
First binarization means for obtaining a value image, (f) edge extraction means for obtaining an edge image representing an edge portion in the multi-valued image obtained by the image input means, and (g) a value in the edge image. A second binarizing means for comparing with a predetermined second threshold value and binarizing according to the comparison result to obtain a second binary image; and (h) the second binary image And (i) a logical product of the second binary image and the displaced binary image. , And
AND operation means for obtaining a mask image; (j) mask means for calculating an AND operation between an inverted image of the mask image and the first binary image to obtain an image to be masked; A detection unit for detecting a defect in the inspection object based on an image.
JP30820892A 1992-10-21 1992-10-21 Inspection equipment for periodic patterns Expired - Lifetime JP2710527B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30820892A JP2710527B2 (en) 1992-10-21 1992-10-21 Inspection equipment for periodic patterns

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30820892A JP2710527B2 (en) 1992-10-21 1992-10-21 Inspection equipment for periodic patterns

Publications (2)

Publication Number Publication Date
JPH06129992A JPH06129992A (en) 1994-05-13
JP2710527B2 true JP2710527B2 (en) 1998-02-10

Family

ID=17978225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30820892A Expired - Lifetime JP2710527B2 (en) 1992-10-21 1992-10-21 Inspection equipment for periodic patterns

Country Status (1)

Country Link
JP (1) JP2710527B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4021084B2 (en) * 1998-12-28 2007-12-12 株式会社日立製作所 Electron microscope and inspection method
WO2003046662A1 (en) * 2001-11-27 2003-06-05 Asml Netherlands B.V. Imaging apparatus
JP2004085348A (en) * 2002-08-27 2004-03-18 Dainippon Printing Co Ltd Inspection apparatus and inspection method for three color patterns
JP4079841B2 (en) * 2003-06-30 2008-04-23 オリンパス株式会社 Defect display device
JP2007071861A (en) * 2005-08-12 2007-03-22 Micronics Japan Co Ltd Method and device for detecting defect
JP6675433B2 (en) * 2018-04-25 2020-04-01 信越化学工業株式会社 Defect classification method, photomask blank sorting method, and mask blank manufacturing method
JP2022159652A (en) 2021-04-05 2022-10-18 信越化学工業株式会社 Defect inspection device, defect inspection method, and method for manufacturing photomask blank

Also Published As

Publication number Publication date
JPH06129992A (en) 1994-05-13

Similar Documents

Publication Publication Date Title
JP3132565B2 (en) Defect inspection method and apparatus
JPH01224881A (en) Pattern inspecting device
JP2710527B2 (en) Inspection equipment for periodic patterns
JP2005121546A (en) Defect inspection method
JP2005165387A (en) Method and device for detecting stripe defective of picture and display device
JPH1114334A (en) Defect detecting method and device of netset or wired glass
JP3160743B2 (en) LCD panel defect inspection equipment
JP2002296192A (en) Method for inspecting flaw using color illumination
JPH06109446A (en) Inspection apparatus for wiring pattern
JP2502854B2 (en) Wiring pattern inspection device
JP2006035505A (en) Method and device for inspecting printed matter
JP2006145228A (en) Unevenness defect detecting method and unevenness defect detector
JPS62212506A (en) Method for detecting flaw
JP4474006B2 (en) Inspection device
JPS5816837B2 (en) pattern detection device
JPH02108167A (en) Optical inspecting device
JP2529505B2 (en) Wiring pattern inspection device
JPH0224323B2 (en)
JPH0224322B2 (en)
JP2819905B2 (en) Wiring pattern inspection equipment
JP2676990B2 (en) Wiring pattern inspection equipment
JP2819916B2 (en) Wiring pattern inspection equipment
JP2023024148A (en) Image processing apparatus, image processing method, and image processing program
JPH03252546A (en) Wiring pattern inspection device
JPH01150987A (en) Method for recognizing shape