JP2009294170A - Apparatus, method, and program for defect detection and recording medium - Google Patents

Apparatus, method, and program for defect detection and recording medium Download PDF

Info

Publication number
JP2009294170A
JP2009294170A JP2008150536A JP2008150536A JP2009294170A JP 2009294170 A JP2009294170 A JP 2009294170A JP 2008150536 A JP2008150536 A JP 2008150536A JP 2008150536 A JP2008150536 A JP 2008150536A JP 2009294170 A JP2009294170 A JP 2009294170A
Authority
JP
Japan
Prior art keywords
defect
defect detection
resolution
image
pixel
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.)
Granted
Application number
JP2008150536A
Other languages
Japanese (ja)
Other versions
JP5242248B2 (en
Inventor
Takeshi Murakami
豪 村上
Yasuhiro Ueda
泰広 上田
Hiroyuki Nakai
博之 中井
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2008150536A priority Critical patent/JP5242248B2/en
Publication of JP2009294170A publication Critical patent/JP2009294170A/en
Application granted granted Critical
Publication of JP5242248B2 publication Critical patent/JP5242248B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a defect detection apparatus and a defect detection method capable of shortening inspection time without sacrificing detection accuracy. <P>SOLUTION: The defect detection apparatus 100 includes: a high-resolution image construction processing part 123 for generating high-resolution images by referencing to a plurality of pick-up images acquired by imaging an object to be evaluated 200; a defect detection processing part 124 for detecting defects in the object to be evaluated 200 by making reference to the high-resolution images; and an optical system control part 122 for setting the number of pick-up images which the high-resolution image construction processing part 123 referred for generating the high-resolution images based on the defect shape information recorded in the recording part 121. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、評価対象物を撮像して得られた画像に基づいて当該評価対象物における欠陥を検出する欠陥検出装置、欠陥検出方法、及び、欠陥検出プログラムに関する。また、そのような欠陥検出プログラムが記録されている記録媒体に関する。   The present invention relates to a defect detection apparatus, a defect detection method, and a defect detection program for detecting a defect in an evaluation object based on an image obtained by imaging the evaluation object. The present invention also relates to a recording medium on which such a defect detection program is recorded.

近年、テレビやモニタなどの表示装置の薄型化および大型化が進み、その需要が増加している。これに伴って、表示装置には今まで以上に高い表示品質が求められている。そして、表示装置の製造に際しては、輝点や黒点などの欠陥を精度良く検出することが重要になっている。   In recent years, display devices such as televisions and monitors have been made thinner and larger, and their demand has increased. Accordingly, display devices are required to have higher display quality than ever before. In manufacturing a display device, it is important to accurately detect defects such as bright spots and black spots.

表示装置における輝点や黒点などの欠陥を検出する手法として、従来、調査員が目視により検出する手法がとられていた。しかし、目視による検出では、調査員の疲労による見落としや、調査員による評価のばらつきなどの問題を生じる。そこで、表示装置を撮像して得られた撮像画像を用いて欠陥を自動的に検出する手法が導入されている。   As a technique for detecting defects such as bright spots and black spots in a display device, a technique in which an investigator visually detects the defects has been conventionally used. However, the visual detection causes problems such as oversight due to fatigue of the investigator and variation in evaluation by the investigator. Therefore, a technique for automatically detecting a defect using a captured image obtained by imaging a display device has been introduced.

撮像画像を用いて欠陥を精度良く検出するためには、高解像度の撮像画像を用いることが好ましい。しかし、高解像度の撮像画像を得るためには、普通、大型で高価な高解像度カメラを用いて表示装置を撮像する必要があり、スペースの問題やコストの問題などを生じる。そこで、撮像画像より高解像度な高解像度化画像を、複数の撮像画像から生成することによって、高解像度カメラを用いることなく欠陥を精度良く検出することが考えられる。   In order to detect a defect accurately using a captured image, it is preferable to use a high-resolution captured image. However, in order to obtain a high-resolution captured image, it is usually necessary to image the display device using a large and expensive high-resolution camera, resulting in space problems and cost problems. Therefore, it is conceivable to detect defects with high accuracy without using a high-resolution camera by generating a high-resolution image having a higher resolution than the captured image from a plurality of captured images.

複数の撮像画像から高解像度化画像を生成する高解像度化処理の一例として、画素ずらし法を挙げることができる。画素ずらし法とは、例えば、ある被写体を撮像して得られた第1の撮像画像と、その被写体を2分の1画素ピッチ分ずらして撮像して得られた第2の撮像画像とを合成することによって、高解像度化画像を生成する処理である。   As an example of a resolution enhancement process for generating a resolution-enhanced image from a plurality of captured images, a pixel shifting method can be given. The pixel shifting method is, for example, combining a first captured image obtained by imaging a certain subject and a second captured image obtained by shifting the subject by a half pixel pitch. This is a process for generating a high-resolution image.

このような高解像度化処理を効率化するための技術としては、例えば、特許文献1〜2に記載のものなどが知られている。特許文献1には、画像を帯域で分離することにより、各画像間の位置ずれ量の算出や高解像度化処理を効率化する技術が記載されている。また、特許文献2には、画素ずらし機構の性能変化等による画素ずらし撮影の失敗撮影を防止するための技術が記載されている。
特開2005−352720号公報(2005年12月22日公開) 特開2002−218328号公報(2002年 8月 2日公開)
As a technique for improving the efficiency of such high resolution processing, for example, those described in Patent Documents 1 and 2 are known. Japanese Patent Application Laid-Open No. 2004-151561 describes a technique for increasing the efficiency of calculation of a positional deviation amount between images and high resolution processing by separating the images into bands. Patent Document 2 describes a technique for preventing unsuccessful shooting of pixel shift shooting due to a change in performance of a pixel shift mechanism or the like.
Japanese Patent Laying-Open No. 2005-352720 (published on December 22, 2005) JP 2002-218328 A (released on August 2, 2002)

画素ずらし法などの高解像度化処理を欠陥検出に適用する場合、高解像度カメラの使用に伴うスペースの問題やコストの問題などを回避することはできるものの、評価対象物を複数回撮像するのに要する撮像時間、及び、複数の撮像画像を合成するのに要する処理時間に起因して検査時間が増大するという問題があった。とくに、特許文献1〜2に記載の技術を用いることにより、高解像度化処理の効率化を図ったとしても、評価対象物を複数回撮像するのに要する撮像時間を削減することは困難であった。   When applying high resolution processing such as pixel shifting to defect detection, it is possible to avoid space problems and cost problems associated with the use of high resolution cameras, but to image the evaluation object multiple times. There is a problem that the inspection time increases due to the imaging time required and the processing time required to synthesize a plurality of captured images. In particular, it is difficult to reduce the imaging time required for imaging the evaluation object a plurality of times even if the techniques described in Patent Documents 1 and 2 are used to improve the efficiency of the high resolution processing. It was.

本発明は、上記の問題に鑑みてなされたものであり、その目的は、検出精度を犠牲にすることなく、検査時間の短縮を図った欠陥検出装置、及び、欠陥検出方法を実現することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to realize a defect detection apparatus and a defect detection method that reduce the inspection time without sacrificing detection accuracy. is there.

上記課題を解決するために、本発明に係る欠陥検出装置は、評価対象物を撮像して得られた複数の撮像画像を参照し、該撮像画像の解像度より高解像度の高解像度化画像を生成する生成手段と、上記生成手段により生成された高解像度化画像を参照し、上記評価対象物における欠陥を検出する検出手段と、検出すべき欠陥の形状を示す欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成手段が参照する上記撮像画像の枚数を設定する設定手段と、を備えていることを特徴としている。   In order to solve the above-described problem, the defect detection apparatus according to the present invention generates a high-resolution image that has a higher resolution than the resolution of the captured image by referring to a plurality of captured images obtained by imaging the evaluation object. Based on the defect shape information indicating the shape of the defect to be detected, the detection means for detecting the defect in the evaluation object with reference to the generation means for generating, the high-resolution image generated by the generation means Setting means for setting the number of the picked-up images referred to by the generating means for generating a resolution image.

複数の撮像画像を参照して高解像度化画像を生成する高解像度化処理においては、検出しようとする欠陥の形状によって、所定の検出精度で欠陥を検出するために要求される撮像画像の枚数が異なる。   In high resolution processing that generates a high resolution image with reference to a plurality of captured images, the number of captured images required to detect a defect with a predetermined detection accuracy depends on the shape of the defect to be detected. Different.

上記の構成によれば、検出すべき欠陥の形状を示す欠陥形状情報に基づいて、高解像度化画像を生成するために参照する撮像画像の枚数を設定することができる。したがって、所定の検出精度を保ちつつ、高解像度化画像を生成するために参照する撮像画像の枚数を削減することができる。このため、所定の検出精度を維持しつつ、検査時間を短縮することができるという効果を奏する。   According to said structure, the number of the captured images referred in order to produce | generate a high resolution image can be set based on the defect shape information which shows the shape of the defect which should be detected. Therefore, it is possible to reduce the number of captured images referred to in order to generate a high-resolution image while maintaining a predetermined detection accuracy. For this reason, there exists an effect that inspection time can be shortened, maintaining predetermined detection accuracy.

本発明に係る欠陥検出装置において、上記生成手段は、画素ずらし法により上記高解像度化画像を生成するものである、ことが好ましい。   In the defect detection apparatus according to the present invention, it is preferable that the generation unit generates the high-resolution image by a pixel shifting method.

画素ずらし法によれば、検出しようとする欠陥の短軸方向に上記評価対象物をずらして撮像することで得られた2枚の撮像画像を参照することによって、短軸方向及び/又は長軸方向に上記評価対象物をずらして撮像することで得られた4枚の撮像画像を参照した場合と同等の検出精度で欠陥を検出可能な高解像度化画像が生成される。   According to the pixel shifting method, the short axis direction and / or the long axis are obtained by referring to two captured images obtained by shifting the image of the evaluation object in the short axis direction of the defect to be detected. A resolution-enhanced image that can detect a defect with the same detection accuracy as that obtained when four captured images obtained by shifting the evaluation object in the direction and capturing images is generated.

このため、上記の構成によれば、所定の検出精度を維持しつつ、検査時間を短縮することができる。   For this reason, according to said structure, test | inspection time can be shortened, maintaining a predetermined detection accuracy.

本発明に係る欠陥検出装置は、予め推定された欠陥の形状を示す欠陥形状情報を記録する記録部を更に備えており、上記設定手段は、上記記録部に記録された上記欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成手段が参照する上記撮像画像の枚数を設定するものである、ことが好ましい。   The defect detection apparatus according to the present invention further includes a recording unit that records defect shape information indicating the shape of the defect estimated in advance, and the setting unit is based on the defect shape information recorded in the recording unit. Thus, it is preferable to set the number of the captured images referred to by the generation unit in order to generate the resolution-enhanced image.

上記の構成によれば、検出すべき欠陥の形状を予め推定することができる評価対象物に対して、所定の検出精度を維持しつつ、検査時間を短縮することができる。   According to said structure, inspection time can be shortened, maintaining a predetermined detection precision with respect to the evaluation object which can estimate the shape of the defect which should be detected previously.

本発明に係る欠陥検出装置は、上記欠陥検出手段により検出された欠陥の形状を示す欠陥形状情報を記録する記録部を更に備えており、上記設定手段は、上記記録部に記録された上記欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成手段が参照する上記撮像画像の枚数を設定するものである、ことが好ましい。   The defect detection apparatus according to the present invention further includes a recording unit that records defect shape information indicating a shape of the defect detected by the defect detection unit, and the setting unit records the defect recorded in the recording unit. It is preferable that the number of the captured images referred to by the generating unit to set the resolution-enhanced image is set based on the shape information.

上記の構成によれば、検出すべき欠陥の形状を予め推定不可能な評価対象物に対しても、同一の又は同種の評価対象物における欠陥を繰り返し検出することにより、所定の検出精度を維持しつつ、検査時間を短縮することができる。   According to the above configuration, predetermined detection accuracy is maintained by repeatedly detecting defects in the same or similar evaluation object even for an evaluation object in which the shape of the defect to be detected cannot be estimated in advance. However, the inspection time can be shortened.

本発明に係る欠陥検出装置において、上記設定手段は、上記評価対象物を何れの方向にずらして撮像することにより得られた撮像画像を参照して高解像度化画像を生成するかを、検出すべき欠陥のアスペクト比に基づいて設定するものである、ことが好ましい。   In the defect detection apparatus according to the present invention, the setting means detects in which direction the evaluation object is shifted and picked up to generate a high-resolution image with reference to a picked-up image. It is preferable that the setting is based on the aspect ratio of the power defect.

上記の構成によれば、上記評価対象物を何れの方向にずらして撮像することにより得られた撮像画像を参照して高解像度化画像を生成するかを、検出しようとする欠陥が何れの方向に延伸した欠陥であるかに応じて設定することができる。   According to the above configuration, in which direction the defect to be detected is detected in which direction the high-resolution image is generated with reference to the captured image obtained by shifting the image of the evaluation object. It can be set depending on whether the defect is a stretched defect.

本発明に係る欠陥検出装置において、上記設定手段は、上記評価対象物を第1の方向にずらして撮像することにより得られた2枚の撮像画像、上記評価対象物を該第1の方向に垂直な第2の方向にずらして撮像することにより得られた2枚の撮像画像、又は、上記評価対象物を該第1の方向及び/又は該第2の方向にずらして撮像することにより得られた4枚の撮像画像の何れを参照して上記高解像度化画像を生成するかを設定するものである、ことが好ましい。   In the defect detection apparatus according to the present invention, the setting means includes two captured images obtained by shifting the image of the evaluation object in the first direction and capturing the evaluation object in the first direction. Two captured images obtained by shifting images in the vertical second direction, or acquired by shifting the evaluation object in the first direction and / or the second direction. It is preferable to set which of the four captured images to be used to generate the high-resolution image.

上記の構成によれば、第1の方向を短軸とする欠陥である場合には、評価対象物を第1の方向にずらして撮像することにより得られた2枚の撮像画像を参照して高解像度化画像を生成することができる。また、第2の方向を短軸とする欠陥である場合には、第2の方向にずらして評価対象物を撮像することにより得られた2枚の撮像画像を参照して高解像度化画像を生成することができる。また、いずれでもない場合には、第1の方向、及び/又は、第2の方向にずらして評価対象物を撮像することにより得られた2枚の撮像画像を参照して高解像度化画像を生成することができる。これにより、何れの場合であっても、4枚の撮像画像を参照した場合と同等の検出精度で欠陥を検出することができる。   According to said structure, when it is a defect which makes a 1st direction a short axis, refer to the two captured images obtained by image-shifting an evaluation target object in a 1st direction A high resolution image can be generated. When the defect has a minor axis in the second direction, the high-resolution image is obtained by referring to two captured images obtained by imaging the evaluation object by shifting in the second direction. Can be generated. In addition, when neither of them is obtained, a high-resolution image is obtained by referring to two captured images obtained by capturing the evaluation object by shifting in the first direction and / or the second direction. Can be generated. Thereby, in any case, it is possible to detect a defect with the same detection accuracy as when four captured images are referred to.

本発明に係る欠陥検出装置において、上記検出手段は、上記高解像度化画像を構成する各画素のコントラストを算出するとともに、算出されたコントラストが予め定められた閾値を上回る画素の集合を欠陥像として特定するものである、ことが好ましい。   In the defect detection apparatus according to the present invention, the detection means calculates a contrast of each pixel constituting the high-resolution image, and sets a set of pixels in which the calculated contrast exceeds a predetermined threshold as a defect image. It is preferable to specify.

上記の構成によれば、評価対象物が単色の一様な平面である場合、評価対象物中に存在する異色部分を欠陥として検出することができる。   According to said structure, when an evaluation target object is a uniform flat surface of a single color, the different color part which exists in an evaluation target object can be detected as a defect.

本発明に係る欠陥検出装置において、上記検出手段は、上記高解像度化画像を構成する各画素のコントラストを、当該画素の画素値と、上記評価対象物のパターンに応じて定められた参照画素であって、欠陥が存在しないときに当該画素と同一の画素値を有すると推定される参照画素の平均画素値との差の絶対値をとることにより算出するものである、ことが好ましい。   In the defect detection apparatus according to the present invention, the detection means may use a reference pixel determined according to the pixel value of the pixel and the pattern of the evaluation object for the contrast of each pixel constituting the high-resolution image. It is preferable that the calculation is performed by taking the absolute value of the difference from the average pixel value of the reference pixels estimated to have the same pixel value as that pixel when there is no defect.

上記の構成によれば、周期的なパターンを持つ多色の評価対象物に対しても、欠陥を検出することができる。例えば、評価対象物がRGBの3色をもつ画素からなる液晶表示パネルである場合、ある画素のR色部分における欠陥の有無を、その画素の上下左右に隣接する各画素のR色部分に対応する高解像度化画像中の画素を参照画像とするコントラストにより正確に判定することができる。   According to said structure, a defect can be detected also with respect to the multicolor evaluation target object which has a periodic pattern. For example, when the evaluation object is a liquid crystal display panel composed of pixels having three colors of RGB, the presence or absence of defects in the R color portion of a pixel corresponds to the R color portion of each pixel adjacent to the pixel in the upper, lower, left, and right directions. Therefore, it is possible to accurately determine the contrast by using the pixels in the high resolution image as a reference image.

本発明に係る欠陥検出装置において、上記検出手段は、上記欠陥像を構成する各画素のコントラストを積算することによって、欠陥の強度を算出するものである、ことが好ましい。   In the defect detection apparatus according to the present invention, it is preferable that the detection means calculates a defect intensity by integrating the contrast of each pixel constituting the defect image.

上記の構成によれば、検出した欠陥の強度を容易に算出することができる。   According to said structure, the intensity | strength of the detected defect can be calculated easily.

上記課題を解決するために、本発明に係る欠陥検出方法は、撮像装置により評価対象物を撮像して得られた複数の撮像画像を参照し、該撮像装置の解像度より高解像度の高解像度化画像を生成する生成工程と、上記生成工程にて生成された高解像度化画像を参照し、上記評価対象物における欠陥を検出する検出工程と、検出すべき欠陥の形状を示す欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成工程にて参照される上記撮像画像の枚数を設定する設定工程と、を含んでいることを特徴としている。   In order to solve the above-described problem, a defect detection method according to the present invention refers to a plurality of captured images obtained by imaging an evaluation object with an imaging device, and achieves a higher resolution than that of the imaging device. Based on a generation step for generating an image, a detection step for detecting a defect in the evaluation object with reference to the high-resolution image generated in the generation step, and defect shape information indicating the shape of the defect to be detected And a setting step of setting the number of captured images referred to in the generation step in order to generate the high resolution image.

複数の撮像画像を参照して高解像度化画像を生成する高解像度化処理においては、検出しようとする欠陥の形状によって、所定の検出精度で欠陥を検出するために要求される撮像画像の枚数が異なる。   In high resolution processing that generates a high resolution image with reference to a plurality of captured images, the number of captured images required to detect a defect with a predetermined detection accuracy depends on the shape of the defect to be detected. Different.

上記の構成によれば、検出すべき欠陥の形状を示す欠陥形状情報に基づいて、高解像度化画像を生成するために参照する撮像画像の枚数を設定することができる。したがって、所定の検出精度を保ちつつ、高解像度化画像を生成するために参照する撮像画像の枚数を削減することができる。このため、所定の検出精度を維持しつつ、検査時間を短縮することができるという効果を奏する。   According to said structure, the number of the captured images referred in order to produce | generate a high resolution image can be set based on the defect shape information which shows the shape of the defect which should be detected. Therefore, it is possible to reduce the number of captured images referred to in order to generate a high-resolution image while maintaining a predetermined detection accuracy. For this reason, there exists an effect that inspection time can be shortened, maintaining predetermined detection accuracy.

なお、本発明に係る欠陥検出装置は、コンピュータによって実現してもよい。この場合、コンピュータを上記各手段として動作させることにより、上記欠陥検出装置をコンピュータにおいて実現する欠陥検出プログラム、および、その欠陥検出プログラムを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。   The defect detection apparatus according to the present invention may be realized by a computer. In this case, a defect detection program for realizing the defect detection apparatus in the computer by operating the computer as each of the above means and a computer-readable recording medium on which the defect detection program is recorded also fall within the scope of the present invention. .

本発明に係る欠陥検出装置は、評価対象物を撮像して得られた複数の撮像画像を参照し、該撮像画像の解像度より高解像度の高解像度化画像を生成する生成手段と、上記生成手段により生成された高解像度化画像を参照し、上記評価対象物における欠陥を検出する検出手段と、検出すべき欠陥の形状を示す欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成手段が参照する上記撮像画像の枚数を設定する設定手段と、を備えている。   The defect detection apparatus according to the present invention refers to a plurality of captured images obtained by imaging an evaluation object, and generates a resolution-enhanced image having a resolution higher than that of the captured image, and the generation unit In order to generate the resolution-enhanced image based on the detection means for detecting the defect in the evaluation object and the defect shape information indicating the shape of the defect to be detected with reference to the resolution-enhanced image generated by Setting means for setting the number of captured images referred to by the generating means.

また、本発明に係る欠陥検出方法は、撮像装置により評価対象物を撮像して得られた複数の撮像画像を参照し、該撮像装置の解像度より高解像度の高解像度化画像を生成する生成工程と、上記生成工程にて生成された高解像度化画像を参照し、上記評価対象物における欠陥を検出する検出工程と、検出すべき欠陥の形状を示す欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成工程にて参照される上記撮像画像の枚数を設定する設定工程と、を含んでいる。   In addition, the defect detection method according to the present invention refers to a plurality of captured images obtained by imaging an evaluation object with an imaging device, and generates a resolution-enhanced image having a resolution higher than that of the imaging device. And the resolution enhancement based on the detection step of detecting the defect in the evaluation object with reference to the resolution-enhanced image generated in the generation step and the defect shape information indicating the shape of the defect to be detected. A setting step for setting the number of captured images referred to in the generation step in order to generate an image.

したがって、所定の検出精度を保ちつつ、高解像度化画像を生成するために参照する撮像画像の枚数を削減することができる。このため、所定の検出精度を維持しつつ、検査時間を短縮することができるという効果を奏する。   Therefore, it is possible to reduce the number of captured images referred to in order to generate a high-resolution image while maintaining a predetermined detection accuracy. For this reason, there exists an effect that inspection time can be shortened, maintaining predetermined detection accuracy.

本実施形態に係る欠陥検出装置について図面に基づいて説明すれば以下のとおりである。   The defect detection apparatus according to this embodiment will be described below with reference to the drawings.

(欠陥検出装置の構成)
まず、本実施形態に係る欠陥検出装置100について、図1を参照して説明する。図1は、欠陥検出装置100の要部構成を示すブロック図である。
(Configuration of defect detection device)
First, the defect detection apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing a main configuration of the defect detection apparatus 100.

図1に示したように、欠陥検出装置100は、評価対象物200における欠陥を検出する装置であり、光学系110と、PC120とを備えている。評価対象物200としては、液晶表示パネルなどの表示装置を想定する。   As shown in FIG. 1, the defect detection apparatus 100 is an apparatus that detects a defect in the evaluation object 200 and includes an optical system 110 and a PC 120. As the evaluation object 200, a display device such as a liquid crystal display panel is assumed.

光学系110は、カメラ111と、カメラ駆動装置112と、ステージ113と、ステージ駆動装置114とを含んでいる。ステージ駆動装置114によって評価対象物200が載置されたステージ113を移動した後、カメラ駆動装置112によってカメラ111のシャッターを切ることで、評価対象物200をどの位置からでも撮像することができるように構成されている。ここでは、評価対象物200が載置されたステージ113を移動することによって、評価対象物200とカメラ111との相対位置を移動するようにしているが、カメラ111を移動することによって、評価対象物200とカメラ111との相対位置を移動するようにしてもよい。   The optical system 110 includes a camera 111, a camera driving device 112, a stage 113, and a stage driving device 114. After moving the stage 113 on which the evaluation object 200 is placed by the stage driving device 114, the camera 111 can release the shutter of the camera 111 so that the evaluation object 200 can be imaged from any position. It is configured. Here, the relative position between the evaluation object 200 and the camera 111 is moved by moving the stage 113 on which the evaluation object 200 is placed. However, by moving the camera 111, the evaluation object is moved. The relative position between the object 200 and the camera 111 may be moved.

なお、ステージ駆動装置114は、ステージ113を第1の移動方向、及び、第1の移動方向に垂直な第2の移動方向に移動することができる。評価対象物200が液晶表示パネルである場合、第1の方向は、液晶表示パネルの長辺方向に一致するように選ばれ、第2の方向は、液晶表示パネルの短辺方向に一致するように選ばれる。以下の説明における「縦」又は「縦方向」とは第1の方向のことを指し、「横」又は「横方向」とは第2の方向のことを指す。   The stage driving device 114 can move the stage 113 in the first movement direction and the second movement direction perpendicular to the first movement direction. When the evaluation object 200 is a liquid crystal display panel, the first direction is selected to match the long side direction of the liquid crystal display panel, and the second direction is set to match the short side direction of the liquid crystal display panel. Chosen. In the following description, “vertical” or “vertical direction” refers to the first direction, and “horizontal” or “horizontal direction” refers to the second direction.

PC120は、記録部121と、光学系制御部122と、高解像度化処理部123と、欠陥検出処理部124とを含んでいる。光学系制御部122は、撮像位置設定処理を行う。すなわち、記録部121に記録された欠陥情報に基づいて評価対象物200をどの位置から撮像するのかを設定するとともに、評価対象物200をその位置から撮像するために必要な指示をカメラ駆動装置112とステージ駆動装置114とに与える。光学系制御部122により実行される撮像位置設定処理については、参照する図面を代えて後で詳しく説明する。   The PC 120 includes a recording unit 121, an optical system control unit 122, a high resolution processing unit 123, and a defect detection processing unit 124. The optical system control unit 122 performs an imaging position setting process. In other words, the camera driving device 112 sets the position from which the evaluation object 200 is to be imaged based on the defect information recorded in the recording unit 121, and gives instructions necessary to image the evaluation object 200 from that position. And the stage driving device 114. The imaging position setting process executed by the optical system control unit 122 will be described in detail later with reference to another drawing.

高解像度化処理部123は、高解像度化処理を実行する。すなわち、カメラ111にて撮像された画像から高解像度化画像を生成する。欠陥検出処理部124は、欠陥検出処理を実行する。すなわち、高解像度化処理部123にて生成された高解像度化画像から欠陥を検出する。高解像度化処理部123により実行される高解像度化処理、および、欠陥検出部124により実行される欠陥検出処理については、参照する図面を代えて後で詳しく説明する。   The high resolution processing unit 123 executes high resolution processing. That is, a high resolution image is generated from an image captured by the camera 111. The defect detection processing unit 124 executes defect detection processing. That is, a defect is detected from the high resolution image generated by the high resolution processing unit 123. The high resolution processing executed by the high resolution processing unit 123 and the defect detection processing executed by the defect detection unit 124 will be described in detail later with reference to different drawings.

(欠陥検出装置の動作)
次に、欠陥検出装置100の動作、すなわち、欠陥検出装置100を用いた欠陥検出方法について、図2および図3を参照して説明する。
(Operation of defect detection device)
Next, an operation of the defect detection apparatus 100, that is, a defect detection method using the defect detection apparatus 100 will be described with reference to FIG. 2 and FIG.

図2は、検出すべき欠陥のサイズおよび形状が既知である場合に好適な第1の欠陥検出方法を示すフローチャートである。この欠陥検出方法においては、既知の欠陥サイズおよび欠陥形状を示す欠陥情報を記録部121に記録しておき、この欠陥情報を参照することによって、評価対象物200における欠陥を効率的に検出する。なお、欠陥形状を示す欠陥情報としては、例えば、アスペクト比を利用することができる。   FIG. 2 is a flowchart showing a first defect detection method suitable when the size and shape of the defect to be detected are known. In this defect detection method, defect information indicating a known defect size and defect shape is recorded in the recording unit 121, and defects in the evaluation object 200 are efficiently detected by referring to the defect information. As the defect information indicating the defect shape, for example, an aspect ratio can be used.

図2に示した第1の欠陥検出方法に含まれる各工程の概略について説明すれば以下のとおりである。   The outline of each process included in the first defect detection method shown in FIG. 2 will be described as follows.

すなわち、工程S11においては、光学系制御部122が、記録部121から読み出した欠陥情報に基づいて、評価対象物200をどの位置から撮像するのかを設定し、その位置から検査対象物200を撮像するために必要な指示をカメラ駆動装置112とステージ駆動装置114とに与える。   That is, in step S11, based on the defect information read from the recording unit 121, the optical system control unit 122 sets a position from which the evaluation object 200 is imaged, and images the inspection object 200 from the position. Instructions necessary for this are given to the camera driving device 112 and the stage driving device 114.

工程S12においては、カメラ駆動部112およびステージ駆動部114が、光学系制御部122からの指示に基づいてカメラ111およびステージ113を駆動することによって、工程S11にて設定された位置から評価対象物200を撮像する。   In step S12, the camera drive unit 112 and the stage drive unit 114 drive the camera 111 and the stage 113 based on an instruction from the optical system control unit 122, so that the object to be evaluated is set from the position set in step S11. 200 is imaged.

なお、欠陥サイズが予め設定された閾値より大きいときには、工程S12において1回の撮像が行われ、1枚の画像が得られる。そうでないときは、工程S12において2回または4回の撮像が行われ、2枚または4枚の画像が得られる。   When the defect size is larger than a preset threshold value, one image is taken in step S12 to obtain one image. If not, imaging is performed twice or four times in step S12, and two or four images are obtained.

工程S13においては、高解像度化処理部123が、高解像度化処理を実行することにより、工程S12にて得られた画像から高解像度化画像を得る。ただし、欠陥サイズが予め設定された閾値より大きいときには、高解像度化処理を行わない。   In step S13, the high resolution processing unit 123 executes the high resolution processing to obtain a high resolution image from the image obtained in step S12. However, when the defect size is larger than a preset threshold value, the high resolution processing is not performed.

工程S14においては、欠陥検出処理部124が、欠陥検出処理を実行することにより、工程S13にて得られた高解像度化画像から評価対象物200における欠陥を検出する。ただし、欠陥サイズが予め設定された閾値より大きいときには、工程S12において得られた撮像画像そのものから欠陥を検出する。   In step S14, the defect detection processing unit 124 detects a defect in the evaluation object 200 from the high-resolution image obtained in step S13 by executing the defect detection process. However, when the defect size is larger than a preset threshold value, the defect is detected from the captured image itself obtained in step S12.

なお、検出すべき欠陥のサイズおよび形状が予め分かっている場合としては、例えば、液晶表示パネルにおける黒点欠陥、又は輝点欠陥を検出する場合などが挙げられる。この場合、評価対象物である液晶表示パネルの機種情報などから液晶表示パネルの画素サイズおよび画素形状を特定することによって、検出すべき欠陥のサイズや形状を事前に予測することができる。したがって、検出すべき欠陥のサイズや形状を示す欠陥情報を、記録部121に予め記録しておくことができる。   Examples of the case where the size and shape of the defect to be detected are known in advance include a case where a black spot defect or a bright spot defect in a liquid crystal display panel is detected. In this case, the size and shape of the defect to be detected can be predicted in advance by specifying the pixel size and pixel shape of the liquid crystal display panel from the model information of the liquid crystal display panel that is the evaluation object. Therefore, defect information indicating the size and shape of the defect to be detected can be recorded in the recording unit 121 in advance.

図3は、検出すべき欠陥のサイズ及び形状が未知の場合に好適な第2の欠陥検出方法を示すフローチャートである。この欠陥検出方法においては、欠陥検出処理部124によって検出された欠陥サイズおよび欠陥形状を示す欠陥情報を記録部121に記録しておき、この欠陥情報を参照することによって評価対象物200における欠陥を効率的に検出する。なお、欠陥形状を示す欠陥情報としては、第1の欠陥検出方法と同様、アスペクト比などを利用することができる。   FIG. 3 is a flowchart showing a second defect detection method suitable when the size and shape of the defect to be detected are unknown. In this defect detection method, defect information indicating the defect size and defect shape detected by the defect detection processing unit 124 is recorded in the recording unit 121, and the defect in the evaluation object 200 is detected by referring to the defect information. Detect efficiently. As the defect information indicating the defect shape, an aspect ratio or the like can be used as in the first defect detection method.

図3に示した第2の欠陥検出方法に含まれる各工程の概略について説明すれば以下のとおりである。   The outline of each process included in the second defect detection method shown in FIG. 3 will be described as follows.

すなわち、工程S21においては、光学系制御部122が、記録部121から読み出した欠陥情報に基づいて、評価対象物200をどの位置から撮像するのかを設定し、その位置から評価対象物200を撮像するために必要な指示をカメラ駆動装置112とステージ駆動装置114とに与える。ただし、最初に工程S21を実行する際には、未だ欠陥情報が記録部121に記録されていないので、高解像度化処理によってある程度の高解像度化画像が得られるように適当な撮像位置を設定する。   That is, in step S <b> 21, the optical system control unit 122 sets from which position the evaluation object 200 is imaged based on the defect information read from the recording unit 121, and images the evaluation object 200 from that position. Instructions necessary for this are given to the camera driving device 112 and the stage driving device 114. However, when performing step S21 for the first time, since defect information has not yet been recorded in the recording unit 121, an appropriate imaging position is set so that a high-resolution image can be obtained to some extent by the high-resolution processing. .

工程S22においては、カメラ駆動部112およびステージ駆動部114が、光学系制御部122からの指示に基づいてカメラ111およびステージ113を駆動することによって、工程S21にて設定された位置から評価対象物200を撮像する。   In step S22, the camera drive unit 112 and the stage drive unit 114 drive the camera 111 and the stage 113 based on an instruction from the optical system control unit 122, so that the object to be evaluated is set from the position set in step S21. 200 is imaged.

なお、欠陥サイズが予め設定された閾値より大きいときには、工程S12において1回の撮像が行われ、1枚の画像が得られる。そうでないときは、工程S12において2回または4回の撮像が行われ、2枚または4枚の画像が得られる。   When the defect size is larger than a preset threshold value, one image is taken in step S12 to obtain one image. If not, imaging is performed twice or four times in step S12, and two or four images are obtained.

工程S23においては、高解像度化処理部123が、高解像度化処理を実行することにより、工程S22にて画像から高解像度化画像を得る。ただし、欠陥サイズが予め設定された閾値より大きいときには、高解像度化処理を行わない。   In step S23, the high resolution processing unit 123 executes the high resolution processing, thereby obtaining a high resolution image from the image in step S22. However, when the defect size is larger than a preset threshold value, the high resolution processing is not performed.

工程S24においては、欠陥検出処理部124が、欠陥検出処理を実行することにより、工程S23にて得られた高解像度化画像から評価対象物200における欠陥を検出するとともに、検出した欠陥のサイズおよび形状を示す欠陥情報を記録部121に書き込む。欠陥サイズが予め設定された閾値より大きいときには、工程S22において得られた撮像画像そのものから欠陥を検出し、検出した欠陥のサイズおよび形状を示す欠陥情報を記録部121に書き込む。以後、工程S24にて記録部121に書き込まれた欠陥情報が工程S21にて参照されることになる。   In step S24, the defect detection processing unit 124 executes defect detection processing to detect defects in the evaluation object 200 from the high-resolution image obtained in step S23, and to detect the size and size of the detected defects. The defect information indicating the shape is written in the recording unit 121. When the defect size is larger than a preset threshold value, the defect is detected from the captured image itself obtained in step S22, and defect information indicating the size and shape of the detected defect is written in the recording unit 121. Thereafter, the defect information written in the recording unit 121 in step S24 is referred to in step S21.

図3に示した第2の欠陥検出方法によれば、検出すべき欠陥のサイズおよび形状を示す欠陥情報を、同一の又は同種の評価対象物において先に検出された欠陥のサイズおよび形状に基づいて定めることができる。このため、高解像度化処理により得られる高解像度化画像の解像度を必要最小限の値に抑えることができる。換言すれば、高解像度化処理に用いる画像の枚数を必要最低限の枚数に抑えることができる。したがって、検査時間の不要な増加を回避することができる。   According to the second defect detection method shown in FIG. 3, the defect information indicating the size and shape of the defect to be detected is based on the size and shape of the defect previously detected in the same or similar evaluation object. Can be determined. For this reason, the resolution of the high-resolution image obtained by the high-resolution processing can be suppressed to a necessary minimum value. In other words, the number of images used for the resolution enhancement processing can be suppressed to the minimum necessary number. Therefore, an unnecessary increase in inspection time can be avoided.

また、後述するように、欠陥のサイズのみならず、欠陥の形状(例えばアスペクト比)を参照して評価対象物200をどの位置から撮像するのかを決めているため、横長の欠陥に対しては縦方向の解像度のみを高く、縦長の欠陥に対しては横方向の解像度のみを高くすることができる。すなわち、欠陥の短軸方向の解像度のみを高く設定することで、欠陥検出処理において必要な解像度を確保しつつ、高解像度化処理に用いる画像の枚数を削減することができる。   Further, as will be described later, since the position where the evaluation object 200 is imaged is determined by referring not only to the size of the defect but also to the shape of the defect (for example, the aspect ratio), Only the resolution in the vertical direction can be increased, and only the resolution in the horizontal direction can be increased for vertically long defects. That is, by setting only the resolution in the minor axis direction of the defect high, it is possible to reduce the number of images used for the high resolution processing while ensuring the resolution necessary for the defect detection processing.

(撮像位置設定処理)
次に、上述した工程S11およびS21において光学系制御部122により実行される撮像位置設定処理について、図4を参照して説明する。図4は、撮像位置設定処理の一例を示したフローチャートである。
(Imaging position setting process)
Next, the imaging position setting process executed by the optical system control unit 122 in the above-described steps S11 and S21 will be described with reference to FIG. FIG. 4 is a flowchart illustrating an example of the imaging position setting process.

光学系制御部122は、まず、欠陥情報により示された欠陥サイズLを予め定められた閾値Th0と比較する(S31)。欠陥サイズLが閾値Th0よりも大きいとき、光学系制御部122は、評価対象物200を撮像するために予め定められた基準位置のみを撮像位置として設定する(S32)。この場合、工程S12およびS22においては、1回の撮像により1枚の画像が得られることになる。   The optical system control unit 122 first compares the defect size L indicated by the defect information with a predetermined threshold Th0 (S31). When the defect size L is larger than the threshold value Th0, the optical system control unit 122 sets only a predetermined reference position for imaging the evaluation object 200 as an imaging position (S32). In this case, in steps S12 and S22, one image is obtained by one imaging.

欠陥サイズLが閾値Th0よりも小さいとき、光学系制御部122は、欠陥情報により示されたアスペクト比R(欠陥の縦幅/欠陥の横幅)を予め定められた閾値Th1およびTh2(Th1>1>Th2)と比較する(S33)。   When the defect size L is smaller than the threshold Th0, the optical system control unit 122 sets the aspect ratio R (defect vertical width / defect horizontal width) indicated by the defect information to predetermined thresholds Th1 and Th2 (Th1> 1). > Th2) (S33).

