JP2006292500A - Surface inspection method and surface inspection device - Google Patents

Surface inspection method and surface inspection device Download PDF

Info

Publication number
JP2006292500A
JP2006292500A JP2005111961A JP2005111961A JP2006292500A JP 2006292500 A JP2006292500 A JP 2006292500A JP 2005111961 A JP2005111961 A JP 2005111961A JP 2005111961 A JP2005111961 A JP 2005111961A JP 2006292500 A JP2006292500 A JP 2006292500A
Authority
JP
Japan
Prior art keywords
value
gradation level
gradation
surface inspection
inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005111961A
Other languages
Japanese (ja)
Inventor
Hidefumi Tsutsui
英史 筒井
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005111961A priority Critical patent/JP2006292500A/en
Publication of JP2006292500A publication Critical patent/JP2006292500A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a surface inspection method which simply detects abnormality even when brightness is different according to an inspection target in the surface inspection of the inspection target, and also to provide a surface inspection device. <P>SOLUTION: The number of pixels having brightness belonging to each of the gradation levels of predetermined gradation is calculated. The number of the pixels corresponding to each of the gradation levels is cumulated in the order from one of the maximum gradation level and minimum gradation level of the gradation to the other one of them to specify a cumulated gradation level obtaining a predetermined cumulated number. The representative gradation level corresponding to the representative value of the detected brightness is specified, and the difference between the cumulated gradation level and the representative gradation level is calculated. The characteristic values of all of inspection images are compared with each other to specify the minimum characteristic value and an evaluation target value is calculated on the basis of the difference between the characteristic value and the minimum characteristic value. A threshold value is compared with at least the maximum evaluation target value and, when the maximum evaluation target value is larger than the threshold value, the presence of abnormality is judged. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、表面検査方法及び表面検査装置に関する。   The present invention relates to a surface inspection method and a surface inspection apparatus.

検査対象物の表面をCCDカメラ等の撮像手段で撮像し、得られた画像データから表面に存在する欠陥を検出することが知られている。その際の画像データの処理方法として、2値化処理を適用した場合、撮像手段により得られた画像データを所定のしきい値で2値化することにより欠陥が抽出される。しきい値は、画像データの輝度ヒストグラムの形状から決定することができる。   It is known that the surface of an inspection object is imaged by an imaging means such as a CCD camera, and defects present on the surface are detected from the obtained image data. When binarization processing is applied as the image data processing method at that time, the defect is extracted by binarizing the image data obtained by the imaging means with a predetermined threshold value. The threshold value can be determined from the shape of the luminance histogram of the image data.

ところが、検査対象物によって輝度が異なる場合、2値化レベルをその都度変更する必要があり、また、最適な2値化レベルを取得するのが困難であった。   However, when the luminance varies depending on the inspection object, it is necessary to change the binarization level each time, and it is difficult to obtain an optimal binarization level.

本発明は、表面検査において、検査対象物によって輝度が異なる場合でも簡単に異常を検出できるようにした、表面検査方法及び表面検査装置を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide a surface inspection method and a surface inspection apparatus that can easily detect an abnormality even when the brightness varies depending on an inspection object in surface inspection.

