JPH05180781A - Method and apparatus for surface defect inspection - Google Patents

Method and apparatus for surface defect inspection

Info

Publication number
JPH05180781A
JPH05180781A JP3359050A JP35905091A JPH05180781A JP H05180781 A JPH05180781 A JP H05180781A JP 3359050 A JP3359050 A JP 3359050A JP 35905091 A JP35905091 A JP 35905091A JP H05180781 A JPH05180781 A JP H05180781A
Authority
JP
Japan
Prior art keywords
image signal
surface defect
defect
inspected
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3359050A
Other languages
Japanese (ja)
Inventor
Tsutomu Nakamura
力 中村
Masakazu Yokoo
雅一 横尾
Susumu Moriya
進 守屋
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP3359050A priority Critical patent/JPH05180781A/en
Publication of JPH05180781A publication Critical patent/JPH05180781A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To achieve highly accurate detection of the defects even when there is a trend in the intensity of an image signal about any of an unevenly colored defect, a defect due to a fine change in the surface roughness and a dot-like or linear fine defect. CONSTITUTION:Light irradiates the surface of a steel plate 26 from a light source 10 and the surface of the steel plate 26 is photographed with a TV camera 12 to transmit an image signal. The image signal is converted into digital with an A/D converter and the image signal converted is stored in a memory 20 while undergoing a specified image processing with an image processing section 18. The processing section 18 smoothes the image signal and an offset value is added evenly to the smoothed image signal to determine a threshold. A difference is determined between the original image signal and the threshold and a positive value of the difference is binary coded. The presence of a surface defect is judged from an area factor alpha of a dark part 32A of the binary coded signal. The results of the judgment are printed out from an outputting section 24 or shown on a monitor.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、表面欠陥検査方法及び
装置に係り、特に、例えば冷間圧延鋼板の表面欠陥の検
査に用いるのに好適な、被検査物の表面を撮像して得ら
れた画像信号から、被検査物の表面欠陥を検出する表面
欠陥検査方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a surface defect inspection method and apparatus, and in particular, it is obtained by imaging the surface of an object to be inspected, which is suitable for use in, for example, inspection of surface defects of cold rolled steel sheet. The present invention relates to a surface defect inspection method and apparatus for detecting a surface defect of an object to be inspected from the image signal.

【0002】[0002]

【従来の技術】一般に、冷間圧延鋼板の表面欠陥の検査
においては、例えば特開昭62−75234に示される
ように、スポット状のレーザ光を冷間圧延鋼板の表面に
照射し、当該表面の凹凸によって生じるレーザ光の散乱
や回析現象を利用したレーザ散乱法やレーザ回折法によ
る検査が行われている。
2. Description of the Related Art Generally, in the inspection of surface defects of a cold-rolled steel sheet, a spot-shaped laser beam is irradiated on the surface of the cold-rolled steel sheet, as shown in, for example, JP-A-62-75234. Inspection using a laser scattering method or a laser diffraction method that utilizes the scattering and diffraction phenomenon of laser light caused by the unevenness of

【0003】又、前記鋼板表面をテレビカメラで撮像し
て、それにより得られた画像信号から当該表面の欠陥を
検査することが行われている。このような表面欠陥検査
では、例えば、特開昭56−77704に示されるよう
に、一般に閾値による2値化法が用いれており、2値化
により得られた画像信号が設定値以上の、あるいは、設
定値以下の輝度の場合、表面欠陥が存在すると判定して
いる。
It is also practiced to take a picture of the surface of the steel sheet with a television camera and inspect the image signal obtained thereby for defects on the surface. In such a surface defect inspection, for example, as shown in JP-A-56-77704, a binarization method using a threshold value is generally used, and the image signal obtained by the binarization is equal to or more than a set value or If the brightness is less than or equal to the set value, it is determined that there is a surface defect.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記レ
ーザ回折法あるいはレーザ散乱法による検査では、被検
査物(例えば冷間圧延鋼板)表面に存在する色むら状の
欠陥については検出が不可能であり、又、表面粗度の微
小な変化による欠陥については検出が困難である。
However, in the inspection by the laser diffraction method or the laser scattering method, it is impossible to detect the irregular color defect existing on the surface of the inspection object (for example, cold rolled steel sheet). Moreover, it is difficult to detect a defect due to a minute change in surface roughness.

【0005】又、従来、前記のテレビカメラにより鋼板
表面を撮像して画像信号を2値化する検査技術において
は、当該鋼板表面の表面粗度による回折光や散乱光が画
像信号中にランダムな信号を発生させるため、表面粗度
の微小な変化による欠陥、あるいは、点状あるいは線状
の微細な欠陥の検出が困難である。又、照明光の強度む
らや撮影角度により画像信号強度に傾きが生じて、正確
な欠陥検出が困難である等の問題点がある。
Further, conventionally, in the inspection technique in which the surface of a steel plate is imaged by the television camera and the image signal is binarized, diffracted light or scattered light due to the surface roughness of the steel plate surface is randomly distributed in the image signal. Since a signal is generated, it is difficult to detect a defect due to a minute change in surface roughness or a dot-like or linear minute defect. Further, there is a problem that it is difficult to accurately detect a defect because the image signal intensity is tilted due to the unevenness of the intensity of the illumination light and the photographing angle.

【0006】本発明は、前記従来の問題点を解消すべく
なされたもので、色むら状の欠陥、表面粗度の微小な変
化による欠陥、及び、点状あるいは線状の微細な欠陥の
いずれについても精度良く欠陥を検出することができ、
且つ、画像信号強度の傾きが生じた場合にも正確に欠陥
を検出することができる、表面欠陥検査方法及び装置を
提供することを課題とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and includes any of defects of uneven color, defects due to a minute change in surface roughness, and fine defects of dot or line. Can detect defects with high accuracy,
Moreover, it is an object of the present invention to provide a surface defect inspection method and apparatus capable of accurately detecting a defect even when an inclination of image signal intensity occurs.

【0007】[0007]

【課題を解決するための手段】本発明は、被検査物の表
面を撮像して得られた画像信号から被検査物の表面欠陥
を検出する表面欠陥検査方法において、画像信号を平滑
化し、平滑化画像信号に一様にオフセット値を加えて閾
値を求め、求められた閾値により、元の画像信号を2値
化し、2値化画像信号から前記表面欠陥を検出すること
により、前記課題を解決するものである。
SUMMARY OF THE INVENTION The present invention is a surface defect inspection method for detecting a surface defect of an object to be inspected from an image signal obtained by imaging the surface of the object to be inspected. The above problem is solved by uniformly adding an offset value to the binarized image signal to obtain a threshold value, binarizing the original image signal with the obtained threshold value, and detecting the surface defect from the binarized image signal. To do.

【0008】又、本発明は、被検査物の表面欠陥を検出
するための表面欠陥検査装置において、被検査物に光を
照射するための光源と、前記被検査物表面を撮像して画
像信号を伝送するための撮像手段と、伝送画像信号をア
ナログ/デジタル変換するためのアナログ/デジタル変
換器と、アナログ/デジタル変換画像信号を保存するた
めの画像メモリと、画像信号を平滑化するための手段
と、平滑化された画像信号に一様にオフセット値を加え
て閾値を求めるための手段と、元の画像信号と前記閾値
との差を求めて、当該差の正の値を2値化するための手
段と、2値化信号の面積から表面欠陥の有無を判定する
ための表面欠陥判定手段と、判定結果を、プリントアウ
ト、又は、画像表示により出力するための出力手段とを
備えたことにより、同じく前記課題を解決するものであ
る。
Further, according to the present invention, in a surface defect inspection apparatus for detecting a surface defect of an object to be inspected, a light source for irradiating the object to be inspected with light and an image signal of the surface of the object to be inspected are picked up. For transmitting the image signal, an analog / digital converter for analog / digital converting the transmitted image signal, an image memory for storing the analog / digital converted image signal, and an image signal for smoothing the image signal. Means, means for uniformly adding an offset value to the smoothed image signal to obtain a threshold value, obtaining a difference between the original image signal and the threshold value, and binarizing the positive value of the difference. Means, a surface defect determining means for determining the presence or absence of a surface defect from the area of the binarized signal, and an output means for outputting the determination result by printing out or displaying an image. By It solves the shaft above problems.

【0009】又、本発明において、光源を、棒状とし、
且つ、連続光を照射するものとすることができる。
In the present invention, the light source is rod-shaped,
In addition, continuous light may be emitted.

【0010】又、本発明において、光源を、棒状とし、
且つ、高速に繰り返して光を照射するものとすることが
できる。
In the present invention, the light source is rod-shaped,
In addition, the light can be repeatedly irradiated at high speed.

【0011】[0011]

【作用】発明者は、被検査物の表面欠陥検査において、
レーザ回折法あるいはレーザ散乱法を用いた被検査物の
表面欠陥検査技術においては、色むら状の欠陥の検出が
不可能であることに鑑み、テレビカメラ等の撮像手段に
より表面欠陥を検査する技術を採用することとした。
The inventor has
In the surface defect inspection technique of the object to be inspected using the laser diffraction method or the laser scattering method, in view of the fact that it is impossible to detect the irregular color defect, the technique of inspecting the surface defect by the image pickup means such as a television camera. Decided to adopt.

【0012】従来のこのような撮像手段を用いて画像信
号を2値化する欠陥検査技術においては、被検査物、例
えば鋼板の表面粗度による回折光あるいは散乱光により
画像信号にランダムな信号(ノイズとなる)が発生する
ため、表面粗度の微小な変化による欠陥、及び、点状あ
るいは線状の微細な欠陥の検出が困難である。又、照明
光の強度むらや撮影角度による画像信号強度の傾きが生
じた場合正確な欠陥検出が困難であった。
In the conventional defect inspection technique for binarizing an image signal by using such an image pickup means, a random signal () is generated in the image signal by the diffracted light or scattered light due to the surface roughness of the inspection object, for example, a steel plate. (Becomes noise) occurs, and it is difficult to detect defects due to minute changes in surface roughness and minute defects such as point-like or linear defects. In addition, it is difficult to accurately detect a defect when the intensity of the illumination light is uneven or the image signal intensity is inclined depending on the photographing angle.

【0013】そこで、前記の回折光あるいは散乱光によ
る画像信号中のノイズ部分を除去すると共に、照明光の
強度むらあるいは撮影角度による画像信号強度の傾きを
補正するべく、種々の考察を行って本発明は創案したも
のである。
Therefore, in order to remove the noise part in the image signal due to the diffracted light or scattered light and to correct the unevenness of the intensity of the illumination light or the inclination of the image signal intensity depending on the photographing angle, various examinations are made. The invention was invented.

【0014】即ち、本発明においては、被検査物の表面
を撮像して得られた画像信号を平滑化し、平滑化画像信
号に一様にオフセット値を加えて閾値を求め、求められ
た閾値によって元の画像信号を2値化する。
That is, in the present invention, the image signal obtained by imaging the surface of the object to be inspected is smoothed, an offset value is uniformly added to the smoothed image signal to obtain a threshold value, and the obtained threshold value is used. The original image signal is binarized.

【0015】平滑化処理により、表面粗度が原因してラ
ンダムに発生する信号の影響が減少される。又、前記の
ように一様なオフセット値を加えて閾値を求めて2値化
するため、照明光の強度むら等による画像信号強度の傾
きが補正されて、欠陥部分のみが2値化されることにな
る。
The smoothing process reduces the influence of randomly generated signals due to surface roughness. Further, as described above, the threshold value is calculated by adding the uniform offset value and binarized, so that the inclination of the image signal intensity due to the intensity unevenness of the illumination light or the like is corrected and only the defective portion is binarized. It will be.

【0016】この2値化された画像信号から被検査物表
面欠陥を検出する。例えば、2値化画像信号の面積から
表面欠陥の有無を判定することができる。
A surface defect of the object to be inspected is detected from the binarized image signal. For example, the presence or absence of surface defects can be determined from the area of the binarized image signal.

【0017】従って、色むら状の欠陥、表面粗度の微小
な変化による欠陥、点状あるいは線状の微細な欠陥のい
ずれについても精度良く欠陥を検出することができ、且
つ、画像信号強度の傾きが生じた場合にも正確に欠陥を
検出することができる。
Therefore, it is possible to accurately detect any of the irregular color defect, the defect due to the minute change of the surface roughness, the fine dot defect or the linear defect, and the image signal intensity. The defect can be accurately detected even when the inclination occurs.

【0018】なお、判別結果をプリンタにより紙面上に
印刷したり、表示手段(モニタ)上の画面に表示したり
して、検査者が知覚し得るように出力することができ
る。
The determination result can be printed on a sheet of paper by a printer or displayed on a screen of a display means (monitor) so that the inspector can perceive it.

【0019】又、被検査物に光を照射させる光源を棒状
とし、且つ、連続光を照射するものとすれば、任意のタ
イミングで画像信号から表面欠陥を検出することができ
る。
If the light source for irradiating the object to be inspected with light is rod-shaped and irradiates continuous light, the surface defect can be detected from the image signal at an arbitrary timing.

【0020】又、光源を棒状とし、且つ、高速に繰り返
して光を照射するものとすれば、比較的強い光を被検査
物に照射して、明暗のはっきりした画像信号を得ること
ができ、表面欠陥検出の精度を上げることができる。
If the light source is rod-shaped and is irradiated with light repeatedly at high speed, it is possible to irradiate the object to be inspected with relatively strong light and obtain a clear image signal of light and darkness. The accuracy of surface defect detection can be improved.

【0021】[0021]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0022】この実施例は、図1に示されるような構成
の、表面欠陥検査装置である。
This embodiment is a surface defect inspection apparatus having a structure as shown in FIG.

【0023】図1に示されるように、この表面欠陥検査
装置は、主に、光源10、テレビカメラ12、アナログ
/デジタル(A/D)変換器14、画像入力部16、画
像処理部18、メモリ20、欠陥判定部22、及び、出
力部24を備える。
As shown in FIG. 1, this surface defect inspection apparatus mainly comprises a light source 10, a television camera 12, an analog / digital (A / D) converter 14, an image input section 16, an image processing section 18, The memory 20, the defect determination unit 22, and the output unit 24 are provided.

【0024】前記光源10は、被検査物である鋼板26
に帯状の光28を照射するための棒状光源である。この
光源10には、連続光を照射するもの、あるいは高速に
繰り返して光を照射する光源を用いることができる。な
お、図1の鋼板26上の符号30は、表面疵(欠陥)で
ある。
The light source 10 is a steel plate 26 which is an object to be inspected.
It is a rod-shaped light source for irradiating the strip-shaped light 28 on the inside. As the light source 10, a light source that emits continuous light or a light source that repeatedly emits light at high speed can be used. The reference numeral 30 on the steel plate 26 in FIG. 1 is a surface flaw (defect).

【0025】前記テレビカメラ12は、照射光28の照
射された鋼板26表面を撮像するものである。このテレ
ビカメラ12には、例えばCCD(電荷結合素子)を撮
像素子として用いた工業用テレビカメラを用いることが
できる。
The television camera 12 captures an image of the surface of the steel plate 26 irradiated with the irradiation light 28. As the television camera 12, for example, an industrial television camera using a CCD (charge coupled device) as an image pickup device can be used.

【0026】前記A/D変換器14は、前記テレビカメ
ラ12で出力されたアナログの画像信号をデジタルの画
像信号にA/D変換するものである。
The A / D converter 14 A / D converts the analog image signal output from the television camera 12 into a digital image signal.

【0027】前記画像入力部16は、A/D変換された
画像信号を画像処理部18やメモリ20に伝送するもの
である。
The image input section 16 transmits the A / D converted image signal to the image processing section 18 and the memory 20.

【0028】画像処理部18は、画像信号を平滑化し、
平滑化画像信号に一様にオフセット値を加えて閾値を求
め、元画像信号と前記閾値との差を求めて、当該差の正
の値を2値化処理することにより、元の画像に対して2
値化処理を施すものである。
The image processing section 18 smoothes the image signal,
An offset value is uniformly added to the smoothed image signal to obtain a threshold value, a difference between the original image signal and the threshold value is obtained, and a positive value of the difference is binarized to obtain an original image. 2
It is a process of performing a digitization process.

【0029】前記メモリ20は、前記画像入力部16か
ら入力された元の画像信号を記憶すると共に、画像処理
部18で画像処理された画像信号を記憶するためのもの
である。
The memory 20 stores the original image signal input from the image input section 16 and the image signal processed by the image processing section 18.

【0030】前記欠陥判定部22は、前記画像処理され
た画像信号から、鋼板26表面上の欠陥の有無を判定す
るためのものである。この判定部22で行う欠陥判定の
詳細は後述する。
The defect determining section 22 is for determining the presence or absence of a defect on the surface of the steel plate 26 from the image signal subjected to the image processing. Details of the defect determination performed by the determination unit 22 will be described later.

【0031】前記出力部24は、欠陥判定の結果をプリ
ンタにより紙面上に印刷したり、モニタの画面上に表示
したりするものである。
The output unit 24 prints the result of the defect determination on the paper surface by the printer or displays it on the screen of the monitor.

【0032】ここで、前記画像処理部18において行う
平滑化処理の手法の例を説明する。即ち、図2に示すよ
うに、画像信号上の2n 画素×2n 画素(n =0〜9)
の領域(テンプレートとも称される)の各画素の値(濃
度値等)を平滑化し、その平滑化により得られた値を当
該領域の最も左上の点(画素)に入れる。この領域は、
図2中矢印Aで示す走査方向に順次移動し、1つの走査
ラインが終了したら、次の走査ラインに移動して、ライ
ン毎矢印Bで示す下方へ移る。
Here, an example of the smoothing method performed in the image processing section 18 will be described. That is, as shown in FIG. 2, 2 n pixels × 2 n pixels on the image signal (n = 0 to 9)
The value (density value or the like) of each pixel in the area (also referred to as a template) is smoothed, and the value obtained by the smoothing is put in the leftmost point (pixel) in the area. This area is
In the scanning direction indicated by arrow A in FIG. 2, when one scanning line is completed, the scanning line is moved to the next scanning line and the line is moved downward as indicated by arrow B.

【0033】図2においては、n =2の4画素×4画素
の領域(画素a 〜p )を示しており、この領域で、次式
(1)で示されるように平滑化された値Uを画素a に入
れる。
FIG. 2 shows an area (pixels a to p) of 4 pixels × 4 pixels where n = 2, and in this area, the value U smoothed as shown by the following equation (1) is used. Into pixel a.

【0034】[0034]

【数1】 [Equation 1]

【0035】但し、fix は固定小数点(整数)にする意
味である。又、値Uは8ビットデータの場合、0〜25
5の範囲の整数値となる。
However, fix means a fixed point (integer). If the value U is 8-bit data, 0 to 25
It is an integer value in the range of 5.

【0036】通常、前記n の値はn =4〜5である。Usually, the value of n is n = 4-5.

【0037】又、前記オフセット値の決め方は、次のよ
うに行う。
The offset value is determined as follows.

【0038】オフセット値は元の画像信号のノイズ成分
より大きく、且つ、欠陥部の信号強度よりも小さい値と
なるようにする。このオフセット値(画像信号が8ビッ
トデータの場合、0〜255の範囲内の値)は、ソフト
的(自動的)に設定されるのではなく、固定値のオフセ
ット値を加えることができる。オフセット値の設定は照
明条件によって任意に変えることができる。オフセット
値は、30〜40程度を設定できる。
The offset value is set to a value larger than the noise component of the original image signal and smaller than the signal strength of the defective portion. This offset value (a value within the range of 0 to 255 when the image signal is 8-bit data) is not set softly (automatically), but a fixed offset value can be added. The setting of the offset value can be arbitrarily changed depending on the lighting conditions. The offset value can be set to about 30-40.

【0039】前記画像処理部18には、平滑化処理回路
と、オフセット値を与える機能の回路とが設けられてお
らず、マイクロコードにより専用プロセッサを駆動する
ことにより平滑化処理とオフセット値の付与を行ってい
る。
The image processing section 18 is not provided with a smoothing processing circuit and a circuit having a function of giving an offset value, and a smoothing process and an offset value are given by driving a dedicated processor by microcode. It is carried out.

【0040】前記欠陥判定部22における欠陥の有無の
判定は、次のように行う。
The presence / absence of a defect in the defect determining section 22 is determined as follows.

【0041】即ち、前記画像処理部18から出力される
2値化後の画像信号(画面)が図3に示すようになって
いるとする。図3には、横512画素、縦432画素の
画面を有する画像信号を示す。又、図3中符号30Aは
鋼板26表面上の暗部(背景が明である場合。背景が暗
であれば明部)とする。
That is, assume that the binarized image signal (screen) output from the image processing section 18 is as shown in FIG. FIG. 3 shows an image signal having a screen of 512 pixels horizontally and 432 pixels vertically. Reference numeral 30A in FIG. 3 is a dark portion on the surface of the steel plate 26 (when the background is bright. When the background is dark, the bright portion).

【0042】欠陥判定部22においては、この暗部30
Aの画素数Aから、画像信号の画面に対する暗部30A
の面積率を求め、この面積率が所定値以上であれば、そ
の暗部30Aは表面疵による欠陥と判定する。即ち、前
記画面の画素数が512×432であり、前記暗部30
Aの画素数がAであるから、面積率α(%)は次式
(2)で算出される。
In the defect judging section 22, the dark section 30
From the number of pixels A of A, the dark portion 30A for the screen of the image signal
If the area ratio is determined to be equal to or larger than a predetermined value, the dark portion 30A is determined to be a defect due to a surface flaw. That is, the number of pixels of the screen is 512 × 432, and the dark portion 30
Since the number of pixels of A is A, the area ratio α (%) is calculated by the following equation (2).

【0043】[0043]

【数2】 [Equation 2]

【0044】この場合、例えば面積率αが5%以上であ
れば、表面疵による欠陥と判定する。
In this case, for example, if the area ratio α is 5% or more, it is determined that the defect is due to a surface flaw.

【0045】次に、実施例の作用を説明する。Next, the operation of the embodiment will be described.

【0046】実施例の表面欠陥検査装置は、図4に示す
手順により鋼板26表面上の欠陥(表面疵)を検出す
る。
The surface defect inspection apparatus of the embodiment detects defects (surface defects) on the surface of the steel plate 26 by the procedure shown in FIG.

【0047】まず、光源10から光が照射された状態の
鋼板26をテレビカメラ12で撮像して画像信号を得る
(ステップ101)。
First, the television camera 12 captures an image of the steel plate 26 in the state where the light source 10 emits light (step 101).

【0048】前記テレビカメラ12から出力された画像
信号はアナログ信号のため、A/D変換器14でデジタ
ル信号に変換する(ステップ102)。
Since the image signal output from the television camera 12 is an analog signal, it is converted into a digital signal by the A / D converter 14 (step 102).

【0049】次いで、デジタル変換された画像信号(元
の画像信号)をメモリ20に記憶する。このように、記
憶された元画像信号の例を図5に示す。記憶された画像
信号上に表面欠陥による暗部32があるとする。この場
合において、図5中の走査線EFに沿って得た画像信号
の輝度データは、図6に示すようになる。
Then, the digitally converted image signal (original image signal) is stored in the memory 20. An example of the original image signal thus stored is shown in FIG. It is assumed that there is a dark portion 32 due to a surface defect on the stored image signal. In this case, the luminance data of the image signal obtained along the scanning line EF in FIG. 5 is as shown in FIG.

【0050】次いで、画像処理部18において、元画像
信号を前記図2や(1)式により平滑化処理する(ステ
ップ104)。前記図5及び図6に示した画像信号を平
滑化処理した場合、走査線EF上の輝度信号は、図7に
示すようになり、図6に比較してなまった状態で滑らか
なものとなる。
Next, in the image processing section 18, the original image signal is smoothed by the above-mentioned FIG. 2 and the equation (1) (step 104). When the image signals shown in FIGS. 5 and 6 are smoothed, the luminance signal on the scanning line EF becomes as shown in FIG. 7, which is smoother in a blunted state than in FIG. ..

【0051】次いで、平滑化画像信号に一様にオフセッ
ト値を加えて閾値を求める(ステップ105)。前記図
7の平滑化画像信号にオフセット値を加えて求めた閾値
は、例えば図8に示すようになる。
Next, an offset value is uniformly added to the smoothed image signal to obtain a threshold value (step 105). The threshold value obtained by adding the offset value to the smoothed image signal of FIG. 7 is as shown in FIG. 8, for example.

【0052】次いで、元画像信号と前記閾値との差を求
める(ステップ106)。
Next, the difference between the original image signal and the threshold value is obtained (step 106).

【0053】次いで、前記求められた差の正の値を2値
化する(ステップ107)。前記図6の元画像信号と前
記図8の閾値との差の正の値を2値化処理した結果は、
図9に示すようになる。又、画面上に示せば、図10に
示すようになる。
Then, the positive value of the obtained difference is binarized (step 107). The result of binarizing the positive value of the difference between the original image signal of FIG. 6 and the threshold value of FIG.
As shown in FIG. Further, when it is shown on the screen, it becomes as shown in FIG.

【0054】次いで、前記2値化信号により抽出された
暗部32Aの面積率αを前出(2)式で計算する(ステ
ップ108)。
Next, the area ratio α of the dark portion 32A extracted by the binarized signal is calculated by the above equation (2) (step 108).

【0055】次いで、面積率αが所定値(例えば5%)
以上か否かで、当該撮像された鋼板26に欠陥が生じて
いるか否かを判定する(ステップ109)。
Next, the area ratio α is a predetermined value (for example, 5%).
Based on the above, it is determined whether or not there is a defect in the imaged steel plate 26 (step 109).

【0056】面積率αが前記所定値以上であるならば、
当該鋼板26には欠陥が生じており(NG)、一方、面
積率αが所定値未満であるならば、当該鋼板には欠陥が
生じていない(OK)と判定する。
If the area ratio α is equal to or more than the predetermined value,
If the area ratio α is less than the predetermined value, it is determined that the steel sheet 26 has no defects (OK).

【0057】出力部24は判定結果をプリンタによりプ
リントアウトしたり、モニタ画面上に表示したりする。
これにより、検査者は、鋼板26に欠陥が生じているか
否かを知る。
The output unit 24 prints out the determination result by the printer or displays it on the monitor screen.
Thereby, the inspector knows whether the steel plate 26 has a defect.

【0058】なお、前記実施例においては、被検査物と
して鋼板を例示したが、本発明で欠陥の検査が可能な被
検査物は鋼板に限定されるものではなく、他の種々の材
質の被検査物の欠陥検出に本発明を用いることができ
る。
In the above-mentioned embodiment, the steel sheet is exemplified as the object to be inspected, but the object to be inspected for defects in the present invention is not limited to the steel sheet, and the objects to be inspected of various other materials are not limited thereto. The present invention can be used to detect defects in an inspection object.

【0059】[0059]

【発明の効果】以上説明した通り、本発明によれば、色
むら状の欠陥、表面粗度の微小な変化による欠陥、点状
あるいは線状の微細な欠陥のいずれについても、精度良
く欠陥を検出することができ、及び、画像信号強度に傾
きが生じた場合にも正確に欠陥を検出することができる
という優れた効果が得られる。
As described above, according to the present invention, it is possible to accurately detect defects such as irregular color defects, defects due to minute changes in surface roughness, and dot-like or linear minute defects. An excellent effect that the defect can be detected and the defect can be accurately detected even when the image signal intensity is tilted is obtained.

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

【図1】図1は、本発明の実施例に係る表面欠陥検査装
置の全体構成を示す、一部斜視図を含むブロック図であ
る。
FIG. 1 is a block diagram showing an entire configuration of a surface defect inspection apparatus according to an embodiment of the present invention, including a partial perspective view.

【図2】図2は、前記実施例装置における画像処理装置
の平滑化処理を説明するための平面図である。
FIG. 2 is a plan view for explaining a smoothing process of the image processing apparatus in the apparatus of the embodiment.

【図3】図3は、前記画像処理装置の欠陥判定処理を説
明するための平面図である。
FIG. 3 is a plan view for explaining a defect determination process of the image processing apparatus.

【図4】図4は、前記実施例装置の作用を説明するため
の欠陥検査手順を示す流れ図である。
FIG. 4 is a flow chart showing a defect inspection procedure for explaining the operation of the apparatus of the embodiment.

【図5】図5は、同じく、元画像信号の例を示す平面図
である。
FIG. 5 is likewise a plan view showing an example of an original image signal.

