JP2006292615A - Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium - Google Patents

Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium Download PDF

Info

Publication number
JP2006292615A
JP2006292615A JP2005115738A JP2005115738A JP2006292615A JP 2006292615 A JP2006292615 A JP 2006292615A JP 2005115738 A JP2005115738 A JP 2005115738A JP 2005115738 A JP2005115738 A JP 2005115738A JP 2006292615 A JP2006292615 A JP 2006292615A
Authority
JP
Japan
Prior art keywords
defect
data
accuracy
learning
calculating
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
JP2005115738A
Other languages
Japanese (ja)
Inventor
Shuhei Yamamoto
修平 山本
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 JP2005115738A priority Critical patent/JP2006292615A/en
Publication of JP2006292615A publication Critical patent/JP2006292615A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a visual inspection apparatus for detecting defects, according to the accuracy requested. <P>SOLUTION: Processing, executed by the visual examination apparatus, comprises a step (S402) for receiving the input of requested precision and images; steps (S404, S406) for extracting defect candidates and feature amount; a step (S408) for displaying the amount of feature; a step (S410) for receiving the input of labeling information; a step (S412) for executing the estimated processings of population distribution; a step (S414) for calculating the degree of overlapping among populations; a step (S416) for reading defect information; a step (S418) for calculating the precision; a step for starting learning, when an inputted image does not satisfy the requested precision (YES in S420); and a step (S422) for calculating learning information when the image does not satisfy the requested precision (NO in S420). <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は被検査物の外観を検査する技術に関する。より特定的には、本発明は、被検査物の撮影により取得された画像データに基づいて外観を検査する外観検査装置、外観検査方法、コンピュータを外観検査装置として機能させるためのプログラム、およびそのプログラムを格納したコンピュータ読取可能な記録媒体に関する。   The present invention relates to a technique for inspecting the appearance of an object to be inspected. More specifically, the present invention relates to an appearance inspection device that inspects an appearance based on image data acquired by photographing an object to be inspected, an appearance inspection method, a program for causing a computer to function as an appearance inspection device, and its The present invention relates to a computer-readable recording medium storing a program.

従来、外観検査装置には、検査対象の外観を撮像した画像データに対して、最適化手法により生成されたアルゴリズムを用いて画像処理することによって、欠陥を自動検出するものがある。たとえば、一例として、半導体や液晶の基板などの外観を検査する装置は、当該基板の表面に生じた割れ、かけ、異物付着、ムラなどの欠陥の画像を学習画像として用いる。   2. Description of the Related Art Conventionally, some appearance inspection apparatuses automatically detect defects by performing image processing on image data obtained by imaging the appearance of an inspection target using an algorithm generated by an optimization method. For example, an apparatus for inspecting the appearance of a semiconductor or liquid crystal substrate, for example, uses an image of a defect such as a crack, a hook, foreign matter adhesion, or unevenness generated on the surface of the substrate as a learning image.

このような学習には繰り返し計算が必要であり、多次元の特徴量を多数必要とする。そのため、膨大な計算時間が必要とされる。そこで、学習データの選択、修正方法などが開発されてきた。   Such learning requires repetitive calculations and requires a large number of multidimensional feature quantities. Therefore, enormous calculation time is required. Therefore, learning data selection and correction methods have been developed.

たとえば、特開2003−76976号公報(特許文献1)は、判定精度の高いニューラルネットワークを利用したパターンマッチング方法を開示している。この方法は、複数の学習用入力パターンから、異なる次元に属する特徴量相互の相関を計算するステップと、相関で決まる特徴的な距離(ここではマハラノビス距離)が一定となる位置に境界パターンを作成するステップと、当該境界パターンを学習用パターンとするステップとを含む。上記の方法によると、多次元データを学習する場合に、データ相互間の相関が計算され、相関で決まる特徴的な距離が一定の位置に境界データが作成され、より正確な境界データが作成される。これにより、ニューラルネットワークを利用した、判定精度の高いパターンマッチング方法が提供される。   For example, Japanese Patent Laying-Open No. 2003-76976 (Patent Document 1) discloses a pattern matching method using a neural network with high determination accuracy. This method calculates the correlation between feature quantities belonging to different dimensions from multiple learning input patterns, and creates a boundary pattern at a position where the characteristic distance determined by the correlation (here, Mahalanobis distance) is constant. And a step of using the boundary pattern as a learning pattern. According to the above method, when learning multidimensional data, the correlation between the data is calculated, boundary data is created at a position where the characteristic distance determined by the correlation is constant, and more accurate boundary data is created. The Thereby, a pattern matching method with high determination accuracy using a neural network is provided.

また、特開平11−344450号公報(特許文献2)は、欠陥の画像信号から欠陥の種類を分類できるようにした学習機能を備えた欠陥分類装置を開示している。この装置は、予め複数の教示用欠陥を撮像して複数の教示用欠陥画像を検出する欠陥画像検出部と、当該欠陥画像検出部で検出された複数の教示用欠陥画像に基づいて複数の教示用欠陥の各々を分類してカテゴリを付与する計算部と、当該欠陥画像検出部で検出された複数の教示用欠陥画像と当該計算部で複数の教示用欠陥に対して分類されたカテゴリとを表示する表示部とを備え、複数の教示用欠陥と欠陥の種類に対応するカテゴリとの対応関係を示す教示用データを取得して記憶部に格納する学習部と、被検査物に対して検査されて見付かった欠陥について撮像して被検査対象の欠陥画像を検出する欠陥画像検出部と、当該欠陥画像検出部で検出された被検査対象の欠陥画像を元に、当該学習部の記憶部に格納された教示用データから当該欠陥の種類を分類する計算部とを備えた分類部とを含む。
特開2003−76976号公報 特開平11−344450号公報
Japanese Patent Application Laid-Open No. 11-344450 (Patent Document 2) discloses a defect classification apparatus having a learning function that can classify a defect type from a defect image signal. The apparatus includes a defect image detecting unit that images a plurality of teaching defects in advance and detects a plurality of teaching defect images, and a plurality of teachings based on the plurality of teaching defect images detected by the defect image detecting unit. A calculation unit that classifies each of the defects for use and assigns a category; a plurality of defect images for teaching detected by the defect image detection unit; and a category that is classified for the plurality of teaching defects by the calculation unit. A display unit for displaying, a learning unit for acquiring teaching data indicating a correspondence relationship between a plurality of teaching defects and a category corresponding to the type of the defect, and storing the data in the storage unit; and inspecting the inspection object Based on the defect image detection unit that detects the defect image detected by the defect image detection unit by imaging the detected defect and detects the defect image of the inspection target, the storage unit of the learning unit From the stored teaching data And a classification unit that includes a calculation unit that classifies the type of defect.
JP 2003-76976 A JP 11-344450 A

上記の特許文献に開示された技術は、いずれも、精度の良いパターンマッチング方法、及び検査装置のために、学習用データの作成、またはオペレータへの提示を行うものである。   All of the techniques disclosed in the above-mentioned patent documents create learning data or present it to an operator for an accurate pattern matching method and inspection apparatus.

ここで、特許文献1に開示された方法は、異なる次元の特徴量相互の相関関係から求めた距離を元に学習データを作成している。具体的には、学習データの特徴量の平均からのマハラノビス距離が一定の集合を集めたものを学習データとすることが特徴である。したがって、学習データの特徴量レベルについては決定することができるが、その数については決定することが困難であるという問題があった。   Here, the method disclosed in Patent Document 1 creates learning data based on the distance obtained from the correlation between feature quantities of different dimensions. Specifically, the learning data is a collection of a set having a constant Mahalanobis distance from the average of the feature quantities of the learning data. Therefore, although the feature amount level of the learning data can be determined, there is a problem that it is difficult to determine the number thereof.

また、特許文献2に開示された装置は、オペレータによりカテゴリを付与された学習用欠陥特徴量に対して、特徴量空間におけるカテゴリ間の判別関数で表される分類パラメータを用いて、学習データの有意性を診断し、その結果をオペレータに提示することにより、その学習データをオペレータが修正、除外するものである。したがって、欠陥の統計的な分布を考慮した精度の良いパターンマッチング方法、及び検査装置のために必要な学習データの特徴量レベル、数については決定することが困難であるという問題があった。   Further, the apparatus disclosed in Patent Document 2 uses a classification parameter represented by a discriminant function between categories in a feature amount space for a learning defect feature amount given a category by an operator. By diagnosing significance and presenting the result to the operator, the operator corrects or excludes the learning data. Therefore, there is a problem that it is difficult to determine the pattern matching method with high accuracy in consideration of the statistical distribution of defects and the feature amount level and number of learning data necessary for the inspection apparatus.

本発明は上述の問題点を解決するためになされたものであって、その目的は、画像中の真・疑似欠陥の特徴量を統計的に評価し、最適化手法によって生成されたアルゴリズムを用いたパターン認識方法および、これらを用いた検査装置において、学習時前に予めおおよその学習評価精度を見積もり、使用者により要求される精度となるかどうかを学習前に判断し、その結果に応じて学習データの追加を可能とすることにより、当該要求される精度に応じた信頼性の高い外観検査装置を提供することである。   The present invention has been made to solve the above-mentioned problems, and its purpose is to statistically evaluate the feature quantity of true / pseudo defects in an image and to use an algorithm generated by an optimization method. In the pattern recognition method and the inspection apparatus using these, the approximate learning evaluation accuracy is estimated in advance before learning, whether or not the accuracy required by the user is reached is determined before learning, and according to the result It is to provide a highly reliable appearance inspection apparatus according to the required accuracy by enabling addition of learning data.

本発明の他の目的は、学習時前に予めおおよその学習評価精度を見積もり、使用者により要求される精度となるかどうかを学習前に判断し、その結果に応じて学習データの追加を可能とすることにより、当該要求される精度に応じた信頼性の高い外観検査装置として、コンピュータを機能させるためのプログラムを提供することである。   Another object of the present invention is to estimate the approximate learning evaluation accuracy in advance before learning, determine whether the accuracy required by the user is reached before learning, and add learning data according to the result Thus, it is to provide a program for causing a computer to function as a highly reliable appearance inspection apparatus according to the required accuracy.