(1)本発明に係る表面検査方法は、検査対象物の複数の検査領域をそれぞれ撮像して複数の検査画像を得ること、
それぞれの前記検査画像を構成する複数の画素の輝度を検出すること、
それぞれの前記検査画像ごとに、予め決められた階調の各階調レベルに属する輝度を有する前記画素の数を算出すること、
それぞれの前記検査画像ごとに、前記階調の最大階調レベル及び最小階調レベルの一方から他方への順に、各階調レベルに対応する前記画素の数を累積し、予め決められた累積数が得られる累積階調レベルを特定すること、
それぞれの前記検査画像ごとに、検出された前記輝度の代表値に対応する代表階調レベルを特定すること、
それぞれの前記検査画像ごとに、前記累積階調レベルと前記代表階調レベルの差を特性値として算出すること、
全ての前記検査画像の前記特性値を比較して最小特性値を特定すること、
それぞれの前記検査画像ごとに、前記特性値と前記最小特性値の差に基づいて評価対象値を算出すること、
しきい値と少なくとも最大の前記評価対象値を比較して、前記最大の評価対象値が前記しきい値よりも大きいときに、異常の存在を判定すること、
を含む。本発明によれば、検査対象物の検査画像ごとに評価対象値を算出し、このうち少なくとも最大の評価対象値をしきい値と比較して、その検査画像において輝度の大きく異なる領域の存否を検出し、異常の存在を判定する。ここで、評価対象値は、最小特性値(全検査画像の特性値のうち最小のもの)を使用して算出した値であって、全ての検査画像との関連において算出されるものである。したがって、輝度が異なる複数の検査対象物を連続的に検査しても、その都度、調整をしなくても簡単に異常の存在を判定することができる。
(2)この表面検査方法は、
前記代表階調レベルは、検出された前記輝度の平均値であってもよい。
(3)この表面検査方法は、
前記代表階調レベルは、検出された前記輝度の最頻値であってもよい。
(4)この表面検査方法は、
前記代表階調レベルは、前記予め決められた階調の中央値であってもよい。
(5)この表面検査方法は、
前記階調の最大階調レベルから最小階調レベルへの順に、各階調レベルに対応する前記画素の数を累積してもよい。
(6)この表面検査方法は、
前記階調の最小階調レベルから最大階調レベルへの順に、各階調レベルに対応する前記画素の数を累積してもよい。
(7)この表面検査方法は、
前記評価対象値を、前記特性値と前記最小特性値の差に係数を掛けて算出し、
前記係数は、それぞれの前記検査画像で検出された前記輝度の平均値を分母とし、前記予め決められた階調の中央値を分子とする分数に等しい値であってもよい。
(8)本発明に係る表面検査装置は、検査対象物の複数の検査領域を撮像するイメージセンサと、
撮像によって得られた複数の検査画像のそれぞれを構成する複数の画素の輝度データに基づいて、予め決められた階調の各階調レベルに属する輝度を有する前記画素の数を表わす輝度分布データを作成する輝度分布データ作成手段と、
それぞれの前記検査画像ごとに、前記度数分布データに基づいて、前記階調の最大階調レベル及び最小階調レベルの一方から他方への順に、各階調レベルに対応する前記画素の数を累積し、予め決められた累積数が得られる累積階調レベルを特定する累積階調レベル特定手段と、
それぞれの前記検査画像ごとに、前記度数分布データで前記輝度の代表値に対応する代表階調レベルと前記累積階調レベルとの差を特性値として算出する特性値算出手段と、
全ての前記検査画像の前記特性値を比較して最小特性値を特定する最小特性値特定手段と、
それぞれの前記検査画像ごとに、前記特性値と前記最小特性値の差に基づいて評価対象値を算出する評価対象値算出手段と、
を含み、
しきい値と少なくとも最大の前記評価対象値を比較して、前記最大の評価対象値が前記しきい値よりも大きいときに、異常の存在が判定される。本発明によれば、検査対象物の検査画像ごとに評価対象値を算出し、このうち少なくとも最大の評価対象値をしきい値と比較して、その検査画像において輝度の大きく異なる領域の存否を検出し、異常の存在を判定する。ここで、評価対象値は、最小特性値(全検査画像の特性値のうち最小のもの)を使用して算出した値であって、全ての検査画像との関連において算出されるものである。したがって、輝度が異なる複数の検査対象物を連続的に検査しても、その都度、調整をしなくても簡単に異常の存在を判定することができる。
(9)この表面検査装置は、
前記代表階調レベルは、検出された前記輝度の平均値であってもよい。
(10)この表面検査装置は、
前記代表階調レベルは、検出された前記輝度の最頻値であってもよい。
(11)この表面検査装置は、
前記代表階調レベルは、前記予め決められた階調の中央値であってもよい。
(12)この表面検査装置は、
前記階調の最大階調レベルから最小階調レベルへの順に、各階調レベルに対応する前記画素の数を累積してもよい。
(13)この表面検査装置は、
前記階調の最小階調レベルから最大階調レベルへの順に、各階調レベルに対応する前記画素の数を累積してもよい。
(14)この表面検査装置は、
前記評価対象値算出手段は、前記評価対象値を、前記特性値と前記最小特性値の差に係数を掛けて算出し、
前記係数は、それぞれの前記検査画像で検出された前記輝度の平均値を分母とし、前記予め決められた階調の中央値を分子とする分数に等しい値であってもよい。
(1) The surface inspection method according to the present invention obtains a plurality of inspection images by imaging a plurality of inspection regions of an inspection object,
Detecting the luminance of a plurality of pixels constituting each of the inspection images;
Calculating the number of pixels having a luminance belonging to each gradation level of a predetermined gradation for each of the inspection images;
For each of the inspection images, the number of the pixels corresponding to each gradation level is accumulated in order from one of the maximum gradation level and the minimum gradation level of the gradation to a predetermined cumulative number. Identifying the resulting cumulative tone level,
Specifying a representative gradation level corresponding to the detected representative value of brightness for each of the inspection images;
Calculating a difference between the accumulated gradation level and the representative gradation level as a characteristic value for each of the inspection images;
Comparing the characteristic values of all the inspection images to identify a minimum characteristic value;
Calculating an evaluation target value based on a difference between the characteristic value and the minimum characteristic value for each of the inspection images;
Comparing the threshold with at least the maximum value to be evaluated and determining the presence of an abnormality when the maximum value to be evaluated is greater than the threshold;
including. According to the present invention, the evaluation object value is calculated for each inspection image of the inspection object, and at least the largest evaluation object value among them is compared with the threshold value to determine whether or not there is a region with greatly different luminance in the inspection image. Detect and determine the presence of an abnormality. Here, the evaluation target value is a value calculated using the minimum characteristic value (the smallest one among the characteristic values of all inspection images), and is calculated in relation to all inspection images. Therefore, even if a plurality of inspection objects having different luminances are continuously inspected, the presence of an abnormality can be easily determined without adjustment each time.
(2) This surface inspection method is
The representative gradation level may be an average value of the detected luminance.
(3) This surface inspection method is
The representative gradation level may be a mode value of the detected luminance.
(4) This surface inspection method is
The representative gradation level may be a median value of the predetermined gradation.
(5) This surface inspection method is
The number of the pixels corresponding to each gradation level may be accumulated in order from the maximum gradation level to the minimum gradation level of the gradation.
(6) This surface inspection method is
The number of pixels corresponding to each gradation level may be accumulated in order from the minimum gradation level to the maximum gradation level of the gradation.
(7) This surface inspection method is
The evaluation target value is calculated by multiplying the difference between the characteristic value and the minimum characteristic value by a coefficient,
The coefficient may be a value equal to a fraction with an average value of the luminance detected in each inspection image as a denominator and a median value of the predetermined gradation as a numerator.
(8) A surface inspection apparatus according to the present invention includes an image sensor that images a plurality of inspection regions of an inspection object;
Based on luminance data of a plurality of pixels constituting each of a plurality of inspection images obtained by imaging, luminance distribution data representing the number of pixels having luminance belonging to each gradation level of a predetermined gradation is created. Brightness distribution data creation means for
For each inspection image, the number of the pixels corresponding to each gradation level is accumulated in order from one of the maximum gradation level and the minimum gradation level of the gradation based on the frequency distribution data. Cumulative gradation level specifying means for specifying a cumulative gradation level for obtaining a predetermined cumulative number;
A characteristic value calculating means for calculating a difference between a representative gradation level corresponding to a representative value of the luminance in the frequency distribution data and the cumulative gradation level as a characteristic value for each inspection image;
Minimum characteristic value specifying means for comparing the characteristic values of all the inspection images and specifying a minimum characteristic value;
Evaluation target value calculation means for calculating an evaluation target value based on the difference between the characteristic value and the minimum characteristic value for each of the inspection images;
Including
A threshold value is compared with at least the maximum evaluation target value, and when the maximum evaluation target value is larger than the threshold value, the presence of an abnormality is determined. According to the present invention, the evaluation object value is calculated for each inspection image of the inspection object, and at least the largest evaluation object value among them is compared with the threshold value to determine whether or not there is a region with greatly different luminance in the inspection image. Detect and determine the presence of an abnormality. Here, the evaluation target value is a value calculated using the minimum characteristic value (the smallest one among the characteristic values of all inspection images), and is calculated in relation to all inspection images. Therefore, even if a plurality of inspection objects having different luminances are continuously inspected, the presence of an abnormality can be easily determined without adjustment each time.
(9) This surface inspection device
The representative gradation level may be an average value of the detected luminance.
(10) This surface inspection device
The representative gradation level may be a mode value of the detected luminance.
(11) This surface inspection device
The representative gradation level may be a median value of the predetermined gradation.
(12) This surface inspection device
The number of the pixels corresponding to each gradation level may be accumulated in order from the maximum gradation level to the minimum gradation level of the gradation.
(13) This surface inspection device
The number of pixels corresponding to each gradation level may be accumulated in order from the minimum gradation level to the maximum gradation level of the gradation.
(14) This surface inspection device
The evaluation object value calculation means calculates the evaluation object value by multiplying a difference between the characteristic value and the minimum characteristic value by a coefficient,
The coefficient may be a value equal to a fraction with an average value of the luminance detected in each inspection image as a denominator and a median value of the predetermined gradation as a numerator.

以下に、本発明の実施の形態について図面を参照して説明する。図1及び図2は、本実施の形態に係る表面検査方法を説明するフローチャートである。図3は、本実施の形態に係る表面検査装置を説明する概略図である。図4は、本実施の形態に係る検査画像を説明する図である。   Embodiments of the present invention will be described below with reference to the drawings. 1 and 2 are flowcharts for explaining a surface inspection method according to the present embodiment. FIG. 3 is a schematic diagram for explaining the surface inspection apparatus according to the present embodiment. FIG. 4 is a diagram for explaining an inspection image according to the present embodiment.

本実施の形態に係る表面検査方法は、検査対象物によって輝度が異なる場合でも簡単に異常を検出する方法である。まず、検査対象物2(図3参照)の複数の検査領域をそれぞれ撮像して複数の検査画像を得る(ステップS100)。例えば、検査画像4,6,8,10(図4参照)を得る。検査画像10は、白っぽく見える特異領域12が存在する。   The surface inspection method according to the present embodiment is a method for easily detecting an abnormality even when the luminance varies depending on the inspection object. First, a plurality of inspection images of the inspection object 2 (see FIG. 3) are captured to obtain a plurality of inspection images (step S100). For example, inspection images 4, 6, 8, and 10 (see FIG. 4) are obtained. The inspection image 10 has a unique region 12 that looks whitish.

次に、それぞれの検査画像4,6,8,10を構成する複数の画素の輝度を検出する(ステップS110)。各画素の輝度を、8ビットの値(0(黒)〜255(白)の256階調の値)で検出してもよい。   Next, the brightness | luminance of the some pixel which comprises each test | inspection image 4, 6, 8, 10 is detected (step S110). The luminance of each pixel may be detected by an 8-bit value (256 gradation values from 0 (black) to 255 (white)).

次に、ステップS110で検出した輝度のデータを使用して、それぞれの検査画像4,6,8,10ごとに、予め決められた階調(例えば256階調)の各階調レベルに属する画素の数を算出する(ステップS120)。この算出を行うために、度数分布データを作成してもよい。例えば、検査画像4,6,8,10について、階調ヒストグラムを作成する。図5,6,7及び8は、それぞれ、図4の検査画像4,6,8,10の階調ヒストグラムを示している。階調ヒストグラムで、横軸は階調を表し、縦軸は各階調レベルに対応する画素の数を表わしている。   Next, using the luminance data detected in step S110, for each of the inspection images 4, 6, 8, and 10, the pixels belonging to each gradation level of a predetermined gradation (for example, 256 gradations) are detected. The number is calculated (step S120). In order to perform this calculation, frequency distribution data may be created. For example, a gradation histogram is created for inspection images 4, 6, 8, and 10. 5, 6, 7 and 8 show the gradation histograms of the inspection images 4, 6, 8 and 10 in FIG. 4, respectively. In the gradation histogram, the horizontal axis represents gradation, and the vertical axis represents the number of pixels corresponding to each gradation level.

