JP2001034762A - Method and device for image processing checking - Google Patents

Method and device for image processing checking

Info

Publication number
JP2001034762A
JP2001034762A JP11211174A JP21117499A JP2001034762A JP 2001034762 A JP2001034762 A JP 2001034762A JP 11211174 A JP11211174 A JP 11211174A JP 21117499 A JP21117499 A JP 21117499A JP 2001034762 A JP2001034762 A JP 2001034762A
Authority
JP
Japan
Prior art keywords
image data
pixel
image
defect
density
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
JP11211174A
Other languages
Japanese (ja)
Inventor
Kazutomo Itou
一朋 伊藤
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.)
Nok Corp
Original Assignee
Nok 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 Nok Corp filed Critical Nok Corp
Priority to JP11211174A priority Critical patent/JP2001034762A/en
Publication of JP2001034762A publication Critical patent/JP2001034762A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing checking method and an image processing checking device which can extract an accurate edge element even though much pepper and salt noise caused by surface characteristic is included in an image and also an object to be checked has small variable-density difference of a defected image. SOLUTION: This image processing checking device generates a binarized image by a density gradient calculating part 21 calculating the density gradient of each pixel, an average value calculating part 22 calculating the average value of density gradients of each pixel, a standard deviation calculating part 23 calculating the standard deviation of the density gradients of each pixel, a threshold calculating part 24 deciding the threshold T with which an edge where the density of image data changes is discriminated on the basis of the average value and the standard deviation, a binarization processing part 25 which binarizes image data on the basis of the threshold T and extracts an edge element including a defect, and a filtering part 26 which screens the binarized image data with a mesh-shaped filter having a plurality of square lattices in a prescribed size and eliminates noise components included in the edge element.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、たとえば、被検査
体の表面の画像から表面に存在する欠陥を抽出する画像
処理検査方法および画像処理検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing inspection method and an image processing inspection apparatus for extracting a defect present on a surface of an object to be inspected, for example.

【0002】[0002]

【従来の技術】たとえば、Oリング等のシール部材は、
シール部材の本来の機能を発揮させるため、シール面に
傷等の欠陥がないかを製品出荷前に検査する必要があ
る。従来において、Oリングのシール面の検査は、たと
えば、図17に示すような検査装置によって行ってい
た。なお、図17(a)は検査装置の上面図であり、図
17(b)は側面図である。図17において、Oリング
101は、駆動モータ105の回転軸105aに装着さ
れており、Oリング101の検査面101aの側方には
検査面101aを撮像する、たとえば、電荷結合素子を
用いたCCDカメラ102が配置されている。また、C
CDカメラ102の両側には、Oリング101の検査面
101aに向けて照明光を照射する照明装置103が配
置されている。CCDカメラ102の撮像した画像デー
タは画像処理装置106に入力される。
2. Description of the Related Art For example, a sealing member such as an O-ring is
Before the product is shipped, it is necessary to inspect the sealing surface for defects such as scratches in order to exert the original function of the sealing member. Conventionally, the inspection of the seal surface of the O-ring has been performed by an inspection device as shown in FIG. FIG. 17A is a top view of the inspection apparatus, and FIG. 17B is a side view. In FIG. 17, an O-ring 101 is mounted on a rotating shaft 105a of a drive motor 105, and an image of the inspection surface 101a is taken on the side of the inspection surface 101a of the O-ring 101, for example, a CCD using a charge-coupled device. The camera 102 is arranged. Also, C
On both sides of the CD camera 102, illumination devices 103 for irradiating illumination light toward the inspection surface 101a of the O-ring 101 are arranged. Image data captured by the CCD camera 102 is input to the image processing device 106.

【0003】上記構成の検査装置においては、照明装置
103からの照明光が照らされたOリング101の検査
面101aの画像がCCDカメラ102によって撮像さ
れ、この画像が画像処理装置106に入力される。この
画像処理装置106に入力される画像は、単純な濃淡構
造をもつ画像である。画像処理装置106は、たとえ
ば、画像の中から濃度値の異なる対象部分を抜き出し、
対象部分に値1、その他の部分に値0を割り当てた2値
化画像に変換してエッジ要素を求めた後、エッジ要素の
各画素の連結を調べ、連結している画素の集合に対して
各々異なるラベルを割り当て(ラベリング)、各ラベル
の形状や相関距離を解析することでOリング101の検
査面101aに存在する欠陥の最終的な認識を行う。な
お、画素の連結とは、2値画像中の同じ値をもつ二つの
画素a、bに対し、すべてこれらと同じ値をもつ隣接
(4隣接または8隣接)画素の系列が存在するときの二
つの画素a、bの関係をいう。画像処理装置106にお
けるエッジ要素の抜き出しは、しきい値を決定し、この
しきい値を基に画像の中から濃度値の変化するエッジ要
素を抽出する。また、2値化処理されて抽出されたエッ
ジ要素は、これだけでは、幅を持った線図形であった
り、ノイズ等の影響で小線分に分割されることが多く、
このままでは欠陥の形状の認識を行うことが難しい。こ
のため、画像処理装置106では、画像データの2値化
処理によってエッジ要素を抽出した後で、エッジ要素内
の各画素のうち同じ性質をもつ画素を追跡するエッジ追
跡処理を行い、エッジ要素を結合して滑らかにつながた
軌跡を抽出し欠陥を特定する。
In the inspection apparatus having the above configuration, an image of the inspection surface 101a of the O-ring 101 illuminated with illumination light from the illumination device 103 is captured by the CCD camera 102, and the image is input to the image processing device 106. . The image input to the image processing device 106 is an image having a simple gray-scale structure. The image processing device 106 extracts, for example, target portions having different density values from the image,
After converting to a binarized image in which the value 1 is assigned to the target portion and the value 0 is assigned to the other portions to determine the edge element, the connection of each pixel of the edge element is checked. Different labels are assigned (labeling), and the shape and correlation distance of each label are analyzed to finally recognize the defect existing on the inspection surface 101a of the O-ring 101. Note that pixel concatenation means that two pixels a and b having the same value in a binary image have a sequence of adjacent (four or eight) pixels having the same value. It refers to the relationship between two pixels a and b. In the extraction of the edge element in the image processing device 106, a threshold value is determined, and an edge element whose density value changes is extracted from the image based on the threshold value. In addition, the edge elements extracted by the binarization processing are often line figures having a width alone, or are often divided into small line segments due to the influence of noise or the like.
It is difficult to recognize the shape of the defect as it is. For this reason, after the image processing device 106 extracts the edge element by the binarization processing of the image data, the image processing apparatus 106 performs an edge tracing processing of tracing a pixel having the same property among the pixels in the edge element. The connected trajectories are extracted to identify defects.

【0004】[0004]

【発明が解決しようとする課題】ところで、上記した被
検査体であるOリング101は、たとえば、ゴム材料か
ら形成されている。一般に、ゴム製品は添加物を多く含
んでいるので、その粒子が完全に分散されず、表面の光
の反射特性が一様ではない。また、Oリング101の成
形型や原材料の影響によって、性能に問題ないレベルで
も、表面が荒れている場合が多い。さらに、性能に問題
ないが、エアを吹き付ける等の手段によっても除去でき
ないミクロレベルのほこりが付着している場合がある。
このような表面特性をもつOリング101をCCDカメ
ラ102によって撮像すると、撮像された画像は、上記
のゴム製品の表面特性に起因したノイズを多く含む画像
となる。なお、ここでのノイズは、いわゆるゴマ塩ノイ
ズであり、背景の照度は一様で欠陥は黒となる画像が得
られないことが原因となるノイズである。Oリング10
1の表面に存在する欠陥は、たとえば、Oリング101
を成形するための型の表面に付着した異物がOリング1
01の表面に転写されて発生したり、型への成形材料の
充填不良によって発生したりする。このため、欠陥の状
態も様々であり、上記のゴマ塩ノイズが多く含まれる画
像では、欠陥の濃淡がはっきりせず、すなわち、欠陥と
背景との間の濃度差が小さく、欠陥の形状を正確に認識
できない場合も多い。また、ゴマ塩ノイズは、画像を2
値化した場合に顕著になり、欠陥領域以外にも白領域
(背景または良品面)に黒い点が散らばった画像となっ
てしまう。一方、画像データを2値化処理する場合に必
要なしきい値を決定する方法として、たとえば、Pタイ
ル法が知られている。Pタイル法は、抽出すべき欠陥領
域を含むエッジ要素の面積と対象画像の面積との比率が
一定になるようにしきい値を決定する方法である。しか
しながら、上記のようなOリング101の表面に存在す
る欠陥の面積は、予め推定することが難しく、このため
適切なしきい値を決定することが難しい。また、他のし
きい値決定方法として、濃度ヒストグラム法や濃度差ヒ
ストグラム法などが知られているが、これらの方法にお
いてもノイズが多く含まれる画像からエッジ要素を抽出
するためのしきい値を決定することが難しい。しきい値
が適切でないと、エッジ要素を精度よく抽出できず、そ
の後の処理において欠陥を精度良く特定することが困難
である。
The O-ring 101, which is the object to be inspected, is made of, for example, a rubber material. In general, rubber products contain a large amount of additives, so that their particles are not completely dispersed and the surface has non-uniform light reflection characteristics. In addition, the surface is often rough even at a level that does not cause a problem in performance due to the influence of the mold and raw materials of the O-ring 101. Further, there is a case where micro-level dust which has no problem in performance but cannot be removed by means such as blowing air is attached.
When the O-ring 101 having such surface characteristics is captured by the CCD camera 102, the captured image is an image including much noise due to the surface characteristics of the rubber product. Note that the noise here is so-called sesame salt noise, which is caused by the fact that an image in which the illuminance of the background is uniform and the defect is black cannot be obtained. O-ring 10
1 is, for example, the O-ring 101
Foreign matter adhering to the surface of the mold for molding the O-ring 1
01, or occurs due to improper filling of the molding material into the mold. For this reason, the state of the defect is also various, and in the image containing a lot of sesame salt noise, the density of the defect is not clear, that is, the density difference between the defect and the background is small, and the shape of the defect is accurate. Often cannot be recognized. In addition, sesame salt noise has two
This becomes remarkable when the value is converted into a value, and the image becomes an image in which black dots are scattered in a white region (background or non-defective surface) other than the defective region. On the other hand, as a method of determining a threshold necessary for performing binarization processing on image data, for example, a P tile method is known. The P tile method is a method of determining a threshold value such that the ratio between the area of an edge element including a defect area to be extracted and the area of a target image is constant. However, it is difficult to estimate the area of a defect existing on the surface of the O-ring 101 as described above in advance, and thus it is difficult to determine an appropriate threshold value. As other threshold value determination methods, a density histogram method and a density difference histogram method are known. In these methods, too, a threshold value for extracting an edge element from an image containing much noise is set. Difficult to decide. If the threshold value is not appropriate, the edge element cannot be extracted with high accuracy, and it is difficult to specify the defect with high accuracy in the subsequent processing.

【0005】従来においては、ゴマ塩ノイズが多く含ま
れる画像のノイズを予め除去した後に画像データの2値
化処理を行っていた。ノイズ除去法としては、たとえ
ば、注目画素とこれに隣接する8画素の濃度の平均をと
る局所平均法や、局所領域で濃度ヒストグラムを求め、
その中間値を出力値とするメディアンフィルタ、画像デ
ータをフーリエ変換して高周波成分を除去し、高周波成
分を除去した後のデータを逆フーリエ変換する2次元フ
ーリエ変換等が知られている。しかしながら、これらの
ノイズ除去法を用いると、ノイズ除去に要する処理時間
が多大となり、Oリング101の表面検査に要する時間
が長くなってしまい、実用的な検査が行えないという不
利益が存在した。
Conventionally, binarization processing of image data has been performed after removing noise of an image containing much sesame salt noise in advance. As a noise removing method, for example, a local averaging method for averaging the densities of a target pixel and eight pixels adjacent thereto or a density histogram in a local region is obtained.
There are known a median filter having an intermediate value as an output value, a two-dimensional Fourier transform for performing Fourier transform of image data to remove high-frequency components, and performing an inverse Fourier transform of the data after removing the high-frequency components. However, when these noise removal methods are used, the processing time required for the noise removal becomes long, the time required for the surface inspection of the O-ring 101 becomes long, and there is a disadvantage that a practical inspection cannot be performed.

【0006】本発明は、上述した問題に鑑みてなされた
ものであって、たとえば、ゴム材料の表面に存在する欠
陥の画像のように、画像の欠陥領域以外にゴマ塩ノイズ
が多く含まれ、欠陥画像の濃淡差が小さい検査対象であ
っても、2値化画像処理において精度良くエッジ要素の
検出が可能な画像処理検査方法および画像処理検査装置
を提供することを目的とする。
The present invention has been made in view of the above-described problems. For example, as in the case of an image of a defect existing on the surface of a rubber material, a large amount of sesame salt noise is contained in a region other than the defect region of the image. It is an object of the present invention to provide an image processing inspection method and an image processing inspection apparatus capable of detecting edge elements with high accuracy in binary image processing even when an inspection target has a small density difference of a defect image.

【0007】[0007]

【課題を解決するための手段】本発明の画像処理検査方
法は、被検査体の表面の画像データを2値化処理し、当
該2値化処理された画像データに基づいて被検査体の表
面に存在する欠陥を抽出する画像処理検査方法であっ
て、前記被検査体の表面の画像データの各画素の濃度勾
配を求めるステップと、前記各画素の濃度勾配の平均値
および標準偏差を求めるステップと、前記平均値および
標準偏差に基づいて、前記画像データの濃度の変化する
エッジを判別するためのしきい値を決定するステップ
と、前記しきい値に基づいて前記画像データを2値化し
て欠陥を含むエッジ要素を抽出するステップと、前記2
値化された画像データを所定の大きさの複数の正方格子
を有するメッシュ状のフィルタでスクリーニングして前
記エッジ要素に含まれるノイズ成分を除去するステップ
と、を有し、前記スクリーニングされた画像データに基
づいて被検査体の表面に存在する欠陥を抽出する。
According to an image processing and inspection method of the present invention, image data of the surface of an object to be inspected is binarized, and the surface of the object to be inspected is processed based on the binarized image data. An image processing inspection method for extracting a defect existing in the inspection object, wherein a step of obtaining a density gradient of each pixel of the image data of the surface of the inspection object and a step of obtaining an average value and a standard deviation of the density gradient of each pixel Determining a threshold value for determining an edge at which the density of the image data changes based on the average value and the standard deviation; and binarizing the image data based on the threshold value. Extracting an edge element containing a defect;
Screening the valued image data with a mesh filter having a plurality of square lattices of a predetermined size to remove noise components included in the edge elements, and the screened image data Is used to extract defects present on the surface of the inspection object.

【0008】本発明の画像処理検査装置は、被検査体の
表面の画像データを2値化処理し、当該2値化処理され
た画像データに基づいて被検査体の表面に存在する欠陥
を抽出する画像処理検査装置であって、前記被検査体の
表面の画像データの各画素の濃度勾配を求める濃度勾配
算出部と、前記各画素の濃度勾配の平均値を求める平均
値算出部と、前記各画素の濃度勾配の標準偏差を求める
標準偏差算出部と、前記平均値および標準偏差に基づい
て、前記画像データの濃度の変化するエッジを判別する
しきい値を決定するしきい値算出部と、前記しきい値に
基づいて前記画像データを2値化して欠陥を含むエッジ
要素を抽出する2値化処理部と、前記2値化された画像
データを所定の大きさの複数の正方格子を有するメッシ
ュ状のフィルタでスクリーニングして前記エッジ要素に
含まれるノイズ成分を除去するフィルタ部と、を有し、
前記スクリーニングされた画像データに基づいて被検査
体の表面に存在する欠陥を抽出する。
The image processing / inspection apparatus of the present invention binarizes image data of the surface of the object to be inspected, and extracts a defect existing on the surface of the object to be inspected based on the binarized image data. An image processing and inspection apparatus, wherein a density gradient calculator for calculating a density gradient of each pixel of the image data of the surface of the inspection object, an average value calculator for calculating an average value of the density gradient of each pixel, A standard deviation calculating unit for calculating a standard deviation of a density gradient of each pixel; and a threshold calculating unit for determining a threshold value for determining an edge where a density of the image data changes based on the average value and the standard deviation. A binarization processing unit that binarizes the image data based on the threshold value and extracts an edge element including a defect; and converts the binarized image data into a plurality of square grids of a predetermined size. With a mesh filter Clean anda filter unit for removing noise components contained in the edge element,
A defect existing on the surface of the inspection object is extracted based on the screened image data.

【0009】本発明では、被検査体の表面の画像データ
を2値化して被検査体の表面に存在する欠陥の輪郭情報
であるエッジ要素を抽出する際に、各画素の濃度勾配の
平均値および標準偏差からしきい値を決定し、このしき
い値に基づいて画像データを2値化し、これによって、
画素の濃度が変化する点の集合であるエッジ要素を抽出
する。平均値および標準偏差からしきい値を決定するこ
とで、欠陥の形状が予め推定されていなくても、適切な
値のしきい値となる。この2値化された画像データに
は、たとえば、被検査体の表面がゴム材料のような表面
特性をもつものであると、ゴマ塩ノイズが多くふくまれ
ている。このノイズを多く含む2値化された画像データ
を正方格子を有するメッシュ状のフィルタでスクリーニ
ング、すなわち、ふるいにかけることで、ノイズ成分は
正方格子によって大部分除かれ、ノイズが除去されたエ
ッジ要素が得られる。このエッジ要素は被検査体の表面
に存在する欠陥の輪郭形状を比較的精度良く反映したも
のとなり、その後の欠陥抽出処理において欠陥を精度よ
く特定することができる。
According to the present invention, when binarizing image data of the surface of the inspection object to extract an edge element which is contour information of a defect existing on the surface of the inspection object, the average value of the density gradient of each pixel is extracted. And a standard deviation, the image data is binarized based on the threshold value.
An edge element which is a set of points at which the density of a pixel changes is extracted. By determining the threshold value from the average value and the standard deviation, the threshold value becomes an appropriate value even if the shape of the defect is not estimated in advance. The binarized image data contains a lot of sesame salt noise if the surface of the inspection object has a surface characteristic such as a rubber material, for example. By screening the binarized image data containing much noise with a mesh filter having a square lattice, that is, by sieving, the noise component is largely removed by the square lattice, and the edge element from which the noise has been removed is removed. Is obtained. The edge element reflects the contour shape of the defect existing on the surface of the inspection object with relatively high accuracy, and the defect can be specified with high accuracy in the subsequent defect extraction processing.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1は、本発明に係る画像
処理検査装置が適用された表面検査装置の一構成例を示
す図である。本実施形態に係る表面検査装置61は、図
1に示すように、基台62上に固定され、被検査体とし
てのシール部材81が装着される装着軸65を回転駆動
する駆動装置64と、基台62上に設けられた支持部材
63によって支持された撮像手段としてのCCDカメラ
71と、支持部材63に固定され、シール部材81の上
方に設けられた照明手段としてのリング照明67と、シ
ール部材81の上方に設けられたロール型拡散板66
と、リング照明67の光源70と、画像処理検査装置7
5とを有する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing one configuration example of a surface inspection apparatus to which an image processing inspection apparatus according to the present invention is applied. As shown in FIG. 1, the surface inspection device 61 according to the present embodiment includes a driving device 64 that is fixed on a base 62 and that rotationally drives a mounting shaft 65 on which a seal member 81 as an inspection object is mounted. A CCD camera 71 as imaging means supported by a support member 63 provided on the base 62; a ring illumination 67 as illumination means fixed to the support member 63 and provided above the seal member 81; Roll type diffusion plate 66 provided above member 81
, The light source 70 of the ring illumination 67, and the image processing inspection device 7
And 5.

【0011】ここで、図2は図1に示した表面検査装置
61の被検査体としてのガスバルブ用のシール部材81
の構造を示す断面図である。シール部材81は、たとえ
ば、黒色のゴム材料から成形された中心部に貫通孔81
bをもつ円板状の部材であり、一端面側に環状のシール
面81aを有する。環状のシール面81aは、断面の輪
郭形状が凸状に湾曲して形成されており、このシール面
81aが他の部材と密着してシール機能を果たす。シー
ル部材81のシール面81aに傷等の欠陥が存在する
と、シール面81aが本来の機能を果たさなくなるた
め、欠陥の有無を検査する必要がある。
FIG. 2 shows a seal member 81 for a gas valve as an object to be inspected by the surface inspection apparatus 61 shown in FIG.
FIG. 3 is a cross-sectional view showing the structure of FIG. The seal member 81 has, for example, a through hole 81 at the center formed from a black rubber material.
b, and has an annular sealing surface 81a on one end surface side. The annular sealing surface 81a is formed such that the cross-sectional contour is curved in a convex shape, and the sealing surface 81a is in close contact with another member to perform a sealing function. If a defect such as a scratch is present on the sealing surface 81a of the sealing member 81, the sealing surface 81a does not perform its original function, so it is necessary to inspect for a defect.

【0012】リング照明67は、その中央領域に開口部
67aをもつ環状体であり、図示しない環状に配置され
た光ファイバの束を内蔵している。これらの光ファイバ
は、リング照明67の側面から光源に向けて導出されて
いる。光源70から供給された光は、リング照明67の
内部で環状に配置された光ファイバを通じて、リング照
明67の下面67bから下方に向けて環状の照明光とし
て照射される。リング照明67は、その開口部67aの
中心が、シール部材81のシール面81a上に位置する
ように配置されるのが好ましい。また、リング照明67
の開口部67aの直径は、シール面81aの半径方向の
幅よりも十分に大きく設定されている。光源70には、
たとえば、波長特性について撮像手段としてのCCDカ
メラ71と相性の良いハロゲンランプを用いることがで
きる。
The ring illumination 67 is an annular body having an opening 67a in a central region thereof, and incorporates a bundle of optical fibers arranged in an annular shape (not shown). These optical fibers are led out from the side of the ring illumination 67 toward the light source. The light supplied from the light source 70 is emitted as annular illumination light downward from the lower surface 67b of the ring illumination 67 through an optical fiber arranged annularly inside the ring illumination 67. The ring illumination 67 is preferably arranged such that the center of the opening 67 a is located on the sealing surface 81 a of the sealing member 81. In addition, ring illumination 67
The diameter of the opening 67a is set sufficiently larger than the radial width of the sealing surface 81a. The light source 70 includes
For example, a halogen lamp compatible with the CCD camera 71 as an image pickup means with respect to wavelength characteristics can be used.

【0013】ロール型拡散板66は、その中央部に開口
部66aを有する円筒体である。ロール型拡散板66
は、開口部66aの中心がリング照明67の開口部67
aの中心線に略一致するように配置されるとともに、上
端部側の一部がリング照明67の開口部67a内に挿入
されている。また、ロール型拡散板66は、開口部66
aの中心がシール部材81のシール面81aの略中央位
置に位置するように配置されている。ロール型拡散板6
6は、その外周面66cに向けてリング照明67から照
射された環状の照明光を、環状の中実部を通じて下端面
66bからシール部材81のシール面81aに向けて導
く。このとき、ロール型拡散板66の環状の下端面66
bから拡散した照明光は様々な方向に拡散する。ロール
型拡散板66の形成材料は、たとえば、乳白色に着色し
た光透過性のアクリル樹脂等を用いることができ、この
材料を円筒状に成形する。また、ロール型拡散板66の
直径は、CCDカメラ71の視野範囲およびシール部材
81のシール面81aの検査範囲が確保できる値に設定
される。
The roll diffusion plate 66 is a cylindrical body having an opening 66a at the center. Roll type diffuser 66
The center of the opening 66a is the opening 67 of the ring illumination 67.
The ring light 67 is disposed so as to substantially coincide with the center line of a, and a part on the upper end side is inserted into the opening 67 a of the ring illumination 67. Further, the roll-type diffusion plate 66 has an opening 66.
The center of “a” is disposed so as to be located substantially at the center of the seal surface 81 a of the seal member 81. Roll diffuser 6
6 guides the annular illumination light emitted from the ring illumination 67 toward the outer peripheral surface 66c from the lower end surface 66b to the sealing surface 81a of the sealing member 81 through the annular solid portion. At this time, the annular lower end surface 66 of the roll diffusion plate 66
The illumination light diffused from b is diffused in various directions. As a material for forming the roll-type diffusion plate 66, for example, a translucent acrylic resin colored milky white or the like can be used, and this material is formed into a cylindrical shape. In addition, the diameter of the roll-type diffusion plate 66 is set to a value that can ensure the visual field range of the CCD camera 71 and the inspection range of the seal surface 81a of the seal member 81.

【0014】駆動装置64は、たとえば、シール部材8
1が装着される装着軸65を所定の角度毎に回転させる
駆動モータからなり、CCDカメラ71によって撮像さ
れるシール部材81のシール面81aの各検査領域に応
じた回転角度でシール部材81を順次回転させ、最終的
にシール部材81を360度回転させる。
The driving device 64 includes, for example, the sealing member 8
1 comprises a drive motor for rotating the mounting shaft 65 at a predetermined angle, and sequentially rotates the seal member 81 at a rotation angle corresponding to each inspection area of the seal surface 81a of the seal member 81 imaged by the CCD camera 71. The seal member 81 is finally rotated 360 degrees.

【0015】CCDカメラ71は、視野がロール型拡散
板66の開口部66aを通じてシール部材81のシール
面81aに向くように配置されている。CCDカメラ7
1には、画像処理分野において汎用的に用いられるもの
を使用し、たとえば、100万画素のCCDカメラを用
いる。
The CCD camera 71 is arranged so that the field of view is directed to the sealing surface 81a of the sealing member 81 through the opening 66a of the roll diffusion plate 66. CCD camera 7
For 1, a camera generally used in the field of image processing is used, for example, a 1 million pixel CCD camera is used.

【0016】画像処理検査装置75は、たとえば、パー
ソナルコンピュータから構成され、CCDカメラ71に
よって撮像された画像データがそれぞれ入力され、これ
らの画像データを量子化し、この画像データに後述する
画像処理を施し、シール部材81のシール面81aに存
在する欠陥を抽出する。
The image processing inspection device 75 is composed of, for example, a personal computer, receives image data picked up by the CCD camera 71, quantizes the image data, and performs image processing described later on the image data. The defect existing on the sealing surface 81a of the sealing member 81 is extracted.

【0017】上記構成の表面検査装置61では、まず、
シール部材81の貫通孔81bを駆動装置64の装着軸
65に装着する。次いで、リング照明67から照明光を
照射する。リング照明67から照射された環状の照明光
の一部はロール型拡散板66の外周面66cに入射し、
ロール型拡散板66の内部に導入され、ロール型拡散板
66の下端面66bから拡散し、シール部材81のシー
ル面81aの検査領域には、下端面66bから散乱した
拡散光が照射される。このため、シール部材81のシー
ル面81aの検査領域における照度分布は、シール面8
1aが湾曲していても略均一となる。この状態で、シー
ル部材81のシール面81aの検査領域の上方に設けら
れたCCDカメラ71によって検査領域の画像を撮像す
る。
In the surface inspection apparatus 61 having the above configuration, first,
The through-hole 81b of the seal member 81 is mounted on the mounting shaft 65 of the driving device 64. Next, illumination light is emitted from the ring illumination 67. Part of the annular illumination light emitted from the ring illumination 67 enters the outer peripheral surface 66c of the roll diffuser 66,
The light introduced into the roll-type diffusion plate 66 is diffused from the lower end surface 66b of the roll-type diffusion plate 66, and the inspection area of the seal surface 81a of the seal member 81 is irradiated with diffused light scattered from the lower end surface 66b. Therefore, the illuminance distribution in the inspection area of the seal surface 81a of the seal member 81 is determined by the
Even if 1a is curved, it becomes substantially uniform. In this state, an image of the inspection area is captured by the CCD camera 71 provided above the inspection area on the seal surface 81a of the seal member 81.

【0018】ここで、図3は、上記した画像処理検査装
置75の構成を示す構成図である。図3に示すように、
画像処理検査装置75は、大きく分けて2値化処理部2
0と欠陥抽出部30とからなる。2値化処理部20は、
CCDカメラ71によって撮像されたシール部材81の
シール面81aの画像データを2値化処理する。欠陥抽
出部30は、2値化処理部20によって2値化された画
像データのエッジ要素に基づいてシール部材81のシー
ル面81aに存在する欠陥を抽出する。
FIG. 3 is a configuration diagram showing the configuration of the image processing inspection apparatus 75 described above. As shown in FIG.
The image processing inspection device 75 is roughly divided into a binarization processing unit 2
0 and a defect extraction unit 30. The binarization processing unit 20
The image data of the seal surface 81a of the seal member 81 captured by the CCD camera 71 is binarized. The defect extraction unit 30 extracts a defect existing on the sealing surface 81a of the sealing member 81 based on the edge element of the image data binarized by the binarization processing unit 20.

【0019】2値化処理部20は、画像データ入力部2
1と、濃度勾配算出部22と、平均値算出部23と、標
準偏差算出部24、しきい値算出部25、エッジ要素抽
出部26、フィルタ部27とを有する。
The binarization processing section 20 includes an image data input section 2
1, a density gradient calculator 22, an average calculator 23, a standard deviation calculator 24, a threshold calculator 25, an edge element extractor 26, and a filter 27.

【0020】画像データ入力部21は、CCDカメラ7
1によって撮像されたシール部材81のシール面81a
の画像データを取り込み、これを量子化する。
The image data input section 21 is provided with the CCD camera 7
1. Seal surface 81a of seal member 81 imaged by 1
And quantizes it.

【0021】濃度勾配算出部22は、画像データ入力部
21から入力された量子化された画像データの各画素の
濃度勾配(グラディエント強度)Δを算出する。具体的
には、各画素の濃度の差分値を算出する。
The density gradient calculator 22 calculates the density gradient (gradient intensity) Δ of each pixel of the quantized image data input from the image data input unit 21. Specifically, a difference value of the density of each pixel is calculated.

【0022】平均値算出部23は、濃度勾配算出部22
で算出された画像データの各画素の濃度勾配Δの平均値
mを求める。標準偏差算出部24は、濃度勾配算出部2
2で算出された画像データの各画素の濃度勾配Δの標準
偏差σを求める
The average value calculating section 23 includes a density gradient calculating section 22.
The average value m of the density gradient Δ of each pixel of the image data calculated by the above is obtained. The standard deviation calculation unit 24 includes the concentration gradient calculation unit 2
Find the standard deviation σ of the density gradient Δ of each pixel of the image data calculated in step 2.

【0023】しきい値算出部24は、平均値算出部23
で算出された濃度勾配Δの平均値mおよび標準偏差σに
基づいて、画像データの濃度の変化する変化点(エッジ
要素)を判別するしきい値Tを決定する。しきい値T
は、たとえば、次式(1)によって決定される。
The threshold value calculating section 24 includes an average value calculating section 23
Based on the average value m and the standard deviation σ of the density gradient Δ calculated in the above, a threshold value T for determining a changing point (edge element) where the density of the image data changes is determined. Threshold T
Is determined, for example, by the following equation (1).

【0024】T=m+t・σ …(1) 但し、tはしきい値Tの調整用パラメータであり、適宜
設定される。
T = m + t · σ (1) where t is a parameter for adjusting the threshold value T and is set as appropriate.

【0025】エッジ要素抽出部25は、しきい値算出部
24で算出されたしきい値Tに基づいて、画像データ入
力部21に入力されたシール部材81のシール面81a
の画像データを2値化して欠陥を含むエッジ要素を抽出
する。具体的には、画像データ入力部21に入力された
各画素の濃度としきい値Tとを比較して、しきい値Tよ
りも大きな値の濃度を持つ画素を欠陥画素としてエッジ
要素とし、しきい値Tよりも小さな値の濃度を持つ画素
を背景要素とする。このしきい値Tで2値化された画像
データのエッジ要素には、シール部材81のシール面8
1aに存在する欠陥およびシール面81aのざらつき等
によるゴマ塩ノイズ成分の双方が含まれている。
The edge element extraction unit 25 determines the seal surface 81a of the seal member 81 input to the image data input unit 21 based on the threshold value T calculated by the threshold value calculation unit 24.
Is binarized to extract an edge element including a defect. Specifically, the density of each pixel input to the image data input unit 21 is compared with a threshold value T, and a pixel having a density value larger than the threshold value T is determined as a defective pixel as an edge element. A pixel having a density smaller than the threshold value T is set as a background element. The edge element of the image data binarized by the threshold value T includes the sealing surface 8 of the sealing member 81.
1a and sesame salt noise components due to roughness of the sealing surface 81a and the like.

【0026】フィルタ部26は、エッジ要素抽出部25
で2値化された画像データを所定の大きさの複数の正方
格子を有するメッシュ状のフィルタでスクリーニングし
てエッジ要素に含まれるゴマ塩ノイズ成分を除去する。
ここで、図4はフィルタ部26で2値化された画像デー
タに施す処理を説明するための図である。図4(a)示
すように、矩形状のパターン画像R0 とパターン画像R
0 の周辺に存在する微小なノイズ画像Nとがエッジ要素
として存在する2値化画像を想定すると、フィルタ部2
6はこの2値化画像データを所定の大きさの複数の正方
格子を持つフィルタK(以下、格子フィルタKと呼
ぶ。)によってスクリーニング、すなわち、ふるいにか
ける。フィルタ部26では、パターン画像R0 とノイズ
画像Nのうち、格子フィルタKの格子線KL で囲まれる
領域内にのみ存在し、格子線KL 上には存在しない画素
は、エッジ要素から除外する。上記の処理が施された2
値化画像は、図4(b)に示すように、パターン画像R
0 のみとなり、ノイズ画像Nは除外される。なお、格子
フィルタKの正方格子の大きさは、2値化された画像デ
ータに含まれるノイズの大きさ等に応じて適宜設定され
る。
The filter unit 26 includes an edge element extraction unit 25
The binarized image data is screened by a mesh filter having a plurality of square grids of a predetermined size to remove sesame salt noise components included in edge elements.
Here, FIG. 4 is a diagram for explaining a process performed on the image data binarized by the filter unit 26. As shown in FIG. 4A, a rectangular pattern image R 0 and a pattern image R
Assuming a binarized image in which a minute noise image N existing around 0 exists as an edge element, the filter unit 2
6 screens, ie, screens, the binarized image data with a filter K having a plurality of square lattices of a predetermined size (hereinafter, referred to as a lattice filter K). In the filter unit 26, pixels that exist only in the area surrounded by the grid line KL of the grid filter K and are not present on the grid line KL in the pattern image R0 and the noise image N are excluded from the edge elements. 2 with the above processing
The binarized image is a pattern image R as shown in FIG.
Only 0 , and the noise image N is excluded. Note that the size of the square grid of the grid filter K is appropriately set in accordance with the size of noise included in the binarized image data.

【0027】本実施形態の画像処理検査装置75の2値
化処理部20では、しきい値Tを濃度勾配Δの平均値m
および標準偏差σから上記のようにして決定するため、
シール部材81のシール面81aの画像にノイズが多く
含まれ、欠陥画像がノイズ内に埋もれた状態でもある程
度適切な値のしきい値Tを簡単に決定することができ
る。また、本実施形態の画像処理検査装置75の2値化
処理部20では、しきい値Tに基づいて2値化された画
像データを格子フィルタKによってふるいにかけること
によって、2値化された画像データに含まれるノイズ成
分を簡単に除くことができる。以上のように、本実施形
態の画像処理検査装置75の2値化処理部20では、シ
ール部材81のシール面81aの画像データの2値化処
理の際に必要なしきい値Tを比較的簡単にかつ適切に決
定でき、さらに、2値化された画像データに含まれるノ
イズ成分の除去に、複雑なアルゴリズムを要しない格子
フィルタKを用いているためノイズ除去に要する処理時
間を大幅に短縮化することができる。このようにして得
られた2値化された画像データの欠陥画素からなるエッ
ジ要素は、シール部材81のシール面81aに存在する
欠陥の情報を適切に含む画像となる。
In the binarization processing section 20 of the image processing / inspection apparatus 75 of this embodiment, the threshold value T is set to the average value m of the density gradient Δ.
And the standard deviation σ, as described above,
Even if the image of the seal surface 81a of the seal member 81 contains much noise and the defective image is buried in the noise, it is possible to easily determine the threshold value T of an appropriate value to some extent. In the binarization processing unit 20 of the image processing inspection device 75 of the present embodiment, binarization is performed by sieving the image data binarized based on the threshold value T using a lattice filter K. Noise components included in image data can be easily removed. As described above, in the binarization processing unit 20 of the image processing inspection apparatus 75 of the present embodiment, the threshold value T required for the binarization processing of the image data of the sealing surface 81a of the sealing member 81 is relatively simple. In addition, since a lattice filter K that does not require a complicated algorithm is used to remove noise components contained in binarized image data, the processing time required for noise removal is greatly reduced. can do. The edge element composed of the defective pixel of the binarized image data obtained in this manner becomes an image appropriately including information on the defect existing on the sealing surface 81a of the sealing member 81.

【0028】欠陥抽出部30は、エッジ追跡処理部3
1、画素間連結調査部32、ラベリング処理部33とを
有する。エッジ追跡処理部31は、2値化処理部20の
フィルタ部26で得られた2値化された画像データのエ
ッジ要素のエッジ追跡処理を行う。2値化処理部20の
フィルタ部26で得られた2値化された画像データのエ
ッジ要素は、ノイズ成分がある程度除かれているが、こ
の状態のエッジ要素では、画像データに含まれるノイズ
成分や欠陥の形状の複雑さによってエッジ要素が小線分
に分割されていることが多く、この途切れたエッジ要素
間を結合して滑らかにしないと欠陥形状を識別すること
ができない。このため、エッジ追跡処理部31は、たと
えば、図5に示す方法によってエッジ要素間の結合を行
う。
The defect tracing unit 30 includes the edge tracing unit 3
1. It has an inter-pixel connection investigation unit 32 and a labeling processing unit 33. The edge tracking processing unit 31 performs an edge tracking process of an edge element of the binarized image data obtained by the filter unit 26 of the binarization processing unit 20. Noise components are removed to some extent from the edge elements of the binarized image data obtained by the filter unit 26 of the binarization processing unit 20, but in the edge elements in this state, the noise components included in the image data are removed. In many cases, the edge elements are divided into small line segments due to the complexity of the defect and the shape of the defect, and the defect shape cannot be identified unless the broken edge elements are connected and smoothed. For this reason, the edge tracking processing unit 31 performs connection between edge elements by, for example, the method shown in FIG.

【0029】図5(a)に示すように、まず、2値化画
像中に存在する一連の欠陥を反映したエッジ要素Sのロ
ーカル点(欠陥位置)R1を決定する。次いで、ローカ
ル点R1を中心とした半径rの円周上に位置する点r
〔1〕とローカル点R1との間の線分上に位置する各画
素のうち、ローカル点R1に位置する画素と同じ性質を
持つ画素の数をカウントする。同じ性質を持つ画素と
は、具体的には、たとえば、ローカル点R1に位置する
画素と同様に欠陥画素とされた画素である。同様の処理
を、半径rの円周上のローカル点R1を中心として角度
θ毎に回転した位置にある点r〔2〕〜r〔n〕(な
お、r〔n〕は180度回転した位置にある)とローカ
ル点R1との間の線分上に位置する各画素のうち、ロー
カル点R1と同様の性質をもつ画素の数を順次カウント
する。
As shown in FIG. 5A, first, a local point (defect position) R1 of the edge element S reflecting a series of defects existing in the binarized image is determined. Next, a point r located on the circumference of the radius r centered on the local point R1
Among the pixels located on the line segment between [1] and the local point R1, the number of pixels having the same property as the pixel located at the local point R1 is counted. Specifically, the pixel having the same property is, for example, a pixel determined to be a defective pixel similarly to the pixel located at the local point R1. The same processing is performed at points r [2] to r [n] at positions rotated by an angle θ around the local point R1 on the circumference of the radius r (where r [n] is a position rotated by 180 degrees). ) And the local point R1, the number of pixels having the same properties as the local point R1 among the pixels located on the line segment is sequentially counted.

【0030】上記処理の結果、ローカル点R1に位置す
る画素と同様の性質を持つ画素の数が最大となる方向が
点r〔a〕の方向であったとすると、この方向における
ローカル点R1に位置する画素と同様の性質を持つ画素
の最大数Vmax が予め決められたしきい値Thよりも大
きい場合にのみ、図5(c)に示すように、この点を新
たなローカル点R2とする。同様に、ローカル点R2を
起点として、図5(b)において説明した処理を行い、
図5(d)に示すように、新たなローカル点R3、R4
を探索する。たとえば、新たなローカル点R4を起点と
して、ローカル点R4に位置する画素と同じ性質の画素
を探索したとき、ローカル点R4に位置する画素と同様
の性質を持つ画素の数が最大となる方向の当該画素の最
大数Vmax がしきい値Thよりも小さい場合には、この
ローカル点R4を終点とする。
As a result of the above processing, if the direction in which the number of pixels having the same properties as the pixel located at the local point R1 becomes the maximum is the direction of the point r [a], the position at the local point R1 in this direction is determined. maximum number V max of pixels having similar properties to pixels only if greater than a predetermined threshold value Th, as shown in FIG. 5 (c), this point a new local point R2 . Similarly, with the local point R2 as a starting point, the processing described in FIG.
As shown in FIG. 5D, new local points R3 and R4
To explore. For example, when a pixel having the same property as the pixel located at the local point R4 is searched starting from the new local point R4, the number of pixels having the same property as the pixel located at the local point R4 becomes the maximum. maximum number V max of the pixel is smaller than the threshold value Th is the local point R4 and end point.

【0031】このように探索したローカル点R1、R
2、R3およびR4を結ぶ軌跡を一つの欠陥の軌跡とす
る。上記の処理をエッジ要素の各画素について行うこと
により、欠陥の全体的な軌跡が特定される。
The local points R1, R thus searched for
A trajectory connecting 2, R3 and R4 is defined as a trajectory of one defect. By performing the above processing for each pixel of the edge element, the entire trajectory of the defect is specified.

【0032】画素間連結調査部32は、2値化画像のエ
ッジ要素を基に、エッジ追跡処理部31において得られ
た欠陥の軌跡上に存在する各画素の連結性を調査する。
たとえば、図6に示すように、(i,j) に位置する画素x
0 に対して、(i+1,j),(i,j+1) ,(i-1,j) ,(i,j-1)
,(i+1,j+1) ,(i-1,j+1) ,(i+1,j-1) ,(i+1,j-1)
に位置する各画素x1 〜x8 を8近傍と呼び、この8近
傍のうち画素x0と同値の画素を画素x0 に隣接してい
るという。また、2値画像中の同じ値をもつ二つの画素
a、bに対し、すべてこれらと同じ値をもつ隣接(4隣
接または8隣接)画素の系列が存在するときの二つの画
素a、bの関係をいう。画素間連結調査部32は、エッ
ジ要素のうちエッジ追跡処理部31において得られた欠
陥の軌跡上に存在する各画素と上記のように連結する画
素を探索する処理を行う。すなわち、エッジ追跡処理部
31では、小線分にとぎれることが多いエッジ要素間を
大局的に結合することで、欠陥の大局的な軌跡を決定し
たが、この軌跡のみでは欠陥の実際の形状が特定できな
いため、軌跡上に位置する各画素と連結する画素を探索
し、欠陥画素を拡張することで欠陥を精度良く特定す
る。
The inter-pixel connection checking unit 32 checks the connectivity of each pixel present on the trajectory of the defect obtained by the edge tracking processing unit 31 based on the edge element of the binarized image.
For example, as shown in FIG. 6, a pixel x located at (i, j)
For 0 , (i + 1, j), (i, j + 1), (i-1, j), (i, j-1)
, (I + 1, j + 1), (i-1, j + 1), (i + 1, j-1), (i + 1, j-1)
Each pixel x 1 ~x 8 located is called the 8-neighbor, a pixel x 0 the same value as the pixel of the eight neighboring that is adjacent to the pixel x 0 in. In addition, for two pixels a and b having the same value in the binary image, two pixels a and b when there is a series of adjacent (four or eight) pixels having the same value are present. A relationship. The inter-pixel connection checking unit 32 performs a process of searching for a pixel connected to each pixel existing on the trajectory of the defect obtained by the edge tracking processing unit 31 among the edge elements as described above. In other words, the edge tracing processing unit 31 determines the global trajectory of the defect by globally connecting edge elements that are often broken into small line segments, but the actual shape of the defect is determined only by this trajectory. Since the pixel cannot be specified, a pixel connected to each pixel located on the trajectory is searched, and a defect is specified with high precision by expanding the defective pixel.

【0033】ラベリング処理部33は、エッジ追跡処理
部31および画素間連結調査部32において得られた連
結する画素の集合(連結成分)に対し、各々異なったラ
ベルを割り当て、各ラベルにおける連結成分の形状や相
関距離を解析することで、シール部材81のシール面8
1aに存在する欠陥の最終的な認識を行う。
The labeling processing unit 33 assigns different labels to the set of connected pixels (connected components) obtained in the edge tracking processing unit 31 and the inter-pixel connection checking unit 32, and assigns different labels to the connected components in each label. By analyzing the shape and the correlation distance, the seal surface 8 of the seal member 81 is analyzed.
The final recognition of the defect existing in 1a is performed.

【0034】次に、上記画像処理検査装置を用いた画像
処理検査方法の処理手順の一例について図7および図8
に示すフローチャートを参照して説明する。まず、図7
に示すように、CCDカメラ71からのシール部材81
のシール面81aの画像を画像処理検査装置75に入力
し、この画像データの各画素の濃度勾配Δを求める(ス
テップS1)。図9に画像処理検査装置75に入力され
たシール部材81のシール面81aの画像の一例を示
す。図9に示すように、シール面81aの画像は、全体
的にノイズが多く含まれ、中央領域に濃度が濃くなった
シール面81a上の欠陥がぼんやりと映し出されてい
る。
Next, an example of the processing procedure of the image processing inspection method using the image processing inspection apparatus will be described with reference to FIGS.
This will be described with reference to the flowchart shown in FIG. First, FIG.
As shown in FIG.
Is input to the image processing inspection device 75, and the density gradient Δ of each pixel of the image data is obtained (step S1). FIG. 9 shows an example of an image of the seal surface 81a of the seal member 81 input to the image processing inspection device 75. As shown in FIG. 9, the image of the seal surface 81 a includes a large amount of noise as a whole, and a defect on the seal surface 81 a having a high density is faintly displayed in the central region.

【0035】次いで、求めた各画素の濃度勾配Δの平均
値mおよび標準偏差σを求め(ステップS2)、これら
平均値mおよび標準偏差σから上記式(1)によってし
きい値Tを求める(ステップS3)。このしきい値Tを
用いて画像データの全画素の2値化を行う(ステップS
4)。この2値化は、たとえば、欠陥画素(濃度がしき
い値より濃い画素)を1とし、他の画素を0とする。図
10に図9に示した画像を2値化した2値化画像の一例
を示す。図10において、黒色領域は画素の値が0の領
域であり、白色領域は値が1の領域である。図10から
わかるように、2値化画像には多くのノイズ成分が含ま
れている。
Next, the average value m and the standard deviation σ of the obtained density gradient Δ of each pixel are obtained (step S2), and the threshold value T is obtained from the average value m and the standard deviation σ by the above equation (1) (step S2). Step S3). Binarization of all pixels of the image data is performed using the threshold value T (step S
4). In this binarization, for example, a defective pixel (a pixel whose density is higher than a threshold value) is set to 1 and other pixels are set to 0. FIG. 10 shows an example of a binarized image obtained by binarizing the image shown in FIG. In FIG. 10, a black area is an area where the pixel value is 0, and a white area is an area where the value of the pixel is 1. As can be seen from FIG. 10, the binarized image contains many noise components.

【0036】次いで、上記の2値化画像の注目画素につ
いて、上記した格子フィルタKを設定し(ステップS
5)、格子線KL 上に欠陥画素が存在しないかを判断し
(ステップS6)、画像データのスクリーニングを行
う。格子線KL 上に欠陥画素が存在しない場合には、当
該格子線KL で囲まれる格子内の画素の値を0にする
(ステップS7)。格子線KL 上に欠陥画素が存在する
場合には、当該格子線KL で囲まれる格子内の画素の値
はそのままの状態とする。全ての画素について格子フィ
ルタKを設定したかを判断し(ステップS8)、格子フ
ィルタKの設定が完了すると、ノイズの除かれた2値化
画像が得られる(ステップS9)。ここで、図11は、
2値化画像に格子フィルタKを設定した状態を示す図で
あり、図12は格子フィルタKによってスクリーニング
された2値化画像を示す図である。上述した図10に示
す2値化画像と図12に示す2値化画像とを比較する
と、ノイズ成分が大部分除去されているのが分かる。な
お、ここまでの処理は、上記の画像処理検査装置75の
2値化処理部20において行われる処理である。
Next, the above-mentioned lattice filter K is set for the target pixel of the above-mentioned binary image (step S).
5) It is determined whether there is a defective pixel on the grid line KL (step S6), and the image data is screened. If there is no defective pixel on the grid line KL, the value of the pixel in the grid surrounded by the grid line KL is set to 0 (step S7). If a defective pixel exists on the grid line KL, the value of the pixel in the grid surrounded by the grid line KL is left as it is. It is determined whether the grid filter K has been set for all the pixels (step S8). When the setting of the grid filter K is completed, a binarized image from which noise has been removed is obtained (step S9). Here, FIG.
FIG. 12 is a diagram illustrating a state where a lattice filter K is set in the binarized image, and FIG. 12 is a diagram illustrating a binarized image screened by the lattice filter K. Comparing the above-described binarized image shown in FIG. 10 with the binarized image shown in FIG. 12, it can be seen that most of the noise components have been removed. The processing up to this point is the processing performed in the binarization processing unit 20 of the image processing inspection device 75 described above.

【0037】次いで、図8に示すように、得られた2値
化画像データから任意の欠陥画素(値が1の画素)を決
定し、この点をローカル点Lとする(ステップS1
1)。次いで、このローカル点Lから半径rの円周上の
点r〔j〕(j=1〜n)とローカル点Lとを結ぶ線分
上に存在する欠陥画素の数Mをカウントする。なお、点
r〔j〕は円周上の基準位置から角度Φ〔i〕(Φ=0
〜180°)に位置する点である。このローカル点Lと
半径rの円周上の各点r〔j〕を結ぶ線分上の欠陥画素
の数Mに基づいて、欠陥画素の数Mが最大となる方向Φ
max を探索する(ステップS12)。なお、欠陥画素の
数Mが最大となる方向Φmax のローカル点Lと半径rの
円周上の点をr〔a〕とする。
Next, as shown in FIG. 8, an arbitrary defective pixel (pixel having a value of 1) is determined from the obtained binary image data, and this point is set as a local point L (step S1).
1). Next, the number M of defective pixels existing on a line segment connecting the point r [j] (j = 1 to n) on the circumference of the radius r from the local point L and the local point L is counted. Note that the point r [j] is at an angle Φ [i] (Φ = 0) from the reference position on the circumference.
180180 °). Based on the number M of defective pixels on a line segment connecting the local point L and each point r [j] on the circumference of the radius r, a direction Φ in which the number M of defective pixels is maximum
Search for max (step S12). The point on the circumference of the radius r and the local point L in the direction Φmax at which the number M of defective pixels is the maximum is defined as r [a].

【0038】次いで、欠陥画素の数Mが最大となる方向
Φmax における欠陥画素の数Mと予め決められたしきい
値Thとの大小を比較し(ステップS13)、欠陥画素
の数Mがしきい値Thよりも大きい場合には、点r
〔a〕を新たなローカル点Lとし(ステップS14)、
この新たなローカル点Lを起点として欠陥画素の数Mが
最大となる方向Φmax を探索する。欠陥画素の数Mがし
きい値Thよりも小さい場合には、ローカル点Lを更新
せず、このローカル点Lを終点とし、探索して得られた
各ローカル点Lを結ぶ軌跡を決定する(ステップS1
5)。
Next, the number M of defective pixels in the direction Φmax in which the number M of defective pixels is maximized is compared with a predetermined threshold Th (Step S13), and the number M of defective pixels is determined by a threshold value. If it is greater than the value Th, the point r
[A] is set as a new local point L (step S14),
Starting from the new local point L, a direction Φmax in which the number M of defective pixels is maximized is searched. If the number M of defective pixels is smaller than the threshold value Th, the local point L is not updated, the local point L is set as the end point, and a locus connecting the local points L obtained by the search is determined ( Step S1
5).

【0039】ここで、図13は、図12に示した2値化
画像に対して行った欠陥軌跡の追跡処理によって得られ
た軌跡を示す図である。一方、図15は、図12に示し
た2値化画像の各画素の8点連結を調べて欠陥軌跡の追
跡処理を行った結果得られた軌跡を示す図である。2値
化画像の各画素の8点連結による欠陥軌跡の追跡は、局
所的な追跡であり、図15からわかるように、追跡した
軌跡が小線分に分割される割合が多くなっている。一
方、本実施形態の追跡方法によれば、図13に示すよう
に、軌跡が小線分に分割される割合が少なく、欠陥の軌
跡の特徴を大局的に捉えることができる。
FIG. 13 is a diagram showing a trajectory obtained by the defect tracing process performed on the binarized image shown in FIG. On the other hand, FIG. 15 is a diagram showing a trajectory obtained as a result of performing a tracking process of the defect trajectory by examining the eight-point connection of each pixel of the binary image shown in FIG. The tracking of the defect trajectory by connecting the eight points of each pixel of the binarized image is a local tracking, and as can be seen from FIG. 15, the ratio of the tracked trajectory is divided into small line segments. On the other hand, according to the tracking method of the present embodiment, as shown in FIG. 13, the ratio of the trajectory divided into small line segments is small, and the feature of the trajectory of the defect can be grasped globally.

【0040】次いで、得られた欠陥軌跡上の各画素の連
結性を調査する(ステップS16)。上記の処理によっ
て得られた大局的な欠陥軌跡上の各画素の8点連結を調
べ、軌跡上に位置する各画素と連結する画素の集合であ
る連結成分を求めることで欠陥画素を拡張し、この連結
成分にラベリングする。各ラベルにおける連結成分の形
状や相関距離を解析することで、シール部材81のシー
ル面81aに存在する欠陥の最終的な認識を行う。図1
4は、欠陥軌跡上の各画素の8点連結を調べ、欠陥画素
を拡張し、連結成分にラベリングした画像を示す図であ
る。図14に示すように、欠陥は3つの大きな範囲にラ
ベリングされており、シール部材81のシール面81a
に存在する欠陥の形状を大局的に特定することができ
る。
Next, the connectivity of each pixel on the obtained defect trajectory is examined (step S16). The eight-point connection of each pixel on the global defect trajectory obtained by the above processing is examined, and the defective pixel is extended by obtaining a connected component that is a set of pixels connected to each pixel located on the trajectory, Label this connected component. By analyzing the shape of the connected component and the correlation distance in each label, the final recognition of a defect existing on the sealing surface 81a of the sealing member 81 is performed. FIG.
FIG. 4 is a diagram showing an image obtained by examining the eight-point connection of each pixel on the defect trajectory, expanding the defective pixel, and labeling the connected component. As shown in FIG. 14, the defect is labeled in three large areas, and the sealing surface 81a of the sealing member 81
Can be globally specified.

【0041】一方、図16は、図15に示した8点連結
による欠陥軌跡の追跡結果に基づいて、軌跡上に位置す
る各画素の連結成分を求め、これらラベリングした画像
を示す図である。図16から分かるように、8点連結に
よる欠陥軌跡の追跡結果に基づいて、軌跡上に位置する
各画素の連結成分を求めると、連結成分が多数存在し、
欠陥の形状を局所的にしか捉えることができず欠陥の形
状を正確に認識することが難しい。
On the other hand, FIG. 16 is a view showing a connected image of each pixel located on the trajectory based on the tracking result of the defect trajectory by the eight-point connection shown in FIG. As can be seen from FIG. 16, when the connected components of each pixel located on the trajectory are obtained based on the tracking result of the defect trajectory by the eight-point connection, there are many connected components,
The shape of the defect can only be captured locally, and it is difficult to accurately recognize the shape of the defect.

【0042】以上のように、本実施形態によれば、適切
に決定されたしきい値Tに基づいて2値化された画像デ
ータを格子フィルタKによってスクリーニングすること
で、2値化画像を得るため、比較的簡単な処理で精度良
くエッジ要素を検出することができる。特に、たとえ
ば、ゴム材料の表面に存在する欠陥の画像のように、ゴ
ム材料の表面の特質に起因したゴマ塩ノイズが多く含ま
れ、かつ、欠陥の画像の濃淡差が少ない画像から精度が
良く安定したエッジ要素を検出することが可能となる。
また、本実施形態によれば、2値化画像のエッジ要素
(欠陥画素の集合)の一点から所定の範囲で欠陥画素の
存在する数が最大となる方向を探索して欠陥の軌跡を追
跡し、得られた軌跡上の各画素について局所的な連結性
を調査して欠陥を抽出することで、欠陥を大局的に抽出
することができ、濃淡差が少ない欠陥画像や複雑な形状
の欠陥の全体像を確実に抽出することができる。
As described above, according to the present embodiment, a binarized image is obtained by screening the binarized image data by the lattice filter K based on the threshold T appropriately determined. Therefore, the edge element can be detected with high accuracy by relatively simple processing. In particular, for example, such as an image of a defect existing on the surface of a rubber material, a large amount of sesame salt noise due to the characteristics of the surface of the rubber material is included, and an image having a small difference in shading of the defect image has high accuracy. It is possible to detect a stable edge element.
Further, according to the present embodiment, the trajectory of the defect is traced by searching for a direction in which the number of defective pixels is maximum within a predetermined range from one point of an edge element (a set of defective pixels) of the binary image. By examining the local connectivity of each pixel on the obtained trajectory and extracting defects, defects can be globally extracted, and defect images with a small difference in shading and defects of complex shapes can be extracted. The whole image can be reliably extracted.

【0043】[0043]

【発明の効果】本発明によれば、たとえば、ゴム材料の
表面に存在する欠陥の画像のように、画像中にノイズが
多く含まれ、かつ、欠陥の濃淡差が比較的小さい欠陥画
像であっても、エッジ要素の精度が良い2値化画像を得
ることができる。
According to the present invention, for example, as in the case of an image of a defect existing on the surface of a rubber material, the defect image contains a large amount of noise in the image and has a relatively small density difference of the defect. However, a binarized image with good edge element accuracy can be obtained.

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

【図1】本発明に係る画像処理検査装置が適用された表
面検査装置の一構成例を示す図である。
FIG. 1 is a diagram showing a configuration example of a surface inspection apparatus to which an image processing inspection apparatus according to the present invention is applied.

【図2】図1に示した表面検査装置61の被検査体とし
てのガスバルブ用のシール部材81の構造を示す断面図
である。
FIG. 2 is a cross-sectional view showing a structure of a seal member 81 for a gas valve as a test object of the surface inspection device 61 shown in FIG.

【図3】画像処理検査装置75の構成を示す構成図であ
る。
FIG. 3 is a configuration diagram illustrating a configuration of an image processing inspection device 75;

【図4】フィルタ部26で2値化された画像データに施
す処理を説明するための図である。
FIG. 4 is a diagram for explaining processing performed on image data binarized by a filter unit 26;

【図5】エッジ追跡処理部31のエッジ追跡の原理を説
明するための図である。
FIG. 5 is a diagram for explaining the principle of edge tracking of the edge tracking processing unit 31.

【図6】画素の連結を説明するための図である。FIG. 6 is a diagram for explaining connection of pixels.

【図7】本発明の画像処理検査方法の処理手順の一例を
示すフローチャートである。
FIG. 7 is a flowchart illustrating an example of a processing procedure of the image processing inspection method according to the present invention.

【図8】図7に続く処理手順の一例を示すフローチャー
トである。
FIG. 8 is a flowchart illustrating an example of a processing procedure following FIG. 7;

【図9】画像処理検査装置75に入力されたシール部材
81のシール面81aの画像の一例を示す図である。
9 is a diagram illustrating an example of an image of a seal surface 81a of a seal member 81 input to an image processing inspection device 75. FIG.

【図10】図9に示した画像を2値化した2値化画像の
一例を示す図である。
FIG. 10 is a diagram illustrating an example of a binarized image obtained by binarizing the image illustrated in FIG. 9;

【図11】2値化画像に格子フィルタKを設定した状態
を示す図である。
FIG. 11 is a diagram showing a state where a lattice filter K is set for a binarized image.

【図12】格子フィルタKによってスクリーニングされ
た2値化画像を示す図である。
FIG. 12 is a diagram showing a binarized image screened by a lattice filter K.

【図13】図12に示した2値化画像に対して行った欠
陥軌跡の追跡処理によって得られた軌跡を示す図であ
る。
13 is a diagram illustrating a trajectory obtained by a defect tracing process performed on the binarized image illustrated in FIG. 12;

【図14】欠陥軌跡上の各画素の8点連結を調べ、欠陥
画素を拡張し、連結成分にラベリングした画像を示す図
である。
FIG. 14 is a diagram showing an image obtained by examining the eight-point connection of each pixel on the defect trajectory, expanding the defective pixel, and labeling the connected component.

【図15】図12に示した2値化画像の各画素の8点連
結を調べて欠陥軌跡の追跡処理を行った結果得られた軌
跡を示す図である。
FIG. 15 is a diagram illustrating a trajectory obtained as a result of performing a tracking process of a defect trajectory by examining eight-point connection of each pixel of the binary image illustrated in FIG. 12;

【図16】図15に示した8点連結による欠陥軌跡の追
跡結果に基づいて、軌跡上に位置する各画素の連結成分
を求め、これらラベリングした画像を示す図である。
FIG. 16 is a diagram showing a labeled image in which a connected component of each pixel located on the trajectory is obtained based on the tracking result of the defect trajectory by the eight-point connection shown in FIG.

【図17】表面検査装置の一例を示す構成図である。FIG. 17 is a configuration diagram illustrating an example of a surface inspection apparatus.

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

20…2値化処理部 21…画像データ入力部 22…濃度勾配算出部 23…平均値算出部 24…標準偏差算出部 25…しきい値算出部 26…エッジ要素抽出部 27…フィルタ部 30…欠陥抽出部30 31…エッジ追跡処理部 32…画素間連結調査部 33…ラベリング処理部 Reference Signs List 20 binarization processing unit 21 image data input unit 22 density gradient calculation unit 23 average value calculation unit 24 standard deviation calculation unit 25 threshold calculation unit 26 edge element extraction unit 27 filter unit 30 Defect extraction unit 30 31 Edge tracking unit 32 Pixel connection investigation unit 33 Labeling unit

フロントページの続き Fターム(参考) 2F065 AA12 AA49 BB05 CC00 DD06 FF42 FF66 GG02 GG17 HH02 HH12 HH13 HH14 JJ03 JJ09 JJ26 LL49 PP01 PP13 QQ00 QQ03 QQ07 QQ08 QQ13 QQ25 QQ28 QQ32 QQ33 QQ34 QQ38 QQ41 QQ42 QQ51 2G051 AA90 AB02 CA04 CB01 EA11 EA16 EB01 EC05 ED08 ED22 5B057 AA01 BA02 BA19 BA29 BA30 CA02 CA08 CA12 CA16 CB02 CB06 CB12 CB16 CC03 CE02 CE06 CE12 CH08 DA03 DA08 DA17 DB02 DB05 DB08 DC05 DC14 DC17 DC34 DC36 5L096 AA03 AA07 BA03 BA20 CA04 EA05 EA43 FA06 FA09 FA14 FA32 FA69 GA06 GA15 GA34 GA51 GA55 Continued on the front page F term (reference) 2F065 AA12 AA49 BB05 CC00 DD06 FF42 FF66 GG02 GG17 HH02 HH12 HH13 HH14 JJ03 JJ09 JJ26 LL49 PP01 PP13 QQ00 QQ03 QQ07 QQ08 QQ13 QQ25 QQ28 QQ31 Q02 Q41 Q01 Q34 Q01 Q34 A EB01 EC05 ED08 ED22 5B057 AA01 BA02 BA19 BA29 BA30 CA02 CA08 CA12 CA16 CB02 CB06 CB12 CB16 CC03 CE02 CE06 CE12 CH08 DA03 DA08 DA17 DB02 DB05 DB08 DC05 DC14 DC17 DC34 DC36 5L096 AA03 AA07 BA03 FA20 FA04 GA09 GA51 GA55

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】被検査体の表面の画像データを2値化処理
し、当該2値化処理された画像データに基づいて被検査
体の表面に存在する欠陥を抽出する画像処理検査方法で
あって、 前記被検査体の表面の画像データの各画素の濃度勾配を
求めるステップと、 前記各画素の濃度勾配の平均値および標準偏差を求める
ステップと、 前記平均値および標準偏差に基づいて、前記画像データ
の濃度の変化するエッジを判別するためのしきい値を決
定するステップと、 前記しきい値に基づいて前記画像データを2値化して欠
陥を含むエッジ要素を抽出するステップと、 前記2値化された画像データを所定の大きさの複数の正
方格子を有するメッシュ状のフィルタでスクリーニング
して前記エッジ要素に含まれるノイズ成分を除去するス
テップと、を有し、 前記スクリーニングされた画像データに基づいて被検査
体の表面に存在する欠陥を抽出する画像処理検査方法。
An image processing inspection method for binarizing image data of a surface of an inspection object and extracting a defect existing on the surface of the inspection object based on the binarized image data. Obtaining a density gradient of each pixel of the image data of the surface of the inspection object; obtaining an average value and a standard deviation of the density gradient of each pixel; and, based on the average value and the standard deviation, A step of determining a threshold value for determining an edge at which the density of the image data changes; a step of binarizing the image data based on the threshold value to extract an edge element including a defect; Screening the quantified image data with a mesh filter having a plurality of square lattices of a predetermined size to remove noise components included in the edge elements. Image processing inspection method for extracting a defect existing on the surface of the inspection object on the basis of the screened image data.
【請求項2】被検査体の表面の画像データを2値化処理
し、当該2値化処理された画像データに基づいて被検査
体の表面に存在する欠陥を抽出する画像処理検査装置で
あって、 前記被検査体の表面の画像データの各画素の濃度勾配を
求める濃度勾配算出部と、 前記各画素の濃度勾配の平均値を求める平均値算出部
と、 前記各画素の濃度勾配の標準偏差を求める標準偏差算出
部と、 前記平均値および標準偏差に基づいて、前記画像データ
の濃度の変化するエッジを判別するしきい値を決定する
しきい値算出部と、 前記しきい値に基づいて前記画像データを2値化して欠
陥を含むエッジ要素を抽出する2値化処理部と、 前記2値化された画像データを所定の大きさの複数の正
方格子を有するメッシュ状のフィルタでスクリーニング
して前記エッジ要素に含まれるノイズ成分を除去するフ
ィルタ部と、を有し、 前記スクリーニングされた画像データに基づいて被検査
体の表面に存在する欠陥を抽出する画像処理検査装置。
2. An image processing / inspection apparatus for binarizing image data of a surface of an object to be inspected and extracting defects existing on the surface of the object to be inspected based on the binarized image data. A density gradient calculation unit that calculates a density gradient of each pixel of the image data on the surface of the inspection object; an average value calculation unit that calculates an average value of the density gradient of each pixel; and a standard density gradient of each pixel. A standard deviation calculator for determining a deviation, a threshold calculator for determining a threshold for determining an edge where the density of the image data changes based on the average value and the standard deviation, A binarization processing unit for binarizing the image data to extract an edge element including a defect, and screening the binarized image data with a mesh filter having a plurality of square lattices of a predetermined size. And said d Has a filter unit that removes a noise component contained in di-element, the image processing inspection apparatus for extracting a defect existing on the surface of the inspection object on the basis of the screened image data.
JP11211174A 1999-07-26 1999-07-26 Method and device for image processing checking Pending JP2001034762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11211174A JP2001034762A (en) 1999-07-26 1999-07-26 Method and device for image processing checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11211174A JP2001034762A (en) 1999-07-26 1999-07-26 Method and device for image processing checking

Publications (1)

Publication Number Publication Date
JP2001034762A true JP2001034762A (en) 2001-02-09

Family

ID=16601645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11211174A Pending JP2001034762A (en) 1999-07-26 1999-07-26 Method and device for image processing checking

Country Status (1)

Country Link
JP (1) JP2001034762A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006098126A (en) * 2004-09-28 2006-04-13 Toyota Motor Corp Work surface flaw inspection device
JP2011089869A (en) * 2009-10-22 2011-05-06 Rozefu Technol:Kk Lighting system for image processing
JP2011095090A (en) * 2009-10-29 2011-05-12 Ihi Corp Device and method for inspecting coated state, and program
KR101265953B1 (en) 2011-10-05 2013-05-21 (주)컴텍코리아 surface defect detection method
CN103778621A (en) * 2012-04-20 2014-05-07 帝麦克斯(苏州)医疗科技有限公司 Identification of foreign object debris
US9116133B2 (en) 2010-03-09 2015-08-25 Federal-Mogul Corporation Bore inspection system and method of inspection therewith
JP2017101939A (en) * 2015-11-30 2017-06-08 シグマ株式会社 Inner surface inspection device
JP2019124609A (en) * 2018-01-17 2019-07-25 株式会社ミツトヨ Three-d shape auto-tracing method and measuring machine
CN110686610A (en) * 2019-09-11 2020-01-14 北京大学 Optical deformation measuring method based on self-adaptive grid and electronic equipment
CN111415322A (en) * 2019-01-04 2020-07-14 宁波舜宇光电信息有限公司 Screen display abnormality detection method, device, system and storage medium
CN116721106A (en) * 2023-08-11 2023-09-08 山东明达圣昌铝业集团有限公司 Profile flaw visual detection method based on image processing

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006098126A (en) * 2004-09-28 2006-04-13 Toyota Motor Corp Work surface flaw inspection device
JP2011089869A (en) * 2009-10-22 2011-05-06 Rozefu Technol:Kk Lighting system for image processing
JP2011095090A (en) * 2009-10-29 2011-05-12 Ihi Corp Device and method for inspecting coated state, and program
US9116133B2 (en) 2010-03-09 2015-08-25 Federal-Mogul Corporation Bore inspection system and method of inspection therewith
KR101265953B1 (en) 2011-10-05 2013-05-21 (주)컴텍코리아 surface defect detection method
CN103778621B (en) * 2012-04-20 2018-09-21 帝麦克斯(苏州)医疗科技有限公司 The recognition methods of foreign objects fragment
CN103778621A (en) * 2012-04-20 2014-05-07 帝麦克斯(苏州)医疗科技有限公司 Identification of foreign object debris
JP2017101939A (en) * 2015-11-30 2017-06-08 シグマ株式会社 Inner surface inspection device
JP2019124609A (en) * 2018-01-17 2019-07-25 株式会社ミツトヨ Three-d shape auto-tracing method and measuring machine
CN111415322A (en) * 2019-01-04 2020-07-14 宁波舜宇光电信息有限公司 Screen display abnormality detection method, device, system and storage medium
CN110686610A (en) * 2019-09-11 2020-01-14 北京大学 Optical deformation measuring method based on self-adaptive grid and electronic equipment
CN110686610B (en) * 2019-09-11 2020-12-22 北京大学 Optical deformation measuring method based on self-adaptive grid and electronic equipment
CN116721106A (en) * 2023-08-11 2023-09-08 山东明达圣昌铝业集团有限公司 Profile flaw visual detection method based on image processing
CN116721106B (en) * 2023-08-11 2023-10-20 山东明达圣昌铝业集团有限公司 Profile flaw visual detection method based on image processing

Similar Documents

Publication Publication Date Title
US4449818A (en) Method of inspecting microscopic surface defects
JP3581314B2 (en) Automatic lens inspection system
US5659172A (en) Reliable defect detection using multiple perspective scanning electron microscope images
JP4616864B2 (en) Appearance inspection method and apparatus, and image processing evaluation system
WO2017141611A1 (en) Defect detection apparatus, defect detection method, and program
WO2012157716A1 (en) Method of detecting defect in tire
US20070081154A1 (en) System and method for conducting adaptive fourier filtering to detect defects in dense logic areas of an inspection surface
US8761488B2 (en) Image data processing method and image creating method
JP2001034762A (en) Method and device for image processing checking
US5995212A (en) System and method for inspecting an optical fiber including an epoxy area surrounding the optical fiber
JP2001118899A (en) Inspection apparatus for foreign object and pattern defect
JP4211092B2 (en) Automatic welding defect detection method in radiographic inspection
JP2002257736A (en) Method and device for inspecting end face of honeycomb structure
JP3333568B2 (en) Surface defect inspection equipment
US20020141634A1 (en) Pattern defect inspection apparatus and method
JP2001033225A (en) Image processing and inspecting method and image processing and inspecting device
WO2004107268A1 (en) Method and system for detecting top surface non-uniformity of fasteners
JP2000162150A (en) Defect inspecting method and device for metal sample surface
JP3905741B2 (en) Optical member inspection method
JP5390755B2 (en) Appearance inspection method and apparatus using image processing
JP3048342B2 (en) Device for detecting bubbles in transparent plates
JP2003247954A (en) Defect detection method for round body circumference
JP3135075B2 (en) Appearance inspection method and apparatus, magnetic head inspection method and apparatus, and magnetic head manufacturing facility
JPH10103938A (en) Method and apparatus for visual examination of cast product
JP2004108902A (en) Method and system for classifying defect of color display screen