Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3412366B2 - Coating smoothness inspection device - Google Patents
[go: Go Back, main page]

JP3412366B2 - Coating smoothness inspection device - Google Patents

Coating smoothness inspection device

Info

Publication number
JP3412366B2
JP3412366B2 JP28713195A JP28713195A JP3412366B2 JP 3412366 B2 JP3412366 B2 JP 3412366B2 JP 28713195 A JP28713195 A JP 28713195A JP 28713195 A JP28713195 A JP 28713195A JP 3412366 B2 JP3412366 B2 JP 3412366B2
Authority
JP
Japan
Prior art keywords
light
inspected
image
smoothness
dark
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.)
Expired - Fee Related
Application number
JP28713195A
Other languages
Japanese (ja)
Other versions
JPH09126744A (en
Inventor
正則 今西
清 吉田
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP28713195A priority Critical patent/JP3412366B2/en
Publication of JPH09126744A publication Critical patent/JPH09126744A/en
Application granted granted Critical
Publication of JP3412366B2 publication Critical patent/JP3412366B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、塗装面の平滑性を検
査する装置、例えば自動車ボディの塗装面の平滑性を画
像処理によって検査する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for inspecting the smoothness of a painted surface, for example, an apparatus for inspecting the smoothness of a painted surface of an automobile body by image processing.

【0002】[0002]

【従来技術】従来の塗膜平滑性検査装置としては、例え
ば特開平1−213509号公報に示されたものがあ
る。これは、被検査面に所定の明暗縞(ストライプ)模
様を映し出し、被検査面上のゆず肌の凹凸による明暗パ
ターンの乱れを利用して平滑性を検出するものである。
具体的には、被検査面に映した所定の明暗パターン像を
撮像し、得られた受光画像の明暗パターンを2値化し、
これに所定のパターンを重ね合わせることによって形成
される明暗パターンの明部または暗部の形状により、被
検査塗装面の平滑性を判定するものである。また、被検
査面が曲面の場合には、平面の個所と曲面と個所とで区
別してそれぞれ上記の形状ばらつきを算出し、両者の平
均値を用いて判定するように構成されている。
2. Description of the Related Art As a conventional coating film smoothness inspection apparatus, there is one disclosed in Japanese Patent Laid-Open No. 1-213509. In this method, a predetermined light-dark stripe pattern is projected on the surface to be inspected, and the smoothness is detected by utilizing the irregularity of the light-dark pattern due to the unevenness of the orange peel on the surface to be inspected.
Specifically, a predetermined light / dark pattern image projected on the surface to be inspected is captured, and the light / dark pattern of the obtained light-receiving image is binarized,
The smoothness of the painted surface to be inspected is determined by the shape of the bright or dark part of the bright and dark pattern formed by superimposing a predetermined pattern on it. Further, when the surface to be inspected is a curved surface, the above-mentioned shape variation is calculated separately for a flat surface portion, a curved surface, and a portion, and determination is made using the average value of both.

【0003】なお、上記のゆず肌とは次のごとき状態を
言う。すなわち、塗料溶剤の蒸発する過程において発生
する渦対流により、塗料の濃度が厳密には一定でなくな
るので、塗膜の厚さには極めて薄い(低い)凹凸が周期
的に発生する。この凹凸は、例えば山と山の間隔が0.
1〜1cm程度で、凹凸の高さが数μm程度である。こ
のような極めて薄い凹凸は通常では気がつかない程度の
ものであり、欠陥とはならない。しかし、光の加減等で
は“ゆず”やオレンジの表面のように見えることがある
ので、いわゆる“ゆず肌”もしくは“オレンジ肌”と呼
ばれるものである。
The above-mentioned yuzu skin refers to the following states. That is, since the concentration of the paint is not strictly constant due to eddy convection that occurs in the process of evaporation of the paint solvent, extremely thin (low) unevenness is periodically generated in the thickness of the coating film. This unevenness has, for example, a gap between mountains of 0.
It is about 1 to 1 cm, and the height of the irregularities is about several μm. Such extremely thin irregularities are usually not noticeable and do not become defects. However, since it may look like "Yuzu" or the surface of orange under the control of light, it is so-called "Yuzu skin" or "Orange skin".

【0004】[0004]

【発明が解決しようとする課題】しかし、上記のごとき
従来の塗膜平滑性検査装置においては、次のごとき問題
があった。すなわち、従来の塗膜平滑性検査装置おいて
は、上記のごとき検出すべき凹凸の大きさに対応するた
め、照明の明暗パターンのピッチを0.15cm程度に
する必要があり、そのため受光画像に映るストライプの
本数や撮像手段(ビデオカメラ)の画素数(分解能)を
考慮すると、ビデオカメラの撮影範囲(視野)は5cm
×5cm程度と狭い範囲になる。したがって広い範囲を
短時間に検査するのは困難であり、自動車のボディのよ
うな大面積の物体を効率良く検査することが出来ないと
いう問題があった。また、上記のような曲面の検査方法
では、自動車のボディのような複雑な曲面の場合には、
曲面の影響を除去しきれず、かつ処理時間が長くなるの
で、検査効率が悪化するという問題もあった。
However, the conventional coating film smoothness inspection device as described above has the following problems. That is, in the conventional coating film smoothness inspecting apparatus, it is necessary to set the pitch of the light / dark pattern of illumination to about 0.15 cm in order to correspond to the size of the unevenness to be detected as described above. Considering the number of stripes reflected and the number of pixels (resolution) of the imaging means (video camera), the shooting range (field of view) of the video camera is 5 cm.
It is a narrow range of about × 5 cm. Therefore, it is difficult to inspect a wide range in a short time, and there is a problem that a large-area object such as a car body cannot be inspected efficiently. In addition, in the curved surface inspection method as described above, in the case of a complicated curved surface such as an automobile body,
There is also a problem that the inspection efficiency is deteriorated because the effect of the curved surface cannot be completely removed and the processing time becomes long.

【0005】本発明は上記のごとき従来技術の問題を解
決するためになされたものであり、第1の目的は広い面
積の被検査物体を効率良く検査することが出来る塗膜平
滑性検査装置を提供することである。また、第2の目的
は曲面の場合でも精度良く検査することの出来る塗膜平
滑性検査装置を提供することである。
The present invention has been made to solve the problems of the prior art as described above, and a first object of the present invention is to provide a coating film smoothness inspection apparatus capable of efficiently inspecting an object to be inspected in a large area. Is to provide. A second object is to provide a coating film smoothness inspecting device capable of inspecting accurately even on a curved surface.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
め、本発明においては特許請求の範囲に記載するように
構成している。
In order to achieve the above object, the present invention is constructed as described in the claims.

【0007】まず、請求項1に記載の発明においては、
被検査面に所定の明暗パターンを映し、その受光画像を
電気信号の画像データに変換する。そして上記画像デー
タから明暗パターンの画像における明部と暗部の境界領
域を抽出し、それを2値化した2値化画像における明暗
境界領域の幅のばらつき度合(乱れの大きさに対応す
る)に応じて被検査面の平滑性を判定するように構成し
ている。なお、平滑性の度合は、実際の塗装作業におい
て必要とされる品質に応じて、予め官能評価を行なって
定められた度合であり、例えば“良、可、不可”のよう
な数段階に表示するか、或いは1〜5の5段階評価や1
〜10の10段階評価等で表示することが出来る。上記
の構成は、例えば後記図6に示す実施の形態に相当す
る。
First, in the invention described in claim 1,
A predetermined light-dark pattern is projected on the surface to be inspected, and the received light image is converted into image data of electric signals. Then, a boundary area between a light portion and a dark portion in the image of the light-dark pattern is extracted from the image data, and the width of the light-dark boundary area in the binarized image obtained by binarizing the extracted boundary area is adjusted to the degree of variation (corresponding to the magnitude of the disturbance). The smoothness of the surface to be inspected is determined accordingly. The degree of smoothness is a degree determined by performing sensory evaluation in advance according to the quality required in the actual painting work, and is displayed in several stages such as "good, good, bad". Yes, or 5 grades from 1 to 5 or 1
It can be displayed in a 10-step evaluation of 10 to 10. The above configuration corresponds to, for example, the embodiment shown in FIG. 6 described later.

【0008】また、請求項2に記載の発明においては、
上記明暗境界領域の2値化画像を細線化して画像の中心
線を抽出する細線化手段を設け、上記明暗境界領域にお
ける上記中心線と直角方向の幅を明暗境界領域の幅とし
て平滑性を判定するように構成している。
Further, in the invention described in claim 2,
Thinning means for thinning the binarized image in the light-dark boundary region to extract the center line of the image is provided, and the smoothness is determined using the width in the direction perpendicular to the center line in the light-dark boundary region as the width of the light-dark boundary region. It is configured to do.

【0009】また、請求項3に記載の発明においては、
上記2値化手段で2値化された明暗境界領域を一旦膨張
させたのち収縮させる膨張/収縮処理を行なう膨張/収
縮手段を設けることによって乱れ部分(ゆず肌等によっ
てストライプの受光画像の境界部分に発生する乱れ)を
除いた画像を作成し、それと上記2値化手段で2値化さ
れた画像との論理演算(例えば排他的論理和を求める)
を行ない、その結果として抽出された乱れ部分に相当す
る領域の個数もしくは総面積に基づいて被検査面の平滑
性を判定するように構成している。上記の構成は、例え
ば後記図7に示す実施の形態に相当する。
Further, in the invention described in claim 3,
By providing expansion / contraction means for performing expansion / contraction processing in which the light / dark boundary area binarized by the binarizing means is once expanded and then contracted, the disturbed portion (the boundary portion of the light-receiving image of the stripe due to orange peel or the like is provided. Image is removed, and a logical operation is performed with the image binarized by the binarizing means (for example, exclusive OR is obtained).
Is performed, and the smoothness of the surface to be inspected is determined based on the number or the total area of the regions corresponding to the disturbed portions extracted as a result. The above configuration corresponds to, for example, the embodiment shown in FIG. 7 described later.

【0010】また、請求項4に記載の発明においては、
明暗境界抽出手段で求められた明暗境界領域を平滑化す
る平滑化手段を設け、明暗境界領域の2値化画像と平滑
処理後の2値化画像との論理演算を行ない、その結果と
して抽出された乱れ部分に相当する領域の個数もしくは
総面積に基づいて被検査面の平滑性を判定するように構
成している。上記の構成は、例えば後記図8に示す実施
の形態に相当する。
Further, in the invention described in claim 4,
Smoothing means for smoothing the light-dark boundary area obtained by the light-dark boundary extracting means is provided, and a logical operation is performed on the binarized image of the light-dark boundary area and the smoothed binarized image, and the result is extracted. The smoothness of the surface to be inspected is determined based on the number or the total area of the regions corresponding to the disordered portion. The above configuration corresponds to, for example, the embodiment shown in FIG. 8 described later.

【0011】また、請求項5に記載の発明においては、
明暗境界領域自体と明暗境界領域を平滑化した画像との
差(実際には差の絶対値を求めると後段の処理が容易)
を求める差検出手段を設け、該差検出手段の検出結果を
所定のしきい値で2値化した結果として求められた乱れ
部分に相当する領域の個数もしくは総面積に基づいて被
検査面の平滑性を判定するように構成している。上記の
構成は、例えば後記図9に示す実施の形態に相当する。
According to the invention of claim 5,
The difference between the light-dark boundary area itself and the image with the light-dark boundary area smoothed (actually, the subsequent processing is easy if the absolute value of the difference is obtained)
And a smoothing of the surface to be inspected based on the number or total area of the regions corresponding to the disturbed portion obtained as a result of binarizing the detection result of the difference detecting unit with a predetermined threshold value. It is configured to determine sex. The above configuration corresponds to, for example, the embodiment shown in FIG. 9 described later.

【0012】また、請求項6に記載の発明においては、
受光画像を2値化し、2値化された受光画像を一旦膨張
させたのち収縮させる膨張/収縮処理を行なう膨張/収
縮手段を設け、上記の2値化された画像と上記膨張/収
縮処理後の画像との論理演算を行ない、その結果として
抽出された乱れ部分に相当する領域の個数もしくは総面
積に基づいて被検査面の平滑性を判定するように構成し
ている。上記の構成は、例えば後記図10に示す実施の
形態に相当する。
According to the invention of claim 6,
An expansion / contraction means for binarizing the received light image and expanding / contracting the binarized received light image to expand and contract once is provided, and the binarized image and the expansion / contraction process described above are provided. The image is subjected to a logical operation, and the smoothness of the surface to be inspected is determined based on the number of areas or the total area corresponding to the disturbed portions extracted as a result. The above configuration corresponds to, for example, the embodiment shown in FIG. 10 described later.

【0013】また、請求項7に記載の発明においては、
受光画像を平滑化する平滑化手段を設け、受光画像自体
を2値化した画像と平滑化処理後の画像を2値化した画
像との論理演算を行ない、その結果として抽出された乱
れ部分に相当する領域の個数もしくは総面積に基づいて
被検査面の平滑性を判定するように構成している。上記
の構成は、例えば後記図11に示す実施の形態に相当す
る。
According to the invention of claim 7,
A smoothing means for smoothing the received light image is provided, and a logical operation is performed between the binarized image of the received light image itself and the binarized image of the smoothed image, and as a result, the disturbed portion extracted is obtained. The smoothness of the surface to be inspected is determined based on the number or the total area of the corresponding regions. The above configuration corresponds to, for example, the embodiment shown in FIG. 11 described later.

【0014】また、請求項8に記載の発明においては、
受光画像を平滑化する平滑化手段と、受光画像自体と平
滑化処理結果との差を求める差検出手段とを設け、該差
検出手段の検出結果を2値化した結果として求められた
乱れ部分に相当する領域の個数もしくは総面積に基づい
て被検査面の平滑性を判定するように構成している。上
記の構成は、例えば後記図12に示す実施の形態に相当
する。
Further, in the invention described in claim 8,
A smoothing means for smoothing the received light image and a difference detecting means for obtaining a difference between the received light image itself and the smoothing processing result are provided, and the disturbed portion obtained as a result of binarizing the detection result of the difference detecting means. The smoothness of the surface to be inspected is determined based on the number of areas or the total area corresponding to. The above configuration corresponds to, for example, the embodiment shown in FIG. 12 described later.

【0015】また、請求項9に記載の発明においては、
請求項1〜請求項8に記載の構成において、2値化手段
におけるしきい値として、被検査面の塗装の色に応じて
予め定められた値を用いるように構成したものである。
In the invention described in claim 9,
In the configuration according to any one of claims 1 to 8, the threshold value in the binarizing means is configured to use a predetermined value according to the coating color of the surface to be inspected.

【0016】また、請求項10に記載の発明において
は、請求項1〜請求項8に記載の構成において、受光画
像の輝度に関する物理量に応じて、2値化手段における
しきい値を自動的に設定する手段を備えたものである。
Further, in the invention described in claim 10, in the structure described in any one of claims 1 to 8, the threshold value in the binarizing means is automatically set according to the physical quantity relating to the brightness of the received light image. It is provided with a means for setting.

【0017】上記のように、本発明においては、ゆず肌
等の塗膜表面の微小な凹凸によってって生じる明暗境界
領域の乱れを受光画像から検出し、その乱れの大きさ、
乱れ領域の数、乱れ領域の総面積などによって塗膜面の
平滑性を判定するように構成している。そのため従来の
ようにゆず肌自体を検出する必要がないので、従来装置
よりも照明装置のストライプのピッチを大きくすること
が出来る。例えば、ゆず肌の波長(ピッチ)は一般に
0.1〜1cm程度であり、従来の平滑性検査装置では
上記のごときゆず肌を検出するために、照明の明暗パタ
ーンのピッチを0.15cm程度にする必要があり、そ
のため受光画像に映るストライプの本数やビデオカメラ
の分解能を考慮すると、ビデオカメラの撮影範囲は5c
m×5cm(面積で約25cm2)程度と狭い範囲にな
っていた。しかし、本発明においては、上記のごとくス
トライプの乱れによって平滑性を判定するので、ストラ
イプのピッチを5cm程度にすることが出来、そのため
撮像手段(ビデオカメラ)の撮影範囲は約20×12c
m(面積で約240cm2)程度に大きくすることが可
能になった。この数値は従来の約9〜10倍であり、そ
のだけ広い面積を迅速に検査することが可能になる。
As described above, in the present invention, the disturbance of the light-dark boundary region caused by minute irregularities on the surface of the coating film such as orange peel is detected from the received light image and the magnitude of the disturbance is detected.
The smoothness of the coating film surface is determined based on the number of disordered regions, the total area of the disordered regions, and the like. Therefore, unlike the conventional device, it is not necessary to detect the yuzu skin itself, so that the stripe pitch of the illumination device can be made larger than that of the conventional device. For example, the wavelength (pitch) of yuzu skin is generally about 0.1 to 1 cm, and in the conventional smoothness inspection device, the pitch of the light-dark pattern of illumination is set to about 0.15 cm in order to detect such yuzu skin. Therefore, considering the number of stripes in the received light image and the resolution of the video camera, the shooting range of the video camera is 5c.
It was a narrow range of about m × 5 cm (area about 25 cm 2 ). However, in the present invention, since the smoothness is determined by the disturbance of the stripes as described above, the pitch of the stripes can be set to about 5 cm, and therefore the imaging range of the imaging means (video camera) is about 20 × 12c.
It has become possible to increase the size to about m (about 240 cm 2 in area). This value is about 9 to 10 times the conventional value, and it becomes possible to quickly inspect a large area.

【0018】また、上記のように、明暗境界領域の乱れ
の大きさ、乱れ領域の数、乱れ領域の総面積などによっ
て塗膜面の平滑性を判定するように構成しているので、
被検査面が曲面で受光画像におけるストライプ幅やピッ
チが一定になっていない場合でも平滑性を正確に判定す
ることが出来る。特に請求項2に記載のように、中心線
と直角方向の幅によって判定する構成においては、被検
査面が3次元曲面で受光画像におけるストライプ画像が
斜めになっている場合でも平滑性を正確に判定すること
が出来る。
Further, as described above, since the smoothness of the coating film surface is judged by the size of the disturbance in the light-dark boundary area, the number of the disturbance areas, the total area of the disturbance areas, etc.,
Even if the surface to be inspected is a curved surface and the stripe width or pitch in the received light image is not constant, the smoothness can be accurately determined. In particular, according to the second aspect, in the configuration in which the determination is made by the width in the direction perpendicular to the center line, the smoothness can be accurately measured even when the surface to be inspected is a three-dimensional curved surface and the stripe image in the received light image is oblique. You can judge.

【0019】また、請求項9、請求項10に記載のよう
に、塗装の色に応じて2値化手段のしきい値を設定する
ものにおいては、塗装の色によって輝度やコントラスト
が変化する場合でも正確な判定が可能である。
When the threshold value of the binarizing means is set according to the coating color as described in claims 9 and 10, when the brightness or contrast changes depending on the coating color. However, an accurate judgment is possible.

【0020】[0020]

【発明の実施の形態】以下、この発明を図面に基づいて
説明する。図1は、この発明の一実施の形態における全
体構成を示す図である。図1において、1は照明装置で
あり、被検査面3に所定の明暗パターンの光を照射する
よう配置されている。2はビデオカメラ(例えばCCD
カメラ等)であり、明暗パターンが映し出された被検査
面3を撮像するよう配置されている。また、4はカメラ
コントロールユニットであり、ここではビデオカメラ2
で撮像された受光画像の画像信号が生成され、画像処理
装置5へ出力される。また、6はホストコンピュータで
あり、画像処理装置5の制御や処理結果を外部に表示さ
せたり、出力させる機能を有する。また、7はモニタで
あり、ビデオカメラ2で撮像した画面等を表示する。
DETAILED DESCRIPTION OF THE INVENTION The present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an overall configuration according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes an illuminating device, which is arranged so as to irradiate the surface 3 to be inspected with light of a predetermined bright and dark pattern. 2 is a video camera (eg CCD
A camera or the like), and is arranged so as to capture an image of the surface 3 to be inspected on which the bright and dark patterns are projected. Also, 4 is a camera control unit, here a video camera 2
An image signal of the received light image picked up in is generated and output to the image processing device 5. Reference numeral 6 denotes a host computer, which has a function of externally displaying or outputting control of the image processing apparatus 5 and processing results. A monitor 7 displays a screen imaged by the video camera 2.

【0021】次に、図2は上記画像処理装置5の構成を
示すブロック図である。図2において、カメラコントロ
ールユニット4からの画像信号は、バッファアンプ8を
介しA/D変換器9でディジタル値に変換される。ま
た、MPU(マイクロプロセッサ)10は、画像データ
に対して所定の演算、処理等を行なう。11は画像デー
タや処理結果を記憶するメモリであり、処理結果等はD
/A変換器12を介してモニタ7に出力して表示するこ
とができる。
Next, FIG. 2 is a block diagram showing the configuration of the image processing apparatus 5. In FIG. 2, the image signal from the camera control unit 4 is converted into a digital value by the A / D converter 9 via the buffer amplifier 8. Further, the MPU (microprocessor) 10 performs predetermined calculation, processing, etc. on the image data. Reference numeral 11 denotes a memory that stores image data and processing results.
It can be output to and displayed on the monitor 7 via the / A converter 12.

【0022】次に、図3は、照明装置1の詳細を示す分
解斜視図である。本実施の形態においては、明暗のスト
ライプパターンの照明を用いるものとして説明する。図
3において、1aは光源であり、その光は拡散板1bで
拡散され、ストライプ板1cを通して被検査面に照射さ
れる。拡散板1bは、例えばすりガラスのようなもので
あり、被検査面3に光を均一に照射する。ストライプ板
1cは、透明もしくは拡散板のようなものに黒色のスト
ライプを所定の間隔で施したものである。なお、ストラ
イプ板1cを用いず、拡散板1bに直接ストライプパタ
ーンを設けた構造(例えば艶消しの黒色テープをストラ
イプ状に貼付ける)でも同様の効果がある。上記のごと
き照明装置1を用いることにより、被検査面3上に明暗
(白黒)のストライプ模様を映し出すことが出来る。な
お、照明装置の構造は、被検査面上にストライプ模様を
映し出すことができるものであればよく、上記実施の形
態に限定されるものではない。
Next, FIG. 3 is an exploded perspective view showing the details of the illuminating device 1. In the present embodiment, description will be made assuming that bright and dark stripe pattern illumination is used. In FIG. 3, reference numeral 1a is a light source, and the light is diffused by the diffusion plate 1b and is irradiated on the surface to be inspected through the stripe plate 1c. The diffusion plate 1b is, for example, like frosted glass, and uniformly irradiates the surface 3 to be inspected with light. The stripe plate 1c is a transparent or diffuser plate having black stripes at predetermined intervals. A similar effect can be obtained by using a structure in which a stripe pattern is directly provided on the diffusion plate 1b without using the stripe plate 1c (for example, a matte black tape is attached in a stripe shape). By using the illumination device 1 as described above, a bright and dark (black and white) stripe pattern can be projected on the surface 3 to be inspected. The structure of the illuminating device is not limited to the above embodiment as long as it can project a stripe pattern on the surface to be inspected.

【0023】次に、作用を説明する。明暗ストライプが
映し出されている被検査面3を撮像して得られる受光画
像は、図4に示すようになる。図1に示したように被検
査面3が曲面の場合には、照明装置1のストライプパタ
ーンのピッチが一定の場合でも、受光画像におけるスト
ライプピッチは被検査面3の曲率に応じて図4に示すよ
うに変化する。また、被検査面3にゆず肌のような微小
な凹凸がある場合には、図4に示すようにストライプの
境界線が乱れ、直線状にはならない。図4の受光画像に
おいて、画面左上端を原点(0,0)とし、座標軸x,
yを定めると、任意のyの値(例えばy=ya)におけ
るx方向の濃度(輝度)断面は、図5に示すようにな
る。
Next, the operation will be described. A light-receiving image obtained by imaging the surface 3 to be inspected on which the bright and dark stripes are projected is as shown in FIG. When the surface 3 to be inspected is a curved surface as shown in FIG. 1, even if the pitch of the stripe pattern of the illuminating device 1 is constant, the stripe pitch in the received light image is shown in FIG. 4 according to the curvature of the surface 3 to be inspected. It changes as shown. In addition, when the surface 3 to be inspected has minute irregularities such as orange peel, the boundary line of the stripe is disturbed as shown in FIG. In the light-receiving image of FIG. 4, the upper left corner of the screen is the origin (0, 0), and the coordinate axes x,
When y is determined, the density (luminance) cross section in the x direction at an arbitrary y value (for example, y = ya) is as shown in FIG.

【0024】上記のように、図4に示す受光画像が原画
像S0として図5に示すごとき信号で画像処理装置5に
取り込まれる。例えば、ビデオカメラ2からの画像信号
をA/D変換し、輝度レベルを8bitのディジタル値
に変換した場合、縦軸においては255が最大値で白、
0が最小値で黒となる。また、1画面を512×480
画素の分解能で取り込んだ場合、横軸は0〜512の画
素数となる。
As described above, the received light image shown in FIG. 4 is captured as the original image S0 in the image processing apparatus 5 by a signal as shown in FIG. For example, when the image signal from the video camera 2 is A / D converted and the brightness level is converted to a digital value of 8 bits, 255 is the maximum value on the vertical axis, which is white,
The minimum value of 0 is black. Also, one screen is 512 x 480
When captured at the pixel resolution, the horizontal axis represents the number of pixels of 0 to 512.

【0025】なお、本発明者の実験においては、ビデオ
カメラ2の撮影範囲(視野)はx方向で約20cm、y
方向で約12cm(面積で約240cm2)であり、ス
トライプのピッチは約5cmであった。一般に、ゆず肌
の波長(ピッチ)は0.1〜1cm程度であり、従来の
平滑性検査装置では上記のごときゆず肌を検出するため
に、ストライプのピッチをゆず肌とピッチと同程度以下
にする必要があった。しかし、本発明においては、従来
と異なる原理で平滑性を検出するものであるため、上記
のように、ゆず肌のピッチよりも大幅に大きなピッチの
ストライプを用いることが出来る。そのため、ビデオカ
メラ2の視野も従来の5cm×5cm(面積で約25c
2)程度から上記のように面積比で9〜10倍程度に
拡大することが出来るので、広い面積を迅速に検査する
ことが可能である。
In the experiment conducted by the present inventor, the shooting range (field of view) of the video camera 2 is about 20 cm in the x direction and y.
The direction was about 12 cm (area about 240 cm 2 ), and the stripe pitch was about 5 cm. Generally, the wavelength (pitch) of yuzu skin is about 0.1 to 1 cm, and in order to detect the yuzu skin as described above with the conventional smoothness inspection device, the pitch of the stripe should be equal to or less than that of the yuzu skin. Had to do. However, in the present invention, since the smoothness is detected by a principle different from the conventional one, as described above, it is possible to use stripes having a pitch significantly larger than the pitch of orange peel. Therefore, the field of view of the video camera 2 is also 5 cm × 5 cm (about 25 c in area).
Since the area ratio can be increased from about m 2 ) to about 9 to 10 times as described above, it is possible to quickly inspect a large area.

【0026】以下、画像処理装置における画像処理の内
容について説明する。図6〜図12は、それぞれ本発明
における画像処理の実施の形態を示すブロック図であ
る。まず、図6に示す画像処理について説明する。この
実施の形態は請求項1の構成に相当する。なお、図13
は画像処理における種々の処理段階の画像を示す図であ
り、以下図13を参照しながら説明する。図6におい
て、まず、ステップs1では、ビデオカメラ2から図1
3(a)に示す原画像を入力する。
The contents of image processing in the image processing apparatus will be described below. 6 to 12 are block diagrams showing an embodiment of image processing according to the present invention. First, the image processing shown in FIG. 6 will be described. This embodiment corresponds to the structure of claim 1. Note that FIG.
FIG. 14 is a diagram showing images at various processing stages in image processing, which will be described below with reference to FIG. Referring to FIG. 6, first, in step s1, the video camera 2 is used as shown in FIG.
The original image shown in 3 (a) is input.

【0027】次に、ステップs2では、ストライプの明
暗境界領域を抽出し(明暗境界領域抽出の方法について
は後述)、ステップs3で2値化することにより、図1
3(b)の画像を得る。次に、ステップs4で、画像
(b)の白領域(明暗境界領域)に対してラベリング
(ラベル付け:順番に番号を付す)を行ない、ステップ
s5で各白領域の幅dを計算する。この際、被検査面3
の平滑性が悪いほど白領域(明暗境界領域)の乱れ量も
大きくなるので、幅dの変化も大きくなる。すなわち、
図14に示すように、被検査面3の塗膜の平滑性が悪い
(ゆず肌度大)ほど、明暗境界領域の幅の狭い個所と広
い個所との差が大きくなり、上記の幅の分散と平滑性と
の関係は、図15に示すように、右上がりの関係とな
る。
Next, in step s2, the light-dark boundary area of the stripe is extracted (a method of extracting the light-dark boundary area will be described later), and binarized in step s3 to obtain the result shown in FIG.
Obtain the image of 3 (b). Next, in step s4, the white area (bright / dark boundary area) of the image (b) is labeled (labeled: numbered in order), and the width d of each white area is calculated in step s5. At this time, the surface to be inspected 3
The poorer the smoothness of, the larger the amount of disturbance in the white area (bright / dark boundary area), and thus the greater the change in the width d. That is,
As shown in FIG. 14, the poorer the smoothness of the coating film on the surface 3 to be inspected (the greater the degree of the orange peel skin), the larger the difference between the narrow and wide portions of the light-dark boundary region becomes, and the dispersion of the above-mentioned widths is increased. As shown in FIG. 15, the relationship between and is smoothing upward.

【0028】実際には、例えば図13(b)の画像にお
いて、x方向の幅dを480ラインに対して求め、幅d
の分散を求める統計処理を行ない、その結果と予め求め
ておいた図15の特性から平滑性を求めることが出来
る。上記の処理はステップs6で行なう。なお、図15
に示した幅dの分散と平滑性との関係は、予め複数の検
査員によってゆず肌テストピースを用いた官能評価を行
なって求めておけばよい。また、平滑性の度合は、実際
の塗装作業において必要とされる品質に応じて、予め官
能評価を行なって定められた度合であり、例えば“良、
可、不可”のような数段階に表示するか、或いは1〜5
の5段階評価や1〜10の10段階評価等で表示するこ
とが出来る。上記のような画像処理を行なうことによ
り、被検査面3が図2に示すような曲面であって受光画
像のストライプ幅やピッチが一定でない場合であって
も、平滑性を迅速に測定することが出来る。
Actually, for example, in the image of FIG. 13B, the width d in the x direction is calculated for 480 lines, and the width d
The smoothness can be obtained from the result and the characteristic previously obtained in FIG. 15 by performing a statistical process for obtaining the variance. The above process is performed in step s6. Note that FIG.
The relationship between the dispersion of the width d and the smoothness shown in (3) may be obtained in advance by a sensory evaluation using a yuzu skin test piece by a plurality of inspectors. Further, the degree of smoothness is a degree determined by performing a sensory evaluation in advance according to the quality required in the actual painting work, for example, “good,
Display in several steps such as “Yes, No” or 1 to 5
It can be displayed in a five-level evaluation of 1 or a 10-level evaluation of 1 to 10. By performing the image processing as described above, even if the surface 3 to be inspected is a curved surface as shown in FIG. 2 and the stripe width or pitch of the received light image is not constant, the smoothness can be quickly measured. Can be done.

【0029】次に、被検査面3が3次元的な曲面の場合
について説明する。これは請求項2の構成に相当する。
図16は、被検査面3が3次元的な曲面の場合における
画像処理における種々の段階の処理画像を示す図であ
る。図16において、(a)は受光画像、(b)は明暗
境界領域の抽出結果、(c)は(b)の明暗境界領域を
拡大した図、(d)は(c)の細線化処理結果である。
Next, the case where the surface 3 to be inspected is a three-dimensional curved surface will be described. This corresponds to the structure of claim 2.
FIG. 16 is a diagram showing processed images at various stages in image processing when the surface 3 to be inspected is a three-dimensional curved surface. In FIG. 16, (a) is a light-receiving image, (b) is an extraction result of a light-dark boundary region, (c) is an enlarged view of the light-dark boundary region, (d) is a thinning processing result of (c). Is.

【0030】被検査面3が3次元的な曲面の場合には、
受光画像は図16(a)に示すように歪んで映る。この
場合、図16(c)に示すように、明暗境界領域の真の
幅はd’であるのに、前記のように画面のx方向の幅を
検出するようになっているため、x方向の幅dを明暗境
界領域の幅として誤検出してしまう。この場合、図16
(c)から判るように、d’<dであるため、実際より
も平滑性が悪いと判断してしまうことになる。このよう
な状態を避けるためには、図16(d)に示すように、
抽出した明暗境界領域の細線化を行なって中心線を抽出
し、図16(c)の明暗境界領域において中心線の方向
と直交する方向の幅をd’を検出するように構成すれば
よい。この処理は前記図6のステップs5の幅演算処理
において行なう。
When the surface 3 to be inspected is a three-dimensional curved surface,
The received light image appears distorted as shown in FIG. In this case, as shown in FIG. 16C, the true width of the light-dark boundary area is d ′, but since the width of the screen in the x direction is detected as described above, the x direction can be detected. Will be erroneously detected as the width d of the light-dark boundary area. In this case, FIG.
As can be seen from (c), since d '<d, it is judged that the smoothness is worse than the actual smoothness. In order to avoid such a state, as shown in FIG.
The extracted light / dark boundary area may be thinned to extract the center line, and the width d ′ in the direction orthogonal to the direction of the center line in the light / dark boundary area in FIG. 16C may be detected. This processing is performed in the width calculation processing in step s5 of FIG.

【0031】上記の細線化処理とは画像処理で一般に用
いられている処理方法であり、図形の中心線を線幅1画
素の連結した線として求める処理である。なお、塗膜面
の平滑性が非常に悪く、明暗境界領域の乱れが大きくか
つ複雑なために、細線化処理で求めた中心線が乱れて正
確な方向が認識出来ない場合には、求めた中心線を滑ら
かにする処理、例えば移動平均処理を行なうことによっ
て正確な方向を求めることが出来る。或いは、明暗境界
領域の2値化画像に膨張/収縮処理(後記図7で説明)
を施すことによって乱れを小さくし、その結果に対して
細線化処理を行ない、中心線を求めてもよい。また、上
記の膨張/収縮処理を繰返し行なうことによって明暗境
界領域の乱れが殆どなくなり、斜めの直線状になれば、
細線化することなしに方向を求めることも出来る。
The above-described thinning processing is a processing method generally used in image processing, and is processing for obtaining the center line of a figure as a line in which a line width of 1 pixel is connected. Note that the smoothness of the coating surface was very poor, and the disturbance in the light-dark boundary area was large and complicated, so the center line obtained by the thinning process was disturbed and the accurate direction could not be recognized. An accurate direction can be obtained by performing processing for smoothing the center line, for example, moving average processing. Alternatively, expansion / contraction processing is performed on the binarized image of the light / dark boundary area (described later in FIG. 7).
It is also possible to reduce the turbulence by applying the above, and perform thinning processing on the result to obtain the center line. Further, by repeating the expansion / contraction process described above, the disorder in the light-dark boundary region is almost eliminated, and if it becomes an oblique straight line,
It is possible to find the direction without thinning.

【0032】次に、上記ステップs2の明暗境界抽出処
理の一例について説明する。図17は、明暗境界抽出処
理時における輝度信号波形と画像を示す図である。図1
7において、原画像S0に所定の平滑化処理(例えば単
純平均化フィルタを通す)を行なって微小ノイズを除去
すると、エッジのややぼけた画像S1が得られる。次
に、所定の微分(または差分)処理(例えばsobel
フィルタを通す)を行ない、その結果の絶対値(具体的
にはx方向とy方向の絶対値の和もしくは二乗の和の平
方根)を求めると、明暗の変化する領域(エッジ成分)
のみの画像S2を抽出することが出来る。これを所定の
しきい値で2値化し、例えば明暗境界領域を白(レベル
255)とし、それ以外の背景を黒(レベル0)とした
2値画像S3を作成する。このようにして明暗の境界領
域を抽出することが出来る。なお、明暗境界抽出の方法
は、上記の方法に限られるものではない。
Next, an example of the bright / dark boundary extraction processing in step s2 will be described. FIG. 17 is a diagram showing a luminance signal waveform and an image during the light-dark boundary extraction processing. Figure 1
In FIG. 7, when the original image S0 is subjected to a predetermined smoothing process (for example, passed through a simple averaging filter) to remove minute noise, an image S1 with slightly blurred edges is obtained. Next, a predetermined differentiation (or difference) process (for example, sobel
When the absolute value of the result (specifically, the sum of the absolute values in the x and y directions or the square root of the sum of the squares) is calculated, the area where the brightness changes (edge component)
Only the image S2 can be extracted. This is binarized with a predetermined threshold value, and for example, a binary image S3 in which the light-dark boundary area is white (level 255) and the other background is black (level 0) is created. In this way, the bright and dark boundary areas can be extracted. The method of extracting the light and dark boundaries is not limited to the above method.

【0033】次に、図7に示す画像処理について説明す
る。この実施の形態は請求項3の構成に相当する。な
お、この場合も図13を参照しながら説明する。図7に
おいて、ステップs1〜ステップs3の処理は、前記図
6と同じである。次に、ステップs7では抽出して2値
化した明暗境界領域に対して膨張/収縮処理を行なう。
この膨張処理とは、図18に示すような画像の或る背景
画素Q0(輝度0の黒:レベル0)の近傍Q1〜Q8中
に少なくとも1つの図形画素(輝度1の白:レベル25
5)がある場合に当該背景画素Q0を輝度1の白に変換
するものである。したがって画像中の図形画像の連結部
分は外側に1画素づつ広がり、すなわち膨張する。この
膨張処理においては、明暗境界領域波形の凹んだところ
から先に輝度1の白に変化するので、膨張処理を繰り返
すことによって乱れ波形が次第に整形される。次に収縮
処理は、上記と逆の処理であり、図形画素を背景画素に
変える処理で、図形画素の連結部分は内側に1画素づつ
収縮する。
Next, the image processing shown in FIG. 7 will be described. This embodiment corresponds to the structure of claim 3. Note that this case will be described with reference to FIG. In FIG. 7, the processing of steps s1 to s3 is the same as that of FIG. Next, in step s7, expansion / contraction processing is performed on the extracted and binarized light-dark boundary area.
This expansion processing means that at least one graphic pixel (white with a brightness of 1: level 25) in the vicinity Q1 to Q8 of a certain background pixel Q0 (black with a brightness of 0: level 0) of an image as shown in FIG.
5), the background pixel Q0 is converted to white with a brightness of 1 when there is. Therefore, the connected portion of the graphic image in the image expands outward by one pixel, that is, expands. In this expansion processing, the concave portion of the light-dark boundary area waveform changes to white with a brightness of 1 first, so the turbulent waveform is gradually shaped by repeating the expansion processing. Next, the contraction process is the reverse of the above process, and is a process of changing a graphic pixel into a background pixel, and the connected portion of the graphic pixel is contracted inside by one pixel.

【0034】上記のような膨張処理を行なうことによ
り、ゆず肌による明暗境界領域の乱れ(図13bの白線
の乱れ)が減少し、直線状の明暗境界領域が得られる。
なお、膨張処理の処理回数は、予想される範囲で最もゆ
ず肌が大きく発生しているサンプルを用い、それに対し
て明暗境界領域の乱れがなくなるまで処理を行なうこと
によって予め実験的に求めておけばよい。次に、上記の
膨張処理の回数と同じ回数だけ収縮処理を繰り返すこと
により、図13(c)に示すように、膨張/収縮処理を
行なう前の明暗境界領域とほぼ同じ幅を持つ直線状の明
暗境界領域が得られる。
By performing the expansion processing as described above, the disorder of the bright-dark boundary region (the disorder of the white line in FIG. 13b) due to the orange peel skin is reduced, and the linear bright-dark boundary region is obtained.
It should be noted that the number of times of expansion processing should be experimentally obtained in advance by using a sample in which the largest amount of yuzu skin occurs in the expected range and performing the processing until there is no disturbance in the light-dark boundary area. Good. Next, by repeating the contraction processing the same number of times as the expansion processing described above, as shown in FIG. 13C, a linear shape having a width substantially the same as that of the light-dark boundary area before the expansion / contraction processing is performed. A light-dark boundary area is obtained.

【0035】次に、ステップs8において、図13
(b)と(c)の画像の排他的論理和(EX−OR)を
求める論理演算を行なうことにより、図13(d)に示
すようなゆず肌による乱れの個所のみを抽出することが
出来る。ゆず肌の凹凸の波長、高さが大きい(塗膜面の
平滑性が悪い)ほどストライプの明暗境界領域の乱れも
大きくなり、図13(d)の抽出領域の個数や総面積が
大きくなる、という関係がある。したがってゆず肌の程
度(塗膜面の平滑性)と上記抽出領域の個数または総面
積との関係を予め実験で求めて定量化しておき、上記抽
出領域の個数または総面積を求めて当てはめることによ
り、塗膜面の平滑性を判定することが出来る。図7にお
いては、ステップs9で図13(d)の各抽出領域にラ
ベリングを行ない、ステップs10で、抽出領域の個数
計算または総面積計算を行ない、ステップs11で、上
記のごとき実験結果に当てはめる処理を行なうことによ
り、平滑性の判定を行なう。
Next, in step s8, as shown in FIG.
By performing a logical operation for obtaining the exclusive OR (EX-OR) of the images of (b) and (c), it is possible to extract only the portion of the disorder due to the orange peel as shown in FIG. 13 (d). . The larger the wavelength and height of the unevenness of the orange peel skin (the poorer the smoothness of the coating film surface), the larger the disturbance of the light-dark boundary region of the stripe, and the larger the number and total area of the extraction regions in FIG. There is a relationship. Therefore, the relationship between the degree of yuzu skin (smoothness of the coating film surface) and the number or total area of the above-mentioned extracted regions is obtained in advance by experiments and quantified, and the number or total area of the above-mentioned extracted regions is obtained and applied. It is possible to judge the smoothness of the coating film surface. In FIG. 7, in step s9, labeling is performed on each extraction region of FIG. 13 (d), in step s10, the number of extraction regions or the total area is calculated, and in step s11, the process of applying the above experimental results. The smoothness is determined by performing.

【0036】次に、上記の平滑性判定方法において、被
検査面3の曲率によって画面に映るストライプの本数が
変化する場合について説明する。上記のようにステップ
s10、s11の処理において、図13(d)における
抽出領域の数によって平滑性を判定する方法の場合に
は、1画面当りのストライプの本数が同じである方が望
ましい。この理由は、1画面当りのストライプの本数に
よって明暗境界領域の数が変化するので、平滑性が同じ
でも1画面に映るストライプの本数が多いほど上記抽出
領域の数も増加し、平滑性判定結果に誤差を生じるおそ
れがあるためである。
Next, a case where the number of stripes displayed on the screen changes depending on the curvature of the surface 3 to be inspected in the above-mentioned smoothness judging method will be described. As described above, in the processing of steps s10 and s11, in the case of the method of determining the smoothness based on the number of extraction regions in FIG. 13D, it is desirable that the number of stripes per screen is the same. The reason for this is that the number of light-dark boundary areas changes depending on the number of stripes per screen, so the number of extraction areas also increases as the number of stripes per screen increases, even if the smoothness is the same, and the smoothness determination result This is because there is a possibility that an error may occur in the.

【0037】上記のごとき誤差の発生を防止するための
対策の1例として、1画面内において一定数の明暗境界
領域に対して判定を行なう方法を説明する。前記図13
において、(b)と(c)との論理演算を行なって
(d)を得る場合に、所定の領域、例えば中央の2領域
(b1、b2とc1、c2)についてのみ毎回行なうように
すれば、図19に示すように曲面によって画面全体に映
るストライプの数が変化しても、常に中央の2領域とい
う一定の領域に対してのみ処理を行なうので、毎回正確
な判定を行なうことが出来る。また、上記の1画面当り
の処理領域数は、予め被検査面の最大曲率から画面に映
るストライプ数の最小値を求めておき、それに基づいて
定めておけばよい。また領域の指定は、明暗境界領域の
ラベル番号を指定することや“画面中央”といった画面
内の位置などで指定すればよい。他の方法としては、受
光画像に映るストライプの本数や幅から被検査面の曲率
を算出し、それに基づいて上記処理領域数の決定や処理
領域の指定を行なうように構成してもよい。或いは、上
記の求めた曲率に基づいて抽出領域の個数を直接補正す
るような処理を行なってもよい。
As an example of the measures for preventing the above-described error from occurring, a method of making a judgment on a fixed number of light-dark boundary areas in one screen will be described. FIG. 13
In (3), when (d) is obtained by performing the logical operation of (b) and (c), it is performed only for a predetermined area, for example, the two central areas (b 1 , b 2 and c 1 , c 2 ) every time. By doing so, even if the number of stripes displayed on the entire screen changes due to the curved surface as shown in FIG. 19, the processing is always performed only on a certain area of the two central areas, so that an accurate determination is made every time. You can Further, the number of processing regions per screen may be determined in advance from the maximum curvature of the surface to be inspected and the minimum number of stripes on the screen. The area may be specified by specifying the label number of the light / dark boundary area or by a position in the screen such as "center of screen". As another method, the curvature of the surface to be inspected may be calculated from the number and width of stripes shown in the received light image, and the number of processing areas may be determined or the processing areas may be designated based on the curvature. Alternatively, the number of extraction regions may be directly corrected based on the calculated curvature.

【0038】次に、図8に示す画像処理について説明す
る。この実施の形態は請求項4の構成に相当する。な
お、この場合も図13を参照しながら説明する。図8に
おいて、ステップs1〜ステップs3の処理は、前記図
6と同じである。 次に、ステップs12で、明暗境界
領域の平滑化を行ない、ステップs13で、その2値化
を行ない、その結果を用いて前記図7のステップs8以
下の演算を行なう。上記ステップs12における平滑化
処理は、ゆず肌による明暗境界の乱れを平坦化するため
の処理であり、この結果を2値化すると前記の膨張/収
縮処理と同様に図13(c)に示すごとき画像が得られ
る。
Next, the image processing shown in FIG. 8 will be described. This embodiment corresponds to the structure of claim 4. Note that this case will be described with reference to FIG. In FIG. 8, the processing of steps s1 to s3 is the same as that of FIG. Next, in step s12, the light-dark boundary area is smoothed, and in step s13, the binarization is performed, and the result is used to perform the calculation after step s8 in FIG. The smoothing process in the step s12 is a process for flattening the disturbance of the bright and dark boundaries due to the orange peel skin. If this result is binarized, it is as shown in FIG. 13 (c) like the expansion / contraction process. An image is obtained.

【0039】上記の平滑化処理の具体的な内容は、例え
ば最大値フィルタおよび最小値フィルタである。最大値
フィルタとは、例えば前記図18のような3×3サイズ
の場合に、Q0〜Q8の9個の画素のうちの輝度値の最
大値をQ0の新しい輝度とするものであり、最小値フィ
ルタは上記の逆に最小値を新しい輝度とするものであ
る。このような最大値フィルタ処理を前記図17のS2
のような濃淡画像に適用すると、周囲よりも輝度値の大
きな領域が広がることになるので、明暗境界領域が周囲
に広がる。この際、明暗境界領域波形の凹んだところか
ら先に輝度の大きな領域に変化するので、最大値処理を
繰り返すことによって乱れ波形が次第に整形される。こ
の処理をゆず肌による乱れが埋め尽くされるまで行な
う。次に、上記の最大値フィルタ処理と同じ回数だけ最
小値フィルタ処理を行ない、領域の幅をほぼ元の値に戻
した後、2値化すると、前記図13(c)に示したよう
な直線的な明暗境界領域が得られる。すなわち、最大値
フィルタ/最小値フィルタ処理を行なっても前記の膨張
/収縮処理と同様の結果が得られる。
The specific contents of the smoothing process are, for example, a maximum value filter and a minimum value filter. The maximum value filter is, for example, in the case of a 3 × 3 size as shown in FIG. 18, that sets the maximum value of the brightness values of the nine pixels Q0 to Q8 as the new brightness of Q0, and the minimum value. On the contrary, the filter uses the minimum value as the new luminance. Such maximum value filtering is performed in S2 of FIG.
When applied to such a grayscale image, a region having a larger brightness value than the surroundings spreads, so that the light-dark boundary region spreads around. At this time, since the concave / convex portion of the light / dark boundary region waveform is changed to a region having a higher luminance first, the disturbed waveform is gradually shaped by repeating the maximum value processing. This process is repeated until the disorder due to Yuzu skin is completely filled. Next, the minimum value filter processing is performed the same number of times as the maximum value filter processing described above to return the width of the region to almost the original value, and then binarized to obtain a straight line as shown in FIG. A light and dark boundary area is obtained. That is, even if the maximum value / minimum value filter processing is performed, the same result as the expansion / contraction processing can be obtained.

【0040】次に、図9に示す画像処理について説明す
る。この実施の形態は請求項5の構成に相当する。な
お、この場合も図13を参照しながら説明する。図9に
おいて、ステップs1とステップs2における処理は、
前記図6と同じである。次に、ステップs14で、ステ
ップs2で求めた明暗境界領域に対して平滑化処理(図
8のステップ12と同様)を行ない、ステップs15
で、平滑化処理結果とステップs2で求めた明暗境界領
域との差の絶対値を求める。この結果は、明暗境界に乱
れがあった個所の輝度値がそれ以外の個所より高く残る
ため、ステップs16で、所定のしきい値で2値化する
と、前記図13(d)のごとき画像が得られる。その後
は、前記と同様にステップs9〜s11の処理を行なう
ことによって平滑性を判定することが出来る。なお、ス
テップs15においては単に両者の差を求めてもよい
が、その場合には符号に注意する必要があるので後処理
が複雑になる。したがって上記のように差の絶対値を求
めることにより、後処理を容易にしている。
Next, the image processing shown in FIG. 9 will be described. This embodiment corresponds to the structure of claim 5. Note that this case will be described with reference to FIG. In FIG. 9, the processes in steps s1 and s2 are as follows.
This is the same as in FIG. Next, in step s14, smoothing processing (similar to step 12 in FIG. 8) is performed on the light-dark boundary area obtained in step s2, and step s15
Then, the absolute value of the difference between the smoothing processing result and the light-dark boundary area obtained in step s2 is obtained. This result shows that the brightness value at the part where the light-dark boundary is disturbed remains higher than that at other parts, so if the value is binarized at a predetermined threshold value in step s16, the image as shown in FIG. can get. After that, the smoothness can be determined by performing the processing of steps s9 to s11 similarly to the above. It should be noted that in step s15, the difference between the two may be simply obtained, but in that case the post-processing becomes complicated because it is necessary to pay attention to the sign. Therefore, the post-processing is facilitated by obtaining the absolute value of the difference as described above.

【0041】次に、図10に示す画像処理について説明
する。この実施の形態は請求項6の構成に相当する。こ
の場合は図20を参照しながら説明する。図10におい
ては、ステップs2の明暗境界抽出処理を行なわず、ス
テップs1入力した画像に対して直ちにステップs3の
2値化処理を行なうと、図20(a)の画像が得られ
る。次に、ステップs17では、2値化画像の白領域ま
たは黒領域の何れか一方に対して膨張/収縮処理を行な
う。例えば、対象を黒領域とすれば、初めに黒領域に対
して膨張処理を行ない、ゆず肌による乱れ(白と黒の境
界領域の乱れ)をなくし、その後、収縮処理を行なって
黒領域の幅をほぼ元の大きさに戻すと、図20(b)の
ような画像が得られる。次に、ステップs8で膨張/収
縮後の画像とステップs3の2値化画像との論理演算
(例えばEX−OR)を行なうことにより、図20
(c)に示すような乱れ領域のみの画像(前記図13d
と同様の画像)が得られる。以下、前記と同様にステッ
プs9〜s11の処理を行なうことによって平滑性を判
定することが出来る。
Next, the image processing shown in FIG. 10 will be described. This embodiment corresponds to the structure of claim 6. This case will be described with reference to FIG. In FIG. 10, if the bright / dark boundary extraction processing in step s2 is not performed, but the binarization processing in step s3 is immediately performed on the image input in step s1, the image in FIG. 20 (a) is obtained. Next, in step s17, expansion / contraction processing is performed on either the white area or the black area of the binarized image. For example, if the target is a black area, the black area is first expanded to eliminate the distortion due to orange peel skin (disturbance of the boundary area between white and black), and then the contraction processing is performed to reduce the width of the black area. Is returned to almost the original size, an image as shown in FIG. 20 (b) is obtained. Next, in step s8, the logical operation (for example, EX-OR) between the image after expansion / contraction and the binarized image in step s3 is performed, and the result of FIG.
An image of only the disordered area as shown in FIG.
The same image) is obtained. After that, the smoothness can be determined by performing the processing of steps s9 to s11 in the same manner as described above.

【0042】次に、図11に示す画像処理について説明
する。この実施の形態は請求項7の構成に相当する。な
お、この場合も図20を参照しながら説明する。図11
においては、一方ではステップs1で入力した入力画像
をステップs3で2値化し、他方ではステップs1で入
力した入力画像をステップs18で平滑化処理したのち
s19で2値化し、その両者に対してステップs8の論
理演算を行なう。上記の平滑化処理はゆず肌による明暗
境界領域の乱れを平坦にするための処理であり、具体的
内容は前記図8のステップs12の平滑化処理と同様で
ある。このような処理によっても図20(c)のような
画像が得られるので、前記と同様にステップs9以下の
処理を行なうことによって平滑性を判定することが出来
る。
Next, the image processing shown in FIG. 11 will be described. This embodiment corresponds to the structure of claim 7. Note that this case will also be described with reference to FIG. Figure 11
In step 1, the input image input in step s1 is binarized in step s3, the input image input in step s1 is smoothed in step s18, and then binarized in step s19. The logical operation of s8 is performed. The above-mentioned smoothing processing is processing for flattening the disturbance of the light-dark boundary area due to orange peel skin, and the specific content is the same as the smoothing processing of step s12 in FIG. Since the image as shown in FIG. 20C is obtained also by such processing, it is possible to determine the smoothness by performing the processing of step s9 and subsequent steps as described above.

【0043】次に、図12に示す画像処理について説明
する。この実施の形態は請求項8の構成に相当する。な
お、この場合も図20を参照しながら説明する。図12
においては、ステップs1で入力した入力画像をステッ
プs20で平滑化処理した結果と入力画像自体との差の
絶対値を求める(この場合も図9と同様に単に両者の差
を求めてもよい)。この結果は、明暗境界に乱れがあっ
た個所の輝度値がそれ以外の個所より高く残るため、ス
テップs22で、所定のしきい値で2値化すると、図2
0(c)のごとき画像が得られる。その後は、前記と同
様にステップs9〜s11の処理を行なうことによって
平滑性を判定することが出来る。
Next, the image processing shown in FIG. 12 will be described. This embodiment corresponds to the structure of claim 8. Note that this case will also be described with reference to FIG. 12
In step 1, the absolute value of the difference between the result of smoothing the input image input in step s1 in step s20 and the input image itself is obtained (also in this case, the difference between the two may be simply obtained as in FIG. 9). . This result shows that the luminance value at the portion where the light-dark boundary is disturbed remains higher than that at the other portions, so if the threshold value is binarized at a predetermined threshold value in step s22,
An image such as 0 (c) is obtained. After that, the smoothness can be determined by performing the processing of steps s9 to s11 similarly to the above.

