JPH06109653A - Image inspecting apparatus - Google Patents

Image inspecting apparatus

Info

Publication number
JPH06109653A
JPH06109653A JP4256529A JP25652992A JPH06109653A JP H06109653 A JPH06109653 A JP H06109653A JP 4256529 A JP4256529 A JP 4256529A JP 25652992 A JP25652992 A JP 25652992A JP H06109653 A JPH06109653 A JP H06109653A
Authority
JP
Japan
Prior art keywords
image
component
inspection
color system
color
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.)
Granted
Application number
JP4256529A
Other languages
Japanese (ja)
Other versions
JP3278207B2 (en
Inventor
Masashi Nishida
真史 西田
Yoshito Abe
淑人 阿部
Hiroshi Sato
博 佐藤
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP25652992A priority Critical patent/JP3278207B2/en
Publication of JPH06109653A publication Critical patent/JPH06109653A/en
Application granted granted Critical
Publication of JP3278207B2 publication Critical patent/JP3278207B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Inking, Control Or Cleaning Of Printing Machines (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To inspect even a neutral color with higher reliability. CONSTITUTION:A color system conversion part 3 converts an image of an RGB color system into an image of an HVC color system. The color system conversion part 3 converts a color system in an orthogonal coordinate system into a color system in a polar coordinate system. A checking inspection part 60 checks an HVC color system image to be inspected against a reference image in the HVC color system and performs image inspection. Inspection of yellow for example, which is a neutral color in the RGB color system, can be improved in reliability by comparative inspection in the HVC color system.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、RGB画像を検査する
画像検査装置に係り、特に、中間色についてもより信頼
性良く検査し、被検査画像の検査の信頼性を向上させる
ことができる画像検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image inspection apparatus for inspecting an RGB image, and more particularly, an image inspection capable of inspecting intermediate colors more reliably and improving the inspection reliability of an image to be inspected. Regarding the device.

【0002】[0002]

【従来の技術】印刷物の不良には、印刷用紙の汚れや、
印刷不良など様々なものがある。又、その欠陥部分が微
小なものであっても、印刷物の品質上問題となる場合が
ある。更に、輪転印刷機等、印刷済みの印刷物が高速で
連続走行している場合、個々の印刷物の検査も高速に行
わなければならない。
2. Description of the Related Art Defects in printed matter include stains on printing paper,
There are various things such as printing defects. Even if the defective portion is minute, it may cause a problem in the quality of the printed matter. Furthermore, when printed matter such as a rotary printing machine is continuously running at high speed, it is necessary to inspect each printed matter at high speed.

【0003】従来、印刷物検査は、種々の方法で人手に
よって行われていた。例えば、印刷機や印刷物の種類に
よっては、印刷後の印刷物を適宜抜き取り、目視により
検査を行っていた。あるいは、一定速度で連続的に走行
する印刷物では、該走行速度に同期させてストロボを発
光し、該印刷物の目視検査を行っていた。
Conventionally, printed matter inspection has been performed manually by various methods. For example, depending on the printing machine and the type of printed matter, the printed matter after printing has been appropriately extracted and visually inspected. Alternatively, in the case of a printed matter that continuously travels at a constant speed, a strobe emits light in synchronization with the traveling speed to visually inspect the printed matter.

【0004】近年、印刷物検査を自動的に行う様々な技
術が開示されている。
In recent years, various techniques for automatically inspecting printed matter have been disclosed.

【0005】例えば、特公平1−47823では、所定
の時点で走行印刷物の絵柄から読み取った画像データの
記憶が可能なメモリを備え、該メモリから読み出した画
像データを基準データ、上記走行印刷物の残余の絵柄か
ら読み取った画像データを検査データとし、これら基準
データと検査データとの比較に基づいて印刷の良否判定
を行う方式の印刷物の検査装置に関する技術が開示され
ている。この技術は、上記基準データの特徴と検査デー
タの特徴とを、それぞれ対応する画素単位毎に抽出比較
して印刷の良否判定を行う第1の特徴抽出比較判定手段
を用いると共に、上記基準データの特徴と検査データの
特徴とを、同一絵柄内での所定の範囲における画素の総
和として抽出比較することにより印刷の良否判定を行う
第2の特徴抽出比較判定手段を用い、更に、上記基準デ
ータの特徴と検査データの特徴とを、印刷物の走行方向
に沿って同一直線上に配列された画素の同一絵柄内にお
ける総和として抽出比較することにより印刷の良否判定
を行う第3の特徴抽出比較判定手段をも用い、これら第
1〜第3の各特徴抽出比較判定手段の判定結果を総合判
定して、最終的な印刷物の良否判定を行う。又、この技
術では、所定時点における走行印刷物の走行速度と、検
査データの読取り時における走行印刷物の走行速度との
差を所定値と比較する比較手段を用い、該比較の結果に
基づいて、このときの走行印刷物の絵柄から読み取った
検査データを上記基準データとして新たに書替える手段
をも備えている。この特公平1−47823で開示され
ている技術によれば、印刷物の絵柄など濃度変化が広い
範囲に亘っている場合の良否判定の精度を向上させると
共に、マスキング機能等も備え、印刷物の状態変化に対
しても常に安定した動作を得ることができる。
For example, Japanese Examined Patent Publication No. 1-47823 includes a memory capable of storing image data read from a design of a traveling printed matter at a predetermined time, and the image data read from the memory is used as reference data, and the remaining portion of the traveling printed matter. There is disclosed a technique relating to a printed matter inspection apparatus of a system in which image data read from a pattern is used as inspection data, and whether the printing is good or bad is determined based on a comparison between the reference data and the inspection data. This technique uses a first feature extraction / comparison / determination means for performing a print quality determination by extracting and comparing the features of the reference data and the features of the inspection data for each corresponding pixel unit, and A second characteristic extraction / comparison / determination unit that determines the quality of printing by extracting and comparing the characteristic and the characteristic of the inspection data as the total sum of the pixels in a predetermined range within the same pattern is further used. Third characteristic extraction / comparison / determination means for performing a quality judgment of printing by extracting and comparing the characteristics and the characteristics of the inspection data as the total sum of the pixels arranged on the same straight line in the running direction of the printed matter in the same pattern. Is also used to make a comprehensive determination of the determination results of the first to third feature extraction comparison / determination means to make a final pass / fail determination of the printed matter. Further, in this technique, the comparison means for comparing the difference between the traveling speed of the traveling printed matter at a predetermined time point and the traveling speed of the traveling printed matter at the time of reading the inspection data with a predetermined value is used, and based on the result of the comparison, There is also provided means for newly rewriting the inspection data read from the pattern of the running printed matter at this time as the reference data. According to the technique disclosed in this Japanese Patent Publication No. 1-47823, the accuracy of the quality judgment in the case where the density change such as the pattern of the printed matter is wide range is improved, and the masking function is provided to change the state of the printed matter. It is possible to always obtain a stable operation.

【0006】又、特公平1−20477では、印刷物の
試料絵柄を画素マトリックスに分解して検出した試料デ
ータを、標本印刷物から予め取り出されメモリに記録さ
れている標本データと1画素ずつ比較し、絵柄の良否判
定を行う印刷物の絵柄検査方法に関する技術が開示され
ている。この技術は、前記試料データ及び標本データの
一方を1画素ずつ印刷物の横方向に位置ずれさせて、前
記両データの他方と比較し、両データが最も一致に近付
いたときの前記両データ間の位置ずれ量により、前記試
料データ又は標本データを印刷物横方向に関し位置ずれ
補正した上で、前記標本データと比較するという技術で
ある。この特公平1−20477で開示されている技術
によれば、印刷物搬送系に位置ずれがあっても、比較的
安価な装置で高精度で絵柄検査を行うことができる。
Further, in Japanese Patent Publication No. 1-20477, sample data detected by decomposing a sample pattern of a printed matter into a pixel matrix is compared with sampled data preliminarily extracted from a sampled printed matter and recorded in a memory, pixel by pixel, A technique relating to a pattern inspection method for a printed matter, which determines whether a pattern is good or bad, is disclosed. In this technique, one of the sample data and the sample data is displaced by one pixel in the lateral direction of the printed matter and compared with the other of the two data, and when the two data are closest to each other This is a technique in which the sample data or the sample data is corrected in position in the lateral direction of the printed matter according to the amount of position deviation and then compared with the sample data. According to the technique disclosed in Japanese Patent Publication No. 1-20477, the pattern inspection can be performed with high accuracy by a relatively inexpensive device even if the printed material conveying system is misaligned.

【0007】又、特開昭62−11152では、印刷物
の走行方向と直角方向に互いに視野が重なり合い、画像
同士が重なり合った状態の画素データを取り出す検出手
段を用い、まず良品データを取り込んで基準データと
し、次に被検査データを取り込んで基準データと比較す
るようにしている。この比較は、各画素比較を行った上
で加算データ同士の比較を行うというものである。この
特開昭62−11152で開示されている技術によれ
ば、走行中の印刷物では避けられない位置ずれに影響さ
れることなく、正確な検査を行うことができる。
Further, in Japanese Patent Laid-Open No. 62-11152, a detection means for extracting pixel data in a state where the visual fields overlap each other in the direction perpendicular to the running direction of the printed matter and the images overlap each other is used. Then, the data to be inspected is taken in and compared with the reference data. In this comparison, each pixel is compared and then the addition data are compared with each other. According to the technique disclosed in Japanese Patent Laid-Open No. 62-11152, accurate inspection can be performed without being affected by positional displacement, which is inevitable in a printed matter that is running.

【0008】又、従来、赤成分R(red )と緑成分G
(green )と青成分B(blue)とによる、例えばカラー
カメラが出力するRGB画像を検査する際には、次式に
よって輝度Lを求め、前述の特公平1−47823等の
ようなモノクロームの画像検査装置にて検査を行ってい
る。
Further, conventionally, a red component R (red) and a green component G are used.
When inspecting, for example, an RGB image output by a color camera by (green) and the blue component B (blue), the brightness L is obtained by the following formula, and a monochrome image such as the above Japanese Patent Publication No. 1-47823 is obtained. Inspection is performed by the inspection device.

【0009】 L=0.3R+0.6G+0.1B …(1)L = 0.3R + 0.6G + 0.1B (1)

【0010】あるいは、このようなRGB画像を検査す
る際、合計3台の前述の特公平1−47823等のよう
なモノクロームの画像検査装置を用い、赤成分Rと緑成
分Gと青成分Bとをそれぞれ独立して検査した後、これ
ら検査結果に基づいて最終的な画像検査の判定を行って
いる。
Alternatively, when inspecting such an RGB image, a total of three monochrome image inspection devices such as the above-mentioned Japanese Patent Publication No. 1-47823 are used and a red component R, a green component G and a blue component B are used. After inspecting each independently, the final image inspection is determined based on these inspection results.

【0011】[0011]

【発明が達成しようとする課題】しかしながら、RGB
画像を検査する輝度Lを用いた前記画像検査装置におい
ては、赤や緑や青ではない中間色の不良を識別すること
が困難であるという問題があった。例えば、黄色の不良
をみつけることが困難であった。このため、カラーカメ
ラに青の光学的な補正フィルタを入れるということが行
われている。青の補正フィルタを入れたときの前記輝度
Lは、次式のようになる。
However, the RGB
The above-described image inspection apparatus using the luminance L for inspecting an image has a problem that it is difficult to identify a defective intermediate color other than red, green, and blue. For example, it was difficult to find a yellow defect. For this reason, it has been practiced to insert a blue optical correction filter into a color camera. The brightness L when the blue correction filter is inserted is as follows.

【0012】 L=0.1R+0.2G+0.1B …(1a )L = 0.1R + 0.2G + 0.1B (1a)

【0013】しかしながら、このような補正フィルタを
用いると、カラーカメラへの画像の光量が減少してしま
い、画像検査に用いる情報量が減少してしまい、かえっ
て画像検査の信頼性が低下してしまうことがあった。
However, when such a correction filter is used, the amount of light of the image to the color camera is reduced, the amount of information used for the image inspection is reduced, and the reliability of the image inspection is rather lowered. There was an occasion.

【0014】又、RGB画像を検査するために合計3台
のモノクロームの画像検査装置を用いる前述の技術で
は、同様に、赤や緑や青に関して中間色となる色の画像
不良を識別することが難しいという問題があった。又、
用いるハードウェアの規模が増大してしまったり、ある
いは、処理速度が例えば1/3に低下してしまうという
問題があった。
Further, in the above-mentioned technique which uses a total of three monochrome image inspection devices for inspecting RGB images, it is similarly difficult to identify image defects of intermediate colors of red, green and blue. There was a problem. or,
There is a problem that the scale of the hardware used is increased or the processing speed is reduced to, for example, 1/3.

【0015】本発明は、前記従来の問題点を解決するべ
く成されたもので、中間色についてもより信頼性良く検
査し、被検査画像の検査の信頼性を向上させることがで
きる画像検査装置を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and provides an image inspection apparatus capable of inspecting an intermediate color more reliably and improving the inspection reliability of an image to be inspected. The purpose is to provide.

【0016】[0016]

【課題を達成するための手段】本発明は、RGB画像を
検査する画像検査装置において、RGB被検査画像をH
VC被検査画像へと変換する表色系変換部と、前記HV
C被検査画像と、該HVC被検査画像に対応するHVC
基準画像とを照合する照合検査部とを備えたことによ
り、前記課題を達成したものである。
SUMMARY OF THE INVENTION The present invention is an image inspection apparatus for inspecting an RGB image, in which an RGB image to be inspected is
A color system conversion unit for converting into a VC inspection image, and the HV
C inspection image and HVC corresponding to the HVC inspection image
The above-mentioned problem is achieved by providing a collation inspection unit that collates with the reference image.

【0017】又、前記画像検査装置において、前記表色
系変換部が、これにより得られる前記HVC被検査画像
のうち、明度成分V以外の成分の解像度が、該明度成分
Vの解像度に比べ低くされたものであることにより、前
記課題を達成すると共に、画像検査効率を向上し、ハー
ドウェア量あるいは検査処理量を減少したものである。
Further, in the image inspection apparatus, the color system conversion unit causes the resolution of components other than the lightness component V in the HVC inspected image obtained thereby to be lower than the resolution of the lightness component V. As a result, the above-mentioned problems are achieved, the image inspection efficiency is improved, and the hardware amount or inspection processing amount is reduced.

【0018】[0018]

【作用】従来のRGB画像を検査する画像検査装置は、
前述のように合計3台のモノクロームの画像検査装置を
用い、赤成分R、緑成分G、青成分Bを独立して検査す
るものであっても、中間色の画像検査の信頼性が低下し
てしまうという問題が発明者等により確認されている。
この原因として、赤成分R、緑成分G、青成分Bとを独
立に検査したとしても、中間色の情報量が減少する傾向
があるためと思われる。又、例えば、検査対象となるR
GB画像が、例えば目視を前提とした印刷物の検査の場
合などには、色によって目視での画像不良の目立つ度合
いが異なるためであると思われる。前述したような中間
色のうち、例えば、黄色は、目視にて画像不良が目立ち
易い色である。黄色などの中間色の画像検査の信頼性を
向上させるためには、前述のようなRGB画像などの直
交座標系の表色系の画像を、一旦、極座標系の表色系、
例えばHVC(hue-value-croma )表色系の画像に変換
して検査することにより、画像検査の信頼性が向上でき
ることを見出して本発明は成されたものである。
A conventional image inspection apparatus for inspecting RGB images is
As described above, even if the red component R, the green component G, and the blue component B are independently inspected using a total of three monochrome image inspection devices, the reliability of the image inspection of the intermediate color is lowered. The inventor and others have confirmed the problem of the occurrence.
This is probably because the information amount of the intermediate color tends to decrease even if the red component R, the green component G, and the blue component B are inspected independently. Also, for example, R to be inspected
This is probably because, when the GB image is an inspection of a printed matter that is supposed to be visually observed, the degree of noticeability of the image defect visually differs depending on the color. Among the above-described intermediate colors, for example, yellow is a color in which an image defect is easily noticeable by visual observation. In order to improve the reliability of the image inspection of the intermediate color such as yellow, the image of the color coordinate system of the orthogonal coordinate system such as the RGB image as described above is temporarily changed to the color coordinate system of the polar coordinate system,
The present invention has been made by finding that the reliability of image inspection can be improved by converting the image into an HVC (hue-value-croma) color system image and inspecting the image, for example.

【0019】図1は、本発明の要旨を示すブロック図で
ある。
FIG. 1 is a block diagram showing the gist of the present invention.

【0020】この図1に示されるように、本発明の画像
検査装置の主要な構成は、表色系変換部30と、照合検
査部60である。又、必要に応じて、被検査画像を得る
ための例えばカラーカメラ10や、基準画像を得るため
の例えば基準画像メモリ48を備える。
As shown in FIG. 1, the main components of the image inspection apparatus of the present invention are a color system conversion unit 30 and a collation inspection unit 60. In addition, for example, a color camera 10 for obtaining an image to be inspected and a reference image memory 48 for obtaining a reference image are provided as needed.

【0021】本発明では、前記カラーカメラ10などの
所定の手段によって、前記表色系変換部30へと被検査
画像のRGB画像を入力する。前記表色系変換部30
は、入力されたRGB被検査画像をHVC被検査画像へ
と変換する。本発明は、該表色系変換部30の具体的な
構成を限定するものではなく、アナログ回路にて構成さ
れるものであってもよく、あるいは、デジタル回路にて
構成されるものであってもよい。又、本発明の該表色系
変換部30は、RGB画像からHVC画像への変換を行
うもののみに限定されるものではなく、直交座標系の表
色系の画像から、極座標系の表色系の画像へと変換する
ものであればよい。
In the present invention, the RGB image of the image to be inspected is input to the color system conversion unit 30 by a predetermined means such as the color camera 10. The color system conversion unit 30
Converts the input RGB inspection image into an HVC inspection image. The present invention does not limit the specific configuration of the color system conversion unit 30, and may be an analog circuit or a digital circuit. Good. Further, the color system conversion unit 30 of the present invention is not limited to the one for converting an RGB image to an HVC image, and it is possible to convert a color image of a rectangular coordinate system to a color system of a polar coordinate system. Any image can be converted as long as it can be converted into a system image.

【0022】前記照合検査部60は、前記表色系変換部
30にて変換された前記HVC被検査画像と、例えば前
記基準画像メモリ48に記憶されているHVC基準画像
とを照合する。該照合検査部60についても、前記表色
系変換部30と同様に、HVC表色系に限定されるもの
ではなく、極座標系の表色系の被検査画像と基準画像と
を照合し、これにより画像検査結果を得るための何等か
の情報を出力するものであればよい。例えば、該照合検
査部60は、前記HVC被検査画像の色相成分Hと明度
成分Vと彩度成分Cと、前記HVC被検査画像の色相成
分Hと明度成分Vと彩度成分Cとを、画素毎に又成分毎
に順次照合していくものであってもよい。又、このよう
な各成分毎又各画素毎の照合の際、本願発明出願時には
未公開の、本願発明の発明者等による特願平4−155
158、特願平4−223945などを適用するもので
あってもよい。又、該照合検査部60は、例えばHVC
表色系の色相を示す色相成分Hと、明度を示す明度成分
Vと、彩度を示す彩度成分Cとの全ての成分を同じ成分
同士照合するものに限定されるものではない。例えば、
中間色についてより信頼性良く検査するためには、少な
くとも色相を示す成分、例えばHVC表色系では色相成
分Hでの照合を行わなければならない。又、実用的な画
像検査装置としては、色相成分と明度成分、例えばHV
C表色系では色相成分Hと明度成分Vとを少なくとも用
いることが望ましい。
The collation inspection unit 60 collates the HVC inspected image converted by the color system conversion unit 30 with the HVC reference image stored in the reference image memory 48, for example. Similarly to the color system conversion unit 30, the collation inspection unit 60 is not limited to the HVC color system, and collates an inspected image of the polar coordinate system color system with a reference image. May output any information for obtaining the image inspection result. For example, the collation inspection unit 60 sets the hue component H, the lightness component V, and the saturation component C of the HVC inspection image, and the hue component H, the lightness component V, and the saturation component C of the HVC inspection image, It is also possible to sequentially collate each pixel or each component. Further, in such collation of each component or each pixel, Japanese Patent Application No. 4-155 by the inventors of the present invention, which has not been published at the time of filing the present invention, is filed.
158 and Japanese Patent Application No. 4-223945 may be applied. In addition, the collation checking unit 60 is, for example, an HVC.
The hue component H indicating the hue of the color system, the lightness component V indicating the lightness, and the saturation component C indicating the saturation are not limited to those in which the same components are collated with each other. For example,
In order to inspect the intermediate color more reliably, it is necessary to perform matching with at least a component showing a hue, for example, a hue component H in the HVC color system. Further, as a practical image inspection apparatus, a hue component and a lightness component such as HV
In the C color system, it is desirable to use at least the hue component H and the lightness component V.

【0023】以上説明したような本発明の構成によれ
ば、極座標系の表色系にて被検査画像と基準画像とを照
合し検査することができ、中間色についてもより信頼性
良く画像検査することができる。
According to the configuration of the present invention as described above, the image to be inspected and the reference image can be collated and inspected in the color coordinate system of the polar coordinate system, and the image inspection of the intermediate color can be performed more reliably. be able to.

【0024】[0024]

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

【0025】図2は、本発明が適用された画像検査装置
の構成を示すブロック図である。
FIG. 2 is a block diagram showing the structure of an image inspection apparatus to which the present invention is applied.

【0026】この図2に示されるように、本実施例の画
像検査装置は、主として、カラーカメラ10と、カメラ
制御部12と、表色系変換部30と、セレクタ40と、
被検査画像メモリ46と、基準画像メモリ48と、照合
検査部60と、基準入力指令入力部42と、パラメータ
入力部50とにより構成されている。
As shown in FIG. 2, the image inspection apparatus of this embodiment mainly includes a color camera 10, a camera control unit 12, a color system conversion unit 30, a selector 40, and
The image memory 46 to be inspected, the reference image memory 48, the collation inspection unit 60, the reference input command input unit 42, and the parameter input unit 50.

【0027】前記カラーカメラ10は、本実施例の検査
対象となる印刷物表面を撮影し、RGBアナログ画像を
出力する。本実施例においては、画像検査にあたってま
ず、該カラーカメラ10にて不良のない基準となる印刷
物を撮影し、基準画像を得る。この後、実際の画像検査
の際には、検査対象となる印刷物を逐次撮影し、被検査
画像を得る。
The color camera 10 photographs the surface of a printed matter to be inspected in this embodiment and outputs an RGB analog image. In this embodiment, in the image inspection, first, the color camera 10 photographs a reference printed material having no defect to obtain a reference image. After that, in the actual image inspection, the printed matter to be inspected is sequentially photographed to obtain an image to be inspected.

【0028】前記カメラ制御部12は、前記カラーカメ
ラ10が出力するRGBアナログ画像をA/D(analog
to digital )変換し、RGBデジタル画像を出力す
る。前記表色系変換部30は、前記カメラ制御部12が
出力するRGBデジタル画像を、RGB表色系からHV
C表色系へと変換し、HVCデジタル画像を出力する。
The camera control section 12 converts the RGB analog image output by the color camera 10 into an A / D (analog) image.
to digital) conversion and output RGB digital image. The color system conversion unit 30 converts the RGB digital image output by the camera control unit 12 from the RGB color system to HV.
Convert to C color system and output HVC digital image.

【0029】前記被検査画像メモリ46及び前記基準画
像メモリ48は、いずれも、前記印刷物1の画像検査の
1単位となる2次元フレーム状の、少なくとも1画面分
の画像を記憶できる記憶容量を有している。
The inspected image memory 46 and the reference image memory 48 each have a storage capacity capable of storing at least one screen image in a two-dimensional frame which is one unit for image inspection of the printed matter 1. is doing.

【0030】前記基準入力指令入力部42は、画像検査
にあたって行う基準画像の撮影を選択するか、あるい
は、実際の画像検査の被検査画像の撮影を選択するかの
入力を行う。該基準入力指令入力部42で基準画像の撮
影の選択の入力があると、前記セレクタ40は前記基準
画像メモリ48へと切り換えられる。このとき、前記照
合検査部60は動作しない。一方、前記基準入力指令入
力部42にて被検査画像の撮影の選択の入力があると、
前記セレクタ40は前記被検査画像メモリ46へと切り
換えられ、前記照合検査部60はHVC表色系での被検
査画像と基準画像との照合検査を行う。
The reference input command input section 42 inputs whether to select the photographing of the reference image to be performed in the image inspection or the photographing of the inspected image of the actual image inspection. When the reference input command input section 42 receives an input for selecting the reference image shooting, the selector 40 is switched to the reference image memory 48. At this time, the collation checking unit 60 does not operate. On the other hand, if the reference input command input unit 42 receives an input to select the image of the inspection image,
The selector 40 is switched to the inspected image memory 46, and the collation inspection unit 60 performs the collation inspection between the inspected image and the reference image in the HVC color system.

【0031】なお、前記パラメータ入力部50は、前記
照合検査部60で用いられるパラメータを設定するため
の入力を行う。例えば、該照合検査部60で前記被検査
画像と前記基準画像との比較を行う際の許容閾値を入力
する。
The parameter input section 50 is used to set parameters used in the collation checking section 60. For example, the collation inspection unit 60 inputs an allowable threshold when the image to be inspected is compared with the reference image.

【0032】図3は、本実施例で用いられるカラーカメ
ラの取り付け状態を示す斜視図である。
FIG. 3 is a perspective view showing an attached state of the color camera used in this embodiment.

【0033】前記カラーカメラ10は、図3に示される
如く、矢印の方向に走行中の印刷物1表面の印刷絵柄を
撮影するカラーラインセンサカメラである。該カラーカ
メラ10は、前記印刷物1の幅方向に、赤成分Rと緑成
分Gと青成分Bとのそれぞれのライン状の撮影を行う。
As shown in FIG. 3, the color camera 10 is a color line sensor camera for photographing a print pattern on the surface of the printed matter 1 which is running in the direction of the arrow. The color camera 10 takes a line image of each of the red component R, the green component G, and the blue component B in the width direction of the printed matter 1.

【0034】又、該カラーカメラ10での撮影個所近傍
には、ロータリエンコーダ24が取り付けられたフリー
ローラ3が設けられている。該フリーローラ3は、前記
印刷物1の走行に従って回転する。又、前記ロータリエ
ンコーダ24は、該印刷物1の所定走行距離(微小距
離)毎にパルス信号を発生する。
A free roller 3 to which a rotary encoder 24 is attached is provided in the vicinity of a photographing position of the color camera 10. The free roller 3 rotates as the printed matter 1 travels. Further, the rotary encoder 24 generates a pulse signal for each predetermined traveling distance (minute distance) of the printed matter 1.

【0035】図4は、本実施例で用いられるカメラ制御
部の構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of the camera control unit used in this embodiment.

【0036】この図4に示されるように、前記カメラ制
御部12は、主として、合計3個のA/D変換回路14
a 〜14c と、合計3個の画像バッファ18a 〜18c
と、同期回路18とを備える。
As shown in FIG. 4, the camera control unit 12 mainly includes a total of three A / D conversion circuits 14.
a to 14c and a total of three image buffers 18a to 18c
And a synchronization circuit 18.

【0037】前記A/D変換回路14a は、前記カラー
カメラ10が出力する前記RGBアナログ画像の赤成分
RをA/D変換し、これを前記R画像バッファ18a へ
と書き込む。前記A/D変換回路14b は、前記カラー
カメラ10が出力する前記RGBアナログ画像の緑成分
GをA/D変換し、これを前記G画像バッファ18bへ
と書き込む。前記A/D変換回路14c は、前記カラー
カメラ10が出力する前記RGBアナログ画像の青成分
BをA/D変換し、これを前記B画像バッファ18c へ
と書き込む。これら画像バッファ18a 〜18c は、そ
れぞれ、前記印刷物1の幅方向の1ライン分の8ビット
の画像データを記憶することができるようになってい
る。該画像バッファ18a 〜18c それぞれは、該1ラ
イン分の各画素の、赤成分Rあるいは緑成分Gあるいは
青成分Bの明度の8ビットのデジタル値を記憶するダブ
ルポートメモリがラインバッファとして用いられてい
る。
The A / D conversion circuit 14a A / D converts the red component R of the RGB analog image output by the color camera 10 and writes it into the R image buffer 18a. The A / D conversion circuit 14b A / D-converts the green component G of the RGB analog image output by the color camera 10 and writes it in the G image buffer 18b. The A / D conversion circuit 14c A / D converts the blue component B of the RGB analog image output by the color camera 10 and writes it in the B image buffer 18c. Each of the image buffers 18a to 18c can store 8-bit image data for one line in the width direction of the printed matter 1. In each of the image buffers 18a to 18c, a double port memory that stores an 8-bit digital value of the brightness of the red component R, the green component G, or the blue component B of each pixel for one line is used as a line buffer. There is.

【0038】前記同期回路16は、前記印刷物1の走行
に従って前記ロータリエンコーダ24が出力するパルス
信号に従って、前記A/D変換回路14a 〜14c それ
ぞれがA/D変換する際に用いるタイミング信号(水平
同期信号)、又、A/D変換されたものを前記画像バッ
ファ18a 〜18c それぞれに書き込むためのタイミン
グ信号(水平同期信号)を生成する。
The synchronization circuit 16 is a timing signal (horizontal synchronization) used when each of the A / D conversion circuits 14a to 14c performs A / D conversion in accordance with a pulse signal output from the rotary encoder 24 as the printed matter 1 travels. Signal) or a timing signal (horizontal synchronizing signal) for writing the A / D converted signal into each of the image buffers 18a to 18c.

【0039】図5は、本実施例で用いられる表色系変換
部の構成を示すブロック図である。
FIG. 5 is a block diagram showing the configuration of the color system conversion unit used in this embodiment.

【0040】この図5に示されるように、前記表色系変
換部30は、主として、表色系変換器32と、合計3個
の画像バッファ、即ち、H画像バッファ34a と、V画
像バッファ34b と、C画像バッファ34c とを備え
る。前記カメラ制御部12の前記画像バッファ18a 〜
18c から出力される前記RGBデジタル画像は、前記
表色系変換器32にてHVC表色系のデジタル画像に変
換される。又、該表色系変換器32で変換されたHVC
デジタル画像は、色相成分Hは前記H画像バッファ34
a へと書き込まれ、明度成分Vは前記V画像バッファ3
4b へと書き込まれ、彩度成分Cは前記C画像バッファ
34c へと書き込まれる。
As shown in FIG. 5, the color system conversion unit 30 mainly includes a color system converter 32 and a total of three image buffers, that is, an H image buffer 34a and a V image buffer 34b. And a C image buffer 34c. The image buffer 18a of the camera controller 12
The RGB digital image output from 18c is converted into an HVC color system digital image by the color system converter 32. Also, the HVC converted by the color system converter 32
In the digital image, the hue component H is the H image buffer 34.
a, and the brightness component V is written into the V image buffer 3
4b and the saturation component C is written to the C image buffer 34c.

【0041】図6は、本実施例で用いられているRGB
表色系を示す線図である。一方、図7は、本実施例で用
いられるHVC表色系を示す線図である。
FIG. 6 shows the RGB used in this embodiment.
It is a diagram showing a color system. On the other hand, FIG. 7 is a diagram showing the HVC color system used in this embodiment.

【0042】まず、前記図6に示されるように、本実施
例で用いられているRGB表色系は、直交座標系の表色
系の1つである。該RGB表色系は、様々な色彩の色相
・明度・彩度を、赤成分Rと、緑成分Gと、青成分Bと
の、互いに直交する3成分の任意の合成で表わすという
ものである。例えば、黄色は、赤成分Rと緑成分Gとが
それぞれ1.0と表わされ、例えば白は、赤成分Rと緑
成分Gと青成分Bとが全て1.0で表わすことができ
る。なお、この図6において、符号BKは黒であり、符
号Yは黄であり、符号Cはシアンであり、符号Mはマゼ
ンタであり、符号Wは白である。
First, as shown in FIG. 6, the RGB color system used in this embodiment is one of the coordinate system of the orthogonal coordinate system. The RGB color system represents hues, lightnesses, and saturations of various colors by arbitrarily combining three components of a red component R, a green component G, and a blue component B which are orthogonal to each other. . For example, for yellow, the red component R and the green component G can be represented as 1.0, and for example, for white, the red component R, the green component G, and the blue component B can all be represented as 1.0. In FIG. 6, reference numeral BK is black, reference numeral Y is yellow, reference numeral C is cyan, reference numeral M is magenta, and reference numeral W is white.

【0043】次に、前記図7に示されるように、本実施
例で用いられるHVC表色系は極座標系の表色系の1つ
である。該HVC表色系は、様々な色彩を、色相(H:
hue)成分と、明度(V:value )成分と、彩度(C:c
roma )成分との3次元極座標空間で表わす。前記色相
は色味を表わし、前記明度は明るさを表わし、前記彩度
は鮮やかさを表わす。例えば、真紅は、H=0°、V=
0.5、C=1で表わされ、Hが増えるに連れて黄色が
かった色となり、逆にHが減ると青色を帯びた色とな
る。又、Vが増えると明るくなり、Vが減ると暗くな
る。Cが増えると鮮やかになり、Cが減ると黒ずんだ色
になる。このようなHVC表色系は、前記RGB表色系
に比べ、人間の色彩感覚により近いものであり、人間の
色彩感覚を前提とした印刷物等のカラー画像検査により
適した特性を有していると言える。
Next, as shown in FIG. 7, the HVC color system used in this embodiment is one of the polar coordinate system. The HVC color system uses various hues (H:
hue) component, lightness (V: value) component, and saturation (C: c)
It is expressed in a three-dimensional polar coordinate space with the (roma) component. The hue represents tint, the lightness represents lightness, and the saturation represents vividness. For example, for crimson, H = 0 °, V =
It is represented by 0.5 and C = 1. As H increases, it becomes a yellowish color, and conversely, when H decreases, it becomes a bluish color. Also, as V increases, it becomes brighter, and as V decreases, it becomes darker. When C is increased, it becomes vivid, and when C is decreased, it becomes a dark color. Such an HVC color system is closer to human color perception than the RGB color system, and has characteristics more suitable for color image inspection of printed matter and the like on the assumption of human color perception. Can be said.

【0044】本実施例の画像検査装置においては、前記
カメラ制御部12が出力し、前記表色系変換部30が入
力する前記RGBデジタル画像の赤成分R、緑成分G及
び青成分B、又、前記表色系変換部30の前記表色系変
換器32で変換され、該表色系変換部30から出力され
る色相成分H、明度成分V及び彩度成分Cは、いずれ
も、8ビットの符号無し2進数、即ち0〜255の数値
で表わされている。又、前記色相成分Hは、0〜2πに
対応する0〜254の数値で表わされていることにな
る。即ち、該色相成分Hが2πの角度のとき、その値は
0となる。又、該色相成分Hにおいて、255の値は不
定を示す。
In the image inspection apparatus of this embodiment, the red component R, the green component G, and the blue component B of the RGB digital image output by the camera control unit 12 and input by the color system conversion unit 30, and The hue component H, the lightness component V, and the saturation component C, which are converted by the color system converter 32 of the color system converter 30 and output from the color system converter 30, are all 8 bits. Is represented by an unsigned binary number, that is, a numerical value of 0-255. Further, the hue component H is represented by a numerical value of 0 to 254 corresponding to 0 to 2π. That is, when the hue component H has an angle of 2π, its value becomes 0. Further, in the hue component H, the value of 255 shows indefinite.

【0045】以下、本実施例の前記表色系変換器32で
行われている、一般に良く知られるHVC双6角錐カラ
ーモデルを用いた、RGB表色系からHVC表色系への
変換について説明する。
The conversion from the RGB color system to the HVC color system using the generally well-known HVC bihexagonal pyramid color model, which is performed by the color system converter 32 of the present embodiment, will be described below. To do.

【0046】まず、赤成分Rと緑成分Gと青成分Bとに
関して、次式に示すように、これら成分のうちの最大の
ものの値である最大成分Imax 、及び、これら成分のう
ち最小のものの値である最小成分Imin とを定義する。
First, regarding the red component R, the green component G, and the blue component B, the maximum component Imax, which is the maximum value of these components, and the minimum component of these components, as shown in the following equation, A minimum component Imin that is a value is defined.

【0047】 Imax =max {R,G,B} …(2a ) Imin =min {R,G,B} …(2b )Imax = max {R, G, B} (2a) Imin = min {R, G, B} (2b)

【0048】なお、上記関数max { }は、列挙した変
数のうちの最大値を取るものである。又、関数min
{ }は、列挙した変数のうち最小値を取る関数であ
る。上記(2a )式により、前記最大成分Imax が求め
られ、上記(2b )式により、前記最小成分Imin が求
められると、次式に示す通り、これら最大成分Imax 及
び最小成分Imin によって明度成分Vを求めることがで
きる。
The function max {} takes the maximum value among the listed variables. Also, the function min
{} Is a function that takes the minimum value among the listed variables. When the maximum component Imax is obtained by the equation (2a) and the minimum component Imin is obtained by the equation (2b), the lightness component V is obtained by the maximum component Imax and the minimum component Imin as shown in the following equation. You can ask.

【0049】 V=(Imax +Imin )/2 …(3)V = (Imax + Imin) / 2 (3)

【0050】次に、前記色相成分H及び前記彩度成分C
は、次のように場合分けされて求められる。
Next, the hue component H and the saturation component C
Can be calculated in the following cases.

【0051】(1)まず、前記最大成分Imax の値と前
記最小成分Imin の値とが等しいとき、前記色相成分H
及び前記彩度成分Cは、それぞれ次式の通りとなる。
(1) First, when the value of the maximum component Imax is equal to the value of the minimum component Imin, the hue component H
And the saturation component C are as follows.

【0052】 H=255(即ち、色相は不定) …(4a ) C=0(即ち、グレイ成分のみである) …(4b )H = 255 (that is, the hue is undefined) (4a) C = 0 (that is, only the gray component) (4b)

【0053】(2)一方、前記最大成分Imax の値と前
記最小成分Imin の値とが等しくないとき、前記彩度成
分Cが次式により求められる。
(2) On the other hand, when the value of the maximum component Imax is not equal to the value of the minimum component Imin, the saturation component C is obtained by the following equation.

【0054】C=Imax −Imin …(5)C = Imax-Imin (5)

【0055】ここで、前記色相成分Hを求めるにあた
り、正規化赤成分r と、正規化緑成分g と、正規化青成
分b とを次式のように定義する。
Here, in obtaining the hue component H, a normalized red component r, a normalized green component g, and a normalized blue component b are defined by the following equation.

【0056】 r =255×(Imax −R)/C …(6a ) g =255×(Imax −G)/C …(6b ) b =255×(Imax −B)/C …(6c )R = 255 × (Imax −R) / C (6a) g = 255 × (Imax −G) / C (6b) b = 255 × (Imax −B) / C (6c)

【0057】ここで、上記(2)の条件のように、前記
最大成分Imax の値と前記最小成分Imin の値とが異な
るという条件の元で、前記色相成分Hは次のように場合
分けして求められる。
Here, under the condition that the value of the maximum component Imax and the value of the minimum component Imin are different as in the condition (2) above, the hue component H is divided into the following cases. Required.

【0058】(2a )前記赤成分Rの値と前記最大成分
Imax の値とが等しい場合、前記色相成分Hは次式によ
り求められる。
(2a) When the value of the red component R and the value of the maximum component Imax are equal, the hue component H is obtained by the following equation.

【0059】 H=(b −g )/6 …(7a )H = (b-g) / 6 (7a)

【0060】(2b )前記緑成分Gの値と前記最大成分
Imax の値とが等しい場合、前記色相成分Hは次式によ
り求められる。
(2b) When the value of the green component G is equal to the value of the maximum component Imax, the hue component H is obtained by the following equation.

【0061】 H=(r −b +512)/6 …(7b )H = (r −b +512) / 6 (7b)

【0062】(2c )前記青成分Bの値と前記最大成分
Imax の値とが等しい場合、前記色相成分Hは次式によ
り求められる。
(2c) When the value of the blue component B and the value of the maximum component Imax are equal, the hue component H is obtained by the following equation.

【0063】 H=(g −r +1024)/6 …(7c )H = (g−r + 1024) / 6 (7c)

【0064】なお、上記(7a )式〜(7c )式により
求められる前記色相成分Hの値が0未満となる場合に
は、255を加える。一方、該色相成分Hの値が255
以上となる場合には、該色相成分Hから255を引く。
このようにして、求められた該色相成分Hの値の範囲
を、0から254の範囲とする。
If the value of the hue component H obtained by the equations (7a) to (7c) is less than 0, 255 is added. On the other hand, the value of the hue component H is 255
In the above case, 255 is subtracted from the hue component H.
The range of the value of the hue component H thus obtained is set to the range of 0 to 254.

【0065】以上説明した通り、前記表色系変換器32
にてRGB表色系からHVC表色系への変換が行われる
と、該変換結果は、色相成分Hは前記H画像バッファ3
4aへと書き込まれ、前記明度成分Vは前記V画像バッ
ファ34b へと書き込まれ、前記彩度成分Cは前記C画
像バッファ34c へと書き込まれる。
As described above, the color system converter 32
When the conversion from the RGB color system to the HVC color system is performed, the conversion result shows that the hue component H is the H image buffer 3
4a, the lightness component V is written to the V image buffer 34b, and the saturation component C is written to the C image buffer 34c.

【0066】図8は、主として前記照合検査部の構成を
示すブロック図である。
FIG. 8 is a block diagram mainly showing the structure of the collation checking unit.

【0067】この図8に示されるように、本実施例で用
いられている前記照合検査部60は、主として、許容閾
値算出回路64と、閾値メモリ66と、比較回路70と
により構成されている。前記許容閾値算出回路64は、
前記パラメータ入力部50にて入力されたパラメータを
用いて、前記基準画像メモリ46に書き込まれた基準画
像に従って、前記比較回路70での前記被検査画像と前
記基準画像との比較検査の際に用いる閾値を求め、前記
閾値メモリ66へと書き込む。該許容閾値算出回路64
では、前記特開平4−155158で提案されている技
術が用いられている。
As shown in FIG. 8, the collation checking unit 60 used in this embodiment is mainly composed of an allowable threshold value calculation circuit 64, a threshold value memory 66, and a comparison circuit 70. . The allowable threshold calculation circuit 64 is
It is used in the comparison inspection of the inspection image and the reference image in the comparison circuit 70 according to the reference image written in the reference image memory 46 by using the parameter input by the parameter input unit 50. A threshold value is obtained and written in the threshold value memory 66. The allowable threshold calculation circuit 64
In this case, the technique proposed in Japanese Patent Laid-Open No. 4-155158 is used.

【0068】又、前記比較回路70は、前記被検査画像
メモリ46に記憶されている被検査画像のHVCデジタ
ル画像と、前記基準画像メモリ48に書き込まれている
基準画像のHVCデジタル画像とを、その成分毎に比較
し検査する。即ち、前記被検査画像の色相成分Hと前記
基準画像の前記色相成分Hとを比較し検査する。又、前
記被検査画像の明度成分Vと前記基準画像の明度成分V
とを比較し検査する。前記被検査画像の彩度成分Cと前
記基準画像の彩度成分Cとを比較し検査する。このよう
な各成分毎の比較の検査結果のうち、不良とされた検査
結果が1つでもあると、本実施例では該当する被検査画
像を不良画像としている。
Further, the comparison circuit 70 compares the HVC digital image of the inspection image stored in the inspection image memory 46 and the HVC digital image of the reference image written in the reference image memory 48 with each other. The components are compared and inspected. That is, the hue component H of the image to be inspected and the hue component H of the reference image are compared and inspected. Further, the lightness component V of the inspection image and the lightness component V of the reference image
Compare and inspect. The saturation component C of the image to be inspected and the saturation component C of the reference image are compared and inspected. If there is even one defective inspection result among the comparison inspection results for each component as described above, the corresponding inspected image is regarded as a defective image in this embodiment.

【0069】図9は、本実施例で用いられている前記比
較回路の構成を示すブロック図である。
FIG. 9 is a block diagram showing the configuration of the comparison circuit used in this embodiment.

【0070】この図9に示されるように、前記比較回路
70は、主として、H画像比較検査回路72a と、V画
像比較検査回路72b と、C画像比較検査回路72c
と、OR回路74とにより構成されている。前記被検査
画像メモリ46から出力されるHVCデジタル画像、及
び、各成分毎に前記基準画像メモリ48から出力される
HVCデジタル画像は、その成分毎に、前記画像比較検
査回路72a 〜72c へと入力される。即ち、前記H画
像比較検査回路72a には、前記被検査画像メモリ46
からの色相成分Hと、前記基準画像メモリ48からの色
相成分Hとが入力される。前記V画像比較検査回路72
b には、前記被検査画像メモリ46からの前記明度成分
Vと、前記基準画像メモリ48からの前記明度成分Vと
が入力される。前記C画像比較検査回路72c には、前
記被検査画像メモリ46からの前記彩度成分Cと、前記
基準画像メモリ48からの前記彩度成分Cとが入力され
る。これら画像比較検査回路72a 〜72c は、それぞ
れ、この図9では図示されない前記図8の前記閾値メモ
リ66に記憶されている閾値を用いながら入力された成
分の画素毎の比較を行い、最終的に、該当する成分につ
いての前記被検査画像の検査結果を出力する。
As shown in FIG. 9, the comparison circuit 70 mainly includes an H image comparison inspection circuit 72a, a V image comparison inspection circuit 72b, and a C image comparison inspection circuit 72c.
And an OR circuit 74. The HVC digital image output from the inspected image memory 46 and the HVC digital image output from the reference image memory 48 for each component are input to the image comparison / inspection circuits 72a to 72c for each component. To be done. That is, the H image comparison / inspection circuit 72a includes the inspected image memory 46
And the hue component H from the reference image memory 48 are input. The V image comparison / inspection circuit 72
The brightness component V from the inspected image memory 46 and the brightness component V from the reference image memory 48 are input to b. The saturation component C from the inspected image memory 46 and the saturation component C from the reference image memory 48 are input to the C image comparison / inspection circuit 72c. These image comparison / inspection circuits 72a to 72c respectively compare the input components pixel by pixel using the threshold value stored in the threshold value memory 66 of FIG. 8 not shown in FIG. , Outputs the inspection result of the image to be inspected for the corresponding component.

【0071】これら比較検査回路72a 〜72c それぞ
れは、各画素毎に基準画像の画素値と被検査画像の画素
値との差の絶対値を求め、該絶対値と前記閾値メモリ6
6に記憶されている閾値と比較する。閾値より小さい画
素は“0”の値とし、閾値より大きい画素は“1”の値
とし、“1”の値の画素の数により、該当する被検査画
像での該当成分の検査結果を出力する。
Each of the comparison inspection circuits 72a to 72c obtains the absolute value of the difference between the pixel value of the reference image and the pixel value of the image to be inspected for each pixel, and the absolute value and the threshold value memory 6
6 is compared with the threshold value stored in 6. Pixels smaller than the threshold value have a value of “0”, pixels larger than the threshold value have a value of “1”, and the inspection result of the corresponding component in the corresponding inspection image is output depending on the number of pixels having the value of “1”. .

【0072】前記OR回路74は、前記画像比較検査回
路72a 〜72c それぞれが出力する各成分の検査結果
に基づいて、該当する被検査画像の最終的な検査結果を
出力する。該OR回路74は、前記画像比較検査回路7
2a 〜72c の少なくともいずれか1つの検査結果に不
良があった場合、前記被検査画像の最終的な検査結果を
不良とするものである。
The OR circuit 74 outputs the final inspection result of the corresponding inspected image based on the inspection result of each component output from each of the image comparison inspection circuits 72a to 72c. The OR circuit 74 corresponds to the image comparison / inspection circuit 7
If at least one of the inspection results 2a to 72c is defective, the final inspection result of the image to be inspected is determined to be defective.

【0073】以上説明した通り、本実施例によれば、前
記カラーカメラ10にて撮影した前記印刷物1の被検査
画像のRGBアナログ画像を、まずRGBデジタル画像
へと変換し、更にHVCデジタル画像へと変換し、該H
VCデジタル画像の各成分毎に基準画像と比較し検査す
ることができる。従って、本実施例によれば、中間色に
ついてもより信頼性良く検査することができる。又、本
実施例では、前記カラーカメラ10及び前記カメラ制御
部12及び前記表色系変換部30は、前記セレクタ40
を切り換えることにより、前記基準画像のHVCデジタ
ル画像を得るためにも用いることができている。
As described above, according to this embodiment, the RGB analog image of the image to be inspected of the printed matter 1 photographed by the color camera 10 is first converted into the RGB digital image, and further converted into the HVC digital image. Is converted to H
Each component of the VC digital image can be compared and inspected with the reference image. Therefore, according to the present embodiment, it is possible to more reliably inspect the intermediate color. Further, in this embodiment, the color camera 10, the camera control unit 12, and the color system conversion unit 30 include the selector 40.
Can also be used to obtain the HVC digital image of the reference image.

【0074】なお、前記表色系変換部30の前記表色系
変換器32における前述のようなRGB表色系からHV
C表色系への変換の際、前記色相成分Hの画素数の間引
き、あるいは前記彩度成分Cの画素数の間引きの少なく
とも一方を行うようにしてもよい。このように、比較検
査の際の前記色相成分Hの解像度や前記彩度成分Cの解
像度を、前記明度成分Vの解像度より低下させても、そ
の検査結果の劣化はあまり目立たないことが確認されて
いる。このような前記色相成分Hの画素の間引きや、前
記彩度成分Cの画素数の間引きを行えば、前記H画像バ
ッファ34a 、前記C画像バッファ34c 、前記被検査
画像メモリ46及び前記基準画像メモリ48の記憶容量
を減少させることができる。又、前記H画像比較検査回
路72aや前記C画像比較検査回路72c の処理速度を
低減することができる。例えば、これらH画像比較検査
回路72a とC画像比較検査回路72c とのそれぞれの
処理速度を1/2とすることができる場合には、例え
ば、1台の比較検査回路で、前記色相成分Hの比較検査
と前記彩度成分Cの比較検査とを交互に行うことができ
る。即ち、これらH画像比較検査回路72a あるいはC
画像比較検査回路72c のいずれか一方を省くことがで
きる。
It should be noted that the HV from the RGB color system as described above in the color system converter 32 of the color system conversion unit 30.
At the time of conversion to the C color system, at least one of thinning out the number of pixels of the hue component H and thinning out the number of pixels of the saturation component C may be performed. In this way, it is confirmed that even if the resolution of the hue component H or the saturation component C in the comparative inspection is made lower than the resolution of the lightness component V, the deterioration of the inspection result is not so noticeable. ing. By thinning out the pixels of the hue component H and the number of pixels of the saturation component C, the H image buffer 34a, the C image buffer 34c, the inspected image memory 46, and the reference image memory. The storage capacity of 48 can be reduced. Also, the processing speed of the H image comparison inspection circuit 72a and the C image comparison inspection circuit 72c can be reduced. For example, if the respective processing speeds of the H image comparison inspection circuit 72a and the C image comparison inspection circuit 72c can be halved, for example, one comparison inspection circuit can be used to detect the hue component H. It is possible to alternately perform the comparison inspection and the saturation component C comparison inspection. That is, these H image comparison inspection circuit 72a or C
Either one of the image comparison / inspection circuits 72c can be omitted.

【0075】従来のRGB表色系での比較検査を行う画
像検査装置では、各成分全てが同等以上の解像度で検査
を行う必要があった。しかしながら、本実施例の如く、
HVC表色系で比較検査を行うものについては、特に明
度成分Vのみを高解像度で検査を行っても、色毎の検査
性能の格差が出難いという特徴がある。又、本実施例で
は、経過時間に従った前記色相成分Hの変化や前記彩度
成分Cの変化を検出し易く、色調変化の調査にもより良
好に用いることができる。
In the conventional image inspection apparatus for performing the comparative inspection in the RGB color system, it was necessary to perform the inspection with the resolution equal to or higher than that of each component. However, as in this embodiment,
The comparative inspection using the HVC color system is characterized in that even if only the lightness component V is inspected at a high resolution, a difference in inspection performance for each color hardly occurs. Further, in the present embodiment, it is easy to detect the change in the hue component H and the change in the saturation component C with the passage of time, and it is possible to better use it to investigate the change in color tone.

【0076】なお、本実施例の前記比較回路70におい
て、前記色相成分Hと前記明度成分Vと前記彩度成分C
とを独立して同時に検査するため、前記画像比較検査回
路72a 〜72c を合計3台用いている。しかしなが
ら、本実施例の変形例として、前記画像比較検査回路7
2a 〜72c を1台とし、各成分の比較検査を順次行う
ようにしてもよい。
In the comparison circuit 70 of this embodiment, the hue component H, the lightness component V and the saturation component C are used.
In order to independently inspect and, the three image comparison / inspection circuits 72a to 72c are used in total. However, as a modified example of this embodiment, the image comparison / inspection circuit 7 is
You may make it 2a-72c one and carry out the comparison inspection of each component sequentially.

【0077】あるいは、連続する同一絵柄の印刷物の多
数の被検査画像を検査する場合に、前記画像比較検査回
路72a 〜72c を1台のみ備えるようにし、1つの前
記被検査画像の比較検査の際には、まず色相成分Hの比
較検査のみを行い、次の被検査画像の比較検査の際には
前記明度成分Vのみの比較検査を行うようにし、更に次
の被検査画像の比較検査の際には、同一の前記画像比較
検査回路72a 〜72c にて、前記彩度成分Cの比較検
査のみを行うようにしてもよい。この場合、前記OR回
路74は、連続した3つの前記被検査画像に亘る前記色
相成分Hの比較検査結果と、前記明度成分Vの比較検査
結果と、前記彩度成分Cの比較検査との不良検査結果の
論理和を出力するようにしてもよい。
Alternatively, in the case of inspecting a large number of inspected images of continuous printed matter of the same pattern, only one of the image comparison / inspection circuits 72a to 72c is provided, and the comparison inspection of one inspected image is performed. First, only the comparison inspection of the hue component H is performed, the comparison inspection of only the lightness component V is performed at the time of the comparison inspection of the next image to be inspected, and the comparison inspection of the next image to be inspected is performed. Alternatively, the same image comparison / inspection circuits 72a to 72c may perform only the comparison inspection of the saturation component C. In this case, the OR circuit 74 is defective in the comparison inspection result of the hue component H, the comparison inspection result of the lightness component V, and the comparison inspection of the saturation component C over three consecutive images to be inspected. You may make it output the logical sum of the inspection result.

【0078】[0078]

【発明の効果】以上説明した通り、本発明によれば、中
間色についてもより信頼性良く検査することができ、被
検査画像の信頼性を向上することができるという優れた
効果を得ることができる。
As described above, according to the present invention, it is possible to obtain an excellent effect that the intermediate color can be inspected more reliably and the reliability of the image to be inspected can be improved. .

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

【図1】本発明の要旨を示すブロック図FIG. 1 is a block diagram showing the gist of the present invention.

【図2】本発明が適用された画像検査装置の実施例の全
体構成を示すブロック図
FIG. 2 is a block diagram showing an overall configuration of an embodiment of an image inspection apparatus to which the present invention is applied.

【図3】前記実施例で用いられるカラーカメラの取り付
け状態を示す斜視図
FIG. 3 is a perspective view showing a mounted state of the color camera used in the embodiment.

【図4】前記実施例で用いられるカメラ制御部の構成を
示すブロック図
FIG. 4 is a block diagram showing a configuration of a camera control unit used in the embodiment.

【図5】前記実施例で用いられる表色系変換部の構成を
示すブロック図
FIG. 5 is a block diagram showing a configuration of a color system conversion unit used in the embodiment.

【図6】前記実施例で用いられるRGB表色系を示す線
FIG. 6 is a diagram showing an RGB color system used in the embodiment.

【図7】前記実施例で用いられるHVC表色系を示す線
FIG. 7 is a diagram showing an HVC color system used in the embodiment.

【図8】前記実施例で用いられる照合検査部の構成を示
すブロック図
FIG. 8 is a block diagram showing a configuration of a collation checking unit used in the above embodiment.

【図9】前記実施例で用いられる比較回路の構成を示す
ブロック図
FIG. 9 is a block diagram showing a configuration of a comparison circuit used in the embodiment.

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

1…印刷物 3…フリーローラ 10…カラーカメラ 12…カメラ制御部 14a 〜14c …A/D変換回路 16…同期回路 18a …R画像バッファ 18b …G画像バッファ 18c …B画像バッファ 24…ロータリエンコーダ 30…表色系変換部 32…表色系変換器 34a …H画像バッファ 34b …V画像バッファ 34c …C画像バッファ 40…セレクタ 42…基準入力指令入力部 46…被検査画像メモリ 48…基準画像メモリ 50…パラメータ入力部 60…照合検査部 64…許容閾値算出回路 66…閾値メモリ 70…比較回路 72a …H画像比較検査回路 72b …V画像比較検査回路 72c …C画像比較検査回路 74…OR回路 R…赤成分 G…緑成分 B…青成分 H…色相成分 V…明度成分 C…彩度成分 DESCRIPTION OF SYMBOLS 1 ... Printed material 3 ... Free roller 10 ... Color camera 12 ... Camera control part 14a-14c ... A / D conversion circuit 16 ... Synchronous circuit 18a ... R image buffer 18b ... G image buffer 18c ... B image buffer 24 ... Rotary encoder 30 ... Color system converter 32 ... Color system converter 34a ... H image buffer 34b ... V image buffer 34c ... C image buffer 40 ... Selector 42 ... Reference input command input unit 46 ... Inspected image memory 48 ... Reference image memory 50 ... Parameter input unit 60 ... Collation inspection unit 64 ... Allowed threshold value calculation circuit 66 ... Threshold memory 70 ... Comparison circuit 72a ... H image comparison inspection circuit 72b ... V image comparison inspection circuit 72c ... C image comparison inspection circuit 74 ... OR circuit R ... Red Component G ... Green component B ... Blue component H ... Hue component V ... Lightness component C ... Saturation component

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 // B41J 29/46 C 9113−2C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI technical display location // B41J 29/46 C 9113-2C

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】RGB画像を検査する画像検査装置におい
て、 RGB被検査画像をHVC被検査画像へと変換する表色
系変換部と、 前記HVC被検査画像と、該HVC被検査画像に対応す
るHVC基準画像とを照合する照合検査部とを備えたこ
とを特徴とする画像検査装置。
1. An image inspecting apparatus for inspecting an RGB image, comprising: a color system conversion unit for converting an RGB inspected image into an HVC inspected image; the HVC inspected image; and the HVC inspected image. An image inspection apparatus comprising: a collation inspection unit that collates with an HVC reference image.
【請求項2】請求項1において、 前記表色系変換部が、これにより得られる前記HVC被
検査画像のうち、明度成分V以外の成分の解像度が、該
明度成分Vの解像度に比べ低くされたものであることを
特徴とする画像検査装置。
2. The resolution of a component other than the lightness component V in the HVC inspected image obtained by the colorimetric system conversion unit is set lower than the resolution of the lightness component V in the colorimetric system conversion unit. An image inspection device characterized in that
JP25652992A 1992-09-25 1992-09-25 Image inspection equipment Expired - Fee Related JP3278207B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25652992A JP3278207B2 (en) 1992-09-25 1992-09-25 Image inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25652992A JP3278207B2 (en) 1992-09-25 1992-09-25 Image inspection equipment

Publications (2)

Publication Number Publication Date
JPH06109653A true JPH06109653A (en) 1994-04-22
JP3278207B2 JP3278207B2 (en) 2002-04-30

Family

ID=17293896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25652992A Expired - Fee Related JP3278207B2 (en) 1992-09-25 1992-09-25 Image inspection equipment

Country Status (1)

Country Link
JP (1) JP3278207B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008080733A (en) * 2006-09-28 2008-04-10 Toshiba Corp Image processor and image processing method
JP2009090456A (en) * 2007-09-19 2009-04-30 Komori Corp Band type body cutting position control device and band type body cutting position control method
JP2009090656A (en) * 2007-09-19 2009-04-30 Komori Corp Device for controlling cut position of belt-like body and method therefor
WO2010029932A1 (en) * 2008-09-09 2010-03-18 株式会社メガトレード Visual examination apparatus
CN102729646A (en) * 2011-03-29 2012-10-17 株式会社宫腰 Duplex printing apparatus
JP2012200976A (en) * 2011-03-25 2012-10-22 Miyakoshi Printing Machinery Co Ltd Digital printing method and apparatus therefor
CN117249904A (en) * 2023-11-15 2023-12-19 深圳市宗匠科技有限公司 Calibration method and device of color sensor, cosmetic mask and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008080733A (en) * 2006-09-28 2008-04-10 Toshiba Corp Image processor and image processing method
JP2009090456A (en) * 2007-09-19 2009-04-30 Komori Corp Band type body cutting position control device and band type body cutting position control method
JP2009090656A (en) * 2007-09-19 2009-04-30 Komori Corp Device for controlling cut position of belt-like body and method therefor
JP2014012406A (en) * 2007-09-19 2014-01-23 Komori Corp Device for controlling cut position of belt-like body and method for controlling cut position of belt-like body
WO2010029932A1 (en) * 2008-09-09 2010-03-18 株式会社メガトレード Visual examination apparatus
JP5084911B2 (en) * 2008-09-09 2012-11-28 株式会社メガトレード Appearance inspection device
JP2012200976A (en) * 2011-03-25 2012-10-22 Miyakoshi Printing Machinery Co Ltd Digital printing method and apparatus therefor
CN102729646A (en) * 2011-03-29 2012-10-17 株式会社宫腰 Duplex printing apparatus
CN102729646B (en) * 2011-03-29 2015-09-02 株式会社宫腰 Double-side printer
CN117249904A (en) * 2023-11-15 2023-12-19 深圳市宗匠科技有限公司 Calibration method and device of color sensor, cosmetic mask and storage medium
CN117249904B (en) * 2023-11-15 2024-02-13 深圳市宗匠科技有限公司 Calibration method and device of color sensor, cosmetic mask and storage medium

Also Published As

Publication number Publication date
JP3278207B2 (en) 2002-04-30

Similar Documents

Publication Publication Date Title
JP3399486B2 (en) Color image processing apparatus and method
JPH0957201A (en) Specific color region extracting system and specific color region removing system
JP2001128013A (en) Processing method for color picture
JP3278207B2 (en) Image inspection equipment
US7570788B2 (en) Printed paper inspecting method and apparatus
JP2598217B2 (en) Method for assigning an index indicating chromatic or achromatic color to a pixel displayed by a color reproduction system, and a color reproduction system for implementing the method
US6972866B1 (en) Detecting process neutral colors
JP3204876B2 (en) Print inspection equipment
JP3433331B2 (en) Image inspection method and apparatus
JP2848558B2 (en) Color image processing equipment
JP3374297B2 (en) Color image inspection method and color image inspection apparatus
JPH08290555A (en) Automatic evaluation method using optoelectronic equipment
JPH08323965A (en) Method and device for inspection of color image
JP3563797B2 (en) Image inspection method and apparatus
JP3017782B2 (en) Picture inspection system for printed materials
JPS5973758A (en) Method and apparatus for inspecting picture pattern of printed matter
JP2686258B2 (en) Image data processing device
JP4228515B2 (en) Image processing device
JPH0363886A (en) Image area deciding system
JP3150963B2 (en) Image processing method
JP2001129972A (en) Method and device for inspecting printed matter
US20040252343A1 (en) Image processing apparatus and image processing method
JP2618893B2 (en) Color image processing equipment
JPH0898047A (en) Color print processor
JP2862280B2 (en) Image processing apparatus and method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090215

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100215

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110215

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees