JP2008170256A - Defect detection method, defect detection program, and inspection apparatus - Google Patents
Defect detection method, defect detection program, and inspection apparatus Download PDFInfo
- Publication number
- JP2008170256A JP2008170256A JP2007003310A JP2007003310A JP2008170256A JP 2008170256 A JP2008170256 A JP 2008170256A JP 2007003310 A JP2007003310 A JP 2007003310A JP 2007003310 A JP2007003310 A JP 2007003310A JP 2008170256 A JP2008170256 A JP 2008170256A
- Authority
- JP
- Japan
- Prior art keywords
- defect
- streak
- cluster
- defects
- point
- 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
Links
- 230000007547 defect Effects 0.000 title claims abstract description 381
- 238000001514 detection method Methods 0.000 title claims abstract description 67
- 238000007689 inspection Methods 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 claims abstract description 95
- 238000000926 separation method Methods 0.000 claims abstract description 20
- 238000002372 labelling Methods 0.000 claims abstract description 11
- 238000003384 imaging method Methods 0.000 claims description 11
- 230000002950 deficient Effects 0.000 claims description 7
- 238000000605 extraction Methods 0.000 claims description 5
- 238000001914 filtration Methods 0.000 claims description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 32
- 238000012545 processing Methods 0.000 description 27
- 238000001444 catalytic combustion detection Methods 0.000 description 16
- 238000004364 calculation method Methods 0.000 description 9
- 238000003705 background correction Methods 0.000 description 5
- 230000005484 gravity Effects 0.000 description 5
- 238000005401 electroluminescence Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000000903 blocking effect Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Liquid Crystal (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
【課題】点欠陥の群化によるスジ欠陥を精度良く検出できる欠陥検出方法、欠陥検出プログラムおよび検査装置を提供すること。
【解決手段】撮像画像中において点欠陥候補がある程度以上に集まった(群化した)領域を対象領域として判定し(ST4:領域判定工程)、点欠陥候補が連続するクラスタ欠陥を算出し(ST5:ラベリング工程)、クラスタ欠陥相互の直線性および離隔距離を算出してクラスタ欠陥がスジ欠陥候補であると判定し(ST6:欠陥分類工程)てから、スジ欠陥検出用の手順でスジ欠陥を検出する(ST8:欠陥検出工程)ことで、点欠陥の群化によるスジ欠陥を精度良く検出し、欠陥判定精度を向上させることができる。
【選択図】図2A defect detection method, a defect detection program, and an inspection apparatus capable of accurately detecting streak defects due to grouping of point defects are provided.
An area in which point defect candidates are gathered (grouped) more than a certain degree in a captured image is determined as a target area (ST4: area determination step), and cluster defects in which point defect candidates are continuous are calculated (ST5). : Labeling step), calculating the linearity and separation distance between cluster defects and determining that the cluster defect is a streak defect candidate (ST6: defect classification step), then detecting the streak defect by the procedure for detecting streak defects By performing (ST8: defect detection step), it is possible to accurately detect streak defects due to grouping of point defects and improve the accuracy of defect determination.
[Selection] Figure 2
Description
本発明は、検査対象の表示デバイスの表示画像を撮像して取得した撮像画像に基づいて前記表示デバイスの表示欠陥を検出する欠陥検出方法、欠陥検出プログラムおよび検査装置に関する。 The present invention relates to a defect detection method, a defect detection program, and an inspection apparatus that detect a display defect of a display device based on a captured image acquired by capturing a display image of a display device to be inspected.
液晶パネル等の表示デバイスやその応用製品であるプロジェクタ等の製造における検査工程において、輝点・暗点等の点欠陥やシミやムラ等の面欠陥、スジ欠陥を画像処理で検出する場合、CCDカメラ等で対象の画像を取得し、取得した画像に画像処理を実施することで画像中からを検出している。 In the inspection process in the manufacture of display devices such as liquid crystal panels and projectors that are applied products, CCDs are used to detect spot defects such as bright spots and dark spots, surface defects such as spots and unevenness, and stripe defects by image processing. A target image is acquired by a camera or the like, and image processing is performed on the acquired image to detect the image.
画像中から輝点欠陥や暗点欠陥を検出する方法として、画像に対して欠陥を強調するフィルタ(輝点欠陥を強調するTophatフィルタや、暗点欠陥を強調するWellフィルタ)を用いる方法が用いられている。 As a method for detecting a bright spot defect or a dark spot defect from an image, a method using a filter for emphasizing a defect (an Tophat filter for emphasizing a bright spot defect or a Well filter for enhancing a dark spot defect) is used. It has been.
一方、画像中から筋状の欠陥(スジ欠陥)を検出する方法として、画像に対して特定方向に積算処理を行なってスジ欠陥を検出する方法(例えば、特許文献1参照)や、画像に対して着目画素から離れた候補点を角度ごとに投票し、その投票得点の積算からスジ欠陥を検出する方法(例えば、特許文献2参照)などが提案されている。 On the other hand, as a method for detecting a streak defect (streaks defect) from an image, a method for detecting streak defects by performing integration processing in a specific direction on the image (for example, see Patent Document 1), or for an image For example, a method of voting candidate points far from the target pixel for each angle and detecting streak defects by integrating the vote scores (see, for example, Patent Document 2) has been proposed.
ところで、表示デバイスの表示欠陥としては、輝点や暗点が非連続かつ略直線状に並んで(群化した)欠陥(点欠陥の群化によるスジ欠陥)が現れることがある。このような点欠陥の群化によるスジ欠陥は、前記特許文献1や特許文献2に記載された欠陥検出方法で検出することが困難であり、検査員の目視による判断でしか検出することができず、検査効率の点で問題であった。
By the way, as a display defect of a display device, a defect (streaks due to grouping of point defects) may appear in which bright spots and dark spots are discontinuous and arranged in a substantially straight line (grouped). Such streak defects due to grouping of point defects are difficult to detect by the defect detection methods described in Patent Document 1 and
すなわち、特許文献1、2の技術では、輝度の低い(あるいは高い)部分が線状に連続した状態でなければスジ欠陥として認識することができないとともに、ノイズ除去処理によって点欠陥の成分が消されることで、点欠陥そのものを検出することができなくなってしまい、点欠陥の群化によるスジ欠陥の検出も不可能である。
In other words, in the techniques of
本発明は、上述のような課題に鑑みてなされたものであり、点欠陥の群化によるスジ欠陥を精度良く検出できる欠陥検出方法、欠陥検出プログラムおよび検査装置を提供することを目的とする。 The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a defect detection method, a defect detection program, and an inspection apparatus that can accurately detect streak defects due to grouping of point defects.
本発明の欠陥検出方法は、検査対象の表示デバイスの表示画像を撮像して取得した撮像画像に基づいて前記表示デバイスの表示欠陥を検出する欠陥検出方法であって、前記表示デバイスの表示画像を撮像して撮像画像を取得する撮像画像取得工程と、前記撮像画像にフィルタ処理を施し撮像画像中の点欠陥候補を抽出する点欠陥抽出工程と、前記撮像画像を所定サイズの領域で検索して前記領域に含まれる前記点欠陥候補の個数を検出する領域検索工程と、前記領域検索工程にて検索した前記領域ごとに前記点欠陥候補が所定個数以上含まれるか否かを判定する領域判定工程と、前記点欠陥候補が所定個数以上含まれる対象領域に関して所定閾値以上の個数の点欠陥候補が連続するクラスタ欠陥を算出して記憶するラベリング工程と、前記ラベリング工程にて算出したクラスタ欠陥相互の直線性およびクラスタ欠陥相互の離隔距離を算出してスジ欠陥候補であるか否かを判定する欠陥分類工程と、前記欠陥分類工程にてスジ欠陥候補であると判定した場合には、スジ欠陥検出手順を用いて欠陥検出する欠陥検出工程とを備えることを特徴とする。 The defect detection method of the present invention is a defect detection method for detecting a display defect of the display device based on a captured image obtained by capturing a display image of a display device to be inspected. A captured image acquisition step of capturing and acquiring a captured image, a point defect extraction step of filtering the captured image to extract point defect candidates in the captured image, and searching the captured image in a region of a predetermined size A region search step of detecting the number of point defect candidates included in the region, and a region determination step of determining whether or not the point defect candidates are included in a predetermined number or more for each of the regions searched in the region search step A labeling step of calculating and storing a cluster defect in which a number of point defect candidates equal to or greater than a predetermined threshold are related to a target region including a predetermined number or more of point defect candidates; A defect classification step for determining whether or not the defect is a streak defect candidate by calculating the linearity between the cluster defects calculated in the ring process and the separation distance between the cluster defects, and a streak defect candidate in the defect classification process A defect detection step of detecting a defect using a streak defect detection procedure.
本発明では、先ず点欠陥抽出工程において撮像画像中の点欠陥候補(輝点欠陥または暗点欠陥)を抽出してから、領域検索工程にて所定サイズの領域に含まれる点欠陥候補の個数を検出し、領域判定工程にて所定個数以上の点欠陥候補が含まれることをを判定する。これら一連の処理により、撮像画像中において点欠陥候補がある程度以上に集まった(群化した)領域を対象領域として判定することができる。 In the present invention, first, a point defect candidate (bright spot defect or dark spot defect) in a captured image is extracted in a point defect extraction step, and then the number of point defect candidates included in a region of a predetermined size is determined in a region search step. It is detected and it is determined in the region determination step that a predetermined number or more of point defect candidates are included. Through these series of processes, an area in which point defect candidates are gathered (grouped) more than a certain degree in a captured image can be determined as a target area.
次に、ラベリング工程にて点欠陥候補が連続するクラスタ欠陥を算出してから、欠陥分類工程にてクラスタ欠陥相互の直線性および離隔距離を算出し、クラスタ欠陥がスジ欠陥候補であると判定した場合には、欠陥検出工程にてスジ欠陥検出手順を用る。つまり群化した点欠陥候補をスジ欠陥として扱い、このスジ欠陥を検出するための検出手順を用いることで、点欠陥の群化によるスジ欠陥を精度良く検出し、欠陥判定精度を向上させることができる。 Next, after calculating the cluster defect in which the point defect candidates are continuous in the labeling process, the linearity and separation distance between the cluster defects are calculated in the defect classification process, and it is determined that the cluster defect is a streak defect candidate. In such a case, a streak defect detection procedure is used in the defect detection step. In other words, by treating grouped point defect candidates as streak defects and using a detection procedure for detecting this streak defect, it is possible to accurately detect streak defects due to grouping of point defects and improve defect determination accuracy. it can.
ここで、点欠陥候補の群化状態がスジ欠陥として判定されない場合、つまり群化状態が粗であったり、直線上に位置しなかったりした場合には、スジ欠陥ではなくて従来と同様に個々の点欠陥として扱えばよい。 Here, when the grouping state of the point defect candidates is not determined as a streak defect, that is, when the grouping state is rough or not positioned on a straight line, it is not a streak defect but individual as in the conventional case. It can be treated as a point defect.
本発明において、前記欠陥分類工程では、前記クラスタ欠陥ごとの重心座標を算出するとともに、算出した重心座標に基づいてハフ変換を実行し、ハフ変換で得たρ−θ曲線同士の重なりにより前記クラスタ欠陥相互の直線性を算出し、所定数以上の前記ρ−θ曲線同士が互いに重なり合う場合に、前記クラスタ欠陥同士を同一のスジ欠陥候補と判定することが好ましい。 In the present invention, in the defect classification step, a center-of-gravity coordinate for each cluster defect is calculated, a Hough transform is executed based on the calculated center-of-gravity coordinate, and the clusters are obtained by overlapping of ρ-θ curves obtained by the Hough transform. It is preferable to calculate the linearity between defects and determine that the cluster defects are the same streak defect candidates when a predetermined number or more of the ρ-θ curves overlap each other.
このような構成によれば、クラスタ欠陥ごとに算出した重心座標に基づいてハフ変換を実行することで、各重心座標に関するρ−θ曲線が得られる。このρ−θ曲線において、ρは前記対象領域の任意の原点から重心座標までの距離であり、θは対象領域の原点と重心座標とを結ぶ直線が任意の基準軸(X軸やY軸等)となす角度である。このようなρ−θ曲線を各重心座標に関して算出し、それらのρ−θ曲線をグラフ化すれば、同一直線上に位置する重心座標のρ−θ曲線同士がある一点で重なり合うことが知られている。従って、クラスタ欠陥ごとの重心座標に関するρ−θ曲線同士が重なり合う場合には、それらのクラスタ欠陥同士が同一直線上に位置するものであると判定することができる。 According to such a configuration, a ρ-θ curve relating to each barycentric coordinate is obtained by executing the Hough transform based on the barycentric coordinate calculated for each cluster defect. In this ρ-θ curve, ρ is the distance from an arbitrary origin of the target area to the center of gravity coordinates, and θ is a straight line connecting the origin of the target area and the center of gravity coordinates to an arbitrary reference axis (X axis, Y axis, etc. ). If such a ρ-θ curve is calculated for each barycentric coordinate and the ρ-θ curve is graphed, it is known that the ρ-θ curves of the barycentric coordinates located on the same straight line overlap at a certain point. ing. Therefore, when the ρ-θ curves related to the barycentric coordinates for each cluster defect overlap, it can be determined that the cluster defects are located on the same straight line.
なお、ρ−θ曲線同士が重なり合うか否かの判定は、完全に同一の点で重なり合う場合に限らず、ρ値およびθ値が所定の数値範囲内で重なり合う場合も含み、すなわちクラスタ欠陥同士が所定幅を有した直線範囲内に位置する場合も含んで判定されるものであればよい。 Note that the determination of whether or not the ρ-θ curves overlap is not limited to the case where the ρ-θ curves overlap at the same point, but also includes the case where the ρ value and the θ value overlap within a predetermined numerical range. What is necessary is just to be judged including the case where it is located within the linear range having a predetermined width.
本発明において、前記欠陥分類工程では、隣り合う前記クラスタ欠陥間の非欠陥画素の個数により前記離隔距離を算出し、前記非欠陥画素が所定個数以下の場合に、前記クラスタ欠陥同士を同一のスジ欠陥候補と判定することが好ましい。 In the present invention, in the defect classification step, the separation distance is calculated based on the number of non-defective pixels between adjacent cluster defects. When the number of non-defective pixels is equal to or less than a predetermined number, the cluster defects are identified as the same stripe. It is preferable to determine as a defect candidate.
このような構成によれば、隣り合うクラスタ欠陥間の非欠陥画素の個数によりクラスタ欠陥同士の離隔距離を算出し、非欠陥画素が所定個数以下(離隔距離が小さい)クラスタ欠陥同士を同一のスジ欠陥候補と判定することで、互いに離れていても所定の離隔距離内に位置するクラスタ欠陥同士を一つのスジ欠陥候補と判定することができる。一方、クラスタ欠陥間の非欠陥画素が所定個数以上(離隔距離が大きい)場合には、各々のクラスタ欠陥を別のスジ欠陥候補と判定する。このようにクラスタ欠陥同士の離隔距離に応じて一つのスジ欠陥候補と判定するか、または別のスジ欠陥候補と判定することで、目視による欠陥判定と同様の判定を実施することができ、表示デバイスとしての表示品質を確保することができる。 According to such a configuration, the separation distance between the cluster defects is calculated based on the number of non-defective pixels between adjacent cluster defects, and the cluster defects having the number of non-defective pixels equal to or less than a predetermined number (small separation distance) are detected in the same stripe. By determining as a defect candidate, even if they are separated from each other, cluster defects positioned within a predetermined separation distance can be determined as one streak defect candidate. On the other hand, when the number of non-defective pixels between cluster defects is equal to or greater than a predetermined number (the separation distance is large), each cluster defect is determined as another streak defect candidate. Thus, it can be determined as one streak defect candidate according to the separation distance between cluster defects, or by determining as another streak defect candidate, the same determination as the visual defect determination can be performed, and display The display quality as a device can be ensured.
また、本発明において、前記ラベリング工程では、2値化処理を実行して前記クラスタ欠陥とクラスタ候補以外の部分とを2値に分離することが好ましい。 In the present invention, it is preferable that in the labeling step, a binarization process is executed to separate the cluster defect and a portion other than the cluster candidate into a binary value.
このような構成によれば、2値化処理を実行してクラスタ欠陥の画素とそれ以外の画素とを分離してから、以降の処理を実施することで、中間調の画素を処理する必要が無くなり処理速度を高速化することができる。 According to such a configuration, it is necessary to process a halftone pixel by performing binarization processing to separate a pixel having a cluster defect and other pixels and then performing the subsequent processing. It can be eliminated and the processing speed can be increased.
さらに、本発明において、前記欠陥分類工程で判定したスジ欠陥候補の欠陥特徴量を算出する特徴量算出工程を備え、前記欠陥特徴量には、前記スジ欠陥候補の面積値と、前記スジ欠陥候補の輝度平均値と、前記スジ欠陥候補の輝度傾き値とが少なくとも含まれていることが好ましい。 The present invention further includes a feature amount calculation step of calculating a defect feature amount of the streak defect candidate determined in the defect classification step, wherein the defect feature amount includes an area value of the streak defect candidate and the streak defect candidate. It is preferable that at least the brightness average value of the above and the brightness slope value of the streak defect candidate are included.
このような構成によれば、特徴量算出工程にてスジ欠陥候補の面積値、輝度平均値および輝度傾き値を算出することで、その後の欠陥検出工程におけるスジ欠陥検出の精度を向上させ、かつ検出処理の速度も向上させることができる。 According to such a configuration, by calculating the area value, brightness average value, and brightness slope value of the streak defect candidate in the feature amount calculation process, the accuracy of streak defect detection in the subsequent defect detection process is improved, and The speed of the detection process can also be improved.
一方、本発明の欠陥検出プログラムは、前記欠陥検出方法をコンピュータに実行させることを特徴とする。 On the other hand, the defect detection program of the present invention causes a computer to execute the defect detection method.
この欠陥検出プログラムによれば、CPUを備えたコンピュータを用いることで、各工程の処理速度を高めて欠陥検出処理全体を迅速に実行することができる。 According to this defect detection program, by using a computer equipped with a CPU, it is possible to increase the processing speed of each process and quickly execute the entire defect detection process.
また、本発明の検査装置は、検査対象の表示デバイスの表示画像を撮像して取得した撮像画像に基づいて前記表示デバイスの表示欠陥を検出する検査装置であって、前記表示デバイスの表示画像を撮像する撮像装置と、前記表示デバイスおよび前記撮像装置を駆動制御する制御装置とを備え、前記制御装置は、前記表示デバイスの表示画像を前記撮像装置に撮像させて撮像画像を取得し、前記撮像画像にフィルタ処理を施して撮像画像中の点欠陥候補を抽出し、前記撮像画像を所定サイズの領域で検索して前記領域に含まれる前記点欠陥候補の個数を検出し、前記検索した領域ごとに前記点欠陥候補が所定個数以上含まれるか否かを判定するとともに、前記点欠陥候補が所定個数以上含まれる対象領域に関して所定閾値以上の個数の点欠陥候補が連続するクラスタ欠陥を算出して記憶し、前記クラスタ欠陥相互の直線性および離隔距離を算出してスジ欠陥候補であるか否かを判定するとともに、スジ欠陥候補であると判定した場合には、スジ欠陥検出手順を用いて欠陥検出することを特徴とする。 The inspection apparatus of the present invention is an inspection apparatus that detects a display defect of the display device based on a captured image acquired by capturing a display image of a display device to be inspected, and displays the display image of the display device. An imaging device that captures an image; and a control device that drives and controls the display device and the imaging device. The control device causes the imaging device to capture a display image of the display device, acquires the captured image, and the imaging Filter the image to extract point defect candidates in the captured image, search the captured image in an area of a predetermined size, detect the number of point defect candidates included in the area, and for each searched area Whether or not the number of point defect candidates is greater than or equal to a predetermined number and the number of point defect candidates equal to or greater than a predetermined threshold with respect to a target region including the predetermined number of point defect candidates When calculating and storing continuous cluster defects, calculating the linearity and separation distance between the cluster defects to determine whether or not it is a streak defect candidate, and when determining that it is a streak defect candidate The defect detection is performed using a streak defect detection procedure.
本発明の検査装置によれば、前述の欠陥検出方法と同様に、撮像画像中において点欠陥候補が群化した領域を対象領域として判定するとともに、点欠陥候補の群化状態に基づいてクラスタ欠陥を算出し、クラスタ欠陥相互の直線性および離隔距離を算出することで、それらのクラスタ欠陥がスジ欠陥候補であると判定した場合にスジ欠陥として扱い、このスジ欠陥を検出するための検出手順を用いることで、点欠陥の群化によるスジ欠陥を精度良く検出し、欠陥判定精度を向上させることができる。 According to the inspection apparatus of the present invention, as in the above-described defect detection method, an area where point defect candidates are grouped in a captured image is determined as a target area, and a cluster defect is determined based on the grouping state of point defect candidates. By calculating the linearity and separation distance between cluster defects, the cluster defect is treated as a streak defect when it is determined to be a streak defect candidate, and the detection procedure for detecting this streak defect is By using this, it is possible to accurately detect streak defects due to grouping of point defects and improve the accuracy of defect determination.
本発明の実施形態を図面に基づいて説明する。
〔検査装置の構成〕
図1は、検査装置1の構成を示す図である。
Embodiments of the present invention will be described with reference to the drawings.
[Configuration of inspection equipment]
FIG. 1 is a diagram illustrating a configuration of the inspection apparatus 1.
検査装置1は、検査対象である画像表示デバイスとしての液晶パネル10の表示外観検査を行い液晶パネル10の表示欠陥を検出する装置である。この検査装置1は、図1に示すように、液晶パネル10に光束を射出する光源2と、液晶パネル10を介した光束を拡大投射するレンズ3と、レンズ3を介した光束をスクリーン5に投射するミラー4と、外光を遮断する暗箱6内に設けたスクリーン5と、撮像装置としてのCCDカメラ7と、液晶パネル10に適宜な検査パターンを表示させるパターンジェネレータ8と、制御装置としてのコンピュータ9とを備える。
The inspection apparatus 1 is an apparatus that performs a display appearance inspection of the
ここで、検査対象となる液晶パネル10は、透過型の液晶パネルであり、例えば、TFT基板と対向基板との間に液晶分子が密閉封入された構成を有し、光学系2からの光束を透過させる画像表示部を有して構成されている。そして、液晶パネル10は、例えば、検査装置1内のパネル設置部(図示略)に設置した状態でパターンジェネレータ8と電気的に接続し、パターンジェネレータ8によりTFT基板と対向基板との間に所定の電圧値(0Vも含む)の電圧が印加されることで液晶分子の配設状態を変化させ、入射光束を透過若しくは遮断することにより所定の光学像を形成する。なお、本実施形態では、液晶パネル10は、電圧を印加しない(電圧値が0V)状態において、入射光束を全て透過して白表示を実施するノーマリーホワイトモードで構成されている。また、液晶パネル10としては、電圧を印加しない状態において、入射光束を遮断して黒表示を実施するノーマリーブラックモードで構成しても構わない。
Here, the
光源2としては、放電発光型の光源ランプを有したものや、LED(Light Emitting Diode)素子、レーザダイオード、有機EL(Electro Luminescence)素子、シリコン発光素子等の各種固体発光素子を採用したものなど、適宜な光源が採用可能である。
Examples of the
スクリーン5は、レンズ3およびミラー4により拡大投射された光学像(表示画像)を反射して投影する反射型スクリーンとして構成されている。なお、スクリーン3としては、反射型スクリーンに限らず、入射した光学像を透過して投影する透過型スクリーンとして構成してもよい。 The screen 5 is configured as a reflective screen that reflects and projects an optical image (displayed image) enlarged and projected by the lens 3 and the mirror 4. The screen 3 is not limited to a reflective screen, and may be configured as a transmissive screen that transmits and projects an incident optical image.
CCDカメラ7は、コンピュータ9による制御の下、スクリーン5の投射面を撮像し、撮像した画像に応じた信号をコンピュータ9に出力する。このCCDカメラ7は、具体的な図示は省略するが、エリアセンサであるCCDと、光束を集光してCCDに照射する集光レンズと、コンピュータ9による制御の下、CCDによる入射光束の受光時間を変更可能とするシャッター等を備える。 The CCD camera 7 images the projection surface of the screen 5 under the control of the computer 9 and outputs a signal corresponding to the captured image to the computer 9. Although not specifically shown, the CCD camera 7 receives the incident light beam by the CCD under the control of the CCD, which is an area sensor, a condensing lens that collects the light beam and irradiates the CCD, and the computer 9. It has a shutter that can change the time.
なお、CCDカメラ7のCCDは、液晶パネル10の解像度以上の解像度を有しているものが好ましい。
The CCD of the CCD camera 7 preferably has a resolution higher than that of the
パターンジェネレータ8は、コンピュータ9による制御の下、液晶パネル10に所定の電圧値の電圧を印加し、液晶パネル10に所定の光学像を形成させる。
The
コンピュータ9は、例えば、所定のプログラムを読み込んで実行するCPU(Central Processing Unit)等を備え、検査装置1全体を制御する。このコンピュータ9は、制御プログラムにしたがって所定の処理(欠陥検出処理)を実行する制御部と、制御プログラムや各種データを記憶するメモリとを備える。 The computer 9 includes, for example, a CPU (Central Processing Unit) that reads and executes a predetermined program, and controls the entire inspection apparatus 1. The computer 9 includes a control unit that executes predetermined processing (defect detection processing) according to a control program, and a memory that stores the control program and various data.
制御部は、図示を省略するが、パターンジェネレータ8を制御する画像表示制御部や、CCDカメラ7を制御する画像データ取得部、取得した画像を処理する画像処理部、画像に基づいて液晶パネル10の表示欠陥を検出する欠陥検出部等を備えて構成されている。
Although not shown, the control unit includes an image display control unit that controls the
画像表示制御部は、メモリに記憶された液晶パネル10に印加する電圧値に関する電圧値情報を読み出し、電圧値情報に基づく検査用電圧値で液晶パネル10を駆動させるための所定の制御信号をパターンジェネレータ8に出力する。そして、パターンジェネレータ8は、画像表示制御部から出力された制御信号にしたがって、検査用電圧値で液晶パネル10を駆動し、液晶パネル10に検査画像を形成させる。
The image display control unit reads voltage value information related to the voltage value applied to the
画像データ取得部は、液晶パネル10にて検査画像が形成されている際に、CCDカメラ7に所定の制御信号を出力してCCDカメラ7にスクリーン5の投射面を撮像させる。また、画像データ取得部は、CCDカメラ7から出力される電気信号を入力してコンピュータにて読取可能な信号(デジタル信号)に変換し、画素毎に画素値(輝度値)に関する情報を含んだ検査画像データ(撮像画像データ)Pを取得し、取得した検査画像データPをメモリに記憶させる。
The image data acquisition unit outputs a predetermined control signal to the CCD camera 7 to cause the CCD camera 7 to image the projection surface of the screen 5 when an inspection image is formed on the
画像処理部は、取得した検査画像データPに対して、シェーディング補正を実行したり、検査画像データPの収縮処理や、膨張処理等の画像処理を実行したりなどの各種画像処理を実行する。 The image processing unit executes various types of image processing such as performing shading correction on the acquired inspection image data P and performing image processing such as contraction processing and expansion processing of the inspection image data P.
欠陥検出部は、以下に説明する欠陥検出手順を実行して検査画像データP中の欠陥を検出する。すなわち、検査画像データPに各種のフィルタを適用して点欠陥を強調処理し、検査画像データP内を検索して点欠陥を所定数含む領域を検出し、点欠陥候補を所定個数以上含む対象領域に関して点欠陥候補の群化状態を算出し、算出した群化状態に基づいてスジ欠陥であるか否かを判定し、スジ欠陥であると判定した場合には、スジ欠陥検出手順を用いて欠陥検出する。 The defect detection unit detects a defect in the inspection image data P by executing a defect detection procedure described below. That is, a point defect is enhanced by applying various filters to the inspection image data P, an area including a predetermined number of point defects is detected by searching the inspection image data P, and an object including a predetermined number or more of point defect candidates Calculate the grouping state of point defect candidates for the region, determine whether or not it is a streak defect based on the calculated grouping state, and if it is determined that it is a streak defect, use the streak defect detection procedure Detect defects.
メモリは、所定の制御プログラム、制御部にて処理を実行するための情報、および制御部にて処理されたデータ等の他に、各種のフィルタ値や計算式、閾値を記憶する。
〔欠陥検出方法〕
次に、上述した検査装置1による欠陥検出方法を図面に基づいて説明する。
The memory stores various filter values, calculation formulas, and thresholds in addition to a predetermined control program, information for executing processing by the control unit, data processed by the control unit, and the like.
(Defect detection method)
Next, a defect detection method using the above-described inspection apparatus 1 will be described with reference to the drawings.
図2は、欠陥検出方法を説明するフローチャートである。 FIG. 2 is a flowchart for explaining the defect detection method.
なお、以下では、液晶パネル10を検査装置1におけるパネル設置部(図示略)に設置した状態とし、液晶パネル10とパターンジェネレータ8およびコンピュータ9とが電気的に接続されているものとする。
In the following, it is assumed that the
作業者は、コンピュータ9の操作部(図示略)を操作し、液晶パネル10の欠陥検出を実行する旨の設定入力を実施する。そして、コンピュータ9の制御部は、操作部から出力される操作信号に応じて、メモリに記憶された制御プログラムを読み出し、制御プログラムにしたがって、以下に示すように、液晶パネル10の欠陥検出処理を実行する。
The operator operates an operation unit (not shown) of the computer 9 to perform setting input for executing defect detection of the
先ず、コンピュータ9の制御部は、検査画像を取得して、取得した検査画像データPにシェーディング補正を施す前処理を実行する(処理ST1:前処理工程)。 First, the control unit of the computer 9 acquires an inspection image and executes preprocessing for performing shading correction on the acquired inspection image data P (processing ST1: preprocessing step).
具体的には、制御部は、光源2側に設けた受信部(図示略)に指令を出力して光源2を点灯させるとともに、パターンジェネレータ8に指令を出力して液晶パネル10に検査画像を表示させる。この処理によってスクリーン5には、液晶パネル10を透過した検査画像が投影表示される。この状態において、コンピュータ9の画像データ取得部は、CCDカメラ7に所定の制御信号を出力してCCDカメラ7にスクリーン5の投射面を撮像させ検査画像データPを取得し、取得した検査画像データPをメモリに記憶させる(撮像画像取得工程)。なお、ここでは、光源2の点灯をコンピュータ9の制御部で制御することとしたが、光源2としては、制御部によって点灯制御されるものに限らず、単体で点灯、消灯が切り替え可能なものを採用してもよい。
Specifically, the control unit outputs a command to a receiving unit (not shown) provided on the
次に、コンピュータ9の画像処理部は、取得した検査画像データPと、予め用意してメモリに記憶しておいた背景画像データとを読み出し、検査画像データPから背景画像データの対応する画素ごとに輝度値の差分をとる処理を実施する(シェーディング補正)。そして、画像処理部は、シェーディング補正した検査画像データPをメモリに記憶させる。 Next, the image processing unit of the computer 9 reads the acquired inspection image data P and the background image data prepared and stored in the memory in advance, and for each corresponding pixel of the background image data from the inspection image data P. A process for obtaining a difference between luminance values is performed (shading correction). Then, the image processing unit stores the inspection image data P subjected to the shading correction in the memory.
以上のような処理ST1の後、コンピュータ9の欠陥検出部は、シェーディング補正した検査画像データPに対し、画像内の点欠陥(輝点または暗点)成分を抽出する輝点・暗点強調処理を実施する(処理ST2:輝点・暗点強調処理工程、点欠陥抽出工程)。ここで、輝点・暗点強調処理によって輝点強調された点の座標および輝度値と、暗点強調された点の座標および輝度値とは、それぞれ別の配列としてメモリに記憶され、処理ST3以降においては、輝点強調された配列としての検査画像データPおよび暗点強調された配列としての検査画像データPの各々に対して各処理が実行される。 After the processing ST1 as described above, the defect detection unit of the computer 9 extracts a point defect (bright spot or dark spot) component in the image from the inspection image data P subjected to the shading correction, and a bright spot / dark spot enhancement process. (Process ST2: Bright spot / dark spot enhancement process, point defect extraction process). Here, the coordinates and luminance values of the points highlighted with the bright spot / dark spot enhancement processing and the coordinates and luminance values of the points highlighted with the dark spot are stored in the memory as separate arrays, and processing ST3 is performed. Thereafter, each process is performed on each of the inspection image data P as an array with bright spot emphasis and the inspection image data P as an array with dark spot emphasis.
輝点・暗点強調処理を具体的に説明すると、検査画像データP内の各画素を対象画素として、この対象画素を中心とする所定サイズ(例えば、3×3マトリクス)のフィルタを適用し、対象画素が周辺画素(3×3の場合は、周辺の8つの画素)の平均輝度値よりも所定割合(例えば、20%)以上に大きいか小さいかを検出する。 The bright spot / dark spot enhancement process will be described in detail. With each pixel in the inspection image data P as a target pixel, a filter having a predetermined size (for example, a 3 × 3 matrix) around the target pixel is applied. It is detected whether the target pixel is larger or smaller than a predetermined ratio (for example, 20%) than the average luminance value of the surrounding pixels (in the case of 3 × 3, the surrounding 8 pixels).
すなわち、対象画素の輝度値が周辺画素の輝度値の平均値に対して所定割合(例えば、1.2倍)以上に大きければ(極大値)、対象画素を輝点(点欠陥候補)としてメモリ内の配列に格納する。一方、対象画素の輝度値が周辺画素の輝度値の平均値に対して所定割合(例えば、0.8倍)以下に小さければ(極小値)、対象画素を暗点(点欠陥候補)としてメモリ内の配列に格納する。また、以上の極大値または極小値として検出されなかった対象画素の輝度値は、配列に格納されず、つまり極大値または極小値として検出された画素のみが強調されて配列に格納され、これにより輝点または暗点である点欠陥候補が強調処理されることとなる。 That is, if the luminance value of the target pixel is larger than a predetermined ratio (for example, 1.2 times) or more with respect to the average value of the luminance values of surrounding pixels (maximum value), the target pixel is stored as a bright spot (point defect candidate). Store in the array. On the other hand, if the luminance value of the target pixel is smaller than a predetermined ratio (for example, 0.8 times) or less with respect to the average value of the luminance values of the peripheral pixels (minimum value), the target pixel is stored as a dark spot (point defect candidate). Store in the array. Further, the luminance value of the target pixel that has not been detected as the maximum value or the minimum value is not stored in the array, that is, only the pixels detected as the maximum value or the minimum value are emphasized and stored in the array. Point defect candidates that are bright spots or dark spots are emphasized.
処理ST2の後、コンピュータ9の欠陥検出部は、点欠陥候補が強調された検査画像データPに対し、所定サイズの領域で検索してその領域に含まれる点欠陥候補の個数を検出する候補エリア検索を実施する(処理ST3:候補エリア検索工程、領域検索工程)。 After the processing ST2, the defect detection unit of the computer 9 searches the inspection image data P in which the point defect candidates are emphasized in a predetermined size area and detects the number of point defect candidates included in the area. A search is performed (process ST3: candidate area search step, region search step).
具体的には、図3に示すように、検出対象である群化した点欠陥(点欠陥の群化によるスジ欠陥)の大きさに応じて任意(例えば、5×5画素〜31×31画素)に設定した領域としての検索エリアQを用い、検査画像データP内を検索し、検索エリアQ内に含まれる点欠陥候補の個数を検出する。そして、検索エリアQの座標位置と検出した点欠陥候補の個数とをメモリに記憶する。 Specifically, as shown in FIG. 3, any (for example, 5 × 5 pixels to 31 × 31 pixels) depending on the size of the grouped point defects to be detected (streaks due to the grouping of point defects). Using the search area Q as the region set in (2), the inspection image data P is searched, and the number of point defect candidates included in the search area Q is detected. Then, the coordinate position of the search area Q and the number of detected point defect candidates are stored in the memory.
処理ST3の後、コンピュータ9の欠陥検出部は、メモリに記憶した各座標位置における検索エリアQのごとに、点欠陥候補が所定個数以上含まれるか否か(候補の有無)を判定する(処理ST4:領域判定工程)。 After process ST3, the defect detection unit of the computer 9 determines whether or not a predetermined number or more of point defect candidates are included (presence / absence of candidates) for each search area Q at each coordinate position stored in the memory (process). ST4: Area determination step).
具体的には、検索エリアQの画素数(例えば、5×5画素であれば25個、31×31画素であれば961個)に対して、所定の割合(例えば、1.5%〜30%)の画素数以上の点欠陥候補の個数があるか否かを判定する。そして、点欠陥候補の個数が検索エリアQの画素数に対して所定の割合以上あった場合には(処理ST4でYES、候補有り)、以下の処理ST5〜ST8を実行する。一方、検索エリアQの画素数に対して点欠陥候補の個数が所定の割合よりも少なければ(処理ST4でNO、候補無し)、その検索エリアQには群化した点欠陥がないものとして欠陥検出処理を終了する。 Specifically, a predetermined ratio (for example, 1.5% to 30%) with respect to the number of pixels in the search area Q (for example, 25 for 5 × 5 pixels and 961 for 31 × 31 pixels). %)), It is determined whether there are more point defect candidates than the number of pixels. When the number of point defect candidates is greater than or equal to a predetermined ratio with respect to the number of pixels in the search area Q (YES in process ST4, with candidates), the following processes ST5 to ST8 are executed. On the other hand, if the number of point defect candidates is less than the predetermined ratio with respect to the number of pixels in the search area Q (NO in process ST4, no candidate), it is assumed that there are no grouped point defects in the search area Q. The detection process ends.
処理ST5において、コンピュータ9の欠陥検出部は、図4および図5に示すように、処理ST4にて所定個数以上の点欠陥候補が含まれると判定した検索エリアQを含む所定サイズの対象領域(投票エリア)Rに対し、2値化処理を実行するとともに、所定閾値以上の個数の点欠陥候補が連続するクラスタ欠陥d1〜d8を算出して記憶する(処理ST5:ラベリング工程)。 In the process ST5, as shown in FIGS. 4 and 5, the defect detection unit of the computer 9 has a target area of a predetermined size including the search area Q determined to include a predetermined number or more of point defect candidates in the process ST4. A binarization process is performed on the voting area (R), and cluster defects d1 to d8 in which a number of point defect candidates equal to or greater than a predetermined threshold are consecutively calculated and stored (process ST5: labeling step).
具体的には、処理ST4における欠陥候補を検出する閾値と同じ閾値を用い、この閾値以上の個数の点欠陥候補が連続する(クラスタ欠陥である)場合を1(白)とし、それ以外を0(黒)とするように2値化処理を実行する。なお、図4および図5においては、白と黒を反転して図示している。この2値化処理の後、欠陥検出部は、対象領域Rと同一の大きさを有した配列をメモリ内に用意し、この配列に2値化した値を記憶する。 Specifically, the same threshold value as the threshold value for detecting defect candidates in process ST4 is used, and when the number of point defect candidates equal to or greater than this threshold value is consecutive (cluster defect), 1 (white) is set, and other values are set to 0. The binarization process is executed so that (black). In FIGS. 4 and 5, white and black are reversed. After this binarization processing, the defect detection unit prepares an array having the same size as the target region R in the memory, and stores the binarized values in this array.
次に、欠陥検出部は、図5に示すように、点欠陥候補が連続したクラスタ欠陥d1〜d3ごとに識別番号(図5では、1〜3)を付し、対象領域Rと同一の大きさを有した配列をメモリ内に用意し、この配列に識別番号を記憶する。 Next, as shown in FIG. 5, the defect detection unit attaches identification numbers (1 to 3 in FIG. 5) to the cluster defects d1 to d3 in which the point defect candidates are continuous, and has the same size as the target region R. An array having a length is prepared in the memory, and an identification number is stored in this array.
処理ST5の後、コンピュータ9の欠陥検出部は、処理ST5にて算出したクラスタ欠陥d1〜d8相互の直線性およびクラスタ欠陥d1〜d8相互の離隔距離を算出してスジ欠陥候補であるか否かを判定する(処理ST6:欠陥分類工程)。 After the process ST5, the defect detection unit of the computer 9 calculates the linearity between the cluster defects d1 to d8 and the separation distance between the cluster defects d1 to d8 calculated in the process ST5, and determines whether or not the defect is a streak defect candidate. (Process ST6: Defect classification step).
具体的には、先ず欠陥検出部は、図5に示すように、識別番号を付したクラスタ欠陥d1〜d8ごとに、重心座標(図5に白抜き×印で示す位置)を算出する。次に、算出した重心座標に基づいて、欠陥検出部は、ハフ変換を実行し、ハフ変換で得たρ−θ曲線同士の重なりによりクラスタ欠陥d1〜d8相互の直線性を算出する。この際、ハフ変換で得られるρ−θ曲線とは、ρは対象領域Rの任意の原点から個々のクラスタ欠陥d1〜d8の重心座標までの距離であり、θは対象領域Rの原点と重心座標とを結ぶ直線が任意の基準軸(例えば、X軸)となす角度であって、次の(1)式の関係を有する。 Specifically, first, as shown in FIG. 5, the defect detection unit calculates the barycentric coordinates (positions indicated by white crosses in FIG. 5) for each of the cluster defects d1 to d8 assigned with the identification numbers. Next, based on the calculated barycentric coordinates, the defect detection unit performs a Hough transform, and calculates the linearity between the cluster defects d1 to d8 based on the overlap of the ρ-θ curves obtained by the Hough transform. In this case, the ρ-θ curve obtained by the Hough transform is that ρ is the distance from an arbitrary origin of the target region R to the center of gravity coordinates of the individual cluster defects d1 to d8, and θ is the origin and the center of gravity of the target region R. The straight line connecting the coordinates is an angle formed with an arbitrary reference axis (for example, the X axis), and has the relationship of the following expression (1).
ρ=xi・cosθ+yi・sinθ …(1)
ここで、(xi,yi)は、各クラスタ欠陥d1〜d8の重心座標である。
ρ = xi · cosθ + yi · sinθ (1)
Here, (xi, yi) is the barycentric coordinates of the cluster defects d1 to d8.
以上のρ−θ曲線は、図6に示すようにグラフ化できるものであり、このグラフにおいて、各クラスタ欠陥d1〜d8のρ−θ曲線が互いに重なり合う場合に、それに対応するクラスタ欠陥同士が同一直線上に位置することが知られている。そこで、欠陥検出部は、各クラスタ欠陥d1〜d8のρ−θ曲線が所定本数(例えば、5本)以上互いに重なり合う点(図6のθ=25°近傍)を検出し、この重なり合う点が存在する場合に、対応するクラスタ欠陥d1〜d8が互いに同一直線上に位置、これらのクラスタ欠陥d1〜d8がスジ欠陥候補であると判定する。 The above ρ-θ curve can be graphed as shown in FIG. 6. In this graph, when the ρ-θ curves of the cluster defects d1 to d8 overlap each other, the corresponding cluster defects are the same. It is known to lie on a straight line. Therefore, the defect detection unit detects a point (near θ = 25 ° in FIG. 6) where the ρ-θ curves of the cluster defects d1 to d8 overlap each other by a predetermined number (for example, 5) or more, and this overlapping point exists. In this case, it is determined that the corresponding cluster defects d1 to d8 are located on the same straight line, and that these cluster defects d1 to d8 are streak defect candidates.
なお、ここで、ρ−θ曲線同士が重なり合うか否かの判定は、完全に同一の点で重なり合う場合に限らず、ρ値およびθ値が所定の数値範囲内で重なり合う場合も含むものである。 Here, the determination as to whether or not the ρ-θ curves overlap includes not only the case where the ρ-θ curves overlap at the same point, but also the case where the ρ value and the θ value overlap within a predetermined numerical range.
次に、欠陥検出部は、スジ欠陥候補中の隣り合うクラスタ欠陥d1〜d8同士の離隔距離を算出し、離隔距離が所定の閾値以上であれば、それぞれ別のスジ欠陥候補であると判定する。具体的には、図5に示すように、クラスタ欠陥d1〜d8間に位置する非クラスタ欠陥の画素の個数により離隔距離を算出し、非クラスタ欠陥の画素の個数が所定個数以下(例えば、4マス以内)の場合に、隣り合うクラスタ欠陥d1〜d8同士を同一のスジ欠陥候補と判定する。一方、非クラスタ欠陥の画素の個数が所定個数を超える場合には、別のスジ欠陥候補と判定する。すなわち、図4において、クラスタ欠陥d1〜d3が同一のスジ欠陥候補と判定され、クラスタ欠陥d4〜d5が同一のスジ欠陥候補と判定され、クラスタ欠陥d6〜d8が同一のスジ欠陥候補と判定されるようになっている。 Next, the defect detection unit calculates a separation distance between adjacent cluster defects d1 to d8 in the streak defect candidate, and determines that each is a different streak defect candidate if the separation distance is equal to or greater than a predetermined threshold. . Specifically, as shown in FIG. 5, the separation distance is calculated based on the number of non-cluster defect pixels located between the cluster defects d1 to d8, and the number of non-cluster defect pixels is equal to or less than a predetermined number (for example, 4 In the case of (within square), adjacent cluster defects d1 to d8 are determined as the same streak defect candidate. On the other hand, when the number of non-cluster defect pixels exceeds a predetermined number, it is determined as another streak defect candidate. That is, in FIG. 4, the cluster defects d1 to d3 are determined to be the same streak defect candidates, the cluster defects d4 to d5 are determined to be the same streak defect candidates, and the cluster defects d6 to d8 are determined to be the same streak defect candidates. It has become so.
以上の処理ST6において、欠陥検出部は、対象領域R中にスジ欠陥候補が存在すると判定した場合には(処理ST6で「スジ」)、以下の処理ST7〜ST8を実行する。一方、対象領域R中にスジ欠陥候補が存在しないと判定した場合には(処理ST6で「それ以外」)、その対象領域Rには点欠陥が群化したスジ欠陥がないものとして欠陥検出処理を終了する。 In the above process ST6, when the defect detection unit determines that a streak defect candidate exists in the target region R (“streaks” in process ST6), the defect detection unit performs the following processes ST7 to ST8. On the other hand, if it is determined that there is no streak defect candidate in the target region R (“other than that” in process ST6), the target region R is assumed to have no streak defect in which point defects are grouped, and the defect detection processing is performed. Exit.
処理ST7において、コンピュータ9の欠陥検出部は、処理ST6にて同一と判定したスジ欠陥候補(クラスタ欠陥d1〜d3,d4〜d5,d6〜d8)の欠陥特徴量を算出する(処理ST7:特徴量算出工程)。 In the process ST7, the defect detection unit of the computer 9 calculates the defect feature amount of the streak defect candidates (cluster defects d1 to d3, d4 to d5, d6 to d8) determined to be the same in the process ST6 (process ST7: feature). Amount calculation step).
ここで、欠陥特徴量としては、同一のスジ欠陥候補の面積値や、輝度平均値、輝度傾き値等がある。面積値は、同一のスジ欠陥候補におけるクラスタ欠陥d1〜d3,d4〜d5,d6〜d8の面積(エリア)合計であり、輝度平均値は、クラスタ欠陥d1〜d3,d4〜d5,d6〜d8の輝度値を平均したものであり、輝度傾き値は、同一のスジ欠陥候補中のクラスタ欠陥d1〜d3,d4〜d5,d6〜d8の輝度最大値を後述の短辺方向距離Wの1/2(W/2)で除した値である。 Here, the defect feature amount includes an area value of the same streak defect candidate, a luminance average value, a luminance inclination value, and the like. The area value is the total area (area) of the cluster defects d1 to d3, d4 to d5, d6 to d8 in the same streak defect candidate, and the luminance average value is the cluster defects d1 to d3, d4 to d5, d6 to d8. The brightness slope value is obtained by calculating the brightness maximum value of cluster defects d1 to d3, d4 to d5, and d6 to d8 in the same streak defect candidate as 1 / of a short side direction distance W to be described later. It is a value divided by 2 (W / 2).
そして、スジ欠陥候補の面積値や輝度傾き値を算出するために、欠陥検出部は、図7に示すように、クラスタ欠陥d1〜d3,d4〜d5,d6〜d8に外接する四角形の短辺方向距離Wを算出する。この短辺方向距離Wは、前記処理ST6で算出したクラスタ欠陥d1〜d8の個々の重心と、重心を結ぶ慣性主軸とを算出し、これらの重心および慣性主軸からクラスタ欠陥d1〜d3,d4〜d5,d6〜d8に外接する四角形を算出することで求められるものである。 And in order to calculate the area value and brightness | luminance inclination value of a streak defect candidate, as shown in FIG. 7, the defect detection part is a short side of the rectangle circumscribing the cluster defects d1-d3, d4-d5, d6-d8 The direction distance W is calculated. The short-side direction distance W is calculated from the individual centroids of the cluster defects d1 to d8 calculated in the process ST6 and the inertia principal axis connecting the centroids, and the cluster defects d1 to d3, d4 to It is obtained by calculating a rectangle circumscribing d5, d6 to d8.
処理ST7でスジ欠陥候補の欠陥特徴量を算出した後、コンピュータ9の欠陥検出部は、スジ欠陥検出用の手順を用いて欠陥検出する(処理ST8:スジ判定工程、欠陥検出工程)。 After calculating the defect feature amount of the streak defect candidate in the process ST7, the defect detection unit of the computer 9 detects the defect using the procedure for detecting the streak defect (process ST8: a streak determination process, a defect detection process).
具体的には、スジ欠陥候補の欠陥特徴量に基づき、このスジ欠陥候補がスジ欠陥であるか否かを判定する。すなわち、スジ欠陥候補をスジ欠陥とみなし、スジ欠陥検出用の閾値を用いて閾値を上回るかまたは閾値を下回るかを判定することで、スジ欠陥(点欠陥の群化によるスジ欠陥)として検出する。 Specifically, based on the defect feature amount of the line defect candidate, it is determined whether or not the line defect candidate is a line defect. That is, a streak defect candidate is regarded as a streak defect, and it is detected as a streak defect (a streak defect due to a group of point defects) by determining whether the threshold value for detecting a streak defect is higher or lower than the threshold value. .
上述した実施形態によれば、以下の効果がある。 The embodiment described above has the following effects.
本実施形態では、処理ST2の輝点・暗点強調工程において、検査画像データP中の点欠陥候補を強調して検出しやすくしておいてから、処理ST3の候補エリア検索工程にて検索エリアQ内の点欠陥候補の個数を検出し、処理ST4の領域判定工程にて検索エリアQが対象領域か否かを判定することで、検査画像データP中において点欠陥候補がある程度以上に集まった(群化した)領域を対象領域として判定することができる。 In the present embodiment, the point defect candidates in the inspection image data P are emphasized and easily detected in the bright spot / dark spot emphasizing process of process ST2, and then the search area is searched in the candidate area searching process of process ST3. By detecting the number of point defect candidates in Q and determining whether or not the search area Q is the target region in the region determination step of process ST4, point defect candidates gathered in the inspection image data P to a certain extent. A region (grouped) can be determined as a target region.
さらに、処理ST5のラベリング工程にて点欠陥候補が連続するクラスタ欠陥d1〜d8を算出してから、処理ST6の欠陥分類工程にてクラスタ欠陥d1〜d8相互の直線性および離隔距離を算出してスジ欠陥候補であるか否かを判定する。そして、クラスタ欠陥d1〜d8がスジ欠陥候補の場合には、処理ST7の特徴量算出工程にて欠陥特徴量を算出してから、処理ST8の欠陥検出工程にてスジ欠陥検出用の閾値を用いることで、点欠陥の群化によるスジ欠陥を精度良く検出し、欠陥判定精度を向上させることができる。 Further, after calculating the cluster defects d1 to d8 in which the point defect candidates are continuous in the labeling process of the process ST5, the linearity and the separation distance between the cluster defects d1 to d8 are calculated in the defect classification process of the process ST6. It is determined whether or not it is a streak defect candidate. When the cluster defects d1 to d8 are streak defect candidates, the defect feature amount is calculated in the feature amount calculation step in process ST7, and then the threshold for detecting the streak defect is used in the defect detection step in process ST8. Thus, streak defects due to grouping of point defects can be detected with high accuracy, and the accuracy of defect determination can be improved.
そして、クラスタ欠陥d1〜d8相互の直線性をハフ変換によって算出し、これに基づいてスジ欠陥候補であるか否かを判定することで、各々のクラスタ欠陥が互いに離れて位置していても、容易かつ迅速に直線性を算出してスジ欠陥候補の判定を実行することができる。さらに、互いに離れて隣接するクラスタ欠陥d1〜d8同士が一つのスジ欠陥候補であるか否か判定することで、目視による欠陥判定と同様の判定を実施することができ、表示デバイスとしての表示品質を確保することができる。 Then, by calculating the linearity between the cluster defects d1 to d8 by the Hough transform, and determining whether or not it is a streak defect based on this, even if each cluster defect is located away from each other, It is possible to easily and quickly calculate the linearity and execute the streak defect candidate determination. Furthermore, by determining whether the cluster defects d1 to d8 that are adjacent to each other apart from each other are one streak defect candidate, it is possible to perform the same determination as the visual defect determination, and display quality as a display device Can be secured.
なお、本発明は前述の実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。 It should be noted that the present invention is not limited to the above-described embodiments, and modifications, improvements, and the like within the scope that can achieve the object of the present invention are included in the present invention.
前記実施形態では、画像表示デバイスとして液晶パネル10の表示外観検査を実施する検査装置1について説明したが、本発明の画像表示デバイスは、光源の光を透過させる液晶パネルに限らず、有機EL(Electro Luminescence)パネルやプラズマパネル等の各種自己発光型の画像表示デバイスであってもよい。
In the above-described embodiment, the inspection apparatus 1 that performs the display appearance inspection of the
また、前記実施形態では、欠陥分類工程(処理ST6)において、クラスタ欠陥d1〜d8相互の直線性をハフ変換によって算出したが、直線性の算出方法は、ハフ変換に限らず、適宜なフィルタ処理等で実行されるものでもよい。 In the embodiment, the linearity between the cluster defects d1 to d8 is calculated by the Hough transform in the defect classification step (process ST6). However, the linearity calculation method is not limited to the Hough transform, and an appropriate filter process is performed. Etc. may be executed.
また、欠陥分類工程(処理ST6)において、クラスタ欠陥d1〜d8相互の離隔距離の算出方法は、非クラスタ欠陥の画素数により判定するものに限らず、クラスタ欠陥d1〜d8の重心間距離を用いてもよく、その他の適宜な方法も採用可能である。 In the defect classification step (process ST6), the method for calculating the separation distance between the cluster defects d1 to d8 is not limited to the determination based on the number of pixels of the non-cluster defects, and the distance between the centers of gravity of the cluster defects d1 to d8 is used. It is also possible to use other appropriate methods.
また、前記実施形態では、ラベリング工程(処理ST5)において、対象領域Rに対して2値化処理を実行したが、2値化処理は必須ではなく、省略してもよい。 Moreover, in the said embodiment, although the binarization process was performed with respect to the object area | region R in the labeling process (process ST5), the binarization process is not essential and may be abbreviate | omitted.
本発明を実施するための最良の構成などは、以上の記載で開示されているが、本発明は、これに限定されるものではない。すなわち、本発明は、主に特定の実施形態に関して特に図示され、かつ、説明されているが、本発明の技術的思想及び目的の範囲から逸脱することなく、以上述べた実施形態に対し、形状、材質、数量、その他の詳細な構成において、当業者が様々な変形を加えることができるものである。 Although the best configuration for carrying out the present invention has been disclosed in the above description, the present invention is not limited to this. That is, the invention has been illustrated and described primarily with respect to particular embodiments, but it is not intended to depart from the technical concept and scope of the invention. Various modifications can be made by those skilled in the art in terms of materials, quantity, and other detailed configurations.
したがって、上記に開示した形状、材質などを限定した記載は、本発明の理解を容易にするために例示的に記載したものであり、本発明を限定するものではないから、それらの形状、材質などの限定の一部もしくは全部の限定を外した部材の名称での記載は、本発明に含まれるものである。 Therefore, the description limited to the shape, material, etc. disclosed above is an example for easy understanding of the present invention, and does not limit the present invention. The description by the name of the member which remove | excluded the limitation of one part or all of such restrictions is included in this invention.
1…検査装置、7…CCDカメラ(撮像装置)、9…コンピュータ(制御装置)、10…液晶パネル(表示デバイス)、d1〜d8…クラスタ欠陥、P…検査画像データ(撮像画像)、Q…検索エリア、R…対象領域、ST2…点欠陥抽出工程、ST3…領域検索工程、ST4…領域判定工程、ST5…ラベリング工程、ST6…欠陥分類工程、ST7…特徴量算出工程、ST8…欠陥検出工程。 DESCRIPTION OF SYMBOLS 1 ... Inspection apparatus, 7 ... CCD camera (imaging apparatus), 9 ... Computer (control apparatus), 10 ... Liquid crystal panel (display device), d1-d8 ... Cluster defect, P ... Inspection image data (captured image), Q ... Search area, R ... target area, ST2 ... point defect extraction process, ST3 ... area search process, ST4 ... area determination process, ST5 ... labeling process, ST6 ... defect classification process, ST7 ... feature amount calculation process, ST8 ... defect detection process .
Claims (7)
前記表示デバイスの表示画像を撮像して撮像画像を取得する撮像画像取得工程と、
前記撮像画像にフィルタ処理を施し撮像画像中の点欠陥候補を抽出する点欠陥抽出工程と、
前記撮像画像を所定サイズの領域で検索して前記領域に含まれる前記点欠陥候補の個数を検出する領域検索工程と、
前記領域検索工程にて検索した前記領域ごとに前記点欠陥候補が所定個数以上含まれるか否かを判定する領域判定工程と、
前記点欠陥候補が所定個数以上含まれる対象領域に関して所定閾値以上の個数の点欠陥候補が連続するクラスタ欠陥を算出して記憶するラベリング工程と、
前記ラベリング工程にて算出したクラスタ欠陥相互の直線性およびクラスタ欠陥相互の離隔距離を算出してスジ欠陥候補であるか否かを判定する欠陥分類工程と、
前記欠陥分類工程にてスジ欠陥候補であると判定した場合には、スジ欠陥検出手順を用いて欠陥検出する欠陥検出工程とを備えることを特徴とする欠陥検出方法。 A defect detection method for detecting a display defect of the display device based on a captured image acquired by capturing a display image of a display device to be inspected,
A captured image acquisition step of acquiring a captured image by capturing a display image of the display device;
A point defect extraction step of filtering the captured image and extracting point defect candidates in the captured image;
An area search step of searching the captured image in an area of a predetermined size and detecting the number of point defect candidates included in the area;
A region determination step of determining whether or not the predetermined number of point defect candidates is included for each of the regions searched in the region search step;
A labeling step of calculating and storing a cluster defect in which a number of point defect candidates equal to or greater than a predetermined threshold are related to a target region including a predetermined number or more of the point defect candidates;
A defect classification step for determining whether or not the defect is a streak defect by calculating the linearity between the cluster defects calculated in the labeling step and the separation distance between the cluster defects;
A defect detection method comprising: a defect detection step of detecting a defect using a streak defect detection procedure when it is determined that the defect classification step is a streak defect candidate.
前記欠陥分類工程では、前記クラスタ欠陥ごとの重心座標を算出するとともに、算出した重心座標に基づいてハフ変換を実行し、ハフ変換で得たρ−θ曲線同士の重なりにより前記クラスタ欠陥相互の直線性を算出し、所定数以上の前記ρ−θ曲線同士が互いに重なり合う場合に、前記クラスタ欠陥同士を同一のスジ欠陥候補と判定することを特徴とする欠陥検出方法。 The defect detection method according to claim 1,
In the defect classification step, a center-of-gravity coordinate for each cluster defect is calculated, and a Hough transform is performed based on the calculated center-of-gravity coordinate. A defect detection method characterized in that, when a predetermined number or more of the ρ-θ curves overlap each other, the cluster defects are determined as the same streak defect candidates.
前記欠陥分類工程では、隣り合う前記クラスタ欠陥間の非欠陥画素の個数により前記離隔距離を算出し、前記非欠陥画素が所定個数以下の場合に、前記クラスタ欠陥同士を同一のスジ欠陥候補と判定することを特徴とする欠陥検出方法。 In the defect detection method according to claim 1 or 2,
In the defect classification step, the separation distance is calculated based on the number of non-defective pixels between adjacent cluster defects, and when the number of non-defective pixels is equal to or less than a predetermined number, the cluster defects are determined as the same streak defect candidate. A defect detection method characterized by:
前記ラベリング工程では、2値化処理を実行して前記クラスタ欠陥とクラスタ候補以外の部分とを2値に分離することを特徴とする欠陥検出方法。 In the defect detection method in any one of Claims 1-3,
In the labeling step, a binarization process is executed to separate the cluster defect and a portion other than the cluster candidate into binary values.
前記欠陥分類工程で判定したスジ欠陥候補の欠陥特徴量を算出する特徴量算出工程を備え、
前記欠陥特徴量には、前記スジ欠陥候補の面積値と、前記スジ欠陥候補の輝度平均値と、前記スジ欠陥候補の輝度傾き値とが少なくとも含まれていることを特徴とする欠陥検出方法。 In the defect detection method in any one of Claims 1-4,
A feature amount calculating step of calculating a defect feature amount of a streak defect candidate determined in the defect classification step;
The defect detection method characterized in that the defect feature amount includes at least an area value of the streak defect candidate, a luminance average value of the streak defect candidate, and a luminance inclination value of the streak defect candidate.
前記表示デバイスの表示画像を撮像する撮像装置と、
前記表示デバイスおよび前記撮像装置を駆動制御する制御装置とを備え、
前記制御装置は、
前記表示デバイスの表示画像を前記撮像装置に撮像させて撮像画像を取得し、
前記撮像画像にフィルタ処理を施して撮像画像中の点欠陥候補を抽出し、
前記撮像画像を所定サイズの領域で検索して前記領域に含まれる前記点欠陥候補の個数を検出し、
前記検索した領域ごとに前記点欠陥候補が所定個数以上含まれるか否かを判定するとともに、前記点欠陥候補が所定個数以上含まれる対象領域に関して所定閾値以上の個数の点欠陥候補が連続するクラスタ欠陥を算出して記憶し、
前記クラスタ欠陥相互の直線性および離隔距離を算出してスジ欠陥候補であるか否かを判定するとともに、スジ欠陥候補であると判定した場合には、スジ欠陥検出手順を用いて欠陥検出することを特徴とする検査装置。 An inspection apparatus that detects display defects of the display device based on a captured image acquired by capturing a display image of a display device to be inspected,
An imaging device for imaging a display image of the display device;
A control device for driving and controlling the display device and the imaging device;
The controller is
Causing the imaging device to capture a display image of the display device to obtain a captured image;
Filtering the captured image to extract point defect candidates in the captured image,
Search the captured image in a region of a predetermined size to detect the number of point defect candidates included in the region,
A cluster in which whether or not a predetermined number or more of the point defect candidates are included for each searched area is determined, and a number of point defect candidates equal to or greater than a predetermined threshold are consecutive with respect to a target area including the predetermined or more point defect candidates. Calculate and store defects,
The straight line and the separation distance between the cluster defects are calculated to determine whether or not the defect is a streak defect candidate, and when it is determined to be a streak defect candidate, a defect is detected using a streak defect detection procedure. Inspection device characterized by
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007003310A JP2008170256A (en) | 2007-01-11 | 2007-01-11 | Defect detection method, defect detection program, and inspection apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007003310A JP2008170256A (en) | 2007-01-11 | 2007-01-11 | Defect detection method, defect detection program, and inspection apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008170256A true JP2008170256A (en) | 2008-07-24 |
Family
ID=39698494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007003310A Withdrawn JP2008170256A (en) | 2007-01-11 | 2007-01-11 | Defect detection method, defect detection program, and inspection apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008170256A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010151762A (en) * | 2008-12-26 | 2010-07-08 | Seiko Epson Corp | Defect detection method and device |
JP2010164318A (en) * | 2009-01-13 | 2010-07-29 | Nippon Steel Corp | Method and device for inspecting flaw |
KR20140067574A (en) * | 2012-11-27 | 2014-06-05 | 엘지디스플레이 주식회사 | Method for inspecting the exterior scratch of flat display panel |
JP2014145600A (en) * | 2013-01-25 | 2014-08-14 | Ricoh Elemex Corp | Inspection apparatus |
JP2014167430A (en) * | 2013-02-28 | 2014-09-11 | Shin Nippon Koki Co Ltd | Defect inspection system, defect inspection program, and defect inspection method |
US9696717B2 (en) | 2013-08-05 | 2017-07-04 | Samsung Electronics Co., Ltd. | Apparatus and method of segmenting sensor data output from a semiconductor manufacturing facility |
CN113646801A (en) * | 2020-02-27 | 2021-11-12 | 京东方科技集团股份有限公司 | Defect detection method and device for defect image and computer readable storage medium |
CN114921941A (en) * | 2022-03-24 | 2022-08-19 | 绍兴勇舜印染有限公司 | Dyeing and finishing processing method of all-cotton plain fabric |
CN115254667A (en) * | 2022-07-29 | 2022-11-01 | 苏州中科行智智能科技有限公司 | Device and method for defect detection of mobile phone frame accessories |
CN118762624A (en) * | 2024-08-13 | 2024-10-11 | 苏州优视软件有限公司 | Method, device and storage medium for locating LCD screen bad pixels based on rule restrictions |
EP4411356A4 (en) * | 2021-09-29 | 2025-01-22 | FUJIFILM Corporation | Display processing device, display processing method, and display processing program |
-
2007
- 2007-01-11 JP JP2007003310A patent/JP2008170256A/en not_active Withdrawn
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010151762A (en) * | 2008-12-26 | 2010-07-08 | Seiko Epson Corp | Defect detection method and device |
JP2010164318A (en) * | 2009-01-13 | 2010-07-29 | Nippon Steel Corp | Method and device for inspecting flaw |
KR102034042B1 (en) * | 2012-11-27 | 2019-10-18 | 엘지디스플레이 주식회사 | Method for inspecting the exterior scratch of Flat display panel |
KR20140067574A (en) * | 2012-11-27 | 2014-06-05 | 엘지디스플레이 주식회사 | Method for inspecting the exterior scratch of flat display panel |
JP2014145600A (en) * | 2013-01-25 | 2014-08-14 | Ricoh Elemex Corp | Inspection apparatus |
JP2014167430A (en) * | 2013-02-28 | 2014-09-11 | Shin Nippon Koki Co Ltd | Defect inspection system, defect inspection program, and defect inspection method |
US9696717B2 (en) | 2013-08-05 | 2017-07-04 | Samsung Electronics Co., Ltd. | Apparatus and method of segmenting sensor data output from a semiconductor manufacturing facility |
CN113646801A (en) * | 2020-02-27 | 2021-11-12 | 京东方科技集团股份有限公司 | Defect detection method and device for defect image and computer readable storage medium |
CN113646801B (en) * | 2020-02-27 | 2024-04-02 | 京东方科技集团股份有限公司 | Defect detection method, device and computer readable storage medium for defect image |
EP4411356A4 (en) * | 2021-09-29 | 2025-01-22 | FUJIFILM Corporation | Display processing device, display processing method, and display processing program |
CN114921941A (en) * | 2022-03-24 | 2022-08-19 | 绍兴勇舜印染有限公司 | Dyeing and finishing processing method of all-cotton plain fabric |
CN114921941B (en) * | 2022-03-24 | 2023-09-01 | 绍兴勇舜印染有限公司 | Dyeing and finishing processing method of all-cotton plain-color fabric |
CN115254667A (en) * | 2022-07-29 | 2022-11-01 | 苏州中科行智智能科技有限公司 | Device and method for defect detection of mobile phone frame accessories |
CN118762624A (en) * | 2024-08-13 | 2024-10-11 | 苏州优视软件有限公司 | Method, device and storage medium for locating LCD screen bad pixels based on rule restrictions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2008170256A (en) | Defect detection method, defect detection program, and inspection apparatus | |
EP1943502B1 (en) | Apparatus and methods for inspecting a composite structure for defects | |
JP2008170325A (en) | Spot defect detection method and spot defect detection apparatus | |
KR101679205B1 (en) | Device for detecting defect of device | |
TW201337839A (en) | Segmentation for wafer inspection | |
JP2007285754A (en) | Defect detection method and defect detection apparatus | |
JP2009079983A (en) | Point defect detection apparatus and point defect detection method | |
EP1006350A1 (en) | Method for detecting defects in bottles | |
JP2010019667A (en) | Image measuring apparatus and computer program | |
JP6212926B2 (en) | Object inspection apparatus and object inspection method | |
JPWO2007132925A1 (en) | Surface inspection device | |
JP2008003063A (en) | Shading correction method, defect detection method, defect detection apparatus, control method program for defect detection apparatus | |
JP2005345290A (en) | Streak defect detection method and apparatus | |
JP2016217989A (en) | Defect inspection device and defect inspection method | |
JP2008111705A (en) | Defect detection method, defect detection program, and inspection apparatus | |
KR20170011791A (en) | An apparatus for detecting optical defects of tempered glass and ito pattern defects in touch screen panel and the method thereof | |
JP6973205B2 (en) | Image processing system, image processing device, image processing program | |
JP2005140655A (en) | Method and apparatus for detecting spot defects | |
JP7362324B2 (en) | Inspection method, manufacturing method and inspection device for image display device | |
JP2004226272A (en) | Method and apparatus for detecting spot defects | |
JP4967132B2 (en) | Defect inspection method for object surface | |
JP2005249946A (en) | Defect inspecting apparatus for display device | |
JPH0711414B2 (en) | Glass bottle uneven thickness inspection method | |
JP2006258713A (en) | Method and apparatus for detecting stain defect | |
JP2006145228A (en) | Nonuniformity defect detection method and apparatus |
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: 20100406 |