JP2006293820A - Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device - Google Patents

Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device Download PDF

Info

Publication number
JP2006293820A
JP2006293820A JP2005115735A JP2005115735A JP2006293820A JP 2006293820 A JP2006293820 A JP 2006293820A JP 2005115735 A JP2005115735 A JP 2005115735A JP 2005115735 A JP2005115735 A JP 2005115735A JP 2006293820 A JP2006293820 A JP 2006293820A
Authority
JP
Japan
Prior art keywords
defect
algorithm
determination
inspection
evaluation value
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
JP2005115735A
Other languages
Japanese (ja)
Inventor
Tamon Idono
多聞 井殿
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 JP2005115735A priority Critical patent/JP2006293820A/en
Publication of JP2006293820A publication Critical patent/JP2006293820A/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)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an appearance inspection device capable of outputting a notification prompting relearning. <P>SOLUTION: An appearance inspection device 100 includes a step (S310) of accepting input of an algorithm generation command, a step (S400) of executing algorithm generation processing, a step (S320) of accepting input of a threshold of ROC evaluation values and a condition of ROC analysis, a step (S330) of executing inspection using a generated algorithm, a step (S600) of executing ROC analysis in the case that the condition of ROC analysis is met (YES in a step 340), and a step (S370) of outputting information prompting relearning in the case that a ROC evaluation value meets a predetermined condition (YES in a step S360). <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像処理を実行することにより検査対象物を検査する技術に関する。より特定的には、本発明は、最適化手法によって生成されたアルゴリズムに基づくパターン認識技術に関し、より詳しくは、検査のための画像データの学習機能を有する外観検査装置、外観検査方法およびコンピュータを外観検査装置として機能させるためのプログラムに関する。   The present invention relates to a technique for inspecting an inspection object by executing image processing. More specifically, the present invention relates to a pattern recognition technique based on an algorithm generated by an optimization method, and more specifically, an appearance inspection apparatus, an appearance inspection method, and a computer having an image data learning function for inspection. The present invention relates to a program for functioning as an appearance inspection apparatus.

従来、外観検査装置には、検査対象の外観を撮像した画像データに対して、最適化手法により生成されたアルゴリズムを用いて画像処理することによって、欠陥を自動的に検出するものがある。たとえば、半導体や液晶基板などの外観検査装置では、基板の表面に生じた割れ、かけ、異物付着、ムラなどの欠陥の画像を学習画像として用いる例がある。   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, in an appearance inspection apparatus such as a semiconductor or a liquid crystal substrate, there is an example in which an image of defects such as cracks, hooks, foreign matter adhesion, and unevenness generated on the surface of the substrate is used as a learning image.

この画像処理検査の過程において、学習する段階で想定していた入力パターンと異なる欠陥パターンが入力される場合や、照明の明るさが変化し、欠陥の撮像画像が全体的や部分的に暗くなりなるなど経時変化する場合があり、画像処理検査の精度が落ちることがある。よって、画像処理検査に用いるアルゴリズムを最適化手法により再学習するタイミングを知ることが重要となる。そこで、これらの課題を解決するために、画像認識あるいは画像処理に関する技術が、特許文献1〜6に開示されている。   In this image processing inspection process, when a defect pattern different from the input pattern assumed at the learning stage is input, the brightness of the illumination changes, and the captured image of the defect becomes totally or partially dark. The accuracy of image processing inspection may be reduced. Therefore, it is important to know the timing for re-learning the algorithm used for the image processing inspection by the optimization method. In order to solve these problems, techniques relating to image recognition or image processing are disclosed in Patent Documents 1 to 6.

たとえば特許第3334807号公報(特許文献1)は、パターン分類のためのニューラルネットにおける出力パターンの信頼度を判断でき、正解率の低下を検出可能なパターン分類装置を開示している。この装置は、与えられた入力パターンとニューラルネットの学習に用いる学習用データの入力パターンとを比較する入力パターン監視モジュール、学習用データを格納する学習用データファイル、与えられた入力パターンに対する上記ニューラルネットの出力パターンと当該入力パターンについての正解出力パターンとを比較して、比較結果を履歴として蓄積し、該比較結果から異常を判断する実行履歴監視モジュール、該比較結果の履歴を格納する実行履歴ファイル、および当該実行履歴ファイルの内容と上記学習用データファイルの内容を読み出し、読み出された当該実行履歴ファイルの内容を当該学習用データファイルに追加記録し、当該実行履歴ファイルと比較して矛盾が検出されない学習用データを新たに作成してファイル内容を更新する学習用データ更新処理モジュールを備える。   For example, Japanese Patent No. 3334807 (Patent Document 1) discloses a pattern classification apparatus that can determine the reliability of an output pattern in a neural network for pattern classification and can detect a decrease in the accuracy rate. This apparatus includes an input pattern monitoring module that compares a given input pattern with an input pattern of learning data used for learning of a neural network, a learning data file that stores learning data, and the above-described neural network for the given input pattern. An execution history monitoring module that compares the net output pattern with the correct output pattern for the input pattern, accumulates the comparison results as a history, and determines an abnormality from the comparison results, and an execution history that stores the history of the comparison results The file and the contents of the execution history file and the contents of the learning data file are read out, the contents of the read execution history file are additionally recorded in the learning data file, and compared with the execution history file. Create new learning data that does not detect Provided with a learning data update processing module that new to.

特許第3334807号公報に開示された装置によると、入力パターン監視モジュールによって、入力パターンとニューラルネットワークの学習に用いる各学習用データの入力パターンとが比較される。また、入力パターンと学習用データの入力パターン全体の分布とが比較される。すなわち、与えられた入力学習用データの入力パターン全体の分布における位置が計算され、かつ与えられた入力パターンに類似した入力パターンを持つ学習用データが検索される。このような監視により、与えられた入力パターンがどの学習用データの入力パターンとも類似していない場合には、この事実が検出される。これにより、当該装置の利用者は、与えられた入力パターンに対して分類結果の信頼度が低いことを知ることができるため、検査精度が低下することを検知することができる。   According to the apparatus disclosed in Japanese Patent No. 3334807, the input pattern monitoring module compares the input pattern with the input pattern of each learning data used for learning of the neural network. Also, the input pattern and the distribution of the entire input pattern of the learning data are compared. That is, the position of the given input learning data in the distribution of the entire input pattern is calculated, and learning data having an input pattern similar to the given input pattern is searched. Such monitoring detects this fact if the input pattern given is not similar to any learning data input pattern. Thereby, since the user of the said apparatus can know that the reliability of a classification result is low with respect to the given input pattern, it can detect that a test | inspection precision falls.

また、特開平10-171910号公報(特許文献2)は、デジタル画像データによって学習がなされた人工ニューラルネットワークを用いて異常を効率よく検出することができる診断支援装置を開示している。この装置は、画像データから部分データを抽出するための抽出部と、当該抽出部によって抽出された部分データに基づいて第1信号データを出力する第1のニューラルネットワーク部と、当該第1信号データに基づいて第2信号データを出力する第2のニューラルネットワーク部と、当該第2信号データに基づいて診断結果を出力するための判定部とを備える。   Japanese Laid-Open Patent Publication No. 10-171910 (Patent Document 2) discloses a diagnosis support apparatus that can efficiently detect an abnormality using an artificial neural network that has been learned using digital image data. The apparatus includes an extraction unit for extracting partial data from image data, a first neural network unit that outputs first signal data based on the partial data extracted by the extraction unit, and the first signal data A second neural network unit that outputs the second signal data based on the second signal data, and a determination unit for outputting a diagnosis result based on the second signal data.

特開平10-171910号公報に開示された装置によると、ニューラルネットワークの学習の段階で、生成されたアルゴリズム(ニューラルネットワーク)の優劣を比較するものとして、レシーバオペレーティング特性(ROC(Receiver Operating Characteristics))曲線の下側の面積を用いて、所定の下限値よりも大きくなるまで学習を継続するという技術が用いられている。
特許第3334807号公報 特開平10-171910号公報 特開2004−213567号公報 特開2000−11093号公報 特開平6−237925号公報 特開2003−208595号公報
According to the apparatus disclosed in Japanese Patent Laid-Open No. 10-171910, a receiver operating characteristic (ROC (Receiver Operating Characteristics)) is used to compare the superiority and inferiority of a generated algorithm (neural network) at the learning stage of a neural network. A technique is used in which learning is continued until an area below the curve becomes larger than a predetermined lower limit value.
Japanese Patent No. 3334807 Japanese Patent Laid-Open No. 10-171910 JP 2004-213567 A JP 2000-11093 A JP-A-6-237925 JP 2003-208595 A

被検査物を撮影することにより得られる画像データに基づいて当該被検査物の外観を検査する場合に、特許第3334807号公報に開示された技術を適用すると、以下のような問題が生じ得る。すなわち、ニューラルネットワークの入力パターンとして画像のピクセルの濃淡値が用いられる場合、画像サイズが大きくなるにつれて入力パターンの次元も大きくなる。そのため、ニューラルネットワークの学習の収束が困難となり、実用的でなくなるという問題が生じ得る。また、その画像の中のどの部分に欠陥が存在するかによって、出力結果は大きく異なるという問題も生じ得る。さらに、入力パターンと学習に用いられた入力パターンとの比較において、画像全体に濃淡値のオフセットが乗っただけの欠陥(すなわち、見た目には同じような欠陥)や、位置が数ピクセルだけ移動したような画像データが入力されると、違うものが入力されたと判断される場合がある。そのため、検査入力パターンとして画像のピクセルの濃淡値を用いることは実用的ではないという問題があった。   If the technique disclosed in Japanese Patent No. 3334807 is applied to the appearance of the inspection object based on image data obtained by photographing the inspection object, the following problems may occur. That is, when the gray value of an image pixel is used as the input pattern of the neural network, the dimension of the input pattern increases as the image size increases. For this reason, it is difficult to converge the learning of the neural network, which may cause a problem that it becomes impractical. Also, there may be a problem that the output result varies greatly depending on which part of the image has a defect. Furthermore, in the comparison between the input pattern and the input pattern used for learning, the entire image has a defect that only has a gray value offset (that is, a defect that looks similar), or the position has moved by a few pixels. When such image data is input, it may be determined that a different one is input. Therefore, there is a problem that it is not practical to use the gray value of the pixel of the image as the inspection input pattern.

そこで、検査入力パターンとして、パターン認識でクラス判定に用いられる欠陥の特徴量ベクトルを用いることが考えられる。特徴量ベクトルを用いると、入力パターンの欠陥特徴量の分布状況によって検査精度の信頼性を判断することは、ある程度可能である。しかし、特許第3334807号公報は、パターン認識における分類・識別の最適化についてを開示しており、画像処理自体の最適化に直接結びつく内容を開示していない。さらに、再学習が必要となる指標は、ニューラルネットワークの出力パターンと、正解出力パターンとの間の平均誤差であるために、定量的な評価を行なうことができない。つまり、再学習開始の閾値を設定するには、ある程度の経験が必要とされるという問題もあった。   Therefore, it is conceivable to use a defect feature vector used for class determination in pattern recognition as an inspection input pattern. If the feature quantity vector is used, it is possible to some extent to judge the reliability of the inspection accuracy based on the distribution state of the defect feature quantity of the input pattern. However, Japanese Patent No. 3334807 discloses the optimization of classification / identification in pattern recognition, and does not disclose the contents directly related to the optimization of the image processing itself. Furthermore, since the index that requires re-learning is an average error between the output pattern of the neural network and the correct output pattern, quantitative evaluation cannot be performed. That is, there is a problem that a certain degree of experience is required to set the threshold for starting the relearning.

一方、特開平10-171910号公報に開示された装置によると、第1のニューラルネットワークの入力として、検査領域画像の水平方向のプロファイル、第2のニューラルネットワークの入力として、検査領域画像の垂直方向のプロファイルを用いて、ROC曲線の下側の面積が所定値より大きくなるまで学習を継続する。しかしながら、特開平10-171910号公報は、再学習の開始について開示していない。そのため、当該診断支援装置は、再学習を開始するタイミングを検知することができないという問題があった。   On the other hand, according to the apparatus disclosed in Japanese Patent Application Laid-Open No. 10-171910, the horizontal direction profile of the inspection area image as the input of the first neural network, and the vertical direction of the inspection area image as the input of the second neural network. Using this profile, learning is continued until the area under the ROC curve becomes larger than a predetermined value. However, Japanese Patent Laid-Open No. 10-171910 does not disclose the start of relearning. Therefore, the diagnosis support apparatus has a problem that it cannot detect the timing for starting the relearning.

本発明は、上述の問題点を解決するためになされたものである。その目的は、最適化手法により生成されたアルゴリズムを用いた外観の検査を行なう場合において、当該検査の信頼性あるいは精度が確率的に保証される外観検査装置を提供することである。   The present invention has been made to solve the above-described problems. An object of the present invention is to provide an appearance inspection apparatus that probabilistically guarantees the reliability or accuracy of an inspection when an appearance inspection is performed using an algorithm generated by an optimization method.

本発明の他の目的は、再学習の開始のタイミングを検知可能な外観検査装置を提供することである。   Another object of the present invention is to provide an appearance inspection apparatus capable of detecting the start timing of relearning.

本発明の他の目的は、最適化手法により生成されたアルゴリズムを用いた外観の検査を行なう場合において、当該検査の信頼性あるいは精度が確率的に保証される外観検査方法を提供することである。   Another object of the present invention is to provide an appearance inspection method in which the reliability or accuracy of the inspection is probabilistically guaranteed when the appearance inspection is performed using an algorithm generated by an optimization method. .

本発明の他の目的は、最適化手法により生成されたアルゴリズムを用いた外観の検査を行なう場合において、当該検査の信頼性あるいは精度が確率的に保証される外観検査装置として、コンピュータを機能させるためのプログラムを提供することである。   Another object of the present invention is to allow a computer to function as an appearance inspection apparatus that probabilistically guarantees the reliability or accuracy of the inspection when performing appearance inspection using an algorithm generated by an optimization method. Is to provide a program for

上記の課題を解決するために、この発明のある局面に従うと、外観検査装置は、画像処理のためのアルゴリズムを生成する生成手段と、複数の検査対象物の撮影により生成された画像データの入力を受ける入力手段とを備える。複数の検査対象物の各々の外観は、たとえば、照明の劣化や振動による光学条件の変化などの原因によって、撮影の時期に応じて変動する。外観検査装置は、複数の検査対象物の各々の撮影により生成された各画像データに対してアルゴリズムに基づく画像処理を実行する処理手段と、画像データに基づいて、複数の検査対象物の各々における欠陥を検出する検出手段と、検出手段による検出の結果と、複数の検査対象物の各々について予め準備されている外観の検査の結果とに基づいて、欠陥が欠陥として検出された割合と、良品が欠陥として検出された割合とに基づく評価値を算出する評価値算出手段と、評価値と予め定められた閾値とが予め定められた条件を満足するか否かを判断する判断手段と、判断手段による判断の結果に基づいて、画像処理のためのアルゴリズムを新たに生成する必要があるか否かを判断する必要性判断手段と、必要性判断手段による判断の結果に基づいて、生成手段に新たなアルゴリズムを生成させる再学習手段とを備える。   In order to solve the above-described problems, according to one aspect of the present invention, an appearance inspection apparatus includes a generation unit that generates an algorithm for image processing, and input of image data generated by photographing a plurality of inspection objects. Receiving means. The appearance of each of the plurality of inspection objects varies depending on the time of shooting due to causes such as illumination deterioration and changes in optical conditions due to vibration. The appearance inspection apparatus includes a processing unit that performs image processing based on an algorithm for each image data generated by photographing each of the plurality of inspection objects, and each of the plurality of inspection objects based on the image data. Based on detection means for detecting defects, detection results by the detection means, and appearance inspection results prepared in advance for each of a plurality of inspection objects, the proportion of defects detected as defects, and non-defective products An evaluation value calculating means for calculating an evaluation value based on the ratio of detected as a defect, a determination means for determining whether the evaluation value and a predetermined threshold satisfy a predetermined condition, and a determination Based on the result of determination by the means, necessity determination means for determining whether or not it is necessary to newly generate an algorithm for image processing, and based on the result of determination by the necessity determination means. There are, and a re-learning means for generating a new algorithm for the generation means.

好ましくは、判断手段は、評価値が閾値を下回るか否かを判断する。   Preferably, the determination unit determines whether or not the evaluation value is below a threshold value.

好ましくは、必要性判断手段は、評価値と閾値とが条件を満足していない場合には、画像処理の対象となる欠陥のパターンは、アルゴリズムが生成された時に対象とされていた欠陥のクラスと良品のクラスとの母集団には含まれないと判断し、そして画像処理のためのアルゴリズムを新たに生成する必要があると判断する。   Preferably, if the evaluation value and the threshold value do not satisfy the condition, the necessity determination unit determines that the defect pattern to be subjected to image processing is the defect class that was the target when the algorithm was generated. And the non-defective class are not included in the population, and it is determined that a new algorithm for image processing needs to be generated.

好ましくは、外観検査装置は、アルゴリズムを新たに生成する必要がある判断された場合に使用された画像データを格納する記憶手段をさらに備える。再学習手段は、再学習が必要であると判断された場合に使用された画像データに基づいて、生成手段に新たなアルゴリズムを生成させる。   Preferably, the visual inspection apparatus further includes storage means for storing image data used when it is determined that a new algorithm needs to be generated. The re-learning means causes the generating means to generate a new algorithm based on the image data used when it is determined that re-learning is necessary.

好ましくは、評価値算出手段は、外観の特徴量により表現される特徴量データに基づいて、評価値を算出する。特徴量は、撮影によって生成された画像データの特徴を表わす。外観検査装置は、検査対象物を欠陥および良品のいずれかに分類するための基準である識別器データに基づいて、予め定められた条件を満足する評価値を取得することができるか否かを判断する取得性判断手段をさらに備える。再学習手段は、特徴量データに基づいて予め定められた分析処理を実行することにより識別器データの値を変更する。   Preferably, the evaluation value calculation means calculates an evaluation value based on feature amount data expressed by an appearance feature amount. The feature amount represents the feature of the image data generated by photographing. Whether the appearance inspection apparatus can acquire an evaluation value that satisfies a predetermined condition based on the discriminator data that is a reference for classifying the inspection object as either a defect or a non-defective product. It further includes an acquisition property determination means for determining. The relearning unit changes the value of the discriminator data by executing a predetermined analysis process based on the feature amount data.

好ましくは、外観検査装置は、必要性判断手段による判断の結果に基づいて、新たなアルゴリズムを生成する必要であることを通知する通知手段をさらに備える。   Preferably, the appearance inspection apparatus further includes notification means for notifying that a new algorithm needs to be generated based on the result of determination by the necessity determination means.

好ましくは、外観検査装置は、複数の検査対象物の各々の撮影により生成された各画像データに基づいて、複数の検査対象物の各々の表面に欠陥が生じているか否かを判定する欠陥判定手段をさらに備える。   Preferably, the appearance inspection device determines whether or not a defect has occurred on each surface of the plurality of inspection objects based on each image data generated by photographing each of the plurality of inspection objects. Means are further provided.

好ましくは、再学習手段は、画像処理のためのアルゴリズムと識別器データとの少なくともいずれかのデータを取得するための取得手段を含む。識別器データは、複数の検査対象物の各々を欠陥および良品のいずれかに分類するための基準である。外観検査装置は、取得手段により取得されたいずれかのデータに基づいて、複数の検査対象物の各々の表面に欠陥が生じているか否かを判定する判定手段をさらに備える。   Preferably, the relearning unit includes an acquisition unit for acquiring at least one of an algorithm for image processing and classifier data. The discriminator data is a standard for classifying each of the plurality of inspection objects as either a defect or a non-defective product. The appearance inspection apparatus further includes determination means for determining whether or not a defect has occurred on the surface of each of the plurality of inspection objects based on any data acquired by the acquisition means.

この発明の他の局面に従うと、外観検査方法は、画像処理のためのアルゴリズムを生成するステップと、複数の検査対象物の撮影により生成された画像データの入力を受けるステップとを備える。複数の検査対象物の各々の外観は、撮影の時期に応じて変動する。外観検査方法は、複数の検査対象物の各々の撮影により生成された各画像データに対してアルゴリズムに基づく画像処理を実行するステップと、画像データに基づいて、複数の検査対象物の各々における欠陥を検出するステップと、検出の結果と、複数の検査対象物の各々について予め準備されている外観の検査の結果とに基づいて、欠陥が欠陥として検出された割合と、良品が欠陥として検出された割合とに基づく評価値を算出するステップと、評価値と予め定められた閾値とが予め定められた条件を満足するか否かを判断する第1の判断ステップと、第1の判断ステップにおける判断の結果に基づいて、画像処理のためのアルゴリズムを新たに生成する必要があるか否かを判断する第2の判断ステップと、第2の判断ステップにおける判断の結果に基づいて、新たなアルゴリズムを生成するステップとを備える。   According to another aspect of the present invention, an appearance inspection method includes a step of generating an algorithm for image processing and a step of receiving input of image data generated by photographing a plurality of inspection objects. The appearance of each of the plurality of inspection objects varies depending on the time of imaging. The visual inspection method includes a step of performing image processing based on an algorithm for each image data generated by photographing each of the plurality of inspection objects, and a defect in each of the plurality of inspection objects based on the image data , A detection result, and a ratio of a defect detected as a defect and a non-defective product detected as a defect based on a result of an appearance inspection prepared in advance for each of a plurality of inspection objects. An evaluation value based on the determined ratio, a first determination step for determining whether the evaluation value and a predetermined threshold satisfy a predetermined condition, and a first determination step Based on the result of the determination, a second determination step for determining whether or not it is necessary to newly generate an algorithm for image processing, and a determination in the second determination step. Based on the results, and generating a new algorithm.

この発明のさらに他の局面に従うと、プログラムは、コンピュータを外観検査装置として機能させるためのプログラムである。このプログラムはコンピュータに、画像処理のためのアルゴリズムを生成するステップと、複数の検査対象物の撮影により生成された画像データの入力を受けるステップとを実行させる。複数の検査対象物の各々の外観は、撮影の時期に応じて変動する。プログラムは、コンピュータに、複数の検査対象物の各々の撮影により生成された各画像データに対してアルゴリズムに基づく画像処理を実行するステップと、画像データに基づいて、複数の検査対象物の各々における欠陥を検出するステップと、検出の結果と、複数の検査対象物の各々について予め準備されている外観の検査の結果とに基づいて、欠陥が欠陥として検出された割合と、良品が欠陥として検出された割合とに基づく評価値を算出するステップと、評価値と予め定められた閾値とが予め定められた条件を満足するか否かを判断する第1の判断ステップと、第1の判断ステップにおける判断の結果に基づいて、画像処理のためのアルゴリズムを新たに生成する必要があるか否かを判断する第2の判断ステップと、第2の判断ステップによる判断の結果に基づいて、新たなアルゴリズムを生成するステップとを実行させる。   According to still another aspect of the present invention, the program is a program for causing a computer to function as an appearance inspection apparatus. The program causes a computer to execute an algorithm for image processing and a step of receiving input of image data generated by photographing a plurality of inspection objects. The appearance of each of the plurality of inspection objects varies depending on the time of imaging. The program performs a step of executing image processing based on an algorithm on each image data generated by photographing each of the plurality of inspection objects, and each of the plurality of inspection objects based on the image data. Based on the step of detecting the defect, the result of the detection, and the result of the appearance inspection prepared in advance for each of the plurality of inspection objects, the ratio of the defect detected as a defect and the non-defective product detected as a defect A step of calculating an evaluation value based on the ratio, a first determination step of determining whether the evaluation value and a predetermined threshold satisfy a predetermined condition, and a first determination step And a second determination step for determining whether or not a new algorithm for image processing needs to be generated, based on the determination result in Based on the results of determination by the flop, and a step of generating a new algorithm.

本発明に係る外観検査装置によると、検査精度、信頼性を定量的に算出することができる。また、検査精度の閾値を予め設定することにより、再学習の必要性が通知されるため、外観検査装置は、学習データを迅速に更新することができる。   According to the appearance inspection apparatus according to the present invention, the inspection accuracy and reliability can be calculated quantitatively. In addition, since the necessity of relearning is notified by setting a threshold value for inspection accuracy in advance, the appearance inspection apparatus can update learning data quickly.

本発明に係るプログラムによると、コンピュータは、検査精度、信頼性を定量的に算出することができる外観検査装置として機能することができる。   According to the program according to the present invention, the computer can function as an appearance inspection apparatus capable of quantitatively calculating inspection accuracy and reliability.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   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 schematically shows a system configuration of the inspection system 10.

検査システム10は、ステージ111と、ステージ111において予め定められた範囲に光を照射する光源113と、ステージ111において予め定められた範囲を撮影して画像信号を出力するカメラ114と、ステージ111と光源113とカメラ114との動作をそれぞれ制御するコントローラ115と、カメラ114とコントローラ115とに接続された外観検査装置100とを含む。ステージ111には、外観の検査の対象となる被検査物112が予め定められた範囲に装着される。被検査物112の外観は、照明の劣化や振動による光学条件の変化などの原因によって、カメラ114による撮影の時期に応じて変動する。被検査物112は、予め定められた撮像処理および検査処理が終了すると、ステージ111から搬出される。外観検査装置100は、画像処理部116と、主制御部117と、補助記録装置118と、出力部119とを含む。   The inspection system 10 includes a stage 111, a light source 113 that irradiates light on a predetermined range on the stage 111, a camera 114 that captures a predetermined range on the stage 111 and outputs an image signal, and a stage 111. It includes a controller 115 that controls operations of the light source 113 and the camera 114, respectively, and an appearance inspection apparatus 100 connected to the camera 114 and the controller 115. On the stage 111, an inspection object 112 to be inspected for appearance is mounted in a predetermined range. The appearance of the inspection object 112 varies depending on the timing of photographing by the camera 114 due to causes such as deterioration of illumination and changes in optical conditions due to vibration. The inspection object 112 is unloaded from the stage 111 when predetermined imaging processing and inspection processing are completed. The appearance inspection apparatus 100 includes an image processing unit 116, a main control unit 117, an auxiliary recording device 118, and an output unit 119.

画像処理部116は、カメラ114から出力される画像信号に対して予め定められた画像処理を実行する。主制御部117は、所定の動作を実行させるための制御信号を出力することによりコントローラ115を制御する。コントローラ115は、その制御信号に基づいて、ステージ111、光源113、カメラ114のそれぞれの動作を制御する。主制御部117は、画像処理部116に対して所定の指令を出力することにより、画像処理のためのアルゴリズムを用いた処理を実行させる。   The image processing unit 116 performs predetermined image processing on the image signal output from the camera 114. The main control unit 117 controls the controller 115 by outputting a control signal for executing a predetermined operation. The controller 115 controls the operations of the stage 111, the light source 113, and the camera 114 based on the control signal. The main control unit 117 outputs a predetermined command to the image processing unit 116 to execute processing using an algorithm for image processing.

補助記録装置118は、外観検査装置100における動作に必要なデータを格納する。このデータは、後述するように、外部から入力されるデータと、主制御部117あるいは画像処理部116によって生成されたデータとを含む。出力部119は、主制御部117によって生成されたデータに基づいて外観検査装置100の状態を出力する。出力されるデータは、たとえば外観検査装置100における学習が必要である旨、新たなパラメータを用いて外観処理を促すメッセージなどを含む。   The auxiliary recording device 118 stores data necessary for the operation of the appearance inspection device 100. As will be described later, this data includes data input from the outside and data generated by the main control unit 117 or the image processing unit 116. The output unit 119 outputs the state of the appearance inspection apparatus 100 based on the data generated by the main control unit 117. The output data includes, for example, a message indicating that learning in the appearance inspection apparatus 100 is necessary, and a message that prompts appearance processing using new parameters.

図2を参照して、外観検査装置100のデータ構造について説明する。図2は、補助記録装置118におけるデータの格納の一態様を概念的に表わす図である。   The data structure of the appearance inspection apparatus 100 will be described with reference to FIG. FIG. 2 is a diagram conceptually showing one mode of data storage in the auxiliary recording device 118.

補助記録装置118は、領域210〜280を含む。画像処理を実行するために予め生成されたアルゴリズムは、領域210に格納されている。このアルゴリズムは、外観検査装置100の構成時に格納されたものに限られず、その後の学習処理によって更新されたアルゴリズムをも含む。当該アルゴリズムによって所定の画像処理が実行された結果である検査結果は、領域220に格納されている。すなわちカメラ114から出力される画像データに基づいて実行された処理の結果が、領域220に格納されている。一方、同一の被検査物112に対して本来出力されるべき結果である真の結果は、領域230に格納されている。   The auxiliary recording device 118 includes areas 210 to 280. An algorithm generated in advance for executing image processing is stored in area 210. This algorithm is not limited to the one stored when the appearance inspection apparatus 100 is configured, and includes an algorithm updated by subsequent learning processing. An inspection result that is a result of executing predetermined image processing by the algorithm is stored in the area 220. That is, the result of the process executed based on the image data output from the camera 114 is stored in the area 220. On the other hand, the true result that is the result that should be output to the same inspection object 112 is stored in the area 230.

学習の終了条件は、領域240に格納されている。終了条件は、たとえば後述する処理におけるループ処理の回数、学習時間あるいは学習の評価値などを含む。ROC解析の結果は、データが生成されるごとに順次格納される。たとえば、「ROC解析の結果0001.data」は、領域250の格納されている。その後、ROC解析処理が再度実行されると、その実行に応じてそれぞれ生成される結果が、蓄積される。図2に示される例では、たとえば1ヵ月ごとに生成されたデータが、領域250〜領域280にそれぞれ格納されている。   The learning end condition is stored in the area 240. The termination condition includes, for example, the number of loop processes in a process to be described later, a learning time, or an evaluation value of learning. The result of the ROC analysis is sequentially stored every time data is generated. For example, “ROC analysis result 0001.data” stores the area 250. Thereafter, when the ROC analysis process is executed again, the results generated in response to the execution are accumulated. In the example shown in FIG. 2, for example, data generated every month is stored in areas 250 to 280, respectively.

なお、外観検査装置100におけるデータ構造は、図2に示される態様に限られない。たとえば補助記録装置118は、複数の記録装置から構成されてもよい。あるいは、図2に示されるいずれかのデータは、着脱可能な記録媒体に格納されてもよい。   The data structure in the appearance inspection apparatus 100 is not limited to the aspect shown in FIG. For example, the auxiliary recording device 118 may be composed of a plurality of recording devices. Alternatively, any data shown in FIG. 2 may be stored in a removable recording medium.