次に、それぞれの検査画像4,6,8,10ごとに、階調の最大階調レベルImax及び最小階調レベルIminの一方から他方への順に、ステップS120で算出した各階調レベルに対応する画素の数を累積し、予め決められた累積数が得られる累積階調レベルを特定する(ステップS130)。 Next, for each of the inspection images 4, 6, 8, and 10, each gradation level calculated in step S120 is set in order from one of the maximum gradation level I max and the minimum gradation level I min to the other. The number of corresponding pixels is accumulated, and the accumulated gradation level at which a predetermined accumulated number is obtained is specified (step S130).

予め決められた累積数は、検出する異常の大きさを表わす画素数であってもよい。最大階調レベルImaxから最小階調レベルIminへの順に、各階調レベルに対応する画素の数を累積し、図5〜図8に示すように、予め決められた累積数が得られる累積階調レベルI〜Iを特定する。あるいは、最小階調レベルIminから最大階調レベルImaxへの順に、各階調レベルに対応する画素の数を累積し、図5〜図8に示すように、予め決められた累積数が得られる累積階調レベルI〜Iを特定してもよい。 The predetermined cumulative number may be the number of pixels representing the magnitude of the abnormality to be detected. The number of pixels corresponding to each gradation level is accumulated in the order from the maximum gradation level I max to the minimum gradation level I min , and an accumulation in which a predetermined accumulation number is obtained as shown in FIGS. The gradation levels I 1 to I 4 are specified. Alternatively, in order from the minimum gradation level I min to a maximum gray level I max, by accumulating the number of pixels corresponding to each gray level, as shown in FIGS. 5 to 8, obtained cumulative number which is determined in advance The accumulated gradation levels I 5 to I 8 may be specified.

例えば、図4に示すように、検査画像10に白っぽく見える特異領域12が存在する場合、その特異領域12のみが他の部分よりも輝度が大きい。したがって、特異領域12は、図8に示すように、度数分布データに基づいて作成した階調ヒストグラムでは、グラフの右側である階調レベルの大きい方に分布している。ここで、最大階調レベルImaxから最小階調レベルImin側へ順に、各階調レベルに対応する画素の数を累積し、予め決められた累積数が得られる階調レベルを探せば、累積階調レベルIを特定することができる。 For example, as shown in FIG. 4, when there is a unique region 12 that looks whitish in the inspection image 10, only the unique region 12 has a higher luminance than the other portions. Therefore, as shown in FIG. 8, the singular region 12 is distributed in the higher gradation level on the right side of the graph in the gradation histogram created based on the frequency distribution data. Here, in order from the maximum gradation level I max to the minimum gradation level I min , the number of pixels corresponding to each gradation level is accumulated, and if a gradation level at which a predetermined accumulation number is obtained is found, accumulation is performed. it is possible to identify the gray level I 4.

また、それぞれの検査画像4,6,8,10ごとに、図5〜図8に示すように、ステップS110で検出された輝度の代表値に対応する代表階調レベルI(例えば予め決められた階調の中央値)を特定する(ステップS140)。予め決められた階調の中央値(例えば256階調のとき、I=128)は、それぞれの検査画像4,6,8,10に共通する値である。代表階調レベルIは、それぞれの検査画像4,6,8,10ごとの基準になる値であってもよい。例えば、代表階調レベルIは、検出された輝度の平均値、あるいは、検出された輝度の最頻値である。 In addition, as shown in FIGS. 5 to 8, for each inspection image 4, 6, 8, and 10, a representative gradation level I 0 (for example, predetermined) corresponding to the representative value of the luminance detected in step S110. (The median value of the gradations) specified (step S140). A median value of predetermined gradations (for example, I 0 = 128 at 256 gradations) is a value common to the respective inspection images 4, 6, 8, and 10. The representative gradation level I 0 may be a value serving as a reference for each of the inspection images 4, 6, 8, and 10. For example, the representative gradation level I 0 is an average value of detected luminance or a mode value of detected luminance.

次に、それぞれの検査画像4,6,8,10ごとに、ステップS130で特定した累積階調レベルI〜I(又はI〜I)とステップS140で特定した代表階調レベルIの差を特性値W〜W(又はW〜W)として算出する(ステップS150)。 Next, for each of the inspection images 4, 6, 8, and 10, the cumulative gradation levels I 1 to I 4 (or I 5 to I 8 ) specified in step S130 and the representative gradation level I specified in step S140. A difference of 0 is calculated as characteristic values W 1 to W 4 (or W 5 to W 8 ) (step S150).

例えば、累積階調レベルI(t=1,2,…,8)と代表階調レベルIを用いて、以下のように特性値W(t=1,2,…,8)を算出する。
=|I−I
For example, using the accumulated gradation level I t (t = 1, 2,..., 8) and the representative gradation level I 0 , the characteristic value W t (t = 1, 2,..., 8) is obtained as follows. calculate.
W t = | I t −I 0 |

特性値W〜Wは、それぞれの検査画像4,6,8,10ごとに、図5〜図8に示すように、階調ヒストグラム上の各累積階調レベルI〜Iと代表階調レベルIの間隔の大きさを表わしている。 The characteristic values W 1 to W 8 are representative of the accumulated gradation levels I 1 to I 8 on the gradation histogram for each of the inspection images 4, 6, 8, and 10, as shown in FIGS. it represents the magnitude of the spacing of the gradation level I 0.

次に、ステップS150で算出した全ての検査画像4,6,8,10の特性値W〜W(又はW〜W)を比較して最小特性値W(又はW00)を特定する(ステップS160)。最小特性値Wは、それぞれの検査画像4,6,8,10の特性値W〜Wのうち、最小の値を表わしている。最小特性値W00は、それぞれの検査画像4,6,8,10の特性値W〜Wのうち、最小の値を表わしている。 Next, the characteristic values W 1 to W 4 (or W 5 to W 8 ) of all the inspection images 4, 6, 8, and 10 calculated in step S150 are compared to obtain the minimum characteristic value W 0 (or W 00 ). Specify (step S160). The minimum characteristic value W 0 represents the minimum value among the characteristic values W 1 to W 4 of the respective inspection images 4 , 6, 8, and 10. The minimum characteristic value W 00 represents the minimum value among the characteristic values W 5 to W 8 of the respective inspection images 4, 6, 8 , and 10.

次に、それぞれの検査画像4,6,8,10ごとに、ステップS150で算出した特性値W〜W(又はW〜W)とステップS160で特定した最小特性値W(又はW00)の差に基づいて評価対象値H〜H(又はH〜H)を算出する(ステップS170)。評価対象値H〜H(又はH〜H)は、輝度の分布状態が、最小特性値W(又はW00)から、どの程度、最大階調レベルImax(又は最小階調レベルImin)に偏っているかを表す値である。 Next, for each of the inspection images 4, 6, 8, and 10, the characteristic values W 1 to W 4 (or W 5 to W 8 ) calculated in step S150 and the minimum characteristic value W 0 specified in step S160 (or Evaluation target values H 1 to H 4 (or H 5 to H 8 ) are calculated based on the difference of (W 00 ) (step S170). The evaluation target values H 1 to H 4 (or H 5 to H 8 ) indicate the maximum gradation level I max (or minimum gradation) from the minimum characteristic value W 0 (or W 00 ) of the luminance distribution state. It is a value indicating whether it is biased to level I min ).

例えば、特性値W(t=1,2,3,4)と最小特性値Wを用いて、以下のように評価対象値H(t=1,2,3,4)を算出する。
=W−W
For example, using the characteristic value W t (t = 1, 2, 3, 4) and the minimum characteristic value W 0 , the evaluation target value H t (t = 1, 2, 3, 4) is calculated as follows. .
H t = W t −W 0

あるいは、特性値W(t=5,6,7,8)と最小特性値W00を用いて、以下のように評価対象値H(t=5,6,7,8)を算出する。
=W−W00
Alternatively, using the characteristic value W t (t = 5, 6, 7, 8) and the minimum characteristic value W 00 , the evaluation target value H t (t = 5, 6, 7, 8) is calculated as follows. .
H t = W t −W 00

一般に、画像を構成する画素の輝度は、輝度の平均値が高い(明るい)場合には広い範囲に分布し、輝度の平均値が低い(暗い)場合には狭い範囲にのみ分布する。したがって、上述した式で得られた評価対象値H〜H(又はH〜H)は、それぞれの検査画像4,6,8,10の輝度の平均値の差に起因する誤差を含む場合がある。そこで、この誤差をなくすために、特性値W〜Wと最小特性値Wの差に係数kを掛けて、評価対象値H′〜H′を算出してもよい。その際、係数kは、それぞれの検査画像4,6,8,10で検出された輝度の平均値a〜aを分母とし、予め決められた階調の中央値s(例えば256階調のとき、s=128)を分子とする分数に等しい値である。その場合、分子の値が一定であるため、分母の値(輝度の平均値a〜a)が大きいほど、係数kの値は小さくなる。すなわち、係数kは、検査画像4,6,8,10の明るさに反比例するように、特性値と最小特性値の差を調整するためのものである。 In general, the luminance of pixels constituting an image is distributed over a wide range when the average luminance value is high (bright), and is distributed only within a narrow range when the average luminance value is low (dark). Therefore, the evaluation target values H 1 to H 4 (or H 5 to H 8 ) obtained by the above-described formulas show errors due to the difference in the average values of the luminance values of the respective inspection images 4, 6, 8, and 10. May include. In order to eliminate this error, the evaluation target values H ′ 1 to H ′ 4 may be calculated by multiplying the difference between the characteristic values W 1 to W 4 and the minimum characteristic value W 0 by a coefficient k. At that time, the coefficient k is a median value s (for example, 256 gradations) of a predetermined gradation with the average values a 1 to a 4 of the luminance detected in the respective inspection images 4, 6, 8, and 10 as denominators. In this case, the value is equal to a fraction with s = 128) as the numerator. In that case, since the value of the numerator is constant, the value of the coefficient k becomes smaller as the value of the denominator (average values of luminance a 1 to a 4 ) becomes larger. That is, the coefficient k is for adjusting the difference between the characteristic value and the minimum characteristic value so as to be inversely proportional to the brightness of the inspection images 4, 6, 8, and 10.

こうして、特性値W(t=1,2,3,4)と最小特性値Wと係数k(k=s/a(t=1,2,3,4))を用いて、以下のように評価対象値H′(t=1,2,3,4)を算出する。
H′=(W−W)×k
Thus, the characteristic values W t (t = 1,2,3,4) and the minimum characteristic value W 0 and the coefficient k (k = s / a t (t = 1,2,3,4)) with the following The evaluation target value H ′ t (t = 1, 2, 3, 4) is calculated as follows.
H ′ t = (W t −W 0 ) × k

または、特性値W〜Wと最小特性値W00の差に上述した係数kを掛けて、評価対象値H′〜H′を算出してもよい。すなわち、特性値W(t=5,6,7,8)と最小特性値W00と係数kを用いて、以下のように評価対象値H′(t=5,6,7,8)を算出する。
H′=(W−W00)×k
Alternatively, the evaluation target values H ′ 5 to H ′ 8 may be calculated by multiplying the difference between the characteristic values W 5 to W 8 and the minimum characteristic value W 00 by the coefficient k described above. That is, using the characteristic value W t (t = 5, 6, 7, 8), the minimum characteristic value W 00 and the coefficient k, the evaluation target value H ′ t (t = 5, 6, 7, 8) is as follows. ) Is calculated.
H ′ t = (W t −W 00 ) × k

次に、ステップS170で算出した評価対象値の少なくとも最大の評価対象値としきい値を比較する。(ステップS180)。   Next, the threshold value is compared with at least the maximum evaluation target value of the evaluation target value calculated in step S170. (Step S180).

少なくとも最大の評価対象値がしきい値よりも大きい場合、「Yes」としてステップS190に進む。この状態は、検査画像4,6,8,10の少なくとも1つに異常の箇所が存在していることを示している。   If at least the maximum evaluation target value is larger than the threshold value, the process proceeds to step S190 as “Yes”. This state indicates that an abnormal location exists in at least one of the inspection images 4, 6, 8, and 10.

少なくとも最大の評価対象値がしきい値以下の場合、「No」としてステップS200に進む。この状態は、それぞれの検査画像4,6,8,10に異常の箇所が存在していないことを示している。   If at least the maximum evaluation target value is less than or equal to the threshold value, the process proceeds to step S200 as “No”. This state indicates that there is no abnormal portion in each of the inspection images 4, 6, 8, and 10.

しきい値は、イメージセンサ14に入射する光の絞りの開閉などの条件によって変化するため、一概に言えないが、この実施例では、予め異常の存在するサンプルを用いて検出対象にあったしきい値が設定されている。   Since the threshold value changes depending on conditions such as opening / closing of a diaphragm of light incident on the image sensor 14, it cannot be generally stated. The threshold is set.

ステップS180で「Yes」と判断した場合、検査対象物2に異常の箇所が存在する(ステップS190)。「異常の存在」の判定は、画像モニタ38にその旨が表示されてもよい。ステップS180で「No」と判断した場合、検査対象物2に異常の箇所は存在しない(ステップS200)。「異常の存在なし」の判定は、画像モニタ38にその旨が表示されてもよい。   When it is determined as “Yes” in step S180, there is an abnormal portion in the inspection object 2 (step S190). The determination of “abnormality presence” may be displayed on the image monitor 38. When it is determined as “No” in Step S180, there is no abnormality in the inspection object 2 (Step S200). The determination of “there is no abnormality” may be displayed on the image monitor 38.

本実施の形態によれば、検査対象物2の検査画像4,6,8,10ごとに評価対象値を算出し、このうち少なくとも最大の評価対象値をしきい値と比較して、その検査画像4,6,8,10において輝度の大きく異なる領域の存否を検出し、異常の存在を判定する。ここで、評価対象値は、最小特性値(全検査画像の特性値のうち最小のもの)を使用して算出した値であって、全ての検査画像との関連において算出されるものである。したがって、輝度が異なる複数の検査対象物を連続的に検査しても、その都度、調整をしなくても簡単に異常の存在を判定することができる。   According to the present embodiment, the evaluation object value is calculated for each of the inspection images 4, 6, 8, and 10 of the inspection object 2, and at least the maximum evaluation object value is compared with the threshold value, and the inspection is performed. Presence / absence of a region with greatly different luminance is detected in the images 4, 6, 8, and 10, and the presence of an abnormality is determined. Here, the evaluation target value is a value calculated using the minimum characteristic value (the smallest one among the characteristic values of all inspection images), and is calculated in relation to all inspection images. Therefore, even if a plurality of inspection objects having different luminances are continuously inspected, the presence of an abnormality can be easily determined without adjustment each time.

次に、本実施の形態に係る表面検査方法により検査対象物を検査する表面検査装置を説明する。   Next, a surface inspection apparatus that inspects an inspection object by the surface inspection method according to the present embodiment will be described.

本実施の形態に係る表面検査装置は、検査対象物によって輝度が異なる場合でも簡単に異常を検出する装置である。   The surface inspection apparatus according to the present embodiment is an apparatus that easily detects an abnormality even when the luminance varies depending on the inspection object.

本実施の形態に係る表面検査装置は、図3に示すように、イメージセンサ(例えば、CCDカメラ)14と、演算処理装置16とを有する。   As shown in FIG. 3, the surface inspection apparatus according to the present embodiment includes an image sensor (for example, a CCD camera) 14 and an arithmetic processing unit 16.