アスペクト比Rが閾値Th1より大きいとき、すなわち欠陥が縦長のとき、光学系制御部122は、基準位置の他に、基準位置に対して横に2分の1画素ピッチだけずれた位置を撮像位置として設定する(S34)。このとき、被写体の位置が横に2分の1画素ピッチ分ずれた2枚の画像が、工程S12およびS22において得られることになる。   When the aspect ratio R is larger than the threshold value Th1, that is, when the defect is vertically long, the optical system control unit 122, in addition to the reference position, shifts a position shifted by a half pixel pitch horizontally with respect to the reference position. (S34). At this time, two images in which the position of the subject is laterally shifted by a half pixel pitch are obtained in steps S12 and S22.

アスペクト比Rが閾値Th2より小さいとき、すなわち欠陥が横長のとき、光学系制御部122は、基準位置の他に、基準位置に対して縦に2分の1画素ピッチだけずれた位置を撮像位置と決める(S35)。このとき、被写体の位置が縦に2分の1画素ピッチ分ずれた2枚の画像が、工程S12およびS22において得られることになる。   When the aspect ratio R is smaller than the threshold Th2, that is, when the defect is horizontally long, the optical system control unit 122, in addition to the reference position, captures a position shifted by a half pixel pitch vertically with respect to the reference position. (S35). At this time, two images in which the position of the subject is vertically shifted by a half pixel pitch are obtained in steps S12 and S22.

アスペクト比Rが閾値Th2以上、かつ、閾値Th1以下のとき、光学系制御部122は、基準位置の他に、基準位置に対して横に2分の1画素ピッチだけずれた位置、基準位置に対して縦に2分の1画素ピッチだけずれた位置、および、基準位置に対して横と縦とにそれぞれ2分の1画素ピッチだけずれた位置を撮像位置として設定する(S36)。このとき、画像における評価対象物200の像の位置が縦と横とに2分の1画素ピッチ分ずれた4枚の画像が、工程S12およびS22において得られることになる。   When the aspect ratio R is greater than or equal to the threshold Th2 and less than or equal to the threshold Th1, the optical system control unit 122 sets the reference position at a position shifted by a half pixel pitch horizontally with respect to the reference position. On the other hand, a position shifted by a half pixel pitch vertically and a position shifted by a half pixel pitch horizontally and vertically from the reference position are set as imaging positions (S36). At this time, four images in which the position of the image of the evaluation object 200 in the image is shifted by a half pixel pitch vertically and horizontally are obtained in steps S12 and S22.

なお、図4に示した撮像位置設定処理は、可能な撮像位置設定処理の一例を示すものに過ぎず、各種変形が可能である。   Note that the imaging position setting process shown in FIG. 4 is merely an example of a possible imaging position setting process, and various modifications are possible.

(高解像度化処理)
次に、上述した工程S13およびS23において高解像度化処理部123により実行される高解像度化処理について、図5〜図6を参照して説明する。高解像度化処理部123は、2×1画素ずらし法、1×2画素ずらし法、及び、2×2画素ずらし法の何れかを用いて高解像度化画像を生成する。
(High resolution processing)
Next, the high resolution processing executed by the high resolution processing unit 123 in steps S13 and S23 described above will be described with reference to FIGS. The high resolution processing unit 123 generates a high resolution image using any one of the 2 × 1 pixel shift method, the 1 × 2 pixel shift method, and the 2 × 2 pixel shift method.

図5は、2×1画素ずらし法を用いた高解像度化処理の概要を示した説明図である。   FIG. 5 is an explanatory diagram showing an outline of the high resolution processing using the 2 × 1 pixel shifting method.

図5(a)に示したように、2×1画素ずらし法とは、基準位置より評価対象物200を撮像して得られる画像501と、基準位置から横に2分の1画素ピッチ(各画像の各マス目が画素に対応する)だけ移動した位置より評価対象物200を撮像して得られる画像502とを合成することによって、2倍の横解像度を有する高解像度化画像503を生成する方法である。   As shown in FIG. 5A, the 2 × 1 pixel shift method is an image 501 obtained by imaging the evaluation object 200 from the reference position, and a half pixel pitch (each of the horizontal positions from the reference position). A high-resolution image 503 having twice the horizontal resolution is generated by combining the image 502 obtained by imaging the evaluation object 200 from the position where each square of the image corresponds to the pixel). Is the method.

