JP4956077B2 - Defect inspection apparatus and defect inspection method - Google Patents

Defect inspection apparatus and defect inspection method Download PDF

Info

Publication number
JP4956077B2
JP4956077B2 JP2006197103A JP2006197103A JP4956077B2 JP 4956077 B2 JP4956077 B2 JP 4956077B2 JP 2006197103 A JP2006197103 A JP 2006197103A JP 2006197103 A JP2006197103 A JP 2006197103A JP 4956077 B2 JP4956077 B2 JP 4956077B2
Authority
JP
Japan
Prior art keywords
defect
image
detection
detection condition
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006197103A
Other languages
Japanese (ja)
Other versions
JP2008026072A (en
Inventor
正樹 布施
Original Assignee
株式会社メック
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 株式会社メック filed Critical 株式会社メック
Priority to JP2006197103A priority Critical patent/JP4956077B2/en
Publication of JP2008026072A publication Critical patent/JP2008026072A/en
Application granted granted Critical
Publication of JP4956077B2 publication Critical patent/JP4956077B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、欠陥検査装置に係り、特に、適正な検出条件の設定を容易に決定することが出来る欠陥検査装置及び欠陥検査方法に関する。   The present invention relates to a defect inspection apparatus, and more particularly, to a defect inspection apparatus and a defect inspection method capable of easily determining setting of appropriate detection conditions.

従来、検査対象物上の異物、汚れ又は疵等の各種の欠陥を検出して、対象物の良否を判定する欠陥検査装置が知られている。例えば、検査対象物が、フィルム、金属板等のシート状の場合には、検査対象物を長手方向に走行させ、走行中の検査対象物の表面をラインセンサによって走査し、ラインセンサの出力した信号を処理することにより、欠陥検出が行われている。また、検出した欠陥を各種の特徴量を基に分類し、欠陥種類の判定を実行する技術も使用されている。   2. Description of the Related Art Conventionally, there is known a defect inspection apparatus that detects various types of defects such as foreign matter, dirt, or wrinkles on an inspection target and determines the quality of the target. For example, when the inspection object is in the form of a sheet such as a film or a metal plate, the inspection object is run in the longitudinal direction, the surface of the traveling inspection object is scanned by the line sensor, and the line sensor outputs Defect detection is performed by processing the signal. A technique is also used in which the detected defects are classified based on various feature quantities and the defect type is determined.

そのような一例としての欠陥検査装置が、特許文献1に示されている。この特許文献1による欠陥検査装置は、シート状物の表面を検出画像として検出し、この検出画像から複数の特徴量を抽出し、欠点種類毎の欠点種類定義を基に欠陥種類を判別するものである。なお、特許文献1における「欠点」とは、「欠陥」に相当するものである。
特開2004−109069号公報
A defect inspection apparatus as such an example is disclosed in Patent Document 1. The defect inspection apparatus according to Patent Document 1 detects a surface of a sheet-like object as a detection image, extracts a plurality of feature amounts from the detection image, and determines a defect type based on a defect type definition for each defect type. It is. The “defect” in Patent Document 1 corresponds to a “defect”.
JP 2004-109069 A

しかしながら、特許文献1に示す従来の欠陥検査装置にあっては、欠陥を適正に検出し、検出した欠陥を適正な欠陥種類に判別するための、欠陥の検出条件を決定することが難しいという問題がある。
例えば、欠陥検査装置が、設定された欠陥の検出条件に基づいて検査を行い、欠陥を抽出するが、ある抽出した欠陥については実際には問題がないことがありうる。これは、例えば、人、または熟練した検査を行う人、が検査を行う場合と、欠陥検査装置における検査基準との違いやズレに依存することもある。
However, in the conventional defect inspection apparatus shown in Patent Document 1, it is difficult to determine a defect detection condition for properly detecting a defect and determining the detected defect as an appropriate defect type. There is.
For example, the defect inspection apparatus inspects based on the set defect detection conditions and extracts defects, but there may be no problem with some extracted defects. This may depend on, for example, a difference or deviation between a case where a person or a person who performs an inspected inspection performs an inspection and an inspection standard in a defect inspection apparatus.

また、初めて検査を実行する場合には、予め決められた検出条件というものが適切でないこともある。従来においては、このような場合、数回の検査を行い、その検査により適切な検出条件を決定していた。しかしながら、数回の検査を実行するためには、検査の度に、検査対象物を長手方向に走行させる必要があり、同じ検査対象物を何度も検査すると、検査における走行が原因となり、検査対象物そのものにキズなどの欠陥が生じるという問題があった。
例えば、検査対象物が1回しか生産されない試作品であり、その試作品を検査するための検査条件を決定する場合に、上記のように検出条件を決定することが難しいという問題は顕著になる。
In addition, when an inspection is performed for the first time, a predetermined detection condition may not be appropriate. Conventionally, in such a case, several inspections are performed, and appropriate detection conditions are determined by the inspections. However, in order to perform several inspections, it is necessary to run the inspection object in the longitudinal direction for each inspection. If the same inspection object is inspected many times, the inspection will cause the inspection, There was a problem that defects such as scratches occurred on the object itself.
For example, when the inspection object is a prototype that is produced only once and the inspection conditions for inspecting the prototype are determined, the problem that it is difficult to determine the detection conditions as described above becomes significant. .

また、特許文献1に示される従来の欠陥検査装置にあっては、検出画像に複数の欠陥画像が含まれている場合、いずれの欠陥画像を測定するかが特定されていないため、欠陥種類を適正に判別することが困難であるといった問題があった。   In addition, in the conventional defect inspection apparatus disclosed in Patent Document 1, when a plurality of defect images are included in the detected image, it is not specified which defect image is to be measured. There was a problem that it was difficult to determine properly.

本発明は、このような事情に鑑みてなされたもので、その目的は、適正な検出条件の設定を容易に決定することが出来る欠陥検査装置および欠陥検査方法を提供することにある。   The present invention has been made in view of such circumstances, and an object thereof is to provide a defect inspection apparatus and a defect inspection method capable of easily determining the setting of appropriate detection conditions.

この発明は上述した課題を解決するためになされたもので、検査対象物を撮像して画像データを生成する撮像手段と、前記撮像手段の生成した画像データと第1の検出条件としての閾値とに基づいて第1の欠陥の検出処理を実行し、前記第1の欠陥の検出処理により検出した欠陥の中心位置を検出する第1の欠陥検出手段と、前記第1の欠陥検出手段の検出した欠陥の中心位置を中心とする予め決められた領域の画像である欠陥包含領域画像を前記撮像手段の生成した画像データから抽出する画像抽出手段と、前記画像抽出手段が抽出した欠陥包含領域画像の中の欠陥包含領域画像の中の領域であって、前記第1の欠陥検出手段が検出した欠陥の中心位置を中心とし当該欠陥のフェレ径に応じて囲まれる領域である欠陥画像領域について第2の検出条件としての閾値に基づいて第2の欠陥の検出処理を実行する第2の欠陥検出手段とを有し、前記第2の検出条件としての閾値が、前記第1の検出条件としての閾値よりも正常部の値から離れた値であることを特徴とする欠陥検査装置である。 The present invention has been made to solve the problems described above, an imaging means for generating image data by imaging the inspection object, a threshold value of the generated image data and the first detection condition of said image pickup means The first defect detection means for executing the first defect detection process based on the first defect detection means and detecting the center position of the defect detected by the first defect detection process, and the detection of the first defect detection means An image extraction means for extracting a defect inclusion area image, which is an image of a predetermined area centered on the center position of the defect, from the image data generated by the imaging means, and a defect inclusion area image extracted by the image extraction means A defect image area that is an area in the defect inclusion area image in the image and that is surrounded by the defect center of the defect detected by the first defect detection means according to the Ferre diameter of the defect. 2 Have a second defect detecting means performs the detection process of the second defect based on a threshold as a detection condition, the second threshold value as a detection condition, the threshold as the first detection condition Is a defect inspection apparatus characterized in that it is a value far from the value of the normal part .

の発明は、前記第1の欠陥検出手段は、複数の前記欠陥画像領域を検出し、前記第2の欠陥検出手段は、複数の前記欠陥画像領域のそれぞれに対して独立に前記第2の検出条件に基づいて前記第2の欠陥の検出処理を実行することを特徴とする欠陥検査装置である。 This invention is the first defect detection means detects a plurality of the defect image region, said second defect detecting means, independently on the second for each of a plurality of the defect image region a defect inspection apparatus and the client performs detection processing of the second defect based on detection condition.

の発明は、検査対象物を撮像して画像データを生成する撮像手段と、前記撮像手段の生成した画像データと第1の検出条件としての閾値とに基づいて第1の欠陥の検出処理を実行し、前記第1の欠陥の検出処理により検出した欠陥の中心位置を検出する第1の欠陥検出手段と、前記第1の欠陥検出手段の検出した欠陥の中心位置を中心とする予め決められた領域の画像である欠陥包含領域画像を前記撮像手段の生成した画像データから抽出する画像抽出手段と、第2の検出条件を設定する第2の検出条件設定手段と、前記画像抽出手段が抽出した欠陥包含領域画像の中の欠陥包含領域画像の中の領域であって、前記第1の欠陥検出手段が検出した欠陥の中心位置を中心とし当該欠陥のフェレ径に応じて囲まれる領域である欠陥画像領域について前記第2の検出条件設定手段により設定された第2の検出条件としての閾値に基づいて第2の欠陥の検出処理を実行する第2の欠陥検出手段と、前記第2の欠陥検出手段による前記第2の欠陥の検出処理の結果を出力する出力手段と、前記第2の検出条件を前記第1の欠陥検出手段における前記第1の検出条件に設定する検出条件反映手段と、を有し、
前記第2の検出条件としての閾値が、前記第1の検出条件としての閾値よりも正常部の値から離れた値であることを特徴とする欠陥検査装置である。
This invention includes an imaging means for generating image data by imaging the inspection object, the detection processing of the first defect based on the threshold value as a generated image data and the first detection condition of said image pickup means A first defect detection unit that executes and detects a center position of the defect detected by the first defect detection process; and a predetermined center around the center position of the defect detected by the first defect detection unit. An image extraction unit that extracts a defect-included region image that is an image of the selected region from image data generated by the imaging unit, a second detection condition setting unit that sets a second detection condition, and the image extraction unit A region in the defect inclusion region image in the defect inclusion region image that is surrounded by the center of the defect detected by the first defect detection means according to the ferret diameter of the defect. Defective image area A second defect detecting means performs the detection process of the second defect based on a threshold as a second detection condition set by the second detection condition setting means Te, by the second defect detecting means possess an output means for outputting a result of the detection processing of the second defect, the detection condition reflecting means for setting the second detection condition to the first detection condition in the first defect detecting means, the ,
The defect inspection apparatus is characterized in that the threshold value as the second detection condition is a value farther from the value of the normal part than the threshold value as the first detection condition .

の発明は、前記第2の検出条件設定手段と前記第2の欠陥検出手段と前記出力手段との処理を繰り返す反復手段、を有することを特徴とする欠陥検査装置である。 This invention is a defect inspection apparatus you characterized by having repeating unit, repeating the process with the second detection condition setting means and said second defect detecting means and the output means.

の発明は、検査対象物を撮像して画像データを生成し、前記生成した画像データと第1の検出条件としての閾値とに基づいて第1の欠陥の検出処理を実行し、前記第1の欠陥の検出処理により検出した欠陥の中心位置を検出し、前記検出した欠陥の中心位置を中心とする予め決められた領域の画像である欠陥包含領域画像を前記生成した画像データから抽出し、前記抽出した欠陥包含領域画像の中の領域であって、前記第1の欠陥検出処理により検出した欠陥の中心位置を中心とし当該欠陥のフェレ径に応じて囲まれる領域である欠陥画像領域について第2の検出条件としての閾値に基づいて第2の欠陥の検出処理を実行し、前記第2の検出条件としての閾値が、前記第1の検出条件としての閾値よりも正常部の値から離れた値であることを特徴とすることを特徴とする欠陥検査方法である。 This invention generates image data by imaging the inspection object, and performs the detection process of the first defect on the basis of the threshold value as the image data and the first detection condition that the product, said first Detecting the center position of the defect detected by the defect detection process, and extracting a defect inclusion region image that is an image of a predetermined region centered on the detected defect center position from the generated image data; A defect image area that is an area in the extracted defect inclusion area image and that is surrounded by the defect diameter of the defect centered on the center position of the defect detected by the first defect detection process . The second defect detection process is executed based on the threshold value as the second detection condition , and the threshold value as the second detection condition is farther from the normal part value than the threshold value as the first detection condition it is a value A defect inspection method characterized by the features.

この発明によれば、検査対象物について、欠陥検出処理を行った後、再度、異なる条件で欠陥検出を実行することを可能とすることで、適正な検出条件の設定が容易になるという効果を奏する。   According to the present invention, after performing the defect detection process on the inspection object, it is possible to execute the defect detection again under different conditions, thereby making it possible to easily set an appropriate detection condition. Play.

また、本発明によれば、上記第2の欠陥検出手段は、欠陥包含領域画像の中心位置に測定すべき欠陥があるため、検出画像の中に複数の欠陥画像が存在していても測定すべき欠陥のみの特徴量を抽出できるという効果を奏する。   Further, according to the present invention, the second defect detection means measures a defect even if a plurality of defect images exist in the detected image because there is a defect to be measured at the center position of the defect inclusion region image. There is an effect that it is possible to extract the feature amount of only the defective defect.

また、上記第2の欠陥検出手段は、第1の欠陥検出手段で検出した欠陥の中心位置として欠陥画像の領域のみで欠陥検出処理を実行することで、検出画像の中に複数の欠陥画像が存在していても、測定すべき欠陥のみの特徴量を最小の画素を参照することで測定できるという効果を奏する。   In addition, the second defect detection means performs a defect detection process only on the defect image area as the center position of the defect detected by the first defect detection means, so that a plurality of defect images are included in the detected image. Even if it exists, the feature amount of only the defect to be measured can be measured by referring to the minimum pixel.

また、上記第2の欠陥検査手段は、上記第1の欠陥検出手段で検出して記憶した欠陥包含領域画像に基づき、繰り返し条件を変更して測定値を見直すことで、再度検査対象物を撮像することなく、適正な検出条件が設定できるという効果を奏する。   Further, the second defect inspection means picks up the inspection object again by changing the repetitive conditions and reviewing the measurement value based on the defect inclusion area image detected and stored by the first defect detection means. The effect that an appropriate detection condition can be set without doing is produced.

以下、図面を参照して、本発明の実施の形態について説明する。図1は、この発明の一実施形態による欠陥検査装置の構成を示す概略ブロック図である。
本実施形態では、走行中のシート状の検査対象物を撮像し、撮像した画像に基づいて欠陥検出処理を実行する。そのために、本実施形態の欠陥検査装置は、図1に示すように、検査対象物を撮像して、画像データを生成する撮像手段1と、画像データに基づいて、第1の検出条件で欠陥検出処理を実行する第1の欠陥検出手段2と、検出した欠陥の中心位置(例えば、画像の水平軸の値cxと垂直軸の値cyとで指定される位置の情報)を中心とした欠陥包含領域画像を抽出するための画像抽出手段3と、前記画像抽出手段3により抽出した画像を基に、第1の欠陥検出手段2とは異なる第2の検出条件で欠陥検出処理を実行する第2の欠陥検出手段4から構成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram showing a configuration of a defect inspection apparatus according to an embodiment of the present invention.
In the present embodiment, a sheet-like inspection object that is running is imaged, and defect detection processing is executed based on the captured image. Therefore, as shown in FIG. 1, the defect inspection apparatus according to the present embodiment captures an image of an inspection object, generates image data, and a defect under a first detection condition based on the image data. A defect centered on the first defect detection means 2 that executes the detection process and the center position of the detected defect (for example, information on the position specified by the horizontal axis value cx and the vertical axis value cy). First, a defect detection process is executed under a second detection condition different from the first defect detection means 2 based on the image extraction means 3 for extracting the inclusion area image and the image extracted by the image extraction means 3. 2 defect detection means 4.

本実施形態で使用する撮像手段1は、ライン状照明装置とラインセンサを有しており、走行する検査対象物を撮像し、検査対象物の画像データを生成する。また、生成した画像データを第1の欠陥検出手段2に出力する。撮像された画像は、例えば、検査対象物の長尺方向を垂直軸(y軸)とし、長尺方向に直交する方向を水平軸(x軸)とする画像である。
ライン状照明装置は予め決められた方向からの光を検査対象物に照射し、ラインセンサは予め決められた素子数で、ライン状照明装置により照明された検査対象物を撮像し画像を生成する。また、撮像手段1は、走行中の画像を保存するフレームメモリを有している。例えば、128MBのフレームメモリを使用すれば、2048素子数のラインセンサの場合、64Kラインのスキャン分の画像を一次保存できる。スキャンした画像が、上記フレームメモリの容量によるスキャン数を超える場合は、古いスキャン画像のものを順に消去し、新しいスキャンの画像をフレームメモリに順に保存する。なお、ライン状照明装置とラインセンサとは、その長尺方向が、検査対象物の長尺方向に直交する方向に平行になるように取り付けられている。
The imaging means 1 used in the present embodiment has a line illumination device and a line sensor, images a traveling inspection object, and generates image data of the inspection object. Further, the generated image data is output to the first defect detection means 2. The captured image is, for example, an image in which the long direction of the inspection object is the vertical axis (y axis) and the direction orthogonal to the long direction is the horizontal axis (x axis).
The line illumination device irradiates the inspection object with light from a predetermined direction, and the line sensor images the inspection object illuminated by the line illumination device with a predetermined number of elements to generate an image. . Moreover, the imaging means 1 has a frame memory for storing a running image. For example, if a 128 MB frame memory is used, a 64K line scan image can be temporarily stored in the case of a line sensor with 2048 elements. When the number of scanned images exceeds the number of scans due to the capacity of the frame memory, the old scanned images are sequentially deleted, and new scanned images are stored in the frame memory in order. The line illumination device and the line sensor are attached so that the longitudinal direction thereof is parallel to the direction orthogonal to the longitudinal direction of the inspection object.

例えば、撮像手段1における、ライン状照明装置としては、照明長500〜2200mmの石英ロッド照明が使用でき、また、ラインセンサとしては、素子数2048素子、5000素子または7450素子のラインセンサが使用できる。なお、各々の機種と台数は、検査対象の幅、走行速度、分解能により任意に選択してもよい。   For example, as the linear illumination device in the image pickup means 1, quartz rod illumination with an illumination length of 500 to 2200 mm can be used, and as the line sensor, a line sensor having 2048 elements, 5000 elements, or 7450 elements can be used. . Each model and number of units may be arbitrarily selected depending on the width of the inspection target, the traveling speed, and the resolution.

次に、第1の欠陥検出手段2は、撮像手段1から入力された画像データを、予め決められた第1の検出条件に基づいて、前処理し、予め設定した閾値で2値化を行い、データ圧縮後、連結性処理を行い、欠陥の検出を行い、検出した欠陥の中心位置(以下、欠陥画像中心位置情報とする)、欠陥の面積、欠陥のフェレ径により特定される欠陥画像領域(以下、欠陥画像領域情報とする)、などを検出する。また、第1の欠陥検出手段2は、検出した欠陥の測定値から、第1の検出条件の1つである欠陥の分類条件に基づいて、検出した欠陥についての分類処理を実行する。   Next, the first defect detection unit 2 preprocesses the image data input from the imaging unit 1 based on a predetermined first detection condition, and binarizes the image data with a preset threshold value. After data compression, connectivity processing is performed to detect defects, and the defect image area specified by the detected defect center position (hereinafter referred to as defect image center position information), defect area, and defect ferret diameter (Hereinafter referred to as defect image area information). The first defect detection means 2 executes a classification process for the detected defect based on the defect classification condition which is one of the first detection conditions from the measured value of the detected defect.

なお、欠陥のフェレ径により特定される欠陥画像領域については、後に、図2を用いて詳しく説明するが、欠陥を覆う領域に関する情報である。
また、検出した欠陥の中心位置とは、例えば、欠陥のフェレ径により特定される欠陥画像領域の中心位置であり、画像の水平軸での値cxと垂直軸での値cyとで指定される位置の情報である。
Note that the defect image area specified by the defect ferret diameter will be described later in detail with reference to FIG.
The center position of the detected defect is, for example, the center position of the defect image area specified by the defect diameter of the defect, and is designated by a value cx on the horizontal axis and a value cy on the vertical axis. This is location information.

なお、予め決められた第1の検出条件とは、前処理条件、検出条件、欠陥の分類条件を含む。例えば、予め決められた第1の検出条件の前処理条件としては、画像の2値化を実行する場合の閾値の情報などであり、検出条件としては、2値化した画像から、面積、幅、長さなどの測定値を測定するための閾値などの情報である。
例えば、ある欠陥の候補である画像の面積が、予め決められた面積Aより大きい場合には欠陥として検出し、小さい場合には欠陥として検出しない。検出条件とは、このような予め決められた閾値としての値の情報である。
また、予め決められた第1の検出条件の欠陥の分類条件とは、例えば、分類を実行するときは、欠陥の幅が第1の値より大きく第2の値より以下である場合には分類Aとする、などとして欠陥の分類を実行するが、この場合の、欠陥の幅の第1の値や第2の値などの、分類のための条件となる情報である。
The predetermined first detection conditions include preprocessing conditions, detection conditions, and defect classification conditions. For example, the pre-processing conditions for the first detection condition determined in advance include threshold information when image binarization is performed, and the detection conditions include area, width from the binarized image. , Information such as a threshold for measuring a measured value such as length.
For example, when the area of an image that is a candidate for a certain defect is larger than a predetermined area A, it is detected as a defect, and when it is smaller, it is not detected as a defect. The detection condition is information on a value as such a predetermined threshold value.
Also, the defect classification condition of the first detection condition determined in advance is, for example, when classification is performed, when the width of the defect is larger than the first value and smaller than the second value. The defect classification is executed as A or the like. In this case, the information is a condition for classification such as the first value and the second value of the defect width.

なお、本実施形態においては、例えば、画像の2値化処理においては、画像入力された画像を基準として、その基準領域における画素レベルの平均に対する比率(%)により、2値化のための閾値を設定する。次に、任意の画素が、閾値よりも大きいか否かを検出することにより、画像の2値化処理を実行する。なお、閾値の定め方は、これに限られるものではなく、任意である。
次に、第1の欠陥検出手段2は、検出した欠陥画像中心位置情報と欠陥画像領域情報とを、画像抽出手段3に出力する。
In the present embodiment, for example, in the binarization processing of an image, a threshold for binarization is based on a ratio (%) with respect to the average of the pixel level in the reference area with the image input as a reference. Set. Next, the binarization processing of the image is executed by detecting whether or not an arbitrary pixel is larger than the threshold value. Note that the method of determining the threshold value is not limited to this, and is arbitrary.
Next, the first defect detection unit 2 outputs the detected defect image center position information and defect image region information to the image extraction unit 3.

画像抽出手段3は、第1の欠陥検出手段2からの欠陥画像中心位置情報の位置を中心として、予め定められた水平方向と垂直方向の画素サイズ数を有する欠陥包含領域画像情報を、撮像手段1により撮像されフレームメモリに保存された画像データから、抽出する。
例えば、欠陥包含領域画像情報の水平方向と垂直方向の画素数のサイズは、水平方向の画素数が256画素であり、垂直方向の画素数が256画素である。なお、欠陥包含領域画像情報の水平方向および垂直方向の画素数は256画素数に限られるものではなく、任意の画素数であってもよい。
The image extracting unit 3 captures defect inclusion region image information having a predetermined number of pixel sizes in the horizontal and vertical directions around the position of the defect image center position information from the first defect detecting unit 2. 1 is extracted from the image data picked up by 1 and stored in the frame memory.
For example, as for the size of the number of pixels in the horizontal direction and the vertical direction of the defect inclusion region image information, the number of pixels in the horizontal direction is 256 pixels, and the number of pixels in the vertical direction is 256 pixels. Note that the number of pixels in the horizontal direction and the vertical direction of the defect inclusion region image information is not limited to the number of 256 pixels, and may be an arbitrary number of pixels.

また、画像抽出手段3は抽出画像記憶手段301を有しており、画像抽出手段3の抽出した欠陥包含領域画像情報と、第1の欠陥検出手段2からの欠陥画像中心位置情報と欠陥画像領域情報とを、関連付けて、画像抽出手段3は欠陥画像毎に抽出画像記憶手段301に記録する。
なお、画像抽出手段3が抽出画像記憶手段301を有するとして説明しているが、これに限られるものではなく、画像抽出手段3と抽出画像記憶手段301とは異なる装置として構成してもよい。
本実施形態では、画像抽出手段3としては、制御用PC(パーソナルコンピュータ)を使用してもよい。
The image extraction unit 3 includes an extracted image storage unit 301. The defect inclusion region image information extracted by the image extraction unit 3, the defect image center position information from the first defect detection unit 2, and the defect image region. In association with the information, the image extraction unit 3 records the defect image in the extracted image storage unit 301 for each defect image.
The image extracting unit 3 is described as having the extracted image storage unit 301. However, the present invention is not limited to this, and the image extracting unit 3 and the extracted image storage unit 301 may be configured as different devices.
In the present embodiment, a control PC (personal computer) may be used as the image extraction means 3.

第2の欠陥検出手段4は、画像抽出手段3で抽出された欠陥包含領域画像情報の欠陥画像領域情報により指定される領域について、第2の検出条件に基づき測定し、面積、幅、長さなどの測定値を測定する。また、第2の欠陥検出手段4は、この測定値から、第2の検出条件に基づき、欠陥の分類条件に従って欠陥分類を実行する。
なお、第2の検出条件とは、前処理条件、検出条件、欠陥の分類条件であり、第1の検出条件と同様な条件である。なお、通常、第2の検出条件は第1の検出条件とは、その値が異なる。
なお、第2の欠陥検出手段4は欠陥包含領域画像情報と欠陥画像中心位置情報と欠陥画像領域情報とを、画像抽出手段3から直接に取得してもよいし、画像抽出手段3の抽出画像記憶手段301から取得してもよい。
The second defect detection means 4 measures the area specified by the defect image area information of the defect inclusion area image information extracted by the image extraction means 3 based on the second detection condition, and the area, width, length Measure the measured value. Further, the second defect detecting means 4 executes defect classification from the measured value according to the defect classification condition based on the second detection condition.
The second detection conditions are preprocessing conditions, detection conditions, and defect classification conditions, and are the same conditions as the first detection conditions. Normally, the value of the second detection condition is different from that of the first detection condition.
The second defect detection unit 4 may directly acquire the defect inclusion region image information, the defect image center position information, and the defect image region information from the image extraction unit 3, or the extracted image of the image extraction unit 3. You may acquire from the memory | storage means 301. FIG.

なお、第2の欠陥検出手段4は、第2の検出条件を設定するための第2の検出条件設定手段401を有している。ユーザは、第2の検出条件設定手段401を用いて、第2の検出条件を設定することが出来る。
また、第2の欠陥検出手段4は、第2の検出条件により検出した欠陥の測定結果や、検出した欠陥の分類の結果を表示または出力する検出確認手段402を有している。ユーザは、検出確認手段402を用いて、第2の欠陥検出手段4で設定した第2の検出条件により検出した欠陥の測定結果や、検出した欠陥の分類の結果を確認することが出来る。
The second defect detection unit 4 includes a second detection condition setting unit 401 for setting a second detection condition. The user can set the second detection condition using the second detection condition setting unit 401.
Further, the second defect detection means 4 has a detection confirmation means 402 for displaying or outputting the measurement result of the defect detected under the second detection condition and the result of classification of the detected defect. The user can confirm the measurement result of the defect detected under the second detection condition set by the second defect detection means 4 and the result of classification of the detected defect using the detection confirmation means 402.

本装置を用いるユーザは、第2の欠陥検出手段4の第2の検出条件設定手段401と検出確認手段402とを用いて、特定の欠陥が所望の測定結果や分類結果になるように、何度でも設定を行い、欠陥を検出するのに適正な第2の検出条件を決定することができる。
また、適正な第2の検出条件を決定するために、第2の検出条件設定手段401と検出確認手段402とを用いるため、つまり、測定した画像を用いて検出条件の決定を実行するため、検査対象物の画像を再度撮像することや、撮像のために検査対象物を再度走行させる必要がない。
The user who uses this apparatus uses the second detection condition setting means 401 and the detection confirmation means 402 of the second defect detection means 4 so that a specific defect becomes a desired measurement result or classification result. The second detection condition appropriate for detecting the defect can be determined by setting again.
Further, in order to use the second detection condition setting unit 401 and the detection confirmation unit 402 in order to determine an appropriate second detection condition, that is, to execute detection condition determination using the measured image, There is no need to take an image of the inspection object again, or to run the inspection object again for imaging.

なお、第2の欠陥検出手段4は、欠陥画像1個単位で実行することが可能であるが、検査単位でも可能である。検査単位の場合は、その検査単位で測定された複数の画像を自動で測定することが可能となる。
なお、ここでいう欠陥画像1個単位とは、1つの選択した欠陥画像について第2の検出条件に基づいて検出処理を実行することであり、検査単位とは、抽出画像記憶手段301に記憶された全ての欠陥画像について、第2の検出条件に基づいて検出処理を実行することである。
なお、本実施形態では、第2の欠陥検出手段4としては、操作用PCを用いてもよい。
The second defect detection means 4 can be executed in units of defect images, but can also be in units of inspection. In the case of the inspection unit, a plurality of images measured in the inspection unit can be automatically measured.
Note that the term “defect image unit” here means that detection processing is executed on one selected defect image based on the second detection condition, and the inspection unit is stored in the extracted image storage unit 301. For all the defect images, the detection process is executed based on the second detection condition.
In the present embodiment, an operation PC may be used as the second defect detection means 4.

図2は、一例としての欠陥画像を説明するための図である。図2において、欠陥包含領域画像Dは、水平軸(x軸)における水平画素が256画素であり、垂直軸(y軸)における垂直画素が256画素である画像である。
欠陥包含領域画像Dの中心には、第1の欠陥検出手段2で検出した、欠陥画像A1が表示されている。欠陥画像A1の中心位置(つまり、欠陥画像中心位置情報)は、中心位置の水平軸での値cxと、中心位置の垂直軸での値cyとで特定される。
なお、フェレ径とは、図2の欠陥画像A1に対して示すように、欠陥画像A1を覆う長方形の領域について、覆った領域の水平軸と垂直軸とにおける長さであり、図2においては、フェレ径の水平軸における長さがfxであり、フェレ径の垂直軸での長さがfyである。なお、それぞれのフェレ径fxとfyの中心は、欠陥画像中心位置情報の位置(cxとcy)になる。
FIG. 2 is a diagram for explaining a defect image as an example. In FIG. 2, the defect inclusion region image D is an image in which the horizontal pixels on the horizontal axis (x axis) are 256 pixels and the vertical pixels on the vertical axis (y axis) are 256 pixels.
In the center of the defect inclusion area image D, the defect image A1 detected by the first defect detection means 2 is displayed. The center position of the defect image A1 (that is, defect image center position information) is specified by a value cx on the horizontal axis of the center position and a value cy on the vertical axis of the center position.
The ferret diameter is the length of the covered area on the horizontal axis and the vertical axis of the rectangular area covering the defect image A1, as shown for the defect image A1 in FIG. The length of the ferret diameter on the horizontal axis is fx, and the length of the ferret diameter on the vertical axis is fy. The centers of the ferret diameters fx and fy are the positions (cx and cy) of the defect image center position information.

また、欠陥画像領域Fとは、フェレ径fxと、フェレ径fyとで囲まれる領域である。また、欠陥画像領域情報は、欠陥画像領域Fを特定するための情報であり、フェレ径fxとフェレ径fyとの値の情報である。
抽出画像記憶手段301には、図2に説明したような、欠陥包含領域画像Dの情報と、欠陥画像中心位置情報(cx、cy)と、欠陥画像領域情報(fx、fy)とが、欠陥画像毎に、関連付けて記憶されている。
The defect image area F is an area surrounded by the ferret diameter fx and the ferret diameter fy. The defect image area information is information for specifying the defect image area F, and is information on values of the ferret diameter fx and the ferret diameter fy.
In the extracted image storage unit 301, the defect inclusion area image D information, defect image center position information (cx, cy), and defect image area information (fx, fy) as described in FIG. Each image is stored in association with each other.

なお、欠陥画像領域Fを特定するためには、欠陥画像中心位置情報(cx、cy)を中心とした欠陥画像領域情報(fx、fy)による領域に限られるものではなく、例えば図2に示すように、欠陥画像領域Fのフェレ径fxの両端の位置情報fx1とfx2と、および、フェレ径fyの両端の位置情報fy1とfy2とにより特定してもよい。   The defect image area F is not limited to the area based on the defect image area information (fx, fy) centered on the defect image center position information (cx, cy), for example, as shown in FIG. As described above, the position information fx1 and fx2 at both ends of the ferret diameter fx of the defect image region F and the position information fy1 and fy2 at both ends of the ferret diameter fy may be specified.

また、欠陥包含領域画像Dの中には、欠陥画像A1とは異なる他の欠陥画像Bが含まれる場合があるが、欠陥画像A1についての欠陥画像領域情報による領域の範囲の外にあるため、第2の欠陥検出手段で検出すべきものと区別することが容易である。また、第2の欠陥検出手段4は、欠陥画像領域情報による領域の範囲内のみにより検出処理を実行するため、第2の欠陥検出手段4の検出処理は、欠陥画像Bの影響を受けない。   Further, the defect inclusion region image D may include another defect image B different from the defect image A1, but because it is outside the range of the region by the defect image region information about the defect image A1, It is easy to distinguish from what should be detected by the second defect detection means. In addition, since the second defect detection unit 4 executes the detection process only within the range of the area based on the defect image area information, the detection process of the second defect detection unit 4 is not affected by the defect image B.

また、図2に示すように、例えば、第1の欠陥検出手段2で検出された欠陥画像A1について、第2の欠陥検出手段4で検出した欠陥画像が、欠陥画像A2である。
同じ画像について欠陥を検出しているが、第1の欠陥検出手段2における第1の検出条件と、第2の欠陥検出手段4における第2の検出条件とが異なるため、検出画像も、欠陥画像A1と欠陥画像A2とのように異なる。
As shown in FIG. 2, for example, the defect image detected by the second defect detection unit 4 with respect to the defect image A1 detected by the first defect detection unit 2 is the defect image A2.
Although the defect is detected for the same image, the first detection condition in the first defect detection unit 2 and the second detection condition in the second defect detection unit 4 are different. It is different like A1 and defect image A2.

なお、通常、第2の欠陥検出手段4における第2の検出条件は、第1の欠陥検出手段2における第1の検出条件よりも甘くする。つまり、第1の検出条件においては、なるべく多くの欠陥を抽出する。そのため、例えば、欠陥の検出条件として2値化を実行する閾値は、正常部(正常部を100%とする)に対する比率を設定しておく。次に、第2の検出条件においては、第1の検出条件よりも正常部から離れた値を設定する。このようにすることにより、第1の検出条件で検出された欠陥が、第2の検出条件では、ある欠陥は欠陥として検出され、ある欠陥は欠陥でないものとして検出される。これは、2値化を実行する条件以外の検出条件においても同様である。以上のような、第2の検出条件と第1の検出条件との関係のために、通常、欠陥画像A2は欠陥画像A1より小さく、欠陥画像A2は欠陥画像A1の領域内に含まれる。   In general, the second detection condition in the second defect detection unit 4 is made sweeter than the first detection condition in the first defect detection unit 2. That is, as many defects as possible are extracted under the first detection condition. Therefore, for example, as a threshold value for executing binarization as a defect detection condition, a ratio with respect to a normal part (normal part is assumed to be 100%) is set. Next, in the second detection condition, a value farther from the normal part than the first detection condition is set. By doing in this way, a defect detected under the first detection condition is detected as a defect and a certain defect is detected as not a defect under the second detection condition. The same applies to detection conditions other than the conditions for performing binarization. Due to the relationship between the second detection condition and the first detection condition as described above, the defect image A2 is usually smaller than the defect image A1, and the defect image A2 is included in the area of the defect image A1.

次に、本発明の実施形態の動作を、図3のフローチャートを用いて説明する。
まず、画像入力の処理(ステップS1)で、ラインセンサから画像を予め設定した分解能で撮像し、画像を生成する。
次に、2値化1の処理(ステップS2)で、入力された画像を予め設定した閾値で2値化を実行する。次に、特徴量抽出1の処理(ステップS3)で、2値化画像のデータ圧縮を行った後、連結性処理を行い、欠陥の中心位置の情報である欠陥画像中心位置情報(cx、cy)、面積、欠陥画像領域情報(fx、fy)などの特徴量を測定する。次に、欠陥分類1の処理(ステップS4)で、測定した特徴量を基に、予め設定した欠陥分類条件に従って欠陥分類を実行する。
Next, the operation of the embodiment of the present invention will be described using the flowchart of FIG.
First, in the image input process (step S1), an image is captured from the line sensor with a preset resolution to generate an image.
Next, in the binarization 1 process (step S2), the input image is binarized with a preset threshold value. Next, in the feature amount extraction 1 process (step S3), after data compression of the binarized image is performed, connectivity processing is performed, and defect image center position information (cx, cy) that is information on the center position of the defect ), Area, defect image area information (fx, fy) and other feature quantities are measured. Next, in the defect classification 1 process (step S4), defect classification is executed according to preset defect classification conditions based on the measured feature values.

次に、画像抽出の処理(ステップS5)で、欠陥画像中心位置情報(cx、cy)の位置を中心として欠陥包含領域画像を抽出する。
次に、2値化その2の処理(ステップS6)で、画像抽出された画像を、2値化1(ステップS2)とは異なる第2の検出条件に基づいて、異なる閾値で2値化を実行する。次に、特徴量抽出2の処理(ステップS7)で、2値化画像のデータ圧縮を行った後、連結性処理を行い、欠陥の中心位置(cx、cy)、面積、幅、長さなどの特徴量を測定する。次に、欠陥分類2の処理(ステップS8)で、測定した特徴量を基に、欠陥分類1(ステップS4)と同様、予め設定した欠陥分類条件に従って欠陥分類を実行する。
Next, in the image extraction process (step S5), a defect inclusion region image is extracted with the position of the defect image center position information (cx, cy) as the center.
Next, in binarization part 2 (step S6), the image extracted is binarized with a different threshold based on a second detection condition different from binarization 1 (step S2). Execute. Next, in the feature amount extraction process 2 (step S7), after the data compression of the binarized image, the connectivity process is performed, and the center position (cx, cy), area, width, length, etc. of the defect Measure the feature amount. Next, in the defect classification 2 process (step S8), defect classification is executed according to preset defect classification conditions in the same manner as defect classification 1 (step S4) based on the measured feature values.

なお、ステップS2からステップS4までの処理は、第1の検出条件に基づき処理を実行し、ステップS6からステップS8までの処理は、第2の検出条件に基づき処理を実行する。   Note that the processing from step S2 to step S4 executes processing based on the first detection condition, and the processing from step S6 to step S8 executes processing based on the second detection condition.

処理手順としては、下記の2つの方式が可能である。方式1は、画像入力の処理(ステップS1)から画像抽出の処理(ステップS5)までを行い、2値化2の処理(ステップS6)から欠陥分類2の処理(ステップS2)を、検出された1つの画像について処理する方法である。
なお、この場合、ステップS5とステップS6との間に、第2の検出条件を設定する処理(ステップS100)を追加し、ステップS8の次に、結果を出力する処理(ステップ101)を追加し、ステップ100とステップ101との間を繰り返すことにより、ユーザは適正な第2の検出条件を設定することが可能となる。
As a processing procedure, the following two methods are possible. Method 1 performs processing from image input processing (step S1) to image extraction processing (step S5), and detection of binarization 2 processing (step S6) to defect classification 2 processing (step S2). This is a method for processing one image.
In this case, a process for setting the second detection condition (step S100) is added between step S5 and step S6, and a process for outputting the result (step 101) is added after step S8. By repeating between step 100 and step 101, the user can set an appropriate second detection condition.

方式2は、画像入力の処理(ステップS1)から画像抽出の処理(ステップS5)までを行い、2値化2の処理(ステップS6)から欠陥分類2の処理(ステップS8)までを、検査単位で検出された複数個の欠陥画像について一括して検出する方法である。
なお、方式2においては、方式1により求めた適正な第2の検出条件に基づいて、ステップS6からステップS8を、複数個の欠陥画像について一括して処理するようにしてもよい。
Method 2 performs image input processing (step S1) to image extraction processing (step S5), and binarization 2 processing (step S6) to defect classification 2 processing (step S8). This is a method for collectively detecting a plurality of defect images detected in (1).
In method 2, steps S6 to S8 may be collectively processed for a plurality of defect images based on the appropriate second detection condition obtained in method 1.

次に、本発明による実施形態の実施例1について説明する。実施例1は方式1の例である。
ここで、例えば、検査対象は幅1600mmで、30m/分で走行され、画像は、分解能0.07×0.07mm/画素で入力する。ライン状照明装置は、照明長2000mmの石英ロッド照明を1台使用する。ラインセンサとしては、素子数5000、駆動周波数40MHz、最高走査周期0.131msの性能を有するラインセンサを5台使用する。
Next, Example 1 of the embodiment according to the present invention will be described. Example 1 is an example of method 1.
Here, for example, the inspection object has a width of 1600 mm and travels at 30 m / min, and the image is input with a resolution of 0.07 × 0.07 mm / pixel. The line illumination device uses one quartz rod illumination with an illumination length of 2000 mm. As the line sensors, five line sensors having a performance of 5000 elements, a drive frequency of 40 MHz, and a maximum scanning cycle of 0.131 ms are used.

図4(a)は、実施例1における、第2の欠陥検出手段で検出した欠陥の欠陥包含領域画像を示す図である。実施例1においては、第2の検出条件として、2値化の閾値を設定している。例えば、欠陥包含領域画像Dの一部である閾値設定領域Hを基準として、基準に対しての割合により閾値を設定する。
なお、第1の欠陥検出手段で検出した欠陥画像領域F(フェレ径fx×fy)と、第2の欠陥検出手段で検出した欠陥画像A2とが、図4(a)に示されている。
FIG. 4A is a diagram illustrating a defect inclusion region image of a defect detected by the second defect detection unit in the first embodiment. In the first embodiment, a binarization threshold is set as the second detection condition. For example, the threshold value is set based on the ratio with respect to the threshold value setting area H that is a part of the defect inclusion area image D.
FIG. 4A shows the defect image area F (Ferret diameter fx × fy) detected by the first defect detection means and the defect image A2 detected by the second defect detection means.

図4(b)には、第1の欠陥検出手段で検出した欠陥の測定値K1が示してあり、面積が2.04mm角であり、幅が2.00mmであり、長さが2.80mmであることが示してある。
図4(c)には、第2の欠陥検出手段で検出した欠陥の測定値K2が示してあり、面積が1.56mm角であり、幅が1.40mmであり、長さが2.20mmであることが示してある。
ここでは、一例としての欠陥の測定値K1とK2として、面積、幅、長のみを例示しているが、他の特徴量が含まれてもよい。
以上の閾値を入力し、つまり、第2の検出条件を設定し、再度、第2の欠陥検出手段4に検出し測定することにより、欠陥の測定値K2のように、何度でも測定結果を確認することが可能であり、適正な第2の検出条件を求めることが可能である。
以上のように、実施例1における方式により、例えば2値化の閾値の条件などの、測定値が適正になる第2の検出条件を容易に求めることができる。
FIG. 4B shows the measured value K1 of the defect detected by the first defect detection means, the area is 2.04 mm square, the width is 2.00 mm, and the length is 2.80 mm. It is shown that.
FIG. 4C shows the measured value K2 of the defect detected by the second defect detecting means, the area is 1.56 mm square, the width is 1.40 mm, and the length is 2.20 mm. It is shown that.
Here, only the area, width, and length are exemplified as the defect measurement values K1 and K2 as an example, but other feature values may be included.
By inputting the above threshold value, that is, by setting the second detection condition and again detecting and measuring the second defect detection means 4, the measurement result can be obtained as many times as the defect measurement value K2. It is possible to confirm, and it is possible to obtain an appropriate second detection condition.
As described above, the second detection condition in which the measurement value is appropriate can be easily obtained by the method in the first embodiment, for example, the binarization threshold condition.

次に、本発明による実施形態の実施例2について説明する。実施例2は方式2の例である。実施例2においては、第1の欠陥検出手段で検出し、抽出画像記憶手段301に記憶してある欠陥画像情報を対象とし、第1の検査条件とは異なる第2の検出条件に基づき、第2の欠陥検出手段で欠陥を検出する。
ここで、第1の検出条件は、厳しい条件としておき、欠陥を過剰検出気味に設定する。次に、第2の検出条件は、実施例1で適正と思われる条件の値を用いる。
また、抽出画像記憶手段301に記憶してある全ての欠陥画像情報について、第2の検出条件により検出と測定を行ってもよい。
実施例2のようにすることにより、適正な第2の検出条件により、検査対象物を一度撮像するのみで、適正な欠陥の検出を実行することが可能となる。このような方式2は、試作品のように1回しか走行と撮像とができない場合に有効である。
Next, Example 2 of the embodiment according to the present invention will be described. Example 2 is an example of method 2. In the second embodiment, the defect image information detected by the first defect detection unit and stored in the extracted image storage unit 301 is used as a target, and based on the second detection condition different from the first inspection condition, The defect is detected by the defect detection means 2.
Here, the first detection condition is set as a strict condition, and the defect is set to be excessively detected. Next, as the second detection condition, a value of a condition that is considered appropriate in the first embodiment is used.
Further, all the defect image information stored in the extracted image storage unit 301 may be detected and measured under the second detection condition.
By doing like Example 2, it becomes possible to detect an appropriate defect only by imaging an inspection object once under an appropriate second detection condition. Such method 2 is effective when the vehicle can be run and imaged only once as in a prototype.

次に、本発明による実施形態の実施例3について説明する。実施例3は、第1の欠陥検出手段で検出できない欠陥の例であり、マークを使用する例である。
マークとは、例えば、検査対象物において検出したい欠陥について、検査対象物において検出したい欠陥の近くに、検査の前に、ユーザが予めマークをつけておく。その後、検査が行われ、マークが検出手段により欠陥として検出される。この時には、検出したい欠陥は検出されていないかもしれない。
Next, Example 3 of the embodiment according to the present invention will be described. Example 3 is an example of a defect that cannot be detected by the first defect detection means, and is an example in which a mark is used.
For example, for a defect to be detected in an inspection target, the user puts a mark in advance near the defect to be detected in the inspection target before the inspection. Thereafter, an inspection is performed, and the mark is detected as a defect by the detection means. At this time, the defect to be detected may not be detected.

次に、欠陥として検出されたマークと一緒に、検出したい欠陥も撮像されているので、まずマークを検出し、検出したマークの近くにある検出したい欠陥を特定する。次に、検出したい欠陥を検出するような条件を決定する。
実施例3に説明する方法は、以上のようにして、マークを用いて、予めわかっている検出したい欠陥を、検出出来る検出条件を決定する方法である。
Next, since the defect to be detected is imaged together with the mark detected as a defect, the mark is first detected, and the defect to be detected near the detected mark is specified. Next, conditions for detecting a defect to be detected are determined.
The method described in the third embodiment is a method for determining a detection condition that can detect a defect to be detected in advance using a mark as described above.

図5は、第1の欠陥検出手段でマークを検出し、目的とする欠陥の検出条件を設定する方法を説明するための図である。
第1の欠陥検出手段で検出できない欠陥画像Tの場合は、マークMを欠陥として検出して欠陥包含領域画像を抽出する。マークMは欠陥包含領域画像Dの中心に表示される。
第2の欠陥検出手段、欠陥包含領域画像Dにおける測定領域を選択する測定領域選択手段を設ける。この測定領域選択手段を用い、検出したい欠陥画像Tを矩形の領域である測定領域F2で囲む。
次に、欠陥画像Tの周辺である測定領域F2を第2の欠陥検出手段で測定する。
ユーザは、第2の検出条件を変更し、測定領域F2を測定することで、欠陥画像Tを検出する適正な第2の検出条件を求めることが出来る。
FIG. 5 is a diagram for explaining a method of detecting a mark by the first defect detection means and setting a target defect detection condition.
In the case of a defect image T that cannot be detected by the first defect detection means, the mark M is detected as a defect and a defect inclusion region image is extracted. The mark M is displayed at the center of the defect inclusion region image D.
Second defect detection means and measurement area selection means for selecting a measurement area in the defect inclusion area image D are provided. Using this measurement area selection means, the defect image T to be detected is surrounded by a measurement area F2 which is a rectangular area.
Next, the measurement area F2 around the defect image T is measured by the second defect detection means.
The user can obtain an appropriate second detection condition for detecting the defect image T by changing the second detection condition and measuring the measurement region F2.

以上、詳細に説明したように、本発明の欠陥検査装置及び欠陥検査方法によれば、検査対象物について、欠陥検出処理を行った後、再度、異なる条件で欠陥検出を実行することを可能とすることで、適正な検出条件の設定が容易になる。   As described above in detail, according to the defect inspection apparatus and the defect inspection method of the present invention, it is possible to execute defect detection again under different conditions after performing the defect detection process on the inspection object. This makes it easy to set appropriate detection conditions.

なお、検査装置の運用においては、第2の欠陥検出手段4で求めた適正な検出条件を、第1の欠陥検出手段2における第1の検出条件として設定し、以降の検査対象物を、撮像手段1と第1の欠陥検出手段2と画像抽出手段3とを用いて検査することが可能である。
第2の欠陥検出手段4で求めた適正な検出条件(である第2の検出条件)を第1の欠陥検出手段2における第1の検出条件として設定するために、第2の欠陥検出手段4に、第2の検出条件を第1の欠陥検出手段2の第1の検出条件として設定する検出条件反映手段を有するようにしてもよい。
In the operation of the inspection apparatus, an appropriate detection condition obtained by the second defect detection means 4 is set as the first detection condition in the first defect detection means 2, and subsequent inspection objects are imaged. Inspection can be performed using the means 1, the first defect detection means 2, and the image extraction means 3.
In order to set the appropriate detection condition (the second detection condition) obtained by the second defect detection means 4 as the first detection condition in the first defect detection means 2, the second defect detection means 4 In addition, a detection condition reflecting unit that sets the second detection condition as the first detection condition of the first defect detection unit 2 may be provided.

なお、この場合、例えば、図3のステップS5とステップS6との間に、第2の検出条件を設定する処理(ステップS100)を追加し、ステップS8の次に、結果を出力する処理(ステップ101)を追加し、ステップ100とステップ101との間を繰り返すことにより、ユーザは適正な第2の検出条件を設定することが可能としていたが、ステップ101の結果を出力する処理において、ユーザが出力結果を見て、適正な検出条件であることを確認した場合、例えば、検出条件を反映する操作ボタンを押すことにより、検出条件反映手段の処理が実行されるようにしてもよい。
なお、このようにするために、検出条件反映手段には、ユーザからの入力を受信し、ボタンが押されたことを検出する、入力検出手段を有するようにしてもよい。
なお、操作ボタンとは、出力手段に表示され操作されるボタンであり、マウスやキーボードにより操作され押されるボタンでもよい。
In this case, for example, a process for setting the second detection condition (step S100) is added between step S5 and step S6 in FIG. 3, and the result is output after step S8 (step S100). 101), and repeating between step 100 and step 101, the user can set an appropriate second detection condition. However, in the process of outputting the result of step 101, the user When it is confirmed that the detection condition is appropriate by looking at the output result, for example, the processing of the detection condition reflection means may be executed by pressing an operation button that reflects the detection condition.
In order to do this, the detection condition reflecting unit may include an input detecting unit that receives an input from the user and detects that the button is pressed.
The operation button is a button that is displayed and operated on the output means, and may be a button that is operated and pressed with a mouse or a keyboard.

なお、実施形態においては、欠陥画像領域Fを、欠陥画像のフェレ径fxとフェレ径fyとにより特定したが、画像フィルタの条件を変更する場合は、第2の測定値の方が大きくなる場合があるので、フェレ径を、フェレ径fx+αxとフェレ径fy+αyとすることも必要である。なおここで、αxとαyとは、それぞれ、0より大きい値である。   In the embodiment, the defect image area F is specified by the ferret diameter fx and the ferret diameter fy of the defect image. However, when the image filter condition is changed, the second measurement value is larger. Therefore, it is necessary to set the ferret diameter to the ferret diameter fx + αx and the ferret diameter fy + αy. Here, αx and αy are values larger than 0, respectively.

なお、第1の欠陥検出手段2、画像抽出手段3および第2の欠陥検出手段4のそれぞれは、専用のハードウェアにより実現されるものであってもよく、また、第1の欠陥検出手段2、画像抽出手段3および第2の欠陥検出手段4のそれぞれは、メモリおよびCPU(中央演算装置)により構成され、第1の欠陥検出手段2、画像抽出手段3および第2の欠陥検出手段4のそれぞれの機能を実現するためのプログラムをメモリにロードして実行することによりその機能を実現させるものであってもよい。   Each of the first defect detection means 2, the image extraction means 3, and the second defect detection means 4 may be realized by dedicated hardware, or the first defect detection means 2 Each of the image extraction means 3 and the second defect detection means 4 is constituted by a memory and a CPU (central processing unit), and the first defect detection means 2, the image extraction means 3 and the second defect detection means 4 The function may be realized by loading a program for realizing each function into a memory and executing the program.

なお、抽出画像記憶手段301は、ハードディスク装置や光磁気ディスク装置、フラッシュメモリ等の不揮発性のメモリや、RAM(Random Access Memory)のような揮発性のメモリ、あるいはこれらの組み合わせにより構成されるものとする。   The extracted image storage unit 301 includes a nonvolatile memory such as a hard disk device, a magneto-optical disk device, or a flash memory, a volatile memory such as a RAM (Random Access Memory), or a combination thereof. And

また、第2の欠陥検出手段4には、周辺機器として入力装置、表示装置等(いずれも図示せず)が接続されるものとする。ここで、入力装置とはキーボード、マウス等の入力デバイスのことをいう。表示装置とはCRT(Cathode Ray Tube)や液晶表示装置等のことをいう。   Further, it is assumed that an input device, a display device, and the like (none of them are shown) are connected to the second defect detection means 4 as peripheral devices. Here, the input device refers to an input device such as a keyboard and a mouse. The display device refers to a CRT (Cathode Ray Tube), a liquid crystal display device, or the like.

なお、実施形態の説明においては、第1の検出条件を予め決められた値として説明しているが、第1の欠陥検出手段2が、第1の検出条件を設定する第1の検出条件設定手段を有しており、第1の検出条件設定手段により第1の検出条件を設定するようにしてもよい。   In the description of the embodiment, the first detection condition is described as a predetermined value. However, the first detection condition setting in which the first defect detection unit 2 sets the first detection condition. A first detection condition may be set by the first detection condition setting means.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.

本発明は、欠陥検査装置に用いて好適である。   The present invention is suitable for use in a defect inspection apparatus.

この発明の一実施形態による陥検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the defect inspection apparatus by one Embodiment of this invention. 第1の欠陥検出手段で検出した欠陥の欠陥包含領域画像と特徴量を示す図である。It is a figure which shows the defect inclusion area | region image and feature-value of the defect detected by the 1st defect detection means. 本発明の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of this invention. 第2の欠陥検出手段で検出した一例としての検出例を示す説明図である。It is explanatory drawing which shows the example of a detection as an example detected by the 2nd defect detection means. 第1の欠陥検出手段でマークを検出し、目的とする欠陥の検出条件を設定する方法を説明するための説明図である。It is explanatory drawing for demonstrating the method to detect a mark with the 1st defect detection means, and to set the detection conditions of the target defect.

符号の説明Explanation of symbols

1 撮像手段
2 第1の欠陥検出手段
3 画像抽出手段
4 第2の欠陥検出手段
D 欠陥包含領域画像
A1 欠陥画像
A2 欠陥画像
B 欠陥画像
F 欠陥画像領域
fx フェレ径
fy フェレ径
H 閾値設定領域
K1 第1の欠陥検出手段での測定値
K2 第2の欠陥検出手段での測定値
M マーク
T 欠陥画像
F2 測定領域

DESCRIPTION OF SYMBOLS 1 Imaging means 2 1st defect detection means 3 Image extraction means 4 2nd defect detection means D Defect inclusion area | region image A1 Defect image A2 Defect image B Defect image F Defect image area fx Ferre diameter fy Ferre diameter H Threshold setting area K1 Measurement value K2 at the first defect detection means Measurement value M at the second defect detection means M Mark T Defect image F2 Measurement region

Claims (5)

検査対象物を撮像して画像データを生成する撮像手段と、
前記撮像手段の生成した画像データと第1の検出条件としての閾値とに基づいて第1の欠陥の検出処理を実行し、前記第1の欠陥の検出処理により検出した欠陥の中心位置を検出する第1の欠陥検出手段と、
前記第1の欠陥検出手段の検出した欠陥の中心位置を中心とする予め決められた領域の画像である欠陥包含領域画像を前記撮像手段の生成した画像データから抽出する画像抽出手段と、
前記画像抽出手段が抽出した欠陥包含領域画像の中の領域であって、前記第1の欠陥検出手段が検出した欠陥の中心位置を中心とし当該欠陥のフェレ径に応じて囲まれる領域である欠陥画像領域について第2の検出条件としての閾値に基づいて第2の欠陥の検出処理を実行する第2の欠陥検出手段と、
を有し、
前記第2の検出条件としての閾値が、前記第1の検出条件としての閾値よりも正常部の値から離れた値であることを特徴とする欠陥検査装置。
Imaging means for imaging the inspection object and generating image data;
A first defect detection process is executed based on the image data generated by the imaging means and a threshold value as a first detection condition , and a center position of the defect detected by the first defect detection process is detected. First defect detection means;
Image extraction means for extracting a defect inclusion area image, which is an image of a predetermined area centered on the center position of the defect detected by the first defect detection means, from the image data generated by the imaging means;
A defect in the defect inclusion region image extracted by the image extraction unit, the region being centered on the center position of the defect detected by the first defect detection unit and surrounded by the defect diameter of the defect Second defect detection means for executing a second defect detection process based on a threshold value as a second detection condition for the image region;
I have a,
The defect inspection apparatus , wherein the threshold value as the second detection condition is a value farther from the value of the normal part than the threshold value as the first detection condition .
前記第2の欠陥検出手段は、複数の前記欠陥画像領域のそれぞれに対して独立に前記第2の検出条件に基づいて前記第2の欠陥の検出処理を実行することを特徴とする請求項1に記載の欠陥検査装置。   2. The second defect detection means executes the second defect detection process independently for each of a plurality of the defect image areas based on the second detection condition. The defect inspection apparatus described in 1. 検査対象物を撮像して画像データを生成する撮像手段と、
前記撮像手段の生成した画像データと第1の検出条件としての閾値とに基づいて第1の欠陥の検出処理を実行し、前記第1の欠陥の検出処理により検出した欠陥の中心位置を検出する第1の欠陥検出手段と、
前記第1の欠陥検出手段の検出した欠陥の中心位置を中心とする予め決められた領域の画像である欠陥包含領域画像を前記撮像手段の生成した画像データから抽出する画像抽出手段と、
第2の検出条件を設定する第2の検出条件設定手段と、
前記画像抽出手段が抽出した欠陥包含領域画像の中の領域であって、前記第1の欠陥検出手段が検出した欠陥の中心位置を中心とし当該欠陥のフェレ径に応じて囲まれる領域である欠陥画像領域について前記第2の検出条件設定手段により設定された第2の検出条件としての閾値に基づいて第2の欠陥の検出処理を実行する第2の欠陥検出手段と、
前記第2の欠陥検出手段による前記第2の欠陥の検出処理の結果を出力する出力手段と、
前記第2の検出条件を前記第1の欠陥検出手段における前記第1の検出条件に設定する検出条件反映手段と、
を有し、
前記第2の検出条件としての閾値が、前記第1の検出条件としての閾値よりも正常部の値から離れた値であることを特徴とする欠陥検査装置。
Imaging means for imaging the inspection object and generating image data;
A first defect detection process is executed based on the image data generated by the imaging means and a threshold value as a first detection condition , and a center position of the defect detected by the first defect detection process is detected. First defect detection means;
Image extraction means for extracting a defect inclusion area image, which is an image of a predetermined area centered on the center position of the defect detected by the first defect detection means, from the image data generated by the imaging means;
Second detection condition setting means for setting a second detection condition;
A defect in the defect inclusion region image extracted by the image extraction unit, the region being centered on the center position of the defect detected by the first defect detection unit and surrounded by the defect diameter of the defect Second defect detection means for executing a second defect detection process based on a threshold value as a second detection condition set by the second detection condition setting means for the image region;
An output means for outputting a result of the detection process of the second defect by the second defect detection means;
Detection condition reflecting means for setting the second detection condition as the first detection condition in the first defect detection means;
I have a,
The defect inspection apparatus , wherein the threshold value as the second detection condition is a value farther from the value of the normal part than the threshold value as the first detection condition .
前記第2の検出条件設定手段と前記第2の欠陥検出手段と前記出力手段との処理を繰り返す反復手段、
を有することを特徴とする請求項3の欠陥検査装置。
Repetitive means for repeating the processing of the second detection condition setting means, the second defect detection means, and the output means;
The defect inspection apparatus according to claim 3, further comprising:
検査対象物を撮像して画像データを生成し、
前記生成した画像データと第1の検出条件としての閾値とに基づいて第1の欠陥の検出処理を実行し、前記第1の欠陥の検出処理により検出した欠陥の中心位置を検出し、
前記検出した欠陥の中心位置を中心とする予め決められた領域の画像である欠陥包含領域画像を前記生成した画像データから抽出し、
前記抽出した欠陥包含領域画像の中の領域であって、前記第1の欠陥検出処理により検出した欠陥の中心位置を中心とし当該欠陥のフェレ径に応じて囲まれる領域である欠陥画像領域について第2の検出条件としての閾値に基づいて第2の欠陥の検出処理を実行し、
前記第2の検出条件としての閾値が、前記第1の検出条件としての閾値よりも正常部の値から離れた値であることを特徴とすることを特徴とする欠陥検査方法。
Imaging the inspection object to generate image data,
Performing a first defect detection process based on the generated image data and a threshold value as a first detection condition, detecting a center position of the defect detected by the first defect detection process;
Extracting from the generated image data a defect inclusion region image that is an image of a predetermined region centered on the center position of the detected defect,
A defect image area that is an area in the extracted defect inclusion area image and that is surrounded by the defect diameter of the defect centered on the center position of the defect detected by the first defect detection process . The second defect detection process is executed based on the threshold value as the detection condition of 2 ,
A defect inspection method , wherein the threshold value as the second detection condition is a value farther from the value of the normal part than the threshold value as the first detection condition .
JP2006197103A 2006-07-19 2006-07-19 Defect inspection apparatus and defect inspection method Active JP4956077B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006197103A JP4956077B2 (en) 2006-07-19 2006-07-19 Defect inspection apparatus and defect inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006197103A JP4956077B2 (en) 2006-07-19 2006-07-19 Defect inspection apparatus and defect inspection method

Publications (2)

Publication Number Publication Date
JP2008026072A JP2008026072A (en) 2008-02-07
JP4956077B2 true JP4956077B2 (en) 2012-06-20

Family

ID=39116857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006197103A Active JP4956077B2 (en) 2006-07-19 2006-07-19 Defect inspection apparatus and defect inspection method

Country Status (1)

Country Link
JP (1) JP4956077B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5851269B2 (en) * 2012-02-14 2016-02-03 株式会社メック Defect inspection system and defect inspection method
JP2016217989A (en) * 2015-05-25 2016-12-22 株式会社メック Defect inspection device and defect inspection method
CN117635603A (en) * 2024-01-02 2024-03-01 汉狮光动科技(广东)有限公司 System and method for detecting on-line quality of hollow sunshade product based on target detection

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05172548A (en) * 1991-12-25 1993-07-09 Honda Motor Co Ltd Data output method and work surface inspection device
JP2002083303A (en) * 2000-07-04 2002-03-22 Nippon Sheet Glass Co Ltd Image processing device and image processing method
JP3675334B2 (en) * 2000-11-15 2005-07-27 Jfeスチール株式会社 Surface inspection device
JP2002214151A (en) * 2001-01-17 2002-07-31 Nippon Steel Corp Surface flaw inspecting method
JP2003044832A (en) * 2001-07-31 2003-02-14 Kobe Steel Ltd Method, device and program for setting inspection parameter
JP2004109069A (en) * 2002-09-20 2004-04-08 Futec Inc Defect distinguishing apparatus
JP2004177139A (en) * 2002-11-25 2004-06-24 Renesas Technology Corp Support program for preparation of inspection condition data, inspection device, and method of preparing inspection condition data
JP4079841B2 (en) * 2003-06-30 2008-04-23 オリンパス株式会社 Defect display device

Also Published As

Publication number Publication date
JP2008026072A (en) 2008-02-07

Similar Documents

Publication Publication Date Title
JP7004145B2 (en) Defect inspection equipment, defect inspection methods, and their programs
JP4351522B2 (en) Pattern defect inspection apparatus and pattern defect inspection method
US20080175466A1 (en) Inspection apparatus and inspection method
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
JP2008139285A (en) Construct using picture processing technique, and crack width measuring method of product
JP2012026969A (en) Pattern inspection method and pattern inspection device
JP2007147407A (en) Visual examination method
JP4230880B2 (en) Defect inspection method
JP4279833B2 (en) Appearance inspection method and appearance inspection apparatus
JP3265595B2 (en) Image processing method and apparatus
JP4956077B2 (en) Defect inspection apparatus and defect inspection method
JP3324699B2 (en) Method and apparatus for measuring fiber diameter distribution
JPH06207909A (en) Inspection apparatus for surface defect
JP2007081513A (en) Blot defect detecting method for solid-state imaging element
JP3788586B2 (en) Pattern inspection apparatus and method
JP2016217989A (en) Defect inspection device and defect inspection method
JP2007057705A (en) Inspection method and inspection apparatus of display panel
JP2008233107A (en) Visual examination method and visual examination device
JP4403036B2 (en) Soot detection method and apparatus
JP7362324B2 (en) Inspection method, manufacturing method and inspection device for image display device
TWI493177B (en) Method of detecting defect on optical film with periodic structure and device thereof
JP2004286708A (en) Defect detection apparatus, method, and program
JP2008233106A (en) Visual examination method and visual examination device
JP2007104296A (en) Method, apparatus, and program for measuring resolution
JP2006035505A (en) Method and device for inspecting printed matter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090408

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120201

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120221

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120316

R150 Certificate of patent or registration of utility model

Ref document number: 4956077

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250