イメージセンサ14は、検査対象物2の複数の検査領域をそれぞれ撮像する。イメージセンサ14は、ノイズ光の入力を最小限に抑えるように設置位置や角度が調整できるようになっていてもよい。イメージセンサ14から得られた検査画像データは、演算処理装置16へ送られる。例えば、図4に示すような、検査画像4,6,8,10が検査画像データとして演算処理装置16へ送られる。   The image sensor 14 images each of a plurality of inspection areas of the inspection object 2. The image sensor 14 may be configured such that its installation position and angle can be adjusted so as to minimize the input of noise light. Inspection image data obtained from the image sensor 14 is sent to the arithmetic processing unit 16. For example, inspection images 4, 6, 8, and 10 as shown in FIG. 4 are sent to the arithmetic processing unit 16 as inspection image data.

演算処理装置16は、図3に示すように、演算部(中央処理装置)18を備えている。演算処理装置16は、イメージセンサ14から得られた検査画像データを演算部18で以下に説明する各手段を用いて異常の存在を抽出又は、抽出及び判定する装置である。   As shown in FIG. 3, the arithmetic processing unit 16 includes a calculation unit (central processing unit) 18. The arithmetic processing device 16 is a device that extracts, or extracts and determines the presence of an abnormality using each means described below by the arithmetic unit 18 from the inspection image data obtained from the image sensor 14.

演算部18は、度数分布データ作成手段20として、撮像によって得られた複数の検査画像4,6,8,10のそれぞれを構成する複数の画素の輝度データに基づいて、度数分布データを作成する。度数分布データは、予め決められた階調(例えば256階調)の各階調レベルに属する輝度を有する画素の数を表わしている。詳しくは、表面検査方法の欄で説明した通りである。   The computing unit 18 creates frequency distribution data as frequency distribution data creation means 20 based on the luminance data of a plurality of pixels constituting each of the plurality of inspection images 4, 6, 8, and 10 obtained by imaging. . The frequency distribution data represents the number of pixels having luminance belonging to each gradation level of a predetermined gradation (for example, 256 gradations). In detail, it is as having demonstrated in the column of the surface inspection method.

演算部18は、累積階調レベル特定手段22として、それぞれの検査画像4,6,8,10ごとに、度数分布データ作成手段20で作成した度数分布データに基づいて、階調の最大階調レベルImax及び最小階調レベルIminの一方から他方への順に、各階調レベルに対応する画素の数を累積する。そして、予め決められた累積数が得られる累積階調レベルを特定する。詳しくは、表面検査方法の欄で説明した通りである。 The calculation unit 18 uses the frequency distribution data created by the frequency distribution data creation unit 20 for each of the inspection images 4, 6, 8, and 10 as the cumulative gray level specification unit 22, and determines the maximum gray level of the gray level. The number of pixels corresponding to each gradation level is accumulated in order from one of the level I max and the minimum gradation level I min to the other. Then, the cumulative gradation level that provides a predetermined cumulative number is specified. In detail, it is as having demonstrated in the column of the surface inspection method.

なお、表面検査方法の欄で説明した例は、検査画像10に白っぽく見える特異領域12が存在する場合であるが、逆に、黒っぽく見える特異領域が存在する場合は、その特異領域のみが他の部分よりも輝度が小さい。したがって、特異領域は、図9に示すように、度数分布データに基づいて作成した階調ヒストグラムでは、グラフの左側である階調レベルの小さい方に分布している。ここで、最小階調レベルIminから最大階調レベルImax側へ順に、各階調レベルに対応する画素の数を累積し、予め決められた累積数が得られる階調レベルを探せば、累積階調レベルIを特定することができる。 Note that the example described in the column of the surface inspection method is a case where the singular region 12 that looks whitish exists in the inspection image 10, but conversely, when there is a singular region that looks blackish, only that singular region is another The brightness is smaller than the part. Therefore, as shown in FIG. 9, in the gradation histogram created based on the frequency distribution data, the singular region is distributed on the smaller gradation level on the left side of the graph. Here, in order from the minimum gradation level I min to the maximum gradation level I max , the number of pixels corresponding to each gradation level is accumulated, and if a gradation level at which a predetermined accumulation number is obtained is found, accumulation is performed. The gradation level I 9 can be specified.

また、検査画像において白っぽく見える特異領域と黒っぽく見える特異領域とが共に含まれる場合は、図10に示すように、最大階調レベルImaxから最小階調レベルImin側にかけて輝度の頻度を累積する。また、最小階調レベルIminから最大階調レベルImax側にかけて輝度の頻度を累積する。それぞれの累積値が予め決められた累積数が得られる階調レベルを探せば、累積階調レベルI10,I11を特定することができる。 Further, in the case where both a singular region that looks whitish and a singular region that looks black in the inspection image are included, as shown in FIG. 10, the luminance frequency is accumulated from the maximum gradation level I max to the minimum gradation level I min side. . Also, the luminance frequency is accumulated from the minimum gradation level I min to the maximum gradation level I max side. The accumulated gradation levels I 10 and I 11 can be specified by searching for gradation levels at which the accumulated values of the respective accumulated values can be obtained in advance.

予め決められた累積数は、検出したい異常の大きさを表わす画素数であってもよい。この累積数の決定方法としては、オペレータが検出したい異常の大きさが存在するサンプル品の検査画像を後述する画像モニタ38などで見て、そこに含まれる異常の大きさ(画素数)を概算する方法がある。例えば、図示しないが、まず、その画面上において異常を特定する。そして、特定した異常の大きさ(画素数)を計算する。画素数の計算はオペレータによる目算でもよく、或いは異常を線で囲んで特定し、その囲んだ領域の面積を自動計算させるようにしてもよい。   The predetermined cumulative number may be the number of pixels representing the magnitude of the abnormality to be detected. As a method of determining the cumulative number, an inspection image of a sample product having an abnormality size that the operator wants to detect is viewed on an image monitor 38, which will be described later, and the size of the abnormality (number of pixels) included therein is estimated. There is a way to do it. For example, although not shown, first, an abnormality is specified on the screen. Then, the size (number of pixels) of the specified abnormality is calculated. The calculation of the number of pixels may be calculated by an operator, or an abnormality may be specified by surrounding it with a line, and the area of the surrounded region may be automatically calculated.

演算部18は、特性値算出手段24として、輝度の代表値に対応する代表階調レベルIと累積階調レベル特定手段22で特定した累積階調レベルI〜I(又はI〜I)との差を特性値W〜W(又はW〜W)として算出する。このとき、それぞれの検査画像4,6,8,10ごとに、図5〜図8に示すように、度数分布データ作成手段20で作成した度数分布データを用いる。詳しくは、表面検査方法の欄で説明した通りである。例えば、図8に示すように、特性値Wが大きい場合、累積階調レベルIは、代表階調レベルIから離れ、グラフの右側に位置している。これは、図4に示す特異領域12の輝度分布がグラフの右側に位置している。 Calculation unit 18, a characteristic value calculating means 24, the cumulative gray level I 1 ~I 4 identified as the representative gradation level I 0 corresponding to the representative value of the luminance at the cumulative gradation level specifying means 22 (or I 5 ~ The difference from I 8 ) is calculated as characteristic values W 1 to W 4 (or W 5 to W 8 ). At this time, as shown in FIGS. 5 to 8, the frequency distribution data created by the frequency distribution data creating means 20 is used for each of the inspection images 4, 6, 8, and 10. In detail, it is as having demonstrated in the column of the surface inspection method. For example, as shown in FIG. 8, when the characteristic value W 4 is large, the accumulated gradation level I 4 is away from the representative gradation level I 0 and is located on the right side of the graph. This is because the luminance distribution of the singular region 12 shown in FIG. 4 is located on the right side of the graph.

演算部18は、最小特性値特定手段26として、特性値算出手段24で算出した全ての検査画像4,6,8,10の特性値W〜W(又はW〜W)を比較して最小特性値W(又はW00)を特定する。詳しくは、表面検査方法の欄で説明した通りである。 The calculation unit 18 compares the characteristic values W 1 to W 4 (or W 5 to W 8 ) of all the inspection images 4, 6, 8, and 10 calculated by the characteristic value calculating unit 24 as the minimum characteristic value specifying unit 26. Then, the minimum characteristic value W 0 (or W 00 ) is specified. In detail, it is as having demonstrated in the column of the surface inspection method.

演算部18は、評価対象値算出手段28として、それぞれの検査画像4,6,8,10ごとに、特性値算出手段24で算出した特性値W〜W(又はW〜W)と最小特性値特定手段26で特定した最小特性値W(又はW00)の差に基づいて評価対象値H〜H(又はH〜H)を算出する。詳しくは、表面検査方法の欄で説明した通りである。 The calculation unit 18 serves as the evaluation target value calculation unit 28 for each of the inspection images 4, 6, 8, and 10, and the characteristic values W 1 to W 4 (or W 5 to W 8 ) calculated by the characteristic value calculation unit 24. And evaluation target values H 1 to H 4 (or H 5 to H 8 ) are calculated based on the difference between the minimum characteristic value W 0 (or W 00 ) specified by the minimum characteristic value specifying unit 26. In detail, it is as having demonstrated in the column of the surface inspection method.

演算部18は、判定手段30として、評価対象値算出手段28で算出した評価対象値の少なくとも最大の評価対象値としきい値を比較してもよい。   The calculating unit 18 may compare the threshold value with at least the maximum evaluation target value of the evaluation target value calculated by the evaluation target value calculation unit 28 as the determination unit 30.

少なくとも最大の評価対象値がしきい値よりも大きいときに、異常の存在が判定される。異常の存在の判定は、画像モニタ38にその旨が表示されてもよい。少なくとも最大の評価対象値がしきい値以下のときに、異常の存在なしが判定される。異常の存在なしの判定は、画像モニタ38にその旨が表示されてもよい。   When at least the maximum evaluation target value is larger than the threshold value, the presence of an abnormality is determined. The determination of the presence of abnormality may be displayed on the image monitor 38. When at least the maximum evaluation target value is equal to or less than the threshold value, it is determined that there is no abnormality. The determination that there is no abnormality may be displayed on the image monitor 38.

演算処理装置16は、図3に示すように、さらに、記憶部32を備えていてもよい。演算処理装置16の記憶部32は、データ読み取り可能なRAM,ROM、磁気ディスクなどの記憶媒体(記録媒体)を有しており、この記憶媒体は、磁気的、光学的記録媒体、もしくは半導体メモリ等で構成されている。記憶部32は、予め決められた階調、予め決められた累積数、しきい値及び検査対象物2の複数の検査領域を撮像する際に使用する検査領域の位置及び撮像順などを示す位置情報などの基礎情報を記憶してもよい。   As shown in FIG. 3, the arithmetic processing device 16 may further include a storage unit 32. The storage unit 32 of the arithmetic processing unit 16 has a storage medium (recording medium) such as a RAM, a ROM, and a magnetic disk that can read data. This storage medium is a magnetic or optical recording medium or a semiconductor memory. Etc. The storage unit 32 is a position that indicates a predetermined gradation, a predetermined cumulative number, a threshold value, a position of an inspection area used when imaging a plurality of inspection areas of the inspection object 2, an imaging order, and the like. Basic information such as information may be stored.

本実施の形態に係る表面検査装置は、さらに、ライト34と、ステージ36と、画像モニタ38と、入力装置40とを有していてもよい。   The surface inspection apparatus according to the present embodiment may further include a light 34, a stage 36, an image monitor 38, and an input device 40.

ライト34は、検査対象物2の表面を照射するための光源であり、表面を一様に照らすことができるような角度で検査対象物2に向けて配置されていてもよい。ライト34は、複数配置されていてもよい。また、照度は、任意に調整できるようになっていてもよい。ライト34は、イメージセンサ14に対するノイズ光の入力を最小限に抑えるように設置位置や角度が調整できるようになっていてもよい。ライト34は、例えば、リング照明、照明をイメージセンサ14のレンズの光軸と平行に当て垂直に返ってくる反射で像を作る同軸落射照明などで構成されている。   The light 34 is a light source for irradiating the surface of the inspection object 2 and may be arranged toward the inspection object 2 at an angle that can uniformly illuminate the surface. A plurality of lights 34 may be arranged. The illuminance may be adjusted arbitrarily. The light 34 may be configured such that its installation position and angle can be adjusted so as to minimize the input of noise light to the image sensor 14. The light 34 is composed of, for example, ring illumination, coaxial epi-illumination that forms an image by reflecting light that is parallel to the optical axis of the lens of the image sensor 14 and returning vertically.

ステージ36は、XY軸を含む座標系のXY軸平面に、検査対象物2を配置してもよい。ステージ36は、図示しないキャリアによって、検査対象物2の面に平行に移動してもよい。図示しないキャリアは、図示しない駆動制御部に接続されていてもよい。図示しない駆動制御部は、演算処理装置16からの指示により、図示しないキャリアを用いて、検査対象物2を配置するステージ36のXY座標方向の駆動を制御してもよい。   The stage 36 may arrange the inspection object 2 on the XY axis plane of the coordinate system including the XY axes. The stage 36 may be moved parallel to the surface of the inspection object 2 by a carrier (not shown). The carrier (not shown) may be connected to a drive control unit (not shown). A drive control unit (not shown) may control the drive in the XY coordinate directions of the stage 36 on which the inspection object 2 is arranged using a carrier (not shown) according to an instruction from the arithmetic processing unit 16.

画像モニタ38は、操作画面、データ入力画面、イメージセンサ14で得られた検査画像4,6,8,10などを表示してもよい。画像モニタ38は、例えば、CRT(Cathode-Ray Tube)、液晶ディスプレイなどで構成されている。   The image monitor 38 may display an operation screen, a data input screen, inspection images 4, 6, 8, 10 obtained by the image sensor 14. The image monitor 38 is constituted by, for example, a CRT (Cathode-Ray Tube), a liquid crystal display, or the like.

入力装置40は、演算処理装置16に対して必要な情報などを外部から入力してもよい。入力装置40は、例えば、文字や数字を入力するためのキーボード、画像モニタの画面上に表示されたカーソルで種々の操作をするマウス、ネットワーク経由でホストコンピュータなどと接続することが可能である。   The input device 40 may input necessary information to the arithmetic processing device 16 from the outside. The input device 40 can be connected to, for example, a keyboard for inputting characters and numbers, a mouse that performs various operations with a cursor displayed on the screen of the image monitor, and a host computer via a network.

以上説明したように、本実施の形態によれば、検査対象物2の検査画像4,6,8,10ごとに評価対象値を算出し、このうち少なくとも最大の評価対象値をしきい値と比較して、その検査画像4,6,8,10において輝度の大きく異なる領域の存否を検出し、異常の存在を判定する。ここで、評価対象値は、最小特性値(全検査画像の特性値のうち最小のもの)を使用して算出した値であって、全ての検査画像との関連において算出されるものである。したがって、輝度が異なる複数の検査対象物を連続的に検査しても、その都度、調整をしなくても簡単に異常の存在を判定することができる。   As described above, according to the present embodiment, the evaluation target value is calculated for each of the inspection images 4, 6, 8, and 10 of the inspection target 2, and at least the maximum evaluation target value is set as the threshold value. In comparison, in the inspection images 4, 6, 8, and 10, the presence / absence of areas with greatly different luminances is detected to determine the presence of an abnormality. Here, the evaluation target value is a value calculated using the minimum characteristic value (the smallest one among the characteristic values of all inspection images), and is calculated in relation to all inspection images. Therefore, even if a plurality of inspection objects having different luminances are continuously inspected, the presence of an abnormality can be easily determined without adjustment each time.

本発明は、上述した実施の形態に限定されるものではなく、種々の変形が可能である。例えば、本発明は、実施の形態で説明した構成と実質的に同一の構成(例えば、機能、方法及び結果が同一の構成、あるいは目的及び結果が同一の構成)を含む。また、本発明は、実施の形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施の形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施の形態で説明した構成に公知技術を付加した構成を含む。さらに、本発明は、実施の形態で説明した技術的事項のいずれかを限定的に除外した内容を含む。あるいは、本発明は、上述した実施の形態から公知技術を限定的に除外した内容を含む。   The present invention is not limited to the above-described embodiments, and various modifications can be made. For example, the present invention includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations that have the same functions, methods, and results, or configurations that have the same purposes and results). In addition, the invention includes a configuration in which a non-essential part of the configuration described in the embodiment is replaced. In addition, the present invention includes a configuration that achieves the same effect as the configuration described in the embodiment or a configuration that can achieve the same object. Further, the invention includes a configuration in which a known technique is added to the configuration described in the embodiment. Furthermore, the present invention includes contents that exclude any of the technical matters described in the embodiments in a limited manner. Or this invention includes the content which excluded the well-known technique limitedly from embodiment mentioned above.

本発明の実施の形態に係る表面検査方法を説明するフローチャートである。It is a flowchart explaining the surface inspection method which concerns on embodiment of this invention. 本発明の実施の形態に係る表面検査方法を説明するフローチャートである。It is a flowchart explaining the surface inspection method which concerns on embodiment of this invention. 本発明の実施の形態に係る表面検査装置を説明する概略図である。It is the schematic explaining the surface inspection apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る検査対象物の検査画像を示す図である。It is a figure which shows the test | inspection image of the test target object concerning embodiment of this invention. 本発明の実施の形態に係る階調ヒストグラムを示すグラフである。It is a graph which shows the gradation histogram which concerns on embodiment of this invention. 本発明の実施の形態に係る階調ヒストグラムを示すグラフである。It is a graph which shows the gradation histogram which concerns on embodiment of this invention. 本発明の実施の形態に係る階調ヒストグラムを示すグラフである。It is a graph which shows the gradation histogram which concerns on embodiment of this invention. 本発明の実施の形態に係る階調ヒストグラムを示すグラフである。It is a graph which shows the gradation histogram which concerns on embodiment of this invention. 本発明の実施の形態に係る階調ヒストグラムを示すグラフである。It is a graph which shows the gradation histogram which concerns on embodiment of this invention. 本発明の実施の形態に係る階調ヒストグラムを示すグラフである。It is a graph which shows the gradation histogram which concerns on embodiment of this invention.

符号の説明Explanation of symbols

2…検査対象物 4,6,8,10…検査画像 12…特異領域 14…イメージセンサ 16…演算処理装置 18…演算部(中央処理装置) 20…度数分布データ作成手段 22…累積階調レベル特定手段 24…特性値算出手段 26…最小特性値特定手段 28…評価対象値算出手段 30…判定手段 32…記憶部 34…ライト 36…ステージ 38…画像モニタ 40…入力装置 2 ... Inspection object 4, 6, 8, 10 ... Inspection image 12 ... Singular region 14 ... Image sensor 16 ... Arithmetic processor 18 ... Arithmetic unit (central processing unit) 20 ... Frequency distribution data creation means 22 ... Cumulative gradation level Specification means 24 ... Characteristic value calculation means 26 ... Minimum characteristic value specification means 28 ... Evaluation target value calculation means 30 ... Determination means 32 ... Storage section 34 ... Light 36 ... Stage 38 ... Image monitor 40 ... Input device

Claims (14)

検査対象物の複数の検査領域をそれぞれ撮像して複数の検査画像を得ること、
それぞれの前記検査画像を構成する複数の画素の輝度を検出すること、
それぞれの前記検査画像ごとに、予め決められた階調の各階調レベルに属する輝度を有する前記画素の数を算出すること、
それぞれの前記検査画像ごとに、前記階調の最大階調レベル及び最小階調レベルの一方から他方への順に、各階調レベルに対応する前記画素の数を累積し、予め決められた累積数が得られる累積階調レベルを特定すること、
それぞれの前記検査画像ごとに、検出された前記輝度の代表値に対応する代表階調レベルを特定すること、
それぞれの前記検査画像ごとに、前記累積階調レベルと前記代表階調レベルの差を特性値として算出すること、
全ての前記検査画像の前記特性値を比較して最小特性値を特定すること、
それぞれの前記検査画像ごとに、前記特性値と前記最小特性値の差に基づいて評価対象値を算出すること、
しきい値と少なくとも最大の前記評価対象値を比較して、前記最大の評価対象値が前記しきい値よりも大きいときに、異常の存在を判定すること、
を含む表面検査方法。
Obtaining a plurality of inspection images by respectively imaging a plurality of inspection regions of the inspection object;
Detecting the luminance of a plurality of pixels constituting each of the inspection images;
Calculating the number of pixels having a luminance belonging to each gradation level of a predetermined gradation for each of the inspection images;
For each of the inspection images, the number of the pixels corresponding to each gradation level is accumulated in order from one of the maximum gradation level and the minimum gradation level of the gradation to a predetermined cumulative number. Identifying the resulting cumulative tone level,
Specifying a representative gradation level corresponding to the detected representative value of brightness for each of the inspection images;
Calculating a difference between the accumulated gradation level and the representative gradation level as a characteristic value for each of the inspection images;
Comparing the characteristic values of all the inspection images to identify a minimum characteristic value;
Calculating an evaluation target value based on a difference between the characteristic value and the minimum characteristic value for each of the inspection images;
Comparing the threshold with at least the maximum value to be evaluated and determining the presence of an abnormality when the maximum value to be evaluated is greater than the threshold;
Including surface inspection method.
請求項1に記載された表面検査方法において、
前記代表階調レベルは、検出された前記輝度の平均値である表面検査方法。
The surface inspection method according to claim 1,
The surface inspection method, wherein the representative gradation level is an average value of the detected luminance.
請求項1に記載された表面検査方法において、
前記代表階調レベルは、検出された前記輝度の最頻値である表面検査方法。
The surface inspection method according to claim 1,
The surface inspection method, wherein the representative gradation level is a mode value of the detected luminance.
請求項1に記載された表面検査方法において、
前記代表階調レベルは、前記予め決められた階調の中央値である表面検査方法。
The surface inspection method according to claim 1,
The surface inspection method, wherein the representative gradation level is a median value of the predetermined gradation.
請求項1から4のいずれか1項に記載された表面検査方法において、
前記階調の最大階調レベルから最小階調レベルへの順に、各階調レベルに対応する前記画素の数を累積する表面検査方法。
In the surface inspection method described in any one of Claim 1 to 4,
A surface inspection method for accumulating the number of pixels corresponding to each gradation level in order from the maximum gradation level to the minimum gradation level of the gradation.
請求項1から4のいずれか1項に記載された表面検査方法において、
前記階調の最小階調レベルから最大階調レベルへの順に、各階調レベルに対応する前記画素の数を累積する表面検査方法。
In the surface inspection method described in any one of Claim 1 to 4,
A surface inspection method for accumulating the number of pixels corresponding to each gradation level in order from the minimum gradation level to the maximum gradation level of the gradation.
請求項1から6のいずれか1項に記載された表面検査方法において、
前記評価対象値を、前記特性値と前記最小特性値の差に係数を掛けて算出し、
前記係数は、それぞれの前記検査画像で検出された前記輝度の平均値を分母とし、前記予め決められた階調の中央値を分子とする分数に等しい値である表面検査方法。
The surface inspection method according to any one of claims 1 to 6,
The evaluation target value is calculated by multiplying the difference between the characteristic value and the minimum characteristic value by a coefficient,
The surface inspection method, wherein the coefficient is a value equal to a fraction with an average value of the luminance detected in each inspection image as a denominator and a median value of the predetermined gradation as a numerator.
検査対象物の複数の検査領域を撮像するイメージセンサと、
撮像によって得られた複数の検査画像のそれぞれを構成する複数の画素の輝度データに基づいて、予め決められた階調の各階調レベルに属する輝度を有する前記画素の数を表わす度数分布データを作成する度数分布データ作成手段と、
それぞれの前記検査画像ごとに、前記度数分布データに基づいて、前記階調の最大階調レベル及び最小階調レベルの一方から他方への順に、各階調レベルに対応する前記画素の数を累積し、予め決められた累積数が得られる累積階調レベルを特定する累積階調レベル特定手段と、
それぞれの前記検査画像ごとに、前記度数分布データで前記輝度の代表値に対応する代表階調レベルと前記累積階調レベルとの差を特性値として算出する特性値算出手段と、
全ての前記検査画像の前記特性値を比較して最小特性値を特定する最小特性値特定手段と、
それぞれの前記検査画像ごとに、前記特性値と前記最小特性値の差に基づいて評価対象値を算出する評価対象値算出手段と、
を含み、
しきい値と少なくとも最大の前記評価対象値を比較して、前記最大の評価対象値が前記しきい値よりも大きいときに、異常の存在が判定される表面検査装置。
An image sensor for imaging a plurality of inspection areas of the inspection object;
Based on the luminance data of a plurality of pixels constituting each of a plurality of inspection images obtained by imaging, frequency distribution data representing the number of pixels having luminance belonging to each gradation level of a predetermined gradation is created. A frequency distribution data creation means,
For each inspection image, the number of the pixels corresponding to each gradation level is accumulated in order from one of the maximum gradation level and the minimum gradation level of the gradation based on the frequency distribution data. Cumulative gradation level specifying means for specifying a cumulative gradation level for obtaining a predetermined cumulative number;
A characteristic value calculating means for calculating a difference between a representative gradation level corresponding to a representative value of the luminance in the frequency distribution data and the cumulative gradation level as a characteristic value for each inspection image;
Minimum characteristic value specifying means for comparing the characteristic values of all the inspection images and specifying a minimum characteristic value;
Evaluation target value calculation means for calculating an evaluation target value based on the difference between the characteristic value and the minimum characteristic value for each of the inspection images;
Including
A surface inspection apparatus that compares a threshold value with at least the maximum evaluation target value and determines the presence of an abnormality when the maximum evaluation target value is greater than the threshold value.
請求項8に記載された表面検査装置において、
前記代表階調レベルは、検出された前記輝度の平均値である表面検査装置。
In the surface inspection apparatus according to claim 8,
The surface inspection apparatus, wherein the representative gradation level is an average value of the detected luminance.
請求項8に記載された表面検査装置において、
前記代表階調レベルは、検出された前記輝度の最頻値である表面検査装置。
In the surface inspection apparatus according to claim 8,
The surface inspection apparatus, wherein the representative gradation level is a detected mode value of the luminance.
請求項8に記載された表面検査装置において、
前記代表階調レベルは、前記予め決められた階調の中央値である表面検査装置。
In the surface inspection apparatus according to claim 8,
The surface inspection apparatus, wherein the representative gradation level is a median value of the predetermined gradation.
請求項8から11のいずれか1項に記載された表面検査装置において、
前記階調の最大階調レベルから最小階調レベルへの順に、各階調レベルに対応する前記画素の数を累積する表面検査装置。
In the surface inspection apparatus according to any one of claims 8 to 11,
A surface inspection apparatus that accumulates the number of pixels corresponding to each gradation level in order from the maximum gradation level to the minimum gradation level of the gradation.
請求項8から11のいずれか1項に記載された表面検査装置において、
前記階調の最小階調レベルから最大階調レベルへの順に、各階調レベルに対応する前記画素の数を累積する表面検査装置。
In the surface inspection apparatus according to any one of claims 8 to 11,
A surface inspection apparatus that accumulates the number of pixels corresponding to each gradation level in order from the minimum gradation level to the maximum gradation level of the gradation.
請求項8から13のいずれか1項に記載された表面検査装置において、
前記評価対象値算出手段は、前記評価対象値を、前記特性値と前記最小特性値の差に係数を掛けて算出し、
前記係数は、それぞれの前記検査画像で検出された前記輝度の平均値を分母とし、前記予め決められた階調の中央値を分子とする分数に等しい値である表面検査装置。
In the surface inspection apparatus according to any one of claims 8 to 13,
The evaluation object value calculation means calculates the evaluation object value by multiplying a difference between the characteristic value and the minimum characteristic value by a coefficient,
The surface inspection apparatus, wherein the coefficient is a value equal to a fraction having an average value of the luminance detected in each inspection image as a denominator and a median value of the predetermined gradation as a numerator.
JP2005111961A 2005-04-08 2005-04-08 Surface inspection method and surface inspection device Withdrawn JP2006292500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005111961A JP2006292500A (en) 2005-04-08 2005-04-08 Surface inspection method and surface inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005111961A JP2006292500A (en) 2005-04-08 2005-04-08 Surface inspection method and surface inspection device

