JPH08145907A - Inspection equipment of defect - Google Patents

Inspection equipment of defect

Info

Publication number
JPH08145907A
JPH08145907A JP6280970A JP28097094A JPH08145907A JP H08145907 A JPH08145907 A JP H08145907A JP 6280970 A JP6280970 A JP 6280970A JP 28097094 A JP28097094 A JP 28097094A JP H08145907 A JPH08145907 A JP H08145907A
Authority
JP
Japan
Prior art keywords
defect
image data
unit
amount
inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6280970A
Other languages
Japanese (ja)
Inventor
Mitsuo Komori
三雄 小森
Tomohiro Ogawa
智広 小川
Noriyoshi Sugiyama
則順 杉山
Akihiro Tsubakihara
章弘 椿原
Noriyuki Arai
規之 新井
Masaharu Ishida
雅春 石田
Masayuki Takahashi
雅之 高橋
Hiroshi Iwasaki
洋 岩崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Engineering Corp
Original Assignee
Toshiba Engineering Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Engineering Corp filed Critical Toshiba Engineering Corp
Priority to JP6280970A priority Critical patent/JPH08145907A/en
Publication of JPH08145907A publication Critical patent/JPH08145907A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To make it possible to detect various defects from the same image at a high speed by one inspecting equipment and to determine them synthetically by determining synthetically the defects detected by minute defect inspection, defect inspection by binarization of image data and nonuniformity inspection. CONSTITUTION: Gray level information on each pixel obtained by picking up 1 an image of a material to be inspected is taken in an image data input part 3 and subjected to A/D conversion. A defect (minute defect) inspecting part 5 determines each amount of variation of the gray level information between pixels in horizontal and vertical directions, adds up and averages the amount of variation for individual pixels and determines the amount as a defect when it is larger than a reference amount. In a binarizing inspection part 7, the defect is detected by binarizing image data by a prescribed threshold, while in a nonuniformity inspecting part 9, the gray level information on individual pixels are divided into lattices composed of matrixes being in prescribed numbers longitudinally and laterally, the gray level of each pixel in each lattice is added up, the amount of variation of an addition value between the lattices is determined in horizontal and vertical directions and it is determined as the defect when it is larger than a reference amount. In a part 13 for synthetic determination of the defect, the defect of the material to be inspected is determined synthetically on the basis of the results of these inspections.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ラインセンサカメラで
撮像されたフィルム、不織布、鋼、アルミ、銅のコイル
等の製造ラインにおける表面外観を自動検査する欠陥検
査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a defect inspection apparatus for automatically inspecting the surface appearance of a film, a nonwoven fabric, a coil of steel, aluminum, copper or the like picked up by a line sensor camera.

【0002】[0002]

【従来の技術】フィルム、不織布、鋼、アルミ、銅のコ
イル等の主としてシート状物体の製造ラインにおいて
は、これらの製品に欠陥があるか否かを検査する必要が
ある。従来より、これらの検査は、カメラにより検査対
象を撮像し、その画像データに対して画像処理を施し、
その処理欠陥に基づいて欠陥を判定する手法が採用され
ている。この場合の画像処理では、カメラからの画像デ
ータ(濃度データ)を所定のしきい値で二値化して良否
の判定をする二値化処理が一般的である。
2. Description of the Related Art It is necessary to inspect whether or not these products have defects in a production line for sheet-like objects such as films, non-woven fabrics, steel, aluminum and copper coils. Conventionally, these inspections take an image of the inspection target with a camera, perform image processing on the image data,
A method of determining a defect based on the processing defect is adopted. In the image processing in this case, binarization processing is generally performed in which the image data (density data) from the camera is binarized with a predetermined threshold value to determine pass / fail.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
欠陥検査装置では、二値化処理に代表される単一の画像
処理によって検査が実行されているのが一般的であるか
ら、様々に発生する欠陥の全てに対応することは不可能
であった。例えば、液晶ディスプレイ用のカラーフィル
タでは染色ムラ等に起因してカラーフィルタの一部分が
ぼんやりと明るくなったり、暗くなったりするムラ欠陥
が発生する場合があるが、このムラは、単純な二値化処
理では検出できない。また、ノイズの多い画像データを
処理する場合には二値化では精度の良い検査はできな
い。さらに、ピンホール欠陥等のように1画素以下の欠
陥を検出するためには二値化処理では不可能である。
However, in the conventional defect inspection apparatus, since the inspection is generally executed by a single image processing represented by the binarization processing, various inspections occur. It was impossible to address all of the defects. For example, in a color filter for a liquid crystal display, an uneven defect such as a part of the color filter that becomes vaguely bright or dark due to uneven dyeing may occur, but this unevenness is a simple binarization. It cannot be detected by processing. Further, when processing image data with a lot of noise, accurate inspection cannot be performed by binarization. Further, it is impossible to perform a binarization process to detect a defect of one pixel or less such as a pinhole defect.

【0004】このように、従来の画像処理を主体にした
欠陥検査装置では、様々な欠陥を検出することはでき
ず、欠陥の種別毎に専用の画像処理装置を使用して個別
に対応するしか方法がなかった。
As described above, the conventional defect inspection apparatus mainly based on image processing cannot detect various kinds of defects, and it is necessary to use a dedicated image processing apparatus for each defect type to deal with each defect individually. There was no way.

【0005】本発明は上記事情に鑑みて成されたもので
あり、その目的は、一台の検査装置で同一画像データか
ら複数種類の異なった欠陥を高速に検出でき、しかも検
出された欠陥の種別を報知して欠陥を総合的に判定する
ことのできる欠陥検査装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to detect a plurality of types of different defects from the same image data at a high speed with a single inspection apparatus, and to detect detected defects. An object of the present invention is to provide a defect inspection apparatus capable of informing the type and comprehensively determining defects.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに請求項1に記載された発明は、被検査物を撮像して
得られた画素毎の濃度情報をデジタル画像データに変換
して取り込む画像データ入力部と、入力された画像デー
タにおける各画素間の濃度情報の変化量を水平方向及び
垂直方向ついて求める変化量演算手段と、求められた水
平方向及び垂直方向の各変化量を前記画素毎に加算する
変化量加算手段と、加算された変化量を前記画素毎に平
均化する平均化手段と、平均化された変化量が基準量よ
り多い場合に微細な欠陥有りと判定する検出手段と、を
有する微細欠陥検査部と、入力された画像データを所定
のしきい値により二値化して画像データの良否を判定す
る二値化検査部と、入力された画像データを縦横それぞ
れ所定数の画素行列からなる格子に切り分け、各格子内
の各画素の濃度情報を加算して各格子毎の濃度加算値を
求める濃度加算手段と、各格子間での濃度加算値の変化
量を水平方向及び垂直方向のそれぞれについて求める変
化量演算手段と、求められた水平方向の変化量と垂直方
向の変化量が所定量より多い場合に、ムラ有りと判定す
る検出手段と、を有するムラ検査部と、前記微細欠陥検
査部、二値化検査部及びムラ検査部によりそれぞれ検査
された被検査物の欠陥を総合判定する欠陥総合判定部と
を具備することを特徴としている。
In order to achieve the above-mentioned object, the invention described in claim 1 converts the density information for each pixel obtained by imaging the inspection object into digital image data. The image data input unit for fetching, the change amount calculating means for obtaining the change amount of the density information between each pixel in the input image data in the horizontal direction and the vertical direction, and the obtained change amounts in the horizontal direction and the vertical direction are described above. Change amount adding means for adding each pixel, averaging means for averaging the added change amount for each pixel, and detection for determining a fine defect when the averaged change amount is larger than a reference amount A micro-defect inspection unit having a means, a binarization inspection unit that binarizes the input image data with a predetermined threshold value to determine whether the image data is good or bad, and the input image data has predetermined vertical and horizontal directions. Number of pixel rows And a density adding means for obtaining density added value for each grid by adding density information of each pixel in each grid, and a change amount of the density added value between each grid in the horizontal and vertical directions. A variation amount calculating unit for each of the above, and a detection unit for determining unevenness when the obtained horizontal variation amount and vertical variation amount are larger than a predetermined amount, The present invention is characterized by comprising a defect comprehensive judgment unit for comprehensively judging defects of the inspection object respectively inspected by the defect inspection unit, the binarization inspection unit and the unevenness inspection unit.

【0007】請求項2に記載された発明は、請求項1記
載の欠陥検査装置において、前記画像データ入力部から
供給される画像データに対して被検査物の搬送方向に沿
って縦線強調する強調手段と、強調画像データを所定ラ
イン数毎に加算してその濃度加算値を求めるとともに、
今回加算値として記憶する濃度加算手段と、今回加算値
と前回加算値との差分を演算する差分演算手段と、演算
された差分データに基づいて、または濃度加算手段から
の濃度加算データに基づいて被検査物の搬送方向におけ
るスジ状欠陥の有無を判定するスジ状欠陥検出手段と、
を有するスジ状欠陥検査部を具備し、前記欠陥判定部
は、微細欠陥検査部、二値化検査部、ムラ検査部及びス
ジ状欠陥検査部によりそれぞれ検査された被検査物の欠
陥を総合判定することを特徴としている。
According to a second aspect of the present invention, in the defect inspection apparatus according to the first aspect, the image data supplied from the image data input unit is emphasized by a vertical line along the conveyance direction of the inspection object. The enhancement means and the enhanced image data are added for each predetermined number of lines to obtain the density addition value,
Based on the density addition means that stores the current addition value, the difference calculation means that calculates the difference between the current addition value and the previous addition value, and the density addition data from the density addition means. Streak-like defect detection means for determining the presence or absence of streak-like defects in the conveyance direction of the inspection object,
And a defect determination unit, which is a fine defect inspection unit, a binarization inspection unit, an unevenness inspection unit, and a streak defect inspection unit. It is characterized by doing.

【0008】請求項3に記載された発明は、請求項1ま
たは2に記載の欠陥検査装置において、前記画像データ
入力部は、入力されたアナログ画像データを10ビット
のデジタル画像データに変換するA/Dコンバータと、
この10ビットのコンバータ出力を8ビットデータに変
換するA/D変換回路とを具備することを特徴としてい
る。
According to a third aspect of the present invention, in the defect inspection apparatus according to the first or second aspect, the image data input section converts the input analog image data into 10-bit digital image data A / D converter,
An A / D conversion circuit for converting the 10-bit converter output into 8-bit data is provided.

【0009】[0009]

【作用】請求項1の構成によれば、微細欠陥検査部で
は、複数の画素毎の濃度情報間での各変化量を水平方向
及び垂直方向ついて求め、水平方向及び垂直方向の変化
量を前記画素毎に加算し、加算された変化量を前記画素
毎に平均化し、平均化された変化量が所定より多い場
合、欠陥として検出する。
According to the structure of the first aspect, the fine defect inspection section obtains the respective variation amounts between the density information for each of a plurality of pixels in the horizontal direction and the vertical direction, and determines the variation amounts in the horizontal direction and the vertical direction. Addition is performed for each pixel, the added change amount is averaged for each pixel, and when the averaged change amount is larger than a predetermined value, it is detected as a defect.

【0010】また、二値化検査部では、入力される画像
データを所定のしきい値により二値化し、その二値化デ
ータにより欠陥を検出する。
Further, the binarization inspection section binarizes the input image data by a predetermined threshold value and detects a defect by the binarized data.

【0011】さらに、ムラ検査部では、画素毎の濃度情
報を縦横それぞれ所定数の画素行列からなる格子に切り
分け、その各格子内の各画素の濃度情報を加算し、各格
子間での濃度加算値の変化量を水平方向及び垂直方向の
それぞれについて求め、求められた水平方向の変化量と
垂直方向の変化量が所定量より多い場合、ムラと検出す
る。
Further, in the unevenness inspection section, the density information for each pixel is divided into grids each consisting of a predetermined number of vertical and horizontal pixel matrices, the density information of each pixel in each grid is added, and the density addition between each grid is added. The amount of change in the value is obtained for each of the horizontal direction and the vertical direction, and if the obtained amount of change in the horizontal direction and the amount of change in the vertical direction are larger than a predetermined amount, it is detected as unevenness.

【0012】そして、欠陥判定部は、微細欠陥検査部、
二値化検査部及びムラ検査部によりそれぞれ検査された
被検査物の欠陥を総合判定する。
The defect determination section is a fine defect inspection section,
The defects of the inspected object respectively inspected by the binarization inspection unit and the unevenness inspection unit are comprehensively determined.

【0013】請求項2の構成によれば、入力画像データ
に対して被検査物の搬送方向に沿って縦線強調し、強調
画像データを所定ライン数毎に加算してその濃度加算値
を求めるとともに今回加算値として記憶し、今回加算値
と前回加算値との差分を演算し、演算された差分データ
に基づいてまたは濃度加算手段からの濃度加算データに
基づいて被検査物のスジ状欠陥の有無を判定する。そし
て、欠陥判定部は、微細欠陥検査部、二値化検査部、ム
ラ検査部及びスジ状欠陥検査部によりそれぞれ検査され
た被検査物の欠陥を総合判定する。
According to the second aspect of the present invention, vertical lines are emphasized in the input image data along the conveyance direction of the object to be inspected, and the emphasized image data is added every predetermined number of lines to obtain the density addition value. Together with the current addition value, the difference between the present addition value and the previous addition value is calculated, and based on the calculated difference data or the density addition data from the density addition means Determine the presence or absence. Then, the defect determination section comprehensively determines the defects of the inspection object respectively inspected by the fine defect inspection section, the binarization inspection section, the unevenness inspection section, and the streak defect inspection section.

【0014】請求項3の構成によれば、アナログ画像デ
ータは、10ビットのデジタル画像データに変換され
る。このため、8ビット変換時に比較して画像解像度は
向上する。ただし、このまま10ビットデータを画像処
理するには、10ビット対応の装置構成としなければな
らない。したがって、この10ビットデータを8ビット
データに変換して画像処理をするようにしている。これ
により、当初より8ビットデータを取り扱う場合に比較
して回路構成を複雑・高価にすることなく画像解像度を
向上させることが可能となる。
According to the third aspect of the invention, the analog image data is converted into 10-bit digital image data. Therefore, the image resolution is improved as compared with the case of 8-bit conversion. However, in order to image-process 10-bit data as it is, a device structure corresponding to 10-bit must be used. Therefore, this 10-bit data is converted into 8-bit data for image processing. This makes it possible to improve the image resolution without making the circuit configuration complicated and expensive as compared with the case where 8-bit data is handled from the beginning.

【0015】[0015]

【実施例】以下、本発明に係る欠陥検査装置の一実施例
を図面を参照しつつ系統的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the defect inspection apparatus according to the present invention will be systematically described below with reference to the drawings.

【0016】<装置の全体構成>図1は、本発明に係る
欠陥検査装置の一実施例の全体構成を示すブロック図、
図2は、欠陥検査装置の全体システムの構成を示すブロ
ック図である。
<Overall Configuration of Apparatus> FIG. 1 is a block diagram showing the overall configuration of an embodiment of the defect inspection apparatus according to the present invention.
FIG. 2 is a block diagram showing the configuration of the entire system of the defect inspection apparatus.

【0017】図1に示すように本実施例の欠陥検査装置
は、CCDラインセンサカメラ1と、画像データ入力部
3と、キズ(微細欠陥)検査部5と、二値化検査部7
と、ムラ検査部9と、画像表示部11と、欠陥総合判定
部13と、から概略構成されている。図3乃至図6に
は、図1に示す欠陥検査装置の各構成部分毎の詳細な構
成が示されている。
As shown in FIG. 1, the defect inspection apparatus of this embodiment has a CCD line sensor camera 1, an image data input section 3, a flaw (fine defect) inspection section 5, and a binarization inspection section 7.
And a nonuniformity inspection unit 9, an image display unit 11, and a comprehensive defect determination unit 13. 3 to 6 show detailed configurations of the respective component parts of the defect inspection apparatus shown in FIG.

【0018】また、システム構成としては、図2に示す
ように、メインCPU15と、このメインCPU15を
中心とした複数のローカルCPU17を備えており、各
ローカルCPU17はローカルバス19を介して、RO
M21、RAM23、画像メモリ25、VMEインタフ
ェース27と接続されており、メインCPU15は、各
VMEインタフェース27を介して各ローカルCPU1
7と接続される構成となっている。図3乃至図6には、
欠陥検査装置の各構成部材とローカルCPU17との接
続関係は省略して記載されている。
As shown in FIG. 2, the system configuration includes a main CPU 15 and a plurality of local CPUs 17 centered on the main CPU 15. Each local CPU 17 is connected to a RO via a local bus 19.
The main CPU 15 is connected to the M21, the RAM 23, the image memory 25, and the VME interface 27.
7 is connected. 3 to 6,
The connection relationship between each component of the defect inspection apparatus and the local CPU 17 is omitted.

【0019】<画像データ入力部3>画像データ入力部
3は、CCDラインセンサカメラ(以下、ラインセンサ
という)1で撮像された撮像データを入力してデジタル
画像データに変換する機能を有し、図3に示すように、
A/D変換部31と、シェーディング補正部33と、射
影演算部35と、輝度補正部37とを備えている。
<Image Data Input Unit 3> The image data input unit 3 has a function of inputting image pickup data picked up by a CCD line sensor camera (hereinafter referred to as a line sensor) 1 and converting the image pickup data into digital image data. As shown in FIG.
An A / D conversion unit 31, a shading correction unit 33, a projection calculation unit 35, and a brightness correction unit 37 are provided.

【0020】<<A/D変換部31>>本実施例では、
CCDラインセンサ1を使用し、A/D変換を10ビッ
トとし、デジタル信号処理部を8ビットとして処理して
いる。
<< A / D converter 31 >> In this embodiment,
The CCD line sensor 1 is used, the A / D conversion is set to 10 bits, and the digital signal processing unit is set to 8 bits.

【0021】一般に、デジタルデータは、8ビット単位
で取り扱われるが、A/D変換の精度を向上させるため
に、例えばA/Dコンバータの精度を8ビットから10
ビットにする場合には、全てのデジタル回路も10ビッ
ト処理が可能なものに変更する必要がある。しかし、全
てのデジタル回路を10ビット処理のものに変更するの
はコスト高となり、実用的でない。
Generally, digital data is handled in units of 8 bits, but in order to improve the accuracy of A / D conversion, for example, the accuracy of the A / D converter is changed from 8 bits to 10 bits.
In the case of using bits, it is necessary to change all digital circuits to those capable of 10-bit processing. However, it is not practical to change all the digital circuits to those of 10-bit processing because of high cost.

【0022】そこで、本実施例のA/D変換部31で
は、A/Dコンバータ39の次段に10ビットデータを
8ビットデータに変換するビット変換回路41を設けた
ものである。このビット変換回路41は、具体的には図
7に示すようなLUT(ルックアップテーブル)で構成
されている。
Therefore, in the A / D conversion section 31 of this embodiment, a bit conversion circuit 41 for converting 10-bit data into 8-bit data is provided at the next stage of the A / D converter 39. The bit conversion circuit 41 is specifically configured by an LUT (look-up table) as shown in FIG.

【0023】図7(A)は、4:1で変換する例であ
り、図4(B)は、1:1で変換する例である。(B)
の場合のように、入力するアナログ信号の一部しか利用
しない場合には、その範囲のみを変換することにより、
既存の8ビットのデジタル処理回路で処理可能であり、
かつ精度も向上する。
FIG. 7A shows an example of conversion at 4: 1 and FIG. 4B shows an example of conversion at 1: 1. (B)
When only a part of the input analog signal is used, as in the case of, by converting only that range,
It can be processed by an existing 8-bit digital processing circuit,
And the accuracy is also improved.

【0024】したがって、既存のデジタル処理部を使用
する場合にあっても、A/Dコンバータ39とビット変
換回路41を付けることによって、より精度の高いデー
タ処理が可能となる。また、ビット変換回路41にLU
T方式を使用することにより、低いコストで変換精度を
自由に変更することが可能となる。このため、例えば、
反転出力や一部データのみの変換等の処理が可能とな
る。
Therefore, even when the existing digital processing unit is used, by adding the A / D converter 39 and the bit conversion circuit 41, it is possible to perform more accurate data processing. Further, the bit conversion circuit 41 has an LU
By using the T method, the conversion accuracy can be freely changed at low cost. So, for example,
Processing such as inversion output and conversion of only some data is possible.

【0025】<キズ(微細欠陥)検査部5>キズ検査部
5は、空間フィルタ(例えば、3×3のソーベルフィル
タ)、除算テーブルから成る変化量演算部51と、変化
量加算部(画素間演算部)53と、平均算出部(空間フ
ィルタ及び除算テーブル)55と、セクタ加算部(検出
手段)57とを備え、このセクタ加算部57は、濃度変
換回路と、セクタ加算回路と、LUTとから構成されて
いる。
<Scratch (Fine Defect) Inspection Unit 5> The defect inspection unit 5 includes a change amount calculation unit 51 including a spatial filter (for example, a 3 × 3 Sobel filter) and a division table, and a change amount addition unit (pixels). Interval calculation unit) 53, average calculation unit (spatial filter and division table) 55, and sector addition unit (detection unit) 57. The sector addition unit 57 includes a density conversion circuit, a sector addition circuit, and an LUT. It consists of and.

【0026】<二値化検査部7>二値化検査部7は、周
知の構成のものが採用されており、ノイズ除去用の平均
値フィルタ71と、明欠陥検出側、暗欠陥検出側にそれ
ぞれ設けられたセクタ加算部73を備え、各セクタ加算
部73A,73Bは、二値化回路、セクタ加算回路、L
UTとから構成されている。
<Binarization Inspection Unit 7> The binarization inspection unit 7 has a well-known structure, and is provided with an average value filter 71 for removing noise, a bright defect detection side, and a dark defect detection side. Each sector addition section 73 is provided, and each of the sector addition sections 73A and 73B includes a binarization circuit, a sector addition circuit, an L
It is composed of UT and.

【0027】<ムラ検査部9>ムラ検査部9は、2チャ
ンネルのムラ検査部9A,9Bから成っている。第1チ
ャンネルのムラ検査部9Aで検出されるムラをムラ1、
第2チャンネルのムラ検査部9Bで検出されるムラをム
ラ2と称する。ムラ1とムラ2では、検出したいムラの
大きさ(ムラの周波数)が異なっている。すなわち、ム
ラ1は大きさが小さい(周波数が高い)ムラを指し、ム
ラ2は大きさが大きい(周波数が低い)ムラを指す。こ
のため、第1チャンネルでは、設定されるメッシュ幅が
小さく、第2チャンネルでは、設定されるメッシュ幅は
大きい。各チャンネルは次の構成である。
<Mura Inspecting Section 9> The mura inspecting section 9 is composed of two-channel mura inspecting sections 9A and 9B. The unevenness detected by the unevenness inspection unit 9A of the first channel is the unevenness 1,
The unevenness detected by the unevenness inspection unit 9B of the second channel is referred to as unevenness 2. The size of the unevenness to be detected (uneven frequency) is different between the unevenness 1 and the unevenness 2. That is, the unevenness 1 refers to small-sized (high frequency) unevenness, and the unevenness 2 refers to large-sized (low frequency) unevenness. Therefore, the set mesh width is small in the first channel, and the set mesh width is large in the second channel. Each channel has the following configuration.

【0028】ムラセクタ加算部91は、ラインセンサ1
によって得られた画素毎の濃度情報を縦横複数の画素行
列からなる図8に示すような格子に切り分け、その各格
子内の各画素の濃度情報を加算して格子毎の濃度加算値
を求める。
The uneven sector adding unit 91 is provided for the line sensor 1.
The density information for each pixel obtained by the above is divided into a grid consisting of a plurality of vertical and horizontal pixel matrices as shown in FIG. 8, and the density information of each pixel in each grid is added to obtain a density addition value for each grid.

【0029】減算器93は、加算により得られた20ビ
ットの濃度加算データを16ビットの濃度加算データに
減らす処理を実行する。
The subtractor 93 executes a process of reducing the 20-bit density addition data obtained by the addition to 16-bit density addition data.

【0030】変化量算出部(空間フィルタA、空間フィ
ルタB及び各絶対値回路)95は、それぞれ各格子間で
の濃度加算値の水平方向の変化量及び垂直方向の変化量
を3行3列の行列内で求める。
The change amount calculation unit (spatial filter A, spatial filter B and each absolute value circuit) 95 indicates the change amount in the horizontal direction and the change amount in the vertical direction of the density addition value between the respective grids in 3 rows and 3 columns. In the matrix of.

【0031】判定回路97A,97Bは、空間変化量算
出部7によって求められた垂直方向の変化量と、水平方
向の変化量を基に被検査物のムラを検出する。
The determination circuits 97A and 97B detect unevenness of the object to be inspected based on the amount of change in the vertical direction and the amount of change in the horizontal direction obtained by the spatial change amount calculator 7.

【0032】<画像表示部11>画像表示部11は、図
中に示した出力〜出力(出力は、明側二値化の出
力と、暗側二値化の出力との合成出力)を画像表示
バスを介して入力し、画像表示選択機能111により所
望の画像を選択し、VRAM回路113、DAC回路1
15を経て、NTSC信号としてモニタ装置(図示せ
ず)に供給される。
<Image Display Unit 11> The image display unit 11 displays the output to the output shown in the figure (the output is a combined output of the light side binarization output and the dark side binarization output). Input through the display bus, select a desired image by the image display selection function 111, and select the VRAM circuit 113 and the DAC circuit 1.
It is supplied to a monitor device (not shown) as an NTSC signal via 15.

【0033】<キズ検査部5における処理(ミクロ欠陥
検出処理)>まず、検査対象をラインセンサ1により撮
像された画像データは0〜255の256階調で表した
画素毎の濃度情報を有している。
<Process in Scratch Inspecting Unit 5 (Micro Defect Detection Process)> First, the image data of the inspection object picked up by the line sensor 1 has density information for each pixel represented by 256 gradations of 0 to 255. ing.

【0034】画素毎の濃度情報に対して変化量演算部5
1は、各濃度情報間での水平方向の変化量Hij及び垂直
方向の変化量Vijを3行3列の行列内で求める。
A change amount calculator 5 for the density information of each pixel
1 obtains the amount of change H ij in the horizontal direction and the amount of change V ij in the vertical direction between density information in a matrix of 3 rows and 3 columns.

【0035】例えば、任意の画素Lijの水平方向の変化
量Hijと垂直方向の変化量Vijは、図9に示すように画
素Lijを中心とした3行3列の9つの格子の濃度情報を
基に、図10に示す水平方向のソーベルフィルタ(第1
の係数テーブル)と図11に示す垂直方向のソーベルフ
ィルタ(第2の係数テーブル)を用いて以下に示す式
(1)と式(2)によって求める。
[0035] For example, in the horizontal direction of the variation H ij and vertical arbitrary pixel L ij variation V ij is the three rows and three columns of nine lattice around the pixel L ij as shown in FIG. 9 Based on the density information, the horizontal Sobel filter shown in FIG.
(2) and the vertical Sobel filter (second coefficient table) shown in FIG. 11 are used to obtain the values according to the following equations (1) and (2).

【0036】[0036]

【数1】 Hij=|−Li-1,j-1 −2Li,j-1 −Li+1,j-1 +Li-1,j+1 +2Li,j+1 +Li+1,j+1 |…式(1) Vij=|−Li-1,j-1 +Li+1,j-1 −2Li-1,j +2Li+1,j −Li-1,j+1 +Li+1,j+1 |…式(2) 水平方向の変化量Hijと垂直方向の変化量Vijが求めら
れると、変化量加算部53では、その水平方向の変化量
ijと垂直方向の変化量Vijを加算してその画素の変化
量Tijを求める。
H ij = | -L i-1, j-1 -2L i, j-1 -L i + 1, j-1 + L i-1, j + 1 + 2L i, j + 1 + L i + 1, j + 1 | ... Expression (1) V ij = | -L i-1, j-1 + L i + 1, j-1 -2L i-1, j + 2L i + 1, j -L i-1 , j + 1 + L i + 1, j + 1 | Equation (2) When the horizontal change amount H ij and the vertical change amount V ij are obtained, the change amount adding section 53 changes the horizontal change. The amount H ij and the vertical direction change amount V ij are added to obtain the change amount T ij of the pixel.

【0037】画素毎の変化量が求められると、平均算出
部55では、求められた各変化量を、3行3列の9つの
変化量の平均値を中心画素の変化量の平均とする図12
に示すフィルタを用いて平均化し、それを平均変化量と
して画素毎に求める。
When the amount of change for each pixel is obtained, the average calculator 55 uses the obtained amount of change as the average of the amounts of change in the central pixel with the average value of the nine amounts of change in 3 rows and 3 columns. 12
Averaging is performed using the filter shown in, and the average variation is obtained for each pixel.

【0038】例えば、画素Li-1,j-1 の変化量をT
i-1,j-1 ,画素Li,j-1 の変化量をTi, j-1 ,画素L
i+1,j-1 の変化量をTi+1,j-1 ,画素Li-1,j の変化量
をTi-1,j,画素Lijの変化量をTij,画素Li+1,j
変化量をTi+1,j ,画素Li-1,j+1の変化量をT
i-1,j+1 ,画素Li,j+1 の変化量をTi,j+1 ,画素L
i+1,j+1 の変化量をTi+1,j+1 とすると、画素Lijの平
均変化量Aijは、以下に示す式(3)によって求められ
る。
For example, the change amount of the pixel L i-1, j-1 is T
i-1, j-1 , pixel L i, j-1 change amount is T i, j-1 , pixel L
i + 1, j-1 of the change amount T i + 1, j-1, the pixels L i-1, T the variation of j i-1, j, a T ij variation amount of the pixel L ij, pixel L i + 1, j of the change amount T i + 1, j, pixel L i-1, j + 1 of the amount of change T
i-1, j + 1 , pixel L i, j + 1 change amount is T i, j + 1 , pixel L
When the change amount of i + 1, j + 1 is T i + 1, j + 1 , the average change amount A ij of the pixel L ij is obtained by the following equation (3).

【0039】[0039]

【数2】 Aij=(Ti-1,j-1 +Ti,j-1 +Ti+1,j-1 +Ti-1,j +Tij+Ti+1,j +Ti-1,j+1 +Ti,j+1 i+1,j+1 )×1/9 …式(3) そしてセクタ加算部57では、求められた各平均変化量
と予め設定されている欠陥判定しきい値とを比較し、求
められた平均変化量が予め設定されている欠陥判定しき
い値より大きい場合、欠陥と判定する。
## EQU00002 ## A ij = (T i-1, j-1 + T i, j-1 + T i + 1, j-1 + T i-1, j + T ij + T i + 1, j + T i-1, j +1 + T i, j + 1 + i + 1, j + 1 ) × 1/9 Equation (3) Then, in the sector addition unit 57, the calculated average change amounts and the preset defect determination thresholds are set. When the calculated average change amount is larger than a preset defect determination threshold value, it is determined to be a defect.

【0040】このように、ラインセンサ1によって得ら
れた濃度情報の水平方向の変化量及び垂直方向の変化量
を縦横複数の行列、例えば水平方向のソーベルフィルタ
と、垂直方向の輪郭を強調する垂直方向のソーベルフィ
ルタによって求め、求められた水平方向と垂直方向の変
化量を画素毎に加算し、さらに、加算された変化量を例
えば3行3列の9つの変化量の平均値を中心画素の変化
量の平均とするフィルタを用いて平均化し、その平均変
化量により欠陥を検出しているので、ラインセンサ1の
画素に対して微小(画素面積前後)である欠陥でも正確
に検出することが可能となる。また、被検査物を撮像し
て得られた濃度情報にシェーディングや高周波ノイズが
多く含まれる場合であっても、本実施例のキズ検査部5
を用いれば、前記平均変化量を求めることにより前記シ
ェーディングと高周波ノイズはともに減少される。
As described above, the horizontal variation amount and the vertical variation amount of the density information obtained by the line sensor 1 are emphasized in a plurality of vertical and horizontal matrices, for example, a horizontal Sobel filter and a vertical contour. Obtained by a vertical Sobel filter, the obtained amounts of change in the horizontal and vertical directions are added for each pixel, and the added amount of change is centered on, for example, the average value of nine changes in 3 rows and 3 columns. Since a defect is detected by the average amount of change using a filter that averages the change amount of pixels, even a defect that is minute (before and after the pixel area) with respect to the pixel of the line sensor 1 can be accurately detected. It becomes possible. Even when the density information obtained by imaging the inspection object includes a lot of shading and high frequency noise, the flaw inspection unit 5 of the present embodiment.
Is used, both the shading and the high frequency noise are reduced by obtaining the average change amount.

【0041】<二値化検査部7の処理>この二値化検査
部7では、画像データ入力部3から供給される0〜25
5の256階調で表した画素毎の濃度情報に対して平均
値フィルタ71によりノイズ成分を除去した後、それぞ
れ所定のしきい値により、空洞キズのような明るい欠
陥、引っ掻きキズのような暗い欠陥をそれぞれ検出す
る。
<Processing of Binarization Inspection Unit 7> In the binarization inspection unit 7, 0 to 25 supplied from the image data input unit 3 are supplied.
After removing the noise component from the average value filter 71 with respect to the density information for each pixel represented by 256 gradations of 5, a bright defect such as a hollow flaw and a dark defect such as a scratch are caused by predetermined threshold values. Detect each defect.

【0042】<ムラ検出部9の処理>前述したように、
このムラ検出部9は、ムラの周波数の高いムラをチャン
ネル1で、ムラの周波数の低いムラをチャンネル2で検
出できるように設定されてある。個々の処理は2チャン
ネルとも全く同一である。
<Processing of unevenness detecting section 9> As described above,
The unevenness detecting unit 9 is set so that unevenness having a high unevenness frequency can be detected by the channel 1 and unevenness having a low unevenness frequency can be detected by the channel 2. The individual processing is exactly the same for both channels.

【0043】画像データ入力部3から画素毎の濃度情報
が供給されると濃度情報を加算するセクタ加算部91で
は、図8に示すように濃度情報を縦横複数の画素行列か
らなる格子に切り分け、その各格子内の各画素の濃度情
報を加算して格子毎の濃度加算値を求める。なお図8で
は、縦横とも10画素ずつの10行10列の格子に区切
っているがこれに限らずこの数は任意に変更可能であ
る。
When the density information for each pixel is supplied from the image data input unit 3, the sector addition unit 91, which adds the density information, divides the density information into a grid consisting of a plurality of vertical and horizontal pixel matrices, as shown in FIG. The density information of each pixel in each grid is added to obtain a density added value for each grid. Note that in FIG. 8, the grid is divided into 10 rows and 10 columns by 10 pixels in each of the vertical and horizontal directions, but the number is not limited to this and this number can be arbitrarily changed.

【0044】変化量算出部95では、各格子間での水平
方向の濃度加算値の変化量Hij及び垂直方向の濃度加算
値の変化量Vijを3行3列の行列内で求める。
The change amount calculation unit 95 obtains the change amount H ij of the horizontal density addition value and the change amount V ij of the vertical density addition value between the respective grids in a matrix of 3 rows and 3 columns.

【0045】例えば、任意の格子の濃度加算値Σijの水
平方向の変化量Hijと垂直方向の変化量Vijは、図13
に示すようにΣijを中心とした3行3列の9つの格子の
濃度加算値を基に、図10に示した水平方向のソーベル
フィルタ(空間フィルタA)と図11に示した垂直方向
のソーベルフィルタ(空間フィルタB)を用いて以下に
示す式(4)と式(5)によって求める。
For example, the amount of change H ij in the horizontal direction and the amount of change V ij in the vertical direction of the density addition value Σ ij of an arbitrary grid are shown in FIG.
As shown in FIG. 11, the horizontal Sobel filter (spatial filter A) shown in FIG. 10 and the vertical direction shown in FIG. 11 are based on the density addition values of nine lattices of 3 rows and 3 columns centered on Σ ij . Using the Sobel filter (spatial filter B) of Equation (4) and Equation (5) shown below, the values are obtained.

【0046】[0046]

【数3】 Hij=|−Σi-1,j-1 −2Σi,j-1 −Σi+1,j-1 +Σi-1,j+1 +2Σi,j+1 +Σi+1,j+1 |…式(4) Vij=|−Σi-1,j-1 +Σi+1,j-1 −2Σi-1,j +2Σi+1,j −Σi-1,j+1 +Σi+1,j+1 |…式(5) そして判定回路97A,97Bでは、求められた水平方
向の変化量Hij及び垂直方向の変化量Vijと予め設定さ
れているムラ判定しきい値とを比較し、求められた変化
量Hij,Vijが予め設定されているムラ判定しきい値よ
り大きい場合、ムラと判定する。
H ij = | −Σ i-1, j-1 −2Σ i, j-1 −Σ i + 1, j-1 + Σ i-1, j + 1 +2 Σ i, j + 1 + Σ i + 1, j + 1 | ... Expression (4) V ij = | −Σ i-1, j-1 + Σ i + 1, j-1 −2Σ i-1, j + 2Σ i + 1, j −Σ i-1 , j + 1 + Σ i + 1, j + 1 | ... (5) Then, in the determination circuits 97A and 97B, the obtained horizontal variation amount H ij and vertical variation amount V ij are set in advance. When the variation amounts H ij and V ij thus obtained are compared with a non-uniformity determination threshold value and are larger than a preset non-uniformity determination threshold value, non-uniformity is determined.

【0047】このように、ラインセンサ1によって得ら
れた画素毎の被検査物の濃度情報を縦横複数の画素行列
からなる格子に切り分け、その各格子内の各画素の濃度
情報を加算して格子毎の濃度加算値を求めることにより
ムラを強調し、各格子間での水平方向の濃度加算値の変
化量Hij及び垂直方向の濃度加算値の変化量Vijを3行
3列の行列内で求めることによってさらにムラを強調し
ている。そして求められた各格子の変化量Hij,Vij
予め設定してあるムラ判定しきい値とを比較し、求めら
れた各格子の変化量Hij,Vij予め設定されているムラ
判定しきい値より大きい場合、ムラと判定する。
As described above, the density information of the object to be inspected for each pixel obtained by the line sensor 1 is divided into a grid consisting of a plurality of vertical and horizontal pixel matrices, and the density information of each pixel in each grid is added to form a grid. The unevenness is emphasized by obtaining the density addition value for each grid, and the change amount H ij of the density addition value in the horizontal direction between the lattices and the change amount V ij of the density addition value in the vertical direction are stored in a matrix of 3 rows and 3 columns. The unevenness is further emphasized by seeking at. Then, the obtained variation amounts H ij and V ij of each lattice are compared with a preset mura determination threshold value, and the obtained variation amounts H ij and V ij of each lattice are determined. If it is larger than the threshold value, it is determined as unevenness.

【0048】したがって、水平方向と垂直方向の両方で
変化量Hij,Vijを求めてムラをより強調しているた
め、被検査物の検出方向に関係なくムラが検出でき、ま
た、被検査物がLCD用のカラーフィルタのように表面
が細かく格子状に分けられ境界線がある場合でもムラの
検出精度は被検査物の傾きに依存しなくなる。さらに、
ラインセンサを用いた場合に検出しにくい所定周期で発
生しているムラも周期に関係なく検出することができ
る。
Therefore, since the variations H ij and V ij are obtained in both the horizontal and vertical directions to further emphasize the unevenness, the unevenness can be detected regardless of the detection direction of the inspection object, and the inspection object can be detected. Even if the surface of the object is finely divided into a grid like a color filter for LCD and there is a boundary line, the detection accuracy of unevenness does not depend on the inclination of the object to be inspected. further,
Even when the line sensor is used, it is possible to detect unevenness that occurs in a predetermined cycle that is difficult to detect regardless of the cycle.

【0049】なお、求められた水平方向の変化量Hij
垂直方向の変化量Vijを加算したものをその格子の変化
量Cijとしてこの変化量Cijを各格子について求め、判
定回路97A,97Bでは、求められた変化量Cijと予
め設定されているムラ判定しきい値を比較し、求められ
た変化量Cijが予め設定されているムラ判定しきい値よ
り大きい場合、ムラと判定するようにしても良い。
It should be noted that the sum of the obtained horizontal variation H ij and vertical variation V ij is used as the lattice variation C ij , and this variation C ij is determined for each lattice, and the decision circuit 97A is determined. , 97B compares the obtained variation amount C ij with a preset unevenness determination threshold value, and if the obtained variation amount C ij is larger than the preset unevenness determination threshold value, it determines that there is unevenness. It may be determined.

【0050】<欠陥総合判定処理>各検査部5,7,9
からの検査データは、欠陥総合判定部13に供給され
る。欠陥総合判定部13は、、例えば、欠陥種別判定テ
ーブル131が形成されており、このテーブルデータに
基づいて供給された検査データに基づいて被検査物の欠
陥種別が判定される。なお、図14に示すように各検査
部5,7,9の出力に対しては、コントラスト方向の強
さ、すなわち変化量がしきい値を越えたか否かによって
強弱に分けられる。微細欠陥の場合は、ミクロ大、ミク
ロ小の2通り、二値化の場合には、二値化大、二値化小
の2通り、ムラの場合は、ムラ1強、ムラ1弱、ムラ2
強、ムラ2弱の4通り、合計8通りの検査が可能であ
る。この時のしきい値は、欠陥総合判定部13に予め設
定されている。したがって、この時には、8ビットのデ
ータをインデックスとして欠陥種別判定テーブルをアク
セスすれば良い。
<Defect Comprehensive Judgment Processing> Each Inspection Unit 5, 7, 9
The inspection data from is supplied to the comprehensive defect determination unit 13. The defect comprehensive determination unit 13 has, for example, a defect type determination table 131 formed therein, and determines the defect type of the inspected object based on the inspection data supplied based on this table data. It should be noted that, as shown in FIG. 14, the outputs of the inspection units 5, 7, and 9 are classified into strength and weakness depending on the strength in the contrast direction, that is, whether or not the amount of change exceeds a threshold value. In the case of fine defects, there are two types of micro-large and micro-small, in the case of binarization, there are two types of binarization large and binarization small, and in the case of unevenness, uneven 1 strong, uneven 1 weak, uneven Two
A total of 8 types of inspections are possible, 4 types of strong and 2 less uneven. The threshold value at this time is preset in the defect comprehensive judgment unit 13. Therefore, at this time, the defect type determination table may be accessed using the 8-bit data as an index.

【0051】図15、図16には、各種の欠陥名と、そ
の原画像、濃度断面、判定結果、処理画面の一例が示さ
れている。この例では、(1) 極小穴(ピンホール)、
(2) 穴、(3) 大穴、(4) 薄い汚れ、(5) 汚れ、(6) 濃い
汚れ、に対する本実施例装置による判定結果を模式的に
示したものである。
15 and 16 show examples of various defect names, their original images, density sections, judgment results, and processing screens. In this example, (1) very small hole (pinhole),
FIG. 4 is a schematic diagram showing the determination results by the apparatus of this embodiment for (2) holes, (3) large holes, (4) light dirt, (5) dirt, and (6) dark dirt.

【0052】(1)極小穴(ピンホール欠陥)の場合 図15(1)に示すように、極小穴(ピンホール欠陥)
は、微細欠陥であるから、キズ検査部で欠陥が検出さ
れ、“ミクロ小”と判定される。
(1) In case of extremely small hole (pinhole defect) As shown in FIG. 15 (1), extremely small hole (pinhole defect)
Is a minute defect, the defect is detected by the flaw inspection unit and is determined to be "micro small".

【0053】(2)穴の場合 図15(2)に示すように、穴は、“ミクロ大”あるい
は“二値化小”と判定される。
(2) In the case of hole As shown in FIG. 15 (2), the hole is judged to be "micro large" or "binarization small".

【0054】(3)大穴の場合 図15(2)に示すように、大穴は、“二値化大”ある
いは“二値化大とその他の判定全て”において欠陥が検
出される。
(3) Large hole As shown in FIG. 15 (2), a large hole has a defect detected in "large binarization" or "large binarization and all other judgments".

【0055】(4)うすい汚れの場合 図16(1)に示すように、“うすい汚れ”は、“ムラ
1弱”と判定される。
(4) Case of Light Stain As shown in FIG. 16A, "light stain" is judged to be "unevenness 1 weak".

【0056】(5)汚れの場合には、 図16(2)に示すように、汚れは、“ムラ1強”ある
いは“ムラ1強”と“ミクロ大”に該当する。
(5) In the case of stains, as shown in FIG. 16 (2), the stains correspond to "strong unevenness 1" or "strong unevenness 1" and "micro large".

【0057】(6)濃い汚れの場合 図16(2)に示すように、濃い汚れは、“ムラ1強”
と“ムラ2”に該当する。
(6) In the case of dark stains As shown in FIG. 16 (2), dark stains are "strong unevenness 1 strong".
And "Mura 2".

【0058】このように、本実施例装置によれば、一つ
の画像データから複数の欠陥を総合判定することがで
き、欠陥種別判定テーブルに予め欠陥情報を設定してお
くことにより、欠陥種別毎に判定できるのである。
As described above, according to the apparatus of this embodiment, a plurality of defects can be comprehensively determined from one image data, and by setting the defect information in the defect type determination table in advance, each defect type can be determined. Can be determined.

【0059】<スジ状欠陥検出処理>図17は、スジ状
欠陥検査部の一構成例を示しており、このスジ状欠陥検
査部151は、前記画像データ入力部3の後段に、キズ
検査部5等と並列に設けられる。
<Streak Defect Detection Process> FIG. 17 shows an example of the structure of a streak defect inspection section. This streak defect inspection section 151 is provided with a flaw inspection section after the image data input section 3. 5 and the like are provided in parallel.

【0060】初めに原理的な説明をする。鋼板、帯鋼、
樹脂シート、紙等の連続したシート物製品や1枚1枚切
り離された枚葉製品には、欠陥検出の困難な製品の搬送
方向(流れ方向)に沿った図18(1)に示すような低
コントラストのスジ状欠陥や図18(2)に示すような
微細幅のスジ傷が発生する場合がある。
First, the principle will be described. Steel plate, strip steel,
A continuous sheet product such as a resin sheet or paper or a sheet product cut out one by one is shown in FIG. 18 (1) along the conveyance direction (flow direction) of the product in which defect detection is difficult. A low-contrast streak-like defect or a fine-width streak as shown in FIG. 18B may occur.

【0061】図18(1)に示すような低コントラスト
のスジ状欠陥の一ラインにおける濃度断面は、図18
(3)に示すようにスジ部分の幅が広く、かつノイズが
比較的少ないものとなっている。一方、図18(2)に
示すような微細幅のスジ傷の濃度断面では、図18
(4)に示すようにスジ幅は狭く、かつランダムに発生
するノイズ分が多い。これらの各画像データを流れ方向
(搬送方向)に積分すると、図18(1)の低コントラ
ストのスジでは、図19(1)に示すように、その濃度
加算値は、スジ部分で鮮明となり、あるしきい値で切る
ことによりスジ部分の検出が可能となる。ところが、図
18(2)の微細幅のスジ傷のある画像データの濃度加
算値は、図19(2)に示すように、ノイズが多いため
に、スジ部分とノイズ部分との区別がつかず判定が困難
となる。したがって、単純に画像データ(濃度値)を積
分する手法では、微細幅のスジ傷は検出できない。
A density cross section of one line of a low-contrast streak defect as shown in FIG. 18A is shown in FIG.
As shown in (3), the width of the streak portion is wide and the noise is relatively small. On the other hand, in the concentration cross section of the fine scratch having a fine width as shown in FIG.
As shown in (4), the streak width is narrow and a large amount of noise occurs randomly. When these respective image data are integrated in the flow direction (conveyance direction), in the low-contrast streak in FIG. 18 (1), the density added value becomes clear in the streak part as shown in FIG. 19 (1). It becomes possible to detect the streak portion by cutting at a certain threshold value. However, as shown in FIG. 19B, since the density added value of the image data with fine-width streak in FIG. 18B has a lot of noise, the streak portion and the noise portion cannot be distinguished from each other. Judgment becomes difficult. Therefore, a streak of a fine width cannot be detected by the method of simply integrating the image data (density value).

【0062】そこで、図17に示すように、画像データ
入力部3から出力された画像データに対する前処理とし
て、空間フィルタ部153を設けこのフィルタ出力を積
分処理部155により加算するようにしている。また、
積分処理部155の出力の後処理としてブロック毎の差
分をとる差分処理部57を設けている。さらに、判定部
として、積分処理部155の出力データに基づいて判定
する第1の判定部159と差分処理部157の出力デー
タに基づいて判定する第2の判定部161とを備えてい
る。
Therefore, as shown in FIG. 17, as a pre-process for the image data output from the image data input unit 3, a spatial filter unit 153 is provided and the filter output is added by the integration processing unit 155. Also,
As a post-process of the output of the integration processing unit 155, a difference processing unit 57 that takes a difference for each block is provided. Further, as the determination unit, a first determination unit 159 that determines based on the output data of the integration processing unit 155 and a second determination unit 161 that determines based on the output data of the difference processing unit 157 are provided.

【0063】空間フィルタ部153は、例えば、上述し
た垂直方向のソーベルフィルタが採用でき、このソーベ
ルフィルタにより画像データ中のスジ部分が強調されて
いる。この濃度断面を図20に示す。
The spatial filter section 153 can employ, for example, the above-mentioned vertical Sobel filter, and the streak portion in the image data is emphasized by this Sobel filter. This concentration cross section is shown in FIG.

【0064】この空間フィルタ部153でスジ部分が強
調されたデータに対して積分処理を施すと、図21に示
すように、ノイズ部分とスジ部分の差が一層明確にな
る。第1の判定部159では、ノイズレベルが低い場合
にこの積分データに対するしきい値処理によりスジ欠陥
の判定を実行する。
When integration processing is performed on the data in which the streak portion is emphasized by the spatial filter section 153, the difference between the noise portion and the streak portion becomes clearer as shown in FIG. When the noise level is low, the first determining unit 159 determines the streak defect by thresholding the integrated data.

【0065】一方、前記積分データのみからでは、ノイ
ズとスジ部分との差が明確にならない場合に、差分処理
部157により、図22に示すように、前回の積分値と
の差分を取り、第2の判定部161では、その差分デー
タに基づいて判定を行う。
On the other hand, when the difference between the noise and the streak portion is not clear only from the integrated data, the difference processing unit 157 calculates the difference from the previous integrated value as shown in FIG. The second determination unit 161 makes a determination based on the difference data.

【0066】これらの判定結果は、前記欠陥総合判定部
13に供給され、これに基づいて被検査物の欠陥検査が
総合的に実行され、欠陥があれば、どのような欠陥かが
表示されるのである。
These judgment results are supplied to the defect comprehensive judgment unit 13, and the defect inspection of the object to be inspected is comprehensively executed based on the judgment results. If there is a defect, what kind of defect is displayed. Of.

【0067】このようにこのスジ状欠陥検査部151に
よれば、低コントラストな、または微細幅のスジ状欠陥
の検出を安定して行うことができ、検出精度が向上す
る。また、スポット状の低コントラストの欠陥の検出も
行うことができる。
As described above, according to the streak defect inspection section 151, it is possible to stably detect a streak defect having a low contrast or a fine width, and the detection accuracy is improved. It is also possible to detect spot-like low-contrast defects.

【0068】また、前回積分値と今回積分値の差分を取
り、この差分値に基づいてスジ欠陥を検査するようにし
ているので、スジ傷の発生起点とスジ傷の終点とを検出
することができ、より一層明確な欠陥検出が可能とな
る。
Further, since the difference between the previous integrated value and the present integrated value is obtained and the streak defect is inspected based on this difference value, the starting point of the streak scratch and the end point of the streak scratch can be detected. This makes it possible to detect defects more clearly.

【0069】[0069]

【発明の効果】以上説明したように請求項1に記載の発
明によれば、一台の検査装置で同一画像データから複数
種類の異なった欠陥を高速に検出でき、しかも検出され
た欠陥の種別を報知して欠陥を総合的に判定することが
可能となる。
As described above, according to the invention described in claim 1, a plurality of different kinds of defects can be detected at high speed from the same image data by one inspection apparatus, and the kind of the detected defects can be detected. It becomes possible to comprehensively judge the defect by informing the user.

【0070】請求項2に記載の発明によれば、低コント
ラストな、または微細幅のスジ状欠陥の検出を安定して
行うことが可能となる。
According to the second aspect of the present invention, it becomes possible to stably detect a low-contrast or fine-width streak-like defect.

【0071】請求項3記載の発明によれば、既存のデジ
タル処理部を使用する場合にあっても、A/Dコンバー
タと変換回路を付けることによって、より精度の高いデ
ータ処理が可能となる。
According to the third aspect of the present invention, even when the existing digital processing unit is used, by providing the A / D converter and the conversion circuit, it is possible to perform more accurate data processing.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係る欠陥検査装置の一実施例構成を示
すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a defect inspection apparatus according to the present invention.

【図2】本発明に係る欠陥検査装置におけるシステム構
成を示すブロック図である。
FIG. 2 is a block diagram showing a system configuration of a defect inspection apparatus according to the present invention.

【図3】本発明に係る欠陥検査装置における画像データ
入力部の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an image data input unit in the defect inspection apparatus according to the present invention.

【図4】本発明に係る欠陥検査装置における各検査部の
構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of each inspection unit in the defect inspection apparatus according to the present invention.

【図5】本発明に係る欠陥検査装置におけるムラ検査部
の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a nonuniformity inspection unit in the defect inspection apparatus according to the present invention.

【図6】本発明に係る欠陥検査装置における画像表示部
の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of an image display unit in the defect inspection apparatus according to the present invention.

【図7】A/D変換回路におけるテーブル構成を示す説
明図である。
FIG. 7 is an explanatory diagram showing a table configuration in an A / D conversion circuit.

【図8】画素毎の濃度情報を縦横複数の画素行列からな
る格子に切り分けた例を示す説明図である。
FIG. 8 is an explanatory diagram showing an example in which the density information for each pixel is divided into a grid composed of a plurality of vertical and horizontal pixel matrices.

【図9】任意の画素の輝度情報の水平方向の変化量と垂
直方向の変化量を求める場合の説明図である。
FIG. 9 is an explanatory diagram for obtaining a horizontal variation amount and a vertical variation amount of luminance information of an arbitrary pixel.

【図10】水平方向ソーベルフィルタを示す説明図であ
る。
FIG. 10 is an explanatory diagram showing a horizontal Sobel filter.

【図11】垂直方向のソーベルフィルタを示す説明図で
ある。
FIG. 11 is an explanatory diagram showing a vertical Sobel filter.

【図12】平均変化量を求める3行3列のフィルターを
示す説明図である。
FIG. 12 is an explanatory diagram showing a filter of 3 rows and 3 columns for obtaining an average change amount.

【図13】任意の格子の輝度加算値の水平方向の変化量
と垂直方向の変化量を求める場合の説明図である。
FIG. 13 is an explanatory diagram for obtaining a horizontal variation amount and a vertical variation amount of a luminance added value of an arbitrary grid.

【図14】欠陥総合判定処理を示す説明図である。FIG. 14 is an explanatory diagram showing a comprehensive defect determination process.

【図15】欠陥総合判定処理の結果を示す説明図であ
る。
FIG. 15 is an explanatory diagram showing a result of defect comprehensive determination processing.

【図16】欠陥総合判定処理の結果を示す説明図であ
る。
FIG. 16 is an explanatory diagram showing a result of defect comprehensive determination processing.

【図17】スジ状欠陥検査部の一構成例を示すブロック
図である。
FIG. 17 is a block diagram showing a configuration example of a stripe defect inspection unit.

【図18】スジ状欠陥の説明図である。FIG. 18 is an explanatory diagram of a stripe defect.

【図19】スジ状欠陥の濃度加算値を示す説明図であ
る。
FIG. 19 is an explanatory diagram showing a density addition value of a stripe defect.

【図20】スジ状欠陥のフィルタ処理後の濃度断面を示
す説明図である。
FIG. 20 is an explanatory diagram showing a density cross section after the streak-like defect is filtered.

【図21】スジ状欠陥のフィルタ処理+積分処理後の濃
度断面を示す説明図である。
FIG. 21 is an explanatory diagram showing a density cross-section after the streak-like defect filter processing + integration processing.

【図22】スジ状欠陥の差分処理後の濃度断面を示す説
明図である。
FIG. 22 is an explanatory diagram showing a density cross section after difference processing of streak defects.

【符号の説明】[Explanation of symbols]

1 CCDラインセンサカメラ 3 画像データ入力部 5 キズ(微細欠陥)検査部 51 変化量演算部 53 変化量加算部 55 平均算出部 57 セクタ加算部 7 二値化検査部 9 ムラ検査部 91 ムラセクタ加算部 95 変化量算出部 11 画像表示部 13 欠陥総合判定部 39 A/Dコンバータ 41 ビット変換回路 151 スジ状欠陥検査部 1 CCD line sensor camera 3 image data input unit 5 flaw (fine defect) inspection unit 51 change amount calculation unit 53 change amount addition unit 55 average calculation unit 57 sector addition unit 7 binarization inspection unit 9 unevenness inspection unit 91 uneven sector addition unit 95 change amount calculation unit 11 image display unit 13 defect comprehensive determination unit 39 A / D converter 41 bit conversion circuit 151 streak defect inspection unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 椿原 章弘 神奈川県川崎市幸区堀川町66番2 東芝エ ンジニアリング株式会社内 (72)発明者 新井 規之 神奈川県川崎市幸区堀川町66番2 東芝エ ンジニアリング株式会社内 (72)発明者 石田 雅春 神奈川県川崎市幸区堀川町66番2 東芝エ ンジニアリング株式会社内 (72)発明者 高橋 雅之 神奈川県川崎市幸区堀川町66番2 東芝エ ンジニアリング株式会社内 (72)発明者 岩崎 洋 神奈川県川崎市幸区堀川町66番2 東芝エ ンジニアリング株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Akihiro Tsubakihara 66-2 Horikawa-cho, Saiwai-ku, Kawasaki-shi, Kanagawa Toshiba Engineering Co., Ltd. (72) Noriyuki Arai 66-2 Horikawa-cho, Kawasaki-shi, Kanagawa Toshiba Engineering Co., Ltd. (72) Inventor Masaharu Ishida 66-2 Horikawa-cho, Sachi-ku, Kawasaki-shi, Kanagawa Prefecture Toshiba Engineering Co., Ltd. (72) Masayuki Takahashi 66-2 Horikawa-cho, Kawasaki-shi, Kanagawa Prefecture In Toshiba Engineering Co., Ltd. (72) Inventor Hiroshi Iwasaki 66-2 Horikawa-cho, Sachi-ku, Kawasaki-shi, Kanagawa Inside Toshiba Engineering Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 被検査物を撮像して得られた画素毎の濃
度情報をデジタル画像データに変換して取り込む画像デ
ータ入力部と、 入力された画像データにおける各画素間の濃度情報の変
化量を水平方向及び垂直方向ついて求める変化量演算手
段と、求められた水平方向及び垂直方向の各変化量を前
記画素毎に加算する変化量加算手段と、加算された変化
量を前記画素毎に平均化する平均化手段と、平均化され
た変化量が基準量より多い場合に微細な欠陥有りと判定
する検出手段と、を有する微細欠陥検査部と、 入力された画像データを所定のしきい値により二値化し
て画像データの良否を判定する二値化検査部と、 入力された画像データを縦横それぞれ所定数の画素行列
からなる格子に切り分け、各格子内の各画素の濃度情報
を加算して各格子毎の濃度加算値を求める濃度加算手段
と、各格子間での濃度加算値の変化量を水平方向及び垂
直方向のそれぞれについて求める変化量演算手段と、求
められた水平方向の変化量と垂直方向の変化量が所定量
より多い場合に、ムラ有りと判定するムラ検出手段と、
を有するムラ検査部と、 前記微細欠陥検査部、二値化検査部及びムラ検査部によ
りそれぞれ検査された被検査物の欠陥を総合判定する欠
陥総合判定部と、 を具備することを特徴とする欠陥検査装置。
1. An image data input section for converting density information of each pixel obtained by picking up an image of an inspection object into digital image data and loading the image data, and an amount of change in density information between pixels in the input image data. Is calculated for the horizontal and vertical directions, a change amount adding means for adding the calculated respective change amounts in the horizontal direction and the vertical direction to each pixel, and the added change amount for each pixel is averaged. A fine defect inspection section having an averaging means for converting the input image data into a predetermined threshold value, and a detecting means for determining that there is a fine defect when the averaged change amount is larger than a reference amount. Binarization inspection section that determines the quality of image data by binarizing with, and divides the input image data into a grid consisting of a predetermined number of pixel matrix in each of the vertical and horizontal directions, and adds the density information of each pixel in each grid. Each grid A density addition means for obtaining the density addition value for each, a change amount calculation means for obtaining the change amount of the density addition value between the respective grids in the horizontal direction and the vertical direction, and the obtained horizontal change amount and the vertical direction. When the variation amount of is larger than a predetermined amount, unevenness detection means for determining that there is unevenness,
And a comprehensive defect determination unit for comprehensively determining defects of the inspected object respectively inspected by the fine defect inspection unit, the binarization inspection unit, and the irregularity inspection unit. Defect inspection equipment.
【請求項2】 請求項1記載の欠陥検査装置において、 前記画像データ入力部から供給される画像データに対し
て被検査物の搬送方向に沿って縦線強調する強調手段
と、強調画像データを所定ライン数毎に加算してその濃
度加算値を求めるとともに、今回加算値として記憶する
濃度加算手段と、今回加算値と前回加算値との差分を演
算する差分演算手段と、演算された差分データに基づい
て、または濃度加算手段からの濃度加算データに基づい
て被検査物の搬送方向におけるスジ状欠陥の有無を判定
するスジ状欠陥検出手段と、を有するスジ状欠陥検査部
を具備し、 前記欠陥判定部は、微細欠陥検査部、二値化検査部、ム
ラ検査部及びスジ状欠陥検査部によりそれぞれ検査され
た被検査物の欠陥を総合判定することを特徴とする欠陥
検査装置。
2. The defect inspection apparatus according to claim 1, further comprising: an emphasis unit for emphasizing vertical lines in the image data supplied from the image data input unit along a conveyance direction of the inspection object, and the emphasized image data. The density addition value is calculated by adding every predetermined number of lines, the density addition means is stored as the current addition value, the difference calculation means for calculating the difference between the current addition value and the previous addition value, and the calculated difference data. Based on, or based on the density addition data from the density addition means, streak defect detection means for determining the presence or absence of streak defects in the conveyance direction of the object to be inspected, and a streak defect inspection unit having, The defect determination unit is a defect inspection apparatus characterized by comprehensively determining defects of the inspected object respectively inspected by the fine defect inspection unit, the binarization inspection unit, the unevenness inspection unit, and the streak defect inspection unit.
【請求項3】 請求項1または2記載の欠陥検査装置に
おいて、 前記画像データ入力部は、入力されたアナログ画像デー
タを10ビットのデジタル画像データに変換するA/D
コンバータと、この10ビットのコンバータ出力を8ビ
ットデータに変換するA/D変換回路とを具備すること
を特徴とする欠陥検査装置。を具備することを特徴とす
る欠陥検査装置。
3. The defect inspection apparatus according to claim 1 or 2, wherein the image data input unit converts the input analog image data into 10-bit digital image data.
A defect inspection apparatus comprising a converter and an A / D conversion circuit for converting the 10-bit converter output into 8-bit data. A defect inspection apparatus comprising:
JP6280970A 1994-11-15 1994-11-15 Inspection equipment of defect Pending JPH08145907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6280970A JPH08145907A (en) 1994-11-15 1994-11-15 Inspection equipment of defect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6280970A JPH08145907A (en) 1994-11-15 1994-11-15 Inspection equipment of defect

Publications (1)

Publication Number Publication Date
JPH08145907A true JPH08145907A (en) 1996-06-07

Family

ID=17632438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6280970A Pending JPH08145907A (en) 1994-11-15 1994-11-15 Inspection equipment of defect

Country Status (1)

Country Link
JP (1) JPH08145907A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080263A1 (en) * 2005-01-28 2006-08-03 Ykk Corporation Article visual inspection device
JP2007256245A (en) * 2006-03-27 2007-10-04 Toppan Printing Co Ltd Appearance inspecting apparatus
JP2012008018A (en) * 2010-06-25 2012-01-12 Daido Steel Co Ltd Surface inspection method
CN103760165A (en) * 2013-12-31 2014-04-30 深圳市华星光电技术有限公司 Defect detecting method and device of display panel
US20170011502A1 (en) * 2015-07-10 2017-01-12 Ricoh Company, Ltd. Defect inspection apparatus for inspecting sheet-like inspection object, computer-implemented method for inspecting sheet-like inspection object, and defect inspection system for inspecting sheet-like inspection object
JP2017021003A (en) * 2015-07-10 2017-01-26 株式会社リコー Defect inspection device, defect inspection method and defect inspection system for sheet-like object to be inspected
JP2018163048A (en) * 2017-03-27 2018-10-18 Jfeスチール株式会社 Surface defect inspection method and surface defect inspection system
CN113654404A (en) * 2020-05-12 2021-11-16 北京理工大学 Laser terminal guidance aircraft information point-to-point transmission system and method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080263A1 (en) * 2005-01-28 2006-08-03 Ykk Corporation Article visual inspection device
US8194967B2 (en) 2005-01-28 2012-06-05 Ykk Corporation Article visual inspection apparatus
JP2007256245A (en) * 2006-03-27 2007-10-04 Toppan Printing Co Ltd Appearance inspecting apparatus
JP2012008018A (en) * 2010-06-25 2012-01-12 Daido Steel Co Ltd Surface inspection method
CN103760165A (en) * 2013-12-31 2014-04-30 深圳市华星光电技术有限公司 Defect detecting method and device of display panel
WO2015100777A1 (en) * 2013-12-31 2015-07-09 深圳市华星光电技术有限公司 Display panel defect detecting method and defect detecting device
US20170011502A1 (en) * 2015-07-10 2017-01-12 Ricoh Company, Ltd. Defect inspection apparatus for inspecting sheet-like inspection object, computer-implemented method for inspecting sheet-like inspection object, and defect inspection system for inspecting sheet-like inspection object
JP2017021003A (en) * 2015-07-10 2017-01-26 株式会社リコー Defect inspection device, defect inspection method and defect inspection system for sheet-like object to be inspected
US10109045B2 (en) 2015-07-10 2018-10-23 Ricoh Company, Ltd. Defect inspection apparatus for inspecting sheet-like inspection object, computer-implemented method for inspecting sheet-like inspection object, and defect inspection system for inspecting sheet-like inspection object
JP2018163048A (en) * 2017-03-27 2018-10-18 Jfeスチール株式会社 Surface defect inspection method and surface defect inspection system
CN113654404A (en) * 2020-05-12 2021-11-16 北京理工大学 Laser terminal guidance aircraft information point-to-point transmission system and method
CN113654404B (en) * 2020-05-12 2022-12-02 北京理工大学 Laser terminal guidance aircraft information point-to-point transmission system and method

Similar Documents

Publication Publication Date Title
US6023334A (en) Method and apparatus for detecting minute irregularities on the surface of an object
US5917957A (en) Method of and apparatus for processing an image
KR930000543B1 (en) Process and device for detecting and evaluating surface cracks in workpieces
JP2001264257A (en) Image defect detecting device and method, and storage medium storing procedure for image defect detecting method
KR100250631B1 (en) Image processing method
JPH08145907A (en) Inspection equipment of defect
US5881164A (en) Image data processing method and image data processing apparatus
JP4244046B2 (en) Image processing method and image processing apparatus
JP4318776B2 (en) Nonuniformity inspection method and apparatus
EP0816825A2 (en) Method and apparatus for inspecting streak
US6335982B1 (en) Method and apparatus for inspecting streak
JP2001028059A (en) Method and device for color unevenness inspection
JP3127598B2 (en) Method for extracting density-varying constituent pixels in image and method for determining density-fluctuation block
JPH08145904A (en) Inspection equipment of bright defect/dark defect
JP3015325B2 (en) Streak inspection method and device
JP2004053477A (en) Color irregularity inspecting method and apparatus
KR100765294B1 (en) Method for detecting muras in lcd panel
JP2638121B2 (en) Surface defect inspection equipment
JPH0682390A (en) Method and apparatus for inspecting surface defect
JPH0735699A (en) Method and apparatus for detecting surface defect
JP4121628B2 (en) Screen inspection method and apparatus
JP2001092966A (en) Method and device for processing image
JPH10123064A (en) Visual inspection
JPH05340888A (en) Defect detecting method
JPH0569536A (en) Defect detecting method and defect detecting circuit in inspection device for printed matter

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030107