JP2621690B2 - Printing defect inspection equipment - Google Patents

Printing defect inspection equipment

Info

Publication number
JP2621690B2
JP2621690B2 JP3140908A JP14090891A JP2621690B2 JP 2621690 B2 JP2621690 B2 JP 2621690B2 JP 3140908 A JP3140908 A JP 3140908A JP 14090891 A JP14090891 A JP 14090891A JP 2621690 B2 JP2621690 B2 JP 2621690B2
Authority
JP
Japan
Prior art keywords
image
density
window
pattern
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP3140908A
Other languages
Japanese (ja)
Other versions
JPH04339653A (en
Inventor
清 吉沢
紀昭 平岩
達也 田中
伸之 小嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nireco Corp
Original Assignee
Nireco Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nireco Corp filed Critical Nireco Corp
Priority to JP3140908A priority Critical patent/JP2621690B2/en
Publication of JPH04339653A publication Critical patent/JPH04339653A/en
Application granted granted Critical
Publication of JP2621690B2 publication Critical patent/JP2621690B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、一定の周期をもって繰
り返すシートまたは帯状物体表面の印刷絵柄の欠陥を検
査する装置に係わり、特にカラー印刷物に発生する種々
の色インキによる汚れを検査する場合の印刷欠陥検査装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for inspecting a printed pattern on a surface of a sheet or a band-shaped object which is repeated at a predetermined cycle, and particularly to an apparatus for inspecting stains caused by various colored inks on a color printed matter. The present invention relates to a printing defect inspection device.

【0002】[0002]

【従来の技術】このようなシート又は帯状の印刷物体の
欠陥の検査方法につき説明する。その1つの方法は、印
刷物体の走行方向と直角の向きに並べられた、印刷物体
の蛇行量に比べ比較的大きな面積を有するフォトセンサ
を用いて、印刷物絵柄を撮像し、各フォトセンサの信号
をメモリに記憶しておく。印刷物体の蛇行により各フォ
ンセンサの受ける信号の変化分を見越して汚れ(欠陥)
検出の許容範囲を設定しておき許容範囲を越えると警報
を出力していた。
2. Description of the Related Art A method of inspecting a sheet or a strip of a printed object for defects will be described. One method is to use a photosensor arranged in a direction perpendicular to the running direction of the print object and having a relatively large area compared to the meandering amount of the print object to image a print pattern and to output a signal from each photosensor. Is stored in the memory. Dirt (defect) in anticipation of the change in the signal received by each phone sensor due to meandering of the printed object
An allowable range for detection was set, and an alarm was output when the allowable range was exceeded.

【0003】図10はこの許容範囲を設定する場合の説明
図で、印刷物体の蛇行により絵柄がAからBにずれると
フォトセンサの各要素iとjの受光量が変わるため、各
要素i,jの出力が変化する。このように印刷物に欠陥
がなくても蛇行により出力が変化するので、この蛇行に
よる変化幅よりも大きな値に許容範囲を設ける必要があ
る。
FIG. 10 is a diagram for explaining the setting of the allowable range. When the pattern shifts from A to B due to the meandering of the printing object, the light receiving amounts of the elements i and j of the photo sensor change. The output of j changes. As described above, even if there is no defect in the printed matter, the output changes due to meandering. Therefore, it is necessary to provide an allowable range with a value larger than the change width due to meandering.

【0004】また、他の方法は、標準印刷絵柄の輪郭を
微分等の手段により抽出し、2値化処理した後、蛇行量
に相当する量の太らせ処理をした画像をメモリに記憶し
ておく。検査対象絵柄も同様に微分等により輪郭を抽出
し、2値化処理し、この画像と上記メモリに記憶された
画像を比較する。メモリに記憶された画像の画素のない
位置に検査対象絵柄の2値化画像が表れた場合、汚れと
して警報を出力する。
In another method, an outline of a standard print pattern is extracted by means of differentiation or the like, binarized, and an image subjected to a fattening process corresponding to a meandering amount is stored in a memory. deep. Similarly, the pattern to be inspected is extracted by differentiation or the like, binarized, and this image is compared with the image stored in the memory. When a binarized image of the picture to be inspected appears at a position where there is no pixel in the image stored in the memory, an alarm is output as dirt.

【0005】図11はこの輪郭2値化画像による汚れ検出
方法を説明する図であり、Aは輪郭を示し、斜線で示す
Bの範囲が太らせ処理した範囲を示す。検査対象絵柄の
輪郭を2値化した画像の画素(xで示す)が斜線内にあ
るときは汚れと判定せず、それ以外の場所に生じた場合
汚れと判定する。
FIG. 11 is a diagram for explaining a method of detecting dirt using the binarized outline image. A indicates the outline, and a range B indicated by oblique lines indicates a range where the processing is made thicker. When the pixel (indicated by x) of the image obtained by binarizing the contour of the inspection target pattern is within the oblique line, it is not determined that the pixel is dirty.

【0006】[0006]

【発明が解決しようとする課題】印刷汚れには微小な粒
子状のインキ飛び、あるいはグラビア印刷機のドクタ線
のような印刷物の幅方向には狭く走行方向に長い線状の
汚れがあり、単位画素面積の大きな受光素子では微小な
汚れ濃度が周囲の反射濃度と平均化されて検出が困難に
なる。また印刷物の蛇行による読み取り位置のずれによ
って検出感度はさらに低下する。
The printing stains include minute particulate ink splashes or linear stains such as doctor lines of a gravure printing machine which are narrow in the width direction of the printed matter and long in the running direction. In a light receiving element having a large pixel area, the minute dirt density is averaged with the surrounding reflection density, making detection difficult. In addition, the detection sensitivity further decreases due to the shift of the reading position due to the meandering of the printed matter.

【0007】図12は単位画素面積の大きな受光素子を示
した図で、Eは受光素子を示し、D,Hがその幅と高さ
を示す。dは左又は右への蛇行量を示す。受光素子の幅
Dは蛇行量dの最大値より大きい必要がある。Dを大き
くするに従ってHも大きくなり、面積D・Hの大きな受
光素子となる。
FIG. 12 is a diagram showing a light receiving element having a large unit pixel area. E indicates a light receiving element, and D and H indicate its width and height. d indicates the amount of meandering to the left or right. The width D of the light receiving element needs to be larger than the maximum value of the meandering amount d. As D increases, H also increases, resulting in a light receiving element having a large area D · H.

【0008】また、印刷地の汚れのように比較的広い面
積に低い濃度で汚れが付着する場合がある。低い濃度を
有する汚れ画像の輪郭を微分処理等の手段によって検出
する場合、汚れ画像以外の領域でノイズが誤って検出さ
れる場合が多い。これは微分処理は濃度の変化率が大き
いときは、大きな値となるが、一様に低い濃度の汚れの
時は、小さな値しか出力されず、小さな値を基準値とし
て設定すると、汚れ以外の部分のノイズが汚れとして、
誤検出される場合が多くなるためである。
[0008] Further, there is a case where stains with a low density adhere to a relatively large area such as stains on a printing ground. When detecting the outline of a stain image having a low density by means such as differentiation processing, noise is often erroneously detected in a region other than the stain image. This means that the differential processing has a large value when the rate of change of density is large, but when the density is uniformly low, only a small value is output. As the noise of the part becomes dirty,
This is because erroneous detection increases.

【0009】また、カラー印刷物上に発生する汚れは種
々の色調を帯びており、可視領域全域に分光感度を有す
る受光素子では検出感度が不十分であった。
In addition, stains generated on color prints have various color tones, and a light-receiving element having a spectral sensitivity over the entire visible region has insufficient detection sensitivity.

【0010】図13において(a)は可視領域全域に一様
な分光特性を有する素子の検出感度を示し、(b)は青
(B)、緑(G)、赤(R)それぞれの領域のみ分光特
性を有する素子の検出感度を説明する図である。例え
ば、青緑(シアン)色を受光したとき可視領域全域に一
様な分光特性を有する素子の場合、(a)に示すように
検出信号の白色に対する変化量は斜線のない面積に当た
り30%の変化が生じる。つまり斜線で示す70%には変化
は生じない。これに対し、(b)に示すようにB,G,
Rそれぞれの素子では白色に対して次のような変化が生
じる。 Bの素子 0% Gの素子 0% Rの素子 100 % つまり青緑の補色となるR素子は100 %検出するが、他
のB,G素子は検出しない。つまりR素子は(a)の可
視領域全域に一様な分光特性を有する素子の3倍の検出
感度を有する。
FIG. 13A shows the detection sensitivity of an element having uniform spectral characteristics over the entire visible region, and FIG. 13B shows only the blue (B), green (G), and red (R) regions. FIG. 4 is a diagram illustrating detection sensitivity of an element having spectral characteristics. For example, in the case of an element having uniform spectral characteristics over the entire visible region when receiving blue-green (cyan) color, the amount of change in the detection signal with respect to white as shown in FIG. Changes occur. In other words, there is no change in 70% indicated by oblique lines. On the other hand, as shown in FIG.
The following changes occur with respect to white in each of the R elements. B element 0% G element 0% R element 100%, that is, 100% of the R element that is a complementary color of blue-green is detected, but the other B and G elements are not detected. That is, the R element has three times the detection sensitivity of the element having uniform spectral characteristics over the entire visible region of (a).

【0011】本発明は、上述の問題点に鑑みてなされた
もので、印刷汚れを局部的な汚れと全体的に広く薄く広
がった広域汚れに区分して検出する印刷欠陥検査装置を
提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and provides a print defect inspection apparatus which detects print stains by classifying them into local stains and wide-area stains which are wide and thin widely. With the goal.

【0012】[0012]

【0013】[0013]

【課題を解決するための手段】 図2は、請求項1の発明
原理図である。同図において、1は同一絵柄を印刷し
た走行する帯状体の印刷絵柄を入力する撮像部、2はこ
の撮像部1の出力より絵柄画像を生成する画像生成部、
3はこの絵柄画像濃度を微分オペレータによる空間フィ
ルタ処理をし、2値化処理した後太らせ処理を行って濃
度境界画像を作成するマスク領域作成部、8は画像生成
部の出力する絵柄画像を格納するメモリ、9はこのメモ
リ8に格納された絵柄画像より、前記濃度境界画像の画
素が存在しない領域にウィンドウを設定するウィンドウ
設定部、10はこの設定されたウィンドウ領域内の絵柄画
像を前記画像生成部2より入力しウィンドウ内標準絵柄
の濃度の平均値を生成するウィンドウ内標準値絵柄生成
部、11は前記設定されたウィンドウ領域内の絵柄画像を
前記画像生成部2より入力し、ウィンドウ内検査絵柄の
濃度の平均値を生成するウィンドウ内検査絵柄生成部、
12は濃度差の基準値を設定する基準値設定部、13は前記
ウィンドウ内標準絵柄の濃度の平均値と前記ウィンドウ
内検査絵柄の濃度の平均値の濃度差が前記基準値を越え
た場合、広域欠陥信号を出力する広域欠陥判定部であ
る。
FIG . 2 is a block diagram of the first embodiment of the present invention.
It illustrates the principle of a. In FIG. 1, reference numeral 1 denotes an image pickup unit for inputting a printed pattern of a running belt on which the same pattern is printed, 2 an image generation unit for generating a pattern image from an output of the image pickup unit 1,
Reference numeral 3 denotes a mask area creating unit for creating a density boundary image by subjecting the picture image density to a spatial filtering process by a differential operator, binarizing the picture image, and then performing a fattening process. Reference numeral 8 denotes a picture image output from the image generating unit. A storage memory 9 is a window setting unit for setting a window in a region where no pixel of the density boundary image is present from the picture image stored in the memory 8, and a window setting unit 10 is for setting the picture image in the set window area to the above-mentioned. An in-window standard value pattern generation unit for inputting from the image generation unit 2 and generating an average value of the density of the in-window standard pattern, an input unit 11 inputs a pattern image in the set window area from the image generation unit 2 and In-window inspection pattern generation unit that generates an average value of the density of the inspection pattern in the window,
12 is a reference value setting unit that sets a reference value of the density difference, 13 is a case where the density difference between the average value of the density of the standard pattern in the window and the average value of the density of the inspection pattern in the window exceeds the reference value, This is a wide area defect determination unit that outputs a wide area defect signal.

【0014】[0014]

【0015】また、前記撮像部1の受光素子にカラーイ
メージセンサを用い、赤、青、緑に色分解して以降の処
理を行う。
Further, a color image sensor is used as a light receiving element of the image pickup unit 1 to separate the color into red, blue, and green, and the subsequent processing is performed.

【0016】[0016]

【作用】標準絵柄画像を撮像部1で撮像した1次元画像
を画像生成部2により2次元画像とし、マスク領域作成
部3で微分処理と2値化処理により輪郭を抽出し、この
輪郭に印刷体の蛇行する量に相当する太らせ処理をす
る。この太らせ処理された領域内には絵柄が存在する可
能性がある。
A one-dimensional image obtained by capturing the standard picture image by the image capturing unit 1 is converted into a two-dimensional image by the image generating unit 2, and the contour is extracted by the differentiation process and the binarizing process by the mask area generating unit 3, and is printed on the contour. A fattening process corresponding to the amount of meandering of the body is performed. There is a possibility that a picture is present in the area subjected to the fattening processing.

【0017】また、ウィンドウ設定部9により、濃度境
界画像の画素が存在しない、つまりマスク以外の領域に
ウィンドウを設定する。標準絵柄画像のウィンドウ内の
平均濃度と検査絵柄画像のウィンドウ内の平均濃度との
差を比較し、基準値以上であれば、このウィンドウ内の
検査絵柄は全体的に汚れていると判定する。これによ
り、印刷地の汚れのような比較的広い面積に低い濃度で
汚れが付着している広域欠陥の検出が可能となる。マス
ク以外にウィンドウを設定しているので印刷体の蛇行に
よる影響は排除される。
The window setting section 9 sets a window in a region where no pixel of the density boundary image exists, that is, in a region other than the mask. The difference between the average density in the window of the standard picture image and the average density in the window of the test picture image is compared. If the difference is equal to or more than the reference value, it is determined that the test picture in this window is entirely dirty. As a result, it is possible to detect a wide-area defect such as a stain on a printing ground, in which a relatively large area is stained with low density. Since the window is set other than the mask, the influence of the meandering of the print is eliminated.

【0018】[0018]

【0019】また、カラーセンサで赤、青、緑に色分解
して検査することにより、可視領域全域に分光感度を有
する受光素子の場合よりも検出感度が最大3倍に向上す
る。
Further, by performing color separation into red, blue, and green with a color sensor for inspection, the detection sensitivity is improved up to three times at the maximum as compared with the case of a light receiving element having spectral sensitivity over the entire visible region.

【0020】[0020]

【実施例】以下、本発明の実施例を図面を参照して説明
する。図4は本実施例の印刷欠陥検査装置を含む全体装
置を示す図である。印刷ユニット20で同一絵柄を印刷さ
れた帯状の印刷物21はロール22を介して流れてゆく。検
査対象区間の一方のロール22の印刷物21の上方にはマー
クセンサ23が設けられ、印刷物21の余白に刷られた同期
用マーク、あるいはカラーコントロール用のレジスタマ
ークを読み取り、その信号を印刷物21の繰り返し絵柄の
同期に使用する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 4 is a diagram illustrating an entire apparatus including the print defect inspection apparatus according to the present embodiment. The strip-shaped printed matter 21 on which the same pattern is printed by the printing unit 20 flows through the roll 22. A mark sensor 23 is provided above the printed material 21 on one of the rolls 22 in the inspection target section, reads a synchronization mark or a color control register mark printed in the margin of the printed material 21, and reads the signal of the printed mark 21. Used for synchronizing repeated pictures.

【0021】また、検査対象区間の他方のロール22′上
にはロータリエンコーダ24が設けられ、印刷物21が所定
長さ走行する毎にパルス信号を発生する。照明は2つあ
り、印刷物21がフィルムのような透明な場合は、透過光
源25からオプティカル・ライトガイド26と拡散板27を通
して印刷物21に照明光を導く。拡散板27は透過照明の照
明むらを防止する。印刷物21が紙のように不透明な場合
は、反射光源28からオプティカル・ライトガイド29を通
り印刷物21に照明を導く。CCDカラーラインセンサカ
メラ30は照明により照射された印刷物21の絵柄をロータ
リーエンコーダ24の発生するパルス信号に同期して画素
データを1ライン分(1走査線分)読み込む。図1は局
部欠陥を検出する原理図である。同図において、1は同
一絵柄を印刷した走行する帯状体の印刷絵柄を入力する
撮像部、2はこの撮像部1の出力より絵柄画像を生成す
る画像生成部、3はこの絵柄画像濃度を微分オペレータ
による空間フィルタ処理をし、2値化処理した後太らせ
処理を行って濃度境界画像を作成するマスク領域作成
部、4は前記画像生成部2が標準絵柄より生成した標準
絵柄画像を格納する標準絵柄メモリ、5は濃度差の基準
値を設定する基準値設定部、6は前記画像生成部2が検
査対象絵柄より生成した検査対象絵柄画像と前記標準絵
柄画像を比較しその濃度差が前記基準値を越えているか
判定する比較部、7は前記検査対象絵柄画像の画素のう
ち前記基準値を超えた画素が前記濃度境界画像の画素が
存在しない領域にある場合欠陥と判断し局部欠陥信号を
出力する局部欠陥判定部である。
A rotary encoder 24 is provided on the other roll 22 'in the section to be inspected, and generates a pulse signal every time the printed material 21 travels a predetermined length. There are two illuminations. When the printed matter 21 is transparent such as a film, the illumination light is guided from the transmitted light source 25 to the printed matter 21 through the optical light guide 26 and the diffusion plate 27. The diffusion plate 27 prevents illumination unevenness of the transmitted illumination. When the printed matter 21 is opaque like paper, illumination is guided from the reflected light source 28 to the printed matter 21 through the optical light guide 29. The CCD color line sensor camera 30 reads pixel data of one line (one scanning line) in synchronization with the pulse signal generated by the rotary encoder 24 from the picture of the printed matter 21 illuminated by the illumination. Figure 1 is a station
It is a principle figure which detects a part defect. In the figure, 1 is the same
Enter the print pattern of the running belt that printed one pattern
The imaging unit 2 generates a picture image from the output of the imaging unit 1.
The image generation unit 3 is a differential operator for calculating the pattern image density.
And then thickening after binarization
Create mask area to create density boundary image by processing
And 4, the standard generated by the image generating unit 2 from the standard pattern.
Standard picture memory for storing picture images, 5 for density difference
A reference value setting unit 6 for setting a value is detected by the image generation unit 2.
Inspection target picture image generated from the inspection target picture and the standard picture
Compare pattern images and check if the density difference exceeds the reference value
The comparing unit 7 for determination determines the pixel size of the picture image to be inspected.
Pixels exceeding the reference value are pixels of the density boundary image.
If it is in an area that does not exist, it is determined to be defective and a local defect signal is generated.
This is a local defect determination unit that outputs.

【0022】図5は第1実施例の印刷欠陥検査装置のブ
ロック図を示す。本実施例はCCDカラーラインセンサ
カメラ30から入力されるR(赤)、G(緑)、B(青)
の絵柄信号をR処理モジュール、G処理モジュール、B
処理モジュールで処理する。各モジュールは同じ構成で
あるのでR処理モジュールについて詳細構成を示し、説
明する。
FIG. 5 is a block diagram of a print defect inspection apparatus according to the first embodiment. In this embodiment, R (red), G (green), B (blue) input from the CCD color line sensor camera 30
Processing signal, R processing module, G processing module, B
Process in the processing module. Since each module has the same configuration, a detailed configuration of the R processing module will be shown and described.

【0023】図5において、絵柄信号は光量としてCC
Dカラーラインセンサカメラ30から入力し、R処理モジ
ュール、G処理モジュール、B処理モジュールに入り、
絵柄信号の光量が対数変換器31で対数変換される。これ
は濃度階調に対して出力を線形にするようにし、以降の
処理を容易にするためである。次に走査変換器32では、
図4で説明したマークセンサ信号、およびロータリエン
コーダ信号を入力し、印刷物の速度の変動により生じる
走行方向の絵柄読取周期の変動を押さえて、検査処理に
都合のよい一定周期を有する絵柄信号に変換する。CR
Tコントローラ33はこのための周期信号、画像メモリ用
アドレス信号を発生する。
In FIG. 5, the picture signal is CC as light quantity.
Input from the D color line sensor camera 30, enter the R processing module, G processing module, B processing module,
The light amount of the picture signal is logarithmically converted by the logarithmic converter 31. This is to make the output linear with respect to the density gradation and facilitate the subsequent processing. Next, in the scan converter 32,
The mark sensor signal and the rotary encoder signal described with reference to FIG. 4 are input, and the fluctuation of the pattern reading cycle in the running direction caused by the fluctuation of the speed of the printed material is suppressed, and the pattern signal is converted into a pattern signal having a certain period convenient for the inspection processing. I do. CR
The T controller 33 generates a periodic signal and an image memory address signal for this purpose.

【0024】走査変換後の絵柄信号は標準絵柄メモリ34
に記憶されると同時に、微分オペレータによる空間フィ
ルタ処理35、2値化処理36、太らせ処理37を行い濃度境
界画像を作成し2値メモリ38に格納される。
The picture signal after the scan conversion is stored in a standard picture memory 34.
At the same time, a spatial filter process 35, a binarization process 36, and a fattening process 37 are performed by the differential operator to create a density boundary image, and the image is stored in the binary memory 38.

【0025】CCDカラーラインセンサカメラ30から続
いて読み込まれる検査絵柄信号39は上記と同様に対数変
換31、走査変換32後、1画素毎に標準絵柄メモリ34の記
憶画像と差分検出器40により濃度差をとり、これを許容
値である設定個別許容値41と比較器42で大小比較を行
い、設定個別許容値41を越えた場合、比較結果Pを出力
する。比較結果Pは2値メモリ38の反転信号とアンドゲ
ート43で論理積をとり、濃度境界画素との重なりをチェ
ックし、重ならない場合検出信号Pを出力する。
The inspection picture signal 39 subsequently read from the CCD color line sensor camera 30 is subjected to a logarithmic conversion 31 and a scan conversion 32 in the same manner as described above, and stored in the standard picture memory 34 for each pixel and the density detected by the difference detector 40. The difference is taken, and this is compared with the set individual allowable value 41, which is an allowable value, by the comparator 42. When the difference exceeds the set individual allowable value 41, the comparison result P is output. The comparison result P is ANDed with the inverted signal of the binary memory 38 by the AND gate 43 to check the overlap with the density boundary pixel, and outputs the detection signal P when it does not overlap.

【0026】一方走査変換の標準絵柄信号はCPU44か
らのメモリ画像の更新信号により絵柄メモリ45に取り込
まれる。絵柄メモリ45の内容はD/A変換器46によりア
ナログビデオ信号に変換される。
On the other hand, the standard picture signal of the scan conversion is taken into the picture memory 45 by a memory image update signal from the CPU 44. The contents of the picture memory 45 are converted by a D / A converter 46 into analog video signals.

【0027】ウィンドウおよびウィンドウの位置はCR
Tコントローラ33が発生する水平・垂直同期信号および
画像アドレス信号からウィンドウ位置設定器47、ウィン
ドウ発生器48によって作成され、絵柄メモリ45の画像読
み出しタイミングに同期している。ウィンドウ信号はD
/A変換器46からのアナログビデオ信号と混合器49で混
合され、CRTディスプレイ50に表示される。CRTデ
ィスプレイ50に映った絵柄画像の濃度変化の少ない領域
を選んでウィンドウ位置を設定する。
The window and the position of the window are CR
It is created by the window position setting unit 47 and the window generator 48 from the horizontal / vertical synchronization signal and the image address signal generated by the T controller 33, and is synchronized with the image reading timing of the picture memory 45. The window signal is D
The analog video signal from the A / A converter 46 is mixed with the analog video signal by the mixer 49 and displayed on the CRT display 50. A window position is set by selecting an area of the pattern image reflected on the CRT display 50 where the density change is small.

【0028】CPU44はウィンドウ位置をウィンドウ位
置設定器47から読み取ると、絵柄メモリ45で、ウィンド
ウ位置のウィンドウを構成するM画素×N画素の濃度デ
ータを読み取り、この平均濃度値をCPU44の内部メモ
リに格納する。
When the CPU 44 reads the window position from the window position setting device 47, the picture memory 45 reads the density data of M pixels × N pixels constituting the window at the window position, and stores the average density value in the internal memory of the CPU 44. Store.

【0029】図6はCRTディスプレイ上に表示された
M×N画素のウィンドウを示す。ウィンドウは通常複数
個設けられる。全ウィンドウについて、同様に標準絵柄
の平均濃度値を求め、CPU44の内部メモリに格納する
と絵柄メモリ45に対してCPU44より更新信号を出力し
て、次ぎにくる走査変換後の検査絵柄信号を絵柄メモリ
45に取り込む。
FIG. 6 shows a window of M × N pixels displayed on a CRT display. Usually, a plurality of windows are provided. Similarly, the average density value of the standard pattern is obtained for all windows, and when the average density value is stored in the internal memory of the CPU 44, an update signal is output from the CPU 44 to the pattern memory 45, and the next inspection pattern signal after scan conversion is stored in the pattern memory.
Take in at 45.

【0030】CPU44は絵柄メモリ45からウィンドウ領
域のM×N画素の濃度データを読み取り、平均濃度値を
求め、CPU44の内部メモリに格納されていた標準絵柄
のウィンドウ内の画素の平均濃度値との濃度差を算出
し、その濃度差が設定平均許容値51よりも大きい場合に
汚れ信号を発生する。
The CPU 44 reads the density data of M × N pixels in the window area from the picture memory 45, finds an average density value, and compares the average density value with the average density value of the pixels in the standard picture window stored in the internal memory of the CPU 44. A density difference is calculated, and when the density difference is larger than the set average allowable value 51, a stain signal is generated.

【0031】汚れ信号とアンドゲート43よりの検出信号
Pとはオアゲート52で論理和をとり、さらにオアゲート
53でG処理モジュール、B処理モジュールのそれぞれの
出力との論理和をとり、その結果を警報信号器54より汚
れ警報信号として出力する。
The OR signal of the dirt signal and the detection signal P from the AND gate 43 is calculated by an OR gate 52.
At 53, the logical sum of the output of each of the G processing module and the B processing module is calculated, and the result is output from the alarm signal unit 54 as a dirt alarm signal.

【0032】次に第2実施例を説明する。第2実施例
は、第1実施例におけるウィンドウ処理に代え自動的に
小領域を設定して広域欠陥を検出するものである。図3
は自動的に小領域設定し広域欠陥を検出する原理図であ
る。同図において、1は同一絵柄を印刷した走行する帯
状体の印刷絵柄を入力する撮像部、2はこの撮像部1の
出力より絵柄画像を生成する画像生成部、3はこの絵柄
画像濃度を微分オペレータによる空間フィルタ処理し、
2値化処理した後、太らせ処理を行って濃度境界画像を
作成するマスク領域作成部、14は前記画像生成部2が生
成する絵柄画像を複数の測定領域に分割し、各測定領域
の濃度の平均値を算出する領域平均生成部、15は標準絵
柄画像に対して前記領域平均生成部14が算出した各測定
領域の濃度の平均値を格納するメモリ、16は前記マスク
領域作成部3の作成した濃度境界画像を前記測定領域と
同じ区画に分割するマスク領域分割部、12は濃度差の基
準値を設定する基準値設定部、13は前記領域平均生成部
14で生成する検査対象絵柄画像の前記測定領域の濃度平
均値と、前記メモリ15に格納された標準絵柄画像の対応
する測定領域の濃度平均値とを比較し、その濃度差が前
記基準値設定部12の基準値を越えている場合で、前記マ
スク領域分割部16で生成した対応する前記マスク領域内
に前記濃度境界画像を構成する画素が含まれていないと
き広域欠陥信号を出力する広域欠陥判定部である。図7
は第2実施例の構成を示すブロック図であり、第5図と
同一符号の部品は同一機能を有する。
Next, a second embodiment will be described. In the second embodiment, a small area is automatically set instead of the window processing in the first embodiment to detect a wide area defect. FIG.
Is a principle diagram for automatically setting a small area and detecting a wide area defect.
You. In the figure, 1 is a running belt on which the same pattern is printed.
An imaging unit 2 for inputting a print pattern of a body is designated by 2
An image generation unit that generates a pattern image from the output, 3 is this pattern
The image density is spatially filtered by the differential operator,
After the binarization process, the thickening process is performed to obtain the density boundary image.
A mask area creation unit to be created is generated by the image generation unit 2.
The pattern image to be formed is divided into a plurality of measurement areas, and each measurement area
Area average generation unit that calculates the average value of the density of
Each measurement calculated by the area average generation unit 14 for the pattern image
A memory for storing the average value of the density of the region, 16 is the mask
The density boundary image created by the area creating unit 3 is referred to as the measurement area.
The mask area dividing part, which divides the mask into the same sections,
A reference value setting unit for setting a reference value;
The density flat of the measurement area of the inspection target picture image generated in 14
Correspondence between the average value and the standard picture image stored in the memory 15
The average value of the density of the measurement area to be measured.
If the value exceeds the reference value of the reference value setting section 12,
In the corresponding mask area generated by the mask area dividing unit 16
Does not include the pixels constituting the density boundary image
This is a wide area defect determination unit that outputs a wide area defect signal. FIG.
FIG. 9 is a block diagram showing the configuration of the second embodiment, in which components denoted by the same reference numerals as in FIG. 5 have the same functions.

【0033】以下、本実施例の説明は第1実施例と相違
する点について行う。走査変換器32で走査変換された絵
柄信号は領域平均処理器55によりM画素×N画素の面積
を有する小領域に分割され、各小領域内でM×N画素の
濃度平均値を求めて標準絵柄メモリ56に格納される。
Hereinafter, the description of the present embodiment will be made on points different from the first embodiment. The picture signal scanned and converted by the scan converter 32 is divided by the area averaging processor 55 into small areas having an area of M pixels × N pixels, and a density average value of M × N pixels is obtained in each small area to obtain a standard value. It is stored in the picture memory 56.

【0034】図8は5画素×5画素の領域平均処理器55
の構成例を示す図である。走査変換後の絵柄信号はビデ
オ信号に類似したシリアル信号で5画素×5画素平均処
理回路550 に入ると同時に、1ライン分の記憶容量を有
するラインメモリM1に順次記憶される。これと同期し
てラインメモリM1〜M4の記憶内容が順次読み出され
5×5画素平均処理回路550 に入ると、パイプラインに
より25画素の平均処理結果が順次出力される。出力デー
タは5ライン目および5画素目毎に発生されるストロー
ブ信号によりラッチされ標準絵柄メモリ56に記憶され
る。なお、ストローブ信号を1ライン1画素ごとに出し
て5×5画素の平均処理データを1画素ごとに出力して
もよい。
FIG. 8 shows an area averaging processor 55 of 5 × 5 pixels.
FIG. 3 is a diagram showing an example of the configuration of FIG. The picture signal after the scan conversion enters a 5 pixel × 5 pixel averaging circuit 550 as a serial signal similar to a video signal and is sequentially stored in a line memory M1 having a storage capacity for one line. In synchronization with this, the stored contents of the line memories M1 to M4 are sequentially read out and entered into the 5 × 5 pixel averaging circuit 550, where the averaging results of 25 pixels are sequentially output by the pipeline. The output data is latched by a strobe signal generated every fifth line and every fifth pixel and stored in the standard picture memory 56. The strobe signal is output for each pixel per line.
Output 5x5 pixel averaged data for each pixel
Is also good.

【0035】CCDカラーラインセンサカメラ30から続
いて読み込まれる検査絵柄信号は標準絵柄の場合と同様
に、対数変換31、走査変換32、1画素毎に標準絵柄メモ
リ34の記憶画像と濃度を比較して差分検出40され、設定
個別許容値41と大小の比較42がされ、比較結果は2値メ
モリ38の反転信号との論理積をアンドケード61でとり、
濃度境界画素と重ならない場合は、論理積結果を検出信
号Pとして出力する。
The inspection pattern signal subsequently read from the CCD color line sensor camera 30 compares the density with the image stored in the standard pattern memory 34 for each pixel in the logarithmic conversion 31, the scanning conversion 32, and the pixel as in the case of the standard pattern. The difference is detected 40, the set individual allowable value 41 is compared with the magnitude 42, and the comparison result is ANDed with the inverted signal of the binary memory 38 by ANDC 61,
If the pixel does not overlap with the density boundary pixel, the result of the logical product is output as the detection signal P.

【0036】また、これと同時に検査絵柄信号は領域平
均処理55を経て検査絵柄の小領域の濃度平均値57を生成
して、標準絵柄メモリ56に記憶されている標準絵柄の対
応する小領域濃度平均値との差分検出58を行い、設定平
均許容値59と大小の比較60が行われ、この設定許容値59
を越えた場合は比較結果Qを出力する。
At the same time, the inspection picture signal undergoes an area averaging process 55 to generate an average density value 57 of a small area of the inspection picture.
Then , a difference detection 58 with the corresponding small area density average value of the standard pattern stored in the standard pattern memory 56 is performed, and a comparison 60 of the set average allowable value 59 and the size is performed.
Is exceeded, the comparison result Q is output.

【0037】2値メモリ38に格納されている濃度境界画
像も領域平均処理器55で分割したと同一の小領域分割処
理が領域分割処理器62で行われ、各々の小領域内に濃度
境界画素が存在するとき、その小領域M×N画素を全て
濃度境界画素として出力する。
The density boundary image stored in the binary memory 38 is also subjected to the same small area division processing as that of the area averaging processor 55 by the area division processor 62, and the density boundary image is stored in each small area. Is present, all the small area M × N pixels are output as density boundary pixels.

【0038】図9は5画素×5画素の領域分割処理器62
の構成例を示す図である。2値メモリ38の出力はビデオ
信号に類似したシリアル信号で5×5画素論理和回路62
0 に入ると同時に、1ライン分の記憶容量を有するライ
ンメモリR1に順次記憶される。これと同時にラインメ
モリR1〜R4の記憶内容が順次読み出され、5×5画
素論理和回路620 に入るとパイプラインにより25画素の
論理和結果が順次出力される。
FIG. 9 shows an area dividing processor 62 of 5 × 5 pixels.
FIG. 3 is a diagram showing an example of the configuration of FIG. The output of the binary memory 38 is a serial signal similar to a video signal and is a 5.times.5 pixel OR circuit 62.
At the same time, the data is sequentially stored in a line memory R1 having a storage capacity for one line. At the same time, the stored contents of the line memories R1 to R4 are sequentially read out, and when they enter the 5 × 5 pixel OR circuit 620, the OR result of 25 pixels is sequentially output by the pipeline.

【0039】出力データは5ライン目および5画素毎に
発生されるストローブ信号によりラッチされ、その反転
データと、前述した比較結果Qとの論理積をアンドゲー
ト63で求めて検出信号Qとする。また、このときアンド
ゲート63に入力する2つの信号の画素の位置を合わせる
ため、出力データをラッチするストローブの位相は図8
又は図9の5ライン目検出回路と5画素目検出回路によ
り調整される。なお、ストローブ信号を1ライン1画素
ごとに出して5×5画素の平均処理データを1画素ごと
に記憶してもよい。
The output data is latched by a strobe signal generated every fifth line and every fifth pixel, and a logical product of the inverted data and the comparison result Q is obtained by an AND gate 63 to obtain a detection signal Q. At this time, in order to match the positions of the pixels of the two signals input to the AND gate 63, the phase of the strobe for latching the output data is shown in FIG.
Alternatively, the adjustment is performed by the fifth line detection circuit and the fifth pixel detection circuit in FIG. Note that the strobe signal is applied to one pixel per line.
5x5 pixel average processing data for each pixel
May be stored.

【0040】アンドゲート61からの検出信号1とアンド
ゲート63からの検出信号Qとはオアゲート64で論理和を
とり、さらにG処理モジュール、B処理モジュールとの
論理和をアンドゲート65でとり、その結果を警報信号66
として出力する。
The detection signal 1 from the AND gate 61 and the detection signal Q from the AND gate 63 are ORed by the OR gate 64, and the OR of the G processing module and the B processing module is ORed by the AND gate 65. Warning signal 66
Output as

【0041】[0041]

【発明の効果】以上の説明から明らかなように、本発明
は、印刷物の蛇行による影響を排除するためマスクを設
け、このマスク以外の領域における汚れを検出するよう
にし、かつ汚れを画素単位で検出する局部欠陥検出と、
小領域を取り出してその領域内の濃度変化の小さい全体
的汚れを検出する広域欠陥検出を行うようにする。また
広域欠陥検出にはウィンドウを設けて領域を定める方法
と自動的に領域を設定する方法も実現した。
As is apparent from the above description, according to the present invention, a mask is provided in order to eliminate the influence of meandering of a printed matter, a stain in an area other than the mask is detected, and the stain is removed in pixel units. Local defect detection to detect,
A small area is taken out, and a wide area defect detection for detecting an overall stain having a small density change in the area is performed. For wide area defect detection, a method of setting an area by providing a window and a method of automatically setting an area have also been realized.

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

【図1】 局部欠陥を検出する原理図である。FIG. 1 is a principle diagram for detecting a local defect .

【図2】 請求項1の原理図である。FIG. 2 is a principle diagram according to claim 1 ;

【図3】 自動的に小領域を設定し広域欠陥を検出する
原理図である。
FIG. 3 is a principle diagram for automatically setting a small area and detecting a wide area defect .

【図4】本実施例を含む欠陥検出装置の全体構成図であ
る。
FIG. 4 is an overall configuration diagram of a defect detection apparatus including the present embodiment.

【図5】第1実施例の構成を示すブロック図である。FIG. 5 is a block diagram showing the configuration of the first embodiment.

【図6】ウィンドウの設定を説明する図である。FIG. 6 is a diagram illustrating window setting.

【図7】第2実施例の構成を示すブロック図である。FIG. 7 is a block diagram showing a configuration of a second embodiment.

【図8】領域平均処理器の具体例を示すブロック図であ
る。
FIG. 8 is a block diagram illustrating a specific example of an area averaging processor.

【図9】領域分割処理器の具体例を示すブロック図であ
る。
FIG. 9 is a block diagram showing a specific example of a region division processor.

【図10】印刷物の蛇行によるフォトセンサの許容範囲を
定める説明図である。
FIG. 10 is an explanatory diagram for determining an allowable range of the photosensor due to meandering of a printed matter.

【図11】マスクの説明図である。FIG. 11 is an explanatory diagram of a mask.

【図12】単位画素面積の大きな受光素子の説明図であ
る。
FIG. 12 is an explanatory diagram of a light receiving element having a large unit pixel area.

【図13】可視領域全域に一様な分光特性を有する素子と
赤、青、緑領域それぞれの分光特性を有する素子の比較
を説明する図である。
FIG. 13 is a diagram illustrating a comparison between an element having uniform spectral characteristics over the entire visible region and an element having spectral characteristics of red, blue, and green regions.

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

1 撮像部 2 画像生成部 3 マスク領域作成部 4 標準絵柄メモリ 5,12 基準値設定部 6 比較部 7 局部欠陥判定部 8,15 メモリ 9 ウィンドウ設定部 10 ウィンドウ内標準絵柄生成部 11 ウィンドウ内検査絵柄生成部 13 広域欠陥判定部 14 領域平均生成部 16 マスク領域分割部 DESCRIPTION OF SYMBOLS 1 Image pick-up part 2 Image generation part 3 Mask area creation part 4 Standard picture memory 5, 12 Reference value setting part 6 Comparison part 7 Local defect judgment part 8, 15 memory 9 Window setting part 10 Standard picture generation part in window 11 Inspection in window Picture generation unit 13 Wide area defect judgment unit 14 Area average generation unit 16 Mask area division unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小嶋 伸之 東京都八王子市石川町2951番地4 株式 会社ニレコ内 (56)参考文献 特開 昭61−153548(JP,A) ──────────────────────────────────────────────────続 き Continuation of front page (72) Inventor Nobuyuki Kojima 2951-4 Ishikawacho, Hachioji-shi, Tokyo Nireco Co., Ltd. (56) References JP-A-61-153548 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一絵柄を印刷した走行する帯状体の印
刷絵柄を入力する撮像部と、この撮像部の出力より絵柄
画像を生成する画像生成部と、この絵柄画像濃度を微分
オペレータによる空間フィルタ処理をし2値化処理した
後太らせ処理を行って濃度境界画像を作成するマスク領
域作成部と、画像生成部の出力する絵柄画像を格納する
メモリと、このメモリに格納された絵柄画像より前記濃
度境界画像の画素が存在しない領域にウィンドウを設定
するウィンドウ設定部と、この設定されたウィンドウ領
域内の絵柄画像を前記画像生成部より入力しウィンドウ
内標準絵柄の濃度の平均値を生成するウィンドウ内標準
絵柄生成部と、前記設定されたウィンドウ領域内の絵柄
画像を前記画像生成部より入力しウィンドウ内検査絵柄
の濃度の平均値を生成するウィンドウ内検査絵柄生成部
と、濃度差の基準値を設定する基準値設定部と、前記ウ
ィンドウ内標準絵柄の濃度の平均値と前記ウィンドウ内
検査絵柄の濃度の平均値の濃度差が前記基準値を越えた
場合広域欠陥信号を出力する広域欠陥判定部とを備えた
ことを特徴とする印刷欠陥検査装置。
1. An image pickup section for inputting a print pattern of a running belt on which the same pattern is printed, an image generation section for generating a pattern image from an output of the image pickup section, and a spatial filter by a differential operator for determining the density of the pattern image. A mask area creating unit that creates a density boundary image by performing a process, binarizing and then a fattening process, a memory that stores a pattern image output by the image generating unit, and a pattern image stored in the memory. A window setting unit for setting a window in an area where pixels of the density boundary image do not exist; and a picture image in the set window area is input from the image generation unit to generate an average value of density of a standard picture in the window. A standard image generation unit in a window, and a pattern image in the set window area is input from the image generation unit, and an average value of the density of the inspection pattern in the window is generated. An in-window inspection pattern generation unit, a reference value setting unit for setting a reference value of a density difference, and a density difference between the average value of the density of the standard pattern in the window and the average value of the density of the inspection pattern in the window. A print defect inspection device, comprising: a wide area defect determination unit that outputs a wide area defect signal when a reference value is exceeded.
【請求項2】 前記撮像部の受光素子にカラーイメージ
センサを用い、赤、青、緑に色分解して以降の処理を行
うことを特徴とする請求項1記載の印刷欠陥検査装置。
2. The print defect inspection apparatus according to claim 1, wherein a color image sensor is used as a light receiving element of the image pickup unit, and color separation into red, blue, and green is performed and subsequent processing is performed.
JP3140908A 1991-05-16 1991-05-16 Printing defect inspection equipment Expired - Lifetime JP2621690B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3140908A JP2621690B2 (en) 1991-05-16 1991-05-16 Printing defect inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3140908A JP2621690B2 (en) 1991-05-16 1991-05-16 Printing defect inspection equipment

Publications (2)

Publication Number Publication Date
JPH04339653A JPH04339653A (en) 1992-11-26
JP2621690B2 true JP2621690B2 (en) 1997-06-18

Family

ID=15279614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3140908A Expired - Lifetime JP2621690B2 (en) 1991-05-16 1991-05-16 Printing defect inspection equipment

Country Status (1)

Country Link
JP (1) JP2621690B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE59208384D1 (en) * 1991-08-12 1997-05-28 Koenig & Bauer Ag Quality control of an image template e.g. B. a printed pattern
JP2738279B2 (en) * 1993-11-08 1998-04-08 日本電気株式会社 Image position correction device
JP3705095B2 (en) * 2000-08-28 2005-10-12 松下電工株式会社 Method and apparatus for evaluating color tone of design pattern colored on object surface
JP6295561B2 (en) * 2013-09-17 2018-03-20 株式会社リコー Image inspection result determination apparatus, image inspection system, and image inspection result determination method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61153548A (en) * 1984-12-26 1986-07-12 Toppan Printing Co Ltd Inspecting method of printed matter

Also Published As

Publication number Publication date
JPH04339653A (en) 1992-11-26

Similar Documents

Publication Publication Date Title
US4561103A (en) Print inspecting method and apparatus
EP0585759B1 (en) Process for detecting and mapping dirt on the surface of a photographic element
JPH051449B2 (en)
JP2597370B2 (en) Method for detecting significant differences in sheet-like test materials
KR960003873B1 (en) Method for displaying defect & the apparatus thereof
JP2822830B2 (en) Defect detection method for printed sheets
JP2621690B2 (en) Printing defect inspection equipment
JPS60154244A (en) Photographic image information detector
JPH01313745A (en) Inspecting method for colored periodic pattern
JP3204876B2 (en) Print inspection equipment
JP2876999B2 (en) Printing defect inspection equipment
JPH08292158A (en) Method and apparatus for detecting wrinkle of sheet or the like
JPH0222424B2 (en)
GB2159623A (en) Print inspecting method
JPH07121721A (en) Printed character inspecting method
JP4165932B2 (en) Light / dark inspection apparatus and light / dark inspection method
JPH04115147A (en) Optical inspection apparatus
GB2159622A (en) Print inspecting method
JP3314251B2 (en) Defect inspection method
JPH11195121A (en) Device for evaluating picture and method therefor
JPS6027064B2 (en) Label front and back inspection device
JP2737418B2 (en) Pass / fail inspection device
JPH0569536A (en) Defect detecting method and defect detecting circuit in inspection device for printed matter
JPH09284753A (en) Method and device for controlling image pickup of supervisory camera
JP2931312B2 (en) Defect inspection method