【図6】図6は、同じく、元画像信号中の走査線上にお
ける輝度信号分布の例を示す線図である。
FIG. 6 is a diagram similarly showing an example of a luminance signal distribution on a scanning line in an original image signal.

【図7】図7は、同じく、前記画像信号が平滑化された
後の輝度信号分布を示す線図である。
FIG. 7 is a diagram similarly showing a luminance signal distribution after the image signal is smoothed.

【図8】図8は、同じく、前記平滑化画像信号にオフセ
ット値を加えて求められた閾値の例を示す線図である。
FIG. 8 is a diagram similarly showing an example of a threshold value obtained by adding an offset value to the smoothed image signal.

【図9】図9は、同じく、前記求められた閾値により元
画像信号との差をとり、その正の値を2値化処理した2
値化データの例を示す線図である。
FIG. 9 is a graph in which, similarly, the difference between the obtained image and the original image signal is obtained by the threshold value, and the positive value is binarized.
It is a diagram which shows the example of value-ized data.

【図10】図10は、同じく、2値化処理された画像信
号画面の例を示す平面図である。
FIG. 10 is a plan view showing an example of a binarized image signal screen.

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

10…光源、 12…テレビカメラ、 14…アナログ/デジタル(A/D)変換器、 16…画像入力部、 18…画像処理部、 20…メモリ、 22…欠陥判定部、 24…出力部、 26…鋼板(被検査物)、 28…照射光、 30…表面疵(欠陥)、 30A、32、32A…暗部。 10 ... Light source, 12 ... Television camera, 14 ... Analog / digital (A / D) converter, 16 ... Image input section, 18 ... Image processing section, 20 ... Memory, 22 ... Defect determination section, 24 ... Output section, 26 ... Steel plate (inspection object), 28 ... Irradiation light, 30 ... Surface flaw (defect), 30A, 32, 32A ... Dark part.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/68 320 Z 8420−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI Technical display location G06F 15/68 320 Z 8420-5L

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】被検査物の表面を撮像して得られた画像信
号から被検査物の表面欠陥を検出する表面欠陥検査方法
において、 画像信号を平滑化し、 平滑化画像信号に一様にオフセット値を加えて閾値を求
め、 求められた閾値により、元の画像信号を2値化し、 2値化画像信号から前記表面欠陥を検出することを特徴
とする表面欠陥検査方法。
1. A surface defect inspection method for detecting a surface defect of an object to be inspected from an image signal obtained by imaging the surface of the object to be inspected, wherein the image signal is smoothed and uniformly offset to the smoothed image signal. A surface defect inspection method comprising adding a value to obtain a threshold value, binarizing an original image signal by the obtained threshold value, and detecting the surface defect from the binarized image signal.
【請求項2】被検査物の表面欠陥を検出するための表面
欠陥検査装置において、 被検査物に光を照射するための光源と、 前記被検査物表面を撮像して画像信号を伝送するための
撮像手段と、 伝送画像信号をアナログ/デジタル変換するためのアナ
ログ/デジタル変換器と、 アナログ/デジタル変換画像信号を保存するための画像
メモリと、 画像信号を平滑化するための手段と、 平滑化された画像信号に一様にオフセット値を加えて閾
値を求めるための手段と、 元の画像信号と前記閾値との差を求めて、当該差の正の
値を2値化するための手段と、 2値化信号の面積から表面欠陥の有無を判定するための
表面欠陥判定手段と、 判定結果を、プリントアウト、又は、画像表示により出
力するための出力手段と、 を備えたことを特徴とする表面欠陥検査装置。
2. A surface defect inspection apparatus for detecting a surface defect of an object to be inspected, for illuminating the object to be inspected with light, and for imaging the surface of the object to be inspected and transmitting an image signal. Image pickup means, analog / digital converter for analog / digital conversion of transmitted image signal, image memory for storing analog / digital converted image signal, means for smoothing image signal, smoothing Means for uniformly adding an offset value to the converted image signal to obtain a threshold value, and means for obtaining a difference between the original image signal and the threshold value and binarizing the positive value of the difference. And a surface defect determination means for determining the presence or absence of a surface defect from the area of the binarized signal, and an output means for outputting the determination result by printing out or displaying an image. Table Surface defect inspection device.
【請求項3】請求項2において、 光源が、棒状であり、且つ、連続光を照射するものであ
ることを特徴とする表面欠陥検査装置。
3. The surface defect inspection apparatus according to claim 2, wherein the light source is rod-shaped and emits continuous light.
【請求項4】請求項2において、 光源が、棒状であり、且つ、高速に繰り返して光を照射
するものであることを特徴とする表面欠陥検査装置。
4. The surface defect inspection apparatus according to claim 2, wherein the light source is rod-shaped and is repeatedly irradiated with light at high speed.
JP3359050A 1991-12-27 1991-12-27 Method and apparatus for surface defect inspection Pending JPH05180781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3359050A JPH05180781A (en) 1991-12-27 1991-12-27 Method and apparatus for surface defect inspection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3359050A JPH05180781A (en) 1991-12-27 1991-12-27 Method and apparatus for surface defect inspection

Publications (1)

Publication Number Publication Date
JPH05180781A true JPH05180781A (en) 1993-07-23

Family

ID=18462481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3359050A Pending JPH05180781A (en) 1991-12-27 1991-12-27 Method and apparatus for surface defect inspection

Country Status (1)

Country Link
JP (1) JPH05180781A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005309914A (en) * 2004-04-23 2005-11-04 Omron Corp Method for processing color image and image processor
US6995802B2 (en) 2000-09-28 2006-02-07 Keiichi Sugimoto Image binarization method and binary image creation method
JP2008025990A (en) * 2006-07-18 2008-02-07 Nisshin Steel Co Ltd Method and apparatus for detecting surface flaw of steel strip
JP2010182330A (en) * 2010-04-05 2010-08-19 Omron Corp Method for processing color image and image processor
JP2010186485A (en) * 2010-04-05 2010-08-26 Omron Corp Method of processing color image and image processing apparatus
JP2010218560A (en) * 2010-04-05 2010-09-30 Omron Corp Method for processing color image and image processing apparatus
JP2017116378A (en) * 2015-12-24 2017-06-29 株式会社ホニック Corrugation molding inspection method
CN109324060A (en) * 2018-10-11 2019-02-12 广东德尔智慧工厂科技有限公司 A kind of lithium electropaining cloth surface defects detection system
WO2023110573A1 (en) * 2021-12-17 2023-06-22 Elkamet Kunststofftechnik Gmbh Device for detecting surface defects on a surface of a test body, and method for operating the device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6995802B2 (en) 2000-09-28 2006-02-07 Keiichi Sugimoto Image binarization method and binary image creation method
JP2005309914A (en) * 2004-04-23 2005-11-04 Omron Corp Method for processing color image and image processor
JP4513394B2 (en) * 2004-04-23 2010-07-28 オムロン株式会社 Color image processing method and image processing apparatus
JP2008025990A (en) * 2006-07-18 2008-02-07 Nisshin Steel Co Ltd Method and apparatus for detecting surface flaw of steel strip
JP2010182330A (en) * 2010-04-05 2010-08-19 Omron Corp Method for processing color image and image processor
JP2010186485A (en) * 2010-04-05 2010-08-26 Omron Corp Method of processing color image and image processing apparatus
JP2010218560A (en) * 2010-04-05 2010-09-30 Omron Corp Method for processing color image and image processing apparatus
JP4670995B2 (en) * 2010-04-05 2011-04-13 オムロン株式会社 Color image processing method and image processing apparatus
JP4670993B2 (en) * 2010-04-05 2011-04-13 オムロン株式会社 Color image processing method and image processing apparatus
JP2017116378A (en) * 2015-12-24 2017-06-29 株式会社ホニック Corrugation molding inspection method
CN109324060A (en) * 2018-10-11 2019-02-12 广东德尔智慧工厂科技有限公司 A kind of lithium electropaining cloth surface defects detection system
WO2023110573A1 (en) * 2021-12-17 2023-06-22 Elkamet Kunststofftechnik Gmbh Device for detecting surface defects on a surface of a test body, and method for operating the device

Similar Documents

Publication Publication Date Title
KR930000543B1 (en) Process and device for detecting and evaluating surface cracks in workpieces
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
JPH05180781A (en) Method and apparatus for surface defect inspection
JP2000266701A (en) Fluorescent x-ray analyzer
JP3688520B2 (en) Surface inspection apparatus and surface inspection method
JP3302863B2 (en) Inspection method and inspection device for perforated plate
JPH09113465A (en) Detection apparatus for surface fault for galvanized steel plate
JPH038504B2 (en)
JPH05215694A (en) Method and apparatus for inspecting defect of circuit pattern
JPH0682390A (en) Method and apparatus for inspecting surface defect
JPH05164703A (en) Inspecting method for surface of workpiece
JP3992884B2 (en) Defect inspection equipment
JPH0731131B2 (en) Method for spotting periodic pattern
JP2638121B2 (en) Surface defect inspection equipment
JP4084257B2 (en) Printed circuit board inspection equipment
JP2693825B2 (en) Recording quality evaluation method
JP2889931B2 (en) Metal material inspection method and metal material inspection device
JPH05135156A (en) Image processor
JPH02190707A (en) Method and device for inspecting surface defect
JPH0735703A (en) Image processing method
JP3055323B2 (en) Circular container inner surface inspection device
JP2000097882A (en) Method and device for x-ray inspection
JPH10148620A (en) Surface state inspection device
JP3435224B2 (en) Inspection equipment for non-metallic inclusions
JPH0894336A (en) Thin-plate inspection device and method