JP2002286549A - Method and system for inspecting color tone - Google Patents

Method and system for inspecting color tone

Info

Publication number
JP2002286549A
JP2002286549A JP2001091361A JP2001091361A JP2002286549A JP 2002286549 A JP2002286549 A JP 2002286549A JP 2001091361 A JP2001091361 A JP 2001091361A JP 2001091361 A JP2001091361 A JP 2001091361A JP 2002286549 A JP2002286549 A JP 2002286549A
Authority
JP
Japan
Prior art keywords
color tone
image
inspection
divided
tone data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001091361A
Other languages
Japanese (ja)
Inventor
Yuji Sakuma
▲祐▼治 佐久間
Shinji Hatazawa
新治 畑澤
Hidekazu Araki
秀和 荒木
Masaharu Kuinose
正治 杭ノ瀬
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2001091361A priority Critical patent/JP2002286549A/en
Publication of JP2002286549A publication Critical patent/JP2002286549A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To allow detail color tone measurement, and allow color tone inspection for an inspection object having a pattern of plural colors. SOLUTION: The present invention provides a color tone inspection method for inspecting a color tone of a surface by an image processor 4 using a spectroscopic camera 1 for detecting a spectroscopic spectral value in each point in the surface of the inspection object having the pattern of plural colors, and a system therefor. The image processor 4 calculates a color tone data of each picture element corresponding to the each point of the surface by a color tone data image generating function 41 based on the spectroscopic spectral value in the each point in the surface, generates a color tone data image comprising the color tone data of the each picture element, partitions the color tone data image into plural divided areas by a partitioning function 42, conducts statistical calculation as to the color tone data of the each picture element in each of the plural divided areas by a statistical calculation function 43, compares an obtained statistically-calculated value with a prescribed inspection reference value by a comparison function 44, and inspects the tone color of the surface of the inspection object in response to a comparison result therein by a color tone inspection function 45.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数色の図柄(例
えば色柄および模様など)を有する検査対象物の表面の
色調検査をするための色調検査方法およびそのシステム
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color tone inspection method and system for inspecting the color tone of the surface of an inspection object having a plurality of color patterns (for example, color patterns and patterns).

【0002】[0002]

【従来の技術】従来、この種の色調検査を行う主な方法
には、カラーカメラを用いる方法と分光測色計を用いる
方法とがあった。
2. Description of the Related Art Conventionally, there have been two main methods for performing this kind of color tone inspection: a method using a color camera and a method using a spectrophotometer.

【0003】なお、特開平10−311756号公報に
は、着色されたプラスチック成形品の色むらを着色の濃
淡を示すデジタル画像とし、画像を構成する各画素に対
して、その階調値とその画素を中心とした近傍領域の階
調値の平均との差を画素の階調値として画像を再生し、
その再生画像全画素についての階調値分布の統計値を用
いて色むらを定量化する方法が記載されている。
Japanese Patent Application Laid-Open No. 10-311756 discloses that a color unevenness of a colored plastic molded product is converted into a digital image showing the shading of the coloring, and the gradation value and its gradation value are assigned to each pixel constituting the image. The image is reproduced with the difference from the average of the gradation values in the vicinity area around the pixel as the gradation value of the pixel,
A method of quantifying color unevenness using statistical values of a gradation value distribution for all pixels of the reproduced image is described.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、カラー
カメラを用いて行う色調検査方法は、カラーカメラの色
調判別精度が劣るため、詳細な色調計測には不向きであ
る。また、分光測色計を用いて行う色調検査方法は、分
光測色計の色調判別精度が優れてはいるものの、予め定
められた領域の平均の色調しか測定できないため、複数
色の図柄、例えば複雑な色柄や模様を有する検査対象物
の色調検査ができない。
However, the color tone inspection method using a color camera is not suitable for detailed color tone measurement because the color tone determination accuracy of the color camera is inferior. In addition, although the color tone inspection method performed using a spectrophotometer has excellent color tone discrimination accuracy of the spectrophotometer, it can only measure the average color tone of a predetermined area, so a pattern of a plurality of colors, for example, A color tone inspection of an inspection object having a complicated color pattern or pattern cannot be performed.

【0005】本発明は、上記事情に鑑みてなされたもの
であり、詳細な色調計測が可能となり、複数色の図柄を
有する検査対象物の色調検査が可能となる色調検査方法
およびそのシステムを提供することを目的とする。
The present invention has been made in view of the above circumstances, and provides a color tone inspection method and a color tone inspection method capable of performing detailed color tone measurement and inspecting the color tone of an inspection object having a pattern of a plurality of colors. The purpose is to do.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
の請求項1記載の発明は、複数色の図柄を有する検査対
象物の表面各点における分光スペクトル値を検出する分
光センサを用いて、画像処理装置が、前記検査対象物の
表面の色調検査をするための色調検査方法であって、前
記表面各点における分光スペクトル値から、その表面各
点に対応する各画素の色調データを算出して、これら各
画素の色調データよりなる色調データ画像を生成するス
テップと、この色調データ画像を複数の分割領域に区分
するステップと、これら複数の分割領域の各々における
各画素の色調データについて統計計算を行うステップ
と、このステップで得られた統計計算値と所定の検査基
準値との比較を行うステップと、この比較結果に応じて
前記検査対象物の表面の色調検査をするステップとを有
することを特徴とする。
According to a first aspect of the present invention, there is provided an image processing apparatus, comprising: a spectroscopic sensor for detecting a spectral value at each point on a surface of an inspection object having a pattern of a plurality of colors; An image processing apparatus, which is a color tone inspection method for inspecting the color tone of the surface of the inspection object, calculating color tone data of each pixel corresponding to each point on the surface from a spectral spectrum value at each point on the surface. Generating a tone data image composed of tone data of each of the pixels; dividing the tone data image into a plurality of divided regions; and performing a statistical calculation on the tone data of each pixel in each of the plurality of divided regions. Performing a comparison, a step of comparing the statistical calculation value obtained in this step with a predetermined inspection reference value, and a table of the inspection object according to the comparison result. Characterized by a step of the color tone test.

【0007】この方法では、検査対象物の表面各点にお
ける分光スペクトル値から、色調データ画像が生成さ
れ、この色調データ画像が複数の分割領域に区分され、
これら複数の分割領域の各々における各画素の色調デー
タについて統計計算が行われ、統計計算値と所定の検査
基準値との比較が行われ、そしてこの比較結果に応じて
検査対象物の表面の色調検査が行われるようになる。こ
れにより、分光センサから高精度な分光スペクトル値が
得られるので、高精度な色調計測が可能になるととも
に、統計計算が分割領域単位で行われるから、細かな模
様に左右されず、目視で問題となるもう少し大きめの色
むらを安定して検出することができ、複数色の図柄を有
する検査対象物の色調検査が可能となる。
In this method, a color tone data image is generated from the spectral spectrum values at each point on the surface of the inspection object, and the color tone data image is divided into a plurality of divided areas.
A statistical calculation is performed on the color tone data of each pixel in each of the plurality of divided regions, a comparison between the statistical calculation value and a predetermined inspection reference value is performed, and the color tone of the surface of the inspection object is determined in accordance with the comparison result. The inspection will be performed. As a result, a high-precision spectral spectrum value can be obtained from the spectroscopic sensor, so that high-precision color tone measurement can be performed. In addition, since the statistical calculation is performed in units of divided regions, there is no problem with visual inspection without being affected by fine patterns. Can be detected stably, and a color tone inspection of an inspection object having a pattern of a plurality of colors becomes possible.

【0008】請求項2記載の発明は、請求項1記載の色
調検査方法において、前記色調データ画像は2次元の画
像データであり、前記複数の分割領域に区分するステッ
プでは、前記生成した色調データ画像を、この少なくと
も1辺に沿って複数の領域が並ぶように分割して、前記
複数の分割領域に区分することを特徴とする。この方法
によれば、比較的簡単な処理で、細かな模様に左右され
ず、目視で問題となるもう少し大きめの色むらを安定し
て検出することができる。
According to a second aspect of the present invention, in the color tone inspection method according to the first aspect, the color tone data image is two-dimensional image data, and in the step of dividing into the plurality of divided areas, the generated color tone data The image is divided into a plurality of regions along at least one side and is divided into the plurality of divided regions. According to this method, it is possible to stably detect a slightly larger color unevenness, which is a problem visually, with relatively simple processing and without being affected by fine patterns.

【0009】請求項3記載の発明は、請求項1記載の色
調検査方法において、前記検査対象物の図柄の並びには
繰り返しの規則性があり、前記色調データ画像は2次元
の画像データであり、前記複数の分割領域に区分するス
テップでは、前記生成した色調データ画像を、当該色調
データ画像における前記繰り返しの規則性がある図柄の
並び方向と直交する方向に沿って複数の領域が並ぶよう
に分割して、前記複数の分割領域に区分することを特徴
とする。この方法によれば、例えば格子状パターンの図
柄の規則性に関連のある色調異常を検出し易くなる。
According to a third aspect of the present invention, in the color tone inspection method according to the first aspect, the pattern of the pattern of the inspection object has a repetitive regularity, and the color tone data image is two-dimensional image data. In the step of dividing into the plurality of divided regions, the generated tone data image is divided so that a plurality of regions are arranged in a direction orthogonal to a direction in which the symbols having the repetition regularity in the tone data image are arranged. Then, the image is divided into the plurality of divided areas. According to this method, for example, it is easy to detect a color tone abnormality related to the regularity of the pattern of the lattice pattern.

【0010】請求項4記載の発明は、請求項1記載の色
調検査方法において、前記検査対象物の図柄の並びには
繰り返しの規則性があり、前記色調データ画像は2次元
の画像データであり、前記複数の分割領域に区分するス
テップでは、前記生成した色調データ画像を、当該色調
データ画像における前記繰り返しの規則性がある図柄の
並び方向に沿って複数の領域が並ぶように分割して、前
記複数の分割領域に区分することを特徴とする。この方
法によれば、例えば格子状パターンの図柄の規則性とは
関連の少ない色調異常を検出し易くなる。
According to a fourth aspect of the present invention, in the color tone inspection method according to the first aspect, the pattern of the pattern of the inspection object has a regularity of repetition, and the color tone data image is two-dimensional image data. In the step of dividing into the plurality of divided regions, the generated tone data image is divided so that a plurality of regions are arranged along a direction in which the symbols having the repetition regularity in the tone data image are arranged. It is characterized in that it is divided into a plurality of divided areas. According to this method, for example, it is easy to detect a color tone abnormality that is less relevant to the regularity of the pattern of the lattice pattern.

【0011】請求項5記載の発明は、請求項1記載の色
調検査方法において、前記検査対象物は、色付けする装
置によって端から端まで連続的に色付けされたものであ
り、前記色調データ画像は2次元の画像データであり、
前記複数の分割領域に区分するステップでは、前記生成
した色調データ画像を、前記色付けする装置によって連
続的に色付けされた方向と直交する方向に沿って複数の
領域が並ぶように分割して、前記複数の分割領域に区分
することを特徴とする。この方法によれば、色付けする
装置の塗料かすれなどの連続安定性を検査し易くなる。
According to a fifth aspect of the present invention, in the color tone inspection method according to the first aspect, the inspection object is colored continuously from one end to another by a coloring device, and the color tone data image is Two-dimensional image data,
In the step of dividing into the plurality of divided regions, the generated tone data image is divided so that a plurality of regions are arranged along a direction orthogonal to a direction in which the coloring device continuously colors the image, It is characterized in that it is divided into a plurality of divided areas. According to this method, it is easy to inspect the continuous stability of the coloring apparatus, such as paint fading.

【0012】請求項6記載の発明は、請求項1記載の色
調検査方法において、前記検査対象物は、色付けする装
置によって端から端まで連続的に色付けされたものであ
り、前記色調データ画像は2次元の画像データであり、
前記複数の分割領域に区分するステップでは、前記生成
した色調データ画像を、前記色付けする装置によって連
続的に色付けされた方向に沿って複数の領域が並ぶよう
に分割して、前記複数の分割領域に区分することを特徴
とする。この方法によれば、色付けする装置の色付け幅
方向の色バランスおよび色むらを検査し易くなる。
According to a sixth aspect of the present invention, in the color tone inspection method according to the first aspect, the inspection object is colored continuously from one end to another by a coloring device, and the color tone data image is Two-dimensional image data,
In the step of dividing into the plurality of divided regions, the generated tone data image is divided so that a plurality of regions are arranged along a direction in which the coloring device continuously colors, and the plurality of divided regions are divided. It is characterized by being classified into. According to this method, it is easy to inspect the color balance and the color unevenness in the coloring width direction of the coloring device.

【0013】請求項7記載の発明は、請求項1記載の色
調検査方法において、前記複数の分割領域に区分するス
テップでは、前記生成した色調データ画像を最小基準と
なる分割単位領域で分割して複数の最小領域に区分し、
これらの最小領域毎の色調データについて統計分布を求
め、前記複数の最小領域の各々を、その統計分布の値が
少なくとも一つの所定分布範囲に入る組みと入らない組
みとに分類して、前記複数の分割領域に区分することを
特徴とする。この方法によれば、検査対象物の複数色の
図柄に合わせて複数の分割領域に区分することができ、
色むらを検出し易くなる。
According to a seventh aspect of the present invention, in the color tone inspection method according to the first aspect, in the step of dividing into the plurality of divided areas, the generated tone data image is divided by a division unit area serving as a minimum reference. Divided into multiple minimum areas,
A statistical distribution is obtained for the color tone data for each of the minimum areas, and each of the plurality of minimum areas is classified into a set where the value of the statistical distribution falls within at least one predetermined distribution range and a set which does not fall therein. Is divided into the divided regions. According to this method, it is possible to divide the object into a plurality of divided areas in accordance with the pattern of the plurality of colors,
It becomes easier to detect color unevenness.

【0014】請求項8記載の発明は、請求項1記載の色
調検査方法において、前記複数の分割領域に区分するス
テップでは、前記生成した色調データ画像を、所定領域
毎に、最小基準となる分割単位領域で分割して複数の最
小領域に区分し、これらの最小領域毎の色調データにつ
いて統計分布を求め、前記複数の最小領域の各々を、そ
の統計分布の値が少なくとも一つの所定分布範囲に入る
組みと入らない組みとに分類して、前記複数の分割領域
に区分することを特徴とする。この方法によれば、検査
対象物の複数色の図柄に合わせて複数の分割領域に区分
することができ、色むらを検出し易くなる。
According to an eighth aspect of the present invention, in the color tone inspection method according to the first aspect, in the step of dividing into the plurality of divided areas, the generated tone data image is divided for each predetermined area as a minimum reference. Divided into unit areas and divided into a plurality of minimum areas, a statistical distribution is determined for the color tone data for each of these minimum areas, and each of the plurality of minimum areas has a statistical distribution value in at least one predetermined distribution range. It is characterized in that it is classified into a set that can be included and a set that cannot be included and is divided into the plurality of divided areas. According to this method, it is possible to divide the inspection target into a plurality of divided areas in accordance with the pattern of the plurality of colors, and it is easy to detect color unevenness.

【0015】請求項9記載の発明は、請求項1〜8のい
ずれかに記載の色調検査方法において、前記所定の検査
基準値は、前記検査対象物に良品を複数用いた時にそれ
ぞれ生成される複数の色調データ画像から導出されるも
のであって、これら複数の色調データ画像の各々に対し
て、前記複数の分割領域の各々について前記統計計算を
行い、これにより得られた各分割領域についての統計計
算値のばらつき範囲を基準に、前記複数の分割領域の各
々に対して個別に設定されることを特徴とする。この方
法によれば、複数の良品に合わせた色調検査が可能とな
る。また、図柄を有する検査対象物の分割領域ごとの色
調検査基準値を決定したり、数値入力などで設定するこ
とは非常に難しく、面倒でもあるが、複数の良品の検査
対象物をこの色調検査システムで自動測定させ、分割領
域ごとの色調データの統計計算値を算出し、この統計計
算値に基づき分割領域ごとの良品基準範囲を決定するこ
とで、実際に生産される良品のばらつき範囲を工程能力
に合わせて的確に掌握し、これに基づき自動的に簡単に
検査基準値を設定することができる。
According to a ninth aspect of the present invention, in the color tone inspection method according to any one of the first to eighth aspects, the predetermined inspection reference value is generated when a plurality of non-defective products are used as the inspection object. The statistical calculation is performed on each of the plurality of divided regions for each of the plurality of toned data images, and the statistical calculation is performed on each of the plurality of divided regions. The method is characterized in that each of the plurality of divided areas is individually set based on a variation range of the statistical calculation value. According to this method, it is possible to perform a color tone inspection according to a plurality of non-defective products. In addition, it is very difficult and troublesome to determine a color tone inspection reference value for each divided area of an inspection object having a pattern or to input a numerical value. The system automatically measures and calculates the statistical calculation value of the color tone data for each divided area, and determines the non-defective reference range for each divided area based on this statistical calculation value, so that the variation range of the actually produced non-defective product is It is possible to precisely grasp the inspection reference value based on the ability and to automatically and easily set the inspection reference value.

【0016】請求項10記載の発明は、請求項1〜9の
いずれかに記載の色調検査方法において、前記統計計算
を行うステップでは、前記分割領域内の色調データの発
生頻度分布をなす色調データの度数を前記統計計算値と
して求め、前記比較を行うステップでは、所定の色調デ
ータの度数が前記検査対象物全体に占める割合と、所定
の割合との比較を行うことを特徴とする。この方法によ
れば、比較的簡単な処理で色むら検査が可能となる。
According to a tenth aspect of the present invention, in the color tone inspection method according to any one of the first to ninth aspects, in the step of performing the statistical calculation, the color tone data forming an occurrence frequency distribution of the color tone data in the divided area is provided. Is obtained as the statistical calculation value, and in the step of performing the comparison, the ratio of the frequency of the predetermined color tone data to the entire inspection object is compared with the predetermined ratio. According to this method, color unevenness inspection can be performed by relatively simple processing.

【0017】請求項11記載の発明は、請求項1〜9の
いずれかに記載の色調検査方法において、前記統計計算
を行うステップでは、前記分割領域内の色調データの発
生頻度分布をなす色調データの度数を前記統計計算値と
して求め、前記比較を行うステップでは、前記発生頻度
分布の形状と所定の基準分布の形状との比較を行うこと
を特徴とする。この方法によれば、色むらの特徴を高精
度で検出可能となる。
According to an eleventh aspect of the present invention, in the color tone inspection method according to any one of the first to ninth aspects, in the step of performing the statistical calculation, the color tone data forming an occurrence frequency distribution of the color tone data in the divided area is provided. Is obtained as the statistical calculation value, and the comparing is performed by comparing the shape of the occurrence frequency distribution with the shape of a predetermined reference distribution. According to this method, it is possible to detect the color unevenness feature with high accuracy.

【0018】請求項12記載の発明は、請求項1〜11
のいずれかに記載の色調検査方法において、前記色調検
査をするステップの後、各種情報を画面に表示する表示
手段に前記色調データ画像を表示するステップと、前記
表示手段に表示している色調データ画像における前記複
数の分割領域のうち、所望の分割領域を、各種操作入力
用の入力手段を通じて指定する操作入力が得られると、
その指定された分割領域についての統計計算値または検
査結果を前記表示手段に表示するステップとをさらに有
し、前記色調データ画像を表示するステップでは、前記
色調データ画像を、これを構成する各画素の色調データ
に、対応する表示色または濃淡度を割り当てて前記表示
手段に表示することを特徴とする。この方法によれば、
表示が見やすくなり、目視との対比が可能となる。
The invention according to claim 12 is the invention according to claims 1 to 11
In the color tone inspection method according to any one of the above, after the step of performing the color tone inspection, a step of displaying the color tone data image on display means for displaying various information on a screen; and a step of displaying the color tone data displayed on the display means. When an operation input for designating a desired divided region through the input means for various operation inputs among the plurality of divided regions in the image is obtained,
Displaying the statistical calculation value or the inspection result of the designated divided area on the display means. In the displaying the color tone data image, the color tone data image is converted into each pixel constituting the color tone data image. A corresponding display color or shading is assigned to the color tone data and displayed on the display means. According to this method,
The display is easy to see and can be compared with visual observation.

【0019】請求項13記載の発明は、請求項12記載
の色調検査方法において、前記表面各点における分光ス
ペクトル値を目視外観に相当するカラーデータに変換し
てリアル画像を生成するステップをさらに有し、前記色
調データ画像を表示するステップでは、前記色調データ
画像とともに前記リアル画像を表示することを特徴とす
る。この方法によれば、表示が見やすくなり、目視との
対比が可能となるとともに、半自動目視検査の精密判定
が可能となる。
According to a thirteenth aspect of the present invention, in the color tone inspection method according to the twelfth aspect, the method further comprises a step of converting a spectral value at each point on the surface into color data corresponding to a visual appearance to generate a real image. In the step of displaying the color tone data image, the real image is displayed together with the color tone data image. According to this method, the display is easy to see, it is possible to make a comparison with the visual inspection, and it is possible to make a precise judgment of the semi-automatic visual inspection.

【0020】請求項14記載の発明は、請求項12また
は13記載の色調検査方法において、前記色調データ画
像を少なくとも表示するステップでは、前記複数の分割
領域の各々に対する比較結果に、欠陥候補であることを
示す比較結果が含まれていれば、その欠陥候補であるこ
とを示す比較結果となった分割領域を強調表示すること
を特徴とする。この方法によれば、欠陥候補の分割領域
(異常の可能性のある部分)を判別し易くなり、効率的
に目視判定でき、見逃しも減る。
According to a fourteenth aspect of the present invention, in the color tone inspection method according to the twelfth or thirteenth aspect, at least the step of displaying the color tone data image includes a defect candidate in the comparison result for each of the plurality of divided regions. If the comparison result indicating that the defect region is included, the divided region that has become the comparison result indicating the defect candidate is highlighted. According to this method, it becomes easy to determine a divided region (a portion where there is a possibility of abnormality) of a defect candidate, and it is possible to make a visual determination efficiently and reduce oversight.

【0021】請求項15記載の発明は、請求項12〜1
4のいずれかに記載の色調検査方法において、前記色調
データ画像を少なくとも表示するステップの後、前記入
力手段を通じた操作入力で目視による良否判定が入力さ
れると、その目視による良否判定の情報を、前記表面各
点における分光スペクトル値から得られる情報および所
定の検査基準値の情報とともに所定の記憶手段に保存す
るステップと、前記色調検査の結果から得られる自動良
否判定結果と前記良否判定とが相違する割合を示す相違
率が所定率以上になった場合、前記記憶手段に保存され
た情報を用いて、前記相違率が前記所定率を下回るよう
に前記所定の検査基準値を更新するステップとをさらに
有することを特徴とする。この方法によれば、所定の検
査基準値を工程の傾向に基づいた値に設定可能となる。
The invention according to claim 15 is the invention according to claims 12 to 1.
4. In the color tone inspection method according to any one of (4) and (4), after at least the step of displaying the color tone data image, if a visual pass / fail judgment is input by an operation input through the input means, the visual pass / fail judgment information is displayed. Storing in a predetermined storage means together with information obtained from a spectral spectrum value at each point on the surface and information on a predetermined inspection reference value, and an automatic pass / fail judgment result and a pass / fail judgment obtained from a result of the color tone inspection. Updating the predetermined inspection reference value so that the difference rate is lower than the predetermined rate, using the information stored in the storage unit, when the difference rate indicating the different rate is equal to or more than a predetermined rate; Is further provided. According to this method, the predetermined inspection reference value can be set to a value based on the tendency of the process.

【0022】請求項16記載の発明は、請求項12〜1
5のいずれかに記載の色調検査方法において、前記色調
データ画像を表示するステップでは、色調検査基準とな
る別の色調データ画像を前記表示手段にさらに表示する
ことを特徴とする。この方法によれば、色調検査基準
(例えば上下限)が明確となって、目視判定が容易とな
り、高精度な目視判定が可能となる。
The invention of claim 16 is the invention of claims 12 to 1.
5. In the color tone inspection method according to any one of the aspects 5, in the step of displaying the color tone data image, another color tone data image serving as a color tone inspection reference is further displayed on the display unit. According to this method, the color tone inspection criterion (for example, upper and lower limits) becomes clear, visual judgment becomes easy, and high-precision visual judgment becomes possible.

【0023】請求項17記載の発明は、請求項1〜16
のいずれかに記載の色調検査方法において、前記色調デ
ータ画像を生成するステップでは、前記各画素の色調デ
ータを算出する際に使用される前記表面各点における分
光スペクトル値のうち、前記検査対象物の色調の変動要
因に関係する所定の分光スペクトル波長に相当する分光
スペクトル値に対する重み係数を、前記検査対象物の特
定色に合わせて変更することを特徴とする。この方法に
よれば、特定の色調に起因して発生する変動を精度良く
監視することができ、好適な色調検査が可能となる。
The invention according to claim 17 is the invention according to claims 1 to 16
In the color tone inspection method according to any one of the above, in the step of generating the color tone data image, among the spectral spectrum values at each point on the surface used when calculating the color tone data of each pixel, the inspection object A weighting coefficient for a spectral spectrum value corresponding to a predetermined spectral spectral wavelength related to a color tone variation factor is changed according to a specific color of the inspection object. According to this method, a change occurring due to a specific color tone can be accurately monitored, and a suitable color tone inspection can be performed.

【0024】請求項18記載の発明は、請求項13〜1
7のいずれかに記載の色調検査方法において、前記リア
ル画像を生成するステップでは、前記カラーデータへの
変換後の各画素の色調のち、目視による官能評価を基に
選択された所定の色調に対する重み係数を、前記検査対
象物の特定色に合わせて変更することを特徴とする。こ
の方法によれば、特定の色調に起因して発生する変動を
精度良く監視することができ、好適な色調検査が可能と
なる。
The invention according to claim 18 is the invention according to claims 13 to 1
7. In the color tone inspection method according to any one of the above 7, in the step of generating the real image, after the color tone of each pixel after the conversion into the color data, a weight for a predetermined color tone selected based on visual sensory evaluation The coefficient is changed according to a specific color of the inspection object. According to this method, a change occurring due to a specific color tone can be accurately monitored, and a suitable color tone inspection can be performed.

【0025】請求項19記載の発明は、請求項1〜18
のいずれかに記載の色調検査方法において、前記複数の
分割領域に区分するステップでは、前記色調データ画像
における図柄の並びを利用して、前記色調データ画像を
前記複数の分割領域に区分する場合に必要となる位置合
わせを行うことを特徴とする。この方法によれば、位置
ずれのない(あるいはほとんどない)検査が可能とな
る。
[0025] The invention of claim 19 is the invention of claims 1 to 18
In the color tone inspection method according to any one of the above, in the step of dividing into the plurality of divided areas, the arrangement of the pattern in the color tone data image, when dividing the color tone data image into the plurality of divided areas, It is characterized in that necessary alignment is performed. According to this method, an inspection without (or almost no) displacement can be performed.

【0026】請求項20記載の発明は、請求項1〜18
のいずれかに記載の色調検査方法において、前記複数の
分割領域に区分するステップでは、検査基準となる色調
画像データ内の部分パターンと、前記検査対象物から得
られた色調データ画像内の種々の部分パターンとの正規
化相関演算を行い、これら正規化相関演算の各結果のう
ち最もマッチングする結果となった、前記検査対象物か
ら得られた色調データ画像内の部分パターンの位置を利
用して、前記色調データ画像を前記複数の分割領域に区
分する場合に必要となる位置合わせを行うことを特徴と
する。この方法によれば、高精度な位置合わせが可能と
なる。
The invention according to claim 20 is the invention according to claims 1 to 18.
In the color tone inspection method according to any one of the above, in the step of dividing into the plurality of divided regions, a partial pattern in the color tone image data serving as an inspection reference and various patterns in the color tone data image obtained from the inspection object. Perform a normalized correlation operation with the partial pattern, and use the position of the partial pattern in the color tone data image obtained from the inspection object, which is the most matching result among the respective results of the normalized correlation operation. And performing positioning necessary for dividing the color tone data image into the plurality of divided areas. According to this method, highly accurate positioning can be performed.

【0027】請求項21記載の発明は、請求項19また
は20記載の色調検査方法において、前記色調データ画
像を生成するステップでは、前記各画素の色調データを
算出する際に使用される前記表面各点における分光スペ
クトル値のうち、前記位置合わせのために予め選択され
た所定の分光スペクトル波長に相当する分光スペクトル
値に対する重み係数を、前記検査対象物の特定色に合わ
せて変更することを特徴とする。この方法によれば、高
精度な位置合わせが可能となる。
According to a twenty-first aspect of the present invention, in the color tone inspection method according to the nineteenth or twentieth aspect, in the step of generating the color tone data image, each of the surfaces used in calculating the color tone data of each of the pixels. Among the spectral spectral values at points, a weighting coefficient for a spectral spectral value corresponding to a predetermined spectral spectral wavelength selected in advance for the alignment is changed according to a specific color of the inspection object. I do. According to this method, highly accurate positioning can be performed.

【0028】請求項22記載の発明は、請求項1〜21
のいずれかに記載の色調検査方法において、前記検査対
象物は板状の建材であることを特徴とする。この方法に
よれば、板状の建材の色調検査が可能になる。
The invention according to claim 22 is the invention according to claims 1-21
In the color tone inspection method according to any one of the above, the inspection object is a plate-like building material. According to this method, a color tone inspection of a plate-like building material becomes possible.

【0029】請求項23記載の発明の色調検査システム
は、複数色の図柄を有する検査対象物の表面各点におけ
る分光スペクトル値を検出する分光センサと、前記検査
対象物の表面の色調検査をする画像処理装置とにより構
成され、この画像処理装置は、前記表面各点における分
光スペクトル値から、その表面各点に対応する各画素の
色調データを算出して、これら各画素の色調データより
なる色調データ画像を生成する色調データ画像生成機能
と、前記色調データ画像を複数の分割領域に区分する区
分機能と、前記複数の分割領域の各々における各画素の
色調データについて統計計算を行う統計計算機能と、こ
の統計計算機能で得られた統計計算値と所定の検査基準
値との比較を行う比較機能と、前記比較結果に応じて前
記検査対象物の表面の色調検査をする色調検査機能とを
有することを特徴とする。
According to a twenty-third aspect of the present invention, there is provided a color tone inspection system for detecting a spectral spectrum value at each point on a surface of an inspection object having a pattern of a plurality of colors, and for inspecting the color tone of the surface of the inspection object. The image processing apparatus is configured to calculate the color tone data of each pixel corresponding to each point on the surface from the spectral value at each point on the surface, and to calculate the color tone data based on the color tone data for each pixel. A color tone data image generation function of generating a data image, a division function of dividing the color tone data image into a plurality of divided areas, and a statistical calculation function of performing a statistical calculation on color tone data of each pixel in each of the plurality of divided areas. A comparison function for comparing the statistical calculation value obtained by the statistical calculation function with a predetermined inspection reference value, and a table of the inspection object according to the comparison result. And having a color tone test function of the color testing.

【0030】この構成では、検査対象物の表面各点にお
ける分光スペクトル値から、色調データ画像が生成さ
れ、この色調データ画像が複数の分割領域に区分され、
これら複数の分割領域の各々における各画素の色調デー
タについて統計計算が行われ、統計計算値と所定の検査
基準値との比較が行われ、そしてこの比較結果に応じて
検査対象物の表面の色調検査が行われるようになる。こ
れにより、分光センサから高精度な分光スペクトル値が
得られるので、高精度な色調計測が可能になるととも
に、統計計算が分割領域単位で行われるから、細かな模
様に左右されず、目視で問題となるもう少し大きめの色
むらを安定して検出することができ、複数色の図柄を有
する検査対象物の色調検査が可能となる。
With this configuration, a color tone data image is generated from the spectral values at each point on the surface of the inspection object, and the color tone data image is divided into a plurality of divided areas.
A statistical calculation is performed on the color tone data of each pixel in each of the plurality of divided regions, a comparison between the statistical calculation value and a predetermined inspection reference value is performed, and the color tone of the surface of the inspection object is determined in accordance with the comparison result. The inspection will be performed. As a result, a high-precision spectral spectrum value can be obtained from the spectroscopic sensor, so that high-precision color tone measurement can be performed. In addition, since the statistical calculation is performed in units of divided regions, there is no problem with visual inspection without being affected by fine patterns. Can be detected stably, and a color tone inspection of an inspection object having a pattern of a plurality of colors becomes possible.

【0031】[0031]

【発明の実施の形態】図1は色調検査システムのブロッ
ク構成図、図2は図1の色調検査システム全体の動作説
明図であり、これらの図を用いて以下に本発明に係る第
1実施形態について説明する。
FIG. 1 is a block diagram of a color tone inspection system, and FIG. 2 is a diagram for explaining the operation of the entire color tone inspection system of FIG. 1. A first embodiment according to the present invention will be described with reference to these drawings. The form will be described.

【0032】第1実施形態の色調検査システムは、図
1,図2に示すように、毎秒60回の撮像が可能であっ
て複数色の図柄を有する検査対象物Tの表面各点におけ
る分光スペクトル値を検出する分光カメラ(分光セン
サ)1と、キーボードおよび図略のマウスなどの入力装
置2と、CRTまたはLCDなどの表示装置3と、これ
ら分光カメラ1、入力装置2および表示装置3が接続さ
れ、検査対象物Tの表面の色調検査をする画像処理装置
4とにより構成されている。
As shown in FIGS. 1 and 2, the color tone inspection system according to the first embodiment is capable of imaging 60 times per second and has a spectral spectrum at each point on the surface of the inspection object T having a pattern of a plurality of colors. A spectral camera (spectral sensor) 1 for detecting a value, an input device 2 such as a keyboard and a mouse (not shown), a display device 3 such as a CRT or an LCD, and the spectral camera 1, the input device 2 and the display device 3 are connected. And an image processing device 4 for inspecting the color tone of the surface of the inspection object T.

【0033】この画像処理装置4は、CPU、半導体記
憶素子、記録装置(例えばハードディスク装置など)、
およびCPUにより実行されるプログラムなどにより構
成され、検査対象物Tの表面各点における分光スペクト
ル値から、その表面各点に対応する各画素の色調データ
を算出して、これら各画素の色調データよりなる色調デ
ータ画像を生成する色調データ画像生成機能41と、色
調データ画像を複数の分割領域に区分する区分機能42
と、複数の分割領域の各々における各画素の色調データ
について統計計算を行う統計計算機能43と、この統計
計算機能43で得られた統計計算値と所定の検査基準値
との比較を行う比較機能44と、比較結果に応じて検査
対象物Tの表面の色調検査をする色調検査機能45とを
有している。
The image processing device 4 includes a CPU, a semiconductor storage device, a recording device (for example, a hard disk device),
And a program executed by the CPU. The color tone data of each pixel corresponding to each point on the surface is calculated from the spectral value at each point on the surface of the inspection object T, and the color tone data of each pixel is calculated. A tone data image generating function 41 for generating a tone data image, and a dividing function 42 for dividing the tone data image into a plurality of divided areas.
A statistical calculation function 43 for performing a statistical calculation on the color tone data of each pixel in each of the plurality of divided areas; and a comparison function for comparing the statistical calculation value obtained by the statistical calculation function 43 with a predetermined inspection reference value 44, and a color tone inspection function 45 for inspecting the color tone of the surface of the inspection object T according to the comparison result.

【0034】図3,図4に図2の分光カメラによる検査
対象物の撮像の様子をさらに示す。図2,図3におい
て、検査対象物Tは、着色された板状部材、例えば外装
建材であって、図示しない搬送装置(コンベア)によっ
て一方向に毎分60mの速さで搬送され、その表面に
は、ライン光源5によって検査対象物Tの短手方向に沿
ったライン状の光が照射されるようになっている。ここ
で、ライン光源5は、ハロゲンランプを備え、このハロ
ゲンランプからの光をライン型のファイバにより視野の
領域をほぼ均一に照明するように調整される。
FIGS. 3 and 4 further show how the spectroscopic camera of FIG. 2 captures an image of the inspection object. 2 and 3, the inspection object T is a colored plate-like member, for example, an exterior building material, and is conveyed at a speed of 60 m / min in one direction by a conveyor (not shown). Is irradiated with linear light along the lateral direction of the inspection object T by the line light source 5. Here, the line light source 5 is provided with a halogen lamp, and the light from the halogen lamp is adjusted so as to illuminate the field of view almost uniformly by the line type fiber.

【0035】なお、ライン光源5の発光源は、ハロゲン
ランプに限らず、キセノンランプでもよく、均一な波長
特性で輝線がなく安定し、変動が少ない光源であること
が望ましい。この実施形態ではライン型ファイバを用い
ているが、蛍光灯などの棒状の光源を用いてもよい。ま
た、LED(発光ダイオード)をライン状に多数配設し
てライン光源を構成してもよい。LEDの発光スペクト
ルが均一でなければ、発光スペクトルの異なる複数種の
LEDを適当に分散配設することで、ライン光源として
の発光スペクトルの均一化を図ることが好ましい。
The light source of the line light source 5 is not limited to a halogen lamp, but may be a xenon lamp. It is preferable that the light source be a light source that has a uniform wavelength characteristic, has no bright line, is stable, and has little fluctuation. Although a line type fiber is used in this embodiment, a rod-like light source such as a fluorescent lamp may be used. Further, a line light source may be configured by arranging a large number of LEDs (light emitting diodes) in a line. If the emission spectra of the LEDs are not uniform, it is preferable to achieve uniform emission spectra as a line light source by appropriately dispersing and disposing a plurality of types of LEDs having different emission spectra.

【0036】そして、ライン光源5から検査対象物Tの
表面に照射された光は、検査対象物Tの表面で反射し、
検査対象物T全体が視野範囲に入るように、検査対象物
Tの表面上方に固定された分光カメラ1によって受光さ
れる。図2,図4の例では、分光カメラ1は、受光用の
レンズ11と、この後方に設けられたプリズムまたは回
析格子の分光フィルタ(同図ではプリズム)12と、こ
の後方に設けられた2次元のCCD素子13とを備え、
レンズ11と分光フィルタ12との間に検査対象物Tの
搬送方向と直交する方向に設けられたスリット10を有
しているので、検査対象物Tの表面で反射した光は、レ
ンズ11およびスリット10を通過した後、分光フィル
タ12で分光され、この後、CCD素子13の受光面に
入光することになる。なお、この構成では、検査対象物
Tの有無によってCCD素子13の出力結果(濃淡情
報)が異なるので、この現象を利用すれば、取り込んだ
各ラインの信号から検査対象物Tの位置を検出可能とな
り、各ライン毎の検査対象物Tのみの色情報を検出可能
となる。
The light emitted from the line light source 5 to the surface of the inspection object T is reflected on the surface of the inspection object T,
Light is received by the spectroscopic camera 1 fixed above the surface of the inspection target T so that the entire inspection target T falls within the visual field range. In the examples shown in FIGS. 2 and 4, the spectral camera 1 is provided with a light receiving lens 11, a prism or a diffraction grating spectral filter (prism in FIG. 2) provided behind the lens 11, and provided behind the lens. A two-dimensional CCD element 13;
Since the slit 10 is provided between the lens 11 and the spectral filter 12 in a direction orthogonal to the transport direction of the inspection target T, the light reflected on the surface of the inspection target T passes through the lens 11 and the slit. After passing through 10, the light is separated by the spectral filter 12, and thereafter enters the light receiving surface of the CCD element 13. In this configuration, the output result (shading information) of the CCD element 13 differs depending on the presence or absence of the inspection target T. Therefore, if this phenomenon is used, the position of the inspection target T can be detected from the signal of each captured line. Thus, color information of only the inspection target T for each line can be detected.

【0037】また、図2,図4の例では、CCD素子1
3は、512画素分の横方向における各画素が検査対象
物Tの表面における短手方向の1ライン上の各位置に対
応するように配置され、240画素分の縦方向における
各画素が、横方向の各画素位置の光について、分光フィ
ルタ12によって分光された波長400nm〜700n
mの範囲内の240点の各波長を検出するとともに、そ
の波長強度(明るさ)を0〜255の範囲内のレベルで
検出する構成になっている。つまり、分光カメラ1によ
り、検査対象物Tの表面について、スリット10のライ
ン方向の各点における各分光波長の強度が測定されて、
分光画像I1が得られることになる。そして、分光カメ
ラ1には毎秒60回の撮像が可能なものが使用されるの
で、検査対象物Tがおよそ17mm進む17msに1回
の割合で、1ライン分の分光画像I1が取得されるか
ら、この撮像を繰り返すことで、検査対象物Tの表面全
体の分光画像I1のデータが取得されることになる。各
ラインの幅方向の分解能は視野の大きさで確定し、搬送
方向の分解能は、分光カメラ1のビデオレート(60フ
レーム/秒)と検査対象物Tの搬送速度とによって決ま
り、本実施形態では約17mm幅となる。なお、より高
速な分光カメラを使用すれば、搬送方向の分解能をさら
に上げることが可能になることは言うまでもない。
In the examples of FIGS. 2 and 4, the CCD 1
3 is arranged such that each pixel in the horizontal direction for 512 pixels corresponds to each position on one line in the short direction on the surface of the inspection object T, and each pixel in the vertical direction for 240 pixels is The wavelength at each pixel position in the direction is separated by the spectral filter 12 into wavelengths of 400 nm to 700 n.
Each wavelength at 240 points within the range of m is detected, and the wavelength intensity (brightness) is detected at a level within the range of 0 to 255. That is, the spectral camera 1 measures the intensity of each spectral wavelength at each point in the line direction of the slit 10 on the surface of the inspection object T,
A spectral image I1 is obtained. Since a spectroscopic camera 1 capable of imaging 60 times per second is used, the spectral image I1 for one line is obtained once every 17 ms, at which the inspection object T advances by about 17 mm. By repeating this imaging, data of the spectral image I1 of the entire surface of the inspection target T is obtained. The resolution in the width direction of each line is determined by the size of the field of view, and the resolution in the transport direction is determined by the video rate (60 frames / second) of the spectroscopic camera 1 and the transport speed of the inspection object T. The width is about 17 mm. It is needless to say that the use of a higher-speed spectroscopic camera makes it possible to further increase the resolution in the transport direction.

【0038】図5,図6に上記分光カメラの撮像で得ら
れる分光画像の模式例を示す。図5に示すように、分光
カメラ1によって、黒、赤、緑、青、白、黒のカラーパ
ターン(同図ではR,G,Bの3原色の各帯、白抜きの
帯および黒塗りの帯)を撮像し、映像化して表示装置3
に表示すると、図6の模式例に示すような分光画像が表
示される。このとき、赤は可視光の長波長、青は短波
長、緑はその中間に強度をもつ色であるため、それぞれ
の波長域が明るく出力表示される。また、白は可視光の
全てが混色されているため、全域で明るく、逆に黒は反
射光量が微少なので全体に暗く出力表示される。
FIGS. 5 and 6 show typical examples of spectral images obtained by the above-mentioned spectral camera. As shown in FIG. 5, the spectroscopic camera 1 uses the spectral patterns of black, red, green, blue, white, and black color patterns (the three primary color bands of R, G, and B, the white band, and the black Band) is imaged and imaged to display device 3
, A spectral image as shown in the schematic example of FIG. 6 is displayed. At this time, red is a long wavelength of visible light, blue is a short wavelength, and green is a color having an intensity in the middle, so that each wavelength region is displayed brightly. Also, white is bright and bright over the whole area because all visible light is mixed, and black is dark and dark because the amount of reflected light is very small.

【0039】図1,図2に戻って、短手方向のライン毎
の分光画像I1は、画像信号で画像処理装置4内に順次
取り込まれ、色調データ画像生成機能41によって、検
査対象物Tの表面各点における分光スペクトル値から、
その表面各点に対応する各画素の色調データを算出し
て、これら各画素の色調データよりなる色調データ画像
を生成する処理が実行される。
Returning to FIGS. 1 and 2, the spectral images I1 for each line in the short direction are sequentially taken into the image processing device 4 as image signals, and the color tone data image generating function 41 causes the inspection object T to be inspected. From the spectral value at each point on the surface,
A process of calculating color tone data of each pixel corresponding to each point on the surface and generating a color tone data image composed of the color tone data of each pixel is executed.

【0040】図2の例では、先ず、色調データ画像生成
機能41(の色調演算回路)によって、各波長の強度
と、対応する予め定められた重価係数との積分和が求め
られ、これら積分和されたデータは、上記半導体記憶素
子または記録装置により構成される画像記憶部に1ライ
ンずつ順次保存される。ここで、検査対象物Tの表面各
点における分光スペクトル値のうち、検査対象物Tの色
調の変動要因に関係する所定の分光スペクトル波長に相
当する分光スペクトル値に対する重価係数を、検査対象
物Tの特定色に合わせて変更すれば、特定の色調に起因
して発生する変動を精度良く監視することができ、好適
な色調検査が可能となる。
In the example of FIG. 2, first, the color tone data image generation function 41 (color tone calculation circuit) calculates the integral sum of the intensity of each wavelength and the corresponding predetermined weighting coefficient. The summed data is sequentially stored line by line in an image storage unit constituted by the semiconductor storage element or the recording device. Here, among the spectral spectrum values at each point on the surface of the inspection target T, a weighting coefficient for a spectral spectrum value corresponding to a predetermined spectral spectral wavelength related to a color tone variation factor of the inspection target T is calculated. If the color is changed in accordance with the specific color of T, a change occurring due to the specific color tone can be accurately monitored, and a suitable color tone inspection can be performed.

【0041】図7に図1の色調データ画像生成機能によ
る色調変換の例を示す。上記積分和されたデータの保存
の後、色調データ画像生成機能41によって、上記画像
記憶部に保存されたデータから、RGBまたはLab
(L***) の表色系の色調計測値を求めて色調データ
画像を構成するべく、予め定められた色調変換の演算処
理が実行される。第1実施形態では、製品の色検査のよ
うに色の差を比較する場合、Labがより人間の感覚に
近いとされていることを考慮し、Lab色調変換の処理
が実行される。これにより、カラー復元画像としてのリ
アル画像、並びに各画素毎にLab表示色で示した色調
計測値を持ったL画像(図2では「検査対象物画像(L*
)」)、a画像(「検査対象物画像(a* )」)、b画像
(「検査対象物画像(b* )」)が作成される。波長毎の
分光反射率からLabに変換する方法については周知で
あるので、ここではその説明を省略する。
FIG. 7 shows an example of color tone conversion by the color tone data image generation function of FIG. After storing the integrated data, the color tone data image generation function 41 converts the data stored in the image storage unit into RGB or Lab data.
In order to obtain a color tone measurement value of the color system of (L * a * b * ) to form a color tone data image, a predetermined color tone conversion calculation process is executed. In the first embodiment, when color differences are compared as in the color inspection of a product, Lab color tone conversion processing is executed in consideration of the fact that Lab is closer to human sensation. Thereby, a real image as a color restoration image, and an L image having a color tone measurement value indicated by a Lab display color for each pixel (in FIG. 2, the “inspection object image (L *
))), An a image (“inspection object image (a * )”), and a b image (“inspection object image (b * )”). Since a method of converting the spectral reflectance for each wavelength into Lab is well known, the description thereof is omitted here.

【0042】なお、その他の代表的な表色系には、Lc
h(L***) 表色系、XYZ表色系、Yxy表色系な
どがあり、これらのうち、Lch表色系は、Lab表色
系を極座標系で表現したものであり、Lab表色系と同
様に色調検査によく用いられる。ただし、L* は明度、
* は彩度、h* は色相角度である。
Other typical color systems include Lc
h (L * c * h * ) color system, XYZ color system, Yxy color system, etc. Of these, the Lch color system represents the Lab color system expressed in a polar coordinate system, Like the Lab color system, it is often used for color tone inspection. Where L * is brightness,
c * is the saturation and h * is the hue angle.

【0043】また、リアル画像を生成する場合、カラー
データへの変換後の各画素の色調のうち、目視による官
能評価を基に選択された所定の色調に対する重価係数
を、検査対象物Tの特定色に合わせて変更すれば、特定
の色調に起因して発生する変動を精度良く監視すること
ができ、好適な色調検査が可能となる。
When a real image is generated, a weighting coefficient for a predetermined color tone selected based on visual sensory evaluation among color tones of each pixel after conversion to color data is determined by using If the color is changed in accordance with the specific color, a change occurring due to the specific color can be monitored with high accuracy, and a suitable color tone inspection can be performed.

【0044】図8にL画像、a画像およびb画像を高速
に得るための構成例を示す。これらの各画像を生成する
には、1フレーム分で1ライン分の分光画像が17ミリ
秒単位で得られることから、複数フレーム分のデータを
高速処理する必要がある。このため、図8の例に示すよ
うに、画像処理装置4内に連続して取り込まれる複数
(同図では4)ライン分の処理をそれぞれ分散的に行う
複数のCPUボード401〜404を設け、これらの処
理結果をラインL1〜L4を介して取り込み、L画像、
a画像およびb画像をそれぞれ生成する複数のCPUボ
ード4L,4a,4bを設ける。このように、各ライン
の分光画像を取込み順にCPUボード401〜404に
分散処理させ、これらの処理結果をCPUボード4L,
4a,4b上のメモリに転送して処理させる構成にすれ
ば、L画像、a画像およびb画像を高速に得ることがで
きる。なお、L画像、a画像およびb画像は、検査対象
物T全体の分光画像を大容量のメモリに蓄えながら、高
速なCPUで短時間内に処理させる方式などでも作成可
能である。
FIG. 8 shows an example of a configuration for obtaining an L image, an a image, and a b image at high speed. In order to generate each of these images, since a spectral image for one line is obtained in units of 17 milliseconds for one frame, it is necessary to process data for a plurality of frames at high speed. For this reason, as shown in the example of FIG. 8, a plurality of CPU boards 401 to 404 that perform processing for a plurality of (four in the same figure) lines continuously taken in the image processing apparatus 4 are provided, respectively. These processing results are taken in via lines L1 to L4, and an L image,
A plurality of CPU boards 4L, 4a, 4b for respectively generating an a image and a b image are provided. In this way, the spectral images of the respective lines are distributed and processed by the CPU boards 401 to 404 in the order in which they are taken, and the processing results are obtained by the CPU boards 4L and 4L.
If the configuration is such that the images are transferred to the memories on 4a and 4b and processed, the L image, the a image, and the b image can be obtained at high speed. Note that the L image, the a image, and the b image can be created by a method in which a high-speed CPU processes the spectral image of the entire inspection target T in a short time while storing it in a large-capacity memory.

【0045】図1,図2に戻って、このようにして作成
されたL画像、a画像およびb画像の色調データ画像
は、区分機能42によって複数の分割領域に区分され
る。そして、統計計算機能43によって、複数の分割領
域の各々における各画素の色調データについて統計計算
が行われ、統計計算機能43で得られた統計計算値と所
定の検査基準値との比較が比較機能44によって行わ
れ、色調検査機能45によって、検査対象物Tの表面の
色調検査が上記比較結果に応じて行われる。
Returning to FIGS. 1 and 2, the tone data images of the L image, the a image and the b image created in this manner are divided into a plurality of divided areas by the dividing function. Then, the statistical calculation function 43 performs a statistical calculation on the color tone data of each pixel in each of the plurality of divided regions, and compares the statistical calculation value obtained by the statistical calculation function 43 with a predetermined inspection reference value. The color tone inspection function 45 performs a color tone inspection on the surface of the inspection target T according to the comparison result.

【0046】図2の例では、検査対象物Tの搬送方向に
L画像の各値が平均され、その結果がグラフの横軸に並
べられて所定のしきい値と比較される。この場合、色調
異常がある部位では、他の部位と比較してL値が高くな
るため、しきい値を超えた場合に不良とすることで色調
検査を行うことができる。また、リアル画像や、L画
像、a画像、b画像を表示装置3に表示することで、検
査結果の確認ができる。さらに、計測したLab画像と
予め取得しておいた良品のLab画像を比較表示するこ
とでより視認性よく確認することができる。
In the example of FIG. 2, each value of the L image is averaged in the transport direction of the inspection object T, and the result is arranged on the horizontal axis of the graph and compared with a predetermined threshold value. In this case, since the L value is higher in a portion where there is a color tone abnormality than in other portions, it is possible to perform a color tone test by determining a defect when the value exceeds a threshold value. In addition, by displaying the real image, the L image, the a image, and the b image on the display device 3, the inspection result can be confirmed. Further, by comparing and displaying the measured Lab image and a previously acquired good Lab image, it is possible to confirm the visibility with higher visibility.

【0047】図9,図10は画像処理装置が有する区分
機能の説明図であり、これらの図を用いて以下に本発明
に係る第2実施形態について説明する。ただし、第2実
施形態の色調検査システムは、第1実施形態の図1と同
様に構成され、画像処理装置4が有する区分機能42に
より実行される処理に特徴がある。
FIGS. 9 and 10 are explanatory diagrams of the sorting function of the image processing apparatus. The second embodiment according to the present invention will be described below with reference to these figures. However, the color tone inspection system of the second embodiment has the same configuration as that of FIG. 1 of the first embodiment, and is characterized by the processing executed by the sorting function 42 of the image processing apparatus 4.

【0048】検査対象物Tは、図9に示すように、一方
向に搬送されながら、まずロール金型6によって表面に
凹凸模様がつけられ、続いて乾燥の後、ロールコータ7
によって表面に着色が施される。このとき、外装建材の
検査対象物Tの原板に偏肉があったり、あるいはロール
コータ7が傾いていると、検査対象物Tの端部における
塗装にかすれが生じたり、あるいは逆に過剰に塗料が付
着したりするなどして着色に色むらが生じ、端部に筋状
の色不良が生じることになる。
As shown in FIG. 9, the inspection object T is conveyed in one direction, firstly, a concavo-convex pattern is formed on the surface by a roll mold 6, and after drying, the roll coater 7 is dried.
The surface is colored by the. At this time, if the original plate of the inspection object T of the exterior building material has uneven thickness or the roll coater 7 is inclined, the coating at the end of the inspection object T may be blurred, or conversely, excessive paint may be applied. Is attached, etc., and color unevenness is caused in the coloring, resulting in streak-like color defects at the ends.

【0049】そこで、第2実施形態の上記特徴として、
画像処理装置4の区分機能42は、図10に示すよう
に、色調データ画像生成機能41により生成された2次
元の色調データ画像I2を、この少なくとも1辺、図1
0(b)の例では短手方向の辺に沿って複数の領域が並
ぶように分割して、複数の分割領域R1〜R9に区分す
るのである。
Therefore, as the above-mentioned feature of the second embodiment,
As shown in FIG. 10, the sorting function 42 of the image processing device 4 converts the two-dimensional tone data image I2 generated by the tone data image generating function 41 into at least one side of FIG.
In the example of 0 (b), a plurality of regions are divided so as to be arranged along the shorter side, and divided into a plurality of divided regions R1 to R9.

【0050】このように色調データ画像I2を複数の分
割領域R1〜R9に区分すると、短手方向の両端にある
分割領域R1,R9に上述の色むらが発生しやすいた
め、それらの分割領域R1,R9を、統計計算機能43
などを通じて詳細に解析することにより、その色むらに
よる色不良の検出が容易になる。つまり、比較的簡単な
処理で、細かな模様に左右されず、目視で問題となるも
う少し大きめの色むらを安定して検出することができ
る。
When the color tone data image I2 is divided into a plurality of divided regions R1 to R9 in this manner, the above-described color unevenness is likely to occur in the divided regions R1 and R9 at both ends in the short direction. , R9 by the statistical calculation function 43
By performing detailed analysis through, for example, it becomes easy to detect a color defect due to the color unevenness. In other words, with a relatively simple process, it is possible to stably detect a slightly larger color unevenness which is a problem visually, without being influenced by a fine pattern.

【0051】ところで、第2実施形態における検査対象
物Tの図柄の並びには上記一方向に沿って繰り返しの規
則性があるので、図10(b)の分割方法は、生成され
た色調データ画像を、当該色調データ画像における繰り
返しの規則性がある図柄の並び方向と直交する方向に沿
って複数の領域が並ぶように分割して、複数の分割領域
に区分する分割方法でもあり、また、生成された色調デ
ータ画像を、ロールコータ7によって連続的に色付けさ
れた方向と直交する方向に沿って複数の領域が並ぶよう
に分割して、複数の分割領域に区分する分割方法でもあ
る。前者の分割方法によれば、格子状パターンの図柄の
規則性に関連のある色調異常を検出し易くなり、後者の
分割方法によれば、ロールコータ7の塗料かすれなどの
連続安定性を検査し易くなる。
By the way, since the pattern of the pattern of the inspection object T in the second embodiment has a regularity of repetition along the one direction, the dividing method of FIG. There is also a division method in which a plurality of regions are divided so as to be arranged along a direction orthogonal to the arrangement direction of symbols having repetition regularity in the color tone data image, and divided into a plurality of divided regions. The color tone data image is divided so that a plurality of regions are arranged in a direction orthogonal to the direction in which the color is continuously colored by the roll coater 7, and divided into a plurality of divided regions. According to the former division method, it is easy to detect a color tone abnormality related to the regularity of the pattern of the lattice pattern, and according to the latter division method, continuous stability such as paint fading of the roll coater 7 is inspected. It will be easier.

【0052】なお、このような方向の分割方法に限ら
ず、生成された色調データ画像を、長手方向の辺に沿っ
て複数の領域が並ぶように分割して、複数の分割領域に
区分する分割方法でもよい。この分割方法によれば、比
較的簡単な処理で、細かな模様に左右されず、目視で問
題となるもう少し大きめの色むらを安定して検出するこ
とができる。
The division is not limited to such a division method in the direction, and the generated color tone data image is divided so that a plurality of regions are arranged along a longitudinal side, and divided into a plurality of division regions. It may be a method. According to this division method, slightly larger color unevenness which is a problem visually can be stably detected by relatively simple processing without being influenced by fine patterns.

【0053】また、この分割方法は、生成された色調デ
ータ画像を、当該色調データ画像における繰り返しの規
則性がある図柄の並び方向に沿って複数の領域が並ぶよ
うに分割して、複数の分割領域に区分する分割方法でも
あり、また、生成された色調データ画像を、ロールコー
タ7によって連続的に色付けされた方向に沿って複数の
領域が並ぶように分割して、複数の分割領域に区分する
分割方法でもある。前者の分割方法によれば、格子状パ
ターンの図柄の規則性とは関連の少ない色調異常を検出
し易くなり、後者の分割法法によれば、ロールコータ7
の色付けの幅方向の色バランスおよび色むらをチェック
し易くなり、特に、前端は正常に印刷されているが後端
はロールコータ7の塗料切れなどのために発生する色不
良の検出が可能となる。
Further, this dividing method divides the generated tone data image so that a plurality of regions are arranged along a direction in which symbols having repetition regularity in the tone data image are arranged. This is also a division method that divides the generated tone data image so that a plurality of regions are arranged along a direction in which the roll coater 7 successively colors the color data image, and divides the generated tone data image into a plurality of divided regions. It is also a division method. According to the former division method, it is easy to detect a color tone abnormality that is less relevant to the regularity of the pattern of the lattice pattern, and according to the latter division method, the roll coater 7 can be easily detected.
It is easy to check the color balance and color unevenness in the width direction of the coloring, and particularly, it is possible to detect a color defect caused by running out of paint on the roll coater 7 while the front end is normally printed. Become.

【0054】図11,図12は画像処理装置が有する区
分機能の説明図であり、これらの図を用いて以下に本発
明に係る第3実施形態について説明する。
FIGS. 11 and 12 are explanatory diagrams of the sorting function of the image processing apparatus. The third embodiment according to the present invention will be described below with reference to these drawings.

【0055】第3実施形態の色調検査システムは、画像
処理装置4の区分機能42により実行される処理方法が
第2実施形態と相違する。すなわち、第3実施形態の区
分機能42は、図11(a)に示すように、色調データ
画像生成機能41により生成された2次元の色調データ
画像I2を最小基準となる分割単位領域DRで分割して
複数の最小領域に区分し、これらの最小領域毎の色調デ
ータについてL値,a値,b値の各平均値の統計分布を
求め、複数の最小領域の各々を、その統計分布の値(各
平均値)が少なくとも一つの所定分布範囲に入る組みと
入らない組みとに分類して、複数の分割領域に区分す
る。
The color tone inspection system of the third embodiment is different from the second embodiment in the processing method executed by the sorting function 42 of the image processing apparatus 4. That is, as shown in FIG. 11A, the division function 42 of the third embodiment divides the two-dimensional color tone data image I2 generated by the color tone data image generation function 41 by the division unit area DR serving as the minimum reference. To obtain a statistical distribution of average values of L value, a value, and b value with respect to the tone data of each of the minimum regions, and calculate each of the plurality of minimum regions by a value of the statistical distribution. (Average value) is classified into a group that falls within at least one predetermined distribution range and a group that does not fall in at least one predetermined distribution range, and is divided into a plurality of divided regions.

【0056】この構成の色調検査システムでは、下地と
なる目地塗装部とトップ塗装部とに分かれる図柄を有す
る検査対象物Tから得られる色調データ画像が、区分機
能42によって、目地塗装部の領域とトップ塗装部の領
域との2つの分割領域に区分されることになる。
In the color tone inspection system having this configuration, the color tone data image obtained from the inspection object T having the pattern divided into the joint paint portion and the top paint portion serving as the base is divided by the sorting function 42 into the area of the joint paint portion. It will be divided into two divided areas with the area of the top coating part.

【0057】ここで、所定分布範囲(図11(b)では
領域判定値)は、検査対象物Tに複数の良品を用いて、
図12(a)〜(c)にそれぞれ示す最小領域単位のL
値,a値,b値の各平均値の度数分布に基づいて予め定
められる。すなわち、良品の場合において、図12に示
すように、トップ塗装部についての最小領域単位のL
値,a値,b値の各平均値がそれぞれL3〜L4,a1
〜a2,b3〜b4であり、目地塗装部についての最小
領域単位のL値,a値,b値の各平均値がそれぞれL1
〜L2,a3〜a4,b1〜b2であるとき、図11
(b)に示すように、トップ塗装部に対する領域判定値
は(L3,a1,b3)〜(L4,a2,b4)に定め
られ、目地塗装部に対する領域判定値は(L1,a3,
b1)〜(L2,a4,b2)に定められる。
Here, the predetermined distribution range (region determination value in FIG. 11B) is determined by using a plurality of non-defective products as the inspection object T.
L in the minimum area unit shown in each of FIGS.
It is determined in advance based on the frequency distribution of the average value, the value a, and the value b. That is, in the case of a non-defective product, as shown in FIG.
Values, a value, and average value of b value are L3 to L4, a1, respectively.
Aa2, b3〜b4, and the average value of the L value, a value, and b value of the minimum area unit for the joint coating portion is L1.
When L2, a3 to a4, and b1 to b2,
As shown in (b), the area determination value for the top painted portion is determined from (L3, a1, b3) to (L4, a2, b4), and the area determination value for the joint painted portion is (L1, a3,
b1) to (L2, a4, b2).

【0058】そして、区分された複数の最小領域の各々
におけるL値,a値,b値の各平均値がトップ塗装部に
対する領域判定値になっていれば、図11(a)に示す
トップ塗装部(Lt,at,bt)にその最小領域を含
め、目地塗装部に対する領域判定値になっていれば、目
地塗装部(Lm,am,bm)にその最小領域を含める
処理が実行される。この処理を全ての最小領域について
実行すれば、色調データ画像を、図11(c)に示すト
ップ塗装部の領域と図11(d)に示す目地塗装部の領
域とに分けて2つの分割領域に区分することができる。
第3実施形態では、2種類の所定分布範囲に入る組みと
入らない組みとに分類されるので、図11(c),
(d)の各領域は、トップ塗装部と目地塗装部との境界
を含まないものとなる。このようにして区分された分割
領域に対して、第1実施形態と同様の処理が実行される
が、この場合、色むらを検出し易くなる。
If the average of the L value, the a value, and the b value in each of the plurality of divided minimum areas is the area determination value for the top coating portion, the top coating shown in FIG. If the minimum area is included in the joint (Lt, at, bt) and the area determination value for the joint painting part is set, the process of including the minimum area in the joint painting part (Lm, am, bm) is executed. If this processing is executed for all the minimum areas, the color tone data image is divided into the area of the top painting section shown in FIG. 11C and the area of the joint painting section shown in FIG. Can be divided into
In the third embodiment, since the combination is classified into a set that falls within two types of predetermined distribution ranges and a set that does not fall within the predetermined distribution range, FIG.
Each region of (d) does not include the boundary between the top painted portion and the joint painted portion. The same processing as that in the first embodiment is performed on the divided areas divided in this way, but in this case, it is easier to detect color unevenness.

【0059】なお、第3実施形態では、生成された色調
データ画像を最小基準となる分割単位領域で分割して複
数の最小領域に区分する方法が採られるが、生成された
色調データ画像を、所定領域毎に、最小基準となる分割
単位領域で分割して複数の最小領域に区分する方法でも
よい。この方法でも、色むらを検出し易くなる。ただ
し、上記所定領域は、第2実施形態の分割方法またはこ
れに関連する分割方法と同様にして分割される。
In the third embodiment, a method is employed in which the generated color tone data image is divided into a plurality of minimum regions by dividing the generated color tone data image into division unit regions serving as minimum references. For each predetermined area, a method may be used in which the area is divided into a plurality of minimum areas by dividing by a division unit area serving as a minimum reference. This method also makes it easier to detect color unevenness. However, the predetermined area is divided in the same manner as the division method of the second embodiment or a division method related thereto.

【0060】図13は画像処理装置が有する統計計算機
能および比較機能の説明図であり、この図を用いて以下
に本発明に係る第4実施形態について説明する。ただ
し、図13のR1〜R9の分割領域は、第2実施形態の
図10(b)のそれらに対応しているものとする。ま
た、図13の各値はLabのいずれか1種に対応するも
のであり、残りについては図示省略してある。
FIG. 13 is an explanatory diagram of a statistical calculation function and a comparison function of the image processing apparatus. A fourth embodiment according to the present invention will be described below with reference to FIG. However, it is assumed that the divided areas R1 to R9 in FIG. 13 correspond to those in FIG. 10B of the second embodiment. Further, each value in FIG. 13 corresponds to any one type of Lab, and the other values are not shown.

【0061】第4実施形態の色調検査システムは、第1
実施形態の図1と同様に構成され、画像処理装置4が有
する統計計算機能43および比較機能44により実行さ
れる各処理に特徴がある。すなわち、複数の分割領域の
各々における各画素の色調データについての統計計算と
して、図13(a)に示すように、分割領域単位でLa
bの各平均値(同図では黒点)の分布が統計計算機能4
3により求められる。
The color tone inspection system according to the fourth embodiment includes the first
The configuration is the same as that of FIG. 1 of the embodiment, and is characterized by each processing executed by the statistical calculation function 43 and the comparison function 44 of the image processing apparatus 4. That is, as shown in FIG. 13A, the statistical calculation is performed on the color tone data of each pixel in each of the plurality of divided regions, and as shown in FIG.
The distribution of each average value (b) in FIG.
3 is required.

【0062】そして、分割領域単位の各平均値と所定の
検査基準値との比較が比較機能44により行われる。こ
こで、所定の検査基準値は、検査対象物Tに良品を複数
用いた時にそれぞれ生成される複数の色調データ画像か
ら導出されるものであって、これら複数の色調データ画
像の各々に対して、複数の分割領域の各々について上記
統計計算を行い、これにより得られた各分割領域につい
ての統計計算値のばらつき範囲を基準に、複数の分割領
域の各々に対して個別に設定される。つまり、所定の検
査基準値は、検査対象物Tに複数の良品を用いて得られ
る、上記分割領域単位の各平均値に基づいて、予め定め
られる。図13(a)の例では、白点が所定の検査基準
値の中央値であり、その白点から上下に伸びる矢印で規
定される幅が所定の検査基準値の管理幅である。
Then, the comparison function 44 compares the average value of each divided area with a predetermined inspection reference value. Here, the predetermined inspection reference value is derived from a plurality of tone data images generated when a plurality of non-defective products are used as the inspection object T, and is determined for each of the plurality of tone data images. The above-described statistical calculation is performed for each of the plurality of divided regions, and individually set for each of the plurality of divided regions based on the variation range of the statistical calculation value obtained for each of the divided regions. That is, the predetermined inspection reference value is determined in advance based on each of the average values of the divided areas obtained using a plurality of non-defective products as the inspection target T. In the example of FIG. 13A, a white point is a median of a predetermined inspection reference value, and a width defined by an arrow extending vertically from the white point is a management width of the predetermined inspection reference value.

【0063】したがって、計測された分割領域単位の平
均値が、対応する検査基準値の管理幅内に収まるかどう
かの比較が比較機能44により行われ、この比較機能4
4による比較結果に応じて検査対象物Tの表面の色調検
査が色調検査機能45により行われることになる。例え
ば、計測された分割領域単位の平均値が、対応する検査
基準値の管理幅内に収まれば、その分割領域には色むら
などの問題はないと判断される一方、管理幅内に収まら
なければ、その分割領域には色むらなどの問題があると
判断される。また、これらの色調検査の結果は、図13
(b)に示すように正規化した上で、表示装置3に表示
される。
Therefore, the comparison function 44 compares whether or not the measured average value of the divided area unit falls within the management range of the corresponding inspection reference value.
In accordance with the result of the comparison in 4, the color tone inspection of the surface of the inspection object T is performed by the color tone inspection function 45. For example, if the measured average value of each divided area falls within the management range of the corresponding inspection reference value, it is determined that there is no problem such as color unevenness in the divided area, but it must be within the management width. For example, it is determined that the divided area has a problem such as color unevenness. The results of these color tone tests are shown in FIG.
After normalization as shown in (b), it is displayed on the display device 3.

【0064】なお、第4実施形態では、統計計算および
比較に、分割領域単位のLabの各平均値が使用される
構成になっているが、これに限らず、分割領域内の色調
データの発生頻度分布をなす色調データの度数を統計計
算値として求め、所定の色調データの度数が検査対象物
T全体に占める割合と、所定の割合との比較を行う構成
でもよい。例えば、図14に示すように、L値が60〜
70の度数を求め、この度数が検査対象物T全体に占め
る割合(%)と、所定の割合(70%)との比較を行
い、前者が後者以上であればその検査対象物Tを良品と
し、そうでなければ不良品とする。この場合、比較的簡
単な処理で色むらの検査が可能となる。
In the fourth embodiment, the average value of each Lab is used for statistical calculation and comparison. However, the present invention is not limited to this. The frequency of the color tone data forming the frequency distribution may be obtained as a statistical calculation value, and the ratio of the frequency of the predetermined color tone data to the entire inspection object T may be compared with the predetermined ratio. For example, as shown in FIG.
A frequency of 70 is obtained, and a ratio (%) of the frequency to the whole inspection object T (%) is compared with a predetermined ratio (70%). If the former is equal to or greater than the latter, the inspection object T is regarded as a good product. Otherwise, it is considered a defective product. In this case, it is possible to inspect color unevenness by relatively simple processing.

【0065】あるいは、分割領域内の色調データの発生
頻度分布をなす色調データの度数を統計計算値として求
め、その発生頻度分布の形状と所定の基準分布の形状と
の比較を行う構成でもよい。例えば、図15に示すよう
に、実線の発生頻度分布の形状を求め、この形状が点線
で示される一対の基準分布の形状に挟まれる範囲内にあ
るかどうかの比較を行い、範囲内にあればその検査対象
物Tを良品とし、そうでなければ不良品とする。この場
合、色むらの特徴を高精度で検出可能となる。
Alternatively, the frequency of the color tone data forming the frequency distribution of color tone data in the divided area may be obtained as a statistical calculation value, and the shape of the frequency distribution may be compared with the shape of a predetermined reference distribution. For example, as shown in FIG. 15, the shape of the solid line occurrence frequency distribution is determined, and a comparison is made to determine whether or not this shape is within a range sandwiched between a pair of reference distribution shapes indicated by dotted lines. If the inspection target T is a good product, the test object T is a defective product. In this case, it is possible to detect the color unevenness feature with high accuracy.

【0066】また、第4実施形態において、色調検査に
合格した複数の良品について、各分割領域の測定値(L
abの各平均値)を記憶装置などに保存し、分割領域の
各測定値の平均値を求めてこれを検査基準値の中央値に
更新する構成にしてもよい。
Further, in the fourth embodiment, the measured values (L
The average value of each of the ab) may be stored in a storage device or the like, and the average value of the measured values of the divided areas may be obtained and updated to the median of the inspection reference values.

【0067】さらに、製造された検査対象物T全体の平
均値を時系列で表示装置3に表示する構成にしてもよ
い。この場合、色調変化の傾向管理が可能となる。
Further, the average value of the whole manufactured inspection object T may be displayed on the display device 3 in chronological order. In this case, color tone change tendency management is possible.

【0068】図16は色調検査システムのブロック構成
図、図17は図16の画像表示処理機能により表示装置
に表示される画像の表示例を示す図であり、これらの図
を用いて以下に本発明に係る第5実施形態について説明
する。
FIG. 16 is a block diagram of the color tone inspection system, and FIG. 17 is a diagram showing a display example of an image displayed on the display device by the image display processing function of FIG. 16. Referring to FIGS. A fifth embodiment according to the invention will be described.

【0069】第5実施形態の色調検査システムは、図1
6に示すように、画像表示処理機能46をさらに有する
画像処理装置4Aを備えている以外は第1実施形態と同
様に構成される。
The color tone inspection system of the fifth embodiment is similar to that of FIG.
As shown in FIG. 6, the configuration is the same as that of the first embodiment except that the image processing apparatus 4A further includes an image display processing function 46.

【0070】画像表示処理機能46は、図17に示すよ
うに、色調データ画像を、これを構成する各画素の色調
データに、対応する表示色または濃淡度を割り当てて、
表示装置3に表示する処理を行う。ここで、図17
(a)、(b)、(c)、(d)は、それぞれリアル画
像、L画像、a画像、b画像を示す。
As shown in FIG. 17, the image display processing function 46 assigns a corresponding display color or shading to the color tone data of each pixel constituting the color tone data image.
Processing for displaying on the display device 3 is performed. Here, FIG.
(A), (b), (c), and (d) show a real image, an L image, an a image, and a b image, respectively.

【0071】ここで、分光画像I1だけで色むらなどの
異常部分を検出する場合、明らかに色の違う部分は認識
できるが、微妙に色の違う部分を即座に認識することは
困難であり、また、数字の表示だけでどの部分が異常で
あるかを認識することも困難である。
Here, when an abnormal portion such as color unevenness is detected only by the spectral image I1, a portion having a distinctly different color can be recognized, but it is difficult to immediately recognize a subtly different portion. It is also difficult to recognize which part is abnormal only by displaying the numbers.

【0072】このため、図17に示すように、各位置に
対する色調計測値Labを等高線の様に段階的に表すグ
ラフ(2次元グラフ)を作成する。2次元の位置ごとに
濃淡を付けて表示することで、異常部分を明確に認識す
ることができる。例えば、L値の最大値と最小値から、
その間の値を10段階に分割して、白(最大値)から黒
(最小値)までの明るさの違いで濃淡を付けることで検
査対象物Tの色の傾向を掴むことができる。また、濃淡
の代わりに色の違いによって表示することでなお一層わ
かりやすくなる。なお、リアル画像は、現物のカラー画
像を色情報データより再生することで得られる。また、
L画像、a画像、b画像は、色調データのレベルに合わ
せ、表示色の濃度を変化させることで、あるいは色調デ
ータのレベルに各種表示色を対応させることで得られ
る。
For this reason, as shown in FIG. 17, a graph (two-dimensional graph) representing the tone value Lab for each position in a stepwise manner like a contour line is created. By displaying each two-dimensional position with shading, abnormal portions can be clearly recognized. For example, from the maximum value and the minimum value of the L value,
The value in the meantime is divided into 10 levels, and the color tendency of the inspection object T can be grasped by shading according to the difference in brightness from white (maximum value) to black (minimum value). In addition, by displaying the color difference instead of the shading, it becomes even easier to understand. Note that the real image is obtained by reproducing the actual color image from the color information data. Also,
The L image, the a image, and the b image can be obtained by changing the display color density in accordance with the level of the color tone data, or by associating various display colors with the level of the color tone data.

【0073】このように、第5実施形態では、図17に
示すような各種画像が表示装置3に表示されるので、作
業者によるLab情報の視認性が良くなり、目視との対
比が可能となる。また、色調データ画像とともにリアル
画像が表示されるので、半自動目視検査で精密判定が可
能となる。
As described above, in the fifth embodiment, since various images as shown in FIG. 17 are displayed on the display device 3, the visibility of the Lab information by the worker is improved, and it is possible to compare the Lab information with the naked eye. Become. In addition, since a real image is displayed together with the color tone data image, precise judgment can be made by a semi-automatic visual inspection.

【0074】なお、第5実施形態において、表示装置3
に表示している色調データ画像における複数の分割領域
のうち、所望の分割領域を、入力装置2を通じて指定す
る操作入力が得られると、その指定された分割領域につ
いての統計計算値または検査結果を表示装置3に表示す
る機能を画像処理装置に具備してもよい。
In the fifth embodiment, the display device 3
When an operation input for designating a desired divided region among the plurality of divided regions in the color tone data image displayed on the input device 2 is obtained, a statistical calculation value or an inspection result for the designated divided region is obtained. The function of displaying on the display device 3 may be provided in the image processing device.

【0075】図18は色調検査システムのブロック構成
図、図19は画像処理装置の画像表示処理機能により表
示装置に表示される表示内容の説明図、図20,図21
は表示装置に表示される画像の表示例を示す図であり、
これらの図を用いて以下に本発明に係る第6実施形態に
ついて説明する。
FIG. 18 is a block diagram of the color tone inspection system, FIG. 19 is an explanatory diagram of display contents displayed on the display device by the image display processing function of the image processing device, and FIGS.
Is a diagram showing a display example of an image displayed on the display device,
The sixth embodiment according to the present invention will be described below with reference to these drawings.

【0076】第6実施形態の色調検査システムは、第5
実施形態との相違点として、画像表示処理機能46によ
り実行される処理方法が異なり、画像処理装置4Bに自
動・目視判定比較更新機能24をさらに具備している。
The color tone inspection system according to the sixth embodiment
As a difference from the embodiment, the processing method executed by the image display processing function 46 is different, and the image processing apparatus 4B further includes an automatic / visual determination comparison / update function 24.

【0077】第6実施形態の画像表示処理機能46は、
図19に示すように、検査対象物画像とともに色調検査
基準となる別の基準画像を表示装置3に表示するほか、
複数の分割領域の各々に対する比較結果に、欠陥候補で
あることを示す比較結果が含まれていれば、その欠陥候
補であることを示す比較結果となった分割領域を、枠線
を用いて強調表示する。例えば、図20(e)、
(f)、(g)、(h)にそれぞれ示す検査対象物画像
としてのリアル画像、L画像、a画像、b画像ととも
に、図20(a)、(b)、(c)、(d)にそれぞれ
示す基準画像としてのリアル画像、L画像、a画像、b
画像が表示装置3に表示される。これにより、異常点を
明確に認識することが可能となる。また、欠陥候補であ
ることを示す比較結果となった分割領域は、その該当部
分を囲む枠線を、図21(a)、(b)に示すように点
滅させることで強調表示される。これにより、欠陥候補
部分(異常の可能性のある部分)が判別し易くなり、効
率的な目視判定が可能となり、目視判定による見逃しを
少なくすることができる。また、リアル画像、L画像、
a画像、b画像のそれぞれまたは任意の基準画像を上限
基準画像と下限基準画像に分けて良品限度を示す画像表
示をしてもよい。これにより、検査判定基準範囲が明確
になって限度付近の判定が容易になるとともに、さらに
検査精度が向上する。
The image display processing function 46 of the sixth embodiment is
As shown in FIG. 19, in addition to displaying another reference image serving as a color tone inspection reference together with the inspection object image on the display device 3,
If the comparison result for each of the plurality of divided regions includes the comparison result indicating that the defect is a candidate, the divided region serving as the comparison result indicating the defect candidate is emphasized using a frame line. indicate. For example, FIG.
20 (a), (b), (c), and (d) together with a real image, an L image, an a image, and a b image as inspection object images shown in (f), (g), and (h), respectively. Real image, L image, a image, b
The image is displayed on the display device 3. Thereby, it is possible to clearly recognize the abnormal point. In addition, the divided area that is a comparison result indicating a defect candidate is highlighted by blinking a frame line surrounding the corresponding part as shown in FIGS. 21 (a) and 21 (b). As a result, the defect candidate portion (the portion having a possibility of abnormality) can be easily identified, efficient visual determination can be performed, and oversight by visual determination can be reduced. Also, real images, L images,
Each of the a-image and the b-image or any reference image may be divided into an upper-limit reference image and a lower-limit reference image, and an image indicating the non-defective product limit may be displayed. As a result, the inspection determination reference range becomes clear, which facilitates determination near the limit, and further improves inspection accuracy.

【0078】自動・目視判定比較更新機能24は、入力
装置2を通じた操作入力で目視による良否判定が入力さ
れると、その目視による良否判定の情報を、分光画像か
ら得られる情報(例えば色調データ)および所定の検査
基準値の情報とともに例えば既述の記録装置に保存し、
色調検査機能45による自動良否判定結果と入力された
良否判定との一致、不一致の履歴の相違率を算出し、こ
れをその現在の一致、不一致の結果とともに表示装置3
に表示する処理を行う。図19では、目視による良否判
定は、「目視判定入力」における「良」または「不良」
のラジオボタンを入力装置2のマウスなどでクリックす
ることにより入力される。そして、その良否判定と色調
検査機能45による自動良否判定結果(同図では自動判
定結果)とが一致すれば、図19に示す「照合」に対応
する欄に「一致」が表示され、そうでなければ「不一
致」が表示される。また、履歴の相違率が「不一致率」
に対応する欄に%で表示される。なお、図19では、自
動判定結果は「不良」になっている。
The automatic / visual judgment comparison / updating function 24, when a visual pass / fail judgment is input by an operation input through the input device 2, transmits the visual pass / fail judgment information to information (for example, color tone data ) And the information of the predetermined inspection reference value, for example, stored in the recording device described above,
The difference rate of the match / mismatch history between the automatic pass / fail judgment result by the color tone inspection function 45 and the input pass / fail judgment is calculated, and the calculated difference ratio is displayed on the display device 3 together with the current match / mismatch result.
Perform the processing to be displayed in. In FIG. 19, the pass / fail judgment by visual observation is “good” or “bad” in “visual judgment input”.
Is input by clicking the radio button of the input device 2 with a mouse or the like. If the pass / fail judgment matches the automatic pass / fail judgment result (the automatic judgment result in the figure) by the color tone inspection function 45, "match" is displayed in a column corresponding to "collation" shown in FIG. If not, "mismatch" is displayed. In addition, the difference rate of the history is "mismatch rate"
Is displayed in% in the column corresponding to. In FIG. 19, the result of the automatic determination is “bad”.

【0079】自動・目視判定比較更新機能24は、履歴
の相違率(すなわち不一致率)が可変の所定率以上にな
った場合、上記記録装置に保存された情報を用いて、相
違率が所定率を下回るように所定の検査基準値を更新す
る処理をさらに行う。図19の例では、更新の基準とな
る可変の所定率は1%に設定されており、この率を相違
率が超えた日付が、判定パラメータの値とともに「更新
履歴」の欄に表示されている。これにより、工程の変動
などで目視判定基準と自動判定基準のずれが生じても、
目視判定を基準として自動判定基準を修正することが可
能になる。また、このときは、新しく更新しようとする
判定パラメータにて過去の検査済み記録データを再検査
シミュレーションして相違率を確認し、新しく更新する
判定パラメータが適切な値になるように調整できるよう
になっており、相違率の改善が信頼性高く図り易い。
The automatic / visual judgment comparison / updating function 24 uses the information stored in the recording device to set the difference rate to a predetermined rate when the difference rate (that is, the mismatch rate) of the histories exceeds a variable predetermined rate. Further, a process of updating the predetermined inspection reference value so as to fall below the predetermined value is further performed. In the example of FIG. 19, the variable predetermined rate serving as an update reference is set to 1%, and the date when the difference rate exceeds this rate is displayed in the “update history” column together with the value of the determination parameter. I have. Thereby, even if a difference between the visual judgment criterion and the automatic judgment criterion occurs due to a process variation,
It becomes possible to correct the automatic judgment criterion based on the visual judgment. Also, at this time, the past inspection record data is re-inspected and simulated with the newly updated determination parameter to check the difference rate, and the newly updated determination parameter can be adjusted to an appropriate value. Therefore, it is easy to improve the difference rate with high reliability.

【0080】このような構成によれば、人の感性に関わ
る色調検査に人の目視による良否判定が加味されるよう
になって、好ましい検査結果が得られることになる。ま
た、人は長時間の作業により疲労すると判定に誤りが出
やすくなるが、検査対象物画像と基準画像とが比較表示
されるので、誤判定が減少するとともに作業効率が良く
なる。また、自動良否判定結果と人による良否判定との
不一致が多くなると、保存された検査情報を基に所定の
検査基準値(判定パラメータ)が更新されるから、初期
に設定した判定パラメータでは正確な自動良否判定が得
られなくても、繰り返し検査が行われることで、工程の
傾向に基づいた自動良否判定が可能になる。また、判定
パラメータの変更日付およびその変更前後の値が表示さ
れるので作業性が良くなる。さらに、欠陥候補であるこ
とを示す比較結果となった分割領域が強調表示されるの
で、欠陥部分の特定が容易となる。
According to such a configuration, the color tone inspection relating to the human sensibility is added to the judgment of the quality by visual inspection of the human, so that a preferable inspection result can be obtained. In addition, when a person is tired by a long-time operation, an error is likely to be made in the determination. However, since the inspection object image and the reference image are displayed for comparison, erroneous determination is reduced and work efficiency is improved. Further, when the discrepancy between the automatic pass / fail judgment result and the pass / fail judgment by a person increases, a predetermined test reference value (judgment parameter) is updated based on the stored test information. Even if the automatic pass / fail judgment is not obtained, the repetitive inspection enables the automatic pass / fail judgment based on the tendency of the process. Further, since the change date of the determination parameter and the values before and after the change are displayed, workability is improved. Further, since the divided area which is the comparison result indicating the defect candidate is highlighted, the defective portion can be easily specified.

【0081】なお、上記各実施形態において、複数の分
割領域に区分する場合、色調データ画像における図柄の
並びを利用して、色調データ画像を複数の分割領域に区
分する場合に必要となる位置合わせを行う構成にしても
よい。この構成によれば、外装建材などで模様や印刷の
位置が製品毎に異なり位置ずれが起こるが、このような
場合にも位置ずれのない(あるいはほとんどない)検査
が可能となる。
In each of the above embodiments, when dividing into a plurality of divided areas, the alignment necessary for dividing the toned data image into a plurality of divided areas using the arrangement of symbols in the toned data image is used. May be performed. According to this configuration, the position of the pattern or the printing differs depending on the product in the exterior building material or the like, and a position shift occurs. Even in such a case, an inspection with no (or almost no) position shift can be performed.

【0082】あるいは、検査基準となる色調画像データ
内の部分パターンと、検査対象物Tから得られた色調デ
ータ画像内の種々の部分パターンとの正規化相関演算を
行い、これら正規化相関演算の各結果のうち最もマッチ
ングする結果となった、検査対象物Tから得られた色調
データ画像内の部分パターンの位置を利用して、色調デ
ータ画像を複数の分割領域に区分する場合に必要となる
位置合わせを行う構成でもよい。この構成によれば、精
度の高い位置合わせが可能となる。
Alternatively, a normalization correlation operation is performed between a partial pattern in the color tone image data serving as an inspection reference and various partial patterns in the color tone data image obtained from the inspection object T, and these normalized correlation operations are performed. This is necessary when the color tone data image is divided into a plurality of divided regions by using the position of the partial pattern in the color tone data image obtained from the inspection target T, which is the best matching result among the results. A configuration for performing alignment may be used. According to this configuration, highly accurate positioning can be performed.

【0083】そして、これらの位置合わせを行う場合、
各画素の色調データを算出する際に使用される表面各点
における分光スペクトル値のうち、位置合わせのために
予め選択された所定の分光スペクトル波長に相当する分
光スペクトル値に対する重価係数を、検査対象物Tの特
定色に合わせて変更する構成にしてもよく、この構成の
場合、位置ずれを検出するためのパターンのエッジを検
出し易くなり、さらに精度の高い位置合わせが可能とな
る。
When these alignments are performed,
Among the spectral values at each point on the surface used when calculating the color tone data of each pixel, a weighting factor for a spectral value corresponding to a predetermined spectral wavelength selected in advance for alignment is inspected. The configuration may be changed in accordance with the specific color of the object T. In this configuration, it is easy to detect the edge of the pattern for detecting the positional deviation, and it is possible to perform the positioning with higher accuracy.

【0084】例えば、特定の塗料成分の量や比率など色
調不良は変動要因が決まっている場合が多く、工程不良
の検出において、特定色に対する品質基準が厳しい場
合、特定要因変動を検出し易いように重要な分光スペク
トルの波長に対する重価係数を大きくして、変形した色
調データ(Lab)を生成すればよい。具体的には、使
用されている塗料が600±5nmの波長の光に対する
反射率が高い場合、色調変換するための重価係数を60
0±5nmにおいて1.2倍にしたものを色調データと
する。この場合、上記塗料を塗布した外装建材と塗布し
ていない外装建材を比較したとき、重価係数を600±
5nmにおいて1.2倍にしないものでは色差が0.2
8であったのに対し、1.2倍にしたものでは色差が
3.2となるので、上記塗料の特徴をより詳細に検出可
能となる。
For example, in the case of poor color tone such as the amount and ratio of a specific paint component, the variation factor is often determined, and when the quality standard for a specific color is strict in detecting a process defect, the variation in the specific factor is easily detected. The modified color tone data (Lab) may be generated by increasing the weighting coefficient for the wavelength of the important spectral spectrum. Specifically, when the paint used has a high reflectance with respect to light having a wavelength of 600 ± 5 nm, the weight coefficient for color tone conversion is set to 60.
The data multiplied by 1.2 at 0 ± 5 nm is defined as color tone data. In this case, when comparing the exterior building material coated with the paint with the exterior building material not coated, the weight coefficient was 600 ±
If the color difference is not 1.2 times at 5 nm, the color difference is 0.2.
Compared to 8, the color difference becomes 3.2 in the case of 1.2 times, so that the characteristics of the paint can be detected in more detail.

【0085】また、基準とするエッジをはさむ両色調の
差が顕著になるように、または位置ずれを検出し易い特
定波形に重みを加えて、新たな色調データ(Lab)を
生成するようにしてもよい。さらに、Labの各色調デ
ータ画像のうち、いずれか1つの色調データ画像が位置
合わせに好適である場合、その1つの色調データ画像に
基づいて位置合わせを行ってもよい。
In addition, new tone data (Lab) is generated so that the difference between the two tones sandwiching the reference edge becomes remarkable, or weight is added to a specific waveform in which misregistration is easily detected. Is also good. Further, if any one of the color tone data images of Lab is suitable for alignment, the alignment may be performed based on the one color tone data image.

【0086】[0086]

【発明の効果】以上のことから明らかなように、請求項
1記載の発明は、複数色の図柄を有する検査対象物の表
面各点における分光スペクトル値を検出する分光センサ
を用いて、画像処理装置が、前記検査対象物の表面の色
調検査をするための色調検査方法であって、前記表面各
点における分光スペクトル値から、その表面各点に対応
する各画素の色調データを算出して、これら各画素の色
調データよりなる色調データ画像を生成するステップ
と、この色調データ画像を複数の分割領域に区分するス
テップと、これら複数の分割領域の各々における各画素
の色調データについて統計計算を行うステップと、この
ステップで得られた統計計算値と所定の検査基準値との
比較を行うステップと、この比較結果に応じて前記検査
対象物の表面の色調検査をするステップとを有するの
で、詳細な色調計測が可能となり、複数色の図柄を有す
る検査対象物の色調検査が可能となる。
As is apparent from the above description, the invention according to claim 1 performs image processing using a spectral sensor that detects spectral spectral values at respective points on the surface of an inspection object having a pattern of a plurality of colors. The apparatus is a color tone inspection method for inspecting the color tone of the surface of the inspection object, from the spectral spectrum value at each point of the surface, to calculate the color tone data of each pixel corresponding to each point of the surface, Generating a tone data image composed of the tone data of each of the pixels, dividing the tone data image into a plurality of divided areas, and performing a statistical calculation on the tone data of each pixel in each of the plurality of divided areas A step of comparing the statistical calculation value obtained in this step with a predetermined inspection reference value; and a color tone of the surface of the inspection object according to the comparison result. Since a step of the 査 enables detailed color measurement, it is possible shades inspection of the inspection object having a pattern of plural colors.

【0087】請求項2記載の発明によれば、請求項1記
載の色調検査方法において、前記色調データ画像は2次
元の画像データであり、前記複数の分割領域に区分する
ステップでは、前記生成した色調データ画像を、この少
なくとも1辺に沿って複数の領域が並ぶように分割し
て、前記複数の分割領域に区分するので、比較的簡単な
処理で、細かな模様に左右されず、目視で問題となるも
う少し大きめの色むらを安定して検出することができ
る。
According to a second aspect of the present invention, in the color tone inspection method according to the first aspect, the color tone data image is two-dimensional image data, and in the step of dividing into the plurality of divided regions, The color tone data image is divided so that a plurality of regions are arranged along at least one side, and divided into the plurality of divided regions. It is possible to stably detect a slightly larger color unevenness which is a problem.

【0088】請求項3記載の発明によれば、請求項1記
載の色調検査方法において、前記検査対象物の図柄の並
びには繰り返しの規則性があり、前記色調データ画像は
2次元の画像データであり、前記複数の分割領域に区分
するステップでは、前記生成した色調データ画像を、当
該色調データ画像における前記繰り返しの規則性がある
図柄の並び方向と直交する方向に沿って複数の領域が並
ぶように分割して、前記複数の分割領域に区分するの
で、例えば格子状パターンの図柄の規則性に関連のある
色調異常を検出し易くなる。
According to a third aspect of the present invention, in the color tone inspection method according to the first aspect, the pattern of the pattern of the inspection object has a repetitive regularity, and the color tone data image is two-dimensional image data. In the step of dividing the generated tone data image into a plurality of divided regions, the generated tone data image is arranged such that a plurality of regions are arranged in a direction orthogonal to a direction in which the symbols having the repetition regularity in the tone data image are arranged. And the image is divided into the plurality of divided areas, so that it is easy to detect a color tone abnormality related to, for example, the regularity of the pattern of the lattice pattern.

【0089】請求項4記載の発明によれば、請求項1記
載の色調検査方法において、前記検査対象物の図柄の並
びには繰り返しの規則性があり、前記色調データ画像は
2次元の画像データであり、前記複数の分割領域に区分
するステップでは、前記生成した色調データ画像を、当
該色調データ画像における前記繰り返しの規則性がある
図柄の並び方向に沿って複数の領域が並ぶように分割し
て、前記複数の分割領域に区分するので、例えば格子状
パターンの図柄の規則性とは関連の少ない色調異常を検
出し易くなる。
According to a fourth aspect of the present invention, in the color tone inspection method of the first aspect, the pattern of the pattern of the inspection object has a repetitive regularity, and the color tone data image is two-dimensional image data. In the step of dividing into the plurality of divided regions, the generated tone data image is divided so that a plurality of regions are arranged along a direction in which symbols having the repetition regularity in the tone data image are arranged. Since the image is divided into the plurality of divided areas, it is easy to detect a color tone abnormality that is less relevant to the regularity of the pattern of the lattice pattern, for example.

【0090】請求項5記載の発明によれば、請求項1記
載の色調検査方法において、前記検査対象物は、色付け
する装置によって端から端まで連続的に色付けされたも
のであり、前記色調データ画像は2次元の画像データで
あり、前記複数の分割領域に区分するステップでは、前
記生成した色調データ画像を、前記色付けする装置によ
って連続的に色付けされた方向と直交する方向に沿って
複数の領域が並ぶように分割して、前記複数の分割領域
に区分するので、色付けする装置の塗料かすれなどの連
続安定性を検査し易くなる。
According to a fifth aspect of the present invention, in the color tone inspection method according to the first aspect, the inspection object is colored continuously from one end to the other by a coloring device, and the color tone data is obtained. The image is two-dimensional image data, and in the step of dividing the image into the plurality of divided regions, the generated color tone data image is divided into a plurality of images along a direction orthogonal to a direction continuously colored by the coloring device. Since the area is divided so as to be arranged side by side and divided into the plurality of divided areas, it is easy to inspect the continuous stability of the coloring apparatus, such as paint faintness.

【0091】請求項6記載の発明によれば、請求項1記
載の色調検査方法において、前記検査対象物は、色付け
する装置によって端から端まで連続的に色付けされたも
のであり、前記色調データ画像は2次元の画像データで
あり、前記複数の分割領域に区分するステップでは、前
記生成した色調データ画像を、前記色付けする装置によ
って連続的に色付けされた方向に沿って複数の領域が並
ぶように分割して、前記複数の分割領域に区分するの
で、色付けする装置の色付け幅方向の色バランスおよび
色むらを検査し易くなる。
According to a sixth aspect of the present invention, in the color tone inspection method according to the first aspect, the inspection object is colored continuously from one end to another by a coloring device, and the color tone data The image is two-dimensional image data, and in the step of dividing into the plurality of divided regions, the generated tone data image is arranged such that a plurality of regions are arranged along a direction in which the coloring device continuously colors the image. , And is divided into the plurality of divided areas, so that it is easy to inspect the color balance and the color unevenness in the coloring width direction of the coloring apparatus.

【0092】請求項7記載の発明によれば、請求項1記
載の色調検査方法において、前記複数の分割領域に区分
するステップでは、前記生成した色調データ画像を最小
基準となる分割単位領域で分割して複数の最小領域に区
分し、これらの最小領域毎の色調データについて統計分
布を求め、前記複数の最小領域の各々を、その統計分布
の値が少なくとも一つの所定分布範囲に入る組みと入ら
ない組みとに分類して、前記複数の分割領域に区分する
ので、検査対象物の複数色の図柄に合わせて複数の分割
領域に区分することができ、色むらを検出し易くなる。
According to a seventh aspect of the present invention, in the color tone inspection method according to the first aspect, in the step of dividing into the plurality of divided areas, the generated tone data image is divided by a division unit area serving as a minimum reference. Then, a statistical distribution is obtained for the color tone data for each of the minimum areas, and each of the plurality of minimum areas is included in a set whose statistical distribution value falls within at least one predetermined distribution range. Since the test object is classified into a plurality of divided areas and divided into the plurality of divided areas, it can be divided into a plurality of divided areas in accordance with a pattern of a plurality of colors of the inspection object, and color unevenness can be easily detected.

【0093】請求項8記載の発明によれば、請求項1記
載の色調検査方法において、前記複数の分割領域に区分
するステップでは、前記生成した色調データ画像を、所
定領域毎に、最小基準となる分割単位領域で分割して複
数の最小領域に区分し、これらの最小領域毎の色調デー
タについて統計分布を求め、前記複数の最小領域の各々
を、その統計分布の値が少なくとも一つの所定分布範囲
に入る組みと入らない組みとに分類して、前記複数の分
割領域に区分するので、検査対象物の複数色の図柄に合
わせて複数の分割領域に区分することができ、色むらを
検出し易くなる。
According to the eighth aspect of the present invention, in the color tone inspection method according to the first aspect, in the step of dividing into the plurality of divided areas, the generated tone data image is set to a minimum reference value for each predetermined area. Divided into a plurality of minimum areas, and a statistical distribution is obtained for the color tone data for each of the minimum areas. Each of the plurality of minimum areas has at least one predetermined distribution having a statistical distribution value. It is classified into a set that does not belong to the range and a set that does not fit, and is divided into the plurality of divided areas, so that it can be divided into a plurality of divided areas according to a pattern of a plurality of colors of the inspection object, and color unevenness is detected. Easier to do.

【0094】請求項9記載の発明によれば、請求項1〜
8のいずれかに記載の色調検査方法において、前記所定
の検査基準値は、前記検査対象物に良品を複数用いた時
にそれぞれ生成される複数の色調データ画像から導出さ
れるものであって、これら複数の色調データ画像の各々
に対して、前記複数の分割領域の各々について前記統計
計算を行い、これにより得られた各分割領域についての
統計計算値のばらつき範囲を基準に、前記複数の分割領
域の各々に対して個別に設定されるので、複数の良品に
合わせた色調検査が可能となり、また、実際に生産され
る良品のばらつき範囲を工程能力に合わせて的確に掌握
し、これに基づき自動的に簡単に検査基準値を設定する
ことができる。
According to the ninth aspect of the present invention, the first to the fifth aspects are described.
8. In the color tone inspection method according to any one of 8, the predetermined inspection reference value is derived from a plurality of color tone data images generated when a plurality of non-defective products are used for the inspection object. For each of the plurality of tone data images, the statistical calculation is performed for each of the plurality of divided regions, and based on a variation range of the statistical calculation value obtained for each of the divided regions, the plurality of divided regions Each color is individually set, so color tone inspection can be performed for multiple non-defective products, and the variation range of actually produced non-defective products can be accurately grasped in accordance with the process capability. Inspection reference values can be set easily and easily.

【0095】請求項10記載の発明によれば、請求項1
〜9のいずれかに記載の色調検査方法において、前記統
計計算を行うステップでは、前記分割領域内の色調デー
タの発生頻度分布をなす色調データの度数を前記統計計
算値として求め、前記比較を行うステップでは、所定の
色調データの度数が前記検査対象物全体に占める割合
と、所定の割合との比較を行うので、比較的簡単な処理
で色むら検査が可能となる。
According to the tenth aspect, the first aspect is provided.
In the color tone inspection method according to any one of Items 1 to 9, in the step of performing the statistical calculation, a frequency of color tone data forming a frequency distribution of color tone data in the divided region is obtained as the statistical calculation value, and the comparison is performed. In the step, the ratio of the frequency of the predetermined color tone data to the whole inspection object is compared with the predetermined ratio, so that the color unevenness inspection can be performed by a relatively simple process.

【0096】請求項11記載の発明によれば、請求項1
〜9のいずれかに記載の色調検査方法において、前記統
計計算を行うステップでは、前記分割領域内の色調デー
タの発生頻度分布をなす色調データの度数を前記統計計
算値として求め、前記比較を行うステップでは、前記発
生頻度分布の形状と所定の基準分布の形状との比較を行
うので、色むらの特徴を高精度で検出可能となる。
According to the eleventh aspect, according to the first aspect,
In the color tone inspection method according to any one of Items 1 to 9, in the step of performing the statistical calculation, a frequency of color tone data forming a frequency distribution of color tone data in the divided region is obtained as the statistical calculation value, and the comparison is performed. In the step, since the shape of the occurrence frequency distribution is compared with the shape of a predetermined reference distribution, the feature of the color unevenness can be detected with high accuracy.

【0097】請求項12記載の発明によれば、請求項1
〜11のいずれかに記載の色調検査方法において、前記
色調検査をするステップの後、各種情報を画面に表示す
る表示手段に前記色調データ画像を表示するステップ
と、前記表示手段に表示している色調データ画像におけ
る前記複数の分割領域のうち、所望の分割領域を、各種
操作入力用の入力手段を通じて指定する操作入力が得ら
れると、その指定された分割領域についての統計計算値
または検査結果を前記表示手段に表示するステップとを
さらに有し、前記色調データ画像を表示するステップで
は、前記色調データ画像を、これを構成する各画素の色
調データに、対応する表示色または濃淡度を割り当てて
前記表示手段に表示するので、表示が見やすくなり、目
視との対比が可能となる。
According to the twelfth aspect of the present invention, the first aspect is provided.
12. The color tone inspection method according to any one of claims 11 to 11, further comprising, after the color tone inspection step, displaying the color tone data image on display means for displaying various information on a screen; and displaying the information on the display means. When an operation input for designating a desired divided region among the plurality of divided regions in the color tone data image through input means for various operation inputs is obtained, a statistical calculation value or an inspection result for the designated divided region is obtained. And displaying the color tone data image. Since the information is displayed on the display means, the display is easy to see and can be compared with the visual observation.

【0098】請求項13記載の発明によれば、請求項1
2記載の色調検査方法において、前記表面各点における
分光スペクトル値を目視外観に相当するカラーデータに
変換してリアル画像を生成するステップをさらに有し、
前記色調データ画像を表示するステップでは、前記色調
データ画像とともに前記リアル画像を表示するので、表
示が見やすくなり、目視との対比が可能となるととも
に、半自動目視検査の精密判定が可能となる。
According to the thirteenth aspect of the present invention, the first aspect
2. The color tone inspection method according to 2, further comprising the step of converting a spectral spectrum value at each point on the surface into color data corresponding to a visual appearance to generate a real image,
In the step of displaying the color tone data image, the real image is displayed together with the color tone data image, so that the display is easy to see and can be compared with the visual observation, and the precise judgment of the semi-automatic visual inspection can be performed.

【0099】請求項14記載の発明によれば、請求項1
2または13記載の色調検査方法において、前記色調デ
ータ画像を少なくとも表示するステップでは、前記複数
の分割領域の各々に対する比較結果に、欠陥候補である
ことを示す比較結果が含まれていれば、その欠陥候補で
あることを示す比較結果となった分割領域を強調表示す
るので、欠陥候補の分割領域(異常の可能性のある部
分)を判別し易くなり、効率的に目視判定でき、見逃し
も減る。
According to the fourteenth aspect of the present invention, the first aspect
In the color tone inspection method according to 2 or 13, in the step of displaying at least the color tone data image, if the comparison result for each of the plurality of divided regions includes a comparison result indicating a defect candidate, Since the divided area which is the comparison result indicating the defect candidate is highlighted, the divided area of the defect candidate (the part having a possibility of abnormality) can be easily determined, the visual judgment can be efficiently performed, and the oversight is reduced. .

【0100】請求項15記載の発明によれば、請求項1
2〜14のいずれかに記載の色調検査方法において、前
記色調データ画像を少なくとも表示するステップの後、
前記入力手段を通じた操作入力で目視による良否判定が
入力されると、その目視による良否判定の情報を、前記
表面各点における分光スペクトル値から得られる情報お
よび所定の検査基準値の情報とともに所定の記憶手段に
保存するステップと、前記色調検査の結果から得られる
自動良否判定結果と前記良否判定とが相違する割合を示
す相違率が所定率以上になった場合、前記記憶手段に保
存された情報を用いて、前記相違率が前記所定率を下回
るように前記所定の検査基準値を更新するステップとを
さらに有するので、所定の検査基準値を工程の傾向に基
づいた値に設定可能となる。
According to the fifteenth aspect, according to the first aspect,
In the color tone inspection method according to any one of 2 to 14, after at least the step of displaying the color tone data image,
When a visual pass / fail judgment is input by an operation input through the input means, information on the visual pass / fail judgment is given along with information obtained from a spectral spectrum value at each point on the surface and information on a predetermined inspection reference value. The step of storing the information stored in the storage unit when the difference ratio indicating the ratio of the difference between the automatic quality determination result obtained from the result of the color tone inspection and the quality determination becomes a predetermined ratio or more. And updating the predetermined inspection reference value so that the difference rate is lower than the predetermined rate, thereby enabling the predetermined inspection reference value to be set to a value based on the tendency of the process.

【0101】請求項16記載の発明によれば、請求項1
2〜15のいずれかに記載の色調検査方法において、前
記色調データ画像を表示するステップでは、色調検査基
準となる別の色調データ画像を前記表示手段にさらに表
示するので、色調検査基準(例えば上下限)が明確とな
って、目視判定が容易となり、高精度な目視判定が可能
となる。
According to the sixteenth aspect of the present invention, the first aspect
In the color tone inspection method according to any one of 2 to 15, in the step of displaying the color tone data image, another color tone data image serving as a color tone inspection standard is further displayed on the display means. The lower limit becomes clear, visual judgment becomes easy, and high-precision visual judgment becomes possible.

【0102】請求項17記載の発明によれば、請求項1
〜16のいずれかに記載の色調検査方法において、前記
色調データ画像を生成するステップでは、前記各画素の
色調データを算出する際に使用される前記表面各点にお
ける分光スペクトル値のうち、前記検査対象物の色調の
変動要因に関係する所定の分光スペクトル波長に相当す
る分光スペクトル値に対する重み係数を、前記検査対象
物の特定色に合わせて変更するので、特定の色調に起因
して発生する変動を精度良く監視することができ、好適
な色調検査が可能となる。
According to the seventeenth aspect of the present invention, the first aspect
In the color tone inspection method according to any one of Items 1 to 16, in the step of generating the color tone data image, among the spectral spectrum values at each surface point used when calculating the color tone data of each pixel, the inspection is performed. Since the weighting coefficient for the spectral spectrum value corresponding to a predetermined spectral spectral wavelength related to the variation factor of the color tone of the object is changed in accordance with the specific color of the inspection object, the variation generated due to the specific color tone Can be accurately monitored, and a suitable color tone inspection can be performed.

【0103】請求項18記載の発明によれば、請求項1
3〜17のいずれかに記載の色調検査方法において、前
記リアル画像を生成するステップでは、前記カラーデー
タへの変換後の各画素の色調のち、目視による官能評価
を基に選択された所定の色調に対する重み係数を、前記
検査対象物の特定色に合わせて変更するので、特定の色
調に起因して発生する変動を精度良く監視することがで
き、好適な色調検査が可能となる。
According to the eighteenth aspect, according to the first aspect,
In the color tone inspection method according to any one of Items 3 to 17, in the step of generating the real image, after the color tone of each pixel after conversion to the color data, a predetermined color tone selected based on a visual sensory evaluation Is changed in accordance with the specific color of the inspection object, fluctuations caused by the specific color tone can be monitored with high accuracy, and suitable color tone inspection can be performed.

【0104】請求項19記載の発明によれば、請求項1
〜18のいずれかに記載の色調検査方法において、前記
複数の分割領域に区分するステップでは、前記色調デー
タ画像における図柄の並びを利用して、前記色調データ
画像を前記複数の分割領域に区分する場合に必要となる
位置合わせを行うので、位置ずれのない(あるいはほと
んどない)検査が可能となる。
According to the invention of claim 19, claim 1
18. In the color tone inspection method according to any one of Items 18 to 18, in the step of dividing into the plurality of divided areas, the color tone data image is divided into the plurality of divided areas using an arrangement of symbols in the color tone data image. Since the necessary alignment is performed in such a case, an inspection with no (or little) displacement can be performed.

【0105】請求項20記載の発明によれば、請求項1
〜18のいずれかに記載の色調検査方法において、前記
複数の分割領域に区分するステップでは、検査基準とな
る色調画像データ内の部分パターンと、前記検査対象物
から得られた色調データ画像内の種々の部分パターンと
の正規化相関演算を行い、これら正規化相関演算の各結
果のうち最もマッチングする結果となった、前記検査対
象物から得られた色調データ画像内の部分パターンの位
置を利用して、前記色調データ画像を前記複数の分割領
域に区分する場合に必要となる位置合わせを行うので、
高精度な位置合わせが可能となる。
According to the twentieth aspect, according to the first aspect,
18. In the color tone inspection method according to any one of items 18 to 18, in the step of dividing into the plurality of divided regions, the partial pattern in the color tone image data serving as an inspection reference and the color tone data image in the color tone data image obtained from the inspection target are included. A normalization correlation operation with various partial patterns is performed, and the position of the partial pattern in the color tone data image obtained from the inspection object, which is the most matching result among the results of these normalization correlation operations, is used. Then, since the necessary alignment is performed when the color tone data image is divided into the plurality of divided areas,
High-accuracy alignment is possible.

【0106】請求項21記載の発明によれば、請求項1
9または20記載の色調検査方法において、前記色調デ
ータ画像を生成するステップでは、前記各画素の色調デ
ータを算出する際に使用される前記表面各点における分
光スペクトル値のうち、前記位置合わせのために予め選
択された所定の分光スペクトル波長に相当する分光スペ
クトル値に対する重み係数を、前記検査対象物の特定色
に合わせて変更するので、高精度な位置合わせが可能と
なる。
According to the twenty-first aspect, the first aspect is provided.
21. In the color tone inspection method according to 9 or 20, in the step of generating the color tone data image, of the spectral spectrum values at each point on the surface used when calculating the color tone data of each pixel, The weighting coefficient for the spectral spectrum value corresponding to the predetermined spectral spectral wavelength selected in advance is changed according to the specific color of the inspection object, so that highly accurate positioning can be performed.

【0107】請求項22記載の発明によれば、請求項1
〜21のいずれかに記載の色調検査方法において、前記
検査対象物は板状の建材であるので、板状の建材の色調
検査が可能になる。
According to the twenty-second aspect, the first aspect is provided.
In the color tone inspection method according to any one of Items 21 to 21, since the inspection object is a plate-like building material, the color tone inspection of the plate-like building material becomes possible.

【0108】請求項23記載の発明の色調検査システム
は、複数色の図柄を有する検査対象物の表面各点におけ
る分光スペクトル値を検出する分光センサと、前記検査
対象物の表面の色調検査をする画像処理装置とにより構
成され、この画像処理装置は、前記表面各点における分
光スペクトル値から、その表面各点に対応する各画素の
色調データを算出して、これら各画素の色調データより
なる色調データ画像を生成する色調データ画像生成機能
と、前記色調データ画像を複数の分割領域に区分する区
分機能と、前記複数の分割領域の各々における各画素の
色調データについて統計計算を行う統計計算機能と、こ
の統計計算機能で得られた統計計算値と所定の検査基準
値との比較を行う比較機能と、前記比較結果に応じて前
記検査対象物の表面の色調検査をする色調検査機能とを
有するので、詳細な色調計測が可能となり、複数色の図
柄を有する検査対象物の色調検査が可能となる。
According to a twenty-third aspect of the present invention, there is provided a color tone inspection system for detecting a spectral value at each point on the surface of an inspection object having a pattern of a plurality of colors, and for inspecting the color tone of the surface of the inspection object. The image processing apparatus is configured to calculate the color tone data of each pixel corresponding to each point on the surface from the spectral value at each point on the surface, and to calculate the color tone data based on the color tone data for each pixel. A color tone data image generation function of generating a data image, a division function of dividing the color tone data image into a plurality of divided areas, and a statistical calculation function of performing a statistical calculation on color tone data of each pixel in each of the plurality of divided areas. A comparison function for comparing the statistical calculation value obtained by the statistical calculation function with a predetermined inspection reference value, and a table of the inspection object according to the comparison result. Because it has a color tone test function of the color test enables detailed color measurement, it is possible shades inspection of the inspection object having a pattern of plural colors.

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

【図1】色調検査システムのブロック構成図である。FIG. 1 is a block diagram of a color tone inspection system.

【図2】図1の色調検査システム全体の動作説明図であ
る。
FIG. 2 is an operation explanatory diagram of the entire color tone inspection system of FIG. 1;

【図3】図2の分光カメラによる検査対象物の撮像の様
子を示す図である。
FIG. 3 is a diagram showing a state of imaging of an inspection object by the spectral camera of FIG.

【図4】図2の分光カメラによる検査対象物の撮像の様
子を示す図である。
FIG. 4 is a diagram showing a state of imaging of an inspection object by the spectral camera of FIG. 2;

【図5】図2の分光カメラの撮像で得られる分光画像な
どの模式例を示す図である。
FIG. 5 is a diagram illustrating a schematic example of a spectral image or the like obtained by imaging with the spectral camera of FIG. 2;

【図6】図2の分光カメラの撮像で得られる分光画像の
模式例を示す図である。
6 is a diagram illustrating a schematic example of a spectral image obtained by imaging with the spectral camera of FIG. 2;

【図7】図1の色調データ画像生成機能による色調変換
の例を示す図である。
FIG. 7 is a diagram illustrating an example of color tone conversion by the color tone data image generation function of FIG. 1;

【図8】L画像、a画像およびb画像を高速に得るため
の構成例を示す図である。
FIG. 8 is a diagram illustrating a configuration example for obtaining an L image, an a image, and a b image at high speed.

【図9】画像処理装置が有する区分機能の説明図であ
る。
FIG. 9 is an explanatory diagram of a sorting function of the image processing apparatus.

【図10】画像処理装置が有する区分機能の説明図であ
る。
FIG. 10 is an explanatory diagram of a sorting function of the image processing apparatus.

【図11】画像処理装置が有する区分機能の説明図であ
る。
FIG. 11 is an explanatory diagram of a sorting function of the image processing apparatus.

【図12】画像処理装置が有する区分機能の説明図であ
る。
FIG. 12 is an explanatory diagram of a sorting function of the image processing apparatus.

【図13】画像処理装置が有する統計計算機能および比
較機能の説明図である。
FIG. 13 is an explanatory diagram of a statistical calculation function and a comparison function of the image processing apparatus.

【図14】画像処理装置が有する統計計算機能および比
較機能の説明図である。
FIG. 14 is an explanatory diagram of a statistical calculation function and a comparison function of the image processing apparatus.

【図15】画像処理装置が有する統計計算機能および比
較機能の説明図である。
FIG. 15 is an explanatory diagram of a statistical calculation function and a comparison function of the image processing apparatus.

【図16】色調検査システムのブロック構成図である。FIG. 16 is a block diagram of a color tone inspection system.

【図17】図16の画像表示処理機能により表示装置に
表示される画像の表示例を示す図であって、表示装置上
に表示された中間画像をプリンタで印刷出力して得た図
面に代わる写真である。
17 is a diagram showing a display example of an image displayed on the display device by the image display processing function of FIG. 16, which is a drawing obtained by printing out an intermediate image displayed on the display device by a printer. It is a photograph.

【図18】色調検査システムのブロック構成図である。FIG. 18 is a block diagram of a color tone inspection system.

【図19】画像処理装置の画像表示処理機能により表示
装置に表示される表示内容の説明図である。
FIG. 19 is an explanatory diagram of display contents displayed on the display device by the image display processing function of the image processing device.

【図20】表示装置に表示される画像の表示例を示す図
であって、表示装置上に表示された中間画像をプリンタ
で印刷出力して得た図面に代わる写真である。
FIG. 20 is a view showing a display example of an image displayed on the display device, and is a photograph replacing a drawing obtained by printing out an intermediate image displayed on the display device by a printer.

【図21】表示装置に表示される画像の表示例を示す図
であって、表示装置上に表示された中間画像をプリンタ
で印刷出力して得た図面に代わる写真である。
FIG. 21 is a diagram illustrating a display example of an image displayed on the display device, and is a photograph replacing a drawing obtained by printing out an intermediate image displayed on the display device by a printer.

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

1 分光カメラ 2 入力装置 3 表示装置 4 画像処理装置 41 色調データ画像生成機能 42 区分機能 43 統計計算機能 44 比較機能 45 色調検査機能 46 表示処理機能 47 自動・目視判定比較更新機能 Reference Signs List 1 spectral camera 2 input device 3 display device 4 image processing device 41 color tone data image generation function 42 classification function 43 statistical calculation function 44 comparison function 45 color tone inspection function 46 display processing function 47 automatic / visual judgment comparison / update function

───────────────────────────────────────────────────── フロントページの続き (72)発明者 荒木 秀和 大阪府門真市大字門真1048番地松下電工株 式会社内 (72)発明者 杭ノ瀬 正治 大阪府門真市大字門真1048番地松下電工株 式会社内 Fターム(参考) 2G020 AA04 AA08 CB26 CB32 CB43 CC13 CC42 CD04 CD24 DA05 DA12 DA34 DA42 2G051 AA32 AB11 AB12 BA20 BB17 CA04 CB01 CC15 DA06 EA16 EA17 EC03 5B057 AA12 BA02 CA01 CA08 CA12 CA16 CE09 CE18 DA03 DA04 DB02 DB06 DB09 DC23 DC36 5L096 AA02 AA06 BA03 CA02 DA02 FA37 FA45 GA19 GA41 JA11 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Hidekazu Araki 1048 Kadoma Kadoma, Osaka Prefecture Matsushita Electric Works Co., Ltd. Terms (reference) 2G020 AA04 AA08 CB26 CB32 CB43 CC13 CC42 CD04 CD24 DA05 DA12 DA34 DA42 2G051 AA32 AB11 AB12 BA20 BB17 CA04 CB01 CC15 DA06 EA16 EA17 EC03 5B057 AA12 BA02 CA01 CA08 CA12 CA16 CE09 DC06 DB09 A09 BA03 CA02 DA02 FA37 FA45 GA19 GA41 JA11

Claims (23)

【特許請求の範囲】[Claims] 【請求項1】 複数色の図柄を有する検査対象物の表面
各点における分光スペクトル値を検出する分光センサを
用いて、画像処理装置が、前記検査対象物の表面の色調
検査をするための色調検査方法であって、 前記表面各点における分光スペクトル値から、その表面
各点に対応する各画素の色調データを算出して、これら
各画素の色調データよりなる色調データ画像を生成する
ステップと、 この色調データ画像を複数の分割領域に区分するステッ
プと、 これら複数の分割領域の各々における各画素の色調デー
タについて統計計算を行うステップと、 このステップで得られた統計計算値と所定の検査基準値
との比較を行うステップと、 この比較結果に応じて前記検査対象物の表面の色調検査
をするステップとを有することを特徴とする色調検査方
法。
An image processing apparatus uses a spectral sensor that detects a spectral spectrum value at each point on a surface of an inspection target having a pattern of a plurality of colors to perform a color tone inspection for a color tone of the surface of the inspection target. In the inspection method, a step of calculating color tone data of each pixel corresponding to each surface point from the spectral spectrum value at each surface point, and generating a color tone data image including the color tone data of each pixel, A step of dividing the color tone data image into a plurality of divided areas; a step of performing a statistical calculation on the color tone data of each pixel in each of the plurality of divided areas; a statistical calculation value obtained in this step; Comparing with a value, and performing a color tone inspection of the surface of the inspection object according to the comparison result. Method.
【請求項2】 前記色調データ画像は2次元の画像デー
タであり、前記複数の分割領域に区分するステップで
は、前記生成した色調データ画像を、この少なくとも1
辺に沿って複数の領域が並ぶように分割して、前記複数
の分割領域に区分することを特徴とする請求項1記載の
色調検査方法。
2. The method according to claim 1, wherein the tone data image is two-dimensional image data.
2. The color tone inspection method according to claim 1, wherein a plurality of regions are divided along the side so as to be divided into the plurality of divided regions.
【請求項3】 前記検査対象物の図柄の並びには繰り返
しの規則性があり、前記色調データ画像は2次元の画像
データであり、前記複数の分割領域に区分するステップ
では、前記生成した色調データ画像を、当該色調データ
画像における前記繰り返しの規則性がある図柄の並び方
向と直交する方向に沿って複数の領域が並ぶように分割
して、前記複数の分割領域に区分することを特徴とする
請求項1記載の色調検査方法。
3. The pattern of the pattern of the inspection object has a repetitive regularity, the color tone data image is two-dimensional image data, and in the step of dividing into the plurality of divided areas, the generated color tone data The image is divided so that a plurality of regions are arranged along a direction orthogonal to the arrangement direction of the symbols having the repetition regularity in the color tone data image, and the image is divided into the plurality of divided regions. The color tone inspection method according to claim 1.
【請求項4】 前記検査対象物の図柄の並びには繰り返
しの規則性があり、前記色調データ画像は2次元の画像
データであり、前記複数の分割領域に区分するステップ
では、前記生成した色調データ画像を、当該色調データ
画像における前記繰り返しの規則性がある図柄の並び方
向に沿って複数の領域が並ぶように分割して、前記複数
の分割領域に区分することを特徴とする請求項1記載の
色調検査方法。
4. The arrangement of the pattern of the inspection object has a repetitive regularity, the color tone data image is two-dimensional image data, and in the step of dividing into the plurality of divided areas, the generated color tone data 2. The image is divided into a plurality of regions along a direction in which the symbols having the repetition regularity in the color tone data image are arranged, and the image is divided into the plurality of divided regions. 3. Color tone inspection method.
【請求項5】 前記検査対象物は、色付けする装置によ
って端から端まで連続的に色付けされたものであり、前
記色調データ画像は2次元の画像データであり、前記複
数の分割領域に区分するステップでは、前記生成した色
調データ画像を、前記色付けする装置によって連続的に
色付けされた方向と直交する方向に沿って複数の領域が
並ぶように分割して、前記複数の分割領域に区分するこ
とを特徴とする請求項1記載の色調検査方法。
5. The inspection object is colored continuously from one end to another by a coloring device, and the color tone data image is two-dimensional image data, and is divided into the plurality of divided areas. In the step, the generated tone data image is divided into a plurality of regions along a direction orthogonal to a direction in which the color is continuously colored by the coloring device, and divided into the plurality of divided regions. The color tone inspection method according to claim 1, wherein:
【請求項6】 前記検査対象物は、色付けする装置によ
って端から端まで連続的に色付けされたものであり、前
記色調データ画像は2次元の画像データであり、前記複
数の分割領域に区分するステップでは、前記生成した色
調データ画像を、前記色付けする装置によって連続的に
色付けされた方向に沿って複数の領域が並ぶように分割
して、前記複数の分割領域に区分することを特徴とする
請求項1記載の色調検査方法。
6. The inspection object is colored continuously from end to end by a coloring device, and the color tone data image is two-dimensional image data, and is divided into the plurality of divided areas. In the step, the generated tone data image is divided so that a plurality of regions are arranged along a direction colored continuously by the coloring device, and is divided into the plurality of divided regions. The color tone inspection method according to claim 1.
【請求項7】 前記複数の分割領域に区分するステップ
では、前記生成した色調データ画像を最小基準となる分
割単位領域で分割して複数の最小領域に区分し、これら
の最小領域毎の色調データについて統計分布を求め、前
記複数の最小領域の各々を、その統計分布の値が少なく
とも一つの所定分布範囲に入る組みと入らない組みとに
分類して、前記複数の分割領域に区分することを特徴と
する請求項1記載の色調検査方法。
7. In the step of dividing the color tone data image into a plurality of minimum regions, the generated tone data image is divided into a plurality of minimum regions by dividing the generated tone data image into a plurality of minimum regions. Calculating a statistical distribution for each of the plurality of minimum regions, classifying each of the plurality of minimum regions into a set and a set not including a value of the statistical distribution within at least one predetermined distribution range, and dividing the plurality of divided regions into the plurality of divided regions. The color tone inspection method according to claim 1, wherein:
【請求項8】 前記複数の分割領域に区分するステップ
では、前記生成した色調データ画像を、所定領域毎に、
最小基準となる分割単位領域で分割して複数の最小領域
に区分し、これらの最小領域毎の色調データについて統
計分布を求め、前記複数の最小領域の各々を、その統計
分布の値が少なくとも一つの所定分布範囲に入る組みと
入らない組みとに分類して、前記複数の分割領域に区分
することを特徴とする請求項1記載の色調検査方法。
8. In the step of dividing the color tone data image into a plurality of divided areas, the generated color tone data image is
It divides into a plurality of minimum areas by dividing by a division unit area serving as a minimum reference, obtains a statistical distribution for color tone data for each of the minimum areas, and calculates a value of the statistical distribution of each of the plurality of minimum areas by at least one. 2. The color tone inspection method according to claim 1, wherein the plurality of divided areas are classified into sets that fall within two predetermined distribution ranges and sets that do not.
【請求項9】 前記所定の検査基準値は、前記検査対象
物に良品を複数用いた時にそれぞれ生成される複数の色
調データ画像から導出されるものであって、これら複数
の色調データ画像の各々に対して、前記複数の分割領域
の各々について前記統計計算を行い、これにより得られ
た各分割領域についての統計計算値のばらつき範囲を基
準に、前記複数の分割領域の各々に対して個別に設定さ
れることを特徴とする請求項1〜8のいずれかに記載の
色調検査方法。
9. The predetermined inspection reference value is derived from a plurality of tone data images generated when a plurality of non-defective products are used as the inspection target, and each of the plurality of tone data images is With respect to each of the plurality of divided regions, the statistical calculation is performed for each of the plurality of divided regions, and a variation range of the statistical calculation value of each of the plurality of divided regions obtained as a reference is individually set for each of the plurality of divided regions. 9. The color tone inspection method according to claim 1, wherein the color tone inspection method is set.
【請求項10】 前記統計計算を行うステップでは、前
記分割領域内の色調データの発生頻度分布をなす色調デ
ータの度数を前記統計計算値として求め、前記比較を行
うステップでは、所定の色調データの度数が前記検査対
象物全体に占める割合と、所定の割合との比較を行うこ
とを特徴とする請求項1〜9のいずれかに記載の色調検
査方法。
10. The step of performing the statistical calculation obtains, as the statistical calculation value, the frequency of the color tone data that forms the frequency distribution of the color tone data in the divided region, and the step of performing the comparison includes the step of: The color tone inspection method according to any one of claims 1 to 9, wherein a ratio of a frequency to the whole inspection object is compared with a predetermined ratio.
【請求項11】 前記統計計算を行うステップでは、前
記分割領域内の色調データの発生頻度分布をなす色調デ
ータの度数を前記統計計算値として求め、前記比較を行
うステップでは、前記発生頻度分布の形状と所定の基準
分布の形状との比較を行うことを特徴とする請求項1〜
9のいずれかに記載の色調検査方法。
11. The step of performing the statistical calculation obtains a frequency of color tone data forming a frequency distribution of color tone data in the divided area as the statistical calculation value, and the step of performing the comparison includes the step of calculating the frequency of the frequency distribution of the occurrence. The shape is compared with a shape of a predetermined reference distribution.
9. The color tone inspection method according to any one of 9.
【請求項12】 前記色調検査をするステップの後、各
種情報を画面に表示する表示手段に前記色調データ画像
を表示するステップと、 前記表示手段に表示している色調データ画像における前
記複数の分割領域のうち、所望の分割領域を、各種操作
入力用の入力手段を通じて指定する操作入力が得られる
と、その指定された分割領域についての統計計算値また
は検査結果を前記表示手段に表示するステップとをさら
に有し、 前記色調データ画像を表示するステップでは、前記色調
データ画像を、これを構成する各画素の色調データに、
対応する表示色または濃淡度を割り当てて前記表示手段
に表示することを特徴とする請求項1〜11のいずれか
に記載の色調検査方法。
12. A step of displaying the color data image on display means for displaying various information on a screen after the step of performing the color test, and the plurality of divisions in the color data image displayed on the display means. Displaying, on the display unit, a statistical calculation value or an inspection result of the specified divided region when an operation input for designating a desired divided region out of the regions through the input means for various operation inputs is obtained; In the step of displaying the color tone data image, the color tone data image is converted into color tone data of each pixel constituting the color tone data image,
The color tone inspection method according to claim 1, wherein a corresponding display color or shade is assigned and displayed on the display unit.
【請求項13】 前記表面各点における分光スペクトル
値を目視外観に相当するカラーデータに変換してリアル
画像を生成するステップをさらに有し、 前記色調データ画像を表示するステップでは、前記色調
データ画像とともに前記リアル画像を表示することを特
徴とする請求項12記載の色調検査方法。
13. The method according to claim 13, further comprising: converting a spectral value at each point on the surface into color data corresponding to a visual appearance to generate a real image. 13. The color tone inspection method according to claim 12, wherein the real image is displayed together with the real image.
【請求項14】 前記色調データ画像を少なくとも表示
するステップでは、前記複数の分割領域の各々に対する
比較結果に、欠陥候補であることを示す比較結果が含ま
れていれば、その欠陥候補であることを示す比較結果と
なった分割領域を強調表示することを特徴とする請求項
12または13記載の色調検査方法。
14. At least at the step of displaying the color tone data image, if the comparison result for each of the plurality of divided regions includes a comparison result indicating a defect candidate, the image is determined to be the defect candidate. 14. The color tone inspection method according to claim 12, wherein a divided area which is a comparison result indicating a color difference is highlighted.
【請求項15】 前記色調データ画像を少なくとも表示
するステップの後、前記入力手段を通じた操作入力で目
視による良否判定が入力されると、その目視による良否
判定の情報を、前記表面各点における分光スペクトル値
から得られる情報および所定の検査基準値の情報ととも
に所定の記憶手段に保存するステップと、 前記色調検査の結果から得られる自動良否判定結果と前
記良否判定とが相違する割合を示す相違率が所定率以上
になった場合、前記記憶手段に保存された情報を用い
て、前記相違率が前記所定率を下回るように前記所定の
検査基準値を更新するステップとをさらに有することを
特徴とする請求項12〜14のいずれかに記載の色調検
査方法。
15. At least after the step of displaying the color tone data image, when a visual pass / fail judgment is input by an operation input through the input means, the visual pass / fail judgment information is analyzed by spectral analysis at each point on the surface. A step of storing the information obtained from the spectrum value and the information of the predetermined inspection reference value in a predetermined storage means, and a difference rate indicating a ratio of a difference between the automatic quality judgment result obtained from the color tone inspection result and the quality judgment. Updating the predetermined inspection reference value such that the difference rate is lower than the predetermined rate, using the information stored in the storage means when the predetermined rate is equal to or more than the predetermined rate. The color tone inspection method according to any one of claims 12 to 14, wherein:
【請求項16】 前記色調データ画像を表示するステッ
プでは、色調検査基準となる別の色調データ画像を前記
表示手段にさらに表示することを特徴とする請求項12
〜15のいずれかに記載の色調検査方法。
16. The display device according to claim 12, wherein, in the step of displaying the color tone data image, another color tone data image serving as a color tone inspection reference is further displayed on the display means.
16. The color tone inspection method according to any one of items 15 to 15.
【請求項17】 前記色調データ画像を生成するステッ
プでは、前記各画素の色調データを算出する際に使用さ
れる前記表面各点における分光スペクトル値のうち、前
記検査対象物の色調の変動要因に関係する所定の分光ス
ペクトル波長に相当する分光スペクトル値に対する重み
係数を、前記検査対象物の特定色に合わせて変更するこ
とを特徴とする請求項1〜16のいずれかに記載の色調
検査方法。
17. In the step of generating the color tone data image, among the spectral spectrum values at each point on the surface used when calculating the color tone data of each pixel, the color tone variation factor of the inspection object is determined. 17. The color tone inspection method according to claim 1, wherein a weighting coefficient for a spectrum value corresponding to a related predetermined spectrum wavelength is changed in accordance with a specific color of the inspection object.
【請求項18】 前記リアル画像を生成するステップで
は、前記カラーデータへの変換後の各画素の色調のち、
目視による官能評価を基に選択された所定の色調に対す
る重み係数を、前記検査対象物の特定色に合わせて変更
することを特徴とする請求項13〜17のいずれかに記
載の色調検査方法。
18. The method according to claim 18, wherein in the step of generating the real image, after the color tone of each pixel after the conversion into the color data,
18. The color tone inspection method according to claim 13, wherein a weighting factor for a predetermined color tone selected based on visual sensory evaluation is changed according to a specific color of the inspection object.
【請求項19】 前記複数の分割領域に区分するステッ
プでは、前記色調データ画像における図柄の並びを利用
して、前記色調データ画像を前記複数の分割領域に区分
する場合に必要となる位置合わせを行うことを特徴とす
る請求項1〜18のいずれかに記載の色調検査方法。
19. In the step of dividing the color tone data image into a plurality of divided regions, the alignment necessary for dividing the color tone data image into the plurality of divided regions is performed by using a sequence of symbols in the color tone data image. The color tone inspection method according to claim 1, wherein the method is performed.
【請求項20】 前記複数の分割領域に区分するステッ
プでは、検査基準となる色調画像データ内の部分パター
ンと、前記検査対象物から得られた色調データ画像内の
種々の部分パターンとの正規化相関演算を行い、これら
正規化相関演算の各結果のうち最もマッチングする結果
となった、前記検査対象物から得られた色調データ画像
内の部分パターンの位置を利用して、前記色調データ画
像を前記複数の分割領域に区分する場合に必要となる位
置合わせを行うことを特徴とする請求項1〜18のいず
れかに記載の色調検査方法。
20. In the step of dividing into a plurality of divided areas, normalization of a partial pattern in color tone image data serving as an inspection reference and various partial patterns in a color tone data image obtained from the inspection object. Performing a correlation operation, using the position of the partial pattern in the tone data image obtained from the inspection object, which results in the best matching among the results of these normalized correlation operations, 19. The color tone inspection method according to claim 1, wherein a necessary alignment is performed when the image is divided into the plurality of divided areas.
【請求項21】 前記色調データ画像を生成するステッ
プでは、前記各画素の色調データを算出する際に使用さ
れる前記表面各点における分光スペクトル値のうち、前
記位置合わせのために予め選択された所定の分光スペク
トル波長に相当する分光スペクトル値に対する重み係数
を、前記検査対象物の特定色に合わせて変更することを
特徴とする請求項19または20記載の色調検査方法。
21. In the step of generating the color tone data image, among the spectral spectrum values at each point on the surface used in calculating the color tone data of each pixel, the spectral tone values are selected in advance for the alignment. 21. The color tone inspection method according to claim 19, wherein a weighting coefficient for a spectral spectrum value corresponding to a predetermined spectral spectral wavelength is changed according to a specific color of the inspection object.
【請求項22】 前記検査対象物は板状の建材であるこ
とを特徴とする請求項1〜21のいずれかに記載の色調
検査方法。
22. The color tone inspection method according to claim 1, wherein the inspection object is a plate-like building material.
【請求項23】 複数色の図柄を有する検査対象物の表
面各点における分光スペクトル値を検出する分光センサ
と、前記検査対象物の表面の色調検査をする画像処理装
置とにより構成され、 この画像処理装置は、前記表面各点における分光スペク
トル値から、その表面各点に対応する各画素の色調デー
タを算出して、これら各画素の色調データよりなる色調
データ画像を生成する色調データ画像生成機能と、前記
色調データ画像を複数の分割領域に区分する区分機能
と、前記複数の分割領域の各々における各画素の色調デ
ータについて統計計算を行う統計計算機能と、この統計
計算機能で得られた統計計算値と所定の検査基準値との
比較を行う比較機能と、前記比較結果に応じて前記検査
対象物の表面の色調検査をする色調検査機能とを有する
ことを特徴とする色調検査システム。
23. An image processing apparatus, comprising: a spectroscopic sensor for detecting a spectral spectrum value at each point on the surface of the inspection object having a pattern of a plurality of colors; and an image processing device for inspecting a color tone of the surface of the inspection object. A processing unit configured to calculate color tone data of each pixel corresponding to each point on the surface from the spectral spectrum value at each point on the surface, and to generate a color tone data image including color tone data of each pixel; A division function for dividing the color tone data image into a plurality of divided areas, a statistical calculation function for performing a statistical calculation on the color tone data of each pixel in each of the plurality of divided areas, and a statistic obtained by the statistical calculation function. It has a comparison function for comparing the calculated value with a predetermined inspection reference value, and a color tone inspection function for inspecting the color tone of the surface of the inspection object according to the comparison result. Color inspection system, characterized in that.
JP2001091361A 2001-03-27 2001-03-27 Method and system for inspecting color tone Pending JP2002286549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001091361A JP2002286549A (en) 2001-03-27 2001-03-27 Method and system for inspecting color tone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001091361A JP2002286549A (en) 2001-03-27 2001-03-27 Method and system for inspecting color tone

Publications (1)

Publication Number Publication Date
JP2002286549A true JP2002286549A (en) 2002-10-03

Family

ID=18945989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001091361A Pending JP2002286549A (en) 2001-03-27 2001-03-27 Method and system for inspecting color tone

Country Status (1)

Country Link
JP (1) JP2002286549A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005068954A1 (en) * 2004-01-13 2005-07-28 Olympus Corporation Color-rendering index processing device, color-rendering index processing method, and color-rendering index processing program
JP2007147442A (en) * 2005-11-28 2007-06-14 Meinan Mach Works Inc Method, device, and program for inspecting wood
JP2007183980A (en) * 2007-02-13 2007-07-19 Fujitsu Ltd Data setting device
JP2009271060A (en) * 2008-04-08 2009-11-19 Dainichiseika Color & Chem Mfg Co Ltd Appearance evaluating method for colored article
US8253793B2 (en) 2007-04-20 2012-08-28 Meinan Machinery Works, Inc. Lumber inspection method, device and program
CN105938089A (en) * 2015-03-03 2016-09-14 精工爱普生株式会社 Color irregularity detecting device, image forming apparatus, and color irregularity detecting method
JP7136271B1 (en) 2021-05-13 2022-09-13 東洋製罐株式会社 Inspection device and inspection method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005068954A1 (en) * 2004-01-13 2005-07-28 Olympus Corporation Color-rendering index processing device, color-rendering index processing method, and color-rendering index processing program
US7756328B2 (en) 2004-01-13 2010-07-13 Olympus Corporation Color chart processing apparatus, color chart processing method, and color chart processing program
US7995838B2 (en) 2004-01-13 2011-08-09 Olympus Corporation Color chart processing apparatus, color chart processing method, and color chart processing program
JP2007147442A (en) * 2005-11-28 2007-06-14 Meinan Mach Works Inc Method, device, and program for inspecting wood
JP2007183980A (en) * 2007-02-13 2007-07-19 Fujitsu Ltd Data setting device
JP4481319B2 (en) * 2007-02-13 2010-06-16 富士通株式会社 Data setting device
US8253793B2 (en) 2007-04-20 2012-08-28 Meinan Machinery Works, Inc. Lumber inspection method, device and program
JP2009271060A (en) * 2008-04-08 2009-11-19 Dainichiseika Color & Chem Mfg Co Ltd Appearance evaluating method for colored article
CN105938089A (en) * 2015-03-03 2016-09-14 精工爱普生株式会社 Color irregularity detecting device, image forming apparatus, and color irregularity detecting method
US9998633B2 (en) 2015-03-03 2018-06-12 Seiko Epson Corporation Color irregularity detecting device, image forming apparatus, and color irregularity detecting method
JP7136271B1 (en) 2021-05-13 2022-09-13 東洋製罐株式会社 Inspection device and inspection method
WO2022239358A1 (en) * 2021-05-13 2022-11-17 東洋製罐株式会社 Inspecting device and inspecting method
JP2022175234A (en) * 2021-05-13 2022-11-25 東洋製罐株式会社 Inspection device and method for inspection
JP2022176188A (en) * 2021-05-13 2022-11-25 東洋製罐株式会社 Inspection device and method for inspection
JP7400901B2 (en) 2021-05-13 2023-12-19 東洋製罐株式会社 Inspection equipment and inspection method

Similar Documents

Publication Publication Date Title
Leon et al. Color measurement in L∗ a∗ b∗ units from RGB digital images
CN108027328B (en) Colour measurement of gemstones
US8830454B2 (en) Apparatus and methods for setting up optical inspection parameters
KR100238960B1 (en) Apparatus for chromatic vision measurement
KR20080080998A (en) Defect inspection device for inspecting defect by image analysis
JP3884834B2 (en) Defect inspection method and apparatus
US5150199A (en) Method for correlating color measuring scales
JP2002522763A (en) Fiber color grading system
KR890015622A (en) Image quality inspection method and device of color CRT
US6115492A (en) Multiple purpose composite target for digital imaging test and calibration
JP2002286549A (en) Method and system for inspecting color tone
JP2016206760A (en) Color discrimination method and color discrimination device, as well as printer color tone control method
JP2014187558A (en) Image color distribution inspection device and image color distribution inspection method
US20080260243A1 (en) Device of Analysing the Colour of a Unhomogeneous Material, Like Hair, and Method Thereof
Park et al. Automated defect inspection systems by pattern recognition
JP2020012668A (en) Evaluation device, measurement device, evaluation method and evaluation program
JPH09203664A (en) Hue inspecting apparatus
CN116148265A (en) Flaw analysis method and system based on synthetic leather high-quality image acquisition
WO2014136276A1 (en) Device for setting region of interest for analysis
JP7411155B2 (en) Color unevenness inspection device and color unevenness inspection method
JP3140226B2 (en) Automatic color tone judgment method
JP6770541B2 (en) Diagnostic dictionary registration device, diagnostic device, method, program, and data structure
JP2008026147A (en) Inspection device for color filter, and inspection method for the color filter
JP2002071461A (en) Method and device for evaluating tint of design pattern provided in color on object surface
KR100416775B1 (en) Method to Measure a Brightness of an Display Device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090113

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090519