JP4865204B2 - Image processing method, image processing apparatus, and semiconductor inspection apparatus - Google Patents

Image processing method, image processing apparatus, and semiconductor inspection apparatus Download PDF

Info

Publication number
JP4865204B2
JP4865204B2 JP2004291631A JP2004291631A JP4865204B2 JP 4865204 B2 JP4865204 B2 JP 4865204B2 JP 2004291631 A JP2004291631 A JP 2004291631A JP 2004291631 A JP2004291631 A JP 2004291631A JP 4865204 B2 JP4865204 B2 JP 4865204B2
Authority
JP
Japan
Prior art keywords
image
weighted average
pattern
matching
template
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.)
Active
Application number
JP2004291631A
Other languages
Japanese (ja)
Other versions
JP2006107046A (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.)
Hitachi High Tech Corp
Original Assignee
Hitachi High Technologies 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 Hitachi High Technologies Corp filed Critical Hitachi High Technologies Corp
Priority to JP2004291631A priority Critical patent/JP4865204B2/en
Publication of JP2006107046A publication Critical patent/JP2006107046A/en
Application granted granted Critical
Publication of JP4865204B2 publication Critical patent/JP4865204B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ランダムノイズが含まれる撮影画像から目的のパターンを認識するための画像処理方法および装置に関する。   The present invention relates to an image processing method and apparatus for recognizing a target pattern from a captured image including random noise.

近年、デジタルカメラ、ビデオカメラ、電子顕微鏡といった撮像装置の高性能化と、マイクロプロセッサ、FPGA、ASICなどを搭載した演算装置の高性能化により、撮像装置で撮影した画像内に含まれている特定のパターンを認識する機能(以下、「パターンマッチング」と称する)を搭載した画像処理装置が実用化されている。例えば、車番認識機能を搭載した渋滞監視システム、顔認識機能を搭載した防犯装置、半導体ウェハの自動検査機能を搭載した半導体検査システムがそれにあたる。   In recent years, the performance of imaging devices such as digital cameras, video cameras, and electron microscopes, and the performance of computing devices equipped with microprocessors, FPGAs, ASICs, etc. An image processing apparatus equipped with a function for recognizing a pattern (hereinafter referred to as “pattern matching”) has been put into practical use. For example, a traffic jam monitoring system equipped with a car number recognition function, a security device equipped with a face recognition function, and a semiconductor inspection system equipped with an automatic inspection function for semiconductor wafers.

パターンマッチングは、撮像装置で撮影した画像(以下、「被サーチ画像」と称することもある)の中から特定のパターンやその位置を認識(検出)するための手法である。パターンマッチングにおいては、認識したいパターンは、テンプレート画像として予め登録されている。そして、被サーチ画像の中の画像領域を、所定サイズ(テンプレート画像と同サイズ)で順次選択し、選択した画像領域ごとにスキャニングによりテンプレート画像との一致度(マッチング)を求める。このようにして、被サーチ画像から、一致度の高い画像、もしくはその画像の位置(以下「マッチング位置」とする)を認識することができる。   Pattern matching is a technique for recognizing (detecting) a specific pattern and its position from an image photographed by an imaging device (hereinafter also referred to as “searched image”). In pattern matching, a pattern to be recognized is registered in advance as a template image. Then, image areas in the image to be searched are sequentially selected with a predetermined size (the same size as the template image), and a matching degree (matching) with the template image is obtained for each selected image area by scanning. In this way, an image with a high degree of coincidence or the position of the image (hereinafter referred to as “matching position”) can be recognized from the searched image.

具体的には、図18に示すように、被サーチ画像1からテンプレート画像3と同サイズの画像領域(以下、「マッチング候補画像2」とする)を切り出し、テンプレート画像3とマッチング候補画像2の各画素の輝度値を比較して、テンプレート画像3とマッチング候補画像2の一致度を求める。   Specifically, as shown in FIG. 18, an image region having the same size as the template image 3 (hereinafter referred to as “matching candidate image 2”) is cut out from the searched image 1, and the template image 3 and the matching candidate image 2 are extracted. The brightness value of each pixel is compared, and the degree of coincidence between the template image 3 and the matching candidate image 2 is obtained.

通常は、被サーチ画像1の始点から終点まで1画素単位でマッチング候補画像2をずらしていき、マッチング候補画像2ごとにスキャニングによりテンプレート画像3との一致度を求める。それにより、被サーチ画像1内で最も一致度の高いマッチング候補画像4を決定する。被サーチ画像中のマッチング候補画像の座標位置がマッチング位置となる。   Normally, the matching candidate image 2 is shifted in units of one pixel from the start point to the end point of the searched image 1, and the matching degree with the template image 3 is obtained for each matching candidate image 2 by scanning. Thereby, the matching candidate image 4 having the highest degree of matching in the searched image 1 is determined. The coordinate position of the matching candidate image in the searched image becomes the matching position.

パターンマッチングの手法としては、単純に画像間の輝度比較を行う輝度差分法や、各画素の座標を極座標系に変換し、極座標上での形状により線図形を認識するハフ変換法(Maresca,M.,Lavin,M.,and Li,H.,Parallel HoughTransform Algorithms on Polymorphic Torus Ar−chitectureLevialdi,S.eds.,Multicomputer Vi−sion Academic Press,pp.9−21,)、画像の標準偏差を用いて正規化した後に画像間の相関を求める正規化相関法
(R.L.Lillestrand:echniques for change detection.IEEETrans.Computer,Vol.c−21,No.7,pp.654−659,1972.)などが提案されている。この中でも正規化相関法は、実環境で発生しやすい「環境光の変動による画像間の輝度変動」に影響されない手法として広く利用されている。
Pattern matching methods include a luminance difference method that simply compares the luminance between images, or a Hough transform method (Maresca, M) that converts the coordinates of each pixel into a polar coordinate system and recognizes a line figure based on the polar coordinate shape. , Lavin, M., and Li, H., Parallel HoughTransform Algorithms on Polymorphic Torus Ar-Cityure Levidi, S. eds., Multicomputer Vi-sion Academ. normalized normalized correlation method to determine the correlation between the image after (R.L.Lillestrand: T echniques for change detection.IEEETrans.Compute , Vol.c-21, No.7, pp.654-659,1972.) And the like have been proposed. Among them, the normalized correlation method is widely used as a technique that is not affected by “brightness fluctuation between images due to fluctuations in ambient light” that is likely to occur in an actual environment.

しかし、このようなパターンマッチング方法は、いずれも画像に含まれるランダムノイズの影響を受けやすいといった問題をもっている。ランダムノイズは、周波数や振幅が不規則な信号である。物体からの反射光を光電変換素子で画像化するデジタルカメラ等の撮像装置では、フォトダイオードの暗電流、電荷検出アンプノイズ等の影響により撮影画像にランダムノイズが入る。   However, all such pattern matching methods have a problem that they are easily affected by random noise included in the image. Random noise is a signal with irregular frequency and amplitude. In an imaging device such as a digital camera that images reflected light from an object with a photoelectric conversion element, random noise enters a captured image due to the influence of a dark current of a photodiode, charge detection amplifier noise, and the like.

また、試料に電子ビームを照射して試料の照射面から放出された2次電子を収集し増幅および輝度変調して画像化する走査型電子顕微鏡などの撮像装置でも、試料中の電子の不規則な熱運動によって発生するノイズや、周辺回路から発生されるノイズの影響から撮影画像にランダムノイズが混在する。   Even in an imaging device such as a scanning electron microscope that irradiates a sample with an electron beam, collects secondary electrons emitted from the irradiated surface of the sample, and amplifies and modulates brightness to form an image. Random noise is mixed in the photographed image due to the influence of noise generated due to excessive thermal motion and noise generated from peripheral circuits.

このようなランダムノイズが含まれる画像は、被写体がもつ本来のパターン情報が欠落することになり、テンプレートとのパターンマッチングにおいて、画素間での一致、不一致の関係が正確に検出できず、誤ったマッチング位置を検出する原因になる。   In such an image containing random noise, the original pattern information of the subject is lost, and in the pattern matching with the template, the matching / mismatching relationship between the pixels cannot be accurately detected, which is incorrect. It becomes a cause of detecting a matching position.

撮影画像に含まれるランダムノイズを低減するパターンマッチング方法として、特許文献1(特開2000-342558)に記載されるように、マスクを用いたパターンマッチング方法がある。   As a pattern matching method for reducing random noise included in a photographed image, there is a pattern matching method using a mask as described in Japanese Patent Application Laid-Open No. 2000-342558.

この手法は、パターン情報以外の領域にマスクを施し、そのマスクされた領域では、マッチング計算を行わないことで、パターン情報以外の領域に含まれているノイズがマッチング結果に与える影響を低減するというものである。しかし、ランダムノイズが含まれた画像からマスク領域を抽出するのは非常に困難であるし、パターン情報に重なるノイズの影響を抑えることができない。また、特許文献2(特開平5-28273)、特許文献3(特開2000-260699)のように被サーチ画像に対してフィルタリングを行い、それによりノイズを低減した後にパターンマッチングを行う手法は数多く提案されているが、ノイズによって欠落したパターンの復元は非常に難しい。   This technique masks the area other than the pattern information and does not perform the matching calculation in the masked area, thereby reducing the influence of noise included in the area other than the pattern information on the matching result. Is. However, it is very difficult to extract a mask area from an image including random noise, and the influence of noise overlapping with pattern information cannot be suppressed. In addition, there are many techniques for performing pattern matching after performing filtering on a search target image and reducing noises as described in Patent Document 2 (Japanese Patent Laid-Open No. 5-28273) and Patent Document 3 (Japanese Patent Laid-Open No. 2000-260699). Although proposed, it is very difficult to restore a pattern that is missing due to noise.

ランダムノイズが含まれる画像をパターンマッチングの対象とする装置として、例えば半導体検査装置がある。半導体検査装置は、走査型電子顕微鏡で撮影した半導体ウェハの画像から半導体ウェハ上の検査位置を特定し、パターンの形状や欠陥の検査を行う。   As an apparatus that targets an image including random noise for pattern matching, for example, there is a semiconductor inspection apparatus. A semiconductor inspection apparatus specifies an inspection position on a semiconductor wafer from an image of a semiconductor wafer taken with a scanning electron microscope, and inspects a pattern shape and a defect.

検査の前工程として、基準となる半導体ウェハの検査位置(検査位置付近を含む場合もある)を走査型電子顕微鏡で撮影し、撮影画像をテンプレート画像として登録する。検査工程では、検査対象の半導体ウェハを撮影し、その撮影画像の中からテンプレート画像と一致する画像位置を、パターンマッチングによって特定した後、パターンの形状や欠陥の検査を行っている。   As a pre-inspection process, an inspection position (which may include the vicinity of the inspection position) of a reference semiconductor wafer is photographed with a scanning electron microscope, and the photographed image is registered as a template image. In the inspection process, a semiconductor wafer to be inspected is imaged, and an image position that matches the template image is specified from the captured image by pattern matching, and then the pattern shape and defects are inspected.

走査型電子顕微鏡は、上述したように試料の局所領域に電子ビームを照射し、試料の照射面から放出された2次電子を収集し増幅し、それに基づき画面上に輝度変調することにより、2次電子像を表示するものである。この際、電子ビームにより取得できる画像信号はその特性によりランダムノイズが多く含まれてしまうため、被写体を一回走査しただけでは鮮明な画像が得られず、ランダムノイズの影響を受けてパターンマッチングやその後の検査が正確に行えないといった問題がある。   As described above, the scanning electron microscope irradiates a local region of a sample with an electron beam, collects and amplifies secondary electrons emitted from the irradiation surface of the sample, and modulates the luminance on the screen based on the amplification. The secondary electron image is displayed. At this time, the image signal that can be acquired by the electron beam contains a lot of random noise due to its characteristics, so that a clear image cannot be obtained by scanning the subject only once. There is a problem that the subsequent inspection cannot be performed accurately.

このため、ランダムノイズを低減する目的で撮像位置を固定した状態で半導体ウェハを複数回撮影し、撮影した画像を加重平均することで撮影画像のS/N比を高め、鮮明な画像を取得してからパターンマッチングを行い、検査位置の特定や検査を行っている。加重平均処理を利用した従来技術は、例えば特許文献4(特開2002−15692)に記載されている。ランダムノイズは、撮影画像ごとに異なる位置や異なる態様で現れる。したがって、加重平均すれば、ランダムノイズの信号強度は弱まり、一方、正規なパターンは強調されるので、S/Nを高められる。   For this reason, a semiconductor wafer is imaged multiple times with the imaging position fixed for the purpose of reducing random noise, and the S / N ratio of the captured image is increased by weighted averaging of the captured image to obtain a clear image. After that, pattern matching is performed to identify and inspect the inspection position. The prior art using the weighted average processing is described in, for example, Japanese Patent Application Laid-Open No. 2002-15692. Random noise appears in different positions and different modes for each captured image. Therefore, if the weighted average is performed, the signal intensity of random noise is weakened, while the normal pattern is enhanced, so that the S / N can be increased.

ランダムノイズを低減する目的で、加重平均を利用する方法は、半導体検査装置に限らず、CCD、CMOSといった光電変換素子を搭載した撮像装置にも適用されている。   In order to reduce random noise, a method using a weighted average is applied not only to a semiconductor inspection apparatus but also to an imaging apparatus equipped with a photoelectric conversion element such as a CCD or a CMOS.

特開2000−342558号公報JP 2000-342558 A 特開平5−28273号公報JP-A-5-28273 特開2000−260699号公報JP 2000-260699 A 特開2002−15692号公報JP 2002-15692 A Maresca,M.,Lavin,M.,and Li,H.,Parallel HoughTransform Algorithms on Polymorphic Torus Ar−chitectureLevialdi,S.eds.,Multicomputer Vi−sion Academic Press,pp.9−21,)Maresca, M .; Lavin, M .; , And Li, H .; , Parallel Hull Transform Algorithms on Polymorphic Torus Ar-City Levidi, S. eds. , Multicomputer Vi-sion Academic Press, pp. 9-21) R.L.Lillestrand:Techniques for change detection.IEEETrans.Computer,Vol.c−21,No.7,pp.654−659,1972.R. L. Lillestrand: Techniques for change detection. IEEE Trans. Computer, Vol. c-21, no. 7, pp. 654-659, 1972.

加重平均数の増加は撮影時間の増加につながるため、例えば半導体検査装置では、検査時間を短縮する目的で加重平均数を少なく設定している。また、半導体は、微細加工されているため電子ビームのダメージを受けやすく、加重平均数を最低限に抑えて検査する必要性が高まっている。しかし、加重平均数を減らすと、S/Nが低下し、ランダムノイズの影響を受けてパターンマッチングが失敗することもある。   Since an increase in the weighted average number leads to an increase in the photographing time, for example, in a semiconductor inspection apparatus, the weighted average number is set small for the purpose of shortening the inspection time. Further, since semiconductors are finely processed, they are easily damaged by an electron beam, and there is an increasing need for inspection with a weighted average number minimized. However, if the weighted average number is reduced, the S / N is reduced, and pattern matching may fail due to the influence of random noise.

図9に正規化相関法を利用したパターンマッチング結果の一例を示す。テンプレート画像401と、被サーチ画像に含まれる画像Aパターン402および、画像Bパターン403を比較する過程において算出される各画素間の一致度を輝度情報に変換したものが画像Aパターンの相関像404、画像Bパターンの相関像405である。各画素の一致度の合計が各パターン画像の相関値となり、その大小関係から、テンプレート画像401と一致するパターンおよびそのマッチング位置を求めることができる。   FIG. 9 shows an example of a pattern matching result using the normalized correlation method. Correlation image 404 of image A pattern is obtained by converting the degree of coincidence between each pixel calculated in the process of comparing template image 401 with image A pattern 402 and image B pattern 403 included in the searched image. This is a correlation image 405 of the image B pattern. The sum of the degrees of coincidence of each pixel becomes the correlation value of each pattern image, and a pattern that matches the template image 401 and its matching position can be obtained from the magnitude relationship.

輝度値の高い(明るい)画素がテンプレート画像401との一致を示す画素であり、輝度値の低い(暗い)画素は、テンプレート画像401との不一致を示している。画像Aパターン402は画像Bパターン403に比べて輝度値の高い画素が多いので、画像Aパターンの位置(座標)を、テンプレート画像401と一致するマッチング位置として検出することができる。   Pixels with high (bright) luminance values indicate matching with the template image 401, and pixels with low (dark) luminance values indicate mismatching with the template image 401. Since the image A pattern 402 has more pixels with higher luminance values than the image B pattern 403, the position (coordinates) of the image A pattern can be detected as a matching position that matches the template image 401.

しかし、上述した例は、画像Aパターン(マッチング候補A画像)402と画像Bパターン(マッチング候補B画像)403にノイズが重畳されていない場合の結果である。画像Aパターン402と画像Bパターン403にランダムノイズを重畳させた画像がノイズ重畳画像Aパターン406とノイズ重畳画像Bパターン407である。テンプレート画像401と、ノイズ重畳画像Aパターン406およびノイズ重畳画像Bパターン407を比較する過程において算出される各画素間の一致度を輝度情報に変換したものが、ノイズ重畳画像Aパターンの相関像408とノイズ重畳画像Bパターンの相関像409である。   However, the above-described example is a result when noise is not superimposed on the image A pattern (matching candidate A image) 402 and the image B pattern (matching candidate B image) 403. An image in which random noise is superimposed on the image A pattern 402 and the image B pattern 403 is a noise superimposed image A pattern 406 and a noise superimposed image B pattern 407. A correlation image 408 of the noise superimposed image A pattern is obtained by converting the matching degree between each pixel calculated in the process of comparing the template image 401 with the noise superimposed image A pattern 406 and the noise superimposed image B pattern 407 into luminance information. And a correlation image 409 of the noise superimposed image B pattern.

相関像408および409には、ノイズが重畳されていない相関像404および相関像405に比べ、一致度が低くなっている画素が随所にみられる。これはランダムノイズの影響を受けて画像Aパターン402、画像Bパターン403のような本来のパターンを失ったことが原因である。ノイズ重畳画像Bパターン407においては、ランダムノイズの影響を受けて、本来一致しないはずの画素位置の一致度が高くなっている画素もある。   In the correlation images 408 and 409, pixels having a low degree of coincidence are seen everywhere compared to the correlation image 404 and the correlation image 405 on which no noise is superimposed. This is because the original patterns such as the image A pattern 402 and the image B pattern 403 are lost due to the influence of random noise. In the noise superimposed image B pattern 407, there is a pixel whose degree of coincidence of pixel positions that should not originally coincide is high due to the influence of random noise.

このように被サーチ画像にランダムノイズが重畳してしまうと、正確な一致度を求めることができなくなる。被サーチ画像内にテンプレート画像に類似したマッチング候補が複数存在した場合、上記ランダムノイズが影響して本来検出すべきマッチング候補とは異なるマッチング候補の位置をマッチング位置として検出してしまうことがある。   If random noise is superimposed on the image to be searched in this way, it is impossible to obtain an accurate degree of coincidence. When there are a plurality of matching candidates similar to the template image in the searched image, the position of the matching candidate that is different from the matching candidate that should be originally detected may be detected as the matching position due to the random noise.

このような誤検出(誤認識)防止手段として、前記加重平均処理が有効であるが、加重平均に使用する撮影画像を減少させた場合には、上記誤検出防止に支障をきたすこともある。   The weighted average processing is effective as such a false detection (false recognition) prevention means. However, when the number of captured images used for the weighted average is reduced, there may be a problem in preventing the erroneous detection.

本発明の目的は、加重平均処理およびパターンマッチングを行なう画像処理において、ランダムノイズが含まれている撮影画像(被サーチ画像)の撮影回数を減らしても、良好なパターンマッチング結果を得られる画像処理方法及び装置を実現することにある。   An object of the present invention is to perform image processing that can obtain a good pattern matching result even if the number of times of photographing of a photographed image (searched image) including random noise is reduced in weighted average processing and pattern matching. Implementing a method and apparatus.

本発明は、上記目的を達成するために、ランダムノイズが含まれる画像を加重平均処理する場合に、本来の加重平均対象となる画像(マッチング候補画像)のほかに加重平均処理を補助するための画像を用意し、加重平均処理を、前記加重平均補助用画像も加えて行うようにした。   In order to achieve the above object, the present invention provides a weighted average process in addition to an image (matching candidate image) that is originally subjected to a weighted average when an image including random noise is subjected to a weighted average process. An image was prepared, and the weighted average processing was performed by adding the weighted average auxiliary image.

図1に加重平均処理を伴うパターンマッチン方式の本発明と従来の画像処理方法を比較して示す。   FIG. 1 shows a comparison between the present invention of the pattern matching method with a weighted average process and a conventional image processing method.

図1の(b)は従来方式である。この従来方式において、予めサーチ対象と同一の画像パターンをテンプレート画像として登録しておく。被検査の被写体から被サーチ画像としてN回撮影されたN枚の撮影画像1A−1Nを撮影し(ステップS1)、そのN数の撮影画像の中から撮影画像同士の同じ座標を有する領域で且つ前記テンプレート画像と同サイズのN枚の画像領域をマッチング候補画像2A−2Nとしてピックアップする。このマッチング候補画像のピックアップはそれぞれの撮影画像1A−1Nについて始点から終点まで1画素単位でずらしながら順次選択して行われる。ピックアップしたマッチング候補画像2A−2Nを加重平均処理し(ステップS2)、その後、加重平均されたマッチング候補画像2´とテンプレート画像3とのパターンマッチングが実行される(ステップS3)。FIG. 1B shows a conventional method. In this conventional method, the same image pattern as the search target is registered in advance as a template image. N photographed images 1A-1 N photographed N times from the subject to be inspected as the image to be searched are photographed (step S1), and in the region having the same coordinates among the photographed images among the N photographed images. In addition, N image areas having the same size as the template image are picked up as matching candidate images 2A-2N. The matching candidate images are picked up by sequentially selecting each of the captured images 1A-1N while shifting them in units of one pixel from the start point to the end point. The picked-up matching candidate images 2A- 2N are subjected to weighted average processing (step S2), and then pattern matching between the weighted average matching candidate image 2 'and the template image 3 is executed (step S3).

図1の(a)は、本願発明の画像処理である。本願発明の被検査体は、例えば、半導体ウエハのように量産可能な製品である。この場合には、被検査の被写体からL枚(L<N;Lは1以上)の被サーチ画像1A−1Lを撮影し(ステップS1)、その中からピックアップしたマッチング候補画像2A−2Lに、予め登録しておいたM枚(M≦L;Mは1以上)の加重平均補助用の画像5A−5Mを加えて加重平均処理を行なう(ステップS2)。加重平均補助用の画像は、被検査体と同一サイズ、同一形状、同一パターンを有する基準の検査被写体を予め撮影して登録されるが、それは、サーチ対象となるパターンを含む画像であり、テンプレート画像と同サイズ、同じ座標、同一の画像パターンである。例えば、テンプレート画像の作成に利用した被写体と同じパターンを有する被写体を撮影し、これを加重平均に先立って予め登録しておくことにより得られる。加重平均補助用の画像は、テンプレート画像が兼ねることも可能である。その後のパターンマッチングは、上記ステップS3同様に行なわれる。 FIG. 1A shows image processing according to the present invention. The inspected object of the present invention is a product that can be mass-produced, such as a semiconductor wafer. In this case, L (L <N; L is 1 or more) images to be searched 1A-1L are photographed from the subject to be inspected (step S1), and the matching candidate images 2A-2L picked up from the images are searched. A weighted average process is performed by adding M (M ≦ L; M is 1 or more) weighted average auxiliary images 5A-5M registered in advance (step S2) . The weighted average image for the auxiliary are the same size as the object to be inspected, but the same shape, are previously registered shot to the inspection object reference having the same pattern, it is an image containing a pattern to be searched, The template image has the same size, the same coordinates, and the same image pattern. For example, it can be obtained by photographing a subject having the same pattern as the subject used to create the template image and registering it in advance prior to the weighted average. The weighted average auxiliary image can also serve as the template image. Subsequent pattern matching is performed in the same manner as in step S3.

このように構成すれば、マッチング候補画像の撮影画像の枚数の減らしても、その分を、加重平均補助用の画像が補うことになる。すなわち、加重平均補助用の画像を多すぎない程度に適量使用すれば、それは被サーチ画像の中のパターン(マッチング候補画像のパターン)と一致する場合にだけ、パターンの検出信号の強度を高めることになるので、S/N比を高めることができる。   According to this configuration, even if the number of captured images of matching candidate images is reduced, the weighted average auxiliary image compensates for the reduction. In other words, if an appropriate amount of weighted average auxiliary image is used so as not to be too much, it increases the intensity of the pattern detection signal only when it matches the pattern in the searched image (the pattern of the matching candidate image). Therefore, the S / N ratio can be increased.

本発明によれば、加重平均処理およびパターンマッチングを行なう画像処理において、ランダムノイズが含まれている撮影画像(被サーチ画像)の撮影回数を減らしても、良好なパターンマッチング結果を得ることができる。特に多数の被検査物をパターンマッチングする場合には、加重平均補助用の画像は、それらの被検査物に共通して使用できるのでその効果は大きい。   According to the present invention, a good pattern matching result can be obtained even if the number of shots of a shot image (searched image) including random noise is reduced in the weighted average process and the image process for performing pattern matching. . In particular, when pattern-matching a large number of objects to be inspected, the weighted average auxiliary image can be used in common for those objects to be inspected, so that the effect is great.

まず、本発明の実施例に用いる画像処理装置の概要を図2により説明する。   First, an outline of an image processing apparatus used in an embodiment of the present invention will be described with reference to FIG.

本発明の画像処理装置は、図2(a)に示すように、例えば、ビデオカメラ,電子顕微鏡等の画像入力装置76、キーボード,マウス等の情報入力装置77、情報処理装置7000、およびCRT等の情報出力装置(ディスプレイ)78により構成されている。情報処理装置7000は、画像処理装置の中枢をなし、この情報処理装置7000に、画像入力装置76、情報入力装置77、情報出力装置78が接続される。情報処理装置7000および周辺装置を含めた外観の例を図11に示す。   As shown in FIG. 2A, the image processing apparatus according to the present invention includes, for example, an image input device 76 such as a video camera and an electron microscope, an information input device 77 such as a keyboard and a mouse, an information processing device 7000, and a CRT. Information output device (display) 78. The information processing device 7000 is the center of the image processing device, and an image input device 76, an information input device 77, and an information output device 78 are connected to the information processing device 7000. An example of the appearance including the information processing device 7000 and peripheral devices is shown in FIG.

情報処理装置7000は、CPU71、信号入力IF(インターフェース)72、RAM73、ROM74、信号出力IF(インターフェース)75、パターンマッチング装置100、画像データ処理部79により構成されている。   The information processing device 7000 includes a CPU 71, a signal input IF (interface) 72, a RAM 73, a ROM 74, a signal output IF (interface) 75, a pattern matching device 100, and an image data processing unit 79.

CPU71は、ROM74に格納された制御プログラムに基づき信号入力IF72、信号出力IF75、パターンマッチング装置100、画像データ処理部79、RAM73などを制御する。これらの制御により、画像入力装置76からの画像データは、IF72を介して入力され、RAM73に保存される。   The CPU 71 controls the signal input IF 72, the signal output IF 75, the pattern matching device 100, the image data processing unit 79, the RAM 73, and the like based on a control program stored in the ROM 74. With these controls, the image data from the image input device 76 is input via the IF 72 and stored in the RAM 73.

RAM73は、画像データのほかにパターンマッチング処理のためのデータの蓄積やパターンマッチング結果を保存する。   The RAM 73 stores data for pattern matching processing and pattern matching results in addition to image data.

パターンマッチング装置100は、演算機能を有して、入力される被サーチ画像(被検査画像)のマッチング候補画像と加重平均補助画像とのデータを加重平均処理し、加重平均された画像とテンプレート画像との照合を行う。さらに、この照合を介して被サーチ画像データの中からテンプレート画像のパターンに最も一致度の高いパターン及びその位置(マッチング位置)を探し出す。パターンマッチングの結果は、RAM73に保存される。加重平均処理およびパターンマッチングの具体例は、後述する。   The pattern matching apparatus 100 has a calculation function, performs weighted average processing on data of a matching candidate image of an input search target image (inspected image) and a weighted average auxiliary image, and the weighted averaged image and the template image Is checked. Further, a pattern having the highest degree of coincidence with the pattern of the template image and its position (matching position) are searched from the searched image data through this collation. The pattern matching result is stored in the RAM 73. Specific examples of the weighted average process and pattern matching will be described later.

画像処理に関する情報、例えば加重平均やパターンマッチングの条件設定に関する情報は、情報入力装置77から信号入力IF72を介して情報処理装置7000に入力され、RAM703に保存される。   Information relating to image processing, for example, information relating to weighted average and pattern matching condition setting, is input from the information input device 77 to the information processing device 7000 via the signal input IF 72 and stored in the RAM 703.

パターンマッチング結果は、信号出力IF75を介して情報出力装置78に出力される。   The pattern matching result is output to the information output device 78 via the signal output IF 75.

なお、パターンマッチング装置100は後述する実施例で説明するブロックで構成されたASIC、FPGAなどのハードウェアである。   Note that the pattern matching apparatus 100 is hardware such as an ASIC or FPGA configured by blocks described in the embodiments described later.

信号入力IF72は、USB、IEEE1394、セントロニクスやメモリカード、PCI、Ethernet(登録商標)などのインターフェースである。画像入力装置76からの画像データ、および情報入力装置77からのデータを、情報処理装置7000に入力する。   The signal input IF 72 is an interface such as USB, IEEE 1394, Centronics, memory card, PCI, Ethernet (registered trademark). The image data from the image input device 76 and the data from the information input device 77 are input to the information processing device 7000.

RAM73は、SDRAM、SRAM、DRAMやメモリカード、ハードディスクなどであり、画像データの蓄積や、パターンマッチングに利用するパラメータの保存を行うものである。   The RAM 73 is an SDRAM, SRAM, DRAM, memory card, hard disk, or the like, and accumulates image data and stores parameters used for pattern matching.

ROM74は、Flash ROMなどで構成され、CPU71で使用する制御プログラムなどを保存するものである。   The ROM 74 is configured by a flash ROM or the like, and stores a control program used by the CPU 71 and the like.

なお、パターンマッチングに利用するパラメータはROM73に保存してもよい。   The parameters used for pattern matching may be stored in the ROM 73.

信号出力IF75はUSB、IEEE1394、セントロニクスやメモリカード、PCI、Ethernetなどのインターフェースであり、パターンマッチング結果を信号出力装置78に出力するものである。   The signal output IF 75 is an interface such as USB, IEEE 1394, Centronics, memory card, PCI, Ethernet, and the like, and outputs a pattern matching result to the signal output device 78.

画像データ処理部79は、RAM73に保存されている画像を入力として、画像内に含まれているランダムノイズや輝度むらといった情報を低減するような画像処理を行い、処理結果の画像をRAM73に保存する。この画像データ処理部79は、CPU71の制御によって起動、実行、終了を行うFPGAやASICなどの画像処理ハードウェアよりなる。なお、画像データ処理部79は、必ずしもハードウェアである必要はなく、ランダムノイズや輝度むらといった情報を低減するような画像処理の機能をプログラム化してRAM73、およびROM74に保存しておくことで、CPU71の制御によってソフトウェア処理することもできる。例えば、ソフトウェア処理でランダムノイズの低減処理を行い、ハードウェア処理で輝度むらの低減などを行うような構成でもよい。また、画像処理部79の機能については限定するものではない。   The image data processing unit 79 uses the image stored in the RAM 73 as an input, performs image processing to reduce information such as random noise and luminance unevenness included in the image, and stores the processing result image in the RAM 73. To do. The image data processing unit 79 includes image processing hardware such as an FPGA and an ASIC that is activated, executed, and terminated under the control of the CPU 71. The image data processing unit 79 does not necessarily need to be hardware, and the image processing function that reduces information such as random noise and luminance unevenness is programmed and stored in the RAM 73 and the ROM 74. Software processing can also be performed under the control of the CPU 71. For example, the configuration may be such that random noise reduction processing is performed by software processing, and luminance unevenness is reduced by hardware processing. Further, the function of the image processing unit 79 is not limited.

図2(a)では、パターンマッチング装置100の機能をハードウェアで構成するが、ソフトウェアプログラムで構成することも可能である。図2(b)では、このようなソフトウェアプログラムを情報処理装置7001に搭載したものである。なお、図2(b)において、図2(a)と同一符号は、図2(a)の構成要素と同一或いは共通する要素を示すものである。   In FIG. 2A, the function of the pattern matching apparatus 100 is configured by hardware, but can also be configured by a software program. In FIG. 2B, such a software program is installed in the information processing apparatus 7001. In FIG. 2B, the same reference numerals as those in FIG. 2A indicate the same or common elements as the constituent elements in FIG.

図2(b)において、情報処理装置7001は、CPU71、信号入力IF72、メモリ(RAM73、ROM74)、信号出力IF75、画像データ処理部79により構成されている。本実施例では、図2(a)のパターンマッチング装置100に相当する機能を、CPU71のソフトウェア処理で実行される。   2B, the information processing apparatus 7001 includes a CPU 71, a signal input IF 72, a memory (RAM 73, ROM 74), a signal output IF 75, and an image data processing unit 79. In the present embodiment, a function corresponding to the pattern matching apparatus 100 in FIG. 2A is executed by software processing of the CPU 71.

信号入力IF72、信号出力IF75、画像データ処理部79については、図2(a)に示したものと同様のため説明を省略し、ここでは、CPU71,RAM73、RM74について具体的に説明する。   Since the signal input IF 72, the signal output IF 75, and the image data processing unit 79 are the same as those shown in FIG. 2A, the description thereof will be omitted, and the CPU 71, RAM 73, and RM 74 will be specifically described here.

図2(a)のパターンマッチング装置100の機能をソフトウェア処理で実行するためのプログラムは、RAM73、またはROM74に保存されており、CPU71はパターンマッチングのプログラムを実行する。パターンマッチングに利用するパラメータはROM73に保存してもよい。   A program for executing the functions of the pattern matching apparatus 100 in FIG. 2A by software processing is stored in the RAM 73 or the ROM 74, and the CPU 71 executes the pattern matching program. Parameters used for pattern matching may be stored in the ROM 73.

本発明のパターンマッチング装置100は、上記のようにハードウェアで実現したり、或いはソフトウェアで実現することができる。また、パターンマッチング装置の一部の機能をソフトウェアで実現し、残りの機能をハードウェアで実現することも可能である。   The pattern matching apparatus 100 of the present invention can be realized by hardware as described above, or can be realized by software. It is also possible to realize some functions of the pattern matching apparatus by software and realize the remaining functions by hardware.

以下、本発明におけるパターンマッチング装置100を、ハードウェアで実現する例を、実施例1,2に基づき説明し、ソフトウェアで実現する例を実施例3により説明する。また、半導体検査装置に本発明の画像処理技術を適用した例を実施例4により説明する。
〔実施例1〕
図3は、本発明に用いるパターンマッチング装置100の基本構成をブロック図で示す。また、パターンマッチング装置100とCPU71とRAM73との関係を示す。
Hereinafter, an example in which the pattern matching apparatus 100 according to the present invention is realized by hardware will be described based on Examples 1 and 2, and an example in which the pattern matching apparatus 100 is realized by software will be described by Example 3. An example in which the image processing technique of the present invention is applied to a semiconductor inspection apparatus will be described with reference to a fourth embodiment.
[Example 1]
FIG. 3 is a block diagram showing the basic configuration of the pattern matching apparatus 100 used in the present invention. The relationship among the pattern matching apparatus 100, the CPU 71, and the RAM 73 is shown.

RAM73は、ランダムノイズが重畳された被写体の撮影画像(被サーチ画像12;図1の被サーチ画像2A−2Lに相当する)、テンプレート画像10(図1のテンプレート画像3に相当する)、加重平均補助用画像11(図1の加重平均補助用画像5A−5Mに相当する)を記憶する。パターンマッチング装置100は、ランダムノイズが重畳された被サーチ画像12の中からテンプレート画像10と一致するパターンを探し出し、そのパターンの存在する位置(マッチング位置)17を検出することを目的としている。以下、各構成要素を説明する。   The RAM 73 captures an image of a subject on which random noise is superimposed (searched image 12; corresponding to the searched image 2A-2L in FIG. 1), template image 10 (corresponding to the template image 3 in FIG. 1), weighted average. The auxiliary image 11 (corresponding to the weighted average auxiliary image 5A-5M in FIG. 1) is stored. The purpose of the pattern matching apparatus 100 is to find a pattern that matches the template image 10 from the searched images 12 on which random noise is superimposed, and to detect a position (matching position) 17 where the pattern exists. Hereinafter, each component will be described.

RAM73は、既述したように、パターンマッチングに使用する画像データ(テンプレート画像10、加重平均補助用画像11、被サーチ画像12)を蓄積する。CPU71は、パターンマッチング制御手段として機能し、パターンマッチング装置100の起動と終了、パターンマッチング装置100への画像データおよびパラメータの入力、マッチング結果(マッチング位置17)の出力を制御する。   As described above, the RAM 73 stores image data (template image 10, weighted average auxiliary image 11, and searched image 12) used for pattern matching. The CPU 71 functions as a pattern matching control unit, and controls activation and termination of the pattern matching apparatus 100, input of image data and parameters to the pattern matching apparatus 100, and output of a matching result (matching position 17).

パターンマッチングの手順を以下に示す。   The pattern matching procedure is shown below.

パターンマッチング装置100は、起動後、RAM73から被サーチ画像12を読み込む。被サーチ画像12は複数取得される。すなわち、被サーチ画像12は、同一被写体に対して同一位置で複数回撮影して得られたものである。   The pattern matching apparatus 100 reads the searched image 12 from the RAM 73 after activation. A plurality of searched images 12 are acquired. That is, the searched image 12 is obtained by photographing the same subject a plurality of times at the same position.

テンプレート画像10と比較すべきマッチング候補画像18(図1のマッチング候補画像2A−2Lに相当する)は、各被サーチ画像12から切り出され、加重平均手段14に入力される。   A matching candidate image 18 (corresponding to the matching candidate images 2A-2L in FIG. 1) to be compared with the template image 10 is cut out from each searched image 12 and input to the weighted average means 14.

マッチング候補画像18に加重平均補助用画像11を加えて加重平均処理が行われ、加重平均後の画像18´(図1の画像2´に相当する)は、パターンマッチング手段15に入力される。   The weighted average auxiliary image 11 is added to the matching candidate image 18 to perform a weighted average process, and an image 18 ′ (corresponding to the image 2 ′ in FIG. 1) after the weighted average is input to the pattern matching unit 15.

パターンマッチング手段15は、テンプレート画像10と加重平均された画像18´とのパターンマッチングを行い、マッチング値(画像パターンの一致度)19をマッチング値比較手段16に入力する。マッチング値比較手段16では、マッチング値の大きいマッチング候補を検出してマッチング結果17を出力する。   The pattern matching unit 15 performs pattern matching between the template image 10 and the weighted average image 18 ′, and inputs a matching value (image pattern matching degree) 19 to the matching value comparison unit 16. The matching value comparison unit 16 detects a matching candidate having a large matching value and outputs a matching result 17.

上記したマッチング候補画像18の切り出しは、被サーチ画像12からテンプレート10と同サイズの画像を抽出するものであり、基本的に被サーチ画像12の始点から終点にかけて順次行うものである。加重平均補助用の画像11とテンプレート画像10は、被サーチ画像12の始点から終点までのパターンマッチング過程において固定である。ここで、加重平均補助用画像11とは、マッチング候補画像の加重平均に必要とされる画像データの補助に使用され、テンプレート画像10と同じパターンを含む画像である。テンプレート画像10と加重平均補助用画像11は、パターンマッングの前工程として画像入力装置76で撮影した画像の中から情報入力装置77による指定によって、RAM73に登録されたものである。   The above-described extraction of the matching candidate image 18 is performed by extracting an image having the same size as the template 10 from the searched image 12 and is basically performed sequentially from the start point to the end point of the searched image 12. The weighted average auxiliary image 11 and the template image 10 are fixed in the pattern matching process from the start point to the end point of the searched image 12. Here, the weighted average auxiliary image 11 is an image that is used to assist image data required for the weighted average of the matching candidate images and includes the same pattern as the template image 10. The template image 10 and the weighted average auxiliary image 11 are registered in the RAM 73 by the designation by the information input device 77 from the images photographed by the image input device 76 as a pre-process of pattern mung.

テンプレート画像10と加重平均補助用画像11の登録は、図13に示すテンプレート登録プログラム90を利用することにより実現できる。   Registration of the template image 10 and the weighted average auxiliary image 11 can be realized by using a template registration program 90 shown in FIG.

テンプレートの登録手順を図12と図13を用いて説明する。   The template registration procedure will be described with reference to FIGS.

テンプレート登録プログラム90は、RAM73もしくはROM74に格納されており、CPU71がそのプログラムを実行する。   The template registration program 90 is stored in the RAM 73 or the ROM 74, and the CPU 71 executes the program.

テンプレート登録プログラム90を実行する場合、RAM73にテンプレートとなる撮影画像80が保存されていない場合は、画像入力装置76でテンプレート画像となる被写体を撮影し(ステップ900)、それをRAM73に保存する。   When the template registration program 90 is executed, if the photographed image 80 serving as the template is not stored in the RAM 73, the subject serving as the template image is photographed by the image input device 76 (step 900) and stored in the RAM 73.

次にRAM73に保存されている撮影画像80を、情報出力装置(ディスプレイ)78に表示する(ステップ901)。   Next, the captured image 80 stored in the RAM 73 is displayed on the information output device (display) 78 (step 901).

オペレータは、図12に示すように、情報出力装置78の画面をみながら、情報入力装置77を用いて撮影画像80内の所望のパターンを含む画像領域の座標を指定する。CPU71は、その座標情報の指定を受けて、その座標範囲の画像領域81をテンプレート画像10として登録する(ステップ902)。次に加重平均補助用の画像11を登録する(ステップ905)。加重平均補助用の画像11は、テンプレート画像10のパターンと同じパターンを含む画像である。   As shown in FIG. 12, the operator designates the coordinates of an image area including a desired pattern in the captured image 80 using the information input device 77 while viewing the screen of the information output device 78. In response to the designation of the coordinate information, the CPU 71 registers the image area 81 in the coordinate range as the template image 10 (step 902). Next, the weighted average auxiliary image 11 is registered (step 905). The weighted average auxiliary image 11 is an image including the same pattern as the template image 10.

ここでパターンとは、被写体の形状を示す輝度情報を指している。つまり、被写体の画像化に光学式の撮像装置が使用された場合には、被写体からの反射光もしくは、透過光の強度が被写体の形状を示す輝度情報であり、被写体の画像化に電子顕微鏡が使用された場合には、被写体から放出された二次電子、反射電子を収集、増幅したものが被写体の形状を示す輝度情報である。   Here, the pattern refers to luminance information indicating the shape of the subject. That is, when an optical imaging device is used for imaging a subject, the intensity of reflected light or transmitted light from the subject is luminance information indicating the shape of the subject, and an electron microscope is used for imaging the subject. When used, luminance information indicating the shape of the subject is obtained by collecting and amplifying secondary electrons and reflected electrons emitted from the subject.

通常は撮影の過程で、被写体の形状を示す輝度情報にランダムノイズが重畳するが、テンプレート画像10および加重平均補助用画像11として登録する画像は、ランダムノイズの影響を受けず、被写体の形状を正確に示す輝度情報を持つ画像が望ましい。   Normally, random noise is superimposed on luminance information indicating the shape of the subject during the shooting process, but the image registered as the template image 10 and the weighted average auxiliary image 11 is not affected by the random noise, and the shape of the subject is changed. An image having luminance information that accurately indicates it is desirable.

以上から、テンプレート画像10を加重平均補助用画像11として登録してもよいし、テンプレート画像10を抽出した撮影画像80以外の撮影画像からテンプレート画像10と同じパターンを切り出して登録しても良い。   From the above, the template image 10 may be registered as the weighted average auxiliary image 11, or the same pattern as the template image 10 may be cut out and registered from a captured image other than the captured image 80 from which the template image 10 is extracted.

なお、本例では、加重平均補助用画像11として登録する被写体を撮影し(ステップ903)、RAM73に保存した後、その撮影画像を情報出力装置78に表示させ(ステップ904)、その撮影画像の確認後に該画像を加重平均補助用画像11として登録している。   In this example, the subject to be registered as the weighted average auxiliary image 11 is photographed (step 903), stored in the RAM 73, and then the photographed image is displayed on the information output device 78 (step 904). After confirmation, the image is registered as the weighted average auxiliary image 11.

テンプレート画像10を加重平均補助用画像11として利用する場合には、ステップ903、904は省略される。   When the template image 10 is used as the weighted average auxiliary image 11, steps 903 and 904 are omitted.

加重平均手段14は、既述したように、マッチング候補画像18に、加重平均補助用画像11を加えて加重平均処理を行う。   As described above, the weighted average means 14 performs the weighted average processing by adding the weighted average auxiliary image 11 to the matching candidate image 18.

加重平均とは、加重対象の複数の画像(本実施例では、マッチング候補画像18と加重平均補助用画像11)の各画素の輝度値に重み付け係数を掛けることで、それらの複数画像の重み付き平均画像(以下、加重平均画像とする)を求めるものであり、式1で表すことができる。重み付けの係数k1=k2=0.5を通常値とするが、これは限定しない。   The weighted average is obtained by multiplying the luminance value of each pixel of a plurality of images to be weighted (in this embodiment, the matching candidate image 18 and the weighted average auxiliary image 11) by a weighting coefficient, thereby weighting the plurality of images. An average image (hereinafter referred to as a weighted average image) is obtained and can be expressed by Equation 1. Although the weighting coefficient k1 = k2 = 0.5 is a normal value, this is not limited.

Dst(i,j)=k1×Img1(i,j)+k2×Img2(i,j)…式1
k1+k2=1.0
Dst(i,j):加重平均処理画像
Img1(i,j):マッチング候補画像
Img2(i,j):加重平均補助画像
ここで、(i,j)は画像座標である。式1から明らかなように、マッチング候補画像18に、加重平均補助用画像11を加えて加重平均処理を行う場合には、両者の画像座標(i,j)を一致させて行われる。
図5は、加重平均手段14のハード構成を示すものであり、マッチング候補画像Img1(i,j)の各画素の輝度値に重み付け係数k1を掛けるための乗算器141と、加重平均補助画像Img2(i,j)の各画素の輝度値に重み付け係数k2を掛けるための乗算器142と、重み付け処理されたマッチング候補画像と加重平均補助画像の各画素の輝度値を加算する加算器143によって構成される。
Dst (i, j) = k1 × Img1 (i, j) + k2 × Img2 (i, j)...
k1 + k2 = 1.0
Dst (i, j): Weighted average processed image Img1 (i, j): Matching candidate image Img2 (i, j): Weighted average auxiliary image
Here, (i, j) are image coordinates. As is apparent from Equation 1, when the weighted average auxiliary image 11 is added to the matching candidate image 18 and the weighted average processing is performed, the image coordinates (i, j) of both are matched.
FIG. 5 shows a hardware configuration of the weighted average means 14, and a multiplier 141 for multiplying the luminance value of each pixel of the matching candidate image Img1 (i, j) by a weighting coefficient k1, and a weighted average auxiliary image Img2. A multiplier 142 for multiplying the luminance value of each pixel of (i, j) by a weighting coefficient k2, and an adder 143 for adding the luminance value of each pixel of the weighted matching candidate image and the weighted average auxiliary image. Is done.

加重平均による効果について、図8の輝度プロファイルを用いて説明する。   The effect of the weighted average will be described using the luminance profile of FIG.

輝度プロファイルは、画像上の座標を横軸として、各座標の画素の輝度値を縦軸に表したものである。破線1はランダムノイズが重畳していないパターン(画像信号)、破線2がランダムノイズ、実線はランダムノイズが重畳した画像信号を示している。   The luminance profile represents the luminance value of the pixel at each coordinate on the vertical axis with the coordinates on the image as the horizontal axis. A broken line 1 indicates a pattern (image signal) on which random noise is not superimposed, a broken line 2 indicates random noise, and a solid line indicates an image signal on which random noise is superimposed.

図8には、テンプレート画像10の輝度ファイル301、被サーチ画像内のマッチング候補A画像18−1の輝度ファイル302、マッチング候補B画像18−2の輝度ファイル303、加重平均補助用画像11の輝度ファイル304を例示している。2つのマッチング候補画像のうち、輝度ファイル302は、被サーチ画像におけるマッチング位置(すなわち、テンプレート画像と同一のパターンが存在する位置の画像)の輝度ファイルである。輝度ファイル303は、被サーチ画像における非マッチング位置の輝度ファイルである。なお、各マッチング候補画像18−1,18−2は、実際には、同一位置で同一被写体に対して複数回撮影された複数枚の被サーチ画像から切り出されるために、各マッチング候補画像18−1,18−2がそれぞれ複数存在するが、ここでは、便宜上、代表的に各々一枚だけを例示している。   FIG. 8 shows the luminance file 301 of the template image 10, the luminance file 302 of the matching candidate A image 18-1 in the searched image, the luminance file 303 of the matching candidate B image 18-2, and the luminance of the weighted average auxiliary image 11. A file 304 is illustrated. Among the two matching candidate images, the luminance file 302 is a luminance file at a matching position in the searched image (that is, an image at a position where the same pattern as the template image exists). The luminance file 303 is a luminance file at a non-matching position in the searched image. Note that each of the matching candidate images 18-1 and 18-2 is actually cut out from a plurality of search target images photographed a plurality of times for the same subject at the same position. There are a plurality of 1 and 18-2, but here, for convenience, only one of each is illustrated as a representative.

マッチング候補画像18−1,18−2は、共にランダムノイズの影響を受けてパターンが欠落しており、仮に各々一枚だけをテンプレート画像とパターンマッチングした場合には、マッチングの過程で誤った一致度を検出し、ミスマッチングされることがある。   The matching candidate images 18-1 and 18-2 are both affected by random noise, and the pattern is missing. If only one image is pattern-matched with the template image, incorrect matching occurs in the matching process. The degree may be detected and mismatched.

このような不具合を解消するために、各マッチング候補画像は、複数取得されて、加重平均手段14によって加重平均されるが、本実施例では、被サーチ画像の撮影回数を減らすために、各マッチング候補画像に加重平均補助用画像11を加えて加重平均処理を行う。すなわち、マッチング候補A画像18−1と加重平均補助用画像11との加重平均処理、およびマッチング候補B画像18−2と加重平均補助用画像11との加重平均処理を行う。ここで、加重平均補助用画像の枚数がマッチング候補画像に較べて多すぎると、各マッチング候補画像の加重平均後の画像データが似通ってきてしまうので、適度な量に制限する必要がある。以上を考慮して、各マッチング候補画像の枚数(被サーチ画像の枚数)Lと加重平均補助用の画像の枚数Mとは、L>Mの関係にある。   In order to eliminate such inconvenience, a plurality of matching candidate images are acquired and weighted averaged by the weighted averaging means 14, but in this embodiment, each matching image is reduced in order to reduce the number of times the searched image is captured. The weighted average auxiliary image 11 is added to the candidate image to perform a weighted average process. That is, the weighted average processing of the matching candidate A image 18-1 and the weighted average auxiliary image 11 and the weighted average processing of the matching candidate B image 18-2 and the weighted average auxiliary image 11 are performed. Here, if the number of weighted average auxiliary images is too large compared to the matching candidate images, the image data after the weighted average of each matching candidate image will be similar, so it is necessary to limit to an appropriate amount. Considering the above, the number of matching candidate images (the number of searched images) L and the number M of weighted average auxiliary images have a relationship of L> M.

このような加重平均処理によれば、マッチング候補A画像18−1については、ランダムノイズが低減され、また、加重平均補助用画像11の加入により、テンプレート画像と一致すべきパターンの明りょう化を図れる。この場合の加重平均後の画像18´−1の輝度ファイルが図8の305で示される。   According to such weighted average processing, random noise is reduced for the matching candidate A image 18-1, and the addition of the weighted average auxiliary image 11 makes it clearer the pattern to be matched with the template image. I can plan. The luminance file of the image 18′-1 after the weighted average in this case is indicated by 305 in FIG.

一方、マッチング候補B画像18−2(テンプレート画像11と一致しない画像)については、加重平均後の画像18´−2の中に加重平均補助用画像304のパターンが重み付け係数k2の割合で含まれることになる。例えばk1=0.5、k2=0.5とした場合、加重平均補助用画像11のパターンが1/2含まれた画像を得ることになる。このような場合においては、加重平均後のマッチング候補画像18´−2がテンプレートに類似する傾向となる。しかし、加重平均によってランダムノイズが低減される。また、非マッチング位置のマッチング候補B画像18−2にテンプレート画像とパターンが同一の加重平均補助用画像11が加わったとしても、それは各画像における加重平均処理枚数のうち少数であるので、加重平均によりそのパターンは希釈化される。そのため、本来のパターン情報が良好に抽出できるようになる。306は、この画像18´−2の輝度ファイルである。このため、加重平均処理後のパターンの差30をマッチング結果に反映させることでマッチング候補間の一致度の差を検出することが可能となる。   On the other hand, for the matching candidate B image 18-2 (an image that does not match the template image 11), the pattern of the weighted average auxiliary image 304 is included in the ratio of the weighting coefficient k2 in the image 18′-2 after the weighted average. It will be. For example, when k1 = 0.5 and k2 = 0.5, an image including 1/2 of the weighted average auxiliary image 11 pattern is obtained. In such a case, the matching candidate image 18′-2 after the weighted average tends to be similar to the template. However, random noise is reduced by the weighted average. Further, even if the weighted average auxiliary image 11 having the same pattern as the template image is added to the matching candidate B image 18-2 at the non-matching position, it is a small number of the weighted average number of processed images in each image. To dilute the pattern. Therefore, original pattern information can be extracted well. Reference numeral 306 denotes a luminance file of the image 18′-2. For this reason, it is possible to detect the difference in matching degree between the matching candidates by reflecting the pattern difference 30 after the weighted average processing in the matching result.

図3において、パターンマッチング手段15は、テンプレート画像10(図8の輝度ファイル301相当)と加重平均画像18´(図8の加重平均画像18´−1、18´−2の輝度ファイルに相当)のパターンマッチングを行い、一致度(以下、マッチング値19とする)を計測する。パターンマッチングの手法は、各加重平均画像18´のパターン情報の差30に基づき一致度を判定できる手法であればよく、その具体的な手法は、限定しない。つまり、加重平均によって変化したパターン(不一致のマッチング候補)と、加重平均により変化しなかったパターン(一致のマッチング候補)の差を利用して一致度を計測するパターンマッチング手法であればよい。   In FIG. 3, the pattern matching means 15 includes a template image 10 (corresponding to the luminance file 301 in FIG. 8) and a weighted average image 18 ′ (corresponding to the luminance files of the weighted average images 18′-1 and 18′-2 in FIG. 8). Pattern matching is performed, and the degree of coincidence (hereinafter referred to as matching value 19) is measured. The pattern matching technique may be any technique that can determine the degree of coincidence based on the pattern information difference 30 of each weighted average image 18 ′, and the specific technique is not limited. That is, any pattern matching method may be used as long as the degree of coincidence is measured by using a difference between a pattern that has been changed by the weighted average (mismatched matching candidate) and a pattern that has not been changed by the weighted average (matching matching candidate).

上記のようなパターンマッチングの手法としては、例えば、単純に画像間の輝度比較を行う輝度差分法や、画像の標準偏差を用いて正規化した後に画像間の相関を求める正規化相関法などがある。   Examples of the pattern matching method as described above include a luminance difference method for simply comparing luminance between images, and a normalized correlation method for obtaining correlation between images after normalization using the standard deviation of images. is there.

マッチング値比較手段16は、各マッチング候補画像のマッチング値19の中から最も高いマッチング値を検出して、そのマッチング値をもつマッチング候補画像の被サーチ画像内での画像位置(位置座標)をマッチング位置17として出力する。
〔実施例2〕
図4は、本発明の実施例2におけるパターンマッチング装置100のブロック図である。
The matching value comparison means 16 detects the highest matching value from the matching values 19 of each matching candidate image, and matches the image position (positional coordinate) in the searched image of the matching candidate image having the matching value. Output as position 17.
[Example 2]
FIG. 4 is a block diagram of the pattern matching apparatus 100 according to the second embodiment of the present invention.

本実施例において、実施例1と同一符号は、実施例1に用いる構成要素と同一或いは共通する要素を示す。   In the present embodiment, the same reference numerals as those in the first embodiment indicate the same or common elements as those used in the first embodiment.

本実施例において、実施例1と相違する点は、加重平均手段14の後段に画像変換手段20を設けたことである。   In this embodiment, the difference from the first embodiment is that an image conversion means 20 is provided after the weighted average means 14.

画像変換手段20は、加重平均された画像18´に対して、パターンとランダムノイズ成分を分離した画像(ここでは、「加重平均変換画像」と称する)21を生成するものである。パターンとランダムノイズを分離する方法としては、フーリエ変換を利用した方法やフィルタ係数を利用した方法など様々あるが、ノイズの低減効果があるものであれば、これを限定しない。   The image conversion means 20 generates an image 21 (herein referred to as “weighted average converted image”) obtained by separating the pattern and the random noise component from the weighted average image 18 ′. There are various methods for separating a pattern and random noise, such as a method using a Fourier transform and a method using a filter coefficient, but the method is not limited as long as it has a noise reduction effect.

図10を用いて画像変換の一例を示す。   An example of image conversion is shown using FIG.

マッチング候補A画像18−1およびマッチング候補B画像18−2に対して、加重平均補助用画像11をk1=0.5,k2=0.5の重み付け係数で加重平均した画像が加重平均A画像18´−1および加重平均B画像18´−2である。加重平均A画像18´−1および加重平均B画像18´−2に対し、画像変換手段20を用いて、式2に示すエッジ抽出フィルタを適用した画像が、加重平均A変換画像509および加重平均B変換画像510である。   For the matching candidate A image 18-1 and the matching candidate B image 18-2, an image obtained by weighted averaging the weighted average auxiliary image 11 with a weighting coefficient of k1 = 0.5 and k2 = 0.5 is a weighted average A image 18′-1. And a weighted average B image 18'-2. An image obtained by applying the edge extraction filter shown in Expression 2 to the weighted average A image 18′-1 and the weighted average B image 18′-2 using the image conversion unit 20 is obtained as a weighted average A converted image 509 and a weighted average. This is a B-converted image 510.

符号504、505で示す画像は、本実施例に対する比較例であり、それらは、マッチング候補A画像18−1、マッチング候補B画像18−2に対して、それぞれ加重平均を行わずに直接式2に示すフィルタ処理を施した画像である。加重平均を行わない画像に比べ、加重平均を行った画像は、エッジ成分とノイズ成分が良好に分離できているのが分かる。このような画像変換手段20を適用することで、ランダムノイズの影響を更に低減した画像でパターンマッチングを行うことができる。   The images denoted by reference numerals 504 and 505 are comparative examples for the present embodiment, and they are directly expressed by Equation 2 without performing weighted averaging on the matching candidate A image 18-1 and the matching candidate B image 18-2, respectively. It is the image which performed the filter process shown in FIG. It can be seen that the edge component and the noise component are well separated in the image subjected to the weighted average as compared with the image not subjected to the weighted average. By applying such image conversion means 20, pattern matching can be performed with an image in which the influence of random noise is further reduced.

Figure 0004865204
Figure 0004865204

i,j:画像座標
Dst2(i,j):加重平均処理変換画像
Dst(i,j):加重平均処理画像
Fx(i,j):水平方向のエッジ成分
Fy(i,j):垂直方向のエッジ成分
式2における、Fx(i,j)は、画像の水平方向の隣接画素同士の濃淡の勾配のあるところをエッジとして求め、同じくFy(i,j)は、画像の垂直方向の隣接画素同士の濃淡の勾配のあるところをエッジとして求めている。
i, j: Image coordinates
Dst2 (i, j): Weighted average processing conversion image
Dst (i, j): Weighted average processed image
Fx (i, j): Horizontal edge component
Fy (i, j): Vertical edge component In Expression 2, Fx (i, j) is obtained as an edge where there is a gradient of light and shade between adjacent pixels in the horizontal direction of the image, and Fy (i, j ) Is obtained as an edge where there is a gradient of light and shade between adjacent pixels in the vertical direction of the image.

図6は、上記式2を実行するための画像変換手段20(エッジ抽出フィルタ)のハード構成を示す一例であり、引き算器151、152、加算器153、154、155、156、157、158、乗算器159、160、引き算器161、162、二乗演算器163、164、加算器165、ルート演算器166により構成される。   FIG. 6 is an example showing a hardware configuration of the image conversion means 20 (edge extraction filter) for executing the above expression 2, and subtracters 151 and 152, adders 153, 154, 155, 156, 157, 158, Multipliers 159 and 160, subtracters 161 and 162, square calculators 163 and 164, an adder 165, and a root calculator 166.

図7(a)は、上記式2が適用される画像座標データであり、同図(b)は、その水平方向エッジ成分を求める場合(画像変換する場合)の各画素に適用される係数であり、どう図(c)は、の加重平均処理変換にその垂直方向エッジ成分を求める場合(画像変換する場合)の各画素に適用される係数である。
〔実施例3〕
図16は、実施例1および実施例2で示した本発明のパターンマッチング装置100の機能をソフトウェアで実行するためのパターンマッチングプログラムのフローチャートである。
FIG. 7 (a) shows image coordinate data to which the above equation 2 is applied, and FIG. 7 (b) shows coefficients applied to each pixel when the horizontal edge component is obtained (when image conversion is performed). Yes, FIG. (C) shows coefficients applied to each pixel when the edge component in the vertical direction is obtained for the weighted average processing conversion (when image conversion is performed).
Example 3
FIG. 16 is a flowchart of a pattern matching program for executing the functions of the pattern matching apparatus 100 of the present invention shown in the first and second embodiments by software.

パターンマッチングプログラムは、図2(b)に示した情報処理装置7001のRAM703、およびROM704に格納されており、情報入力装置706の指示を受けたCPU701がパターンマッチングに必要な起動、実行、終了の制御を行うものである。   The pattern matching program is stored in the RAM 703 and the ROM 704 of the information processing apparatus 7001 shown in FIG. 2B, and the CPU 701 that has received an instruction from the information input apparatus 706 performs activation, execution, and termination necessary for pattern matching. Control is performed.

パターンマッチングプログラム起動後、RAM703に格納されている画像を利用してテンプレート画像10の登録を行い(ステップ1201)、加重平均補助用画像11を登録する(ステップ1202)。RAM703に格納されている被サーチ画像12からマッチング候補画像18を切り出し、加重平均補助用画像11とテンプレート画像10の加重平均を行い、加重平均画像18´を生成する(ステップ1203)。加重平均画像18´、もしくは加重平均画像18´を画像変換(ステップ1204)した加重平均変換画像21に対してテンプレート画像10とのパターンマッチングを行なう(ステップ1205)。被サーチ画像12の終点までパターンマッチングが終了した時点で、最もマッチング値の高いマッチング候補の画像位置を検出し(ステップ1207)、RAM703および情報出力装置708に出力する(ステップ1208)。これらの加重平均処理、画像変換処理、パターンマッチングは、CPU701の演算により行なわれる。
〔実施例4〕
図14は、上記した図2の画像処理装置(情報処理装置)7000を半導体検査装置1001に適用したブロック図である。
After starting the pattern matching program, the template image 10 is registered using the image stored in the RAM 703 (step 1201), and the weighted average auxiliary image 11 is registered (step 1202). The matching candidate image 18 is cut out from the searched image 12 stored in the RAM 703, and the weighted average auxiliary image 11 and the template image 10 are weighted averaged to generate a weighted average image 18 '(step 1203). Pattern matching with the template image 10 is performed on the weighted average image 18 ′ or the weighted average converted image 21 obtained by image conversion of the weighted average image 18 ′ (step 1204) (step 1205). When the pattern matching is completed up to the end point of the searched image 12, the image position of the matching candidate having the highest matching value is detected (step 1207), and is output to the RAM 703 and the information output device 708 (step 1208). These weighted average processing, image conversion processing, and pattern matching are performed by the calculation of the CPU 701.
Example 4
FIG. 14 is a block diagram in which the image processing apparatus (information processing apparatus) 7000 shown in FIG. 2 is applied to a semiconductor inspection apparatus 1001.

本例の装置1001は、走査型電子顕微鏡76で撮影した画像を利用して、半導体ウェハの検査を行うものである。ブロック図の構成要素であるCPU71、信号入力IF72,RAM73、ROM74,信号出力IF75、画像データ処理部79、情報出力装置77、パターンマッチング装置100は、図2(a)で示した画像処理装置7000の構成要素と同等のため、説明を省略する。   The apparatus 1001 of this example inspects a semiconductor wafer using an image taken with a scanning electron microscope 76. The CPU 71, the signal input IF 72, the RAM 73, the ROM 74, the signal output IF 75, the image data processing unit 79, the information output device 77, and the pattern matching device 100, which are constituent elements of the block diagram, are the image processing device 7000 shown in FIG. Since it is equivalent to the component of, the description is omitted.

半導体検査装置1001のコスト、要求性能により、本例のパターンマッチング装置100は、実施例1、2で示したハードウェアで構成してもよいし、実施例3で示したソフトウェアで構成してもよいし、或いは一部をハードウェア、残りをソフトウェアで構成してもよい。   Depending on the cost and required performance of the semiconductor inspection apparatus 1001, the pattern matching apparatus 100 of this example may be configured by the hardware described in the first and second embodiments, or may be configured by the software described in the third embodiment. Alternatively, a part may be constituted by hardware and the rest may be constituted by software.

検査工程の全体制御は、CPU71がRAM73およびROM74に格納された検査制御プログラムを利用することで行う。検査制御プログラムの処理フローを図17に示す。   The entire inspection process is controlled by the CPU 71 using an inspection control program stored in the RAM 73 and the ROM 74. The processing flow of the inspection control program is shown in FIG.

検査の前工程として、実施例1に示したテンプレート登録プログラムを起動して半導体ウェハ上の検査パターン、もしくは検査パターンとその付近のパターンをテンプレート画像10として登録し、テンプレート画像10と同じパターンを含む加重平均補助用の画像11を登録する(ステップ1301)。テンプレート画像10、加重平均補助用画像11の作成については、既述したので省略する。続いて半導体ウェハ上の検査位置を登録する(ステップ1302)。   As a pre-inspection process, the template registration program shown in the first embodiment is started to register the inspection pattern on the semiconductor wafer, or the inspection pattern and its neighboring pattern as the template image 10, and include the same pattern as the template image 10. The weighted average auxiliary image 11 is registered (step 1301). The creation of the template image 10 and the weighted average auxiliary image 11 has been described above and will be omitted. Subsequently, the inspection position on the semiconductor wafer is registered (step 1302).

図15に半導体ウェハ1101、走査型電子顕微鏡76により半導体ウェハ1101上の所定の位置を撮影した画像1102、テンプレート登録プログラムにより登録するテンプレート画像1103、検査位置を指定するための指標1104の関係を示す。検査位置は、情報出力装置77に表示される画像1102の任意の位置に情報入力装置77による指標1104の操作により特定することができる。   FIG. 15 shows the relationship between the semiconductor wafer 1101, the image 1102 obtained by photographing a predetermined position on the semiconductor wafer 1101 with the scanning electron microscope 76, the template image 1103 registered by the template registration program, and the index 1104 for specifying the inspection position. . The inspection position can be specified by operating the index 1104 by the information input device 77 at an arbitrary position on the image 1102 displayed on the information output device 77.

ステップ1302の後、走査型電子顕微鏡のスキャン方法や測長検査、欠陥検査などの検査方法を登録する(ステップ1303)。   After step 1302, an inspection method such as a scanning electron microscope scanning method, length measurement inspection, and defect inspection is registered (step 1303).

その後に検査工程が入る。検査工程では、検査の対象となる半導体ウェハを電子顕微鏡で撮影し(ステップ1304)、撮影画像(既述の被サーチ画像12に相当する)をRAM73に保存する。テンプレート10、加重平均補助用画像11、被サーチ画像12からのマッチング候補画像に関するデータをパターンマッチング装置100に入力して、加重平均処理、パターンマッチングを行うことにより、マッチング位置を得る(ステップ1305)。   After that, an inspection process enters. In the inspection process, a semiconductor wafer to be inspected is photographed with an electron microscope (step 1304), and a photographed image (corresponding to the searched image 12 described above) is stored in the RAM 73. Data relating to a matching candidate image from the template 10, the weighted average auxiliary image 11, and the searched image 12 is input to the pattern matching apparatus 100, and a matching position is obtained by performing weighted average processing and pattern matching (step 1305). .

なお、ステップ1305では、図16に示す画像変換の実行1204を含む。続いてマッチング位置の座標が知り得ることから、マッチング位置の画像内に検査位置1104を特定し、検査処理装置1002を起動して検査方法の登録1303で指定した検査を行う(ステップ1306)。その後、検査結果をRAM73および情報出力装置77に出力する。ウェハの検査が終了次第、検査制御プログラムを終了する。なお、検査処理装置1002は、画像処理部79と同様にFPGA、ASICなどのハードウェアで構成してもよいし、検査処理装置1102の機能をプログラム化してRAM73およびROM74に登録しておき、CPU71の制御によって起動、実行、終了するソフトウェアで構成してもよい。   Step 1305 includes execution 1204 of image conversion shown in FIG. Subsequently, since the coordinates of the matching position can be known, the inspection position 1104 is specified in the image of the matching position, the inspection processing apparatus 1002 is activated, and the inspection designated by the inspection method registration 1303 is performed (step 1306). Thereafter, the inspection result is output to the RAM 73 and the information output device 77. As soon as the wafer inspection is completed, the inspection control program is terminated. Note that the inspection processing apparatus 1002 may be configured by hardware such as FPGA and ASIC, like the image processing unit 79, or the function of the inspection processing apparatus 1102 is programmed and registered in the RAM 73 and the ROM 74, and the CPU 71 You may comprise with the software started, executed, and complete | finished by control of this.

(a)は、本発明の画像処理に関する原理図、(b)は、従来方式の画像処理の原理図。(A) is the principle figure regarding the image processing of this invention, (b) is the principle figure of the image processing of a conventional system. (a)は、本発明の実施例1に係るパターンマッチング装置を搭載した情報処理装置(画像処理装置)を示すブロック図、(b)は、同じく実施例2の情報処理装置のブロック図。(A) is a block diagram showing an information processing apparatus (image processing apparatus) equipped with the pattern matching apparatus according to the first embodiment of the present invention, and (b) is a block diagram of the information processing apparatus of the second embodiment. 実施例1に用いるパターンマッチング装置を示すブロック図。1 is a block diagram showing a pattern matching device used in Embodiment 1. FIG. 実施例2に用いるパターンマッチング装置を示すブロック図。FIG. 5 is a block diagram showing a pattern matching device used in Embodiment 2. 実施例1における加重平均処理手段の構成を示す図。FIG. 3 is a diagram illustrating a configuration of a weighted average processing unit according to the first embodiment. 実施例2における加重平均処理手段の構成を示す図。FIG. 6 is a diagram illustrating a configuration of a weighted average processing unit according to the second embodiment. 実施例2の加重平均処理に用いるデータを示す図。FIG. 6 is a diagram illustrating data used for a weighted average process according to the second embodiment. 本発明のパターンマッチング装置で利用する画像の輝度プロファイルを示した図。The figure which showed the brightness | luminance profile of the image utilized with the pattern matching apparatus of this invention. 本発明のパターンマッチング装置で利用する画像を示した図。The figure which showed the image utilized with the pattern matching apparatus of this invention. 本発明のパターンマッチング装置で利用する画像を示した図。The figure which showed the image utilized with the pattern matching apparatus of this invention. 本発明のパターンマッチング装置を搭載した情報処理装置と周辺装置の外観を示した図。The figure which showed the external appearance of the information processing apparatus and peripheral device which mount the pattern matching apparatus of this invention. 情報出力装置の外観と、本発明のパターンマッチング装置で利用する画像を示した図。The figure which showed the image utilized with the external appearance of an information output device, and the pattern matching apparatus of this invention. テンプレート登録プログラムのフローチャート。The flowchart of a template registration program. 本発明の画像処理装置を搭載した半導体検査装置を示すブロック図。1 is a block diagram showing a semiconductor inspection apparatus equipped with an image processing apparatus of the present invention. 半導体ウェハと撮影画像およびテンプレート画像の関係を示した図。The figure which showed the relationship between a semiconductor wafer, a picked-up image, and a template image. 本発明のパターンマッチング装置の機能を示すフローチャート。The flowchart which shows the function of the pattern matching apparatus of this invention. 本発明のパターンマッチング装置の機能を含む半導体検査工程を示すフローチャート。The flowchart which shows the semiconductor test process including the function of the pattern matching apparatus of this invention. テンプレートを用いたパターンマッチングの手順を示した図。The figure which showed the procedure of the pattern matching using a template.

符号の説明Explanation of symbols

10…テンプレート画像、11…加重平均補助用画像、12…被サーチ画像、14…加重平均処理手段、15…パターンマッチング手段、16…マッチング値比較手段、17…マッチング位置、18…マッチング候補画像、18´…加重平均画像、20…画像変換手段、21…加重平均変換画像、100…パターンマッチング装置、301…テンプレート画像の輝度プロファイル、302…マッチング候補A画像の輝度プロファイル、303…マッチング候補B画像の輝度プロファイル、304…加重平均補助用画像の輝度プロファイル、305…加重平均A画像の輝度プロファイル、306…加重平均B画像の輝度プロファイル、30…加重平均後のパターン情報の差、401…テンプレート画像、402…マッチング候補A画像、403…マッチング候補B画像、404…マッチング候補A画像の相関像、405…マッチング候補B画像の相関像、406…ノイズが重畳したマッチング候補A画像、407…ノイズが重畳したマッチング候補B画像、408…ノイズが重畳したマッチング候補A画像の相関像、409…ノイズが重畳したマッチング候補B画像の相関像、71…CPU、72…信号入力IF、73…RAM、74…ROM、75…信号出力IF、76…画像入力装置、77…情報入力装置、78…情報出力装置、79…画像処理部、7000…情報処理装置、701…CPU、702…信号入力IF、703…RAM、704…ROM、705…信号出力IF、706…画像入力装置、707…情報入力装置、708…情報出力装置、709…画像処理部、7001…情報処理装置、80…撮影画像、81…テンプレート画像、加重平均補助用画像、1001…半導体検査装置、1002…検査処理部、1101…半導体ウェハ、1102…半導体ウェハの撮影画像、1103…テンプレート画像、1104…検査位置。 DESCRIPTION OF SYMBOLS 10 ... Template image, 11 ... Weighted average auxiliary image, 12 ... Searched image, 14 ... Weighted average processing means, 15 ... Pattern matching means, 16 ... Matching value comparison means, 17 ... Matching position, 18 ... Matching candidate image, 18 '... weighted average image, 20 ... image conversion means, 21 ... weighted average converted image, 100 ... pattern matching device, 301 ... brightness profile of template image, 302 ... brightness profile of matching candidate A image, 303 ... matching candidate B image Luminance profile of the weighted average auxiliary image, 305... The luminance profile of the weighted average A image, 306... The luminance profile of the weighted average B image, 30. 402 ... Matching candidate A image 403 Matching candidate B image 404 ... Correlation image of matching candidate A image 405 ... Correlation image of matching candidate B image 406 ... Matching candidate A image with superimposed noise 407 ... Matching candidate B image with superimposed noise 408 ... Noise ,...,...,...,... CPU, 72... Signal input IF, 73... RAM, 74... ROM, 75. ... Image input device, 77 ... Information input device, 78 ... Information output device, 79 ... Image processing unit, 7000 ... Information processing device, 701 ... CPU, 702 ... Signal input IF, 703 ... RAM, 704 ... ROM, 705 ... Signal Output IF, 706 ... Image input device, 707 ... Information input device, 708 ... Information output device, 709 ... Image processing unit, 700 DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus, 80 ... Photographed image, 81 ... Template image, weighted average auxiliary image, 1001 ... Semiconductor inspection apparatus, 1002 ... Inspection processing section, 1101 ... Semiconductor wafer, 1102 ... Photographed image of semiconductor wafer, 1103 ... Template image, 1104 ... inspection position.

Claims (8)

ランダムノイズが含まれる検査対象製品の撮影画像の中からサーチ対象となる画像パターンを検出するために、予めサーチ対象と同一の画像パターンをテンプレート画像として登録し、前記検査対象製品の撮影画像を同一位置で複数回の撮影を行うことにより複数取得し、当該複数枚の撮影画像を加重平均処理することによって、被サーチ画像を作成し、当該被サーチ画像に対し、前記テンプレート画像を用いたパターンマッチングを実行する画像処理方法において、
前記加重平均処理を補助するための画像として、前記検査対象製品と同じサイズ、形状、パターンを有する検査基準となる被写体を予め撮影して、この基準被写体の撮影画像から前記テンプレート画像と同じサイズ、同じ画像パターンを有する加重平均補助用の画像を抽出して登録し、前記加重平均処理は、前記複の撮影画像の中から撮影画像同士の同じ座標を有する領域で且つ前記テンプレート画像と同サイズの画像領域を始点から終点まで1画素単位でずらしながら選択し、前記選択された画像領域に対して、前記加重平均補助用の画像も加えることにより行われ、この加重平均処理された画像と前記テンプレート画像とをパターンマッチングすることを特徴とする画像処理方法。
In order to detect an image pattern to be searched from among the captured images of the inspection target product including random noise, the same image pattern as the search target is registered as a template image in advance, and the captured image of the inspection target product is the same pattern plurality acquired by performing a plurality of times of photographing by position, by weighted average processing the plural photographed images, which creates an object search image, with respect to the object to be searched image, using the template image In an image processing method for performing matching ,
As an image for assisting the weighted average processing, a subject to be an inspection reference having the same size, shape, and pattern as the inspection target product is previously photographed, and the same size as the template image from the photographed image of the reference subject, register extracts an image for the weighted average aid having the same image pattern, the weighted average processing, a and the template image in the area having the same coordinates of the captured image with each other from the front Kifuku number of captured images An image area of the same size is selected by shifting from the start point to the end point by one pixel unit, and the weighted average auxiliary image is added to the selected image area , and the image subjected to the weighted average process is performed. An image processing method characterized by pattern-matching the template image with the template image.
請求項1において、前記加重平均補助用の画像は、前記テンプレート画像が兼ねている画像処理方法。   The image processing method according to claim 1, wherein the template image also serves as the weighted average auxiliary image. 請求項1において、前記画像処理方法は、被検査物である半導体ウエハの表面状態を検査するために使用され、前記ランダムノイズが含まれる撮影画像は、被検査物の表面を複数回撮影して得られた複数の撮影画像であり、前記加重平均補助用の画像は、前記被検査物と同じパターンを有する基準の被写体を検査に先立って撮影することにより予め登録され、前記ランダムノイズが含まれる前記被検査物の撮影画像の枚数Lと前記加重平均補助用の画像の枚数Mとは、L>Mの関係にある画像処理方法。   The image processing method according to claim 1, wherein the image processing method is used for inspecting a surface state of a semiconductor wafer that is an inspection object, and the captured image including the random noise is obtained by imaging the surface of the inspection object a plurality of times. A plurality of obtained captured images, wherein the weighted average auxiliary image is registered in advance by capturing a reference subject having the same pattern as the inspection object prior to inspection, and includes the random noise. An image processing method in which the number L of photographed images of the object to be inspected and the number M of the weighted average auxiliary images have a relationship of L> M. ランダムノイズが含まれる検査対象製品の撮影画像の中からサーチ対象となる画像パターンを検出するために、予めサーチ対象と同一の画像パターンをテンプレート画像として登録する手段と、
前記検査対象製品の撮影画像を複数回の撮影により複数取得し、当該複数枚の撮影画像を加重平均処理することによって、被サーチ画像を作成し、当該被サーチ画像に対し、前記テンプレート画像を用いたパターンマッチングを実行する手段と、を備えた画像処理装置において、
前記検査対象製品と同じサイズ、形状、パターンを有する検査基準となる被写体を撮影した画像から、前記テンプレート画像と同じサイズ、同じ画像パターンを有する画像領域を抽出して、前記加重平均処理を補助するための加重平均補助用の画像として登録する手段と、
記複の撮影画像の中から撮影同士の同じ座標を有する領域で且つ前記テンプレート画像と同サイズの画像領域を始点から終点まで1画素単位でずらしながら選択し、前記選択された画像領域に対して、前記加重平均補助用の画像も加えて加重平均処理を行う手段と、を備えていることを特徴とする画像処理装置。
Means for previously registering the same image pattern as the search target as a template image in order to detect the image pattern to be searched from among the captured images of the inspection target product including random noise;
The captured image of the inspected products plurality obtained by a plurality of times of photographing, by a weighted averaging process the plural photographed image to create an object search image, with respect to the object to be searched image, the template image an image processing apparatus comprising means for performing a pattern matching using the,
An image region having the same size and the same image pattern as the template image is extracted from an image obtained by photographing a subject as an inspection reference having the same size, shape and pattern as the inspection target product, and the weighted averaging process is assisted. Means for registering as a weighted average auxiliary image for
Select while shifting by one pixel and an image area of the template image and the same size from the start point in the region to an end point having the same coordinates of the photographing between from the front Kifuku number of captured images, the selected image area respect, the image processing apparatus characterized by comprising, means for performing a weighted averaging process also added image for the weighted average aid.
請求項4において、前記加重平均した画像からランダムノイズを低減する手段を備えたことを特徴とする画像処理装置。   5. The image processing apparatus according to claim 4, further comprising means for reducing random noise from the weighted averaged image. 請求項4において、撮影された検査基準となる前記被写体の画像を表示するディスプレイと、このディスプレイに表示された画像から前記テンプレート画像および前記加重平均補助用の画像を指定する情報入力手段と、前記情報入力手段の指示に基づき前記テンプレート画像および加重平均補助用の画像をデータ保存部に登録するデータ登録手段とを備えた画像処理装置。   5. The display according to claim 4, wherein a display for displaying the image of the subject to be imaged as an inspection standard, information input means for designating the template image and the weighted average auxiliary image from the image displayed on the display, An image processing apparatus comprising: a data registration unit that registers the template image and the weighted average auxiliary image in a data storage unit based on an instruction from the information input unit. 走査型電子顕微鏡の撮影によって得られた検査対象の半導体の表面画像データを入力して半導体の検査を行う半導体検査装置において、
半導体の表面画像データを処理する手段として、検査対象の半導体の撮影画像を複数取得して加重平均処理し、加重平均処理された画像とテンプレート画像とをパターンマッチングしてテンプレートとパターンが一致する撮影画像中のマッチング位置を検出する画像処理装置と、半導体表面上のマッチング位置のパターンを検査する手段を備え、
且つ、前記画像処理装置は、請求項4ないし6のいずれか1項記載の画像処理装置であることを特徴とする半導体検査装置。
In a semiconductor inspection apparatus for inspecting a semiconductor by inputting surface image data of a semiconductor to be inspected obtained by photographing with a scanning electron microscope,
As a means for processing semiconductor surface image data, a plurality of photographic images of a semiconductor to be inspected are obtained, subjected to weighted average processing, and the weighted average processed image and the template image are subjected to pattern matching so that the template matches the pattern. An image processing device for detecting a matching position in an image, and means for inspecting a pattern of matching positions on a semiconductor surface,
7. The semiconductor inspection apparatus according to claim 4, wherein the image processing apparatus is the image processing apparatus according to any one of claims 4 to 6.
請求項7において、半導体検査の工程を制御する手段と、前記走査型電子顕微鏡からの撮影画像やテンプレート画像、加重平均補助用の画像などを保存するデータ保存手段と、撮影画像に対して輝度むら除去などの画像処理を行う手段と、前記テンプレート画像、加重平均用の画像および前記走査型電子顕微鏡からの撮影画像内の検査位置を指定する情報入力装置と、前記情報入力装置の指示を受けて前記テンプレート画像および加重平均用の画像をデータ保存手段に登録する手段と、前記走査型電子顕微鏡の撮影画像、テンプレート画像、加重平均補助用の画像およびパターンマッチングの結果などを表示する情報出力装置と、を備えたことを特徴とする半導体検査装置。   8. The brightness unevenness of the photographic image according to claim 7, the means for controlling the semiconductor inspection process, the data storage means for storing a photographed image, template image, weighted average auxiliary image, etc. from the scanning electron microscope. Means for performing image processing such as removal, an information input device for designating the template image, the weighted average image, and the inspection position in the photographed image from the scanning electron microscope, and receiving instructions from the information input device A means for registering the template image and the weighted average image in a data storage means; an information output device for displaying a photographed image of the scanning electron microscope, a template image, a weighted average auxiliary image, a pattern matching result, and the like; A semiconductor inspection apparatus comprising:
JP2004291631A 2004-10-04 2004-10-04 Image processing method, image processing apparatus, and semiconductor inspection apparatus Active JP4865204B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004291631A JP4865204B2 (en) 2004-10-04 2004-10-04 Image processing method, image processing apparatus, and semiconductor inspection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004291631A JP4865204B2 (en) 2004-10-04 2004-10-04 Image processing method, image processing apparatus, and semiconductor inspection apparatus

Publications (2)

Publication Number Publication Date
JP2006107046A JP2006107046A (en) 2006-04-20
JP4865204B2 true JP4865204B2 (en) 2012-02-01

Family

ID=36376724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004291631A Active JP4865204B2 (en) 2004-10-04 2004-10-04 Image processing method, image processing apparatus, and semiconductor inspection apparatus

Country Status (1)

Country Link
JP (1) JP4865204B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4156116A1 (en) 2021-09-24 2023-03-29 FUJIFILM Business Innovation Corp. Collation device, program, and collation method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5647761B2 (en) * 2008-03-07 2015-01-07 株式会社日立ハイテクノロジーズ Template creation method and image processing apparatus
JP5393550B2 (en) * 2010-03-18 2014-01-22 株式会社日立ハイテクノロジーズ Image generation method and apparatus using scanning charged particle microscope, and sample observation method and observation apparatus
JP5868157B2 (en) * 2011-12-14 2016-02-24 日本電信電話株式会社 Image processing method / device, video encoding method / device, video decoding method / device, and program thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4156116A1 (en) 2021-09-24 2023-03-29 FUJIFILM Business Innovation Corp. Collation device, program, and collation method

Also Published As

Publication number Publication date
JP2006107046A (en) 2006-04-20

Similar Documents

Publication Publication Date Title
KR102466997B1 (en) Liveness test method and apparatus
US8170294B2 (en) Method of detecting redeye in a digital image
US8849062B2 (en) Eye defect detection in international standards organization images
TWI621849B (en) Computer-implemented method, non-transitory computer-readable medium, and system for detecting defects on a wafer
US9235902B2 (en) Image-based crack quantification
JP7262021B2 (en) Depth Acquisition Device, Depth Acquisition Method and Program
KR101857961B1 (en) Sinkhole detection system and method using a drone-based thermal camera and image processing
JP6299300B2 (en) Image processing apparatus and image processing method
JP2010112802A (en) Appearance inspection apparatus for wood and appearance inspection method for wood
JP2014020926A (en) Surface defect inspection device and surface defect inspection method
JP2009123081A (en) Face detection method and photographing apparatus
JP4865204B2 (en) Image processing method, image processing apparatus, and semiconductor inspection apparatus
Bennabhaktula et al. Device-based image matching with similarity learning by convolutional neural networks that exploit the underlying camera sensor pattern noise
US10997743B2 (en) Attachable matter detection apparatus
WO2020158726A1 (en) Image processing device, image processing method, and program
JP2006323779A (en) Image processing method and device
JP2007004721A (en) Object detecting device and object detecting method
US20210201007A1 (en) Object detection device, object detection system, object detection method, and recording medium having program recorded thereon
JP2009032044A (en) Vehicle color determination device
CN114913071A (en) Underwater image splicing method integrating feature point matching of brightness region information
JP6716769B1 (en) Image inspection method, image inspection apparatus, and image inspection program
JP2012133587A (en) Image analysis device, image analysis method and program
WO2012160611A1 (en) Position detecting apparatus, and appearance inspection apparatus having position detecting apparatus mounted therein
JPH0735699A (en) Method and apparatus for detecting surface defect
JP2004072415A (en) Intruding object detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061218

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20061218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091110

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100112

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100302

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100602

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100728

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20100820

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111017

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111110

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141118

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4865204

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350