なお、図5(a)は、どの位置から撮像して得られた画像を高解像度化処理に用いるのかを概念的に示したものであり、実際の画像501および画像502は、図5(b)に示されているようになる。画像501と画像502との合成は、例えば、画素値の平均値を算出することにより実現することができる。   FIG. 5A conceptually shows from which position an image obtained by imaging is used for the high resolution processing. The actual image 501 and the image 502 are shown in FIG. ) As shown. The synthesis of the image 501 and the image 502 can be realized, for example, by calculating an average value of pixel values.

1×2画素ずらし法は、基準位置より評価対象物200を撮像して得られる画像と、該基準位置から縦に2分の1画素ピッチだけ移動した位置より評価対象物200を撮像して得られる画像とを合成することによって、2倍の縦解像度を有する高解像度化画像を生成する方法である。   The 1 × 2 pixel shift method is obtained by imaging the evaluation object 200 from an image obtained by imaging the evaluation object 200 from the reference position and a position moved by a half pixel pitch vertically from the reference position. This is a method of generating a high-resolution image having double vertical resolution by synthesizing with an image to be generated.

図6は、2×2画素ずらし法を用いた高解像度化処理の概要を示した説明図である。なお、図5(a)と同様、図6は、どの位置から撮像して得られた画像を高解像度化処理に用いるのかを概念的に示したものであり、実際の画像を示すものではない。   FIG. 6 is an explanatory diagram showing an outline of the high resolution processing using the 2 × 2 pixel shifting method. As in FIG. 5A, FIG. 6 conceptually shows from which position an image obtained by imaging is used for the high resolution processing, and does not show an actual image. .

2×2画素ずらし法とは、図6に示したように、基準位置より評価対象物200を撮像して得られる画像601と、基準位置から横に2分の1画素ピッチだけ移動した位置より評価対象物200を撮像して得られる画像602と、基準位置から縦に2分の1画素ピッチだけ移動した位置より評価対象物200を撮像して得られる画像603と、基準位置から横および縦にそれぞれ2分の1画素ピッチだけ移動した位置より評価対象物200を撮像して得られる画像604とを合成することによって、縦横に2倍の解像度を有する高解像度化画像605を生成する方法である。   As shown in FIG. 6, the 2 × 2 pixel shift method is based on an image 601 obtained by imaging the evaluation object 200 from the reference position and a position moved laterally by a half pixel pitch from the reference position. An image 602 obtained by imaging the evaluation object 200, an image 603 obtained by imaging the evaluation object 200 from a position moved by a half pixel pitch vertically from the reference position, and horizontal and vertical from the reference position. In this method, a high-resolution image 605 having twice the vertical and horizontal resolution is generated by combining the image 604 obtained by imaging the evaluation object 200 from the position moved by a half pixel pitch. is there.

(欠陥検出処理)
次に、上述した工程S14およびS24において欠陥検出処理部124により実行される欠陥検出処理について、図7および図8を参照して説明する。
(Defect detection processing)
Next, the defect detection process executed by the defect detection processing unit 124 in the above-described steps S14 and S24 will be described with reference to FIGS.

欠陥検出処理は、例えば、高解像度化画像を構成する各画素のコントラストを算出するとともに、算出したコントラストが所定の閾値を上回る画素の集合を欠陥像として特定することによって実現される。さらに、欠陥像に含まれる画素のコントラストを積算することで算出されるコントラスト体積を用いることによって、その欠陥の強度を評価するようにしてもよい。   The defect detection process is realized, for example, by calculating the contrast of each pixel constituting the high-resolution image and specifying a set of pixels in which the calculated contrast exceeds a predetermined threshold as a defect image. Furthermore, the strength of the defect may be evaluated by using a contrast volume calculated by integrating the contrast of the pixels included in the defect image.

図7は、欠陥のサイズが高解像度化画像の1画素に相当する場合に好適なコントラスト算出方法を説明する説明図である。   FIG. 7 is an explanatory diagram for explaining a contrast calculation method suitable for the case where the defect size corresponds to one pixel of the high-resolution image.

図7(a)に示したように、画素「a」のコントラストCは、画素「a」の画素値と、画素「a」に隣接する4つの画素「b」「c」「d」「e」の平均画素値との差の絶対値をとることにより算出できる:
コントラストC=|a−(b+c+d+e)/4|・・・(1)。
As shown in FIG. 7A, the contrast C of the pixel “a” is determined by the pixel value of the pixel “a” and the four pixels “b”, “c”, “d”, “e” adjacent to the pixel “a”. Can be calculated by taking the absolute value of the difference from the average pixel value of:
Contrast C = | a− (b + c + d + e) / 4 | (1).

また、図7(b)に示したように、画素「a」の画素値と、画素「a」の周辺に位置する8画素「b」「c」「d」「e」「f」「g」「h」「i」の画素値の平均値との差の絶対値をとることにより算出してもよい:
コントラストC=|a−(b+c+d+e+f+g+h+i)/8|・・・(2)。
Further, as shown in FIG. 7B, the pixel value of the pixel “a” and the eight pixels “b”, “c”, “d”, “e”, “f”, “g” located around the pixel “a”. It may be calculated by taking the absolute value of the difference from the average value of the pixel values of “h” and “i”:
Contrast C = | a− (b + c + d + e + f + g + h + i) / 8 | (2).

なお、評価対象物200が高解像度化画像の1画素に相当する周期のパターンをもっている場合、図7(a)〜図7(b)に示したように隣接画素、及び/又は周辺画素を参照してコントラストを算出すると、欠陥がなくても注目画素と参照画素との画素値が異なってしまうため、正しく欠陥を検出することができない。   When the evaluation target 200 has a pattern with a period corresponding to one pixel of the high-resolution image, refer to adjacent pixels and / or peripheral pixels as shown in FIGS. 7 (a) to 7 (b). When the contrast is calculated, the pixel value of the target pixel and the reference pixel are different from each other even if there is no defect.

このような場合には、欠陥がなければ画素「a」と同一の画素値を有することが推定される画素を参照画素として、コントラストを算出するようにすればよい。例えば、図7(c)に示したように、評価対象物200のパターン周期が高解像度化画像の3画素に相当する場合には、図7(d)に示したように、2画素を挟んで画素「a」の各辺と対向する画素「b」「c」「d」「e」、及び/又は2画素を挟んで画素「a」と対角線を共有する画素「f」「g」「h」「i」を参照画素として画素「a」のコントラストを算出するようにすればよい。   In such a case, if there is no defect, contrast may be calculated using a pixel estimated to have the same pixel value as the pixel “a” as a reference pixel. For example, as shown in FIG. 7C, when the pattern period of the evaluation object 200 corresponds to three pixels of the high-resolution image, two pixels are sandwiched as shown in FIG. Pixels “b”, “c”, “d”, “e” facing each side of the pixel “a”, and / or pixels “f”, “g”, “” that share a diagonal line with the pixel “a” across the two pixels. The contrast of the pixel “a” may be calculated using h and “i” as reference pixels.

図8は、欠陥のサイズが高解像度化画像の数画素分に相当する場合に好適なコントラスト算出方法を説明する説明図である。ここでは、評価対象物200が、高解像度化画像の24画素に相当する周期のパターンをもつものと仮定している。   FIG. 8 is an explanatory diagram for explaining a contrast calculation method suitable for the case where the defect size corresponds to several pixels of the high resolution image. Here, it is assumed that the evaluation object 200 has a pattern with a period corresponding to 24 pixels of the high resolution image.

高解像化画像を構成する画素901のコントラストCは、欠陥がなければ画素901と同一の画素値を有することが推定される画素を参照画素として、コントラストを算出するようにすればよい。より具体的には、図8(a)に示したように、23画素を挟んで画素901の各辺に対向する4画素(図8(a)においては、画素901の左辺に対向する参照画素902のみを図示)、及び/又は、23画素を挟んで画素901と対角線を共有する4画素を参照画素として(1)式、又は(2)式に従って算出すればよい。これにより、図8(b)に示したように、欠陥に対応する部分でのみ値が大きくなるコントラストの分布が得られる(図8(b)においては、コントラストが高い画素を黒で、コントラストが低い画素を白で示している)。   The contrast C of the pixel 901 constituting the high-resolution image may be calculated by using a pixel estimated to have the same pixel value as the pixel 901 if there is no defect as a reference pixel. More specifically, as shown in FIG. 8A, four pixels facing each side of the pixel 901 across 23 pixels (in FIG. 8A, a reference pixel facing the left side of the pixel 901) (Only 902 is shown) and / or 4 pixels sharing a diagonal line with the pixel 901 across 23 pixels may be used as reference pixels and calculated according to the equation (1) or (2). As a result, as shown in FIG. 8B, a distribution of contrast is obtained in which the value increases only in the portion corresponding to the defect (in FIG. 8B, the high-contrast pixels are black and the contrast is high). Low pixels are shown in white).

(2×1画素ずらし法、及び、1×2画素ずらし法の有効性)
最後に、2×1画素ずらし法、及び、1×2画素ずらし法の有効性について、図9および図10を参照して説明する。ここでは、縦長の欠陥を考え、(a)撮像画像そのもの、(b)2×2画素ずらし法により得られた高解像度化画像、(c)1×2画素ずらし法により得られた高解像度化画像、および、(d)2×1画素ずらし法により得られた高解像度化画像の各々に基づく欠陥検出の再現性(安定性)比較する。再現性の尺度としては、基準撮像位置の微小移動により引き起こされる、欠陥の検出サイズの変動を用いる。
(Effectiveness of 2 × 1 pixel shifting method and 1 × 2 pixel shifting method)
Finally, the effectiveness of the 2 × 1 pixel shifting method and the 1 × 2 pixel shifting method will be described with reference to FIGS. 9 and 10. Here, considering a vertically long defect, (a) the captured image itself, (b) a high-resolution image obtained by the 2 × 2 pixel shift method, (c) a high resolution obtained by the 1 × 2 pixel shift method The reproducibility (stability) of defect detection based on each of the image and (d) the high-resolution image obtained by the 2 × 1 pixel shift method is compared. As a measure of reproducibility, a variation in defect detection size caused by a minute movement of the reference imaging position is used.

図9(a)の左上段に示す位置から評価対象物200を撮像して得られた画像を2値化(欠陥の占める面積が半分以上になる画素に1を割り当て、そうでない画素に0を割り当てることに相当)すると、図9(a)の左下段に示す2値化画像が得られる。この2値化画像に基づいて欠陥サイズをカウントすると、検出サイズは3画素となる。一方、図9(a)の右上段に示す位置から評価対象物200を撮像して得られた画像を2値化すると、図9(a)の右下段に示す2値化画像が得られる。この2値化画像に基づいて欠陥サイズをカウントすると、検出サイズは2画素となる。このように、撮像画像そのものを用いて欠陥を検出する場合、撮像位置の移動により検出サイズが大きく変化し再現性が低い。   The image obtained by imaging the evaluation object 200 from the position shown in the upper left part of FIG. 9A is binarized (1 is assigned to a pixel in which the area occupied by the defect is more than half, and 0 is assigned to the other pixel. (Corresponding to assigning), the binarized image shown in the lower left of FIG. 9A is obtained. When the defect size is counted based on the binarized image, the detected size is 3 pixels. On the other hand, when the image obtained by imaging the evaluation object 200 from the position shown in the upper right part of FIG. 9A is binarized, the binarized image shown in the lower right part of FIG. 9A is obtained. When the defect size is counted based on the binarized image, the detected size is 2 pixels. As described above, when a defect is detected using the captured image itself, the detection size changes greatly due to the movement of the imaging position, and the reproducibility is low.

図9(b)は、2×2画素ずらし法により得られた高解像度化画像を2値化することにより得られた2値化画像を示す。2×2画素ずらし法により得られた高解像度化画像を用いた場合、実効画素サイズは元の画素サイズの4分の1(面積比)になる。このため、2値化画像に基づいてカウントした欠陥サイズは、移動の前後で不変(何れも9実効画素)である。つまり、撮像画像そのものを用いて欠陥を検出する場合と比べて再現性が高くなる。   FIG. 9B shows a binarized image obtained by binarizing a high-resolution image obtained by the 2 × 2 pixel shift method. When a high-resolution image obtained by the 2 × 2 pixel shifting method is used, the effective pixel size is a quarter (area ratio) of the original pixel size. For this reason, the defect size counted based on the binarized image is unchanged (all 9 effective pixels) before and after the movement. That is, the reproducibility is higher than when a defect is detected using the captured image itself.

しかしながら、2×2画素ずらし法により高解像度化画像を生成するためには、4枚の画像が必要になり、その撮像に要する時間、および、高解像度化処理に要する時間が問題になる。そこで、1×2画素ずらし法、または2×1画素ずらし法の利用が有効になる。   However, in order to generate a high-resolution image by the 2 × 2 pixel shifting method, four images are required, and the time required for imaging and the time required for the high-resolution processing become problems. Therefore, use of the 1 × 2 pixel shift method or the 2 × 1 pixel shift method is effective.

図9(c)は、1×2画素ずらし法により得られた高解像度化画像を2値化することにより得られた2値化画像を示す。図9(d)は、2×1画素ずらし法により得られた高解像度化画像を2値化することにより得られた2値化画像を示す。   FIG. 9C shows a binarized image obtained by binarizing a high-resolution image obtained by the 1 × 2 pixel shift method. FIG. 9D shows a binarized image obtained by binarizing a high resolution image obtained by the 2 × 1 pixel shift method.

縦長の欠陥を検出するために、1×2画素ずらし法により得られた高解像度化画像を用いた場合、図9(c)に示すように、2値化画像に基づいてカウントした欠陥サイズは、移動の前後で変化する(1実行画素分小さくなる)。一方、2×1画素ずらし法により得られた高解像度化画像を用いた場合、図9(d)に示すように、2値化画像に基づいてカウントした欠陥サイズは、移動の前後で不変(何れも4実効画素)である。つまり、縦長の欠陥を検出する場合には、横解像度を向上させる2×1画素ずらし法が、欠陥検出の再現性を向上させるうえで有効である。同様に、横長の欠陥を検出する場合には、縦解像度を向上させる1×2画素ずらし法が、欠陥検出の再現性を向上させるうえで有効である。   When a high resolution image obtained by the 1 × 2 pixel shift method is used to detect a vertically long defect, as shown in FIG. 9C, the defect size counted based on the binarized image is , Change before and after the movement (decrease by one execution pixel). On the other hand, when a high-resolution image obtained by the 2 × 1 pixel shift method is used, the defect size counted based on the binarized image does not change before and after the movement (see FIG. 9D). All are 4 effective pixels). That is, when detecting a vertically long defect, the 2 × 1 pixel shift method for improving the horizontal resolution is effective in improving the reproducibility of defect detection. Similarly, when detecting a horizontally long defect, a 1 × 2 pixel shift method for improving the vertical resolution is effective in improving the reproducibility of defect detection.

図10は、(a)撮像画像そのもの、(b)2×2画素ずらし法により得られた高解像度化画像、(c)1×2画素ずらし法により得られた高解像度化画像、および、(d)2×1画素ずらし法により得られた高解像度化画像の各々に基づいて算出された欠陥強度のバラつきを示すグラフである。各プロット点は、縦長の欠陥を有する液晶表示パネルを、基準撮像位置を微小に変動させながらそれぞれの場合に必要となる画像を撮像することにより得られたものである。欠陥強度の評価には、上述したコントラスト体積を用いた。   FIG. 10 shows (a) the captured image itself, (b) a high-resolution image obtained by the 2 × 2 pixel shift method, (c) a high-resolution image obtained by the 1 × 2 pixel shift method, and ( d) A graph showing the variation in defect intensity calculated based on each of the high-resolution images obtained by the 2 × 1 pixel shifting method. Each plot point is obtained by capturing an image necessary for each case on a liquid crystal display panel having a vertically long defect while slightly changing the reference imaging position. The contrast volume described above was used for the evaluation of the defect strength.

撮像画像そのもの、及び1×2の画素ずらし法により得られた高解像度化画像を用いた場合には、欠陥の欠陥強度のバラつきが大きいのに対して、2×1、又は2×2の画素ずらし法により得られた高解像度化画像を用いた場合には、欠陥強度のバラつきが小さくなっている。この結果は、縦長の欠陥に対しては、2×1の画素ずらし法を用いて横解像度を向上させることが有効であるという図9に示した結果と一致している。   In the case of using the picked-up image itself and a high-resolution image obtained by the 1 × 2 pixel shifting method, the defect intensity varies greatly, whereas 2 × 1 or 2 × 2 pixels When a high-resolution image obtained by the shifting method is used, the variation in defect strength is small. This result agrees with the result shown in FIG. 9 that it is effective to improve the horizontal resolution by using the 2 × 1 pixel shifting method for the vertically long defect.

以上のように、欠陥の短軸方向に撮像位置をずらして撮像した2枚の画像を用いて高解像度化処理を行えば、4枚の画像を用いて高解像度化処理を行う場合に得られる再現性とほぼ同程度の再現性を得ることができるうえに、高解像度化処理に持ちる画像の枚数を半減することが可能となる。   As described above, if the high resolution processing is performed using two images captured by shifting the imaging position in the minor axis direction of the defect, it is obtained when the high resolution processing is performed using four images. Reproducibility that is almost the same as reproducibility can be obtained, and the number of images for high resolution processing can be halved.

(プログラム及び記録媒体)
最後に、PC120に含まれる各ブロックは、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。
(Program and recording medium)
Finally, each block included in the PC 120 may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、PC120は、各機能を実現する欠陥検出プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである欠陥検出プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体をPC120に供給し、PC120がその記録媒体に記録されているプログラムコードを読み出し実行することによっても達成可能である。   That is, the PC 120 includes a CPU (central processing unit) that executes instructions of a defect detection program that realizes each function, a ROM (read only memory) that stores the program, a RAM (random access memory) that develops the program, A storage device (recording medium) such as a memory for storing programs and various data is provided. An object of the present invention is to supply a PC 120 with a recording medium in which a program code (execution format program, intermediate code program, source program) of a defect detection program, which is software for realizing the functions described above, is recorded so as to be readable by a computer. This can also be achieved by the PC 120 reading and executing the program code recorded on the recording medium.

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、PC120を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介してPC120に供給するようにしてもよい。この通信ネットワークとしては、とくに限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、とくに限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the PC 120 may be configured to be connectable to a communication network, and the program code may be supplied to the PC 120 via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Further, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

(付記事項)
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。
(Additional notes)
The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

例えば、上述した実施形態においては高解像度化処理として画素ずらし法を用いたが、本発明はこれに限定されるものではなく、画素ずらし法以外の高解像度化処理、例えば、超解像処理を用いてもよい。   For example, in the above-described embodiment, the pixel shifting method is used as the resolution enhancement processing. However, the present invention is not limited to this, and high resolution processing other than the pixel shifting method, for example, super-resolution processing is performed. It may be used.

超解像処理の一例として、ML(Maximum-likelihood)法、MAP(Maximum A Posterior)法、またはPOCS(Projection On to Convex Sets)法などを用いた再構成型の超解像処理について、その要点を説明すれば以下のとおりである。   As an example of super-resolution processing, the main points of reconstruction-type super-resolution processing using ML (Maximum-likelihood) method, MAP (Maximum A Posterior) method, POCS (Projection On to Convex Sets) method, etc. Is described as follows.

すなわち、再構成型の超解像処理においては、撮像モデルに応じた複数の低解像度画像を、仮定した高解像度画像から推定する。低解像度画像の推定には、例えば、撮像モデルにより定まる点広がり関数(PSF関数)を用いる。そして、推定した低解像度画像と実際の撮像画像との差が小さくなるように高解像度画像を仮定し直す。これを、推定した低解像度画像と実際の撮像画像との差が収束するまで繰り返すことによって高解像度画像を得る。このような超解像処理において参照される撮像画像の枚数を、検出すべき欠陥の形状を示す欠陥情報に基づいて設定するようにしても、本発明の目的を達成できることは明らかである。   That is, in the reconstruction type super-resolution processing, a plurality of low resolution images corresponding to the imaging model are estimated from the assumed high resolution image. For estimation of the low resolution image, for example, a point spread function (PSF function) determined by the imaging model is used. Then, the high-resolution image is reasserted so that the difference between the estimated low-resolution image and the actual captured image becomes small. This is repeated until the difference between the estimated low resolution image and the actual captured image converges to obtain a high resolution image. It is clear that the object of the present invention can be achieved even if the number of captured images referred to in such super-resolution processing is set based on defect information indicating the shape of the defect to be detected.

また、例えば、本発明は、以下のように表現することもできる。   For example, the present invention can also be expressed as follows.

1.評価対象を撮像する撮像手段と、前記撮像手段の撮像タイミングを制御する撮像タイミング制御手段と、前記撮像手段の運動を制御する運動制御手段と、前記撮像手段にて撮像された複数の撮像画像から高解像度画像を生成する高解像処理手段と、対象となる欠陥の欠陥形状情報を保持する欠陥形状情報保持部と、前記欠陥形状情報保持部に応じて高解像処理に用いる画像枚数を変動させる高解像処理選択手段と、高解像化された欠陥画像に対して検査を行う欠陥検出手段と、を備えることを特徴とする欠陥検査装置。   1. an imaging unit that images an evaluation target, an imaging timing control unit that controls an imaging timing of the imaging unit, a motion control unit that controls a motion of the imaging unit, and a plurality of images captured by the imaging unit High resolution processing means for generating a high resolution image from an image, a defect shape information holding unit for holding defect shape information of a target defect, and the number of images used for high resolution processing according to the defect shape information holding unit A defect inspection apparatus comprising: a high-resolution processing selection unit that fluctuates, and a defect detection unit that inspects a high-resolution defect image.

2.前記高解像処理手段として、画素ずらし法を用いることを特徴とした1に記載の欠陥検査装置。   2. 2. The defect inspection apparatus according to 1, wherein a pixel shifting method is used as the high resolution processing means.

3.前記欠陥形状情報保持部において、評価対象の欠陥出現傾向情報が事前に入手、入力されることを特徴とした1に記載の欠陥検査装置。   3. The defect inspection apparatus according to 1, wherein the defect shape information holding unit obtains and inputs defect appearance tendency information to be evaluated in advance.

4.前記欠陥形状情報保持部において、評価対象の欠陥出現傾向情報が、検査結果により逐次更新されることを特徴とした1に記載の欠陥検査装置。   4). 2. The defect inspection apparatus according to 1, wherein in the defect shape information holding unit, defect appearance tendency information to be evaluated is sequentially updated according to an inspection result.

5.前記高解像処理選択手段において、欠陥のアスペクト比に応じて、高解像処理に用いる画像位置/枚数を変動させる事を特徴とした1に記載の欠陥検査装置。   5). 2. The defect inspection apparatus according to 1, wherein the high-resolution processing selection unit varies the image position / number of images used for the high-resolution processing in accordance with the defect aspect ratio.

6.前記高解像処理選択手段において、欠陥のアスペクト比に基づいて、1×1の高解像化処理無しの場合と、1×2、2×1、2×2の画素ずらし手法を用いる場合を選択し、高解像化を行うことを特徴とした1に記載の欠陥検査装置。   6). In the high-resolution processing selection means, a case where there is no 1 × 1 high-resolution processing and a case where a 1 × 2, 2 × 1, 2 × 2 pixel shifting method is used based on the defect aspect ratio. 2. The defect inspection apparatus according to 1, wherein selection is performed and high resolution is performed.

7.前記欠陥検出手段に関して、欠陥画像の注目画素に対して、周辺画素の輝度値との差からコントラストを算出し、コントラストがある閾値以上の場合に欠陥として検出することを特徴とした1に記載の欠陥検査装置。   7. 2. The defect detection unit according to 1, wherein a contrast is calculated from a difference from a luminance value of a peripheral pixel with respect to a target pixel of a defect image, and a defect is detected when the contrast is equal to or greater than a threshold value. Defect inspection equipment.

8.前記欠陥検出手段において、評価対象が周期的なパターンを持つ場合、注目画素のパターンと同一のパターンを持つ近傍画素との差からコントラストを算出し、コントラストがある閾値以上の場合に欠陥として検出することを特徴とした1に記載の欠陥検査装置。   8). In the defect detection means, when the evaluation target has a periodic pattern, the contrast is calculated from the difference between the target pixel pattern and a neighboring pixel having the same pattern, and is detected as a defect when the contrast is equal to or greater than a certain threshold value. 2. The defect inspection apparatus according to 1, wherein

9.前記欠陥検出手段において、欠陥部のコントラストを積算したコントラスト体積を算出し、欠陥の強度を評価することを特徴とした1に記載の欠陥検査装置。   9. 2. The defect inspection apparatus according to 1, wherein the defect detection means calculates a contrast volume obtained by integrating the contrast of the defect portions and evaluates the strength of the defect.

本発明は、各種評価対象物における各種欠陥を検出するために利用することができる。欠陥の種類は、撮像画像に像として捉え得るものであればよく、評価対象物の種類は、そのような欠陥を含み得るものであれば何でもよい。特に、液晶表示パネルなどの表示装置における黒点欠陥や輝点欠陥などの欠陥の検出にとりわけ好適に利用することができる。   The present invention can be used to detect various defects in various evaluation objects. The type of defect may be anything that can be captured as an image in the captured image, and the type of the evaluation object may be anything as long as it can contain such a defect. In particular, it can be suitably used for detecting defects such as black spot defects and bright spot defects in display devices such as liquid crystal display panels.

本発明の実施形態を示すものであり、欠陥検出装置の構成を示すブロック図である。1, showing an embodiment of the present invention, is a block diagram illustrating a configuration of a defect detection apparatus. FIG. 本発明の実施形態を示すものであり、欠陥検出装置の動作例を示すフローチャートである。FIG. 3 is a flowchart illustrating an operation example of the defect detection apparatus according to the embodiment of the present invention. 本発明の実施形態を示すものであり、欠陥検出装置の他の動作例を示すフローチャートである。It is a flowchart which shows embodiment of this invention and shows the other operation example of a defect detection apparatus. 本発明の実施形態を示すものであり、撮像位置設定処理の流れを示したフローチャートである。4 is a flowchart illustrating an imaging position setting process according to an exemplary embodiment of the present invention. 本発明の実施形態を示すものであり、2×1画素ずらし法を用いた高解像度化処理の概要を示した説明図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 illustrates an embodiment of the present invention and is an explanatory diagram illustrating an outline of a resolution enhancement process using a 2 × 1 pixel shift method. 本発明の実施形態を示すものであり、2×2画素ずらし法を用いた高解像度化処理の概要を示した説明図である。FIG. 9 is an explanatory diagram illustrating an embodiment of the present invention and an overview of a resolution enhancement process using a 2 × 2 pixel shift method. 本発明の実施形態を示すものであり、欠陥のサイズが高解像度化画像の1画素に相当する場合に好適なコントラスト算出方法を説明する説明図である。FIG. 8 is a diagram illustrating an embodiment of the present invention and is a diagram illustrating a contrast calculation method that is preferable when a defect size corresponds to one pixel of a high-resolution image. 本発明の実施形態を示すものであり、欠陥のサイズが高解像度化画像の数画素分に相当する場合に好適なコントラスト算出方法を説明する説明図である。FIG. 9 is a diagram illustrating an embodiment of the present invention and explaining a contrast calculation method suitable for a case where a defect size corresponds to several pixels of a high-resolution image. 本発明の実施形態を示すものであり、2×1画素ずらし法、及び、1×2画素ずらし法の有効性について示した図である。FIG. 4 is a diagram illustrating an embodiment of the present invention and illustrating the effectiveness of a 2 × 1 pixel shifting method and a 1 × 2 pixel shifting method. 本発明の実施形態を示すものであり、各画素ずらし法による欠陥検出精度の再現性を比較したグラフである。4 is a graph showing an embodiment of the present invention and comparing reproducibility of defect detection accuracy by each pixel shifting method.

符号の説明Explanation of symbols

100 欠陥検出装置
110 光学系
111 カメラ
112 カメラ駆動装置
113 ステージ
114 ステージ駆動装置
120 PC
121 記録部
122 光学系制御部
123 高解像度化処理部
124 欠陥検出処理部
DESCRIPTION OF SYMBOLS 100 Defect detection apparatus 110 Optical system 111 Camera 112 Camera drive apparatus 113 Stage 114 Stage drive apparatus 120 PC
121 recording unit 122 optical system control unit 123 high resolution processing unit 124 defect detection processing unit

Claims (12)

評価対象物を撮像して得られた複数の撮像画像を参照し、該撮像画像の解像度より高解像度の高解像度化画像を生成する生成手段と、
上記生成手段により生成された高解像度化画像を参照し、上記評価対象物における欠陥を検出する検出手段と、
検出すべき欠陥の形状を示す欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成手段が参照する上記撮像画像の枚数を設定する設定手段と、
を備えていることを特徴とする欠陥検出装置。
Generating means for referring to a plurality of captured images obtained by imaging the evaluation object and generating a high-resolution image having a resolution higher than the resolution of the captured image;
Detecting means for detecting a defect in the evaluation object with reference to the high resolution image generated by the generating means;
Setting means for setting the number of captured images referred to by the generating means to generate the resolution-enhanced image based on defect shape information indicating the shape of the defect to be detected;
A defect detection apparatus comprising:
上記生成手段は、画素ずらし法により上記高解像度化画像を生成するものである、
ことを特徴とする請求項1に記載の欠陥検出装置。
The generating means generates the high-resolution image by a pixel shifting method.
The defect detection apparatus according to claim 1.
予め推定された欠陥の形状を示す欠陥形状情報を記録する記録部を更に備えており、
上記設定手段は、上記記録部に記録された上記欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成手段が参照する上記撮像画像の枚数を設定するものである、
ことを特徴とする請求項1または2に記載の欠陥検出装置。
It further comprises a recording unit that records defect shape information indicating the shape of the defect estimated in advance,
The setting unit is configured to set the number of captured images referred to by the generation unit to generate the high-resolution image based on the defect shape information recorded in the recording unit.
The defect detection apparatus according to claim 1, wherein the defect detection apparatus is a defect detection apparatus.
上記欠陥検出手段により検出された欠陥の形状を示す欠陥形状情報を記録する記録部を更に備えており、
上記設定手段は、上記記録部に記録された上記欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成手段が参照する上記撮像画像の枚数を設定するものである、
ことを特徴とする請求項1または2に記載の欠陥検出装置。
It further comprises a recording unit for recording defect shape information indicating the shape of the defect detected by the defect detection means,
The setting unit is configured to set the number of captured images referred to by the generation unit to generate the high-resolution image based on the defect shape information recorded in the recording unit.
The defect detection apparatus according to claim 1, wherein the defect detection apparatus is a defect detection apparatus.
上記設定手段は、上記評価対象物を何れの方向にずらして撮像することにより得られた撮像画像を参照して高解像度化画像を生成するかを、検出すべき欠陥のアスペクト比に基づいて設定するものである、
ことを特徴とする請求項2に記載の欠陥検出装置。
The setting means sets, based on the aspect ratio of the defect to be detected, whether to generate a resolution-enhanced image with reference to a captured image obtained by capturing the evaluation object in which direction. To do,
The defect detection apparatus according to claim 2.
上記設定手段は、上記評価対象物を第1の方向にずらして撮像することにより得られた2枚の撮像画像、上記評価対象物を該第1の方向に垂直な第2の方向にずらして撮像することにより得られた2枚の撮像画像、又は、上記評価対象物を該第1の方向及び/又は該第2の方向にずらして撮像することにより得られた4枚の撮像画像の何れを参照して上記高解像度化画像を生成するかを設定するものである、
ことを特徴とする請求項5に記載の欠陥検出装置。
The setting means shifts two evaluation images obtained by shifting the evaluation object in the first direction and shifting the evaluation object in a second direction perpendicular to the first direction. Either of the two captured images obtained by imaging or the four captured images obtained by shifting the evaluation object in the first direction and / or the second direction. To set whether to generate the high resolution image with reference to
The defect detection apparatus according to claim 5.
上記検出手段は、上記高解像度化画像を構成する各画素のコントラストを算出するとともに、算出されたコントラストが予め定められた閾値を上回る画素の集合を欠陥像として特定するものである、
ことを特徴とする請求項1から6までの何れか1項に記載の欠陥検出装置。
The detection means calculates a contrast of each pixel constituting the high-resolution image, and identifies a set of pixels in which the calculated contrast exceeds a predetermined threshold as a defect image.
The defect detection apparatus according to claim 1, wherein the defect detection apparatus is a defect detection apparatus.
上記検出手段は、上記高解像度化画像を構成する各画素のコントラストを、当該画素の画素値と、上記評価対象物のパターンに応じて定められた参照画素であって、欠陥がなければ当該画素と同一の画素値を有すると推定される参照画素の平均画素値との差の絶対値をとることにより算出するものである、
ことを特徴とする請求項7に記載の欠陥検出装置。
The detection means is a reference pixel determined according to the pixel value of the pixel and the pattern of the evaluation object, with the contrast of each pixel constituting the high resolution image, and if there is no defect, the pixel Is calculated by taking the absolute value of the difference from the average pixel value of the reference pixels estimated to have the same pixel value as
The defect detection apparatus according to claim 7.
上記検出手段は、上記欠陥像を構成する各画素のコントラストを積算することによって、欠陥の強度を算出するものである、
ことを特徴とする請求項7または8に記載の欠陥検出装置。
The detection means calculates the strength of the defect by integrating the contrast of each pixel constituting the defect image.
The defect detection apparatus according to claim 7 or 8, wherein
撮像装置により評価対象物を撮像して得られた複数の撮像画像を参照し、該撮像装置の解像度より高解像度の高解像度化画像を生成する生成工程と、
上記生成工程にて生成された高解像度化画像を参照し、上記評価対象物における欠陥を検出する検出工程と、
検出すべき欠陥の形状を示す欠陥形状情報に基づいて、上記高解像度化画像を生成するために上記生成工程にて参照される上記撮像画像の枚数を設定する設定工程と、を含んでいることを特徴とする欠陥検出方法。
A generation step of referring to a plurality of captured images obtained by imaging the evaluation object by the imaging device and generating a high-resolution image having a higher resolution than the resolution of the imaging device;
With reference to the high resolution image generated in the generation step, a detection step of detecting a defect in the evaluation object,
A setting step for setting the number of the captured images referred to in the generation step in order to generate the resolution-enhanced image based on the defect shape information indicating the shape of the defect to be detected. A defect detection method characterized by the above.
コンピュータを請求項1から9に記載の欠陥検出装置として動作させるための欠陥検出プログラムであって、上記コンピュータを上記欠陥検出装置が備えている上記各手段として機能させるプログラム。   A defect detection program for causing a computer to operate as the defect detection apparatus according to claim 1, wherein the computer functions as each of the units included in the defect detection apparatus. 請求項11に記載の欠陥検出プログラムが記録されているコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the defect detection program according to claim 11 is recorded.
JP2008150536A 2008-06-09 2008-06-09 Defect detection apparatus, defect detection method, defect detection program, and recording medium Expired - Fee Related JP5242248B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008150536A JP5242248B2 (en) 2008-06-09 2008-06-09 Defect detection apparatus, defect detection method, defect detection program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008150536A JP5242248B2 (en) 2008-06-09 2008-06-09 Defect detection apparatus, defect detection method, defect detection program, and recording medium

Publications (2)

Publication Number Publication Date
JP2009294170A true JP2009294170A (en) 2009-12-17
JP5242248B2 JP5242248B2 (en) 2013-07-24

Family

ID=41542470

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008150536A Expired - Fee Related JP5242248B2 (en) 2008-06-09 2008-06-09 Defect detection apparatus, defect detection method, defect detection program, and recording medium

Country Status (1)

Country Link
JP (1) JP5242248B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012052968A (en) * 2010-09-02 2012-03-15 Sharp Corp Defect detection apparatus, defect detection method, defect detection program and recording medium
JP2013045429A (en) * 2011-08-26 2013-03-04 Toshiba Corp Vehicle detecting device
WO2013077282A1 (en) * 2011-11-25 2013-05-30 シャープ株式会社 Inspection method for liquid-crystal display panel
WO2013118306A1 (en) * 2012-02-10 2013-08-15 シャープ株式会社 Defect-detecting device, defect-detecting method, computer-readable recording medium for recording defect-detecting program
US8577500B2 (en) 2011-02-10 2013-11-05 Seiko Epson Corporation Robot apparatus, position detecting device, position detecting program, and position detecting method
CN106441810A (en) * 2016-12-16 2017-02-22 捷开通讯(深圳)有限公司 Device and method for detecting delay time of VR (virtual reality) equipment
JP2017223675A (en) * 2016-06-17 2017-12-21 株式会社ミツトヨ Super resolution bore imaging system
KR101955052B1 (en) 2011-06-07 2019-03-06 포톤 다이나믹스, 인코포레이티드 System and methods for defect detection using a whole raw image

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01180404A (en) * 1988-01-12 1989-07-18 Dainippon Screen Mfg Co Ltd Inspecting device for pattern defect
JPH02210211A (en) * 1989-02-10 1990-08-21 Nkk Corp Surface inspecting device
JPH0434348A (en) * 1990-05-31 1992-02-05 Kanzaki Paper Mfg Co Ltd Inspecting apparatus for sheet-shaped substance
JPH0865656A (en) * 1994-08-19 1996-03-08 Advantest Corp Picture quality inspecting device and its image synthesizing method
JPH11295230A (en) * 1998-04-13 1999-10-29 Ricoh Co Ltd Defect detection method
JP2000338000A (en) * 1999-03-23 2000-12-08 Hitachi Ltd Method for inspecting pixel defect of electronic display and manufacture of electronic display
JP2001074600A (en) * 1999-09-06 2001-03-23 Hitachi Ltd Method and device for evaluating orientation condition of liquid crystal substrate, device for monitoring manufacture of the liquid crystal substrate, and the lquid crystal substrate
JP2002005850A (en) * 2000-06-22 2002-01-09 Toshiba Corp Defect inspection method and apparatus therefor, and production method of mask
JP2005249415A (en) * 2004-03-01 2005-09-15 Seiko Epson Corp Stain defect detecting method and stain defect detector
JP2006250876A (en) * 2005-03-14 2006-09-21 Seiko Epson Corp Method, device, and program for inspecting optical panel, and recording medium with program stored
JP2006337152A (en) * 2005-06-01 2006-12-14 Sharp Corp Method and apparatus for forming teaching image, method and apparatus for forming image processing algorithm, image inspecting method, image inspecting device, program and recording medium
JP2008098968A (en) * 2006-10-12 2008-04-24 Yokogawa Electric Corp Defect inspection device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01180404A (en) * 1988-01-12 1989-07-18 Dainippon Screen Mfg Co Ltd Inspecting device for pattern defect
JPH02210211A (en) * 1989-02-10 1990-08-21 Nkk Corp Surface inspecting device
JPH0434348A (en) * 1990-05-31 1992-02-05 Kanzaki Paper Mfg Co Ltd Inspecting apparatus for sheet-shaped substance
JPH0865656A (en) * 1994-08-19 1996-03-08 Advantest Corp Picture quality inspecting device and its image synthesizing method
JPH11295230A (en) * 1998-04-13 1999-10-29 Ricoh Co Ltd Defect detection method
JP2000338000A (en) * 1999-03-23 2000-12-08 Hitachi Ltd Method for inspecting pixel defect of electronic display and manufacture of electronic display
JP2001074600A (en) * 1999-09-06 2001-03-23 Hitachi Ltd Method and device for evaluating orientation condition of liquid crystal substrate, device for monitoring manufacture of the liquid crystal substrate, and the lquid crystal substrate
JP2002005850A (en) * 2000-06-22 2002-01-09 Toshiba Corp Defect inspection method and apparatus therefor, and production method of mask
JP2005249415A (en) * 2004-03-01 2005-09-15 Seiko Epson Corp Stain defect detecting method and stain defect detector
JP2006250876A (en) * 2005-03-14 2006-09-21 Seiko Epson Corp Method, device, and program for inspecting optical panel, and recording medium with program stored
JP2006337152A (en) * 2005-06-01 2006-12-14 Sharp Corp Method and apparatus for forming teaching image, method and apparatus for forming image processing algorithm, image inspecting method, image inspecting device, program and recording medium
JP2008098968A (en) * 2006-10-12 2008-04-24 Yokogawa Electric Corp Defect inspection device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012052968A (en) * 2010-09-02 2012-03-15 Sharp Corp Defect detection apparatus, defect detection method, defect detection program and recording medium
US8577500B2 (en) 2011-02-10 2013-11-05 Seiko Epson Corporation Robot apparatus, position detecting device, position detecting program, and position detecting method
KR101955052B1 (en) 2011-06-07 2019-03-06 포톤 다이나믹스, 인코포레이티드 System and methods for defect detection using a whole raw image
JP2013045429A (en) * 2011-08-26 2013-03-04 Toshiba Corp Vehicle detecting device
WO2013077282A1 (en) * 2011-11-25 2013-05-30 シャープ株式会社 Inspection method for liquid-crystal display panel
WO2013118306A1 (en) * 2012-02-10 2013-08-15 シャープ株式会社 Defect-detecting device, defect-detecting method, computer-readable recording medium for recording defect-detecting program
JP2017223675A (en) * 2016-06-17 2017-12-21 株式会社ミツトヨ Super resolution bore imaging system
CN106441810A (en) * 2016-12-16 2017-02-22 捷开通讯(深圳)有限公司 Device and method for detecting delay time of VR (virtual reality) equipment

Also Published As

Publication number Publication date
JP5242248B2 (en) 2013-07-24

Similar Documents

Publication Publication Date Title
JP5242248B2 (en) Defect detection apparatus, defect detection method, defect detection program, and recording medium
JP7077395B2 (en) Multiplexed high dynamic range image
JP5096645B1 (en) Image generating apparatus, image generating system, method, and program
JP4416827B1 (en) Evaluation apparatus, calibration method, calibration program, and recording medium
JP2007315967A (en) Defect detection apparatus, defect detection method, defect detection program, and computer-readable recording medium stored with the progtram
JP2005331929A (en) Image analysis method, image analysis program, and pixel evaluation system therewith
JP2009206654A (en) Imaging apparatus
JP2013162347A (en) Image processor, image processing method, program, and device
JP4143660B2 (en) Image analysis method, image analysis apparatus, inspection apparatus, image analysis program, and computer-readable recording medium
KR101215666B1 (en) Method, system and computer program product for object color correction
JP2008011467A (en) Imaging method and apparatus for display panel
WO2013118306A1 (en) Defect-detecting device, defect-detecting method, computer-readable recording medium for recording defect-detecting program
JPWO2014013792A1 (en) Noise evaluation method, image processing apparatus, imaging apparatus, and program
JP6479178B2 (en) Image processing apparatus, imaging apparatus, microscope system, image processing method, and image processing program
JP5095263B2 (en) Image evaluation apparatus and image evaluation program
JP2007274504A (en) Digital camera
JP2008180602A (en) Inspection apparatus, testing method, inspection program, and computer readable medium
CN104106259B (en) Image processing equipment and image processing method
JP2003058880A (en) Method, device and program for processing cross filter and computer readable recording medium recording the same program
JP2012003469A (en) Image processing program, image processing device and imaging apparatus
JP2012052968A (en) Defect detection apparatus, defect detection method, defect detection program and recording medium
JP2007049301A (en) Image processing apparatus and method therefor
JP3914810B2 (en) Imaging apparatus, imaging method, and program thereof
WO2016139883A1 (en) Super-resolution processing method, super-resolution processing device, and super-resolution processing system
Langseth et al. An experimental evaluation of debayering algorithms on gpus for recording panoramic video in real-time

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130201

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: 20130305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130403

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

Free format text: PAYMENT UNTIL: 20160412

Year of fee payment: 3

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