Publications (1)

Publication Number Publication Date
JP2006292500A true JP2006292500A (en) 2006-10-26

Family

ID=37413230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005111961A Withdrawn JP2006292500A (en) 2005-04-08 2005-04-08 Surface inspection method and surface inspection device

Country Status (1)

Country Link
JP (1) JP2006292500A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008268055A (en) * 2007-04-23 2008-11-06 Olympus Corp Foreign material inspecting device, and foreign material inspection method
KR20170002278A (en) * 2015-06-29 2017-01-06 미쓰보시 다이야몬도 고교 가부시키가이샤 Breaking apparatus
WO2018101287A1 (en) * 2016-11-30 2018-06-07 Jfeスチール株式会社 Powder ratio measuring device and powder ratio measuring system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008268055A (en) * 2007-04-23 2008-11-06 Olympus Corp Foreign material inspecting device, and foreign material inspection method
KR20170002278A (en) * 2015-06-29 2017-01-06 미쓰보시 다이야몬도 고교 가부시키가이샤 Breaking apparatus
JP2017013267A (en) * 2015-06-29 2017-01-19 三星ダイヤモンド工業株式会社 Break device
TWI684576B (en) * 2015-06-29 2020-02-11 日商三星鑽石工業股份有限公司 Breaking device
KR102438004B1 (en) 2015-06-29 2022-08-29 미쓰보시 다이야몬도 고교 가부시키가이샤 Breaking apparatus
WO2018101287A1 (en) * 2016-11-30 2018-06-07 Jfeスチール株式会社 Powder ratio measuring device and powder ratio measuring system
JPWO2018101287A1 (en) * 2016-11-30 2018-11-29 Jfeスチール株式会社 Powder rate measuring device and powder rate measuring system
CN109844498A (en) * 2016-11-30 2019-06-04 杰富意钢铁株式会社 Powder ratio measurement device and powder ratio measure system
US11403747B2 (en) 2016-11-30 2022-08-02 Jfe Steel Corporation Fine ratio measuring device and fine ratio measuring system

Similar Documents

Publication Publication Date Title
JP6745173B2 (en) Image inspection apparatus, image inspection method, image inspection program, computer-readable recording medium, and recorded device
TWI621849B (en) Computer-implemented method, non-transitory computer-readable medium, and system for detecting defects on a wafer
JP5228490B2 (en) Defect inspection equipment that performs defect inspection by image analysis
CN111970506B (en) Lens dirt detection method, device and equipment
TW202029071A (en) System and method for determining type and size of defects on blank reticles
KR102084535B1 (en) Defect inspection device, defect inspection method
TW200301817A (en) A surface conduction examination method and a subtrate examination device
JP4060558B2 (en) Defect inspection method and apparatus
JP2006010392A (en) Through hole measuring system, method, and through hole measuring program
KR20200014438A (en) Apparatus and method for optimizing examination outside of the subject
CN108022219B (en) Two-dimensional image gray level correction method
US20080249728A1 (en) Method for detecting defects on the back side of a semiconductor wafer
JP2009198290A (en) Flaw detection method and detector
JP2001118899A (en) Inspection apparatus for foreign object and pattern defect
JP2006292500A (en) Surface inspection method and surface inspection device
JP6647903B2 (en) Image inspection device, image inspection program, computer-readable recording medium, and recorded device
JP2006292615A (en) Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium
KR20210087100A (en) Defect classification by fitting an optical signal to a point spread function
JP2004361085A (en) Visual examination device
JP2010014548A (en) Method for analysis of electron beam diffraction image and transmissive electron microscope
CN111062887B (en) Image definition judging method based on improved Retinex algorithm
JP2005140655A (en) Method of detecting stain flaw, and stain flaw detector
JP2007104296A (en) Method, apparatus, and program for measuring resolution
KR102586394B1 (en) Cell-to-cell comparison method
JP2018146553A (en) Slide surface width detection device and method for trolley wire

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080701