上記の課題を解決するために、この発明のある局面に従うと、外観検査装置は、外部からデータの入力を受ける入力手段を備える。データは、検査物の撮像により取得される画像データと、検査対象物の画像の特徴として画像データに基づいて表わされる特徴量を評価するために要求される要求精度とを含む。外観検査装置は、入力された画像データに対して予め定められた画像処理を実行することにより、検査対象物における欠陥の候補を特定するための欠陥候補データを抽出する抽出手段と、欠陥候補データに基づいて、欠陥の候補の特徴量を算出する特徴量算出手段と、特徴量を表示する表示手段とを備える。入力手段はさらに、特徴量に応じて欠陥の候補を分類するためのラベル付けが行なわれたデータの入力を受ける。ラベル付けが行なわれたデータは、欠陥の候補を真の欠陥と擬似的な欠陥のいずれかとして分類するためのデータを含み、擬似的な欠陥は、真の欠陥でない欠陥の候補が欠陥として分類されるものである。外観検査装置は、ラベル付け入力に基づいて、欠陥の候補の分布の重なり度合いを算出する算出手段と、擬似的な欠陥の個数と、真の欠陥の個数と、分布の重なり度合いとに基づいて、特徴量の分布を評価するための精度を算出する精度算出手段と、要求精度と算出された精度とに基づいて、画像データの学習を実行する否かを判断する判断手段と、判断手段による判断の結果を出力する出力手段とを備える。   In order to solve the above-described problems, according to one aspect of the present invention, the appearance inspection apparatus includes input means for receiving data input from the outside. The data includes image data acquired by imaging the inspection object, and required accuracy required for evaluating a feature amount expressed based on the image data as a feature of the image of the inspection object. The appearance inspection apparatus performs predetermined image processing on the input image data, thereby extracting defect candidate data for specifying defect candidates in the inspection object, and defect candidate data The feature amount calculating means for calculating the feature amount of the defect candidate and the display means for displaying the feature amount are provided. The input means further receives input of data that has been labeled to classify defect candidates according to the feature amount. The labeled data includes data for classifying defect candidates as either true or pseudo defects, and pseudo defects are classified as non-true defect candidates as defects. It is what is done. The appearance inspection apparatus is based on the calculation means for calculating the degree of overlap of defect candidate distribution based on the labeling input, the number of pseudo defects, the number of true defects, and the degree of overlap of distribution. An accuracy calculating means for calculating the accuracy for evaluating the distribution of the feature quantity, a determining means for determining whether or not to perform image data learning based on the required accuracy and the calculated accuracy, and a determining means Output means for outputting the result of the determination.

好ましくは、算出手段は、ラベル付け入力に基づいて、ラベル付けされた欠陥から母集団の分布を推定する推定手段と、母集団の分布に基づいて重なり度合いを算出する重複度算出手段とを含む。   Preferably, the calculation means includes an estimation means for estimating the population distribution from the labeled defects based on the labeling input, and a multiplicity calculation means for calculating the degree of overlap based on the population distribution. .

好ましくは、判断手段は、算出された精度と要求精度とを比較する比較手段と、比較の結果に基づいて、学習の開始と、学習に必要な情報の算出とのいずれかを選択する選択手段とを含む。   Preferably, the determining means is a comparing means for comparing the calculated accuracy with the required accuracy, and a selecting means for selecting either the start of learning or the calculation of information necessary for learning based on the comparison result. Including.

好ましくは、判断手段は、算出された精度が要求精度を満足する場合に、学習を開始すると決定する。外観検査装置は、判断手段が学習を開始しないと判断した場合に、要求精度と算出された精度とに基づいて、学習のために必要な情報を算出する学習情報算出手段をさらに備える。出力手段は、算出された学習のために必要な情報を出力する情報出力手段を含む。   Preferably, the determination unit determines to start learning when the calculated accuracy satisfies the required accuracy. The appearance inspection apparatus further includes a learning information calculation unit that calculates information necessary for learning based on the required accuracy and the calculated accuracy when the determination unit determines not to start learning. The output means includes information output means for outputting information necessary for the calculated learning.

好ましくは、学習情報算出手段は、要求精度を満たすために必要な特徴量の範囲を示すための通知情報を表示する画像データを算出する生成手段を含む。情報出力手段は、画像データに基づいて通知情報を表示する表示手段を含む。   Preferably, the learning information calculation unit includes a generation unit that calculates image data for displaying notification information for indicating a range of a feature amount necessary to satisfy the required accuracy. The information output means includes display means for displaying notification information based on the image data.

好ましくは、外観検査装置は、欠陥の候補から、予め定められた基準に基づいて真の欠陥および擬似的な欠陥を抽出する欠陥抽出手段をさらに備える。生成手段は、欠陥抽出手段による抽出処理の結果に基づいて、欠陥抽出手段により抽出された真の欠陥の数および擬似的な欠陥の数を表示するための表示データを生成する。表示手段は、表示データに基づいて、欠陥抽出手段により抽出された真の欠陥の数および擬似的な欠陥の数を表示する。   Preferably, the appearance inspection apparatus further includes defect extraction means for extracting a true defect and a pseudo defect from a defect candidate based on a predetermined criterion. The generation unit generates display data for displaying the number of true defects and the number of pseudo defects extracted by the defect extraction unit based on the result of the extraction process by the defect extraction unit. The display means displays the number of true defects and the number of pseudo defects extracted by the defect extraction means based on the display data.

好ましくは、生成手段は、ラベル付けが行なわれたデータに基づいて、予め定められた第1の評価基準と、第1の評価基準と異なる、予め定められた第2の評価基準との関係を示すレシーバオペレーティング特性を表わす曲線を描画するためのデータを算出するデータ算出手段と、曲線を描画するためのデータに基づいて、予め定められた精度を下回る範囲を算出する範囲算出手段と、特徴量の空間に、算出された範囲を反映する反映手段と、特徴量の空間に反映された範囲と、画像データから抽出される欠陥に基づいて特定される欠陥の情報とに基づいて、必要とされる特徴量の範囲を示すための範囲データを生成する画像データ生成手段とを含む。表示手段は、範囲データに基づいて必要とされる特徴量の範囲を表示する。   Preferably, the generation unit has a relationship between a predetermined first evaluation criterion and a predetermined second evaluation criterion that is different from the first evaluation criterion based on the labeled data. Data calculating means for calculating data for drawing a curve representing the receiver operating characteristic to be shown; range calculating means for calculating a range below a predetermined accuracy based on data for drawing the curve; and feature quantity Based on the reflection means for reflecting the calculated range in the space, the range reflected in the feature space, and the defect information identified based on the defects extracted from the image data. Image data generating means for generating range data for indicating the range of the feature amount. The display means displays the required feature amount range based on the range data.

好ましくは、欠陥の情報は、欠陥の個数を含む。   Preferably, the defect information includes the number of defects.

好ましくは、範囲算出手段は、曲線を構成するための複数の線分を特定し、複数の線分の各々について、隣接する線分により構成される頂点を特定し、特定された頂点の各々について、頂点間の距離を算出し、算出された距離をソートし、そして、ソートされた距離に基づいて予め定められた範囲を下回る範囲を算出する。   Preferably, the range calculation means specifies a plurality of line segments for constituting a curve, specifies a vertex constituted by an adjacent line segment for each of the plurality of line segments, and each of the specified vertices The distance between vertices is calculated, the calculated distances are sorted, and a range below a predetermined range is calculated based on the sorted distances.

好ましくは、精度算出手段は、学習時および学習の終了後のいずれかにおいて、特徴量の分布を評価するための精度を算出する。   Preferably, the accuracy calculation means calculates the accuracy for evaluating the distribution of the feature amount either during learning or after the end of learning.

この発明の他の局面に従うと、外観検査方法は、外部からデータの入力を受ける入力ステップを備える。データは、検査物の撮像により取得される画像データと、検査対象物の画像の特徴として画像データに基づいて表わされる特徴量を評価するために要求される要求精度とを含む。外観検査方法は、入力された画像データに対して予め定められた画像処理を実行することにより、検査対象物における欠陥の候補を特定するための欠陥候補データを抽出する抽出ステップと、欠陥候補データに基づいて、欠陥の候補の特徴量を算出する特徴量算出ステップと、特徴量を表示する表示ステップと、特徴量に応じて欠陥の候補を分類するためのラベル付けが行なわれたデータの入力を受けるステップとを備える。ラベル付けが行なわれたデータは、欠陥の候補を真の欠陥と擬似的な欠陥のいずれかとして分類するためのデータを含む。擬似的な欠陥は、真の欠陥でない欠陥の候補が欠陥として分類されるものである。外観検査方法は、さらに、ラベル付け入力に基づいて、欠陥の候補の分布の重なり度合いを算出する算出ステップと、擬似的な欠陥の個数と、真の欠陥の個数と、分布の重なり度合いとに基づいて、特徴量の分布を評価するための精度を算出する精度算出ステップと、要求精度と算出された精度とに基づいて、画像データの学習を実行する否かを判断する判断ステップと、判断ステップによる判断の結果を出力する出力ステップとを備える。   According to another aspect of the present invention, the appearance inspection method includes an input step of receiving data input from the outside. The data includes image data acquired by imaging the inspection object, and required accuracy required for evaluating a feature amount expressed based on the image data as a feature of the image of the inspection object. In the appearance inspection method, an extraction step for extracting defect candidate data for specifying a defect candidate in an inspection object by executing predetermined image processing on input image data, and defect candidate data The feature amount calculating step for calculating the feature amount of the defect candidate based on the above, the display step for displaying the feature amount, and the input of the labeled data for classifying the defect candidate according to the feature amount Receiving. The labeled data includes data for classifying defect candidates as either true defects or pseudo defects. A pseudo defect is a defect candidate that is not a true defect is classified as a defect. The visual inspection method further includes a calculation step for calculating the degree of overlap of defect candidate distributions based on labeling input, the number of pseudo defects, the number of true defects, and the degree of overlap of distributions. An accuracy calculation step for calculating accuracy for evaluating the distribution of the feature amount, a determination step for determining whether or not to perform image data learning based on the required accuracy and the calculated accuracy, and a determination An output step for outputting a result of the determination by the step.

好ましくは、算出ステップは、ラベル付け入力に基づいて、ラベル付けされた欠陥から母集団の分布を推定するステップと、母集団の分布に基づいて重なり度合いを算出するステップとを含む。   Preferably, the calculating step includes a step of estimating a population distribution from the labeled defects based on a labeling input, and a step of calculating an overlapping degree based on the population distribution.

好ましくは、判断ステップは、算出された精度と要求精度とを比較するステップと、比較の結果に基づいて、学習の開始と、学習に必要な情報の算出とのいずれかを選択するステップとを含む。   Preferably, the determining step includes a step of comparing the calculated accuracy with the required accuracy, and a step of selecting one of the start of learning and the calculation of information necessary for learning based on the comparison result. Including.

好ましくは、判断ステップは、算出された精度が要求精度を満足する場合に、学習の開始を判断する。外観検査方法は、判断ステップが学習の開始を判断しない場合に、要求精度と算出された精度とに基づいて、学習のために必要な情報を算出するステップをさらに備える。出力ステップは、算出された学習のために必要な情報を出力する。   Preferably, the determination step determines the start of learning when the calculated accuracy satisfies the required accuracy. The appearance inspection method further includes a step of calculating information necessary for learning based on the required accuracy and the calculated accuracy when the determination step does not determine the start of learning. The output step outputs information necessary for the calculated learning.

好ましくは、精度算出ステップは、学習時および学習の終了後のいずれかにおいて、特徴量の分布を評価するための精度を算出する。   Preferably, the accuracy calculation step calculates the accuracy for evaluating the distribution of the feature amount either during learning or after the end of learning.

この発明の他の局面に従うと、プログラムは、コンピュータを外観検査装置として機能させる。このプログラムはコンピュータに、外部からデータの入力を受けるステップを実行させる。データは、検査物の撮像により取得される画像データと、検査対象物の画像の特徴として画像データに基づいて表わされる特徴量を評価するために要求される要求精度とを含む。プログラムは、コンピュータに、入力された画像データに対して予め定められた画像処理を実行することにより、検査対象物における欠陥の候補を特定するための欠陥候補データを抽出するステップと、欠陥候補データに基づいて、特徴量を算出するステップと、特徴量を表示する表示ステップと、特徴量に応じて欠陥の候補を分類するためのラベル付けが行なわれたデータの入力を受けるステップとを実行させる。ラベル付けが行なわれたデータは、欠陥の候補を真の欠陥と擬似的な欠陥のいずれかとして分類するためのデータを含む。擬似的な欠陥は、真の欠陥でない欠陥の候補が欠陥として分類されるものである。プログラムは、コンピュータに、ラベル付け入力に基づいて、欠陥の候補の分布の重なり度合いを算出するステップと、擬似的な欠陥の個数と、真の欠陥の個数と、分布の重なり度合いとに基づいて、特徴量の分布を評価するための精度を算出するステップと、要求精度と算出された精度とに基づいて、画像データの学習を実行する否かを判断するステップと、判断ステップによる判断の結果を出力するステップとを実行させる。   According to another aspect of the present invention, the program causes a computer to function as an appearance inspection device. This program causes a computer to execute a step of receiving data input from the outside. The data includes image data acquired by imaging the inspection object, and required accuracy required for evaluating a feature amount expressed based on the image data as a feature of the image of the inspection object. The program executes a predetermined image processing on the input image data to the computer, thereby extracting defect candidate data for specifying a defect candidate in the inspection object; and defect candidate data And a step of calculating a feature amount, a display step of displaying the feature amount, and a step of receiving input of data that has been labeled to classify defect candidates according to the feature amount. . The labeled data includes data for classifying defect candidates as either true defects or pseudo defects. A pseudo defect is a defect candidate that is not a true defect is classified as a defect. Based on the labeling input, the program calculates the degree of overlap of the defect candidate distribution, the number of pseudo defects, the number of true defects, and the degree of distribution overlap. A step of calculating accuracy for evaluating the distribution of the feature amount, a step of determining whether or not to perform learning of the image data based on the required accuracy and the calculated accuracy, and a result of the determination by the determination step Are executed.

この発明のさらに他の局面に従うと、コンピュータ読取可能な記録媒体は、上記のプログラムを格納している。   According to still another aspect of the present invention, a computer-readable recording medium stores the above program.

本発明に係る外観検査装置によると、学習時前に、学習評価精度が予め見積もられる。外観検査装置は、その精度が装置の使用者の要求する精度となるかどうかを学習前に判断する。外観検査装置は要求精度を満たす学習データ数その他学習に必要な情報を表示できるため、当該使用者は、必要に応じて外観検査装置に再学習を実行させることが可能になる。これにより、要求される精度に応じた信頼性の高い外観検査装置を提供することができる。   According to the appearance inspection apparatus according to the present invention, the learning evaluation accuracy is estimated in advance before learning. The appearance inspection device determines whether or not the accuracy is the accuracy required by the user of the device before learning. Since the appearance inspection apparatus can display the number of learning data satisfying the required accuracy and other information necessary for learning, the user can cause the appearance inspection apparatus to perform relearning as necessary. Thereby, it is possible to provide a highly reliable appearance inspection apparatus according to the required accuracy.

本発明に係る外観検査方法を実行する装置によると、学習時前に、学習評価精度が予め見積もられる。その精度が当該方法の使用者の要求する精度となるかどうかが、学習前に判断される。要求精度を満たす学習データ数その他学習に必要な情報が表示されるため、当該使用者は、必要に応じて、その装置に再学習を実行させることが可能になる。これにより、要求される精度に応じた信頼性の高い外観検査方法を提供することができる。   According to the apparatus for executing the appearance inspection method according to the present invention, the learning evaluation accuracy is estimated in advance before learning. It is determined before learning whether the accuracy is the accuracy required by the user of the method. Since the number of learning data satisfying the required accuracy and other information necessary for learning are displayed, the user can cause the apparatus to perform relearning as necessary. Thereby, it is possible to provide a highly reliable appearance inspection method according to the required accuracy.

本発明に係るプログラムによると、コンピュータは、学習時前に、学習評価精度を予め見積る。コンピュータは、その精度がコンピュータのユーザの要求する精度となるかどうかを学習前に判断する。コンピュータは要求精度を満たす学習データ数その他学習に必要な情報を表示できるため、当該ユーザは、必要に応じてコンピュータに再学習を実行させることが可能になる。これにより、要求される精度に応じた信頼性の高い外観検査装置としてコンピュータを機能させるためのプログラムを提供することができる。   According to the program according to the present invention, the computer estimates the learning evaluation accuracy in advance before learning. The computer determines whether or not the accuracy is the accuracy required by the computer user before learning. Since the computer can display the number of learning data satisfying the required accuracy and other information necessary for learning, the user can cause the computer to perform relearning as necessary. As a result, it is possible to provide a program for causing a computer to function as a highly reliable appearance inspection apparatus according to required accuracy.

本発明に係るプログラムによると、要求される精度に応じた信頼性の高い外観検査装置として、コンピュータを機能させることができる。   According to the program according to the present invention, it is possible to cause a computer to function as a highly reliable appearance inspection apparatus according to required accuracy.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

図1を参照して、本発明の実施の形態に係る外観検査装置を備える検査システム10について説明する。図1は、検査システム10のシステム構成を表わすブロック図である。   With reference to FIG. 1, an inspection system 10 including an appearance inspection apparatus according to an embodiment of the present invention will be described. FIG. 1 is a block diagram showing the system configuration of the inspection system 10.

検査システム10は、ステージ101と、光源103と、CCD(Charge-coupled device)カメラ104と、コントローラ105と、外観検査装置100とを含む。ステージ101には、外観検査の対象となり得る対象物102が予め定められた位置に搬入される。対象物102は、所定の検査の後、ステージ101から搬出される。   The inspection system 10 includes a stage 101, a light source 103, a CCD (Charge-coupled device) camera 104, a controller 105, and an appearance inspection apparatus 100. On the stage 101, an object 102 that can be an object of appearance inspection is carried into a predetermined position. The object 102 is unloaded from the stage 101 after a predetermined inspection.

光源103は、ステージ101に対して発光する。対象物102がステージ101に搬入されている場合には、対象物102は、CCDカメラ104による撮影が可能な程度の光量が供給される。なお、対象物102に対して供給される光量は、後述するコントローラ105により変更可能である。   The light source 103 emits light to the stage 101. When the target object 102 is carried into the stage 101, the target object 102 is supplied with a light amount that can be photographed by the CCD camera 104. Note that the amount of light supplied to the object 102 can be changed by the controller 105 described later.

CCDカメラ104は、対象物102を撮影し、画像信号を出力する。画像信号は、ケーブルを介して外観検査装置100に入力される。入力されたデータは、後述するように、外観検査装置100が備える記憶装置の所定の記憶領域に格納される。   The CCD camera 104 images the object 102 and outputs an image signal. The image signal is input to the appearance inspection apparatus 100 via a cable. The input data is stored in a predetermined storage area of a storage device provided in the appearance inspection apparatus 100 as will be described later.

コントローラ105は、ステージ101と光源103とCCDカメラ104と外観検査装置100とのそれぞれの動作を制御する。より具体的には、コントローラ105は、対象物102を正確に撮影するために、ステージ101と光源103とCCDカメラ104との位置関係を制御する。この制御は、たとえばCCDカメラ104から出力される画像信号に応じて、ステージ101に搬入された対象物102の焦点が合っているか否かに基づいて行なわれる。あるいは、使用者が外観検査装置100に対して指示を入力すると、外観検査装置100は、コントローラ105に対して当該指示に応じて位置関係を制御するための指令を出力する。   The controller 105 controls the operations of the stage 101, the light source 103, the CCD camera 104, and the appearance inspection apparatus 100. More specifically, the controller 105 controls the positional relationship among the stage 101, the light source 103, and the CCD camera 104 in order to accurately photograph the object 102. This control is performed based on whether or not the object 102 carried into the stage 101 is in focus according to an image signal output from the CCD camera 104, for example. Alternatively, when the user inputs an instruction to the appearance inspection apparatus 100, the appearance inspection apparatus 100 outputs a command for controlling the positional relationship to the controller 105 according to the instruction.

図1を再び参照して、外観検査装置100は、入力部111と、記憶装置107と、画像処理部108と、演算部110と、主制御部109と、ディスプレイ106とを含む。入力部111は、外部からデータの入力を受け、当該データを信号線(図示しない)を介して主制御部109等に送出する。記憶装置107は、データを不揮発的および揮発的にそれぞれ格納する。画像処理部108は、予め設定されたパラメータに応じて、目的とする画像処理を実行する。演算部110は、外観検査装置100における所定の演算を実行する。主制御部109は、コントローラ105から入力される制御信号に基づいて外観検査装置100の内部動作を制御する。ディスプレイ106は、主制御部109により表示用メモリ(図示しない)に書き込まれるデータに基づいて、撮影された対象物102の画像その他画像処理の結果を表示する。   Referring again to FIG. 1, the appearance inspection apparatus 100 includes an input unit 111, a storage device 107, an image processing unit 108, a calculation unit 110, a main control unit 109, and a display 106. The input unit 111 receives data input from the outside, and sends the data to the main control unit 109 or the like via a signal line (not shown). The storage device 107 stores data in a nonvolatile and volatile manner. The image processing unit 108 executes target image processing in accordance with preset parameters. The calculation unit 110 executes a predetermined calculation in the appearance inspection apparatus 100. The main control unit 109 controls the internal operation of the appearance inspection apparatus 100 based on a control signal input from the controller 105. The display 106 displays a captured image of the object 102 and other image processing results based on data written to a display memory (not shown) by the main control unit 109.

画像処理部108と主制御部109と演算部110とは、たとえば予め定められた処理を実行するように構成されたシステム回路によりハードウェア的に実現される。あるいは、後述するように、CPU(Central Processing Unit)に、後述する各処理を実現するためのプログラムを実行させることにより実現される。   The image processing unit 108, the main control unit 109, and the calculation unit 110 are realized in hardware by a system circuit configured to execute a predetermined process, for example. Alternatively, as will be described later, it is realized by causing a CPU (Central Processing Unit) to execute a program for realizing each process described later.

図2を参照して、本実施の形態に係る外観検査装置100のデータ構造について説明する。図2は、外観検査装置100の記憶装置107におけるデータの格納の一態様を表わす図である。   With reference to FIG. 2, the data structure of appearance inspection apparatus 100 according to the present embodiment will be described. FIG. 2 is a diagram illustrating an aspect of data storage in storage device 107 of appearance inspection apparatus 100.

記憶装置107は、後述する処理により算出される精度を格納したテーブル200と、外観検査装置100を実現するためのプログラムとを含む。テーブル200は、たとえば予め定められた間隔により区切られた重なり度合いと欠陥個数とをキーとして、それぞれ対応する精度を含む。この精度の算出については後述する。記憶装置107は、またその精度を算出するための精度算出プログラムと、外観検査装置100による学習の判断を実行する判断プログラムとを、それぞれ領域210,220に格納している。なお、外観検査装置100におけるデータの格納の態様は、図2に示されるものに限られない。   The storage device 107 includes a table 200 that stores accuracy calculated by processing to be described later, and a program for realizing the appearance inspection device 100. The table 200 includes each corresponding accuracy using, for example, the degree of overlap and the number of defects divided by a predetermined interval as keys. The calculation of this accuracy will be described later. The storage device 107 also stores an accuracy calculation program for calculating the accuracy and a determination program for executing a learning determination by the appearance inspection device 100 in the areas 210 and 220, respectively. Note that the data storage mode in the appearance inspection apparatus 100 is not limited to that shown in FIG.

図3を参照して、本実施の形態に係る外観検査装置100の制御構造について説明する。図3は、外観検査装置100が備える演算部110が実行する処理の手順を表わすフローチャートである。すなわち演算部110が各処理を実現するための回路として構成されている場合には、以下の処理は、その回路が所定の動作を開始することにより実行される。また、演算部110がCPUにより実現される場合には、当該処理は、各処理を実現するプログラムがそのCPUにより実行された場合に実現される。   With reference to FIG. 3, a control structure of appearance inspection apparatus 100 according to the present embodiment will be described. FIG. 3 is a flowchart illustrating a procedure of processing executed by the arithmetic unit 110 included in the appearance inspection apparatus 100. That is, when the arithmetic unit 110 is configured as a circuit for realizing each process, the following process is executed when the circuit starts a predetermined operation. Further, when the calculation unit 110 is realized by a CPU, the processing is realized when a program that realizes each processing is executed by the CPU.

ステップS310にて、演算部110は、入力部111を介して入力された離散データの入力を受ける。ステップS320にて、演算部110は、離散データの母集団の分布を表わす分布データを算出する。ステップS330にて、演算部110は、算出された分布データに基づいて重なり度合いを算出する。   In step S <b> 310, calculation unit 110 receives input of discrete data input via input unit 111. In step S320, operation unit 110 calculates distribution data representing the distribution of the population of discrete data. In step S330, calculation unit 110 calculates the degree of overlap based on the calculated distribution data.

ステップS340にて、演算部110は、重なり度合いと欠陥個数とに対応する精度を算出する。ステップS350にて、演算部110は、記憶装置107の所定の領域に、算出された精度を参照用のテーブル200として登録する。   In step S340, calculation unit 110 calculates accuracy corresponding to the degree of overlap and the number of defects. In step S350, arithmetic unit 110 registers the calculated accuracy as a reference table 200 in a predetermined area of storage device 107.

図4を参照して、外観検査装置100の制御構造についてさらに説明する。図4は、画像処理部108と主制御部109と演算部110とによってそれぞれ実行される処理の手順を表わすフローチャートである。なお、以下の処理も、前述のようにハードウェア的に実現されてもよいし、あるいはCPUの動作によって、ソフトウェア的に実現されてもよい。   With reference to FIG. 4, the control structure of the appearance inspection apparatus 100 will be further described. FIG. 4 is a flowchart illustrating a procedure of processes executed by the image processing unit 108, the main control unit 109, and the calculation unit 110, respectively. The following processing may also be realized by hardware as described above, or may be realized by software by the operation of the CPU.

ステップS402にて、演算部110は、入力部111を介してユーザにより要求される要求精度および画像データの入力を受ける。ステップS404にて、演算部110は、入力された画像データに対して予め定められた画像処理を実行し、欠陥の候補を抽出する。   In step S <b> 402, calculation unit 110 receives input of requested accuracy and image data requested by the user via input unit 111. In step S404, operation unit 110 performs predetermined image processing on the input image data, and extracts defect candidates.

ステップS406にて、演算部110は、抽出された欠陥の候補の画像データから特徴量を抽出する。ここで特徴量とは検査の対象物102の画像の特徴として撮影により取得された画像データに基づいて表わされる特徴を評価するためのデータをいう。特徴量は、粒子解析で用いられる計測値、たとえば、周囲長、面積、面積率、円形度係数、等価円直径、0次モーメント、1次モーメント、2次モーメント、最大最低濃度、濃度合計、平均濃度、濃度の標準偏差、水平垂直フェレ径、水平垂直フェレ径比率、最大最小フェレ径、最大フェレ径角度、最大最小フェレ径比率などを含む。   In step S406, operation unit 110 extracts a feature amount from the extracted defect candidate image data. Here, the feature amount refers to data for evaluating a feature represented based on image data acquired by photographing as an image feature of the inspection object 102. The feature value is a measured value used in particle analysis, for example, circumference, area, area ratio, circularity coefficient, equivalent circular diameter, zeroth moment, first moment, second moment, maximum minimum concentration, total concentration, average Including density, standard deviation of density, horizontal / vertical ferret diameter, horizontal / vertical ferret diameter ratio, maximum / minimum ferret diameter, maximum ferret diameter angle, maximum / minimum ferret diameter ratio, and the like.

ステップS408にて、主制御部109は、ディスプレイ106における表示のために使用されるメモリ領域に特徴量を格納し、ディスプレ106にその特徴量を表示される。ステップS410にて、演算部110は、入力部111を介して欠陥の候補に対するラベル付け情報の入力を受け付ける。ステップS412にて、演算部110は、ラベル付けされた欠陥候補ごとに、母集団の分布を推定するための処理を実行する。   In step S <b> 408, the main control unit 109 stores the feature amount in a memory area used for display on the display 106, and the feature amount is displayed on the display 106. In step S410, calculation unit 110 accepts input of labeling information for a defect candidate via input unit 111. In step S412, operation unit 110 executes a process for estimating the distribution of the population for each labeled defect candidate.

ステップS414にて、演算部110は、推定された母集団同士の重なり度合いを算出する。ステップS416にて、演算部110は、記憶装置107の所定の領域に格納された欠陥情報を読み出す。ステップS418にて、演算部110は、重なり度合いと欠陥情報と欠陥の個数とを用いて、入力された画像データの精度を算出する。   In step S414, operation unit 110 calculates the estimated degree of overlap between the populations. In step S416, operation unit 110 reads defect information stored in a predetermined area of storage device 107. In step S418, calculation unit 110 calculates the accuracy of the input image data using the degree of overlap, the defect information, and the number of defects.

ステップS420にて、主制御部109は、入力された画像データが入力された要求精度を満たすか否かを判断する。この判断は、たとえばステップS402において入力された要求精度とステップS418において算出された精度とを比較することにより行なわれる。主制御部109が、入力された画像データは要求精度を満たすと判断すると(ステップS420にてYES)、処理はステップS430に移される。そうでない場合には(ステップS420にてNO)、処理はステップS422に移される。   In step S420, main controller 109 determines whether or not the input image data satisfies the input required accuracy. This determination is made, for example, by comparing the required accuracy input in step S402 with the accuracy calculated in step S418. If main control unit 109 determines that the input image data satisfies the required accuracy (YES in step S420), the process proceeds to step S430. If not (NO in step S420), the process proceeds to step S422.

ステップS422にて、演算部110は、入力された要求精度を満たすために必要な学習情報を算出する。ステップS424にて、主制御部109は、算出された学習情報をディスプレイ106の所定の領域に表示させるために、表示用メモリ(図示しない)の所定の領域に書き込む。その結果、ディスプレイ106は、学習情報を表示する。ステップS430にて、主制御部109は、学習を開始する。その後、処理は終了する。   In step S422, operation unit 110 calculates learning information necessary to satisfy the input required accuracy. In step S424, the main control unit 109 writes the calculated learning information in a predetermined area of a display memory (not shown) in order to display the learning information in the predetermined area of the display 106. As a result, the display 106 displays learning information. In step S430, main controller 109 starts learning. Thereafter, the process ends.

ここで、図5〜図9を参照して、本実施の形態に係る外観検査装置100が使用するレシーバオペレーティング特性(以下、ROC(Receiver Operating Characteristics))の解析について説明する。図5は、検出された欠陥と検出時における確率密度との関係を表わす図である。   Here, with reference to FIGS. 5 to 9, analysis of receiver operating characteristics (hereinafter referred to as ROC (Receiver Operating Characteristics)) used by the appearance inspection apparatus 100 according to the present embodiment will be described. FIG. 5 is a diagram showing the relationship between the detected defect and the probability density at the time of detection.

図5を参照して、外観検査装置100は、CCDカメラ104から入力される画像データに基づいて欠陥を検出する。この検出結果は、真の欠陥510と擬似的な欠陥530とに分かれて検出される。ここで、擬似的な欠陥(以下、擬似欠陥)とは、欠陥ではないにもかかわらず欠陥であると誤って判断される画像データをいう。この場合、判断基準である識別器550を欠陥の検出結果に対して適用することにより、欠陥として識別される領域が特定される。たとえば、この領域は、真の欠陥として認識される領域520と、擬似欠陥として識別される領域540とを含む。領域520の面積は、真の欠陥の認識率として算出される。   Referring to FIG. 5, appearance inspection apparatus 100 detects a defect based on image data input from CCD camera 104. This detection result is detected by being divided into a true defect 510 and a pseudo defect 530. Here, the pseudo defect (hereinafter, “pseudo defect”) refers to image data that is erroneously determined to be a defect even though it is not a defect. In this case, an area identified as a defect is specified by applying the discriminator 550, which is a criterion, to the detection result of the defect. For example, this region includes a region 520 that is recognized as a true defect and a region 540 that is identified as a pseudo defect. The area of the region 520 is calculated as a recognition rate of true defects.

図5に示されるように、識別器550の値をさらに大きくすると、認識率は低下することになる。この場合、領域540の面積も小さくなるため、過検出率もそれに応じて小さくなる。一方、識別器550を擬似欠陥530の領域に近づけて設定すると、領域520の面積は大きくなる一方、領域540の面積も同様に大きくなる。すなわち過検出率も上昇することになる。   As shown in FIG. 5, when the value of the discriminator 550 is further increased, the recognition rate is lowered. In this case, since the area of the region 540 is also reduced, the overdetection rate is accordingly reduced. On the other hand, when the discriminator 550 is set close to the region of the pseudo defect 530, the area of the region 520 is increased, and the area of the region 540 is also increased. That is, the overdetection rate also increases.

図6は、過検出率と認識率との関係をROC特性を表わすためのROC曲線600として表わした図である。この場合、理想の検出結果は、認識率=1.0であり、過検出率=0である。すなわち、図6では左上の点610が理想の検出結果である。したがって、ROC曲線610が左上に近づくほど、検出結果の精度は良くなる。   FIG. 6 is a diagram showing the relationship between the overdetection rate and the recognition rate as an ROC curve 600 for representing ROC characteristics. In this case, the ideal detection result is recognition rate = 1.0 and overdetection rate = 0. That is, in FIG. 6, the upper left point 610 is an ideal detection result. Therefore, the closer the ROC curve 610 is to the upper left, the better the accuracy of the detection result.

図7は、ROC曲線を表わす平面上において過検出率と認識率との関係を標本の数に応じて表わす図である。標本の数が少ない場合には、破線710に示されるように、検出結果を特定するための境界線は、変化の度合いが大きな階段状の形状として表現される。標本の数が増加すると、たとえば点線720に示されるように、検出結果を特定するための境界線は、破線710よりも変化の程度が小さな階段状の形状として表わされる。すなわち、点線720は、破線710よりも、全体として点610(過検出率=0、認識率=1.0)の方向に向かう。   FIG. 7 is a diagram illustrating the relationship between the overdetection rate and the recognition rate on the plane representing the ROC curve according to the number of samples. When the number of samples is small, as indicated by a broken line 710, the boundary line for specifying the detection result is expressed as a stepped shape having a large degree of change. When the number of samples increases, for example, as indicated by a dotted line 720, the boundary line for specifying the detection result is represented as a stepped shape having a smaller degree of change than the broken line 710. That is, the dotted line 720 is directed in the direction of the point 610 (overdetection rate = 0, recognition rate = 1.0) as a whole than the broken line 710.

標本の数がさらに増加すると、一点鎖線730に示されるように、当該境界線の形状はさらに滑らかになる。仮に標本が無限個存在する場合には、円弧740に示されるように、認識率と過検出率とを表わす曲線は滑らかに描かれる。   When the number of samples further increases, the shape of the boundary line becomes smoother, as indicated by a one-dot chain line 730. If there are an infinite number of samples, curves representing the recognition rate and the overdetection rate are smoothly drawn as indicated by an arc 740.

図8は、外観検査装置100が使用する分布の重なり度合いを説明するための図である。ここで、分布は、たとえば確率密度により表わされるが、検出結果の度数を表わすヒストグラムであってもよい。   FIG. 8 is a diagram for explaining the degree of distribution overlap used by the appearance inspection apparatus 100. Here, the distribution is represented by probability density, for example, but may be a histogram representing the frequency of detection results.

外観検査装置100が、入力される画像信号に基づいて欠陥の抽出処理を実行すると、抽出結果は、たとえば分布810と分布840としてそれぞれ表わされる。ここで分布810は、擬似欠陥の分布を表わす。分布840は、真の欠陥の分布を表わす。それぞれの分布が算出されると、各抽出結果に基づいてそれぞれの分布の平均値820,850が算出される。   When the appearance inspection apparatus 100 executes the defect extraction process based on the input image signal, the extraction results are represented as, for example, a distribution 810 and a distribution 840, respectively. Here, the distribution 810 represents the distribution of pseudo defects. Distribution 840 represents the distribution of true defects. When the respective distributions are calculated, average values 820 and 850 of the respective distributions are calculated based on the respective extraction results.

ここで擬似欠陥の分布の標準偏差をσ(1)とすると、平均820から3×σ(1)までの領域が、擬似欠陥が存在する範囲として特定される。同様に真の欠陥の分布840に対して平均850から標準偏差σ(2)だけの領域は、真の欠陥の分布が存在している範囲として特定される。本実施の形態においては、標準偏差σ(1)>σ(2)である場合のデータが使用されているため、各分布の重なり度合いは、図8に示されるようになる。   Here, assuming that the standard deviation of the distribution of pseudo defects is σ (1), an average region from 820 to 3 × σ (1) is specified as a range where the pseudo defects exist. Similarly, a region having an average 850 to standard deviation σ (2) with respect to the true defect distribution 840 is specified as a range where the true defect distribution exists. In the present embodiment, since data in the case of standard deviation σ (1)> σ (2) is used, the overlapping degree of each distribution is as shown in FIG.

図9は、ディスプレイ106に表示する学習に必要な情報を算出する手順を説明するための図である。   FIG. 9 is a diagram for explaining a procedure for calculating information necessary for learning displayed on the display 106.

撮影により取得された画像データに基づいて過検出率と認識率との関係が抽出されると、外観検査装置100は、学習に必要な情報として、過検出率と認識率と識別器550の位置とをそれぞれ特定する。たとえば、点910は、過検出率=F(1)、認識率=T(1)、識別器550の位置=R(1)として表わされる。   When the relationship between the overdetection rate and the recognition rate is extracted based on the image data acquired by photographing, the appearance inspection apparatus 100 uses the overdetection rate, the recognition rate, and the position of the discriminator 550 as information necessary for learning. And are specified respectively. For example, the point 910 is expressed as an overdetection rate = F (1), a recognition rate = T (1), and a position of the classifier 550 = R (1).

ここで、判断基準を変更するために、識別器550の位置をたとえばR(2)に移動すると、その領域は点920に示されるように、過検出率=F(2)、認識率=T(2)と表わされる。この場合T(1)=T(2)である。   Here, when the position of the discriminator 550 is moved to, for example, R (2) in order to change the determination criterion, the area is over-detection rate = F (2), recognition rate = T (2). In this case, T (1) = T (2).

さらに、識別器550の位置がR(3)に移動されると、その領域は、点930に示されるように、過検出率=F(3)、認識率=T(3)、識別器の位置=R(3)として表わされる。この場合、点930における過検出率は、点920における過検出率と同じであるため、F(2)の値とF(3)の値とは、同一である。   Further, when the position of the discriminator 550 is moved to R (3), the area is detected as overdetection rate = F (3), recognition rate = T (3), Represented as position = R (3). In this case, since the overdetection rate at the point 930 is the same as the overdetection rate at the point 920, the value of F (2) and the value of F (3) are the same.

図10を参照して、外観検査装置100における表示態様について説明する。図10は、ディスプレイ106が表示する画面の一態様を表わす図である。   With reference to FIG. 10, the display mode in the appearance inspection apparatus 100 will be described. FIG. 10 is a diagram illustrating an aspect of a screen displayed on display 106.

ディスプレイ106は、欠陥の分布を表わす図と、真の欠陥および擬似欠陥に対してそれぞれ必要なレベルを表わす画面とを表示する。すなわち外観検査装置100は、CCDカメラ104により出力される画像信号に基づいて欠陥の抽出処理を実行すると、真の欠陥と擬似欠陥とは、それぞれ標本ごとに表示される。   The display 106 displays a diagram representing the distribution of defects and a screen representing levels required for true defects and pseudo defects. That is, when the appearance inspection apparatus 100 executes the defect extraction process based on the image signal output from the CCD camera 104, the true defect and the pseudo defect are displayed for each specimen.

図10に示される例では、真の欠陥は「×」として表わされる。擬似欠陥は、「〇」として表わされる。また過検出率と認識率とに影響を与える識別器の範囲は、上限値1000および下限値1002がそれぞれ表示される。したがって、領域1020が識別器の範囲になる。   In the example shown in FIG. 10, the true defect is represented as “x”. Pseudo defects are represented as “◯”. In addition, an upper limit value 1000 and a lower limit value 1002 are displayed in the range of the discriminator that affects the overdetection rate and the recognition rate. Therefore, the area 1020 is the range of the discriminator.

各欠陥に対して学習が必要な情報は、たとえば必要最小レベルとして領域1062に表示される。領域1062に表示されるデータは、真の欠陥1060のデータに対応するものとして表示される。同様に、必要最大のレベルは、領域1012に表示される。領域1012に表示されるデータは、真の欠陥1010に対応している。このように、それぞれの値に応じたデータが表示されるため、外観検査装置100のユーザは、どの程度の学習が必要であるかを容易に判断することができる。具体的には、ユーザは、どのような学習用データが必要であるかを認識することができる。たとえば、学習用データのレベル、たとえば欠陥の強度と数とが表示される。要求精度を満たすような数は、テーブル200において参照され、そして読み出される。   Information that needs to be learned for each defect is displayed in area 1062 as a necessary minimum level, for example. The data displayed in area 1062 is displayed as corresponding to the data of true defect 1060. Similarly, the required maximum level is displayed in area 1012. Data displayed in area 1012 corresponds to true defect 1010. In this way, since data corresponding to each value is displayed, the user of the appearance inspection apparatus 100 can easily determine how much learning is required. Specifically, the user can recognize what kind of learning data is necessary. For example, the level of learning data, for example, the strength and number of defects is displayed. A number that satisfies the required accuracy is referenced in table 200 and read.

ここで、図11を参照して、外観検査装置100を実現するコンピュータシステム1100について説明する。図11は、コンピュータシステム1100のハードウェア構成を表わすブロック図である。   Here, a computer system 1100 that implements the appearance inspection apparatus 100 will be described with reference to FIG. FIG. 11 is a block diagram showing a hardware configuration of computer system 1100.

コンピュータシステム1100は、相互にデータバスにより接続されたCPU1110と、使用者による指示の入力を受けるマウス1120およびキーボード1130と、入力されるデータあるいは所定の処理の実行により一時的に生成されるデータを格納するRAM(Random Access Memory)1140と、大容量のデータを不揮発的に格納できるハードディスク1150と、CD−ROM(Compact Disk-Read Only Memory)駆動装置1160と、モニタ1180と、通信IF(Interface)1190とを含む。CD−ROM駆動装置1160には、CD−ROM1162が装着される。外観検査装置100として機能するコンピュータシステム1100における処理は、各ハードウェアおよびCPU1110により実行されるソフトウェアによって実現される。このようなソフトウェアは、RAM1140あるいはハードディスク1150に記憶されている場合もあれば、CD−ROM1162その他の記憶媒体に格納されて流通し、CD−ROM駆動装置1160その他の読取装置によりその記憶媒体から読取られて、ハードディスク1150に一旦格納される場合もある。そのソフトウェアは、RAM1140あるいはハードディスク1150から読出されて、CPU1110によって実行される。図11に示されるコンピュータシステム1100のハードウェア構成は、一般的なものである。本発明の最も本質的な部分は、RAM1140、ハードディスク1150、CD−ROM1162その他の記憶媒体に格納されたソフトウェアであるとも言える。なお、コンピュータシステム1100の各ハードウェアの動作はそれぞれ周知であるため、詳細な説明は繰り返さない。   The computer system 1100 includes a CPU 1110 connected to each other via a data bus, a mouse 1120 and a keyboard 1130 for receiving an instruction input by a user, and input data or data temporarily generated by execution of a predetermined process. A RAM (Random Access Memory) 1140 to be stored, a hard disk 1150 capable of storing a large amount of data in a nonvolatile manner, a CD-ROM (Compact Disk-Read Only Memory) drive device 1160, a monitor 1180, and a communication IF (Interface) 1190. A CD-ROM 1162 is attached to the CD-ROM drive device 1160. Processing in the computer system 1100 functioning as the appearance inspection apparatus 100 is realized by each hardware and software executed by the CPU 1110. Such software may be stored in the RAM 1140 or the hard disk 1150, or may be stored and distributed in the CD-ROM 1162 or other storage medium, and read from the storage medium by the CD-ROM drive 1160 or other reader. May be temporarily stored in the hard disk 1150. The software is read from the RAM 1140 or the hard disk 1150 and executed by the CPU 1110. The hardware configuration of the computer system 1100 shown in FIG. 11 is a general one. It can be said that the most essential part of the present invention is software stored in the RAM 1140, the hard disk 1150, the CD-ROM 1162, and other storage media. Since the operation of each hardware of computer system 1100 is well known, detailed description will not be repeated.

図12を参照して、外観検査装置100を実現するコンピュータシステム1100の機能的構成について説明する。図12は、CPU1110がソフトウェアの実行により実現される機能の構成を表わす図である。   With reference to FIG. 12, a functional configuration of a computer system 1100 that realizes the appearance inspection apparatus 100 will be described. FIG. 12 is a diagram illustrating a configuration of functions realized by CPU 1110 by execution of software.

CPU1110は、入出力部1210と、抽出部1220と、特徴量算出部1230と、算出部1240と、精度算出部1250と、判断部1260とを含む。   The CPU 1110 includes an input / output unit 1210, an extraction unit 1220, a feature amount calculation unit 1230, a calculation unit 1240, an accuracy calculation unit 1250, and a determination unit 1260.

入出力部1210は、データバスを介してデータの入力を受ける。また、入出力部1210は、CPU1110内部で生成されたデータをRAM1140に書き込む。抽出部1220は、入力された画像データに対して予め定められた画像処理を実行することにより、検査対象物における欠陥の候補を特定するための欠陥候補データを抽出する。特徴量算出部1230は、欠陥候補データに基づいて、特徴量を算出する。算出部1240は、ラベル付け入力に基づいて、欠陥の候補の分布の重なり度合いを算出する。精度算出部1250は、擬似的な欠陥の個数と、真の欠陥の個数と、分布の重なり度合いとに基づいて、特徴量の分布を評価するための精度を算出する。判断部1260は、要求精度と算出された精度とに基づいて、画像データの学習を実行する否かを判断する。   The input / output unit 1210 receives data input via a data bus. The input / output unit 1210 writes data generated in the CPU 1110 to the RAM 1140. The extraction unit 1220 performs predetermined image processing on the input image data, thereby extracting defect candidate data for specifying defect candidates in the inspection object. The feature amount calculator 1230 calculates a feature amount based on the defect candidate data. The calculation unit 1240 calculates the degree of overlap of defect candidate distributions based on the labeling input. The accuracy calculation unit 1250 calculates the accuracy for evaluating the distribution of the feature amount based on the number of pseudo defects, the number of true defects, and the degree of distribution overlap. The determination unit 1260 determines whether or not to perform image data learning based on the required accuracy and the calculated accuracy.

以上のようにして、本発明の実施の形態に係る外観検査装置100によると、学習時前に、学習評価精度が予め見積もられる。外観検査装置100は、その精度がオペレータの要求する精度となるかどうかを学習前に判断する。外観検査装置100は要求精度を満たす学習データ数その他学習に必要な情報を表示できるため、当該オペレータは、必要に応じて外観検査装置100に再学習を実行させることができる。これにより、外観検査装置100は、被検査物の外観における欠陥の検査を高精度で実現することができる。   As described above, according to the appearance inspection apparatus 100 according to the embodiment of the present invention, the learning evaluation accuracy is estimated in advance before learning. The appearance inspection apparatus 100 determines whether or not the accuracy is the accuracy required by the operator before learning. Since the appearance inspection apparatus 100 can display the number of learning data satisfying the required accuracy and other information necessary for learning, the operator can cause the appearance inspection apparatus 100 to perform relearning as necessary. As a result, the appearance inspection apparatus 100 can realize inspection of defects in the appearance of the inspection object with high accuracy.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の実施の形態に係る外観検査装置を備える検査システム10のシステム構成を表わすブロック図である。1 is a block diagram illustrating a system configuration of an inspection system 10 including an appearance inspection apparatus according to an embodiment of the present invention. 本発明の実施の形態に係る外観検査装置100の記憶装置107におけるデータの格納の一態様を表わす図である。It is a figure showing the one aspect | mode of the storage of the data in the memory | storage device 107 of the external appearance inspection apparatus 100 which concerns on embodiment of this invention. 本発明の実施の形態に係る外観検査装置100が実行する処理の手順を表わすフローチャート(その1)である。It is a flowchart (the 1) showing the procedure of the process which the external appearance inspection apparatus 100 which concerns on embodiment of this invention performs. 本発明の実施の形態に係る外観検査装置100が実行する処理の手順を表わすフローチャート(その2)である。It is a flowchart (the 2) showing the procedure of the process which the external appearance inspection apparatus 100 which concerns on embodiment of this invention performs. 本発明の実施の形態に係る外観検査装置100が使用するROC解析を説明するための図(その1)である。It is FIG. (1) for demonstrating the ROC analysis which the external appearance inspection apparatus 100 which concerns on embodiment of this invention uses. 本発明の実施の形態に係る外観検査装置100が使用するROC解析を説明するための図(その2)である。It is FIG. (2) for demonstrating the ROC analysis which the external appearance inspection apparatus 100 which concerns on embodiment of this invention uses. 本発明の実施の形態に係る外観検査装置100が使用するROC解析を説明するための図(その3)である。It is FIG. (3) for demonstrating the ROC analysis which the external appearance inspection apparatus 100 which concerns on embodiment of this invention uses. 本発明の実施の形態に係る外観検査装置100が使用するROC解析を説明するための図(その4)である。It is FIG. (4) for demonstrating the ROC analysis which the external appearance inspection apparatus 100 which concerns on embodiment of this invention uses. 本発明の実施の形態に係る外観検査装置100が使用するROC解析を説明するための図(その5)である。It is FIG. (5) for demonstrating the ROC analysis which the external appearance inspection apparatus 100 which concerns on embodiment of this invention uses. 本発明の実施の形態に係る外観検査装置100のディスプレイ106が表示する画面の一態様を表わす図である。It is a figure showing the one aspect | mode of the screen which the display 106 of the external appearance inspection apparatus 100 which concerns on embodiment of this invention displays. 本発明の実施の形態に係る外観検査装置100を実現するコンピュータシステム1100のハードウェア構成を表わすブロック図である。It is a block diagram showing the hardware constitutions of the computer system 1100 which implement | achieves the visual inspection apparatus 100 which concerns on embodiment of this invention. コンピュータシステム1100のCPU1110がソフトウェアの実行により実現される機能の構成を表わす図である。FIG. 11 is a diagram illustrating a functional configuration realized by execution of software by a CPU 1110 of a computer system 1100.

符号の説明Explanation of symbols

10 検査システム、100 外観検査装置、101 ステージ、102 対象物、103 光源、104 CCDカメラ、105 コントローラ、106 ディスプレイ、107 記憶装置、108 画像処理部、109 主制御部、110 演算部、111 入力部、200 テーブル、1100 コンピュータシステム、1110 CPU、1120 マウス、1130 キーボード、1140 RAM、1150 ハードディスク、1160 CD-ROM駆動装置、1162 CD-ROM、1190 通信IF、1180 モニタ。   DESCRIPTION OF SYMBOLS 10 Inspection system, 100 Appearance inspection apparatus, 101 stage, 102 Object, 103 Light source, 104 CCD camera, 105 Controller, 106 Display, 107 Storage device, 108 Image processing part, 109 Main control part, 110 Calculation part, 111 Input part 200 table, 1100 computer system, 1110 CPU, 1120 mouse, 1130 keyboard, 1140 RAM, 1150 hard disk, 1160 CD-ROM drive, 1162 CD-ROM, 1190 communication IF, 1180 monitor.

Claims (17)

外部からデータの入力を受ける入力手段を備え、前記データは、検査物の撮像により取得される画像データと、前記検査対象物の画像の特徴として前記画像データに基づいて表わされる特徴量を評価するために要求される要求精度とを含み、
入力された画像データに対して予め定められた画像処理を実行することにより、前記検査対象物における欠陥の候補を特定するための欠陥候補データを抽出する抽出手段と、
前記欠陥候補データに基づいて、前記欠陥の候補の特徴量を算出する特徴量算出手段と、
前記特徴量を表示する表示手段とを備え、
前記入力手段はさらに、前記特徴量に応じて前記欠陥の候補を分類するためのラベル付けが行なわれたデータの入力を受け、前記ラベル付けが行なわれたデータは、前記欠陥の候補を真の欠陥と擬似的な欠陥のいずれかとして分類するためのデータを含み、前記擬似的な欠陥は、前記真の欠陥でない欠陥の候補が欠陥として分類されるものであり、
前記ラベル付け入力に基づいて、前記欠陥の候補の分布の重なり度合いを算出する算出手段と、
前記擬似的な欠陥の個数と、前記真の欠陥の個数と、前記分布の重なり度合いとに基づいて、前記特徴量の分布を評価するための精度を算出する精度算出手段と、
前記要求精度と前記算出された精度とに基づいて、画像データの学習を実行する否かを判断する判断手段と、
前記判断手段による判断の結果を出力する出力手段とを備える、外観検査装置。
Input means for receiving input of data from the outside, wherein the data evaluates image data acquired by imaging the inspection object and a feature amount represented based on the image data as a characteristic of the image of the inspection object Including the required accuracy required for
Extraction means for extracting defect candidate data for specifying defect candidates in the inspection object by executing predetermined image processing on the input image data;
Feature amount calculating means for calculating the feature amount of the defect candidate based on the defect candidate data;
Display means for displaying the feature amount,
The input means further receives input of data that has been labeled to classify the defect candidates according to the feature quantity, and the labeled data indicates that the defect candidates are true. Including data for classifying as either a defect or a pseudo defect, wherein the pseudo defect is a candidate for a defect that is not a true defect, and is classified as a defect;
Calculation means for calculating the degree of overlap of the defect candidate distribution based on the labeling input;
An accuracy calculating means for calculating an accuracy for evaluating the distribution of the feature amount based on the number of the pseudo defects, the number of the true defects, and the degree of overlap of the distributions;
Determination means for determining whether or not to perform learning of image data based on the required accuracy and the calculated accuracy;
An appearance inspection apparatus comprising: an output unit that outputs a result of determination by the determination unit.
前記算出手段は、
前記ラベル付け入力に基づいて、前記ラベル付けされた欠陥から母集団の分布を推定する推定手段と、
前記母集団の分布に基づいて前記重なり度合いを算出する重複度算出手段とを含む、請求項1に記載の外観検査装置。
The calculating means includes
Estimating means for estimating a population distribution from the labeled defects based on the labeling input;
The visual inspection apparatus according to claim 1, further comprising: a degree-of-overlap calculation unit that calculates the degree of overlap based on the distribution of the population.
前記判断手段は、
前記算出された精度と前記要求精度とを比較する比較手段と、
前記比較の結果に基づいて、前記学習の開始と、前記学習に必要な情報の算出とのいずれかを選択する選択手段とを含む、請求項1に記載の外観検査装置。
The determination means includes
A comparing means for comparing the calculated accuracy with the required accuracy;
The appearance inspection apparatus according to claim 1, further comprising a selection unit that selects either the start of the learning or the calculation of information necessary for the learning based on the comparison result.
前記判断手段は、前記算出された精度が前記要求精度を満足する場合に、前記学習を開始すると決定し、
前記外観検査装置は、前記判断手段が前記学習を開始しないと判断した場合に、前記要求精度と前記算出された精度とに基づいて、前記学習のために必要な情報を算出する学習情報算出手段をさらに備え、
前記出力手段は、算出された前記学習のために必要な情報を出力する情報出力手段を含む、請求項1に記載の外観検査装置。
The determination means determines to start the learning when the calculated accuracy satisfies the required accuracy,
The appearance inspection apparatus, when the determination unit determines not to start the learning, learning information calculation unit that calculates information necessary for the learning based on the required accuracy and the calculated accuracy Further comprising
The appearance inspection apparatus according to claim 1, wherein the output unit includes an information output unit that outputs information calculated for the calculated learning.
前記学習情報算出手段は、前記要求精度を満たすために必要な前記特徴量の範囲を示すための通知情報を表示する画像データを算出する生成手段を含み、
前記情報出力手段は、前記画像データに基づいて前記通知情報を表示する表示手段を含む、請求項4に記載の外観検査装置。
The learning information calculation means includes generation means for calculating image data for displaying notification information for indicating a range of the feature amount necessary to satisfy the required accuracy,
The appearance inspection apparatus according to claim 4, wherein the information output unit includes a display unit that displays the notification information based on the image data.
前記外観検査装置は、前記欠陥の候補から、予め定められた基準に基づいて前記真の欠陥および前記擬似的な欠陥を抽出する欠陥抽出手段をさらに備え、
前記生成手段は、前記欠陥抽出手段による抽出処理の結果に基づいて、前記欠陥抽出手段により抽出された真の欠陥の数および擬似的な欠陥の数を表示するための表示データを生成し、
前記表示手段は、前記表示データに基づいて、前記欠陥抽出手段により抽出された真の欠陥の数および擬似的な欠陥の数を表示する、請求項5に記載の外観検査装置。
The appearance inspection apparatus further includes defect extraction means for extracting the true defect and the pseudo defect based on a predetermined criterion from the defect candidates,
The generation unit generates display data for displaying the number of true defects and the number of pseudo defects extracted by the defect extraction unit based on the result of the extraction process by the defect extraction unit;
The visual inspection apparatus according to claim 5, wherein the display unit displays the number of true defects and the number of pseudo defects extracted by the defect extraction unit based on the display data.
前記生成手段は、
前記ラベル付けが行なわれたデータに基づいて、予め定められた第1の評価基準と、前記第1の評価基準と異なる、予め定められた第2の評価基準との関係を示すレシーバオペレーティング特性を表わす曲線を描画するためのデータを算出するデータ算出手段と、
前記曲線を描画するためのデータに基づいて、予め定められた精度を下回る範囲を算出する範囲算出手段と、
前記特徴量の空間に、前記算出された範囲を反映する反映手段と、
前記特徴量の空間に反映された範囲と、画像データから抽出される欠陥に基づいて特定される欠陥の情報とに基づいて、必要とされる特徴量の範囲を示すための範囲データを生成する画像データ生成手段とを含み、
前記表示手段は、前記範囲データに基づいて前記必要とされる特徴量の範囲を表示する、請求項6に記載の外観検査装置。
The generating means includes
A receiver operating characteristic indicating a relationship between a predetermined first evaluation criterion and a predetermined second evaluation criterion different from the first evaluation criterion based on the labeled data. Data calculating means for calculating data for drawing a curve to represent;
Based on data for drawing the curve, range calculation means for calculating a range below a predetermined accuracy;
Reflecting means for reflecting the calculated range in the feature amount space;
Based on the range reflected in the feature amount space and the defect information specified based on the defect extracted from the image data, range data for indicating the required feature amount range is generated. Image data generating means,
The visual inspection apparatus according to claim 6, wherein the display unit displays the required feature amount range based on the range data.
前記欠陥の情報は、欠陥の個数を含む、請求項7に記載の外観検査装置。   The visual inspection apparatus according to claim 7, wherein the defect information includes the number of defects. 前記範囲算出手段は、前記曲線を構成するための複数の線分を特定し、前記複数の線分の各々について、隣接する線分により構成される頂点を特定し、前記特定された頂点の各々について、頂点間の距離を算出し、算出された前記距離をソートし、そして、前記ソートされた距離に基づいて前記予め定められた範囲を下回る範囲を算出する、請求項7に記載の外観検査装置。   The range calculation means specifies a plurality of line segments for configuring the curve, specifies a vertex constituted by an adjacent line segment for each of the plurality of line segments, and each of the specified vertices The visual inspection according to claim 7, wherein a distance between vertices is calculated, the calculated distances are sorted, and a range that is less than the predetermined range is calculated based on the sorted distances. apparatus. 前記精度算出手段は、前記学習時および前記学習の終了後のいずれかにおいて、前記特徴量の分布を評価するための精度を算出する、請求項1に記載の外観検査装置。   The appearance inspection apparatus according to claim 1, wherein the accuracy calculation unit calculates an accuracy for evaluating the distribution of the feature amount either at the time of learning or after the end of the learning. 外部からデータの入力を受ける入力ステップを備え、前記データは、検査物の撮像により取得される画像データと、前記検査対象物の画像の特徴として前記画像データに基づいて表わされる特徴量を評価するために要求される要求精度とを含み、
入力された画像データに対して予め定められた画像処理を実行することにより、前記検査対象物における欠陥の候補を特定するための欠陥候補データを抽出する抽出ステップと、
前記欠陥候補データに基づいて、前記欠陥の候補の特徴量を算出する特徴量算出ステップと、
前記特徴量を表示する表示ステップと、
前記特徴量に応じて前記欠陥の候補を分類するためのラベル付けが行なわれたデータの入力を受けるステップとを備え、前記ラベル付けが行なわれたデータは、前記欠陥の候補を真の欠陥と擬似的な欠陥のいずれかとして分類するためのデータを含み、前記擬似的な欠陥は、前記真の欠陥でない欠陥の候補が欠陥として分類されるものであり、
前記ラベル付け入力に基づいて、前記欠陥の候補の分布の重なり度合いを算出する算出ステップと、
前記擬似的な欠陥の個数と、前記真の欠陥の個数と、前記分布の重なり度合いとに基づいて、前記特徴量の分布を評価するための精度を算出する精度算出ステップと、
前記要求精度と前記算出された精度とに基づいて、画像データの学習を実行する否かを判断する判断ステップと、
前記判断ステップによる判断の結果を出力する出力ステップとを備える、外観検査方法。
An input step of receiving data input from the outside, wherein the data evaluates image data acquired by imaging the inspection object and a feature amount represented based on the image data as a characteristic of the image of the inspection object; Including the required accuracy required for
An extraction step for extracting defect candidate data for specifying a defect candidate in the inspection object by executing predetermined image processing on the input image data;
A feature amount calculating step for calculating a feature amount of the defect candidate based on the defect candidate data;
A display step for displaying the feature amount;
Receiving the input of data that has been labeled to classify the defect candidates according to the feature quantity, and the data that has been labeled has the defect candidates as true defects. Including data for classifying as any of the pseudo defects, wherein the pseudo defects are those in which the defect candidates that are not true defects are classified as defects,
A calculation step of calculating an overlapping degree of the defect candidate distribution based on the labeling input;
An accuracy calculating step of calculating an accuracy for evaluating the distribution of the feature amount based on the number of the pseudo defects, the number of the true defects, and the degree of overlap of the distributions;
A determination step of determining whether to perform learning of image data based on the required accuracy and the calculated accuracy;
A visual inspection method comprising: an output step of outputting a result of determination by the determination step.
前記算出ステップは、
前記ラベル付け入力に基づいて、前記ラベル付けされた欠陥から母集団の分布を推定するステップと、
前記母集団の分布に基づいて前記重なり度合いを算出するステップとを含む、請求項11に記載の外観検査方法。
The calculating step includes:
Estimating a population distribution from the labeled defects based on the labeling input;
The visual inspection method according to claim 11, further comprising: calculating the degree of overlap based on the distribution of the population.
前記判断ステップは、
前記算出された精度と前記要求精度とを比較するステップと、
前記比較の結果に基づいて、前記学習の開始と、前記学習に必要な情報の算出とのいずれかを選択するステップとを含む、請求項11に記載の外観検査方法。
The determination step includes
Comparing the calculated accuracy with the required accuracy;
The appearance inspection method according to claim 11, comprising: selecting either the start of the learning or the calculation of information necessary for the learning based on the result of the comparison.
前記判断ステップは、前記算出された精度が前記要求精度を満足する場合に、前記学習の開始を判断し、
前記外観検査方法は、前記判断ステップが前記学習の開始を判断しない場合に、前記要求精度と前記算出された精度とに基づいて、前記学習のために必要な情報を算出するステップをさらに備え、
前記出力ステップは、算出された前記学習のために必要な情報を出力する、請求項11に記載の外観検査方法。
The determining step determines the start of learning when the calculated accuracy satisfies the required accuracy,
The visual inspection method further includes a step of calculating information necessary for the learning based on the required accuracy and the calculated accuracy when the determination step does not determine the start of the learning,
The visual inspection method according to claim 11, wherein the output step outputs the information necessary for the calculated learning.
前記精度算出ステップは、前記学習時および前記学習の終了後のいずれかにおいて、前記特徴量の分布を評価するための精度を算出する、請求項11に記載の外観検査方法。   The appearance inspection method according to claim 11, wherein the accuracy calculating step calculates an accuracy for evaluating the distribution of the feature quantity either at the time of learning or after the end of the learning. コンピュータを外観検査装置として機能させるためのプログラムであって、前記プログラムは前記コンピュータに、
外部からデータの入力を受けるステップを実行させ、前記データは、検査物の撮像により取得される画像データと、前記検査対象物の画像の特徴として前記画像データに基づいて表わされる特徴量を評価するために要求される要求精度とを含み、
入力された画像データに対して予め定められた画像処理を実行することにより、前記検査対象物における欠陥の候補を特定するための欠陥候補データを抽出するステップと、
前記欠陥候補データに基づいて、前記特徴量を算出するステップと、
前記特徴量を表示する表示ステップと、
前記特徴量に応じて前記欠陥の候補を分類するためのラベル付けが行なわれたデータの入力を受けるステップとを実行させ、前記ラベル付けが行なわれたデータは、前記欠陥の候補を真の欠陥と擬似的な欠陥のいずれかとして分類するためのデータを含み、前記擬似的な欠陥は、前記真の欠陥でない欠陥の候補が欠陥として分類されるものであり、
前記ラベル付け入力に基づいて、前記欠陥の候補の分布の重なり度合いを算出するステップと、
前記擬似的な欠陥の個数と、前記真の欠陥の個数と、前記分布の重なり度合いとに基づいて、前記特徴量の分布を評価するための精度を算出するステップと、
前記要求精度と前記算出された精度とに基づいて、画像データの学習を実行する否かを判断するステップと、
前記判断ステップによる判断の結果を出力するステップとを実行させる、プログラム。
A program for causing a computer to function as an appearance inspection apparatus, wherein the program is
A step of receiving data input from outside is executed, and the data evaluates image data acquired by imaging the inspection object and a feature amount represented based on the image data as a characteristic of the image of the inspection object. Including the required accuracy required for
Extracting defect candidate data for specifying a defect candidate in the inspection object by executing predetermined image processing on the input image data; and
Calculating the feature amount based on the defect candidate data;
A display step for displaying the feature amount;
Receiving the input of data that has been labeled to classify the defect candidates according to the feature amount, and the labeled data is used to identify the defect candidates as true defects. And the data for classifying as a pseudo defect, the pseudo defect is a candidate for a defect that is not a true defect, and is classified as a defect,
Calculating an overlap degree of the distribution of the defect candidates based on the labeling input;
Calculating accuracy for evaluating the distribution of the feature quantity based on the number of pseudo defects, the number of true defects, and the degree of overlap of the distributions;
Determining whether to perform learning of image data based on the required accuracy and the calculated accuracy;
And a step of outputting a result of determination by the determination step.
請求項16に記載のプログラムを格納した、コンピュータ読み取り可能な記録媒体。   A computer-readable recording medium storing the program according to claim 16.
JP2005115738A 2005-04-13 2005-04-13 Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium Withdrawn JP2006292615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005115738A JP2006292615A (en) 2005-04-13 2005-04-13 Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005115738A JP2006292615A (en) 2005-04-13 2005-04-13 Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium

Publications (1)

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

Family

ID=37413330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005115738A Withdrawn JP2006292615A (en) 2005-04-13 2005-04-13 Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium

Country Status (1)

Country Link
JP (1) JP2006292615A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014017337A1 (en) * 2012-07-27 2014-01-30 株式会社日立ハイテクノロジーズ Matching process device, matching process method, and inspection device employing same
JP2016133895A (en) * 2015-01-16 2016-07-25 キヤノン株式会社 Information processing device, information processing method, and program
KR101782363B1 (en) 2016-05-23 2017-09-27 (주)에이앤아이 Vision inspection method based on learning data
KR101782366B1 (en) 2016-05-23 2017-09-27 (주)에이앤아이 Vision inspection method based on learning data using normalization of sample scale
JP2020060462A (en) * 2018-10-11 2020-04-16 神鋼検査サービス株式会社 Defect detection support device, method and program
CN112129768A (en) * 2019-06-25 2020-12-25 欧姆龙株式会社 Appearance inspection management system, device, method and storage medium
CN114136991A (en) * 2021-10-29 2022-03-04 武汉精创电子技术有限公司 Layered appearance detection system and method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014017337A1 (en) * 2012-07-27 2014-01-30 株式会社日立ハイテクノロジーズ Matching process device, matching process method, and inspection device employing same
JP2014026521A (en) * 2012-07-27 2014-02-06 Hitachi High-Technologies Corp Matching processor, matching processing method and inspection apparatus using the same
US9619727B2 (en) 2012-07-27 2017-04-11 Hitachi High-Technologies Corporation Matching process device, matching process method, and inspection device employing same
JP2016133895A (en) * 2015-01-16 2016-07-25 キヤノン株式会社 Information processing device, information processing method, and program
US10262233B2 (en) 2015-01-16 2019-04-16 Canon Kabushiki Kaisha Image processing apparatus, image processing method, program, and storage medium for using learning data
WO2017204519A3 (en) * 2016-05-23 2018-08-09 (주)에이앤아이 Vision inspection method using data balancing-based learning, and vision inspection apparatus using data balancing-based learning utilizing vision inspection method
KR101782366B1 (en) 2016-05-23 2017-09-27 (주)에이앤아이 Vision inspection method based on learning data using normalization of sample scale
CN109462999A (en) * 2016-05-23 2019-03-12 Ani有限公司 Vision inspection method by data balancing based on study and the vision inspection device using it
KR101782363B1 (en) 2016-05-23 2017-09-27 (주)에이앤아이 Vision inspection method based on learning data
CN109462999B (en) * 2016-05-23 2021-05-07 Ani有限公司 Visual inspection method based on learning through data balance and visual inspection device using same
JP2020060462A (en) * 2018-10-11 2020-04-16 神鋼検査サービス株式会社 Defect detection support device, method and program
CN112129768A (en) * 2019-06-25 2020-12-25 欧姆龙株式会社 Appearance inspection management system, device, method and storage medium
CN112129768B (en) * 2019-06-25 2024-06-04 欧姆龙株式会社 Appearance inspection management system, apparatus, method, and storage medium
CN114136991A (en) * 2021-10-29 2022-03-04 武汉精创电子技术有限公司 Layered appearance detection system and method

Similar Documents

Publication Publication Date Title
TWI603409B (en) Adaptive sampling for semiconductor inspection recipe creation, defect review, and metrology
TWI750553B (en) Method of defect detection on a specimen and system thereof
US7720275B2 (en) Method and apparatus for detecting pattern defects
TW490591B (en) Pattern inspection apparatus, pattern inspection method, and recording medium
US6941009B2 (en) Method for evaluating pattern defects on a water surface
TWI748122B (en) System, method and computer program product for classifying a plurality of items
CN114092387B (en) Generating training data usable for inspection of semiconductor samples
US9846929B2 (en) Fast density estimation method for defect inspection application
JP2011158373A (en) Method for creation of teacher data for use in automatic defect classification, and method and apparatus for automatic defect classification
KR20220012217A (en) Machine Learning-Based Classification of Defects in Semiconductor Specimens
JP2006292615A (en) Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium
JP2006293820A (en) Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device
CN114930260A (en) Determining defect locations of test samples
JP3756507B1 (en) Image processing algorithm evaluation method and apparatus, image processing algorithm generation method and apparatus, program, and program recording medium
CN118038454A (en) Wafer defect root cause analysis method and device based on proprietary large model
JP7120528B2 (en) Classifier construction method, image classification method, classifier construction device, and image classification device
JP2007017264A (en) Method and device for evaluating image processing algorithm, method and device for generating image processing algorithm, program, and program recording medium
JP3447716B2 (en) Image processing device
JP2006260410A (en) Evaluation apparatus and method for image processing algorithm, producing system and method, program for making computer function as evaluation system, and program for making computer function as producing system
JP7559633B2 (en) Integrated model generation method, image inspection system, image inspection model generation device, image inspection model generation program, and image inspection device
WO2023112302A1 (en) Training data creation assistance device and training data creation assistance method
WO2013008531A1 (en) Scanning electron microscope, defect inspection system, and defect inspection device
JP2021068745A (en) Defect classification device and defect classification program
CN116802676A (en) Method for using chip design data to improve optical inspection and metrology image quality
JP2022025357A (en) Image processing apparatus, image processing method, and program

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