図3〜図6を参照して、本実施の形態に係る外観検査装置100の制御構造について説明する。図3〜図6は、それぞれ、画像処理部116および主制御部117が実行する処理の手順を表わすフローチャートである。   A control structure of appearance inspection apparatus 100 according to the present embodiment will be described with reference to FIGS. 3 to 6 are flowcharts showing the procedure of processes executed by the image processing unit 116 and the main control unit 117, respectively.

図3を参照して、ステップS310にて、主制御部117は、入力インターフェイス(図示しない)を介してアルゴリズムの生成指令の入力を受ける。ステップS400にて、主制御部117は、後述するアルゴリズム生成処理を実行する。この処理が実行されると、予め定められた最適化手法に基づいて画像処理のためのアルゴリズムが生成される。   Referring to FIG. 3, in step S310, main controller 117 receives an algorithm generation instruction input via an input interface (not shown). In step S400, the main control unit 117 executes algorithm generation processing to be described later. When this processing is executed, an algorithm for image processing is generated based on a predetermined optimization method.

ステップS320にて、主制御部117は、ROC評価値の閾値とROC解析の条件の入力を受ける。ここで、ROC評価値とは、ROC曲線に基づいて算出される値をいう。ROC評価値については、図9を参照して、詳述する。再学習を行なうROC評価値の閾値は、入力されたデータに基づいて設定される。なお、学習時のROC評価値を把握する必要から、ステップS310における学習評価値としてROC評価値を使用することが好ましいが、その他の評価値が使用されてもよい。たとえば、学習画像データを用いてROC評価を行なえば、容易に学習段階でのROC評価値の閾値を知ることができる。そのため、学習の評価値としてROC評価値を用いる必要はない。また、ROC評価値の閾値は、定数値が設定されてもよく、学習段階のROC評価値から何%下がるという条件が設定されてもよい。さらに、ROC評価を行なう条件が設定される。当該条件は、例えば、利用者の任意のタイミングでもよく、あるいは定期的であってもよい。   In step S320, main controller 117 receives an input of the ROC evaluation value threshold and ROC analysis conditions. Here, the ROC evaluation value refers to a value calculated based on the ROC curve. The ROC evaluation value will be described in detail with reference to FIG. The threshold value of the ROC evaluation value for performing relearning is set based on the input data. In addition, since it is necessary to grasp the ROC evaluation value at the time of learning, it is preferable to use the ROC evaluation value as the learning evaluation value in step S310, but other evaluation values may be used. For example, if ROC evaluation is performed using learning image data, it is possible to easily know the threshold value of the ROC evaluation value at the learning stage. Therefore, it is not necessary to use the ROC evaluation value as the learning evaluation value. In addition, a constant value may be set as the threshold value of the ROC evaluation value, or a condition that the ROC evaluation value falls by what percentage from the ROC evaluation value in the learning stage may be set. Furthermore, conditions for performing ROC evaluation are set. The condition may be, for example, an arbitrary timing of the user or may be periodic.

ステップS330にて、主制御部117は、生成したアルゴリズムを用いて被検査物112の検査を実施する。ステップS340にて、主制御部117は、検査結果がROC解析を行なう条件を満たすか否かを判断する。主制御部117が、検査結果はその条件を満たすと判断すると(ステップS340にてYES)、処理はステップS600に移される。そうでない場合には(ステップS340にてNO)、処理はステップS330に戻される。   In step S330, the main control unit 117 inspects the inspected object 112 using the generated algorithm. In step S340, main controller 117 determines whether or not the inspection result satisfies the condition for performing the ROC analysis. If main control unit 117 determines that the inspection result satisfies the condition (YES in step S340), the process proceeds to step S600. If not (NO in step S340), the process returns to step S330.

ステップS600にて、主制御部117は、後述するROC解析を実行する。この処理が実行されると、外観検査装置100による再学習が必要であるか否かが、必要性の有無として通知される。   In step S600, main controller 117 performs ROC analysis described later. When this process is executed, whether or not re-learning by the appearance inspection apparatus 100 is necessary is notified as the necessity.

ステップS360にて、主制御部117は、ROC評価値が予め定められた条件を満たすか否かを判断する。この判断は、たとえばROC評価値が予め定められた閾値を上回るか否かなどに基づいて行なわれる。主制御部117が、ROC評価値は当該条件を満たすと判断すると(ステップS360にてYES)、処理はステップS330に戻される。そうでない場合には(ステップS360にてNO)、処理はステップS370に移される。   In step S360, main controller 117 determines whether or not the ROC evaluation value satisfies a predetermined condition. This determination is made based on, for example, whether the ROC evaluation value exceeds a predetermined threshold. If main control unit 117 determines that the ROC evaluation value satisfies the condition (YES in step S360), the process returns to step S330. If not (NO in step S360), the process proceeds to step S370.

ステップS370にて、主制御部117は、再学習を促すための情報を出力部119に対して出力する。その結果、出力部119は、当該情報を外部に出力する。これにより、外観検査装置100の使用者は、再学習が必要なことを容易に知ることができる。その後、処理は終了する。   In step S370, main control unit 117 outputs information for prompting relearning to output unit 119. As a result, the output unit 119 outputs the information to the outside. Thereby, the user of the appearance inspection apparatus 100 can easily know that relearning is necessary. Thereafter, the process ends.

図4は、アルゴリズムを生成するための処理の手順を表わすフローチャートである。   FIG. 4 is a flowchart showing a processing procedure for generating an algorithm.

ステップS410にて、主制御部117は、入力インターフェイス(図示しない)を介して学習画像と学習終了条件の入力を受ける。たとえば学習用に使用される欠陥の画像データと、擬似的な欠陥の画像データとが入力される。なお、入力される画像の枚数は1枚に限られない。後述するように、ROC曲線を用いた解析の精度を考慮すれば、欠陥と良品のサンプル画像は多いのが望ましい。また、学習終了条件とは、たとえばステップS420からステップS470までのループ処理が実行される回数、学習時間、学習のための評価値、外観検査装置100の外部からの停止命令の入力等を含む。   In step S410, main controller 117 receives a learning image and a learning end condition via an input interface (not shown). For example, defect image data used for learning and pseudo defect image data are input. Note that the number of input images is not limited to one. As will be described later, in consideration of the accuracy of analysis using the ROC curve, it is desirable that there are many defect and non-defective sample images. The learning end condition includes, for example, the number of times the loop processing from step S420 to step S470 is executed, the learning time, the evaluation value for learning, the input of a stop command from the outside of the appearance inspection apparatus 100, and the like.

ステップS420にて、主制御部117は、予め定められた最適化手法を用いて画像処理のためのアルゴリズムを生成する。最適化手法は、公知の技術であるSA(Simulated Annealing)、GA(Genetic Algorithms)、TS(Tabu Search)などを含むが、その他の手法であってもよい。係る最適化手法は、たとえば必要な処理を実現するプログラムを実行することにより実現される。   In step S420, main controller 117 generates an algorithm for image processing using a predetermined optimization method. Optimization techniques include known techniques such as SA (Simulated Annealing), GA (Genetic Algorithms), and TS (Tabu Search), but may be other techniques. Such an optimization method is realized, for example, by executing a program that realizes necessary processing.

ステップS430にて、主制御部117は、画像処理部116に対して、当該アルゴリズムを用いて画像処理を実行させる。ステップS440にて、主制御部117は、画像処理の結果から特徴量を抽出し、さらに特徴量ベクトルをも抽出する。ステップS450にて、主制御部117は、特徴量を用いて、画像処理結果を分類し、そして検査結果を識別するための処理を実行する。   In step S430, the main control unit 117 causes the image processing unit 116 to execute image processing using the algorithm. In step S440, main controller 117 extracts a feature amount from the result of image processing, and also extracts a feature amount vector. In step S450, the main control unit 117 classifies the image processing results using the feature amount, and executes processing for identifying the inspection results.

ステップS460にて、主制御部117は、予め定められた基準に基づいて、学習評価値を算出する。評価値の算出は、たとえば算式「クラス分離度=クラス間分散/クラス内分散」により行なわれる。なお、学習評価値は、クラス分離度が用いられているが、その他の値がもちいられてもよい。たとえば、ROC評価値が使用されてもよい。なお、この場合は、実際の検査に使用される識別器の位置、すなわち分布平面上における識別器の値を決定する必要がある。この決定のためには、たとえば判別分析法が使用できる。   In step S460, main controller 117 calculates a learning evaluation value based on a predetermined criterion. The evaluation value is calculated using, for example, the formula “class separation degree = inter-class variance / intra-class variance”. In addition, although the class separation degree is used for the learning evaluation value, other values may be used. For example, an ROC evaluation value may be used. In this case, it is necessary to determine the position of the classifier used for the actual inspection, that is, the value of the classifier on the distribution plane. For this determination, for example, a discriminant analysis method can be used.

ただし、本実施の形態においては、2次元の特徴量空間の情報を主成分分析により、特徴量の次元は、1次元に変換されているが、特徴量の次元を変換することなく2次元のままとし、識別器として、固定された2本の直線、複数の直線、双曲線、高次の多項式に基づいて表現される曲線の形状を用いてもよい。この場合の学習評価値は、例えば、上記の算式を2次元ベクトルのまま用いることにより、算出可能である。   However, in the present embodiment, the dimension of the feature quantity is converted to one dimension by principal component analysis on the information of the two-dimensional feature quantity space. However, the two-dimensional feature quantity space is converted without converting the dimension of the feature quantity. As a discriminator, the shape of a curve expressed based on two fixed straight lines, a plurality of straight lines, a hyperbola, or a higher-order polynomial may be used. The learning evaluation value in this case can be calculated, for example, by using the above formula as a two-dimensional vector.

ステップS470にて、主制御部117は、学習終了条件が成立しているか否かを判断する。主制御部117が、その条件は成立していると判断すると(ステップS470にてYES)、処理はステップS420に戻される。そうでない場合には(ステップS470にてNO)、処理は終了し、メイン処理(図3)に戻される。以上のような最適化手法により、画像処理アルゴリズムと識別器の形状とが決定される。   In step S470, main controller 117 determines whether or not a learning end condition is satisfied. If main controller 117 determines that the condition is satisfied (YES in step S470), the process returns to step S420. If not (NO in step S470), the process ends and returns to the main process (FIG. 3). The image processing algorithm and the shape of the classifier are determined by the optimization method as described above.

図5は、ROC解析処理の詳細を表わすフローチャートである。   FIG. 5 is a flowchart showing details of the ROC analysis process.

ステップS510にて、主制御部117は、画像データの入力を受ける。ステップS330にて、主制御部117は、アルゴリズム生成処理(S400)にて生成したアルゴリズムを用いて、検査のための処理を実施する。   In step S510, main controller 117 receives an input of image data. In step S330, the main control unit 117 performs processing for inspection using the algorithm generated in the algorithm generation processing (S400).

ステップS340にて、主制御部117は、検査結果がROC解析条件を満たすか否かを判断する。主制御部117が、検査結果はその条件を満たすと判断すると(ステップS340にてYES)、処理はステップS600に移される。そうでない場合には(ステップS340にてNO)、処理はステップS550に移される。ステップS550にて、主制御部117は、検査結果を出力部119に対して出力する。ステップS600にて、主制御部117は、後述するROC解析を実行する。   In step S340, main controller 117 determines whether or not the inspection result satisfies the ROC analysis condition. If main control unit 117 determines that the inspection result satisfies the condition (YES in step S340), the process proceeds to step S600. If not (NO in step S340), the process proceeds to step S550. In step S550, main controller 117 outputs the inspection result to output unit 119. In step S600, main controller 117 performs ROC analysis described later.

図6は、ROC解析のための処理の手順を表わすフローチャートである。   FIG. 6 is a flowchart showing a processing procedure for ROC analysis.

ステップS610にて、主制御部117は、検査結果と正解結果との入力をそれぞれ受ける。ここで、正解結果とは、真の欠陥の判定結果であり、例えば、検査官が外観検査後に目視することにより得られるデータである。   In step S610, main controller 117 receives an input of the inspection result and the correct answer result. Here, the correct answer result is a determination result of a true defect, for example, data obtained by visual inspection after an appearance inspection by an inspector.

ステップS620にて、主制御部117は、欠陥認識率と過検出率との関係をROC曲線として表わすためのデータを導出する。ステップS630にて、主制御部117は、ROC評価値を算出する。   In step S620, main controller 117 derives data for representing the relationship between the defect recognition rate and the overdetection rate as an ROC curve. In step S630, main controller 117 calculates an ROC evaluation value.

ステップS640にて、主制御部117は、ROC評価値が閾値以下であるか否かを判断する。主制御部117が、ROC評価値は閾値以下であると判断する(ステップS640にてYES)、処理はステップS650に移される。そうでない場合には(ステップS640にてNO)、処理はステップS660に移される。   In step S640, main controller 117 determines whether or not the ROC evaluation value is equal to or less than a threshold value. If main controller 117 determines that the ROC evaluation value is equal to or less than the threshold (YES in step S640), the process proceeds to step S650. If not (NO in step S640), the process proceeds to step S660.

ステップS650にて、主制御部117は、ROC評価結果を通知するためのデータを生成し、出力部119に対してそのデータを出力する。その結果、出力部119は、ROC評価結果を通知するとともに、再学習が必要であることを示す。ここで、外観検査装置100は、再学習の方向性を示すことができる。例えば、主制御部117は、ROC評価に用いた特徴量空間のデータにより、主成分分析を再度行ない、識別器を最適化する。主制御部117は、ROC評価値が改善するか否かを判断する。ROC評価値が改善されていれば、主制御部117は、画像処理アルゴリズムはそのままで、新しく最適化された識別器で画像処理、外観検査を行なうように、出力部119を介して、利用者に通知する。これにより、利用者は、ROC評価値によりそのアルゴリズムを用いるか否かを判断することができる。なお、当該判断は人為的に為されなくてもよい。たとえば、図3に示されるステップS320により設定されたROC評価値の閾値を用いて、主制御部117が、判断してもよい。   In step S650, main control unit 117 generates data for notifying the ROC evaluation result, and outputs the data to output unit 119. As a result, the output unit 119 notifies the ROC evaluation result and indicates that relearning is necessary. Here, the appearance inspection apparatus 100 can indicate the direction of relearning. For example, the main control unit 117 performs principal component analysis again based on the data of the feature amount space used for the ROC evaluation, and optimizes the discriminator. The main control unit 117 determines whether or not the ROC evaluation value is improved. If the ROC evaluation value is improved, the main control unit 117 does not change the image processing algorithm, but uses the newly optimized discriminator to perform image processing and appearance inspection via the output unit 119. Notify Thereby, the user can determine whether or not to use the algorithm based on the ROC evaluation value. Note that this determination need not be made artificially. For example, the main control unit 117 may make a determination using the threshold value of the ROC evaluation value set in step S320 shown in FIG.

一方、識別器の最適化のみで所望のROC評価値が得られないときは、主制御部117は、最適化手法により画像処理アルゴリズムと識別器とを再学習する。例えば、主制御部117は、これまで検査に用いていたアルゴリズムを初期値として、最適解が得られるまで、再学習のための処理を実行する。   On the other hand, when the desired ROC evaluation value cannot be obtained only by the optimization of the discriminator, the main control unit 117 re-learns the image processing algorithm and the discriminator by the optimization method. For example, the main control unit 117 executes the process for re-learning until an optimal solution is obtained by using an algorithm previously used for the inspection as an initial value.

ステップS660にて、主制御部117は、ROC評価結果を通知するためのデータを生成し、さらに出力部119に対してそのデータを出力する。その結果、出力部119は、ROC評価結果を通知するとともに、再学習の必要がないことを表示する。   In step S660, main control unit 117 generates data for notifying the ROC evaluation result, and further outputs the data to output unit 119. As a result, the output unit 119 notifies the ROC evaluation result and displays that there is no need for relearning.

図7を参照して、外観検査装置100が抽出した特徴量の関係について説明する。図7は、特徴量ベクトルの分布の状況を表わす図である。   With reference to FIG. 7, the relationship between the feature amounts extracted by the appearance inspection apparatus 100 will be described. FIG. 7 is a diagram illustrating a distribution state of feature quantity vectors.

ここでは説明を簡単にするために、二次元の特徴量が用いられた場合について説明する。なお、図7に示される態様に代えて、一次元の特徴量あるいは二次元以上の特徴量が用いられてもよい。ここで特徴量は、たとえばパターンの面積、コントラスト、長さ、フェレ径、周波数成分などを含む。分布710は、たとえば良品クラスの分布を表わす。分布720は、欠陥クラスの分布を表わす。第1主成分730は、後述する主成部分析を用いて算出される。すなわち第1主成分は、   Here, in order to simplify the description, a case where a two-dimensional feature amount is used will be described. Note that one-dimensional feature values or two-dimensional or more feature values may be used instead of the mode shown in FIG. Here, the feature amount includes, for example, a pattern area, contrast, length, ferret diameter, frequency component, and the like. Distribution 710 represents, for example, a non-defective class distribution. Distribution 720 represents the distribution of defect classes. The first principal component 730 is calculated using main component analysis described later. That is, the first main component is

Figure 2006293820
Figure 2006293820

により求められる。ステップS440にて抽出された特徴量は、上記数式1に垂直に射影される。このような射影により、二次元の特徴量は、一次元の特徴量に変換される。 It is calculated by. The feature amount extracted in step S440 is projected perpendicularly to Equation 1 above. By such projection, the two-dimensional feature value is converted into a one-dimensional feature value.

ここで、図8を参照して、図7に示される2次元の特徴量が一次元の特徴量に変換される態様について説明する。図8は、確率密度の分布を表わす図である。すなわち、分布710と分布720とは、それぞれ確率密度の形で第1主成分軸上に表現される。識別器800は、第1主成分軸上を移動することにより、設定の変更が可能であり、必要に応じて最適化の対象となり得る。ここで、識別器とは、被検査物112の撮影により得られた画像データから検出される欠陥の候補について、当該候補が真の欠陥であるか否かを分類するための判断基準である。   Here, a mode in which the two-dimensional feature value shown in FIG. 7 is converted into a one-dimensional feature value will be described with reference to FIG. FIG. 8 shows a probability density distribution. That is, the distribution 710 and the distribution 720 are each expressed on the first principal component axis in the form of probability density. The discriminator 800 can change the setting by moving on the first principal component axis, and can be an object of optimization as necessary. Here, the discriminator is a determination criterion for classifying whether or not the candidate is a true defect with respect to a defect candidate detected from image data obtained by photographing the inspection object 112.

図9を参照して、本実施の形態に係る外観検査装置100によるROC解析における判定について説明する。図9は、欠陥認識率と過検出率との関係をROC曲線として表わす図である。   With reference to FIG. 9, the determination in the ROC analysis by the appearance inspection apparatus 100 according to the present embodiment will be described. FIG. 9 is a diagram showing the relationship between the defect recognition rate and the overdetection rate as an ROC curve.

過検出率は、画像処理の結果、本来良品として判定されるべきものが欠陥であると判定された割合、すなわち誤判定された割合を表わす。欠陥認識率は、欠陥として判定されるべき欠陥の候補が欠陥であると判定された候補の割合、すなわち正しく認識された割合を表わす。   The over-detection rate represents a ratio at which it is determined as a defect that an image should be determined as a non-defective product as a result of image processing, that is, an erroneous determination ratio. The defect recognition rate represents a ratio of candidates that are determined to be defects, that is, a ratio that is correctly recognized.

図9に示されるROC曲線は、図8に示される分布における欠陥クラス(分布720)と良品クラス(分布710)との交わる部分(斜線部)の評価を行なうためのものである。図8に示されるように、識別器800をその斜線部の範囲において移動することにより、ROC曲線を描画するためのデータが取得される。なお、ROC曲線は、本来アルゴリズムの優劣を判定する指標として用いられているが、本実施の形態に示されるように、入力画像が変化した場合、すなわち良品と欠陥パターンと良品パターンの特徴量の分布状況が変化したか否かを表わす指標として用いられてもよい。   The ROC curve shown in FIG. 9 is for evaluating a portion (shaded portion) where the defect class (distribution 720) and non-defective product class (distribution 710) intersect in the distribution shown in FIG. As shown in FIG. 8, the data for drawing the ROC curve is acquired by moving the discriminator 800 within the shaded area. The ROC curve is originally used as an index for determining the superiority or inferiority of the algorithm. However, as shown in the present embodiment, when the input image changes, that is, the feature amount of the good product, the defect pattern, and the good product pattern. It may be used as an index indicating whether the distribution status has changed.

なお、本実施の形態におけるROC評価値とは、図9に示される領域900の面積が三角形AOBの面積に占める割合をいうが、これに限られない。   Note that the ROC evaluation value in the present embodiment refers to the ratio of the area of the region 900 shown in FIG. 9 to the area of the triangle AOB, but is not limited thereto.

図10を参照して、外観検査装置100の出力態様について説明する。図10は、出力部119において表示される検査結果と再学習の必要性の有無との表示態様を表わす図である。このような表示は、出力部119が、たとえば表示パネルあるいはディスプレイ装置である場合に実現される。   With reference to FIG. 10, the output mode of the appearance inspection apparatus 100 will be described. FIG. 10 is a diagram illustrating a display mode of the examination result displayed on the output unit 119 and the necessity of relearning. Such a display is realized when the output unit 119 is a display panel or a display device, for example.

出力部119は、外観検査装置100における処理の結果に基づいて検査結果と再学習の必要性の有無とを表示するための領域1010〜1030を含む。ROC評価の結果は、たとえば領域1010に表示される。再学習の必要性の有無は、たとえば領域1020に表示される。さらに、評価の結果に基づいてその他の処理を促すためのメッセージは、たとえば領域1030に表示される。これらの表示は、補助記録装置118に予め格納されたメッセージ用のデータに基づいて実現される。なお、出力部119による出力態様は、図10に示されるものに限られない。   The output unit 119 includes areas 1010 to 1030 for displaying the inspection result and the necessity of relearning based on the processing result in the appearance inspection apparatus 100. The result of the ROC evaluation is displayed in, for example, area 1010. The presence / absence of the need for re-learning is displayed in, for example, area 1020. Further, a message for prompting other processing based on the evaluation result is displayed in, for example, area 1030. These displays are realized based on message data stored in the auxiliary recording device 118 in advance. The output mode by the output unit 119 is not limited to that shown in FIG.

以上のような、本実施の形態に係る外観検査装置100は、各処理を実現するための回路を組み合わせることによりハードウェア的に実現される場合もあれば、各処理を実現するプログラムをCPUその他の演算装置に実行させることにより、ソフトウェア的に実現することもできる。   The appearance inspection apparatus 100 according to the present embodiment as described above may be realized by hardware by combining circuits for realizing each process, or a program for realizing each process may be a CPU or the like. It can also be realized by software by causing the arithmetic unit to execute the above.

ここで図11を参照して、本実施の形態に係る外観検査装置100を実現するコンピュータシステム1100について説明する。図11は、コンピュータシステム1100のハードウェア構成を表わすブロック図である。   Here, with reference to FIG. 11, a computer system 1100 that realizes the appearance inspection apparatus 100 according to the present embodiment will be described. 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が装着される。   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 data input from the outside, data to be input or data temporarily generated by executing a predetermined process A volatile storage RAM (Random Access Memory) 1140, 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, Communication IF (Interface) 1190. A CD-ROM 1162 is attached to the CD-ROM drive device 1160.

外観検査装置100として機能するコンピュータシステム1100における処理は、各ハードウェアおよびCPU1110により実行されるソフトウェアによって実現される。このようなソフトウェアは、ハードディスク1150に予め記憶されている場合もあれば、CD−ROM1162その他の記憶媒体に格納されて流通し、CD−ROM駆動装置160その他の読み取り装置によりその記憶媒体から読み取られて、ハードディスク1150に一旦格納される場合もある。あるいは、そのようなソフトウェアは、通信回線に接続された通信IF1190を介して、ダウンロードされる場合もある。そのソフトウェアは、ハードディスク1150からRAM1140に読み出されて、CPU1110によって実行される。図11に示されるコンピュータシステム1100のハードウェア自体は、一般的なものである。したがって、本発明の本質的な部分は、RAM1140、ハードディスク1150、CD−ROM1162その他の記憶媒体に格納されたソフトウェアであるとも言える。なお、コンピュータシステム1200の各ハードウェアの動作は周知であるので、詳細な説明は繰返さない。   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 hard disk 1150 in advance, 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 160 or other reading device. In some cases, the data is once stored in the hard disk 1150. Alternatively, such software may be downloaded via the communication IF 1190 connected to the communication line. The software is read from the hard disk 1150 to the RAM 1140 and executed by the CPU 1110. The hardware itself of the computer system 1100 shown in FIG. 11 is general. Therefore, it can be said that the 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 1200 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は、制御部1200と、入出力部1210と、生成部1220と、処理部1230と、算出部1240と、判断部1250と、必要性判断部1260と、学習部1270と、通知データ生成部1280とを含む。   The CPU 1110 includes a control unit 1200, an input / output unit 1210, a generation unit 1220, a processing unit 1230, a calculation unit 1240, a determination unit 1250, a necessity determination unit 1260, a learning unit 1270, and a notification data generation unit. 1280.

入出力部1210は、データバスを介してデータの入出力を実行する。生成部1220は、予め定められた最適化手法を用いて画像処理のためのアルゴリズムを生成する。処理部1230は、検査対象物の撮影により生成された画像データに対して当該アルゴリズムを用いることによりその画像処理を実行する。算出部1240は、その画像処理の結果に基づいてROC解析を実行して評価値を算出する。判断部1250は、その評価値と予め定められた閾値とが予め定められた条件を満足するか否かを判断する。必要性判断部1260は、判断部1250による判断の結果に基づいて学習が必要であるか否かを判断する。学習部1270は、画像データを学習する処理を実行する。制御部1200は、必要性判断部1260による判断の結果に基づいて、学習部1270に再学習を実行させる。   The input / output unit 1210 executes data input / output via the data bus. The generation unit 1220 generates an algorithm for image processing using a predetermined optimization method. The processing unit 1230 executes the image processing on the image data generated by photographing the inspection object by using the algorithm. The calculation unit 1240 performs ROC analysis based on the result of the image processing and calculates an evaluation value. Determination unit 1250 determines whether the evaluation value and a predetermined threshold satisfy a predetermined condition. The necessity determination unit 1260 determines whether learning is necessary based on the determination result of the determination unit 1250. The learning unit 1270 executes processing for learning image data. The control unit 1200 causes the learning unit 1270 to perform relearning based on the determination result by the necessity determination unit 1260.

好ましくは、当該予め定められた条件は、当該評価値が当該閾値を下回ることである。   Preferably, the predetermined condition is that the evaluation value falls below the threshold value.

好ましくは、必要性判断部1260は、当該評価値と当該閾値とが上記条件を満足していない場合には、当該画像処理の対象となる欠陥のパターンは、学習の時点で対象としていた欠陥のクラスと良品のクラスとの母集団には含まれないと判断し、そして再学習が必要であると判断する。   Preferably, if the evaluation value and the threshold value do not satisfy the above conditions, the necessity determination unit 1260 determines that the defect pattern that is the target of the image processing is the defect that was the target at the time of learning. It is judged that it is not included in the population of the class and the non-defective class, and it is judged that re-learning is necessary.

好ましくは、制御部1200は、再学習が必要であると判断された場合に使用されていた画像データを用いて、学習部1270に再学習を実行させる。   Preferably, the control unit 1200 causes the learning unit 1270 to perform relearning using image data that has been used when it is determined that relearning is necessary.

好ましくは、算出部1240は、特徴量により表現される空間における特徴量データに基づいてROC解析を実行する。特徴量は、撮影によって生成された画像データの特徴を表わす。判断部1250は、識別器データに基づいて、上記予め定められた条件を満足する評価値を取得することができるか否かを判断する。制御部1200は、特徴量データに基づいて予め定められた分析処理を実行することにより、識別器データを変更する。   Preferably, the calculation unit 1240 performs ROC analysis based on feature amount data in a space expressed by the feature amount. The feature amount represents the feature of the image data generated by photographing. Determination unit 1250 determines whether or not an evaluation value that satisfies the predetermined condition can be acquired based on the discriminator data. The control unit 1200 changes the discriminator data by executing a predetermined analysis process based on the feature amount data.

学習部1270は、たとえば学習が必要であると判断された場合に使用された画像データを用いて学習を実行する。学習部1270は、あるいは特徴量データに基づいて予め定められた分析処理を実行することにより識別器の値を変更する。   The learning unit 1270 performs learning using the image data used when it is determined that learning is necessary, for example. The learning unit 1270 changes the value of the discriminator by executing a predetermined analysis process based on the feature amount data.

好ましくは、CPU1110は、通知データ生成部1280をさらに含む。通知データ生成部1280は、必要性判断部1260による判断の結果に基づいて学習が必要であることを通知するためのデータを生成する。通知データ生成部1280は、たとえばROC解析の結果を表わすデータと学習の必要性を表わすメッセージとを生成する。生成されたデータは、入出力部1210によってモニタ1280に送出される。   Preferably, CPU 1110 further includes a notification data generation unit 1280. The notification data generation unit 1280 generates data for notifying that learning is necessary based on the result of determination by the necessity determination unit 1260. Notification data generation unit 1280 generates, for example, data indicating the result of ROC analysis and a message indicating the necessity of learning. The generated data is sent to the monitor 1280 by the input / output unit 1210.

好ましくは、CPU1110は、欠陥判定部1290をさらに含む。欠陥判定部1290は、検査対象物の撮影により生成された画像データに基づいて、当該検査対象物の表面に欠陥が生じているか否かを判定する。   Preferably, CPU 1110 further includes a defect determination unit 1290. The defect determination unit 1290 determines whether a defect has occurred on the surface of the inspection object based on the image data generated by photographing the inspection object.

好ましくは、制御部1200は、画像処理のためのアルゴリズムと識別器データとの少なくともいずれかのデータを取得するための処理を実行する。欠陥判定部1290は、制御部1200によって取得されたいずれかのデータに基づいて、検査対象物の表面に欠陥が生じているか否かを判定する。   Preferably, the control unit 1200 executes processing for acquiring at least one of an algorithm for image processing and classifier data. The defect determination unit 1290 determines whether a defect has occurred on the surface of the inspection target based on any data acquired by the control unit 1200.

以上のようにして、本発明の実施の形態に係る外観検査装置100は、当該装置の利用者が意図した間隔で、検査精度、信頼性を定量的に知ることができる。また、検査精度の閾値を予め設定することにより、再学習の必要性が通知されるため、外観検査装置100の学習データの迅速な更新が可能になる。   As described above, the appearance inspection apparatus 100 according to the embodiment of the present invention can quantitatively know the inspection accuracy and reliability at intervals intended by the user of the apparatus. In addition, since the necessity of relearning is notified by setting a threshold value for inspection accuracy in advance, the learning data of the appearance inspection apparatus 100 can be quickly updated.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   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のシステム構成を概略的に表わす図である。It is a figure showing roughly the system configuration of inspection system 10 provided with the appearance inspection device concerning an embodiment of the invention. 外観検査装置100が備える補助記録装置118におけるデータの格納の一態様を概念的に表わす図である。3 is a diagram conceptually showing one mode of data storage in an auxiliary recording device 118 provided in the appearance inspection apparatus 100. FIG. 外観検査装置100が実行する処理の手順を表わすフローチャート(その1)である。5 is a flowchart (part 1) illustrating a procedure of processes executed by the appearance inspection apparatus. 外観検査装置100が実行する処理の手順を表わすフローチャート(その2)である。It is a flowchart (the 2) showing the procedure of the process which the external appearance inspection apparatus 100 performs. 外観検査装置100が実行する処理の手順を表わすフローチャート(その3)である。It is a flowchart (the 3) showing the procedure of the process which the external appearance inspection apparatus 100 performs. 外観検査装置100が実行する処理の手順を表わすフローチャート(その4)である。12 is a flowchart (No. 4) showing a procedure of processes executed by the appearance inspection apparatus 100. 外観検査装置100が抽出した特徴量ベクトルの分布の状況を表わす図である。It is a figure showing the condition of distribution of the feature-value vector which the external appearance inspection apparatus 100 extracted. 確率密度の分布を表わす図である。It is a figure showing distribution of probability density. 外観検査装置100によるROC解析における判定結果について、欠陥認識率と過検出率との関係をROC曲線として表わす図である。It is a figure showing the relationship between a defect recognition rate and an overdetection rate as a ROC curve about the determination result in the ROC analysis by the appearance inspection apparatus 100. 外観検査装置100が備える出力部119において表示される検査結果と再学習の必要性の有無との表示態様を表わす図である。It is a figure showing the display mode of the inspection result displayed in the output part 119 with which the external appearance inspection apparatus 100 is provided, and the necessity of re-learning. 外観検査装置100を実現するコンピュータシステム1100のハードウェア構成を表わすブロック図である。2 is a block diagram illustrating a hardware configuration of a computer system 1100 that implements an appearance inspection apparatus 100. FIG. コンピュータシステム1100が備えるCPU1110がソフトウェアの実行により実現される機能の構成を表わす図である。It is a figure showing the structure of the function implement | achieved by execution of software by CPU1110 with which the computer system 1100 is provided.

符号の説明Explanation of symbols

10 検査システム、100 外観検査装置、111 ステージ、112 被検査物、113 光源、114 カメラ、115 コントローラ、116 画像処理部、117 主制御部、118 補助記録装置、119 出力部、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, 111 stage, 112 Inspected object, 113 Light source, 114 Camera, 115 Controller, 116 Image processing part, 117 Main control part, 118 Auxiliary recording apparatus, 119 Output part, 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 (10)

画像処理のためのアルゴリズムを生成する生成手段と、
複数の検査対象物の撮影により生成された画像データの入力を受ける入力手段とを備え、前記複数の検査対象物の各々の外観は、前記撮影の時期に応じて変動し、
前記複数の検査対象物の各々の撮影により生成された各画像データに対して前記アルゴリズムに基づく画像処理を実行する処理手段と、
前記画像データに基づいて、前記複数の検査対象物の各々における欠陥を検出する検出手段と、
前記検出手段による検出の結果と、前記複数の検査対象物の各々について予め準備されている外観の検査の結果とに基づいて、前記欠陥が欠陥として検出された割合と、良品が欠陥として検出された割合とに基づく評価値を算出する評価値算出手段と、
前記評価値と予め定められた閾値とが予め定められた条件を満足するか否かを判断する判断手段と、
前記判断手段による判断の結果に基づいて、前記画像処理のためのアルゴリズムを新たに生成する必要があるか否かを判断する必要性判断手段と、
前記必要性判断手段による判断の結果に基づいて、前記生成手段に新たなアルゴリズムを生成させる再学習手段とを備える、外観検査装置。
Generating means for generating an algorithm for image processing;
Input means for receiving input of image data generated by photographing a plurality of inspection objects, the appearance of each of the plurality of inspection objects fluctuates according to the time of photographing,
Processing means for performing image processing based on the algorithm for each image data generated by photographing each of the plurality of inspection objects;
Detecting means for detecting a defect in each of the plurality of inspection objects based on the image data;
Based on the result of detection by the detection means and the result of the appearance inspection prepared in advance for each of the plurality of inspection objects, the ratio at which the defect is detected as a defect and the non-defective product is detected as a defect. An evaluation value calculating means for calculating an evaluation value based on the ratio,
Determining means for determining whether the evaluation value and a predetermined threshold satisfy a predetermined condition;
Necessity determining means for determining whether or not it is necessary to newly generate an algorithm for the image processing based on a result of determination by the determining means;
An appearance inspection apparatus comprising: a re-learning unit that causes the generation unit to generate a new algorithm based on a result of determination by the necessity determination unit.
前記判断手段は、前記評価値が前記閾値を下回るか否かを判断する、請求項1に記載の外観検査装置。   The appearance inspection apparatus according to claim 1, wherein the determination unit determines whether the evaluation value is lower than the threshold value. 前記必要性判断手段は、前記評価値と前記閾値とが前記条件を満足していない場合には、前記画像処理の対象となる欠陥のパターンは、前記アルゴリズムが生成された時に対象とされていた欠陥のクラスと良品のクラスとの母集団には含まれないと判断し、そして前記画像処理のためのアルゴリズムを新たに生成する必要があると判断する、請求項1に記載の外観検査装置。   When the evaluation value and the threshold value do not satisfy the condition, the necessity determination unit is configured such that the defect pattern to be subjected to the image processing is targeted when the algorithm is generated. The visual inspection apparatus according to claim 1, wherein it is determined that the defect class and the non-defective class are not included in a population, and it is determined that a new algorithm for the image processing needs to be generated. 前記アルゴリズムを新たに生成する必要がある判断された場合に使用された画像データを格納する記憶手段をさらに備え、
前記再学習手段は、前記再学習が必要であると判断された場合に使用された画像データに基づいて、前記生成手段に前記新たなアルゴリズムを生成させる、請求項1に記載の外観検査装置。
Storage means for storing image data used when it is determined that the algorithm needs to be newly generated;
The appearance inspection apparatus according to claim 1, wherein the re-learning unit causes the generation unit to generate the new algorithm based on image data used when it is determined that the re-learning is necessary.
前記評価値算出手段は、前記外観の特徴量により表現される特徴量データに基づいて、前記評価値を算出し、前記特徴量は、前記撮影によって生成された画像データの特徴を表わし、
前記外観検査装置は、前記検査対象物を欠陥および良品のいずれかに分類するための基準である識別器データに基づいて、前記予め定められた条件を満足する評価値を取得することができるか否かを判断する取得性判断手段をさらに備え、
前記再学習手段は、前記特徴量データに基づいて予め定められた分析処理を実行することにより前記識別器データの値を変更する、請求項1に記載の外観検査装置。
The evaluation value calculation means calculates the evaluation value based on feature amount data expressed by the feature amount of the appearance, and the feature amount represents a feature of image data generated by the photographing,
Whether the appearance inspection apparatus can acquire an evaluation value that satisfies the predetermined condition based on discriminator data that is a reference for classifying the inspection object as either a defect or a non-defective product It further includes an acquisition property judging means for judging whether or not,
The appearance inspection apparatus according to claim 1, wherein the relearning unit changes a value of the discriminator data by executing a predetermined analysis process based on the feature amount data.
前記必要性判断手段による判断の結果に基づいて、新たなアルゴリズムを生成する必要であることを通知する通知手段をさらに備える、請求項1に記載の外観検査装置。   The appearance inspection apparatus according to claim 1, further comprising notification means for notifying that a new algorithm needs to be generated based on a result of determination by the necessity determination means. 前記複数の検査対象物の各々の撮影により生成された各画像データに基づいて、前記複数の検査対象物の各々の表面に欠陥が生じているか否かを判定する欠陥判定手段をさらに備える、請求項1に記載の外観検査装置。   The apparatus further comprises defect determination means for determining whether a defect has occurred on the surface of each of the plurality of inspection objects based on each image data generated by photographing each of the plurality of inspection objects. Item 1. An appearance inspection apparatus according to Item 1. 前記再学習手段は、前記画像処理のためのアルゴリズムと識別器データとの少なくともいずれかのデータを取得するための取得手段を含み、前記識別器データは、前記複数の検査対象物の各々を欠陥および良品のいずれかに分類するための基準であり、
前記外観検査装置は、前記取得手段により取得されたいずれかのデータに基づいて、前記複数の検査対象物の各々の表面に欠陥が生じているか否かを判定する判定手段をさらに備える、請求項1に記載の外観検査装置。
The re-learning means includes acquisition means for acquiring data of at least one of an algorithm for image processing and discriminator data, and the discriminator data has a defect in each of the plurality of inspection objects. And a standard for classifying the product as a non-defective product,
The visual inspection apparatus further includes a determination unit that determines whether a defect has occurred on the surface of each of the plurality of inspection objects based on any data acquired by the acquisition unit. 1. An appearance inspection apparatus according to 1.
画像処理のためのアルゴリズムを生成するステップと、
複数の検査対象物の撮影により生成された画像データの入力を受けるステップとを備え、前記複数の検査対象物の各々の外観は、前記撮影の時期に応じて変動し、
前記複数の検査対象物の各々の撮影により生成された各画像データに対して前記アルゴリズムに基づく画像処理を実行するステップと、
前記画像データに基づいて、前記複数の検査対象物の各々における欠陥を検出するステップと、
前記検出の結果と、前記複数の検査対象物の各々について予め準備されている外観の検査の結果とに基づいて、前記欠陥が欠陥として検出された割合と、良品が欠陥として検出された割合とに基づく評価値を算出するステップと、
前記評価値と予め定められた閾値とが予め定められた条件を満足するか否かを判断する第1の判断ステップと、
前記第1の判断ステップにおける判断の結果に基づいて、前記画像処理のためのアルゴリズムを新たに生成する必要があるか否かを判断する第2の判断ステップと、
前記第2の判断ステップにおける判断の結果に基づいて、新たなアルゴリズムを生成するステップとを備える、外観検査方法。
Generating an algorithm for image processing;
Receiving the input of image data generated by photographing a plurality of inspection objects, the appearance of each of the plurality of inspection objects fluctuates according to the time of the photographing,
Performing image processing based on the algorithm for each image data generated by photographing each of the plurality of inspection objects;
Detecting defects in each of the plurality of inspection objects based on the image data;
Based on the result of the detection and the result of the appearance inspection prepared in advance for each of the plurality of inspection objects, the ratio at which the defect is detected as a defect and the ratio at which the non-defective product is detected as a defect Calculating an evaluation value based on
A first determination step of determining whether or not the evaluation value and a predetermined threshold satisfy a predetermined condition;
A second determination step of determining whether or not it is necessary to newly generate an algorithm for the image processing based on a result of the determination in the first determination step;
And a step of generating a new algorithm based on a result of the determination in the second determination step.
コンピュータを外観検査装置として機能させるためのプログラムであって、前記プログラムは前記コンピュータに、
画像処理のためのアルゴリズムを生成するステップと、
複数の検査対象物の撮影により生成された画像データの入力を受けるステップとを実行させ、前記複数の検査対象物の各々の外観は、前記撮影の時期に応じて変動し、
前記複数の検査対象物の各々の撮影により生成された各画像データに対して前記アルゴリズムに基づく画像処理を実行するステップと、
前記画像データに基づいて、前記複数の検査対象物の各々における欠陥を検出するステップと、
前記検出の結果と、前記複数の検査対象物の各々について予め準備されている外観の検査の結果とに基づいて、前記欠陥が欠陥として検出された割合と、良品が欠陥として検出された割合とに基づく評価値を算出するステップと、
前記評価値と予め定められた閾値とが予め定められた条件を満足するか否かを判断する第1の判断ステップと、
前記第1の判断ステップにおける判断の結果に基づいて、前記画像処理のためのアルゴリズムを新たに生成する必要があるか否かを判断する第2の判断ステップと、
前記第2の判断ステップにおける判断の結果に基づいて、新たなアルゴリズムを生成するステップとを実行させる、プログラム。
A program for causing a computer to function as an appearance inspection apparatus, wherein the program is
Generating an algorithm for image processing;
Receiving the input of image data generated by photographing a plurality of inspection objects, the appearance of each of the plurality of inspection objects fluctuates according to the time of the photographing,
Performing image processing based on the algorithm for each image data generated by photographing each of the plurality of inspection objects;
Detecting defects in each of the plurality of inspection objects based on the image data;
Based on the result of the detection and the result of the appearance inspection prepared in advance for each of the plurality of inspection objects, the ratio at which the defect is detected as a defect and the ratio at which the non-defective product is detected as a defect Calculating an evaluation value based on
A first determination step of determining whether or not the evaluation value and a predetermined threshold satisfy a predetermined condition;
A second determination step for determining whether or not it is necessary to newly generate an algorithm for the image processing based on a result of the determination in the first determination step;
Generating a new algorithm based on a result of the determination in the second determination step.
JP2005115735A 2005-04-13 2005-04-13 Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device Withdrawn JP2006293820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005115735A JP2006293820A (en) 2005-04-13 2005-04-13 Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005115735A JP2006293820A (en) 2005-04-13 2005-04-13 Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device

Publications (1)

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

Family

ID=37414311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005115735A Withdrawn JP2006293820A (en) 2005-04-13 2005-04-13 Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device

Country Status (1)

Country Link
JP (1) JP2006293820A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012181209A (en) * 2012-06-14 2012-09-20 Hitachi Ltd Defect classification method and apparatus therefor
JP2012529020A (en) * 2009-06-02 2012-11-15 ジーイー・ヘルスケア・ユーケイ・リミテッド Image analysis
CN108475425A (en) * 2016-01-20 2018-08-31 富士通株式会社 Image processing apparatus, image processing method and image processing program
KR20190072569A (en) * 2016-10-14 2019-06-25 케이엘에이-텐코 코포레이션 Diagnostic systems and methods for in-depth learning models configured for semiconductor applications
JP2019144107A (en) * 2018-02-21 2019-08-29 株式会社タナカ技研 Information processor, terminal device, information processing method, and program
JP2020042668A (en) * 2018-09-12 2020-03-19 ファナック株式会社 Inspection apparatus and machine learning method
JP2020042669A (en) * 2018-09-12 2020-03-19 ファナック株式会社 Inspection apparatus and machine learning method
CN112614086A (en) * 2019-09-19 2021-04-06 株式会社斯库林集团 Learning device, inspection device, learning method, and inspection method
JP2021163934A (en) * 2020-04-03 2021-10-11 株式会社ディスコ Wafer testing apparatus and wafer testing method
WO2022024985A1 (en) * 2020-07-27 2022-02-03 ファナック株式会社 Inspection device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012529020A (en) * 2009-06-02 2012-11-15 ジーイー・ヘルスケア・ユーケイ・リミテッド Image analysis
US8750592B2 (en) 2009-06-02 2014-06-10 Ge Healthcare Uk Limited Image analysis
JP2012181209A (en) * 2012-06-14 2012-09-20 Hitachi Ltd Defect classification method and apparatus therefor
CN108475425B (en) * 2016-01-20 2022-03-08 富士通株式会社 Image processing apparatus, image processing method, and computer-readable recording medium
CN108475425A (en) * 2016-01-20 2018-08-31 富士通株式会社 Image processing apparatus, image processing method and image processing program
US11468261B2 (en) 2016-01-20 2022-10-11 Fujitsu Limited Information processing apparatus, image processing method, and computer-readable recording medium recording image processing program
KR20190072569A (en) * 2016-10-14 2019-06-25 케이엘에이-텐코 코포레이션 Diagnostic systems and methods for in-depth learning models configured for semiconductor applications
JP2019537839A (en) * 2016-10-14 2019-12-26 ケーエルエー コーポレイション Diagnostic system and method for deep learning models configured for semiconductor applications
KR102530209B1 (en) 2016-10-14 2023-05-08 케이엘에이 코포레이션 Diagnostic systems and methods for deep learning models configured for semiconductor applications
US11580398B2 (en) 2016-10-14 2023-02-14 KLA-Tenor Corp. Diagnostic systems and methods for deep learning models configured for semiconductor applications
JP7049331B2 (en) 2016-10-14 2022-04-06 ケーエルエー コーポレイション Diagnostic systems and methods for deep learning models configured for semiconductor applications
JP2019144107A (en) * 2018-02-21 2019-08-29 株式会社タナカ技研 Information processor, terminal device, information processing method, and program
CN110895716A (en) * 2018-09-12 2020-03-20 发那科株式会社 Inspection apparatus and machine learning method
US11521120B2 (en) * 2018-09-12 2022-12-06 Fanuc Corporation Inspection apparatus and machine learning method
JP2020042669A (en) * 2018-09-12 2020-03-19 ファナック株式会社 Inspection apparatus and machine learning method
JP2020042668A (en) * 2018-09-12 2020-03-19 ファナック株式会社 Inspection apparatus and machine learning method
US11682112B2 (en) 2018-09-12 2023-06-20 Fanuc Corporation Inspection device and machine learning method
CN112614086A (en) * 2019-09-19 2021-04-06 株式会社斯库林集团 Learning device, inspection device, learning method, and inspection method
JP2021163934A (en) * 2020-04-03 2021-10-11 株式会社ディスコ Wafer testing apparatus and wafer testing method
JP7427337B2 (en) 2020-04-03 2024-02-05 株式会社ディスコ Wafer inspection method
WO2022024985A1 (en) * 2020-07-27 2022-02-03 ファナック株式会社 Inspection device
JPWO2022024985A1 (en) * 2020-07-27 2022-02-03

Similar Documents

Publication Publication Date Title
JP2006293820A (en) Appearance inspection device, appearance inspection method, and program for causing computer to function as appearance inspection device
KR102083706B1 (en) Adaptive sampling for semiconductor inspection recipe creation, defect review, and metrology
JP6707920B2 (en) Image processing apparatus, image processing method, and program
US11521312B2 (en) Image processing apparatus, image processing method, and storage medium
US8121397B2 (en) Method and its apparatus for reviewing defects
KR20200014438A (en) Apparatus and method for optimizing examination outside of the subject
JP6347589B2 (en) Information processing apparatus, information processing method, and program
JP2006292615A (en) Visual examination apparatus, visual inspection method, program for making computer function as visual inspection apparatus, and recording medium
JP2006085616A (en) Image processing algorithm evaluation method and device, image processing algorithm generation method and device, program and program recording medium
CN113554645B (en) Industrial anomaly detection method and device based on WGAN
JP6715282B2 (en) Quality monitoring system
JP2020177430A (en) Information processing apparatus, information processing method, and program
JP2006090921A (en) Visual examination device, threshold determining method visual examination method and program for functionalizing computer as visual examination device
JP2000121539A (en) Particle monitor system and particle detection method and recording medium storing particle detection program
CN111062920B (en) Method and device for generating semiconductor detection report
JP7414629B2 (en) Learning data processing device, learning device, learning data processing method, and program
JP4956077B2 (en) Defect inspection apparatus and defect inspection method
US10789705B2 (en) Quality monitoring system
JP2007017264A (en) Method and device for evaluating image processing algorithm, method and device for generating image processing algorithm, program, and program recording medium
CN111860070A (en) Method and device for identifying changed object
JP2020095017A (en) Information processing device, control method thereof, program, and storage medium
JP7332028B2 (en) Methods, apparatus, computer programs and media containing computer instructions for performing inspection of items
US20240112325A1 (en) Automatic Optical Inspection Using Hybrid Imaging System
KR101076478B1 (en) Method of detecting the picture defect of flat display panel using stretching technique and recording medium
JP7257470B2 (en) Defect inspection device, defect inspection method, and prediction model generation method

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