【0044】次に、被検査面の塗装色による影響を防止
する実施の形態について説明する。この実施の形態は請
求項9の構成に相当する。被検査面3の塗装色によっ
て、例えば前記図17(S1)における明部と暗部の輝
度差すなわちコントラストが変化すると、図17(S
2)に示す明暗境界領域の抽出結果における微分レベル
も変化するので、これを固定のしきい値で2値化した場
合には、塗装色によって明暗境界領域の幅dが変化して
しまう。これを防止する第1の方法としては、予め塗装
色に適したしきい値を実験で求めておき、塗装色に応じ
たしきい値に設定してやる方法である。
Next, an embodiment for preventing the influence of the coating color on the surface to be inspected will be described. This embodiment corresponds to the structure of claim 9. If the brightness difference between the bright portion and the dark portion in FIG. 17 (S1), that is, the contrast, changes depending on the coating color of the surface 3 to be inspected, FIG.
Since the differential level in the extraction result of the light-dark boundary region shown in 2) also changes, if this is binarized with a fixed threshold value, the width d of the light-dark boundary region changes depending on the coating color. As a first method for preventing this, a threshold value suitable for the coating color is previously obtained by an experiment and set to the threshold value corresponding to the coating color.

【0045】また、第2の方法としては、受光画像から
塗装色を認識し、それに応じて2値化のしきい値を自動
的に最適値に設定する方法である。この実施の形態は請
求項10の構成に相当する。以下この方法について説明
する。図21に示すように、塗装色が明るい色(白やシ
ルバーメタリック等)と暗い色(黒、紺、ガンメタリッ
ク等)では、輝度およびコントラストが異なっており、
塗料自身の持つ明度が高いほど輝度値は全体に高く、コ
ントラストは小さくなる傾向がある。したがってこれら
を微分(実際にはsobelフィルタ等の差分フィルタ
を用いる)し、その絶対値を求めると、図22に示すよ
うになり、コントラストの違いに応じて2値化しきい値
を変える必要のあることが判る。なお、図22におい
て、破線はコントラスト大の特性、実線はコントラスト
小の特性を示す。また、ThLはコントラスト大の場合
に適したしきい値、ThDはコントラスト小の場合に適
したしきい値である。
The second method is to recognize the coating color from the received light image and automatically set the binarization threshold value to the optimum value accordingly. This embodiment corresponds to the structure of claim 10. This method will be described below. As shown in FIG. 21, the brightness and the contrast are different between the light paint color (white or silver metallic) and the dark color (black, navy blue, gun metallic, etc.),
The higher the brightness of the paint itself, the higher the brightness value as a whole and the smaller the contrast. Therefore, when these are differentiated (actually, a difference filter such as a sobel filter is used) and the absolute value thereof is obtained, it becomes as shown in FIG. 22, and it is necessary to change the binarization threshold value according to the difference in contrast. I understand. Note that, in FIG. 22, the broken line indicates the characteristic of high contrast, and the solid line indicates the characteristic of low contrast. Further, ThL is a threshold value suitable for high contrast, and ThD is a threshold value suitable for low contrast.

【0046】コントラストの違いに応じて2値化しきい
値を変える方法としては、図21に示したような原画像
の輝度に関する物理量、例えば画像中の輝度の最大値や
平均値などを求め、その大きさに応じて塗装色を判定
し、しきい値を決定する方法が考えられる。或いは、図
21の輝度特性における極大値と極小値とからストライ
プのコントラスト(明暗差)を求め、それに応じてしき
い値を決定することも出来る。上記のように構成するこ
とにより、塗装色が異なっても、受光画像の輝度情報に
基づいて最適なしきい値を自動的に設定することが出
来、常に正確な平滑性を判定することが出来る。
As a method of changing the binarization threshold value according to the difference in contrast, a physical quantity relating to the luminance of the original image as shown in FIG. 21, for example, the maximum value or average value of the luminance in the image is obtained, A method is conceivable in which the coating color is determined according to the size and the threshold value is determined. Alternatively, it is also possible to obtain the contrast (brightness / darkness difference) of the stripes from the maximum value and the minimum value in the luminance characteristic of FIG. 21 and determine the threshold value accordingly. With the above-mentioned configuration, even if the coating color is different, the optimum threshold value can be automatically set based on the luminance information of the received light image, and the accurate smoothness can always be determined.

【0047】[0047]

【発明の効果】以上説明してきたように、本発明におい
ては、ゆず肌等の塗膜表面の微小な凹凸によってって生
じる明暗境界領域の乱れを受光画像から検出し、その乱
れの大きさ、乱れ領域の数、乱れ領域の総面積などによ
って塗膜面の平滑性を判定するように構成しているの
で、従来装置よりも照明装置のストライプのピッチを大
きくすることが出来、それによって撮像手段の撮影範囲
を従来よりも大幅に大きくすることが可能になった。そ
のため、広い面積を迅速に検査することが可能になる、
という効果が得られる。
As described above, according to the present invention, the disturbance of the light-dark boundary region caused by the minute unevenness of the coating film surface such as orange peel is detected from the received light image, and the magnitude of the disturbance is detected. Since the smoothness of the coating film surface is determined by the number of disordered regions, the total area of the disordered regions, etc., the pitch of the stripes of the illuminating device can be made larger than that of the conventional device. It is now possible to significantly increase the shooting range of. Therefore, it becomes possible to inspect a large area quickly.
The effect is obtained.

【0048】また、上記のように、明暗境界領域の乱れ
の大きさ、乱れ領域の数、乱れ領域の総面積などによっ
て塗膜面の平滑性を判定するように構成しているので、
被検査面が曲面で受光画像におけるストライプ幅やピッ
チが一定になっていない場合でも平滑性を正確に判定す
ることが出来る、という効果が得られる。
Further, as described above, the smoothness of the coating film surface is determined by the size of the disturbance in the bright / dark boundary area, the number of the disturbance areas, the total area of the disturbance areas, etc.
Even if the surface to be inspected is a curved surface and the stripe width or pitch in the received light image is not constant, the smoothness can be accurately determined.

【0049】また、塗装の色に応じて2値化手段のしき
い値を設定するように構成したものにおいては、塗装の
色によって輝度やコントラストが変化する場合でも正確
な判定が可能になる、という効果が得られる。
Further, in the case where the threshold value of the binarizing means is set according to the color of the coating, accurate determination can be performed even when the brightness or contrast changes depending on the color of the coating. The effect is obtained.

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

【図1】本発明の一実施の形態における全体構成を示す
ブロック図。
FIG. 1 is a block diagram showing an overall configuration according to an embodiment of the present invention.

【図2】図1における画像処理装置5の一例のブロック
図。
FIG. 2 is a block diagram of an example of the image processing apparatus 5 in FIG.

【図3】図1における照明装置1の一例の分解斜視図。3 is an exploded perspective view of an example of the lighting device 1 in FIG.

【図4】ストライプ状の受光画像を示す図。FIG. 4 is a diagram showing a striped light-receiving image.

【図5】図4の画像信号を示す信号波形図。5 is a signal waveform diagram showing the image signal of FIG.

【図6】第1の実施の形態における処理内容を示すフロ
ーチャート。
FIG. 6 is a flowchart showing the processing contents in the first embodiment.

【図7】第2の実施の形態における処理内容を示すフロ
ーチャート。
FIG. 7 is a flowchart showing the contents of processing in the second embodiment.

【図8】第3の実施の形態における処理内容を示すフロ
ーチャート。
FIG. 8 is a flowchart showing the processing contents in the third embodiment.

【図9】第4の実施の形態における処理内容を示すフロ
ーチャート。
FIG. 9 is a flowchart showing the processing contents in the fourth embodiment.

【図10】第5の実施の形態における処理内容を示すフ
ローチャート。
FIG. 10 is a flowchart showing the processing contents in the fifth embodiment.

【図11】第6の実施の形態における処理内容を示すフ
ローチャート。
FIG. 11 is a flowchart showing the processing contents in the sixth embodiment.

【図12】第7の実施の形態における処理内容を示すフ
ローチャート。
FIG. 12 is a flowchart showing the processing contents in the seventh embodiment.

【図13】画像処理における種々の処理段階の画像を示
す図。
FIG. 13 is a diagram showing images at various processing stages in image processing.

【図14】明暗境界領域の幅dの乱れと平滑性との関係
を示す図。
FIG. 14 is a diagram showing the relationship between the irregularity of the width d of the bright-dark boundary region and the smoothness.

【図15】明暗境界領域の幅dの分散と平滑性との関係
を示す特性図。
FIG. 15 is a characteristic diagram showing the relationship between the variance of the width d of the light-dark boundary region and the smoothness.

【図16】3次元曲面によって明暗境界領域が斜めにな
った場合の処理を示す図。
FIG. 16 is a diagram showing processing when a light-dark boundary region is inclined due to a three-dimensional curved surface.

【図17】他の画像処理における種々の処理段階におけ
る信号波形と画像を示す図。
FIG. 17 is a diagram showing signal waveforms and images at various processing stages in other image processing.

【図18】膨張/収縮処理における画素位置を示す図。FIG. 18 is a diagram showing pixel positions in expansion / contraction processing.

【図19】曲面によって画面全体に映るストライプの数
が変化した状態を示す図。
FIG. 19 is a diagram showing a state in which the number of stripes reflected on the entire screen changes due to a curved surface.

【図20】他の画像処理における種々の処理段階の画像
を示す図。
FIG. 20 is a diagram showing images at various processing stages in other image processing.

【図21】塗装色の明度による輝度およびコントラスト
の変化を示す信号波形図。
FIG. 21 is a signal waveform diagram showing changes in brightness and contrast depending on the brightness of the coating color.

【図22】塗装色の明度に応じた輝度およびコントラス
トの変化による微分結果の波形としきい値を示す図。
FIG. 22 is a diagram showing a waveform and a threshold value of a differentiation result due to changes in luminance and contrast according to the brightness of a coating color.

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

1…照明装置 5…画像処理
装置 1a…光源 6…ホストコ
ンピュータ 1b…拡散板 7…モニタ 1c…ストライプ板 8…バッファ
アンプ 1d…背景 9…A/D変
換器 2…ビデオカメラ 10…MPU 3…被検査面 11…メモリ 4…カメラコントロールユニット 12…D/A変
換器
DESCRIPTION OF SYMBOLS 1 ... Illumination device 5 ... Image processing device 1a ... Light source 6 ... Host computer 1b ... Diffusion plate 7 ... Monitor 1c ... Stripe plate 8 ... Buffer amplifier 1d ... Background 9 ... A / D converter 2 ... Video camera 10 ... MPU 3 ... Surface to be inspected 11 ... Memory 4 ... Camera control unit 12 ... D / A converter

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01B 11/00 - 11/30 G01N 21/88 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G01B 11/00-11/30 G01N 21/88

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】塗装された被検査面に光を照射し、その被
検査面からの反射光に基づいて受光画像を作成し、この
受光画像に基づいて被検査面上の平滑性を検出する塗膜
平滑性検査装置において、 被検査面に所定の明暗パターンを映し出す照明手段と、 上記被検査面を撮像して得られる明暗パターンの受光画
像を電気信号の画像データに変換する撮像手段と、 上記画像データから上記明暗パターンの画像における明
部と暗部の境界領域を抽出する明暗境界抽出手段と、 上記明暗境界抽出手段で求めた明暗境界領域の画像を所
定のしきい値で2値化する2値化手段と、 上記2値化手段の2値化画像における明暗境界領域の幅
のばらつき度合に応じて被検査面の平滑性を判定する判
定手段と、 を備えたことを特徴とする塗膜平滑性検査装置。
1. A coated surface to be inspected is irradiated with light, a light-receiving image is created based on the reflected light from the surface to be inspected, and the smoothness on the surface to be inspected is detected based on this light-receiving image. In the coating film smoothness inspection apparatus, an illuminating means for displaying a predetermined light and dark pattern on the surface to be inspected, and an imaging means for converting a light-receiving image of the light and dark pattern obtained by imaging the surface to be inspected into image data of an electric signal, A bright / dark boundary extracting means for extracting a boundary area between a bright portion and a dark portion in the image of the light / dark pattern from the image data, and the image of the bright / dark boundary area obtained by the bright / dark boundary extracting means are binarized by a predetermined threshold value. And a judging unit for judging the smoothness of the surface to be inspected according to the degree of variation in the width of the light-dark boundary region in the binarized image of the binarizing unit. Membrane smoothness inspection device.
【請求項2】上記明暗境界領域の2値化画像を細線化し
て画像の中心線を抽出する細線化手段を設け、上記明暗
境界領域における上記中心線と直角方向の幅を明暗境界
領域の幅として平滑性を判定することを特徴とする請求
項1に記載の塗膜平滑性検査装置。
2. A thinning means for thinning the binarized image of the light-dark boundary region to extract the center line of the image, wherein the width of the light-dark boundary region in the direction perpendicular to the center line is the width of the light-dark boundary region. The coating film smoothness inspection apparatus according to claim 1, wherein the smoothness is determined as.
【請求項3】塗装された被検査面に光を照射し、その被
検査面からの反射光に基づいて受光画像を作成し、この
受光画像に基づいて被検査面上の平滑性を検出する塗膜
平滑性検査装置において、 被検査面に所定の明暗パターンを映し出す照明手段と、 上記被検査面を撮像して得られる明暗パターンの受光画
像を電気信号の画像データに変換する撮像手段と、 上記画像データから上記明暗パターンの画像における明
部と暗部の境界領域を抽出する明暗境界抽出手段と、 上記明暗境界抽出手段で求めた明暗境界領域の画像を所
定のしきい値で2値化する2値化手段と、 上記2値化手段で2値化された明暗境界領域を一旦膨張
させたのち収縮させる膨張/収縮処理を行なう膨張/収
縮手段と、 上記2値化手段で2値化された画像と上記膨張/収縮処
理後の画像との論理演算を行ない、その結果として抽出
された乱れ部分に相当する領域の個数もしくは総面積に
基づいて被検査面の平滑性を判定する判定手段と、 を備えたことを特徴とする塗膜平滑性検査装置。
3. A coated surface to be inspected is irradiated with light, a light receiving image is created based on the reflected light from the surface to be inspected, and the smoothness on the surface to be inspected is detected based on this light receiving image. In the coating film smoothness inspection apparatus, an illuminating means for displaying a predetermined light and dark pattern on the surface to be inspected, and an imaging means for converting a light-receiving image of the light and dark pattern obtained by imaging the surface to be inspected into image data of an electric signal, A bright / dark boundary extracting means for extracting a boundary area between a bright portion and a dark portion in the image of the light / dark pattern from the image data, and the image of the bright / dark boundary area obtained by the bright / dark boundary extracting means are binarized by a predetermined threshold value. Binarization means, expansion / contraction means for expanding / contracting the light / dark boundary area binarized by the binarization means and then contracting it, and binarized by the binarization means. Image and expansion / recovery above Determination means for performing a logical operation with the processed image and determining the smoothness of the surface to be inspected on the basis of the number or total area of the regions corresponding to the disturbed portions extracted as a result. Coating smoothness inspection device.
【請求項4】塗装された被検査面に光を照射し、その被
検査面からの反射光に基づいて受光画像を作成し、この
受光画像に基づいて被検査面上の平滑性を検出する塗膜
平滑性検査装置において、 被検査面に所定の明暗パターンを映し出す照明手段と、 上記被検査面を撮像して得られる明暗パターンの受光画
像を電気信号の画像データに変換する撮像手段と、 上記画像データから上記明暗パターンの画像における明
部と暗部の境界領域を抽出する明暗境界抽出手段と、 上記明暗境界抽出手段で求めた明暗境界領域の画像を所
定のしきい値で2値化する第1の2値化手段と、 上記明暗境界抽出手段で求められた明暗境界領域を平滑
化する平滑化手段と、 上記平滑化処理後の画像を所定のしきい値で2値化する
第2の2値化手段と、 上記第1の2値化手段の処理結果と第2の2値化手段の
処理結果との論理演算を行ない、その結果として抽出さ
れた乱れ部分に相当する領域の個数もしくは総面積に基
づいて被検査面の平滑性を判定する判定手段と、 を備えたことを特徴とする塗膜平滑性検査装置。
4. A coated surface to be inspected is irradiated with light, a light receiving image is created based on the reflected light from the surface to be inspected, and the smoothness on the surface to be inspected is detected based on this light receiving image. In the coating film smoothness inspection apparatus, an illuminating means for displaying a predetermined light and dark pattern on the surface to be inspected, and an imaging means for converting a light-receiving image of the light and dark pattern obtained by imaging the surface to be inspected into image data of an electric signal, The light-dark boundary extracting means for extracting a light-dark boundary area in the light-dark pattern image from the image data, and the light-dark boundary area image obtained by the light-dark boundary extracting means are binarized by a predetermined threshold value. A first binarizing means; a smoothing means for smoothing the light-dark boundary area obtained by the light-dark boundary extracting means; and a second binarizing the smoothed image with a predetermined threshold value. Binarizing means of the above, and the first A logical operation is performed between the processing result of the binarizing means and the processing result of the second binarizing means, and the surface to be inspected is smoothed based on the number or total area of the regions corresponding to the disturbed portions extracted as a result. A coating film smoothness inspecting device comprising: a determination unit for determining the property.
【請求項5】塗装された被検査面に光を照射し、その被
検査面からの反射光に基づいて受光画像を作成し、この
受光画像に基づいて被検査面上の平滑性を検出する塗膜
平滑性検査装置において、 被検査面に所定の明暗パターンを映し出す照明手段と、 上記被検査面を撮像して得られる明暗パターンの受光画
像を電気信号の画像データに変換する撮像手段と、 上記画像データから上記明暗パターンの画像における明
部と暗部の境界領域を抽出する明暗境界抽出手段と、 上記明暗境界抽出手段で求められた明暗境界領域を平滑
化する平滑化手段と、 上記明暗境界抽出手段で求められた明暗境界領域と上記
平滑化手段の処理結果との差を求める差検出手段と、 上記差検出手段の検出結果を所定のしきい値で2値化す
る2値化手段と、 上記2値化手段の処理結果として求められた乱れ部分に
相当する領域の個数もしくは総面積に基づいて被検査面
の平滑性を判定する判定手段と、 を備えたことを特徴とする塗膜平滑性検査装置。
5. A coated surface to be inspected is irradiated with light, a light receiving image is created based on the reflected light from the surface to be inspected, and the smoothness on the surface to be inspected is detected based on this light receiving image. In the coating film smoothness inspection apparatus, an illuminating means for displaying a predetermined light and dark pattern on the surface to be inspected, and an imaging means for converting a light-receiving image of the light and dark pattern obtained by imaging the surface to be inspected into image data of an electric signal, A light-dark boundary extracting means for extracting a boundary area between a light portion and a dark portion in the image of the light-dark pattern from the image data, a smoothing means for smoothing the light-dark boundary area obtained by the light-dark boundary extracting means, and the light-dark boundary. Difference detecting means for obtaining a difference between the bright / dark boundary region obtained by the extracting means and the processing result of the smoothing means; and binarizing means for binarizing the detection result of the difference detecting means with a predetermined threshold value. , The above binarization A coating film smoothness inspection apparatus comprising: a determination unit that determines the smoothness of a surface to be inspected based on the number or total area of regions corresponding to the disordered portion obtained as a processing result of the unit.
【請求項6】塗装された被検査面に光を照射し、その被
検査面からの反射光に基づいて受光画像を作成し、この
受光画像に基づいて被検査面上の平滑性を検出する塗膜
平滑性検査装置において、 被検査面に所定の明暗パターンを映し出す照明手段と、 上記被検査面を撮像して得られる明暗パターンの受光画
像を電気信号の画像データに変換する撮像手段と、 上記受光画像を所定のしきい値で2値化する2値化手段
と、 上記2値化手段で2値化された画像を一旦膨張させたの
ち収縮させる膨張/収縮処理を行なう膨張/収縮手段
と、 上記2値化手段で2値化された画像と上記膨張/収縮処
理後の画像との論理演算を行ない、その結果として抽出
された乱れ部分に相当する領域の個数もしくは総面積に
基づいて被検査面の平滑性を判定する判定手段と、 を備えたことを特徴とする塗膜平滑性検査装置。
6. A coated surface to be inspected is irradiated with light, a light receiving image is created based on the reflected light from the surface to be inspected, and the smoothness on the surface to be inspected is detected based on this light receiving image. In the coating film smoothness inspection apparatus, an illuminating means for displaying a predetermined light and dark pattern on the surface to be inspected, and an imaging means for converting a light-receiving image of the light and dark pattern obtained by imaging the surface to be inspected into image data of an electric signal, Binarization means for binarizing the received light image with a predetermined threshold value, and expansion / contraction means for expanding / contracting the image binarized by the binarization means and then contracting the same. And a logical operation is performed on the image binarized by the binarizing unit and the image after the expansion / contraction processing, and based on the number or total area of regions extracted as a result of the disordered portion. Judgment for judging the smoothness of the surface to be inspected Coating smoothness inspection apparatus characterized by comprising a means.
【請求項7】塗装された被検査面に光を照射し、その被
検査面からの反射光に基づいて受光画像を作成し、この
受光画像に基づいて被検査面上の平滑性を検出する塗膜
平滑性検査装置において、 被検査面に所定の明暗パターンを映し出す照明手段と、 上記被検査面を撮像して得られる明暗パターンの受光画
像を電気信号の画像データに変換する撮像手段と、 上記受光画像を所定のしきい値で2値化する第1の2値
化手段と、 上記受光画像を平滑化する平滑化手段と、 上記平滑化処理後の画像を所定のしきい値で2値化する
第2の2値化手段と、 上記第1の2値化手段の処理結果と第2の2値化手段の
処理結果との論理演算を行ない、その結果として抽出さ
れた乱れ部分に相当する領域の個数もしくは総面積に基
づいて被検査面の平滑性を判定する判定手段と、 を備えたことを特徴とする塗膜平滑性検査装置。
7. A coated surface to be inspected is irradiated with light, a light-receiving image is created based on the reflected light from the surface to be inspected, and the smoothness on the surface to be inspected is detected based on this light-receiving image. In the coating film smoothness inspection apparatus, an illuminating means for displaying a predetermined light and dark pattern on the surface to be inspected, and an imaging means for converting a light-receiving image of the light and dark pattern obtained by imaging the surface to be inspected into image data of an electric signal, A first binarizing means for binarizing the received light image with a predetermined threshold value, a smoothing means for smoothing the received light image, and an image after the smoothing processing with a predetermined threshold value. A second binarizing means for binarizing, and a logical operation of the processing result of the first binarizing means and the processing result of the second binarizing means are performed, and the disturbed portion extracted as a result is Determine the smoothness of the surface to be inspected based on the number of corresponding areas or the total area. Coating smoothness inspection apparatus characterized by comprising: a constant-determining means.
【請求項8】塗装された被検査面に光を照射し、その被
検査面からの反射光に基づいて受光画像を作成し、この
受光画像に基づいて被検査面上の平滑性を検出する塗膜
平滑性検査装置において、 被検査面に所定の明暗パターンを映し出す照明手段と、 上記被検査面を撮像して得られる明暗パターンの受光画
像を電気信号の画像データに変換する撮像手段と、 上記受光画像を平滑化する平滑化手段と、 上記受光画像と上記平滑化手段の処理結果との差を求め
る差検出手段と、 上記差検出手段の検出結果を所定のしきい値で2値化す
る2値化手段と、 上記2値化手段の処理結果として求められた乱れ部分に
相当する領域の個数もしくは総面積に基づいて被検査面
の平滑性を判定する判定手段と、 を備えたことを特徴とする塗膜平滑性検査装置。
8. A coated surface to be inspected is irradiated with light, a light receiving image is created based on the reflected light from the surface to be inspected, and the smoothness on the surface to be inspected is detected based on this light receiving image. In the coating film smoothness inspection apparatus, an illuminating means for displaying a predetermined light and dark pattern on the surface to be inspected, and an imaging means for converting a light-receiving image of the light and dark pattern obtained by imaging the surface to be inspected into image data of an electric signal, Smoothing means for smoothing the received light image, difference detection means for obtaining the difference between the received light image and the processing result of the smoothing means, and the detection result of the difference detection means are binarized with a predetermined threshold value. And a determining means for determining the smoothness of the surface to be inspected based on the number or the total area of the regions corresponding to the disturbed portion obtained as the processing result of the binarizing means. Coating smoothness inspection device characterized by .
【請求項9】上記2値化手段におけるしきい値が被検査
面の塗装の色に応じて予め定められた値であることを特
徴とする請求項1乃至請求項8の何れかに記載の塗膜平
滑性検査装置。
9. The threshold value in the binarizing means is a value that is predetermined according to the color of the coating on the surface to be inspected. Coating smoothness inspection device.
【請求項10】受光画像の輝度に関する物理量に応じ
て、上記2値化手段におけるしきい値を自動的に設定す
る手段を備えたことを特徴とする請求項1乃至請求項8
の何れかに記載の塗膜平滑性検査装置。
10. The apparatus according to claim 1, further comprising means for automatically setting a threshold value in the binarizing means in accordance with a physical quantity relating to the brightness of the received light image.
The coating film smoothness inspection device according to any one of 1.
JP28713195A 1995-11-06 1995-11-06 Coating smoothness inspection device Expired - Fee Related JP3412366B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28713195A JP3412366B2 (en) 1995-11-06 1995-11-06 Coating smoothness inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28713195A JP3412366B2 (en) 1995-11-06 1995-11-06 Coating smoothness inspection device

Publications (2)

Publication Number Publication Date
JPH09126744A JPH09126744A (en) 1997-05-16
JP3412366B2 true JP3412366B2 (en) 2003-06-03

Family

ID=17713473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28713195A Expired - Fee Related JP3412366B2 (en) 1995-11-06 1995-11-06 Coating smoothness inspection device

Country Status (1)

Country Link
JP (1) JP3412366B2 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4491922B2 (en) * 2000-06-21 2010-06-30 トヨタ自動車株式会社 Surface defect inspection method
JP4633245B2 (en) * 2000-11-06 2011-02-16 住友化学株式会社 Surface inspection apparatus and surface inspection method
DE10122917A1 (en) * 2001-05-11 2002-11-14 Byk Gardner Gmbh Device and method for determining the properties of reflective bodies
KR100742003B1 (en) 2003-10-21 2007-07-23 다이하츠고교 가부시키가이샤 Surface defect inspecting method and device
JP4528011B2 (en) * 2003-10-21 2010-08-18 ダイハツ工業株式会社 Inspection surface inspection method and apparatus
CN100520376C (en) 2003-10-21 2009-07-29 大发工业株式会社 Surface defect inspection method and device
JP6132126B2 (en) * 2012-05-14 2017-05-24 パルステック工業株式会社 Translucent object inspection apparatus and translucent object inspection method
WO2014050305A1 (en) * 2012-09-27 2014-04-03 株式会社 日立ハイテクノロジーズ Pattern measurement device, evaluation method of polymer compounds used in self-assembly lithography, and computer program
JP6052590B2 (en) * 2012-09-27 2016-12-27 日産自動車株式会社 Surface inspection apparatus and surface inspection method for automobile body
TWI607212B (en) * 2013-01-16 2017-12-01 住友化學股份有限公司 Image generation device, defect inspection device, and defect inspection method
DE102014108789B4 (en) * 2014-06-24 2026-01-29 Byk-Gardner Gmbh Multi-stage procedure for examining surfaces and corresponding device
JP6360424B2 (en) * 2014-10-31 2018-07-18 株式会社 日立産業制御ソリューションズ Imaging device and buckling inspection device
JP2021139816A (en) * 2020-03-06 2021-09-16 コニカミノルタ株式会社 Workpiece surface inspection device, surface inspection system, surface inspection method, and program
JP7767823B2 (en) * 2021-10-15 2025-11-12 大日本印刷株式会社 Surface texture measuring device and surface texture measuring method

Also Published As

Publication number Publication date
JPH09126744A (en) 1997-05-16

Similar Documents

Publication Publication Date Title
JP3189588B2 (en) Surface defect inspection equipment
JP3185559B2 (en) Surface defect inspection equipment
JP3412366B2 (en) Coating smoothness inspection device
CN111693549A (en) Method for detecting and classifying defects of mobile phone cover plate glass
CN110596116B (en) Vehicle surface flaw detection method and system
JP3127758B2 (en) Method and apparatus for inspecting defects on inspected surface
JP4633245B2 (en) Surface inspection apparatus and surface inspection method
JP3493979B2 (en) Method and apparatus for inspecting defects on inspected surface
JPH0979988A (en) Surface defect inspection equipment
JP2003167529A (en) Screen defect detection method and apparatus, and program for screen defect detection
JP3688520B2 (en) Surface inspection apparatus and surface inspection method
JP3757694B2 (en) Surface defect inspection method
JP3871963B2 (en) Surface inspection apparatus and surface inspection method
JP3201217B2 (en) Surface defect inspection equipment
JP3159063B2 (en) Surface defect inspection equipment
JP3695120B2 (en) Defect inspection method
JP2001028059A (en) Method and device for color unevenness inspection
JP2000132684A (en) External appearance inspecting method
JPH0587782B2 (en)
JP4491922B2 (en) Surface defect inspection method
JP3451183B2 (en) Display panel defect inspection equipment
JPH1010053A (en) Surface defect inspection equipment
JP2000207562A (en) Wafer macro inspection apparatus and method
JP2001235319A (en) Shading correction device, shading correction method, and surface inspection device
JP3038092B2 (en) Appearance inspection method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees