JPH09218094A - Color unevenness inspection device - Google Patents
Color unevenness inspection deviceInfo
- Publication number
- JPH09218094A JPH09218094A JP2531496A JP2531496A JPH09218094A JP H09218094 A JPH09218094 A JP H09218094A JP 2531496 A JP2531496 A JP 2531496A JP 2531496 A JP2531496 A JP 2531496A JP H09218094 A JPH09218094 A JP H09218094A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- angle
- hue
- color
- image
- 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
Links
Landscapes
- Spectrometry And Color Measurement (AREA)
Abstract
(57)【要約】
【課題】本発明は、検査対象物の品種に応じて再現性の
良いカラー画像データを得て、微妙な色むらを判定す
る。
【解決手段】カラーカメラ3のガラス基板1に対する撮
像角度をθ移動テーブル11の角度を制御することによ
りガラス基板1を撮像し、これら撮像角度でのカラー画
像データの赤、緑、青をマンセル表色系の少なくとも色
相の画像データに変換し、この色相の画像データの各ヒ
ストグラムの最大値、最小値の差分値が最も大きいヒス
トグラムでの撮像角度を最適角度として設定する。
(57) Abstract: [PROBLEMS] To obtain subtle color unevenness by obtaining color image data with good reproducibility according to the type of inspection object. An image pickup angle of a color camera 3 with respect to a glass substrate 1 is controlled by controlling an angle of a θ moving table 11, and red, green, and blue of color image data at these image pickup angles are represented by a Munsell table. The image data is converted into image data of at least hue of the color system, and the imaging angle in the histogram having the largest difference between the maximum value and the minimum value of each histogram of the image data of this hue is set as the optimum angle.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば液晶ディス
プレイのガラス基板に塗布されている配向膜や塗装板等
の検査対象物の微妙な色むらを検査する色むら検査装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color unevenness inspection apparatus for inspecting subtle color unevenness of an inspection object such as an alignment film or a coating plate applied to a glass substrate of a liquid crystal display.
【0002】[0002]
【従来の技術】図7はかかる色むら検査装置の構成図で
ある。検査対象物として液晶ディスプレイのガラス基板
1が配置され、このガラス基板1の斜め上方には、照明
装置2が配置されている。2. Description of the Related Art FIG. 7 is a block diagram of such a color unevenness inspection apparatus. A glass substrate 1 of a liquid crystal display is arranged as an inspection object, and an illuminating device 2 is arranged diagonally above the glass substrate 1.
【0003】又、照明装置2とは反対側のガラス基板1
の上方には、工業用カラーテレビジョンカメラ(以下、
カラーカメラと省略する)3が配置されている。このカ
ラーカメラ3は、照明装置2により照明されているガラ
ス基板1の検査領域全体を、ガラス基板1の斜め上方か
ら撮像してその映像信号を出力する。この映像信号はデ
ィジタル変換されて画像処理部4に入力する。The glass substrate 1 on the side opposite to the lighting device 2
Above the above is an industrial color television camera (hereinafter,
3 is arranged. The color camera 3 captures an image of the entire inspection area of the glass substrate 1 illuminated by the illumination device 2 from diagonally above the glass substrate 1 and outputs a video signal thereof. This video signal is digitally converted and input to the image processing unit 4.
【0004】このようにガラス基板1の斜め上方から撮
像するのは、ガラス基板1の色むらは見え方が微妙であ
り真上からでは色むらを認識することが困難となってい
るからである。The reason why the image is picked up obliquely from above the glass substrate 1 is that the color unevenness of the glass substrate 1 is subtle and it is difficult to recognize the color unevenness from directly above. .
【0005】この画像処理部4は、ディジタル映像信号
を取り込んでカラー画像データとして記憶し、このカラ
ー画像データの濃淡レベルからガラス基板1における色
むら部分を判定する。このガラス基板1における色むら
部分の判定結果は、モニタテレビジョン5に映し出され
る。The image processing unit 4 takes in a digital video signal and stores it as color image data, and determines the uneven color portion on the glass substrate 1 from the gray level of this color image data. The determination result of the uneven color portion on the glass substrate 1 is displayed on the monitor television 5.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、ガラス
基板1の見え方は、ガラス基板1の品種によってその最
良の方向が異なる、すなわちガラス基板1の品種によっ
てカラーカメラ3の撮像により得られるカラー画像デー
タのコントラストが異なる。However, the appearance of the glass substrate 1 differs depending on the type of the glass substrate 1, that is, the color image data obtained by the image pickup of the color camera 3 depending on the type of the glass substrate 1. The contrast is different.
【0007】これにより、ガラス基板1の品種によって
カラーカメラ3のガラス基板1に対する撮像角度を最良
のコントラストが得られるように調整する必要がある。
ところが、上記装置では、ガラス基板1の配置角度は固
定であり、ガラス基板1の品種によって最良の撮像角度
に設定するものでなく、再現性の良いカラー画像データ
を得ることができず、微妙な色むらを判定することは困
難である。Therefore, it is necessary to adjust the image pickup angle of the color camera 3 with respect to the glass substrate 1 depending on the type of the glass substrate 1 so that the best contrast can be obtained.
However, in the above apparatus, the arrangement angle of the glass substrate 1 is fixed, and the image pickup angle is not set optimally depending on the type of the glass substrate 1, and it is not possible to obtain color image data with good reproducibility. It is difficult to determine color unevenness.
【0008】そこで本発明は、検査対象物の品種に応じ
て再現性の良いカラー画像データを得ることができて、
微妙な色むらを判定できる色むら検査装置を提供するこ
とを目的とする。Therefore, according to the present invention, it is possible to obtain color image data having good reproducibility according to the kind of the inspection object,
An object of the present invention is to provide a color unevenness inspection device capable of determining subtle color unevenness.
【0009】[0009]
【課題を解決するための手段】請求項1によれば、検査
対象物を撮像装置により撮像して得られるカラー画像デ
ータに基づいて検査対象物の色むらを検査する色むら検
査装置において、撮像装置の検査対象物に対する相対的
な撮像角度を制御する角度制御手段と、この角度制御手
段により制御された複数の撮像角度での撮像装置の撮像
により得られる各カラー画像データの赤、緑、青を色
相、彩度、明度のうち少なくとも1つの画像データに変
換する変換手段と、この変換手段により求められた画像
データに基づいて検査対象物を撮像する撮像装置の撮像
角度を前記複数の撮像角度の中から最適角度に設定する
角度設定手段と、を備えた色むら検査装置である。According to a first aspect of the present invention, there is provided a color unevenness inspection apparatus for inspecting color unevenness of an inspection object based on color image data obtained by imaging the inspection object with an imaging device. Angle control means for controlling a relative imaging angle of the device with respect to the inspection object, and red, green, and blue of each color image data obtained by imaging of the imaging device at a plurality of imaging angles controlled by the angle control means. Of at least one of hue, saturation, and lightness, and an imaging angle of an imaging device that images the inspection object based on the image data obtained by the conversion means. And an angle setting means for setting an optimum angle from among the above.
【0010】このような色むら検査装置であれば、撮像
装置の検査対象物に対する撮像角度を制御し、各撮像角
度により撮像装置で検査対象物を撮像する。これら撮像
角度により撮像装置で検査対象物を撮像すると、その各
カラー画像データは、変換手段に送られ、この変換手段
によりカラー画像データの赤、緑、青が少なくとも色相
及び彩度の各画像データに変換される。In such a color unevenness inspection apparatus, the image pickup angle of the image pickup apparatus with respect to the inspection object is controlled, and the image pickup apparatus takes an image of the inspection object with each image pickup angle. When the image of the inspection object is picked up by the image pickup device at these image pickup angles, the respective color image data are sent to the converting means, and the red, green, and blue of the color image data are at least hue and saturation image data by the converting means. Is converted to.
【0011】そして、これら色相及び彩度の各画像デー
タは角度設定手段に送られ、ここで少なくとも色相の画
像データに基づいて検査対象物を撮像する撮像装置の撮
像角度が最適角度に設定される。Then, each image data of these hues and saturations is sent to the angle setting means, where the image pickup angle of the image pickup device for picking up the inspection object is set to the optimum angle based on at least the image data of hue. .
【0012】請求項2によれば、請求項1記載の色むら
検査装置において、変換手段では少なくとも色相の画像
テータを得、角度設定手段は、各撮像角度での色相の各
画像データの各ヒストグラムを求め、これらヒストグラ
ムの最大値、最小値の差分値が最も大きいヒストグラム
での撮像角度を最適角度として設定する。According to a second aspect of the present invention, in the color unevenness inspection apparatus according to the first aspect, the conversion means obtains at least an image data of hues, and the angle setting means obtains each histogram of each image data of hues at each imaging angle. And the image pickup angle in the histogram having the largest difference between the maximum value and the minimum value of these histograms is set as the optimum angle.
【0013】請求項3によれば、請求項1記載の色むら
検査装置において、変換手段では少なくとも色相及び彩
度の画像データを得、角度設定手段は、各撮像角度での
色相及び彩度の各画像データからこれら色相と彩度との
ベクトルを作成し、これらベクトルのうち最も大きいベ
クトルでの撮像角度を最適角度として設定する。According to a third aspect of the present invention, in the color unevenness inspection apparatus according to the first aspect, the conversion means obtains at least image data of hue and saturation, and the angle setting means sets the hue and saturation at each imaging angle. Vectors of these hues and saturations are created from each image data, and the imaging angle with the largest vector of these vectors is set as the optimum angle.
【0014】[0014]
(1) 以下、本発明の第1の実施の形態について図面を参
照して説明する。図1は請求項1、2に対応する色むら
検査装置の構成図である。液晶ディスプレイのガラス基
板1は、角度調整機構10のθ移動テーブル11上に載
置されている。この角度調整機構10は、架台12の上
部にθ軸駆動モータ13が設けられ、このθ軸駆動モー
タ13の回転軸にθ移動テーブル11が連結されてい
る。(1) Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a color unevenness inspection apparatus corresponding to claims 1 and 2. The glass substrate 1 of the liquid crystal display is placed on the θ moving table 11 of the angle adjusting mechanism 10. The angle adjusting mechanism 10 is provided with a θ-axis drive motor 13 on an upper part of a gantry 12, and a θ-moving table 11 is connected to a rotation shaft of the θ-axis drive motor 13.
【0015】従って、θ移動テーブル11は、θ軸駆動
モータ13の駆動に応動して、照明装置2に対してθ方
向に回転する機構となっている。一方、判定処理部20
は、カラーカメラ3により撮像されたガラス基板1のカ
ラー画像データに基づいてガラス基板1の品種に応じた
最適な撮像角度θに設定して、微妙な色むらを判定する
機能を有している。Therefore, the θ moving table 11 is a mechanism that rotates in the θ direction with respect to the illumination device 2 in response to the drive of the θ axis drive motor 13. On the other hand, the determination processing unit 20
Has a function of determining a subtle color unevenness by setting an optimum imaging angle θ according to the type of glass substrate 1 based on the color image data of the glass substrate 1 captured by the color camera 3. .
【0016】具体的には、主制御部21が備えられ、こ
の主制御部21に対して入力部22、出力部23、操作
部24、画像メモリ25が接続され、かつ主制御部21
から発せられる指令によりRGB−HSI変換部26、
角度設定手段27としての各機能すなわち角度データテ
ーブル28、ヒストグラム作成部29、最大・最小検出
部30、最適角度判定部31、さらには回転制御部3
2、画像処理部33が作動する構成となっている。Specifically, the main control unit 21 is provided, and the input unit 22, the output unit 23, the operation unit 24, and the image memory 25 are connected to the main control unit 21, and the main control unit 21 is also provided.
The RGB-HSI conversion unit 26, according to a command issued from
Each function as the angle setting unit 27, that is, the angle data table 28, the histogram creation unit 29, the maximum / minimum detection unit 30, the optimum angle determination unit 31, and the rotation control unit 3
2. The image processing unit 33 operates.
【0017】このうち入力部22は、カラーカメラ3の
出力端子に対して接続され、このカラーカメラ3から出
力される映像信号をA/D(アナログ/ディジタル)変
換してカラー画像データとして画像メモリ25に送る機
能を有している。Of these, the input section 22 is connected to the output terminal of the color camera 3 and A / D (analog / digital) converts the video signal output from the color camera 3 to obtain an image memory as color image data. It has a function to send to 25.
【0018】出力部23には、モニタテレビジョン34
が接続され、画像メモリ25に記憶された画像データを
モニタテレビジョン34に映し出すものとなっている。
操作部24は、例えばキーボードやマウスである。The output section 23 has a monitor television 34.
Are connected to display the image data stored in the image memory 25 on the monitor television 34.
The operation unit 24 is, for example, a keyboard or a mouse.
【0019】RGB−HSI変換部26は、画像メモリ
25に記憶されているガラス基板1のカラー画像データ
を読み出し、このカラー画像データにおけるR、G、B
の各色信号をマンセル表色系の色相H、彩度S、明度I
の各画像データに変換処理する機能を有している。The RGB-HSI converter 26 reads the color image data of the glass substrate 1 stored in the image memory 25, and R, G, B in this color image data is read.
Each of the color signals of H, H, S, and I of the Munsell color system
It has a function of converting into each image data.
【0020】ここで、RGB−HSI変換部26により
変換される色相H、彩度S、明度Iの各画像データは、
コントラストが低いので、加算部26aにおいて、RG
B−HSI変換部26によるカラー画像データのR、
G、Bからマンセル表色系の色相H、彩度S、明度Iの
各画像データへの変換処理を繰り返し、これらの変換デ
ータを順次加算してそれぞれ画像を強調した色相Hn、
彩度Sn、明度Inの各画像データを得るようにしても
よい。Here, each image data of the hue H, the saturation S, and the brightness I converted by the RGB-HSI converter 26 is as follows.
Since the contrast is low, RG
R of the color image data by the B-HSI conversion unit 26,
The conversion processing from G and B to the image data of the hue H, the saturation S, and the lightness I of the Munsell color system is repeated, and these conversion data are sequentially added to each other to enhance the image.
You may make it obtain each image data of saturation Sn and brightness In.
【0021】角度データテーブル28には、θ移動テー
ブル11の照明装置2に対する角度θ、すなわちカラー
カメラ3のガラス基板1に対する調整用の撮像角度、例
えばθ、θ+Δθ、θ+2Δθが予め記憶されている。The angle data table 28 stores in advance the angle θ of the θ moving table 11 with respect to the illuminating device 2, that is, the image pickup angle for adjustment of the glass substrate 1 of the color camera 3, for example, θ, θ + Δθ, θ + 2Δθ.
【0022】ヒストグラム作成部29は、画像メモリ2
5に記憶されている色相Hn、彩度Sn、明度Inの各
画像データのうち例えば色相Hnの画像データを読み出
し、この色相Hnの画像データでの色相値に対する画素
数のヒストグラムを作成する機能を有している。The histogram creating section 29 is used for the image memory 2
Of the image data of the hue Hn, the saturation Sn, and the lightness In stored in FIG. 5, for example, the image data of the hue Hn is read out, and the function of creating a histogram of the number of pixels with respect to the hue value in the image data of the hue Hn is created. Have
【0023】なお、ヒストグラム作成部29は、カラー
カメラ3のガラス基板1に対する調整用の各撮像角度
θ、θ+Δθ、θ+2Δθごとの各色相Hnの画像デー
タに対してそれぞれヒストグラムを作成する機能を有し
ている。The histogram creating unit 29 has a function of creating a histogram for each image data of each hue Hn for each image pickup angle θ, θ + Δθ, and θ + 2Δθ of the color camera 3 with respect to the glass substrate 1. ing.
【0024】最大・最小検出部30は、調整用の各撮像
角度θ、θ+Δθ、θ+2Δθごとの各ヒストグラムに
おいて、色相値の最大値hmax 、最小値hmin をそれぞ
れ検出する機能を有している。The maximum / minimum detecting section 30 has a function of detecting the maximum value hmax and the minimum value hmin of the hue value in each histogram for each of the image pickup angles θ, θ + Δθ, and θ + 2Δθ for adjustment.
【0025】最適角度判定部31は、最大・最小検出部
30により求められた各撮像角度θ、θ+Δθ、θ+2
Δθごとの色相値の最大値hmax 、最小値hmin の各差
分値 差分値=hmax −hmin …(1) を求め、この差分値の最も大きな値を示す撮像角度θ、
θ+Δθ又はθ+2Δθを最適な撮像角度として判定す
る機能を有している。The optimum angle determination unit 31 is for the respective image pickup angles θ, θ + Δθ, θ + 2 obtained by the maximum / minimum detection unit 30.
Each difference value of the maximum value hmax and the minimum value hmin of the hue value for each Δθ Difference value = hmax−hmin (1) is obtained, and the imaging angle θ indicating the maximum value of the difference value,
It has a function of determining θ + Δθ or θ + 2Δθ as the optimum imaging angle.
【0026】なお、色相Hを用いるのは、コントラスト
が高いと色相環の幅が広くなるので、色相環の幅が最も
広くなるところを最適角度とすることによる。回転制御
部32は、θ軸駆動モータ13を駆動してθ移動テーブ
ル11をθ方向に回転制御するもので、最適角度判定部
31より判定された最適な撮像角度を受けて、この最適
な撮像角度にθ移動テーブル11を回転制御する機能を
有している。The hue H is used because the width of the hue circle is widened when the contrast is high, so that the point where the width of the hue circle is widest is set as the optimum angle. The rotation control unit 32 drives the θ-axis drive motor 13 to control the rotation of the θ movement table 11 in the θ direction, receives the optimum image capturing angle determined by the optimum angle determining unit 31, and receives the optimum image capturing angle. It has a function of controlling the rotation of the θ movement table 11 at an angle.
【0027】画像処理部33は、画像メモリ25に記憶
されたカラー画像データを読み出し、このカラー画像デ
ータの濃淡レベルからガラス基板1における色むら部分
を判定する機能を有している。The image processing section 33 has a function of reading the color image data stored in the image memory 25 and determining the color unevenness portion on the glass substrate 1 from the gray level of this color image data.
【0028】又、この画像処理部33は、加算部26a
により得られる色相Hn、彩度Sn、明度Inの各画像
データの少なくとも1つの画像データ、例えば色相Hn
の画像データを読み出し、この色相Hnの画像データの
濃淡レベルに対する頻度のヒストグラムを作成し、次に
このヒストグラム結果からその平均値、分散値を算出
し、これら平均値、分散値が第1の所定範囲内にあるか
否かを判定し、これら平均値、分散値が第1の許容範囲
外にあれば、色相Hnの画像データを4分の1づつ分割
して各領域画像データを作成し、再びこれら領域画像デ
ータの濃淡レベルに対する頻度のヒストグラムを作成し
てその平均値、分散値を算出することを繰り返し、最終
的に分割して得られる領域画像データにおいて色むらの
有無の判定を行う機能を有している。The image processing unit 33 also includes an adding unit 26a.
At least one of image data of hue Hn, saturation Sn, and lightness In obtained by
Of the image data of the hue Hn, a histogram of the frequency with respect to the gray level of the image data of the hue Hn is created, and then the average value and the variance value are calculated from the histogram result, and the average value and the variance value are the first predetermined values. It is determined whether or not it is within the range, and if the average value and the variance value are outside the first allowable range, the image data of the hue Hn is divided into quarters to create each area image data, A function to repeat the process of creating a histogram of the frequency of these area image data against the gray level and calculating the average value and variance of the histogram, and determining the presence or absence of color unevenness in the finally obtained area image data. have.
【0029】次に上記の如く構成された装置の作用につ
いて説明する。主制御部21は、角度データテーブル2
8に記憶されている各撮像角度θ、θ+Δθ、θ+2Δ
θを読み出して順次回転制御部32に渡す。Next, the operation of the apparatus configured as described above will be described. The main controller 21 uses the angle data table 2
Imaging angles θ, θ + Δθ, θ + 2Δ stored in
θ is read and sequentially passed to the rotation control unit 32.
【0030】この回転制御部32は、これら撮像角度
θ、θ+Δθ、θ+2Δθを順次受け、先ず撮像角度θ
となるようにθ軸駆動モータ13を駆動し、これにより
θ移動テーブル11を照明装置2に対して角度θに設定
する。The rotation control unit 32 sequentially receives the image pickup angles θ, θ + Δθ, and θ + 2Δθ, and first receives the image pickup angle θ.
The θ-axis driving motor 13 is driven so that the angle θ of the θ-moving table 11 with respect to the lighting device 2 is set.
【0031】このときカラーカメラ3は、照明装置2に
より照明されたガラス基板1を撮像してその映像信号を
出力する。この映像信号は、判定処理装置20の入力部
22に送られ、ここでディジタル映像信号に変換され、
撮像角度θのときのカラー画像データとして画像メモリ
25に記憶される。At this time, the color camera 3 picks up an image of the glass substrate 1 illuminated by the illumination device 2 and outputs the image signal. This video signal is sent to the input unit 22 of the determination processing device 20, where it is converted into a digital video signal,
It is stored in the image memory 25 as color image data when the imaging angle is θ.
【0032】次に回転制御部32は、撮像角度θ+Δ
θ、θ+2Δθとなるように順次θ軸駆動モータ13を
駆動し、これによりθ移動テーブル11を照明装置2に
対して順次角度θ+Δθ、θ+2Δθに設定する。Next, the rotation control unit 32 determines the image pickup angle θ + Δ.
The θ-axis drive motor 13 is sequentially driven so as to obtain θ and θ + 2Δθ, whereby the θ movement table 11 is sequentially set to the illumination device 2 at angles θ + Δθ and θ + 2Δθ.
【0033】このときカラーカメラ3は、照明装置2に
より照明されたガラス基板1を撮像してその映像信号を
出力する。この映像信号は、判定処理装置20の入力部
22に送られ、ここでディジタル映像信号に変換され、
順次撮像角度θ+Δθ、θ+2Δθのときの各カラー画
像データとして画像メモリ25に記憶される。At this time, the color camera 3 picks up an image of the glass substrate 1 illuminated by the illumination device 2 and outputs a video signal thereof. This video signal is sent to the input unit 22 of the determination processing device 20, where it is converted into a digital video signal,
The image data is sequentially stored in the image memory 25 as each color image data when the imaging angles are θ + Δθ and θ + 2Δθ.
【0034】このように各撮像角度θ、θ+Δθ、θ+
2Δθの各カラー画像データが画像メモリ25に記憶さ
れると、RGB−HSI変換部26は、画像メモリ25
に記憶されている各撮像角度θ、θ+Δθ、θ+2Δθ
での各カラー画像データを順次読み出し、これらカラー
画像データにおけるR、G、Bの各色信号をマンセル表
色系の色相H、彩度S、明度Iの各画像データに変換処
理し、画像メモリ25に記憶する。In this way, each imaging angle θ, θ + Δθ, θ +
When each color image data of 2Δθ is stored in the image memory 25, the RGB-HSI conversion unit 26 causes the image memory 25 to
Imaging angles θ, θ + Δθ, θ + 2Δθ stored in
In the image memory 25, the R, G, and B color signals in the color image data are sequentially read out and converted into the Munsell color system hue H, saturation S, and lightness I image data. Remember.
【0035】ここで、上記の如く、RGB−HSI変換
部26により変換される色相H、彩度S、明度Iの各画
像データは、コントラストが低いので、加算部26aに
おいて、図2の画像強調フローチャートのステップ#1
〜#4に示すように、RGB−HSI変換部26による
カラー画像データのR、G、Bからマンセル表色系の色
相H、彩度S、明度Iの各画像データへの変換処理を繰
り返し、これらの変換データを順次加算してそれぞれ画
像を強調した色相Hn、彩度Sn、明度Inの各画像デ
ータを得る。Here, as described above, since the image data of the hue H, the saturation S, and the brightness I converted by the RGB-HSI conversion unit 26 has a low contrast, the image enhancement of FIG. Flowchart step # 1
As shown in # 4, the RGB-HSI conversion unit 26 repeats the conversion processing from R, G, B of the color image data to each image data of the hue H, the saturation S, and the lightness I of the Munsell color system, These pieces of conversion data are sequentially added to obtain image data of hue Hn, saturation Sn, and brightness In that emphasizes the image.
【0036】次にヒストグラム作成部29は、画像メモ
リ25に記憶されている色相Hn、彩度Sn、明度In
の各画像データのうち例えば色相Hnの画像データを各
撮像角度θ、θ+Δθ、θ+2Δθごとに読み出し、こ
れら色相Hnの各画像データでの色相値に対する画素数
のヒストグラムを作成する。Next, the histogram creating section 29 determines the hue Hn, the saturation Sn, and the brightness In stored in the image memory 25.
For example, the image data of the hue Hn is read out for each imaging angle θ, θ + Δθ, and θ + 2Δθ, and a histogram of the number of pixels with respect to the hue value of each image data of the hue Hn is created.
【0037】図3(a)(b)(c) はかかる色相値に対する画
素数のヒストグラムの作成結果を示し、同図(a) は撮像
角度θのときのヒストグラム、同図(b) は撮像角度θ+
Δθのときのヒストグラム、同図(c) は撮像角度θ+2
Δθのときのヒストグラムである。FIGS. 3A, 3B and 3C show the results of creating a histogram of the number of pixels with respect to such hue values. FIG. 3A shows the histogram at the imaging angle θ, and FIG. 3B shows the imaging. Angle θ +
Histogram when Δθ, Figure (c) shows imaging angle θ + 2
It is a histogram when Δθ.
【0038】次に最大・最小検出部30は、これら撮像
角度θ、θ+Δθ、θ+2Δθごとの各ヒストグラムに
おいて、色相値の最大値hmax 、最小値hmin をそれぞ
れ検出する。Next, the maximum / minimum detecting section 30 detects the maximum value hmax and the minimum value hmin of the hue value in each histogram for each of these imaging angles θ, θ + Δθ, θ + 2Δθ.
【0039】例えば、図3(a) に示す撮像角度θのとき
のヒストグラムでは色相値の最大値hmax1、最小値hmi
n1を検出し、同図(b) に示す撮像角度θ+Δθのときの
ヒストグラムでは色相値の最大値hmax2、最小値hmin2
を検出し、同図(c) に示す撮像角度θ+2Δθのときの
ヒストグラムでは色相値の最大値hmax3、最小値hmin3
を検出する。For example, in the histogram at the image pickup angle θ shown in FIG. 3 (a), the maximum value hmax1 and the minimum value hmi of the hue values are shown.
Detecting n1 and using the histogram at the imaging angle θ + Δθ shown in Fig. 6 (b), the maximum hue value hmax2 and minimum hue value hmin2
Is detected, and in the histogram at the imaging angle θ + 2Δθ shown in FIG. 7C, the maximum hue value hmax3 and the minimum hue value hmin3
Is detected.
【0040】次に最適角度判定部31は、最大・最小検
出部30により求められた各撮像角度θ、θ+Δθ、θ
+2Δθごとの色相値の最大値hmax 、最小値hmin の
各差分値を上記式(1) に従って求め、この差分値の最も
大きな値を示す撮像角度θ、θ+Δθ又はθ+2Δθを
最適な撮像角度として判定する。Next, the optimum angle determination unit 31 determines the respective imaging angles θ, θ + Δθ, θ obtained by the maximum / minimum detection unit 30.
The difference between the maximum value hmax and the minimum value hmin of the hue value for each + 2Δθ is calculated according to the above equation (1), and the image pickup angle θ, θ + Δθ or θ + 2Δθ showing the largest difference value is determined as the optimum image pickup angle. .
【0041】すなわち、各撮像角度θ、θ+Δθ、θ+
2Δθの場合、色相値の最大値hmax 、最小値hmin の
各差分値の関係は、 (hmax1−hmin1)<(hmax2−hmin2)>(hmax3−hmin3) …(2) となる。That is, each imaging angle θ, θ + Δθ, θ +
In the case of 2Δθ, the relationship between the maximum value hmax and the minimum value hmin of the hue values is (hmax1−hmin1) <(hmax2−hmin2)> (hmax3−hmin3) (2).
【0042】従って、最適角度判定部31は、差分値h
max2−hmin2が最も大きい値であることから撮像角度θ
+Δθのときのコントラストが最も高い撮像角度となる
と判定し、この撮像角度θ+Δθを回転制御部32に送
る。Therefore, the optimum angle determination unit 31 determines the difference value h
Since max2−hmin2 is the largest value, the imaging angle θ
When it is + Δθ, it is determined that the contrast has the highest imaging angle, and this imaging angle θ + Δθ is sent to the rotation control unit 32.
【0043】この回転制御部32は、最適な撮像角度θ
+Δθを受けて、この撮像角度θ+Δθになるようにθ
移動テーブル11を回転制御する。このようにガラス基
板1の品種に対応した最適な撮像角度θ+Δθに設定さ
れると、カラーカメラ3は、照明装置2により照明され
たガラス基板1を撮像してその映像信号を出力する。こ
の映像信号は、入力部22でディジタル映像信号に変換
され、最適な撮像角度θ+Δθのときのカラー画像デー
タとして画像メモリ25に記憶される。The rotation control unit 32 determines the optimum image pickup angle θ.
+ Δθ is received, so that the imaging angle becomes θ + Δθ
The rotation of the moving table 11 is controlled. When the optimum imaging angle θ + Δθ corresponding to the type of glass substrate 1 is set in this way, the color camera 3 images the glass substrate 1 illuminated by the illumination device 2 and outputs the video signal. This video signal is converted into a digital video signal by the input unit 22 and stored in the image memory 25 as color image data at the optimum imaging angle θ + Δθ.
【0044】次に画像処理部33は、画像メモリ25に
記憶されたカラー画像データを読み出し、このカラー画
像データの濃淡レベルからガラス基板1における色むら
部分を判定する。Next, the image processing section 33 reads the color image data stored in the image memory 25, and determines the uneven color portion on the glass substrate 1 from the gray level of this color image data.
【0045】又、他の色むらの判定方法として、RGB
−HSI変換部26は、画像メモリ25に記憶されてい
る撮像角度θ+Δθでのカラー画像データを順次読み出
し、このカラー画像データにおけるR、G、Bの各色信
号をマンセル表色系の色相H、彩度S、明度Iの各画像
データに変換処理し、画像メモリ25に記憶する。As another method for determining the color unevenness, RGB is used.
The −HSI conversion unit 26 sequentially reads the color image data at the imaging angle θ + Δθ stored in the image memory 25, and outputs the R, G, and B color signals in this color image data to the hue H and color of the Munsell color system. The image data is converted into image data of S and lightness I and stored in the image memory 25.
【0046】ここで、加算部26aは、RGB−HSI
変換部26によるカラー画像データのR、G、Bからマ
ンセル表色系の色相H、彩度S、明度Iの各画像データ
への変換処理を繰り返し、これらの変換データを順次加
算してそれぞれ画像を強調した色相Hn、彩度Sn、明
度Inの各画像データを得る。Here, the adder 26a uses the RGB-HSI.
The conversion processing of the color image data R, G, B from the Munsell color system hue H, the saturation S, and the lightness I by the conversion unit 26 is repeated, and these conversion data are sequentially added to each image. The respective image data of the hue Hn, the saturation Sn, and the lightness In that are emphasized are obtained.
【0047】画像処理部33は、加算部26aにより得
られる色相Hn、彩度Sn、明度Inの各画像データの
少なくとも1つの画像データ、例えば色相Hnの画像デ
ータを読み出し、この色相Hnの画像データの濃淡レベ
ルに対する頻度のヒストグラムを作成し、次にこのヒス
トグラム結果からその平均値、分散値を算出し、これら
平均値、分散値が第1の所定範囲内にあるか否かを判定
し、これら平均値、分散値が第1の許容範囲外にあれ
ば、色相Hnの画像データを4分の1づつ分割して各領
域画像データを作成し、再びこれら領域画像データの濃
淡レベルに対する頻度のヒストグラムを作成してその平
均値、分散値を算出することを繰り返し、最終的に分割
して得られる領域画像データにおいて色むらの有無の判
定を行う。The image processing unit 33 reads out at least one image data of the image data of the hue Hn, the saturation Sn, and the brightness In obtained by the adding unit 26a, for example, the image data of the hue Hn, and the image data of the hue Hn. Create a histogram of the frequency with respect to the gray level, and then calculate the average value and variance value from this histogram result, and determine whether these average value and variance value are within the first predetermined range. If the average value and the variance value are outside the first allowable range, the image data of the hue Hn is divided into quarters to create each area image data, and the histogram of the frequency with respect to the gray level of these area image data is again created. Is repeated and the average value and the variance value thereof are calculated, and the presence or absence of color unevenness is determined in the finally divided area image data.
【0048】このように上記第1の実施の形態において
は、カラーカメラ3のガラス基板1に対する撮像角度を
制御してガラス基板1を撮像し、これらカラー画像デー
タの赤、緑、青をマンセル表色系の少なくとも色相の画
像データに変換し、この色相の画像データの各ヒストグ
ラムの最大値、最小値の差分値が最も大きいヒストグラ
ムでの撮像角度を最適角度として設定するようにしたの
で、ガラス基板1の品種に応じてカラーカメラ1のガラ
ス基板1に対する撮像角度を最良のコントラストとなる
ように自動的に調整でき、再現性の良いカラー画像デー
タを得て、微妙な色むらを判定することができる。 (2) 次に本発明の第2の実施の形態について説明する。
なお、図1と同一部分には同一符号を付してその詳しい
説明は省略する。As described above, in the first embodiment, the glass substrate 1 is imaged by controlling the image pickup angle of the color camera 3 with respect to the glass substrate 1, and the red, green, and blue of these color image data are displayed in the Munsell table. At least the hue of the color system is converted into image data, and the image pickup angle in the histogram having the largest difference between the maximum value and the minimum value of each histogram of this hue image data is set as the optimum angle. The image pickup angle of the color camera 1 with respect to the glass substrate 1 can be automatically adjusted to obtain the best contrast according to the type of product 1, color image data with good reproducibility can be obtained, and subtle color unevenness can be determined. it can. (2) Next, a second embodiment of the present invention will be described.
The same parts as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.
【0049】図4は請求項1、3に対応する色むら検査
装置の構成図である。この色むら検査装置は、特にガラ
ス基板1における色の変化が微妙な場合に適用される。
角度設定手段40は、角度データテーブル41、ベクト
ル作成部42、最適角度判定部43の機能を有してい
る。FIG. 4 is a block diagram of a color unevenness inspection apparatus corresponding to the first and third aspects. This color unevenness inspection apparatus is applied especially when the color change in the glass substrate 1 is subtle.
The angle setting means 40 has the functions of an angle data table 41, a vector creation unit 42, and an optimum angle determination unit 43.
【0050】角度データテーブル41には、上記同様
に、θ移動テーブル11の照明装置2に対する角度θ、
すなわちカラーカメラ3のガラス基板1に対する調整用
の撮像角度、例えばθ、θ+Δθ、θ+2Δθが予め記
憶されている。In the angle data table 41, similarly to the above, the angle θ of the θ movement table 11 with respect to the illumination device 2,
That is, the imaging angles for adjustment of the color camera 3 with respect to the glass substrate 1, for example, θ, θ + Δθ, and θ + 2Δθ are stored in advance.
【0051】ベクトル作成部42は、RGB−HSI変
換部26により得られる各撮像角度θ、θ+Δθ、θ+
2Δθごとの色相Hn及び彩度Snの各画像データから
これら色相Hnと彩度Snとのベクトルを作成する機能
を有している。The vector creating section 42 has the respective imaging angles θ, θ + Δθ, θ + obtained by the RGB-HSI converting section 26.
It has a function of creating a vector of the hue Hn and the saturation Sn from each image data of the hue Hn and the saturation Sn for each 2Δθ.
【0052】最適角度判定部43は、これらベクトルの
うち最も大きいベクトルでの撮像角度θ、θ+Δθ又は
θ+2Δθを最適角度として設定する機能を有してい
る。次に上記の如く構成された装置の作用について説明
する。The optimum angle determination unit 43 has a function of setting the imaging angle θ, θ + Δθ or θ + 2Δθ of the largest vector among these vectors as the optimum angle. Next, the operation of the apparatus configured as described above will be described.
【0053】上記同様に、回転制御部32は、各撮像角
度θ、θ+Δθ、θ+2Δθを順次受け、先ず撮像角度
θとなるようにθ軸駆動モータ13を駆動し、これによ
りθ移動テーブル11を照明装置2に対して角度θに設
定する。Similarly to the above, the rotation control unit 32 sequentially receives the respective image pickup angles θ, θ + Δθ, θ + 2Δθ, and first drives the θ-axis drive motor 13 so as to obtain the image pickup angle θ, thereby illuminating the θ movement table 11. The angle θ is set with respect to the device 2.
【0054】このときカラーカメラ3は、照明装置2に
より照明されたガラス基板1を撮像してその映像信号を
出力する。この映像信号は、判定処理装置20の入力部
22に送られ、ここでディジタル映像信号に変換され、
撮像角度θのときのカラー画像データとして画像メモリ
25に記憶される。At this time, the color camera 3 takes an image of the glass substrate 1 illuminated by the illumination device 2 and outputs the image signal. This video signal is sent to the input unit 22 of the determination processing device 20, where it is converted into a digital video signal,
It is stored in the image memory 25 as color image data when the imaging angle is θ.
【0055】次に回転制御部32は、撮像角度θ+Δ
θ、θ+2Δθとなるように順次θ軸駆動モータ13を
駆動し、これによりθ移動テーブル11を照明装置2に
対して順次角度θ+Δθ、θ+2Δθに設定する。Next, the rotation controller 32 determines the image pickup angle θ + Δ.
The θ-axis drive motor 13 is sequentially driven so as to obtain θ and θ + 2Δθ, whereby the θ movement table 11 is sequentially set to the illumination device 2 at angles θ + Δθ and θ + 2Δθ.
【0056】この都度カラーカメラ3は、照明装置2に
より照明されたガラス基板1を撮像してその映像信号を
出力する。この映像信号は、判定処理装置20の入力部
22に送られ、ここでディジタル映像信号に変換され、
順次撮像角度θ+Δθ、θ+2Δθのときの各カラー画
像データとして画像メモリ25に記憶される。Each time, the color camera 3 picks up an image of the glass substrate 1 illuminated by the illumination device 2 and outputs the image signal thereof. This video signal is sent to the input unit 22 of the determination processing device 20, where it is converted into a digital video signal,
The image data is sequentially stored in the image memory 25 as each color image data when the imaging angles are θ + Δθ and θ + 2Δθ.
【0057】このように各撮像角度θ、θ+Δθ、θ+
2Δθの各カラー画像データが画像メモリ25に記憶さ
れると、RGB−HSI変換部26は、画像メモリ25
に記憶されている各撮像角度θ、θ+Δθ、θ+2Δθ
での各カラー画像データを順次読み出し、これらカラー
画像データにおけるR、G、Bの各色信号をマンセル表
色系の色相H、彩度S、明度Iの各画像データに変換処
理し、画像メモリ25に記憶する。In this way, each imaging angle θ, θ + Δθ, θ +
When each color image data of 2Δθ is stored in the image memory 25, the RGB-HSI conversion unit 26 causes the image memory 25 to
Imaging angles θ, θ + Δθ, θ + 2Δθ stored in
In the image memory 25, the R, G, and B color signals in the color image data are sequentially read out and converted into the Munsell color system hue H, saturation S, and lightness I image data. Remember.
【0058】ここで、上記の如く、RGB−HSI変換
部26により変換される色相H、彩度S、明度Iの各画
像データは、コントラストが低いので、加算部26aに
おいて、RGB−HSI変換部26によるカラー画像デ
ータのR、G、Bからマンセル表色系の色相H、彩度
S、明度Iの各画像データへの変換処理を繰り返し、こ
れらの変換データを順次加算してそれぞれ画像を強調し
た色相Hn、彩度Sn、明度Inの各画像データを得
る。Here, as described above, since the image data of the hue H, the saturation S, and the brightness I converted by the RGB-HSI conversion unit 26 has low contrast, the RGB-HSI conversion unit in the addition unit 26a. The conversion processing from R, G, and B of the color image data to the image data of the hue H, the saturation S, and the lightness I of the Munsell color system by 26 is repeated, and these conversion data are sequentially added to emphasize each image. Each image data of the hue Hn, the saturation Sn, and the brightness In obtained.
【0059】次にベクトル作成部42は、画像メモリ2
5に記憶されている各撮像角度θ、θ+Δθ、θ+2Δ
θごとの色相Hn、彩度Sn、明度Iの各画像データの
うち色相Hn、彩度Snの各画像データを読み出し、こ
れら色相Hn、彩度Snを用いて図5に示す極座標表示
のベクトルを作成する。Next, the vector creating section 42 uses the image memory 2
Image pickup angles θ, θ + Δθ, θ + 2Δ stored in
Of the image data of the hue Hn, the saturation Sn, and the lightness I for each θ, the image data of the hue Hn and the saturation Sn are read out, and the vector of polar coordinates shown in FIG. 5 is obtained using the hue Hn and the saturation Sn. create.
【0060】このベクトルは、色相Hnを角度、色彩S
nを大きさとして作成される。ベクトル作成部42は、
各撮像角度θ、θ+Δθ、θ+2Δθの各画像データに
対しその全画素データについてベクトルを作成し、各撮
像角度θ、θ+Δθ、θ+2Δθの各画像データごとに
それぞれ最大ベクトルSHmax と最小ベクトルSHmin
とを求める。This vector has the hue Hn as an angle and the color S as
It is created with n as the size. The vector creation unit 42
A vector is created for each pixel data of each image data of each imaging angle θ, θ + Δθ, θ + 2Δθ, and a maximum vector SHmax and a minimum vector SHmin of each image data of each imaging angle θ, θ + Δθ, θ + 2Δθ.
And ask.
【0061】すなわち、図6に示すように、撮像角度θ
のときの最大ベクトルShmax1、最小ベクトルShmin1
であり、撮像角度θ+Δθのときの最大ベクトルShma
x2、最小ベクトルShmin2であり、撮像角度θ+2Δθ
のときの最大ベクトルShmax3、最小ベクトルhmin3で
ある。That is, as shown in FIG. 6, the imaging angle θ
Maximum vector Shmax1 and minimum vector Shmin1
And the maximum vector Shma when the imaging angle θ + Δθ
x2, the minimum vector Shmin2, and the imaging angle θ + 2Δθ
In this case, the maximum vector Shmax3 and the minimum vector hmin3.
【0062】そして、ベクトル作成部42は、最大ベク
トルSHmax と最小ベクトルSHmin とのベクトル和を
算出する。すなわち、撮像角度θのときのベクトル和S
h1となり、撮像角度θ+Δθのときのベクトル和Sh2
となり、撮像角度θ+2Δθのときのベクトル和Sh3
となる。Then, the vector creating section 42 calculates the vector sum of the maximum vector SHmax and the minimum vector SHmin. That is, the vector sum S at the imaging angle θ
h1 and the vector sum Sh2 at the imaging angle θ + Δθ
And the vector sum Sh3 at the imaging angle θ + 2Δθ
Becomes
【0063】次に最適角度判定部43は、これらベクト
ル和Sh1 、Sh2 、Sh3 のうち最も大きいベクトル
和、ここではベクトル和Sh2 を判定し、このベクトル
和Sh2 に対応する撮像角度θ+Δθを最適角度として
設定する。Next, the optimum angle determination unit 43 determines the largest vector sum of these vector sums Sh1, Sh2, Sh3, here the vector sum Sh2, and sets the imaging angle θ + Δθ corresponding to this vector sum Sh2 as the optimum angle. Set.
【0064】従って、最適角度判定部43は、撮像角度
θ+Δθのときのコントラストが最も高い撮像角度とな
ると判定し、この撮像角度θ+Δθを回転制御部32に
送る。Therefore, the optimum angle determination unit 43 determines that the contrast is the highest at the imaging angle θ + Δθ, and sends the imaging angle θ + Δθ to the rotation control unit 32.
【0065】この回転制御部32は、最適な撮像角度θ
+Δθを受けて、この撮像角度θ+Δθになるようにθ
移動テーブル11を回転制御する。このようにガラス基
板1の品種に対応した最適な撮像角度θ+Δθに設定さ
れると、カラーカメラ3は、照明装置2により照明され
たガラス基板1を撮像してその映像信号を出力する。こ
の映像信号は、入力部22でディジタル映像信号に変換
され、最適な撮像角度θ+Δθのときのカラー画像デー
タとして画像メモリ25に記憶される。The rotation control unit 32 determines the optimum image pickup angle θ.
+ Δθ is received, so that the imaging angle becomes θ + Δθ
The rotation of the moving table 11 is controlled. When the optimum imaging angle θ + Δθ corresponding to the type of glass substrate 1 is set in this way, the color camera 3 images the glass substrate 1 illuminated by the illumination device 2 and outputs the video signal. This video signal is converted into a digital video signal by the input unit 22 and stored in the image memory 25 as color image data at the optimum imaging angle θ + Δθ.
【0066】次に画像処理部33は、画像メモリ25に
記憶されたカラー画像データを読み出し、このカラー画
像データの濃淡レベルからガラス基板1における色むら
部分を判定する。Next, the image processing unit 33 reads the color image data stored in the image memory 25, and determines the uneven color portion on the glass substrate 1 from the gray level of this color image data.
【0067】又、他の色むらの判定方法として、上記同
様に、RGB−HSI変換部26は、画像メモリ25に
記憶されている撮像角度θ+Δθでのカラー画像データ
を順次読み出し、このカラー画像データにおけるR、
G、Bの各色信号をマンセル表色系の色相H、彩度S、
明度Iの各画像データに変換処理し、画像メモリ25に
記憶する。As another method for determining color unevenness, similarly to the above, the RGB-HSI conversion unit 26 sequentially reads the color image data at the imaging angle θ + Δθ stored in the image memory 25, and the color image data R in
Hu and H of the Munsell color system, saturation S,
The image data having the lightness I is converted and stored in the image memory 25.
【0068】ここで、加算部26aは、RGB−HSI
変換部26によるカラー画像データのR、G、Bからマ
ンセル表色系の色相H、彩度S、明度Iの各画像データ
への変換処理を繰り返し、これらの変換データを順次加
算してそれぞれ画像を強調した色相Hn、彩度Sn、明
度Inの各画像データを得る。Here, the adder 26a uses the RGB-HSI.
The conversion processing of the color image data R, G, B from the Munsell color system hue H, the saturation S, and the lightness I by the conversion unit 26 is repeated, and these conversion data are sequentially added to each image. The respective image data of the hue Hn, the saturation Sn, and the lightness In that are emphasized are obtained.
【0069】画像処理部33は、加算部26aにより得
られる色相Hn、彩度Sn、明度Inの各画像データの
少なくとも1つの画像データ、例えば色相Hnの画像デ
ータを読み出し、この色相Hnの画像データの濃淡レベ
ルに対する頻度のヒストグラムを作成し、次にこのヒス
トグラム結果からその平均値、分散値を算出し、これら
平均値、分散値が所定範囲内にあるか否かを判定し、こ
れら平均値、分散値が許容範囲外にあれば、色相Hnの
画像データを4分の1づつ分割して各領域画像データを
作成し、再びこれら領域画像データの濃淡レベルに対す
る頻度のヒストグラムを作成してその平均値、分散値を
算出することを繰り返し、最終的に分割して得られる領
域画像データにおいて色むらの有無の判定を行う。The image processing unit 33 reads out at least one image data of the image data of the hue Hn, the saturation Sn, and the brightness In obtained by the adding unit 26a, for example, the image data of the hue Hn, and the image data of the hue Hn. Create a histogram of the frequency for the light and shade levels of, then calculate the average value, variance value from this histogram result, determine whether these average value, variance value is within a predetermined range, these average values, If the variance value is outside the allowable range, the image data of the hue Hn is divided into quarters to create each area image data, and again the histogram of the frequency with respect to the gray level of these area image data is created and the average thereof is created. The calculation of the value and the variance value is repeated, and the presence or absence of color unevenness is determined in the area image data finally obtained by division.
【0070】このように上記第2の実施の形態において
は、各撮像角度での色相Hn及び彩度Snの各画像デー
タからこれら色相Hnと彩度Snとのベクトルを作成
し、これらベクトルのうち最も大きいベクトルでの撮像
角度を最適角度として設定するようにしたので、色の変
化の微妙な色むらを有するガラス基板1であっても、カ
ラーカメラ1のガラス基板1に対する撮像角度を最良の
コントラストとなるように自動的に調整でき、再現性の
良いカラー画像データを得て、微妙な色むらを判定する
ことができる。As described above, in the second embodiment, the vector of the hue Hn and the saturation Sn is created from each image data of the hue Hn and the saturation Sn at each imaging angle. Since the image pickup angle with the largest vector is set as the optimum angle, even if the glass substrate 1 has a slight color unevenness in color change, the image pickup angle of the color camera 1 with respect to the glass substrate 1 is set to the best contrast. Therefore, it is possible to obtain the color image data with good reproducibility and to judge the subtle color unevenness.
【0071】[0071]
【発明の効果】以上詳記したように本発明の請求項1〜
3によれば、検査対象物の品種に応じて再現性の良いカ
ラー画像データを得ることができて、微妙な色むらを判
定できる色むら検査装置を提供できる。As described in detail above, claims 1 to 5 of the present invention.
According to 3, it is possible to provide the color image data having good reproducibility according to the kind of the inspection object, and to provide the color unevenness inspection apparatus capable of determining the subtle color unevenness.
【図1】本発明に係わる色むら検査装置の第1の実施の
形態を示す構成図。FIG. 1 is a configuration diagram showing a first embodiment of a color unevenness inspection device according to the present invention.
【図2】画像強調のフローチャート。FIG. 2 is a flowchart of image enhancement.
【図3】色相値に対する画素数のヒストグラムを示す
図。FIG. 3 is a diagram showing a histogram of the number of pixels with respect to a hue value.
【図4】本発明に係わる色むら検査装置の第2の実施の
形態を示す構成図。FIG. 4 is a configuration diagram showing a second embodiment of a color unevenness inspection apparatus according to the present invention.
【図5】色相と彩度とから成るベクトルを示す図。FIG. 5 is a diagram showing a vector composed of hue and saturation.
【図6】色相と彩度とから成る各ベクトル和を示す図。FIG. 6 is a diagram showing each vector sum composed of hue and saturation.
【図7】従来の色むら検査装置の構成図。FIG. 7 is a configuration diagram of a conventional color unevenness inspection device.
1…ガラス基板、2…照明装置、3…カラーカメラ、1
0…角度調整機構、11…θ移動テーブル、12…架
台、13…θ軸駆動モータ、20…判定処理部、21…
主制御部、25…画像メモリ、26…RGB−HSI変
換部、27…角度設定手段、28…角度データテーブ
ル、29…ヒストグラム作成部、30…最大・最小検出
部、31…最適角度判定部、32…回転制御部、33…
画像処理部、40…角度設定手段、41…角度データテ
ーブル、42…ベクトル作成部、43…最適角度判定
部。1 ... Glass substrate, 2 ... Illumination device, 3 ... Color camera, 1
0 ... Angle adjusting mechanism, 11 ... θ moving table, 12 ... Stand, 13 ... θ axis drive motor, 20 ... Judgment processing unit, 21 ...
Main control unit, 25 ... Image memory, 26 ... RGB-HSI conversion unit, 27 ... Angle setting means, 28 ... Angle data table, 29 ... Histogram creation unit, 30 ... Maximum / minimum detection unit, 31 ... Optimal angle determination unit, 32 ... Rotation control unit, 33 ...
Image processing unit, 40 ... Angle setting means, 41 ... Angle data table, 42 ... Vector creation unit, 43 ... Optimal angle determination unit.
Claims (3)
られるカラー画像データに基づいて前記検査対象物の色
むらを検査する色むら検査装置において、 前記撮像装置の前記検査対象物に対する相対的な撮像角
度を制御する角度制御手段と、 この角度制御手段により制御された複数の撮像角度での
前記撮像装置の撮像により得られる前記各カラー画像デ
ータの赤、緑、青を色相、彩度、明度のうち少なくとも
1つの画像データに変換する変換手段と、 この変換手段により求められた画像データに基づいて前
記検査対象物を撮像する前記撮像装置の撮像角度を前記
複数の撮像角度の中から最適角度に設定する角度設定手
段と、を具備したことを特徴とする色むら検査装置。1. A color unevenness inspection device for inspecting color unevenness of the inspection target based on color image data obtained by capturing an image of the inspection target with an imaging device, wherein the image pickup device is relative to the inspection target. Angle control means for controlling various image pickup angles, and red, green, and blue of the respective color image data obtained by the image pickup of the image pickup device at a plurality of image pickup angles controlled by the angle control means, hue, saturation, A conversion unit for converting at least one image data of brightness and an image pickup angle of the image pickup device for picking up an image of the inspection object based on the image data obtained by the conversion unit is optimum from the plurality of image pickup angles. An apparatus for inspecting color unevenness, comprising: an angle setting means for setting an angle.
データを得、前記角度設定手段は、各撮像角度での色相
の各画像データの各ヒストグラムを求め、これらヒスト
グラムの最大値、最小値の差分値が最も大きいヒストグ
ラムでの撮像角度を最適角度として設定することを特徴
とする請求項1記載の色むら検査装置。2. The conversion means obtains image data of at least hue, the angle setting means obtains each histogram of each image data of hue at each imaging angle, and a difference value between the maximum value and the minimum value of these histograms. The color unevenness inspection apparatus according to claim 1, wherein the imaging angle in the histogram having the largest value is set as the optimum angle.
度の画像データを得、前記角度設定手段は、各撮像角度
での色相及び彩度の各画像データからこれら色相と彩度
とのベクトルを作成し、これらベクトルのうち最も大き
いベクトルでの撮像角度を最適角度として設定すること
を特徴とする請求項1記載の色むら検査装置。3. The conversion means obtains at least image data of hue and saturation, and the angle setting means creates vectors of these hue and saturation from each image data of hue and saturation at each imaging angle. Then, the color unevenness inspection apparatus according to claim 1, wherein the imaging angle of the largest vector among these vectors is set as the optimum angle.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2531496A JPH09218094A (en) | 1996-02-13 | 1996-02-13 | Color unevenness inspection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2531496A JPH09218094A (en) | 1996-02-13 | 1996-02-13 | Color unevenness inspection device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09218094A true JPH09218094A (en) | 1997-08-19 |
Family
ID=12162548
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2531496A Pending JPH09218094A (en) | 1996-02-13 | 1996-02-13 | Color unevenness inspection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09218094A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020504809A (en) * | 2016-11-11 | 2020-02-13 | ヘンケル・アクチェンゲゼルシャフト・ウント・コムパニー・コマンディットゲゼルシャフト・アウフ・アクチェンHenkel AG & Co. KGaA | Method and apparatus for determining hair color uniformity |
| JP2022050260A (en) * | 2020-09-17 | 2022-03-30 | パナソニックIpマネジメント株式会社 | Coating inspection support method, coating inspection method, coating inspection device, and coating inspection system |
-
1996
- 1996-02-13 JP JP2531496A patent/JPH09218094A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020504809A (en) * | 2016-11-11 | 2020-02-13 | ヘンケル・アクチェンゲゼルシャフト・ウント・コムパニー・コマンディットゲゼルシャフト・アウフ・アクチェンHenkel AG & Co. KGaA | Method and apparatus for determining hair color uniformity |
| JP2022050260A (en) * | 2020-09-17 | 2022-03-30 | パナソニックIpマネジメント株式会社 | Coating inspection support method, coating inspection method, coating inspection device, and coating inspection system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100739824B1 (en) | Keystone correction using a portion of sides of screen | |
| JPH10243415A (en) | Digital camera and method for adjusting color balance | |
| JPH0730796A (en) | Video signal tracking system | |
| WO2006008944A1 (en) | Image processor, image processing method, image processing program, and recording medium on which the program is recorded | |
| JP4489848B2 (en) | Method for correcting image steadyness error in television film scanning, method for changing the motion sequence of a predetermined image object in a television image, and apparatus for performing the method | |
| JPH09218094A (en) | Color unevenness inspection device | |
| JPH11134429A (en) | 2D code reader | |
| JPS6376578A (en) | Automatic binarization method | |
| JPH08116485A (en) | Object tracking device and tracking method for video camera | |
| JPH0969973A (en) | Position adjustment method for solid-state imaging device | |
| CN118741326A (en) | Image processing device | |
| JPH09210790A (en) | Color unevenness inspection method and apparatus | |
| JPH09210789A (en) | Color unevenness inspection device | |
| JPH09218095A (en) | Color unevenness inspection device | |
| KR100265495B1 (en) | Image correction device by optical sensor | |
| JP3610604B2 (en) | Subject tracking device and tracking method for video camera | |
| JP3384916B2 (en) | Imaging device | |
| JPH07218443A (en) | Cylindrical object inspection method | |
| JPS6241505Y2 (en) | ||
| JPH07234942A (en) | Method of determining threshold of area by image analysis | |
| JPS63276371A (en) | Method and apparatus for adjusting picture angle of video camera | |
| JPH0629784B2 (en) | Method and apparatus for color discrimination of glossy object | |
| JP2001298614A (en) | Image reading device | |
| JPH09210788A (en) | Color unevenness inspection device | |
| JPH0674905A (en) | Detection method for cylindrical body |