Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3545864B2 - Pattern defect inspection equipment - Google Patents
[go: Go Back, main page]

JP3545864B2 - Pattern defect inspection equipment - Google Patents

Pattern defect inspection equipment Download PDF

Info

Publication number
JP3545864B2
JP3545864B2 JP00948396A JP948396A JP3545864B2 JP 3545864 B2 JP3545864 B2 JP 3545864B2 JP 00948396 A JP00948396 A JP 00948396A JP 948396 A JP948396 A JP 948396A JP 3545864 B2 JP3545864 B2 JP 3545864B2
Authority
JP
Japan
Prior art keywords
pattern
defective
data
image
density
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 - Fee Related
Application number
JP00948396A
Other languages
Japanese (ja)
Other versions
JPH09193515A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP00948396A priority Critical patent/JP3545864B2/en
Publication of JPH09193515A publication Critical patent/JPH09193515A/en
Application granted granted Critical
Publication of JP3545864B2 publication Critical patent/JP3545864B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Closed-Circuit Television Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理を用いて、印刷パターンにおける欠け、にじみ、汚れ等の欠陥の検査を行うパターン欠陥検査装置に関するものである。
【0002】
【従来の技術】
パターン欠陥検査装置の従来例を図4,図5に基づいて説明する。
図4において、位置決めテーブル1上に載置された検査対象物2の上側方に照明手段3が設置され、検査対象物2の上側には撮像用のテレビカメラ5がテレビカメラ可動支持部4に支持されて設けられている。操作盤及び主コントローラからの指令により、判定制御手段6を介して、テレビカメラ5を制御するテレビカメラ制御手段7が作動され、テレビカメラ5の制御が行われる。窓枠制御手段8は、検査対象物2に応じて処理範囲を任意に設定する窓枠を出力する。A/D変換手段9は、テレビカメラ5から入力された映像信号をA/D変換して濃淡画像データとする。点線で囲まれた部分のパターン欠陥検査制御部10は、任意の2値化レベルをしきい値として、濃淡画像データを2値化画像データに変換する2値化処理手段41と、パターン部分の画像を切り出すパターン切り出し処理手段42と、パターン切り出し手段42により求められた良品パターンの画像データを予め記憶しておく良品画像記憶手段43と、パターン切り出し画像と良品画像との差分により良品との比較を行う良品比較処理手段44と、前記良品比較処理手段44によって差分2値化画像データを2値化連続画像領域毎に番号付けをするラベリング処理手段45と、ラベリング処理手段45により番号付けされた前記2値化連続画像領域毎に面積を算出する面積算出処理手段46と、各2値化連続画像領域毎に算出された面積をしきい値処理してパターン欠陥判定を行い、しきい値以上の面積を有する2値化連続画像領域をパターン欠陥と判定し、しきい値未満の面積を有する2値化連続画像領域はパターン欠陥ではないと判定し、その結果を主コントローラに送出するパターン欠陥判断手段47とを有する。
【0003】
図5は、上記従来例の動作を示すフローチャートである。
ステップ#21において、パターン欠陥検査制御部10の2値化処理手段41が、窓枠制御手段8が出力した窓枠に基づいて、A/D変換手段9からの濃淡画像データを2値化処理して、2値化画像データに変換し、ステップ#22に進む。
【0004】
ステップ#22において、パターン切り出し処理手段42が、前記2値化画像データにおけるパターン部分の中心位置、X方向長さ、Y方向長さの特徴データを算出することにより、パターン部分の画像を切り出して、ステップ#23に進む。
ステップ#23において、良品画像記憶手段43により予め登録しておいた良品画像をパターン切り出し画像と比較することにより差分2値画像を算出して、ステップ#24に進む。
【0005】
ステップ#24において、ラベリング処理手段45が、前記差分2値画像データにおける2値化連続画像領域毎に番号を付け、ステップ#25に進む。
ステップ#25において、面積算出処理手段46が、番号付けされた前記2値化連続画像領域毎に面積を算出し、ステップ#26に進む。
ステップ#26において、パターン欠陥判断手段47が、ステップ#25で算出された2値化連続画像領域毎の面積をしきい値と比較し、その面積がしきい値以上であれば、パターン欠陥であると判断して、ステップ#27に進み、その面積がしきい値未満であればパターン欠陥でないと判断して終了する。
【0006】
ステップ#27において、パターン欠陥判断手段47が、パターン欠陥であるとの判定結果を出力する。
【0007】
【発明が解決しようとする課題】
しかし、上記の従来例では、2値画像の比較を基準として欠陥検出を行っているので、濃度変化が小さくて微妙な欠陥の検出が困難であったり、また、パターンの輪郭付近における欠陥検出も困難であるという問題を有する。
本発明は、上記の問題点を解決し、濃度変化が小さくて微小な欠陥を正確に検出し、パターンの輪郭付近においても正確に欠陥を判断できるパターン欠陥検査装置を提供するものである。
【0008】
【課題を解決するための手段】
本発明のパターン欠陥検査装置は、上記課題を解決するために、撮像手段により撮像された被検査物の映像信号をA/D変換して濃淡画像データとするA/D変換手段と、濃淡画像データを記憶する画像記憶手段と、前記濃淡データにおけるパターン部分と背景部分の代表値を検出するパターン濃度検出手段と、前記濃淡データにおけるパターン部分の特徴データを算出するパターン特徴抽出手段と、パターン部分の画像を切り出すパターン切り出し処理手段と、良品パターンの形状データを予め記憶させておく良品形状記憶手段と、パターン特徴抽出手段により求められた良品パターンの特徴データを予め記憶しておく良品特徴記憶手段と、検査対象物のパターン特徴データと良品特徴データに基づいて、良品形状データを検査対象物の状態に合わせるための補正データを算出する良品形状補正データ算出手段と、前記良品形状補正データ算出手段により算出される補正データと前記パターン濃度抽出手段により得られる濃度データを基に良品形状データから良品画像を生成する良品画像生成手段と、パターン切り出し画像と生成良品画像との差分により良品との比較を行う良品比較手段と、前記良品比較手段により得られた差分濃淡画像データを2値化画像データに変換する2値化処理手段と、前記2値化画像データを2値化連続画像領域毎に番号付けをするラベリング処理手段と、前記2値化連続画像領域毎に、前記記憶手段に記憶された濃淡画像データと前記2値化処理手段による2値画像データとに基づいて、複数の特徴量を求める複数特徴量算出手段と、前記複数特徴量を用いて欠陥判断結果を出力するパターン欠陥判断手段とを有することを特徴とする。
【0009】
また、本発明の欠陥検査装置は、良品画像生成手段が、良品形状補正データ算出手段により算出される補正データとパターン濃度抽出手段により得られる濃度データを基に良品画像を生成する際に、良品形状データの輪郭部分を検査対象物のパターンの輪郭部分の濃淡変化に応じて形状補正し、濃淡画像として良品画像を生成するものである。
【0010】
また、本発明の欠陥検査装置は、多段階の濃度に分かれたパターンを有する検査対象物に対し、多段階に分かれたパターンの各部分の濃度を検出するパターン濃度検出手段と、多段階に分かれた各部分の良品形状データを記憶できる良品形状記憶手段とを有することを特徴とする。
【0011】
【発明の実施の形態】
図1は本発明のパターン欠陥検査装置の一実施例の構成を示すブロック図である。
図1において、位置決めテーブル1上に載置された検査対象物2の上側方に照明手段3が設置され、検査対象物2の上側には撮像用テレビカメラ5がテレビカメラ可動支持部4に支持されて設けられている。操作盤及び主コントローラからの指令により判定制御手段6を介して、テレビカメラ5を制御するテレビカメラ制御手段7が作動し、テレビカメラ5の制御が行われる。窓枠制御手段8は、検査対象物2に応じて処理範囲を任意に設定する窓枠を出力する。A/D変換手段9では、テレビカメラ5から入力された映像信号をA/D変換し濃淡画像データが得られる。
【0012】
本発明は、上記の手段によって得られた濃淡画像データを用いたパターン欠陥検査装置であって、以下図面を参照して説明する。
本発明の請求項1に記載の発明は、撮像手段5により撮像された被検査物2の映像信号をA/D変換して濃淡画像データとするA/D変換手段9と、濃淡画像データを記憶する画像記憶手段11と、前記濃淡データにおけるパターン部分と背景部分の代表値であるパターン濃度、背景濃度を検出するパターン濃度検出手段12と、前記濃淡データにおけるパターン部分の特徴データであるパターンの中心位置、主軸方向角、主軸方向長、主軸方向幅を算出するパターン特徴抽出手段13と、パターン部分の画像を切り出すパターン切り出し処理手段14と、良品パターンの形状データを予め記憶させておく良品形状記憶手段15と、パターン特徴抽出手段13により求められた良品パターンの主軸方向角、主軸方向長、主軸方向幅の特徴データを予め記憶しておく良品特徴記憶手段16と、検査対象物のパターン特徴データと良品特徴データに基づいて、良品形状データを検査対象物の状態に合わせるための補正データを算出する良品形状補正データ算出手段17と、前記良品形状補正データ算出手段により算出される補正データと前記パターン濃度抽出手段により得られる濃度データを基に良品形状データから良品画像を生成する良品画像生成手段18と、パターン切り出し画像と生成良品画像との差分により良品との比較を行う良品比較手段19と、任意の2値化レベルをしきい値として、良品比較手段により得られた差分濃淡画像データを2値化画像データに変換する2値化処理手段20と、前記2値化画像データを2値化連続画像領域毎に番号付けをするラベリング処理手段21と、前記2値化連続画像領域毎に、前記良品比較手段により得られた差分濃淡画像データと前記2値化処理手段による2値画像データとに基づいて、複数の特徴量を求める複数特徴量算出手段22と、前記複数特徴量を用いて欠陥判断結果を出力するパターン欠陥判断手段23とを有するものであり、検査対象物の形状や明るさに応じて良品形状データから良品濃淡画像を形成して、濃淡差分画像に対する欠陥検査を行うので、明るさの微妙な欠陥の検出が可能であり、さらに差分濃淡画像データに対して複数の特徴データから欠陥判断を行うので、高性能な欠陥検出が可能である。
【0013】
請求項2に記載の発明は、良品画像生成手段18は、良品形状補正データ算出手段17により算出される補正データとパターン濃度検出手段14により得られる濃度データを基に良品画像を生成する際に、良品形状データの輪郭部分の濃度を検査対象物のパターンの輪郭部分の濃淡変化に応じて変化させ、濃淡画像として良品画像を生成する請求項1記載のパターン欠陥検査装置であり、良品形状データから良品濃淡画像を形成して濃淡差分画像を生成する場合、輪郭部分の濃淡データを検査対象物の濃淡データの変化に応じて任意にデータ補正することにより、パターンの輪郭付近においても正確に欠陥判断することが可能である。
【0014】
請求項3に記載の発明は、多段階の濃度に分かれたパターンを有する検査対象物に対し、多段階に分かれたパターンの各部分の濃度を検出するパターン濃度検出手段12と、多段階に分かれた各部分の良品形状データを記憶できる良品形状記憶手段15とを有する請求項1記載のパターン欠陥検査装置であり、多段階のパターンに対しても、その各パターンの濃度毎のパターン特徴データやパターン形状データを記憶しておくことにより、パターンの欠陥検出が可能となる。
【0015】
次に本発明の動作を図2のフローチャートに基づいて説明する。
ステップ#1において、テレビカメラ5からの映像信号がA/D変換手段9によって濃淡画像データに変換され、パターン欠陥制御部10の画像記憶手段11に記憶され、パターン濃度検出手段12が濃淡画像データにおけるパターン部分と背景部分の濃度の代表値であるパターン濃度、背景濃度をそれぞれ検出して、ステップ#2に進む。
【0016】
ステップ#2において、パターン特徴抽出手段13が、前記濃淡データにおけるパターン部分の中心位置、主軸方向角、主軸方向長、主軸方向幅の特徴データを算出して、ステップ#3に進む。
ステップ#3において、パターン切り出し処理手段14がパターン部分の水平方向長、垂直方向長を算出して、中心位置データを基にパターン部分の画像を切り出し、ステップ#4へ進む。
【0017】
ステップ#4において、良品形状補正データ算出手段17が、良品特徴記憶手段16により予め記憶された良品パターンの主軸方向角、主軸方向長、主軸方向幅の特徴データと検査対象物のパターン特徴データから中心位置補正値、主軸方向補正角、主軸方向長補正比、主軸方向幅補正比の補正データを算出して、ステップ#5に進む。
【0018】
ステップ#5において、良品画像生成手段18が、良品形状記憶手段15により予め記憶されたランレングスコード化された良品形状データを前記良品形状補正データに基づいて中心位置、回転角、主軸方向長、主軸方向幅を補正し、パターン濃度検出手段12により算出された背景濃度の画像データに補正形状データをパターン濃度で描画して画像を生成し、検査対象物のパターン輪郭濃度変化に応じたフィルター処理を用いることにより輪郭部分の濃淡画像データを形成し、ステップ#6に進む。
【0019】
ステップ#6において、良品比較手段19が、パターン切り出し処理手段13により得られたパターン切り出し画像と前記生成良品画像との差分濃淡画像データを算出し、ステップ#7に進む。
ステップ#7において、2値化処理手段20が、良品比較手段19により得られた差分濃淡画像データを2値化して2値化画像データに変換しステップ#8に進む。
【0020】
ステップ#8において、ラベリング処理手段21が、前記2値画像データを2値化連続画像領域毎に番号付けをして、ステップ#9に進む。
ステップ#9において、複数特徴量算出処理手段22が、番号付けされた前記2値化連続画像領域毎に面積、平均濃度、主軸方向長、主軸方向幅の複数特徴量を算出し、ステップ#10に進む。
【0021】
ステップ#10において、パターン欠陥判断手段23が、ステップ#9で算出された2値化連続画像領域毎の複数特徴量の組み合わせからなる論理回路の出力値をしきい値と比較し、その出力がしきい値以上であれば、パターン欠陥であると判断して、ステップ#11に進み、その出力がしきい値未満であればパターン欠陥でないと判断して終了する。
【0022】
ステップ#11において、パターン欠陥判断手段23が、パターン欠陥であるとの判定結果を出力する。
上記の手段のうちパターン濃度検出手段12について図3を用いて説明する。図3は、2つの階調濃度をもつパターンを有する対象物における画像濃度のヒストグラム24を示している。多段階の濃度に分かれたパターンを有する検査対象物に対しては、画像濃度25を画像濃度のヒストグラム24における度数26の上下の規則性から画像濃度25を背景領域と多段階に分かれたパターンの領域に分割できる。図3の場合においては、背景領域27、パターンA領域28、パターンB領域29に分割できる。したがって、各領域の平均濃度を算出することにより、背景濃度30、パターンA濃度31、パターンB濃度32をそれぞれ算出することができる。この場合、良品形状記憶手段15は、各パターン領域の形状データを記憶していなければならない。
【0023】
【発明の効果】
本発明のパターン欠陥検査装置は、パターン部分と背景部分の濃度の代表値と、パターン部分の特徴データと良品における特徴データとの比較により得られた補正データに基づき、良品形状データを基に検査対象物の状態に応じて輪郭部分の濃度データを補正し良品画像を生成することと、検査対象物の画像との差分濃淡画像から得られた2値化連続画像領域において、2値化画像データと差分濃淡画像データとから複数の特徴量を求め、これらの複数特徴量を用いて欠陥判断するので、明るさの微妙な欠陥の検出が可能となり、また、差分濃淡画像データに対して複数の特徴データからの欠陥判断を行っているので、高性能な欠陥検出が可能である。さらに、良品形状データから良品濃淡画像を形成して濃淡差分画像を生成する場合、パターンの輪郭部分の欠陥検出が著しく悪くなるが、本発明では良品画像の生成時、輪郭部分の濃淡データを検査対象物の濃淡データの変化に応じて任意にデータ補正するようにしたことにより、パターンの輪郭付近においても正確に欠陥判断することが可能である。また、多段階のパターンに対しても、その各パターン濃度毎のパターン特徴データやパターン形状データを記憶しておくことによりパターンの欠陥検出が可能となる。そのため、被検査対象物の印刷等のパターンにおいて、従来技術では困難であった欠け、にじみ、汚れ等の微小な欠陥を正確に判断でき、パターンの輪郭付近においても正確に判断できるという効果を奏する。
【図面の簡単な説明】
【図1】本発明のパターン欠陥検査装置の一実施例の構成を示すブロック図である。
【図2】図1の動作を示すフローチャートである。
【図3】多段階の濃度に分かれたパターンのパターン濃度の検出方法の説明図である。
【図4】従来例のパターン欠陥検査装置の構成を示すブロック図である。
【図5】図4の動作を示すフローチャートである。
【符号の説明】
5 テレビカメラ
9 A/D変換回路
11 濃淡画像記憶回路
12 パターン濃度検出手段
13 パターン特徴抽出手段
14 パターン切り出し手段
15 良品形状記憶手段
16 良品特徴記憶手段
17 良品形状補正データ算出手段
18 良品画像生成手段
19 良品比較手段
20 2値化処理手段
21 ラベリング処理手段
22 複数特徴量算出手段
23 パターン欠陥判断手段
24 画像濃度ヒストグラム
25 画像濃度
26 度数
27 背景領域
28 パターンA領域
29 パターンB領域
30 背景濃度
31 パターンA濃度
32 パターンB濃度
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a pattern defect inspection apparatus that inspects a print pattern for defects such as chipping, bleeding, and dirt using image processing.
[0002]
[Prior art]
A conventional example of a pattern defect inspection apparatus will be described with reference to FIGS.
In FIG. 4, an illuminating unit 3 is installed above the inspection target 2 placed on the positioning table 1, and a television camera 5 for imaging is mounted on the television camera movable support 4 above the inspection target 2. It is supported and provided. In response to a command from the operation panel and the main controller, the television camera control means 7 for controlling the television camera 5 is operated via the determination control means 6 to control the television camera 5. The window frame control means 8 outputs a window frame for arbitrarily setting a processing range according to the inspection object 2. The A / D converter 9 performs A / D conversion on the video signal input from the television camera 5 to obtain grayscale image data. The pattern defect inspection control unit 10 in the portion surrounded by the dotted line includes a binarization processing unit 41 that converts grayscale image data into binary image data using an arbitrary binarization level as a threshold value, A pattern cutout processing unit 42 for cutting out an image, a non-defective image storage unit 43 in which image data of a non-defective pattern obtained by the pattern cutout unit 42 is stored in advance, and a comparison between non-defective products based on a difference between the pattern cutout image and the non-defective image. Non-defective comparison processing means 44, labeling processing means 45 for numbering the differential binary image data for each binarized continuous image area by the non-defective comparison processing means 44, and numbering by the labeling processing means 45. An area calculation processing means 46 for calculating an area for each of the binarized continuous image areas; The threshold value processing is performed to determine a pattern defect. A binarized continuous image region having an area equal to or larger than a threshold value is determined as a pattern defect. And a pattern defect judging means 47 for judging that there is not, and sending the result to the main controller.
[0003]
FIG. 5 is a flowchart showing the operation of the conventional example.
In step # 21, the binarization processing unit 41 of the pattern defect inspection control unit 10 binarizes the grayscale image data from the A / D conversion unit 9 based on the window frame output by the window frame control unit 8. Then, the data is converted into binary image data, and the process proceeds to step # 22.
[0004]
In step # 22, the pattern cutout processing means 42 cuts out the image of the pattern portion by calculating the center position, the length in the X direction, and the length in the Y direction of the pattern portion in the binary image data. Then, the process proceeds to step # 23.
In step # 23, the difference image is calculated by comparing the non-defective image registered in advance by the non-defective image storage unit 43 with the pattern cut image, and the process proceeds to step # 24.
[0005]
In step # 24, the labeling processing means 45 assigns a number to each binarized continuous image area in the differential binary image data, and proceeds to step # 25.
In step # 25, the area calculation processing means 46 calculates an area for each of the numbered binarized continuous image areas, and proceeds to step # 26.
In step # 26, the pattern defect judging means 47 compares the area of each binarized continuous image area calculated in step # 25 with a threshold value. It is determined that there is, and the process proceeds to step # 27. If the area is less than the threshold value, it is determined that the defect is not a pattern defect, and the process is terminated.
[0006]
In step # 27, the pattern defect judging means 47 outputs a judgment result indicating that the pattern is defective.
[0007]
[Problems to be solved by the invention]
However, in the above-described conventional example, since the defect detection is performed based on the comparison of the binary image, it is difficult to detect a delicate defect due to a small density change, and it is also difficult to detect a defect near the contour of the pattern. It has the problem of being difficult.
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and provides a pattern defect inspection apparatus capable of accurately detecting a minute defect having a small change in density and accurately determining a defect even near the contour of a pattern.
[0008]
[Means for Solving the Problems]
In order to solve the above-described problems, a pattern defect inspection apparatus according to the present invention includes an A / D conversion unit that A / D converts a video signal of an inspection object captured by an imaging unit into grayscale image data; Image storing means for storing data; pattern density detecting means for detecting a representative value of a pattern portion and a background portion in the grayscale data; pattern feature extracting means for calculating characteristic data of the pattern portion in the grayscale data; Pattern cutting processing means for cutting out the image of the non-defective pattern, non-defective shape storage means for storing the shape data of the non-defective pattern in advance, and non-defective feature storage means for storing in advance the non-defective pattern feature data obtained by the pattern feature extracting means And the non-defective product shape data based on the pattern characteristic data and non-defective product characteristic data of the inspection target. Non-defective shape correction data calculating means for calculating correction data to match the non-defective shape image data from non-defective shape data based on the correction data calculated by the non-defective shape correction data calculating means and the density data obtained by the pattern density extracting means A non-defective image generating means for generating a non-defective image, a non-defective product comparing means for comparing a non-defective product with a difference between the pattern cut image and the generated non-defective image, and converting the difference grayscale image data obtained by the non-defective image comparing means into binary image data. A binarization processing unit for converting, a labeling processing unit for numbering the binarized image data for each binarized continuous image region, and a binarization processing unit for storing each binarized continuous image region in the storage unit A plurality of feature value calculating means for obtaining a plurality of feature values based on the grayscale image data and the binary image data by the binarization processing means; And having a pattern defect decision means for outputting a defect determination result using.
[0009]
In the defect inspection apparatus of the present invention, when the non-defective image generating means generates a non-defective image based on the correction data calculated by the non-defective shape correction data calculating means and the density data obtained by the pattern density extracting means, The contour part of the shape data is subjected to shape correction according to the shading change of the contour part of the pattern of the inspection object, and a non-defective image is generated as a shading image.
[0010]
In addition, the defect inspection apparatus of the present invention includes a pattern density detection unit that detects the density of each part of the multi-step pattern for an inspection target having a pattern that is multi-step density, and a multi-step density detection unit. And non-defective product shape storage means for storing non-defective product shape data of each part.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a block diagram showing a configuration of an embodiment of a pattern defect inspection apparatus according to the present invention.
In FIG. 1, an illuminating unit 3 is installed above an inspection target 2 placed on a positioning table 1, and an imaging television camera 5 is supported by a television camera movable support unit 4 above the inspection target 2. It is provided. The television camera control means 7 for controlling the television camera 5 is operated via the determination control means 6 in response to commands from the operation panel and the main controller, and the television camera 5 is controlled. The window frame control means 8 outputs a window frame for arbitrarily setting a processing range according to the inspection object 2. The A / D conversion means 9 performs A / D conversion on the video signal input from the television camera 5 to obtain grayscale image data.
[0012]
The present invention is a pattern defect inspection apparatus using the grayscale image data obtained by the above means, and will be described below with reference to the drawings.
According to the first aspect of the present invention, there is provided an A / D conversion unit 9 for A / D converting a video signal of the inspection object 2 imaged by the imaging unit 5 into grayscale image data; An image storage means 11 for storing; a pattern density detection means 12 for detecting a pattern density and a background density which are representative values of a pattern portion and a background portion in the density data; and a pattern density pattern which is characteristic data of the pattern portion in the density data. Pattern feature extraction means 13 for calculating the center position, main axis direction angle, main axis direction length, and main axis direction width, pattern cutout processing means 14 for cutting out an image of a pattern portion, and a good product shape in which shape data of a good product pattern is stored in advance. The storage means 15 and the feature data of the non-defective pattern in the main axis direction, the main axis direction length, and the main axis direction width obtained by the pattern feature extraction means 13. Non-defective shape storage means 16 for preliminarily storing the non-defective shape correction data for calculating the correction data for adjusting the non-defective shape data to the state of the inspection target based on the pattern characteristic data and the non-defective characteristic data of the inspection target. Calculating means 17; non-defective image generating means 18 for generating a non-defective image from non-defective shape data based on the correction data calculated by the non-defective shape correction data calculating means and the density data obtained by the pattern density extracting means; A non-defective comparing means 19 for comparing the non-defective image with the non-defective image based on a difference between the image and the generated non-defective image; and a difference grayscale image data obtained by the non-defective comparing means using an arbitrary binarization level as a threshold value. And a labeling processing means for numbering the binarized image data for each binarized continuous image area 21 and a plurality of features for obtaining a plurality of feature amounts for each of the binarized continuous image areas based on the difference grayscale image data obtained by the non-defective comparing means and the binary image data by the binarization processing means. And a pattern defect determining unit 23 that outputs a defect determination result using the plurality of feature amounts. The pattern defect determining unit 23 outputs a non-defective density image from non-defective shape data according to the shape and brightness of the inspection object. Forming and performing a defect inspection on the gray-scale difference image enables detection of a delicate defect in brightness. Further, since a defect is determined from a plurality of feature data on the differential gray-scale image data, a high-performance defect can be detected. Detection is possible.
[0013]
According to the second aspect of the present invention, the non-defective image generating unit 18 generates a non-defective image based on the correction data calculated by the non-defective shape correction data calculating unit 17 and the density data obtained by the pattern density detecting unit 14. 2. The pattern defect inspection apparatus according to claim 1, wherein the density of the contour portion of the non-defective shape data is changed in accordance with a change in the density of the contour portion of the pattern of the inspection object to generate a non-defective image as a density image. When a density difference image is generated by forming a non-defective density image from the image, the density data of the contour part is arbitrarily corrected according to the change in the density data of the inspection object, so that the defect can be accurately detected even near the contour of the pattern. It is possible to judge.
[0014]
According to the third aspect of the present invention, for an inspection object having a pattern divided into multiple levels, a pattern density detecting unit 12 for detecting the density of each part of the multiple divided pattern, 2. The pattern defect inspection apparatus according to claim 1, further comprising: a non-defective shape storage unit configured to store non-defective shape data of each portion. By storing the pattern shape data, it is possible to detect a pattern defect.
[0015]
Next, the operation of the present invention will be described based on the flowchart of FIG.
In step # 1, the video signal from the television camera 5 is converted into grayscale image data by the A / D converter 9 and stored in the image storage unit 11 of the pattern defect control unit 10, and the pattern density detection unit 12 outputs the grayscale image data. , The pattern density and the background density, which are representative values of the density of the pattern portion and the background portion, are detected, and the process proceeds to step # 2.
[0016]
In step # 2, the pattern feature extracting means 13 calculates the feature data of the center position, main axis direction angle, main axis direction length, and main axis direction width of the pattern portion in the grayscale data, and proceeds to step # 3.
In step # 3, the pattern cutout processing means 14 calculates the horizontal length and the vertical length of the pattern portion, cuts out the image of the pattern portion based on the center position data, and proceeds to step # 4.
[0017]
In step # 4, the non-defective product shape correction data calculating unit 17 calculates the non-defective pattern storage unit 16 from the characteristic data of the main axis angle, the main axis direction length, the main axis direction width of the non-defective pattern and the pattern characteristic data of the inspection object. The center position correction value, the main axis direction correction angle, the main axis direction length correction ratio, and the main axis direction width correction ratio are calculated, and the process proceeds to step # 5.
[0018]
In step # 5, the non-defective image generating unit 18 converts the run-length coded non-defective shape data stored in advance by the non-defective shape storage unit 15 into a center position, a rotation angle, a main axis direction length, based on the non-defective shape correction data. The width in the main axis direction is corrected, the corrected shape data is drawn with the pattern density on the image data of the background density calculated by the pattern density detecting means 12 to generate an image, and the filter processing is performed according to the pattern contour density change of the inspection object. Is used to form the grayscale image data of the contour portion, and the process proceeds to step # 6.
[0019]
In step # 6, the non-defective comparing means 19 calculates difference density image data between the pattern cut-out image obtained by the pattern cut-out processing means 13 and the generated non-defective image, and proceeds to step # 7.
In step # 7, the binarization processing means 20 binarizes the difference grayscale image data obtained by the non-defective comparing means 19, converts the data into binary image data, and proceeds to step # 8.
[0020]
In step # 8, the labeling processing means 21 numbers the binary image data for each binarized continuous image area, and proceeds to step # 9.
In step # 9, the plurality of feature value calculation processing means 22 calculates a plurality of feature values of the area, the average density, the length in the main axis direction, and the width in the main axis direction for each of the numbered binarized continuous image regions, and step # 10. Proceed to.
[0021]
In step # 10, the pattern defect judging means 23 compares the output value of the logic circuit composed of a combination of a plurality of feature amounts for each of the binarized continuous image areas calculated in step # 9 with a threshold value. If it is not less than the threshold value, it is determined that the pattern is defective, and the process proceeds to step # 11. If its output is less than the threshold value, it is determined that it is not a pattern defect and the process ends.
[0022]
In step # 11, the pattern defect judging means 23 outputs a judgment result indicating that the pattern is defective.
The pattern density detecting means 12 will be described with reference to FIG. FIG. 3 shows an image density histogram 24 for an object having a pattern having two gradation densities. For an inspection object having a pattern divided into multi-level densities, the image density 25 is divided into a background area and a pattern divided into multi-steps based on the regularity of the frequency 26 in the histogram 24 of the image density. Can be divided into regions. In the case of FIG. 3, it can be divided into a background area 27, a pattern A area 28, and a pattern B area 29. Therefore, the background density 30, the pattern A density 31, and the pattern B density 32 can be calculated by calculating the average density of each area. In this case, the conforming shape storage means 15 must store the shape data of each pattern area.
[0023]
【The invention's effect】
The pattern defect inspection apparatus of the present invention performs inspection based on non-defective product shape data based on representative values of density of a pattern portion and a background portion, and correction data obtained by comparing characteristic data of a pattern portion with characteristic data of a non-defective product. Correcting the density data of the contour portion in accordance with the state of the object to generate a non-defective image, and performing binarized image data in a binarized continuous image area obtained from a difference grayscale image from the image of the inspection object. And a plurality of feature amounts are obtained from the difference grayscale image data, and a defect is determined using the plurality of feature amounts, so that a delicate defect of brightness can be detected. Since defect judgment is performed from the feature data, high-performance defect detection is possible. Further, when a non-defective gray-scale image is formed from non-defective product shape data to generate a gray-scale difference image, defect detection of a contour portion of a pattern is significantly deteriorated. By arbitrarily correcting the data according to the change in the grayscale data of the object, it is possible to accurately determine the defect even near the contour of the pattern. Further, even for a multi-step pattern, a pattern defect can be detected by storing pattern feature data and pattern shape data for each pattern density. Therefore, it is possible to accurately determine minute defects such as chipping, bleeding, and dirt, which are difficult in the related art, in a pattern such as printing of an inspection target object, and have an effect of being able to determine accurately even near the contour of the pattern. .
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of a pattern defect inspection apparatus according to the present invention.
FIG. 2 is a flowchart showing the operation of FIG.
FIG. 3 is an explanatory diagram of a method of detecting a pattern density of a pattern divided into multi-level densities.
FIG. 4 is a block diagram showing a configuration of a conventional pattern defect inspection apparatus.
FIG. 5 is a flowchart showing the operation of FIG.
[Explanation of symbols]
5 TV Camera 9 A / D Conversion Circuit 11 Gray Image Storage Circuit 12 Pattern Density Detection Means 13 Pattern Feature Extraction Means 14 Pattern Extraction Means 15 Good Product Shape Storage Device 16 Good Product Feature Storage Device 17 Good Product Shape Correction Data Calculation Device 18 Good Product Image Generation Device 19 non-defective comparing means 20 binarization processing means 21 labeling processing means 22 plural feature quantity calculating means 23 pattern defect determining means 24 image density histogram 25 image density 26 frequency 27 background area 28 pattern A area 29 pattern B area 30 background density 31 pattern A density 32 Pattern B density

Claims (3)

撮像手段により撮像された被検査物の映像信号をA/D変換して濃淡画像データとするA/D変換手段と、濃淡画像データを記憶する画像記憶手段と、前記濃淡データにおけるパターン部分と背景部分の代表値であるパターン濃度と背景濃度を検出するパターン濃度検出手段と、前記濃淡データにおけるパターン部分の中心位置、主軸方向角、主軸方向長、主軸方向幅の特徴データを算出するパターン特徴抽出手段と、パターン部分の水平方向長、垂直方向長を算出して、パターン部分の画像を切り出すパターン切り出し処理手段と、良品パターンの形状データを予め記憶させておく良品形状記憶手段と、パターン特徴抽出手段により求められた良品パターンの中心位置、主軸方向角、主軸方向長、主軸方向幅の特徴データを予め記憶しておく良品特徴記憶手段と、検査対象物のパターン特徴データと良品特徴データに基づいて、良品形状データを検査対象物の状態に合わせるための補正データを算出する良品形状補正データ算出手段と、前記良品形状補正データ算出手段により算出される補正データと前記パターン濃度抽出手段により得られる濃度データを基に良品形状データから良品画像を生成する良品画像生成手段と、パターン切り出し画像と生成良品画像との差分により良品との比較を行う良品比較手段と、前記良品比較手段により得られた差分濃淡画像データを2値化画像データに変換する2値化処理手段と、前記2値化画像データを2値化連続画像領域毎に番号付けをするラベリング処理手段と、前記2値化連続画像領域毎に、前記記憶手段に記憶された濃淡画像データと前記2値化処理手段による2値画像データとに基づいて、複数の特徴量を求める複数特徴量算出手段と、前記複数特徴量を用いて欠陥判断結果を出力するパターン欠陥判断手段とを有することを特徴とするパターン欠陥検査装置。A / D conversion means for A / D-converting a video signal of the inspection object imaged by the imaging means into gray-scale image data, image storage means for storing gray-scale image data, a pattern portion and a background in the gray-scale data A pattern density detecting means for detecting a pattern density and a background density which are representative values of the portion; and a pattern feature extraction for calculating feature data of a center position, a main axis direction angle, a main axis direction length and a main axis direction width of the pattern portion in the density data. Means for calculating a horizontal length and a vertical length of the pattern portion, and a pattern cutout processing means for cutting out an image of the pattern portion; a non-defective shape storage means for storing shape data of a nondefective pattern in advance; and a pattern feature extraction. the center position of the non-defective patterns obtained by means principal axis direction angle, main axis direction length, stores in advance the feature data of the main shaft width Contact Non-defective shape storage means; non-defective shape correction data calculating means for calculating correction data for matching non-defective shape data to the state of the non-defective object based on pattern characteristic data and non-defective feature data of the inspection target; A non-defective image generating means for generating a non-defective image from non-defective shape data based on the correction data calculated by the correction data calculating means and the density data obtained by the pattern density extracting means; and a difference between the pattern cutout image and the generated non-defective image. Non-defective product comparison means for comparing with non-defective products, binarization processing means for converting the differential grayscale image data obtained by the non-defective product comparison means into binarized image data, and binarization continuous conversion of the binarized image data A labeling processing unit for numbering each image region; and a grayscale image data stored in the storage unit for each of the binarized continuous image regions. A plurality of feature value calculating means for obtaining a plurality of feature values based on the binary image data by the binarization processing means; and a pattern defect determining means for outputting a defect determination result using the plurality of feature values. A pattern defect inspection device characterized by the above-mentioned. 良品画像生成手段は、良品形状補正データ算出手段により算出される補正データとパターン濃度検出手段により得られる濃度データを基に良品画像を生成する際に、良品形状データの輪郭部分の濃度を検査対象物のパターンの輪郭部分の濃淡変化に応じて変化させ、濃淡画像として良品画像を生成することを特徴とする請求項1記載のパターン欠陥検査装置。The non-defective image generation unit is configured to inspect the density of the contour portion of the non-defective shape data when generating a non-defective image based on the correction data calculated by the non-defective shape correction data calculation unit and the density data obtained by the pattern density detection unit. 2. The pattern defect inspection apparatus according to claim 1, wherein the non-defective image is generated as a gradation image by changing the contour portion of the object pattern in accordance with the gradation change. 多段階の濃度に分かれたパターンを有する検査対象物に対し、多段階に分かれたパターンの各部分の濃度を検出するパターン濃度検出手段と、多段階に分かれた各部分の良品形状データを記憶できる良品形状記憶手段とを有することを特徴とする請求項1記載のパターン欠陥検査装置。For an inspection object having a pattern divided into multiple levels, a pattern density detecting means for detecting the density of each part of the pattern divided into multiple steps, and non-defective shape data of each part divided into multiple steps can be stored. 2. The pattern defect inspection apparatus according to claim 1, further comprising a non-defective shape storage unit.
JP00948396A 1996-01-23 1996-01-23 Pattern defect inspection equipment Expired - Fee Related JP3545864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00948396A JP3545864B2 (en) 1996-01-23 1996-01-23 Pattern defect inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00948396A JP3545864B2 (en) 1996-01-23 1996-01-23 Pattern defect inspection equipment

Publications (2)

Publication Number Publication Date
JPH09193515A JPH09193515A (en) 1997-07-29
JP3545864B2 true JP3545864B2 (en) 2004-07-21

Family

ID=11721496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00948396A Expired - Fee Related JP3545864B2 (en) 1996-01-23 1996-01-23 Pattern defect inspection equipment

Country Status (1)

Country Link
JP (1) JP3545864B2 (en)

Also Published As

Publication number Publication date
JPH09193515A (en) 1997-07-29

Similar Documents

Publication Publication Date Title
JP4172761B2 (en) Defect inspection apparatus, defect inspection method and program
US5379347A (en) Method of inspecting the surface of a workpiece
US5943437A (en) Method and apparatus for classifying a defect on a semiconductor wafer
JPH0763691A (en) Pattern defect inspection method and its apparatus
CN112991305A (en) Visual inspection method for surface defects of paint spraying panel
JP4230880B2 (en) Defect inspection method
JP3533722B2 (en) Failure inspection method and device
JPH0783851A (en) Method for detecting and processing defective
JP2000171404A (en) Apparatus and method for pattern inspection of semiconductor integrated device
JP3545864B2 (en) Pattern defect inspection equipment
JPH06242013A (en) Pattern defect inspection system
JPH10135287A (en) Wafer inspection apparatus and inspection method
JPH10121368A (en) Inspection apparatus for woven fabric
JP2000329699A (en) Method and apparatus for inspection of defect
JPH08297020A (en) Defect inspection method and its equipment
JP3078685B2 (en) Location recognition method
JPH0769276B2 (en) Container inner surface inspection device
JP2770637B2 (en) Pattern inspection equipment
JP2756738B2 (en) Apparatus for visual inspection of semiconductor devices
JPH113427A (en) Image inspection method and apparatus
JPH10100386A (en) Device and method for inspecting printed matter
JP3648495B2 (en) Defect inspection method and apparatus
JP3190173B2 (en) Semiconductor device appearance inspection method and appearance inspection device
JPH1139487A (en) Image inspection method and apparatus
JPH1166305A (en) Binarization device

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040409

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees