JPH0915168A - Inspecting equipment of printed matter - Google Patents

Inspecting equipment of printed matter

Info

Publication number
JPH0915168A
JPH0915168A JP7167290A JP16729095A JPH0915168A JP H0915168 A JPH0915168 A JP H0915168A JP 7167290 A JP7167290 A JP 7167290A JP 16729095 A JP16729095 A JP 16729095A JP H0915168 A JPH0915168 A JP H0915168A
Authority
JP
Japan
Prior art keywords
image
difference
corrected
reference image
maximum value
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
JP7167290A
Other languages
Japanese (ja)
Other versions
JP3204876B2 (en
Inventor
Kenichi Kawamichi
憲一 川路
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 JP16729095A priority Critical patent/JP3204876B2/en
Publication of JPH0915168A publication Critical patent/JPH0915168A/en
Application granted granted Critical
Publication of JP3204876B2 publication Critical patent/JP3204876B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To detect even a minute defect such as a break of a character or a stain. SOLUTION: A reference image picked up from the same patterns printed repeatedly and successively is stored in a reference image memory. An image for inspection is taken in and a positional slippage is detected by a pattern matching part 15. The image for inspection stored in an inspection image memory 13 is put in an address for the one of which the positional slippage is modified, and inputted to an inspecting unit 17 together with the reference image. The inspecting unit 17 prepares difference images of the two images, applies a maximum value filter to either of them, calculates a difference between this and the difference image to which the maximum value filter is not applied and detects a defect therefrom.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は連続して同一絵柄を
繰り返し印刷した印刷物の汚れや文字欠けなどの欠陥を
検出する印刷物検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printed matter inspection apparatus for detecting defects such as stains and missing characters on a printed matter in which the same pattern is continuously and repeatedly printed.

【0002】[0002]

【従来の技術】版胴などにより同一絵柄を繰り返し印刷
した印刷物の汚れや文字欠けなどを検出する方法とし
て、基準画像と検査画像を比較し、その差が指定された
値以上であったら欠陥と判定する方法である。基準画像
と検査画像とを比較するに当たり、両者の間に位置のず
れがあると、正しい比較ができないため、このずれを解
消する方法がいくつか提案されている(特開平4−33
9653号)。その1つの方法として、検査画像の急激
に濃度が変化する領域をマスク領域とし、検査対象外と
する。しかしこのようにすると文字が印刷されたラベル
等では大部分がマスクとなり、文字欠けや濃度の変化す
る領域での欠陥検出はできない。このマスク領域を設け
るのは、検査画像と基準画像との位置ずれによる誤検出
を防止するためである。つまり、2つの画像の差がある
場合、この差を欠陥とするが、互いの画像の位置がずれ
ると、このずれによる差も欠陥と判定される。そこで文
字などの輪郭部は濃度変化が大きく、ずれが生じると差
として表れるので、この部分をマスクして検査対象から
除外してしまう。これにより文字から離れた位置に汚れ
などがある場合はこれを検出することができるが、文字
の一部が欠けるとか、文字の一部に汚れが付着するよう
な文字についての検出情報は得られない。
2. Description of the Related Art As a method for detecting stains or missing characters on a printed material in which the same pattern is repeatedly printed by a plate cylinder, etc., a reference image and an inspection image are compared, and if the difference is equal to or more than a specified value, it is determined as a defect. This is the method of judgment. In comparing the reference image and the inspection image, if there is a positional shift between the reference image and the inspection image, correct comparison cannot be performed. Therefore, some methods for eliminating this shift have been proposed (JP-A-4-33).
9653). As one of the methods, a region in which the density of the inspection image changes abruptly is set as a mask region and is not an inspection target. However, in such a case, most of the label or the like on which characters are printed act as a mask, and it is not possible to detect defects in regions where the characters are missing or the density changes. This mask area is provided to prevent erroneous detection due to the positional deviation between the inspection image and the reference image. That is, when there is a difference between the two images, this difference is regarded as a defect, but when the positions of the images are displaced from each other, the difference due to this displacement is also determined as a defect. Therefore, the outline portion such as a character has a large density change, and if a deviation occurs, it appears as a difference, so that this portion is masked and excluded from the inspection target. This makes it possible to detect when there is dirt, etc., at a position away from the character, but it does not provide detection information for characters such as a part of the character being cut off or a part of the character being dirty. Absent.

【0003】[0003]

【発明が解決しようとする課題】このようにマスクを用
いる方法では文字が印刷されたラベル等では大部分がマ
スクとなり、文字欠けや濃度の変化する領域での欠陥の
検出はできなかった。特公平6−17877号公報に
は、検査画像の横揺れや伸縮に対応するため、絵柄の各
部分ごとに異なる濃度しきい値を設定する技術が開示さ
れているが、絵柄の濃度変化大なる部分の近傍は許容値
過大で欠陥検査もれが生じる。また各部分ごとに異なる
しきい値を設定する必要がある。
As described above, in the method using the mask, most of the labels or the like on which characters are printed are masks, and it has been impossible to detect defects in characters or in areas where the density changes. Japanese Patent Publication No. 6-17877 discloses a technique of setting a different density threshold value for each part of the pattern in order to cope with the lateral vibration and expansion / contraction of the inspection image, but the density change of the pattern becomes large. In the vicinity of the part, the allowable value is too large and the defect inspection omission occurs. It is also necessary to set different thresholds for each part.

【0004】特公平7−31134号公報には基準画像
と検査画像をマッチングするのに2値化画像とした後、
一方の画像を膨張又は収縮処理して引き算し欠陥を検出
する技術が開示されている。しかし、2値化画像として
しまうため、濃い濃度のものは濃いレベルの差、淡い濃
度のものは淡いレベルの差をとることにより微小な欠陥
まで検出するというようなことができない。また2値化
画像とするに当たり、照明、外光、部分的なある領域で
の明暗差などのシューディング補正が必要となる
Japanese Patent Publication No. 7-31134 discloses that a reference image and an inspection image are binarized for matching.
A technique is disclosed in which one image is expanded or contracted and subtracted to detect a defect. However, since the image is a binarized image, even a minute defect cannot be detected by obtaining a difference in dark level for a dark density and a difference in light level for a light density. In addition, when making a binary image, it is necessary to correct the shading such as illumination, external light, and brightness difference in a partial area.

【0005】本発明は、上述の問題点に鑑みてなされた
もので、基準画像と検査画像の位置ずれを検出し、修正
した後も印刷用紙の伸びや画像処理時のデジタル化によ
る量子化誤差を除くことにより文字欠けや汚れ等の微小
な欠陥まで検出することのできる印刷物検査装置を提供
することを目的とする。
The present invention has been made in view of the above problems, and detects a positional deviation between a reference image and an inspection image, corrects the positional deviation, and expands the printing paper or a quantization error due to digitization during image processing. It is an object of the present invention to provide a printed matter inspection apparatus capable of detecting even minute defects such as missing characters and stains by removing the above.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
請求項1の発明では、繰り返し連続印刷された同一絵柄
を検査する印刷物検査装置において、基準画像を格納す
る格納手段と、検査対象となる検査画像を取り込み基準
画像との位置ずれを検出し、この位置ずれを修正した修
正画像を出力する修正手段と、前記基準画像または前記
修正画像のいずれかに最大値フィルタをかけ、最大値フ
ィルタをかけない画像から最大値フィルタをかけた画像
を差し引いた濃淡画像をしきい値により2値化して欠陥
画像として検出する検出手段とを備える。
In order to achieve the above object, according to the invention of claim 1, in a printed matter inspection apparatus for inspecting the same pattern repeatedly and repeatedly printed, a storage means for storing a reference image and an inspection object. Correcting means for detecting the positional deviation from the reference image by capturing the inspection image and outputting a corrected image in which this positional deviation is corrected, and applying a maximum value filter to either the reference image or the corrected image, and applying the maximum value filter And a detection unit that binarizes a grayscale image obtained by subtracting the image to which the maximum value filter is applied from the non-applied image and detects the image as a defect image.

【0007】この構成により、基準画像に対して検査画
像の位置ずれを検出し、検査画像の位置ずれを修正した
修正画像を得る。位置ずれの検出は画素の単位でデジタ
ル化して行われるので、デジタル化に伴う量子化誤差は
位置ずれを修正した修正画像に含まれる。また、印刷紙
は張力をかけて搬送される。基準画像の位置と検査画像
の位置とは異なるので、その位置が離れていれば印刷紙
の伸びや縮み具合が異なる。このような画像の伸縮によ
る2つの画像の違いは位置合わせでは除くことができな
いので、2つの画像のずれとして表れる。この量子化誤
差と印刷紙の伸縮による基準画像と検査画像のずれを除
くため、一方の画像の濃度変化位置を多少広げ、広げた
範囲内に上述の2つのずれが入るようにして、2つの画
像を比較することによりこのずれの影響を除く、つまり
このずれを欠陥として検出することを避けることができ
る。
With this configuration, the displacement of the inspection image with respect to the reference image is detected, and a corrected image in which the displacement of the inspection image is corrected is obtained. Since the misregistration is detected by digitizing it on a pixel-by-pixel basis, the quantization error associated with the digitization is included in the corrected image in which the misregistration is corrected. In addition, the printing paper is conveyed under tension. Since the position of the reference image and the position of the inspection image are different, if the positions are apart, the degree of expansion and contraction of the printing paper is different. Such a difference between the two images due to the expansion and contraction of the images cannot be eliminated by the alignment, and therefore appears as a shift between the two images. In order to eliminate the deviation between the reference image and the inspection image due to the quantization error and the expansion / contraction of the printing paper, the density change position of one image is slightly widened so that the above two deviations are included in the widened range. By comparing the images, it is possible to eliminate the influence of this shift, that is, to detect this shift as a defect.

【0008】このため、基準画像と修正画像についてい
ずれかの画面に最大値フィルタをかける。最大値フィル
タとは、例えば、3×3,5×5,7×7,9×9と言
ったフィルタの寸法の場合、その中心の画素の濃度をそ
のフィルタ内の画素の最大の濃度にするフィルタで、例
えば、白地に黒の字が印刷されている場合、この最大値
フィルタをかけると字の周囲の黒画素が白画素となり字
がやせる。逆に黒地に白の字が印刷されている場合は白
い字は太る。基準画像と修正画像の差分画像のいずれか
一方に最大値フィルタをかけ、最大値フィルタをかけな
い方の画像との差をとることにより、上述した2つの画
像のずれの影響を除いた欠陥を検出することができる。
最大値フィルタを掛けない画像から最大値フィルタを掛
けた画像を減算すると、通常、濃度差は負となる。負は
零とし、差が設定された所定の正の値より大きいものを
欠陥とする。
Therefore, the maximum value filter is applied to either of the screens for the reference image and the corrected image. In the case of a filter size such as 3 × 3, 5 × 5, 7 × 7, 9 × 9, for example, the maximum value filter sets the density of the pixel at the center to the maximum density of the pixels in the filter. For example, when black characters are printed on a white background with a filter, this maximum value filter causes the black pixels around the characters to become white pixels, and the characters can be erased. On the contrary, when white characters are printed on a black background, the white characters are thick. The maximum value filter is applied to either one of the difference image of the reference image and the corrected image, and the difference from the image not subjected to the maximum value filter is taken, thereby eliminating the defect excluding the influence of the above-described two image shifts. Can be detected.
When the image subjected to the maximum value filter is subtracted from the image not subjected to the maximum value filter, the density difference is usually negative. Negative is zero, and a defect having a difference larger than a predetermined positive value is set as a defect.

【0009】請求項2の発明では、繰り返し連続印刷さ
れた同一絵柄を検査する印刷物検査装置において、基準
画像を格納する格納手段と、検査対象となる検査画像を
取り込み基準画像との位置ずれを検出し、この位置ずれ
を修正した修正画像を出力する修正手段と、前記基準画
像と前記修正画像についてそれぞれ、2画素の濃度差を
その2画素の中心画素の濃度とする差分画像を生成する
差分手段と、前記基準画像の差分画像または前記修正画
像の差分画像のいずれかに最大値フィルタをかけ、最大
値フィルタをかけない画像から最大値フィルタをかけた
画像を差し引いた濃淡画像をしきい値により2値化して
欠陥画像として検出する検出手段とを備える。
According to a second aspect of the present invention, in a printed matter inspection apparatus for inspecting the same pattern repeatedly and repeatedly printed, a positional deviation between the storing means for storing the reference image and the inspection image to be inspected is detected and the reference image is detected. Then, a correction unit that outputs a corrected image in which the positional deviation is corrected, and a difference unit that generates a difference image in which the density difference of two pixels is the density of the central pixel of the two pixels for each of the reference image and the corrected image. And a maximum value filter is applied to either the difference image of the reference image or the difference image of the corrected image, and the grayscale image obtained by subtracting the image subjected to the maximum value filter from the image not subjected to the maximum value filter is set by the threshold value. And a detection unit for binarizing and detecting as a defect image.

【0010】請求項2の発明では請求項1の発明に対し
て差分手段により基準画像と前記修正画像についてそれ
ぞれ、2画素の濃度差をその2画素の中心画素の濃度と
する差分画像を生成する。差分画像は照明、外光や緩や
かな明暗の変化を除去して濃度変化のある位置を強調す
るので欠陥画像の検出精度が向上する。
According to the second aspect of the present invention, the difference image is generated by the difference means with respect to the reference image and the corrected image with respect to the density difference of two pixels as the density of the central pixel of the two pixels. . The difference image enhances the detection accuracy of the defect image because the position where the density change occurs is emphasized by removing illumination, external light, and gentle change in brightness.

【0011】請求項3の発明では、連続する2画像のう
ち先の画像を前記基準画像とし後の画像を前記検査画像
とし、次に前記後の画像を基準画像にし前記後の画像の
次の画像を検査画像にし、以下同様に基準画像と検査画
像を定めるようにする。
According to the third aspect of the present invention, of the two consecutive images, the first image is the reference image, the second image is the inspection image, and the second image is the reference image. The image is used as the inspection image, and the reference image and the inspection image are similarly defined.

【0012】請求項1または2の発明では、伸縮し易い
素材に印刷する場合には、張力により絵柄が伸縮するの
で固定した基準画像に対する伸縮誤差が大きい。そこで
請求項3の発明では連続する2つの画像の最初の画像を
基準画像とし、次の画像を検査画像としている。連続す
る2つの画像は殆ど同じ張力が掛かっているので印刷用
紙の伸縮も同じと見てよい。
According to the first or second aspect of the present invention, when printing on a material that easily expands and contracts, the pattern expands and contracts due to tension, and therefore the expansion and contraction error with respect to the fixed reference image is large. Therefore, in the invention of claim 3, the first image of two continuous images is used as a reference image, and the next image is used as an inspection image. Since two continuous images have almost the same tension, it can be considered that the expansion and contraction of the printing paper is the same.

【0013】請求項4の発明では、請求項2または3の
前記検出手段は、修正画像の差分画像から基準画像の差
分画像に最大値フィルタをかけた画像を差し引いて正と
なる画像を汚れ画像として検出する。
According to the invention of claim 4, the detecting means of claim 2 or 3 subtracts the image obtained by applying the maximum value filter to the difference image of the reference image from the difference image of the corrected image to obtain a positive image as a dirty image. To detect as.

【0014】汚れ画像とは基準画像にない画像が検査画
像に表れたものと定義できる。修正画像には基準画像に
ない余分な画像がついているので、上述の引き算をする
と、量子化誤差と印刷紙の伸縮によるずれを除いた余分
な画像のみが検出されるので、これを汚れと判断でき
る。
An unclean image can be defined as an image that does not exist in the reference image and appears in the inspection image. Since the corrected image has an extra image that is not in the reference image, when the above subtraction is performed, only the extra image that excludes the quantization error and the shift due to expansion and contraction of the printing paper is detected. it can.

【0015】請求項5の発明では、請求項2または3の
前記検出手段は、基準画像の差分画像から修正画像の差
分画像に最大値フィルタをかけた画像を差し引いて正と
なる画像を文字欠け画像として検出する。
In the invention of claim 5, the detecting means of claim 2 or 3 subtracts the image obtained by applying the maximum value filter to the difference image of the corrected image from the difference image of the reference image, and the positive image is missing characters. Detect as an image.

【0016】文字欠け画像とは基準画像には存在するの
に修正画像には存在しない画像と定義できる。このた
め、上述の引き算をすると、基準画像にのみ存在する部
分を検出することができるので、これを文字欠けと判断
する。文字欠けの「文字」は必ずしも文字のみでなく、
絵柄でもよい。
The character missing image can be defined as an image which is present in the reference image but not in the corrected image. For this reason, when the above-mentioned subtraction is performed, it is possible to detect a portion existing only in the reference image, and it is determined that this is a character loss. "Characters" with missing characters are not always letters,
It may be a picture.

【0017】請求項6の発明では、請求項2ないし5の
前記差分手段は前記基準画像および修正画像の水平方向
および垂直方向について差分画像を生成する。
In the invention of claim 6, the difference means of claims 2 to 5 generates difference images in the horizontal and vertical directions of the reference image and the corrected image.

【0018】差分画像を得る場合、水平方向の差分画像
と、垂直方向の差分画像のそれぞれを求め、それぞれに
ついて請求項2〜5の発明を適用する。これにより水
平,垂直それぞれの方向の汚れ,文字欠けを検出するこ
とができる。
When obtaining the difference image, the difference image in the horizontal direction and the difference image in the vertical direction are obtained, and the inventions of claims 2 to 5 are applied to each. As a result, it is possible to detect stains and missing characters in the horizontal and vertical directions.

【0019】請求項7の発明では、請求項2または3の
発明で、前記差分手段は前記基準画像および修正画像の
水平方向および垂直方向について差分画像を生成し、前
記検出手段は、修正画像の水平方向差分画像から基準画
像の水平方向差分画像に最大値フィルタをかけた画像を
差し引いて正となる水平汚れ画像と、修正画像の垂直方
向差分画像から基準画像の垂直方向差分画像に最大値フ
ィルタをかけた画像を差し引いて正となる垂直汚れ画像
と、基準画像の水平方向差分画像から修正画像の水平方
向差分画像に最大値フィルタをかけた画像を差し引いて
正となる水平文字欠け画像と、基準画像の垂直方向差分
画像から修正画像の垂直方向差分画像に最大値フィルタ
をかけた画像を差し引いて正となる垂直文字欠け画像と
を作成し、水平汚れ画像と垂直汚れ画像と水平文字欠け
画像と垂直文字欠け画像の論理和よりなる画像を生成す
る。
According to a seventh aspect of the invention, in the second or third aspect of the invention, the difference means generates a difference image in the horizontal and vertical directions of the reference image and the corrected image, and the detection means generates the corrected image. The horizontal difference image that is positive by subtracting the image obtained by applying the maximum value filter to the horizontal difference image of the reference image from the horizontal difference image, and the maximum value filter from the vertical difference image of the corrected image to the vertical difference image of the reference image Vertical smeared image that is positive by subtracting the image multiplied by, and horizontal character missing image that is positive by subtracting the image obtained by applying the maximum value filter to the horizontal difference image of the corrected image from the horizontal difference image of the reference image, Subtract the image obtained by applying the maximum value filter to the vertical difference image of the corrected image from the vertical difference image of the reference image to create a positive vertical character missing image, and To generate an image composed of the logical sum of the image and the vertical stain image and a horizontal character line image and vertical character line image.

【0020】上記構成により、修正画像と検査画像につ
いて、それぞれ水平方向、垂直方向の差分画像を作成
し、水平汚れ画像、垂直汚れ画像、水平文字欠け画像、
垂直文字欠け画像を生成してこの4画像の論理和よりな
る画像を生成するので、汚れ、文字欠けを1画面に合成
して表示し、その位置を検出することができる。
With the above configuration, a difference image in the horizontal direction and a difference image in the vertical direction are created for the corrected image and the inspection image, and the horizontal smeared image, the vertical smeared image, the horizontal character missing image,
Since a vertical character missing image is generated and an image composed of the logical sum of these four images is generated, stains and character missing can be combined and displayed on one screen and the position can be detected.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施例を図面を参
照して説明する。図1は実施例の全体構成図である。印
刷物1には既に図示しない版胴等により同一絵柄が繰り
返して印刷されている。ローラ2は印刷物1を高速に矢
印で示す方向に搬送する。ローラ2の1つにはその軸に
直結して、または歯車を介してエンコーダ3が設けら
れ、回転角度を検出し、パルスとして出力する。印刷物
1の上方にはラインセンサーカメラ4が設置され、印刷
物1の一次元画像を撮像する。照明装置5は印刷物1の
撮像位置を照明する。位置センサー6は印刷物1の各画
面の横に印刷されたレジスタマーク等を検出し、通過し
ている絵柄の位置を検出する。印刷微小欠陥検出装置7
はエンコーダ3、ラインセンサーカメラ4、位置センサ
6からのデータに基づき、印刷物1の欠陥を微小なもの
まで検出する。CRT8はこの検出結果等を表示する表
示装置であり、ホストコンピュータ9は欠陥検出処理を
制御する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an overall configuration diagram of the embodiment. The same pattern is already repeatedly printed on the printed matter 1 by a plate cylinder or the like (not shown). The roller 2 conveys the printed matter 1 at high speed in the direction indicated by the arrow. One of the rollers 2 is provided with an encoder 3 directly connected to its shaft or via a gear, detects a rotation angle, and outputs it as a pulse. A line sensor camera 4 is installed above the printed matter 1 and captures a one-dimensional image of the printed matter 1. The illumination device 5 illuminates the image pickup position of the printed matter 1. The position sensor 6 detects a register mark or the like printed on the side of each screen of the printed matter 1 to detect the position of a passing pattern. Printing minute defect detection device 7
Detects the defects of the printed matter 1 to the minute, based on the data from the encoder 3, the line sensor camera 4, and the position sensor 6. The CRT 8 is a display device that displays the detection result and the like, and the host computer 9 controls the defect detection processing.

【0022】図2は印刷微小欠陥検査装置とその周辺装
置とのブロック図を示す。カメラコントローラ11はラ
インセンサカメラ4の走査タイミングの制御を行う。エ
ンコーダ3の出力と位置センサ6の出力からラインセン
サカメラ4の撮像位置を通過する画像を検出できるので
この画像に合わせて走査タイミングを定め、水平走査を
行う。シェーディング補正部12は入力した画像の照明
むらなどを補正するもので、入力したアナログデータを
デジタルデータに変換した後、この補正を行う。検査画
像メモリ13はシェーディング補正された検査画像を格
納する。なお、ラインセンサカメラ4は濃淡画像を得る
ため、白黒カメラでよいがカラーカメラの場合は、赤、
緑、青の三色について、それぞれ同様の回路構成とな
る。またカラー化により色毎の印刷欠陥を検出できる。
基準画像メモリ14は基準画像を格納する。検査画像1
3と基準画像14は2面づつ設けられ、一方は画像の取
込み用とし、他方は後述する検査ユニット17からの読
み出し用とし、交互に使用する。
FIG. 2 is a block diagram of the printing micro defect inspection apparatus and its peripheral devices. The camera controller 11 controls the scanning timing of the line sensor camera 4. An image passing through the imaging position of the line sensor camera 4 can be detected from the output of the encoder 3 and the output of the position sensor 6, so the scanning timing is determined according to this image and horizontal scanning is performed. The shading correction unit 12 corrects illumination unevenness of the input image, and performs this correction after converting the input analog data into digital data. The inspection image memory 13 stores the shading-corrected inspection image. Since the line sensor camera 4 obtains a grayscale image, a monochrome camera may be used, but in the case of a color camera, red,
The circuit configurations are the same for the three colors of green and blue. In addition, printing defects for each color can be detected by colorization.
The reference image memory 14 stores the reference image. Inspection image 1
3 and the reference image 14 are provided on each of two surfaces, one for capturing an image, and the other for reading from the inspection unit 17 described later, which are used alternately.

【0023】パターンマッチング部15は基準画像の一
部分の領域、例えば16×16または32×32画素の
領域をテンプレートとして登録しておき、検査画像の対
応する領域との間で位置合わせを行い、位置ずれを検出
する。アドレス発生器16は検査画像メモリ13、基準
画像メモリ14から読み出したデータを後述する検査ユ
ニット17に送出するときにそのデータのアドレスを定
めるもので、基準画像のアドレスに対し、これと対応す
る検査画像に対して位置ずれを修正したアドレスを発生
し、位置ずれの修正を行う。
The pattern matching unit 15 registers a partial region of the reference image, for example, a region of 16 × 16 or 32 × 32 pixels as a template, performs alignment with the corresponding region of the inspection image, and Detect the deviation. The address generator 16 determines the address of the data read out from the inspection image memory 13 and the reference image memory 14 to the inspection unit 17, which will be described later, and the inspection corresponding to the address of the reference image. An address whose positional deviation has been corrected for the image is generated, and the positional deviation is corrected.

【0024】検査ユニット17は基準画像と、検査画像
の位置ずれを修正した修正画像を入力し、差分処理、最
大値フィルタ処理、引き算処理等により欠陥を検出す
る。欠陥画像メモリ18は検査ユニット17で検出した
欠陥のある画像を格納する。表示メモリ19はCRT8
に表示する画像を格納するメモリで、検査画像メモリ1
3、基準画像メモリ14、欠陥画像メモリ18に格納さ
れた画像データを読み出して、表示用に格納する。表示
コントローラ20は表示メモリ19に格納するデータを
選択し、CRT8への表示を制御する。
The inspection unit 17 inputs the reference image and the corrected image in which the displacement of the inspection image has been corrected, and detects a defect by difference processing, maximum value filtering processing, subtraction processing, or the like. The defect image memory 18 stores the defective image detected by the inspection unit 17. Display memory 19 is CRT8
A memory for storing images to be displayed on the inspection image memory 1
3. Read the image data stored in the reference image memory 14 and the defective image memory 18 and store it for display. The display controller 20 selects data to be stored in the display memory 19 and controls the display on the CRT 8.

【0025】次に第1実施形態の動作を説明する。本実
施の形態は予め基準画像を格納しておき、これと検査画
像とを比較し検査画像の汚れ、文字欠け等を検出する。
図3は本実施例の動作フロー図である。まず基準画像を
基準画像メモリ14に格納する(S1)。次に基準画像
の一部の領域を表す画像をテンプレートとしてパターン
マッチング部15のメモリに登録する(S2)。テンプ
レートの大きさは、例えば、16×16または32×3
2画素程度の小さな画像である。次にパターンマッチン
グ部15は検査画像を取り込み、テンプレートと同じ画
像を表す位置を検出して、テンプレートの基準画像に占
める位置と検査画像内のテンプレートと同じ画像の占め
る位置とのずれを検出する(S3)。
Next, the operation of the first embodiment will be described. In the present embodiment, a reference image is stored in advance, and the reference image is compared with the reference image to detect stains, missing characters, etc. on the inspection image.
FIG. 3 is an operation flow chart of this embodiment. First, the reference image is stored in the reference image memory 14 (S1). Next, an image representing a part of the reference image is registered as a template in the memory of the pattern matching unit 15 (S2). The template size is, for example, 16 × 16 or 32 × 3.
It is a small image of about 2 pixels. Next, the pattern matching unit 15 takes in the inspection image, detects the position representing the same image as the template, and detects the deviation between the position of the template in the reference image and the position of the same image in the inspection image as the template ( S3).

【0026】図4は位置ずれを検出方法を説明する図で
ある。(A)は基準画像に設けられたテンプレートとそ
の位置を示す。16×16または32×32画素で表さ
れた文字Gをテンプレートとし、その位置を(X0,Y
0)で表す。破線で示す領域はこのテンプレートの文字
が検査画像内で移動する範囲を想定したものである。
(B)は検査画像内のテンプレートに該当する文字Gを
示す。破線で示す領域内を調べ文字Gを検出してその位
置(X,Y)を求める。検査画像の回転変形は殆どない
ので、(X0,Y0)と(X,Y)との差で検査画像の
位置ずれを表す。検査画像内の文字Gの位置を調べる方
法は、テンプレートの画像を破線で示す領域内全域で移
動し、各位置において、テンプレートの大きさ16×1
6または32×32個の各画素について、テンプレート
の対応する各画素との濃度差を求め、その濃度差の絶対
値をテンプレートの全画素について加算する。この加算
値が最小となる位置を検査画像におけるテンプレートの
画像(文字G)の位置とし、この位置を(X,Y)で表
す。つまり、テンプレートのiの位置における画素の濃
度をSiとし、検査画像のテンプレートのiの位置に対
応する画素の濃度をTiとしたとき、Σ|Si−Ti|
が最小となる位置を検査画像内の文字Gの位置とする。
FIG. 4 is a diagram for explaining a method of detecting the positional deviation. (A) shows the template provided in the reference image and its position. The character G represented by 16 × 16 or 32 × 32 pixels is used as a template, and its position is (X0, Y
It is represented by 0). The area indicated by the broken line is assumed to be a range in which the characters of this template move in the inspection image.
(B) shows the letter G corresponding to the template in the inspection image. The inside of the area indicated by the broken line is checked, the character G is detected, and its position (X, Y) is obtained. Since there is almost no rotational deformation of the inspection image, the positional deviation of the inspection image is represented by the difference between (X0, Y0) and (X, Y). The method of checking the position of the letter G in the inspection image is to move the image of the template in the entire region shown by the broken line, and at each position, the size of the template is 16 × 1.
For each of 6 or 32 × 32 pixels, the density difference from each corresponding pixel of the template is obtained, and the absolute value of the density difference is added for all the pixels of the template. The position where the added value is the minimum is the position of the template image (character G) in the inspection image, and this position is represented by (X, Y). That is, when the density of the pixel at the position i of the template is Si and the density of the pixel corresponding to the position i of the template of the inspection image is Ti, Σ | Si−Ti |
The position at which is minimum is the position of the character G in the inspection image.

【0027】このようにして検査画像の位置ずれを検出
したら、この検査画像を検査画像メモリ13から読み出
し、検査ユニット17に送出するとき、アドレス発生器
16から、位置ずれを修正したアドレスを発生し、この
アドレスで検査画像を検査ユニット17に送出する(S
4)。この画像を修正画像と称する。なお、修正画像と
同時に基準画像を検査ユニット17へ送出する(S
4)。検査ユニット17では基準画像、修正画像の横方
向および縦方向の差分画像を作成する(S5)。ここで
差分画像とは、横差分画像とすると、横方向に並んだ画
素のn番目とn+k番目の画素の濃度の差をその中心画
素(n+k/2番目の画素)の濃度としたもので、2つ
の画素間に濃度差があると大きな値となる。濃度差の画
像を作るということは微分画像を作ることを意味する。
この差分画像の生成(S5)は濃度変化を強調するため
のものであるから必ずしもなくてもよいが、通常は用い
られる。また差分画像のさらに差分画像を求める、すな
わち2次微分してより特徴を強調した画像を用いてもよ
い。
When the displacement of the inspection image is detected in this way, when the inspection image is read from the inspection image memory 13 and sent to the inspection unit 17, the address generator 16 generates an address in which the displacement is corrected. , The inspection image is sent to the inspection unit 17 at this address (S
4). This image is called a corrected image. The reference image is sent to the inspection unit 17 at the same time as the corrected image (S
4). The inspection unit 17 creates horizontal and vertical difference images of the reference image and the corrected image (S5). Here, the difference image is a horizontal difference image, and the difference between the densities of the nth pixel and the n + kth pixel of the pixels arranged in the horizontal direction is the density of the central pixel (n + k / 2nd pixel), If there is a density difference between the two pixels, it will be a large value. Making an image of density difference means making a differential image.
The generation of the difference image (S5) is not necessary because it is for emphasizing the density change, but it is usually used. Further, a differential image of the differential image may be obtained, that is, an image in which the features are emphasized by quadratic differentiation may be used.

【0028】次に基準画像の差分画像、検査画像の差分
画像に最大値フィルタをかける(S6)。最大値フィル
タとは対象画素を中心にし、フィルタ内の画素の内で最
大濃度を求め、対象画素をこの最大濃度に変換するフィ
ルタである。図5は最大値フィルタをかけた場合の一例
を示す。(A)に示すように検査画像または基準画像の
P画素を中心に例えば、3×3の範囲の画素について濃
度を調べ、(B)に示すように対象画素の濃度を最大の
濃度に変換する。これにより、例えば白地に黒で文字が
印刷されている場合、濃度の大きい白の範囲が大きくな
り、文字はやせる。この反対に黒字に白い文字が表示さ
れている場合、文字は太くなる。
Next, the maximum value filter is applied to the difference image of the reference image and the difference image of the inspection image (S6). The maximum value filter is a filter that finds the maximum density among the pixels in the filter centering on the target pixel and converts the target pixel to this maximum density. FIG. 5 shows an example when the maximum value filter is applied. As shown in (A), for example, the densities of pixels in a 3 × 3 range centered on the P pixel of the inspection image or the reference image are checked, and as shown in (B), the density of the target pixel is converted to the maximum density. . As a result, for example, when a character is printed in black on a white background, the range of white with high density is large, and the character is thin. On the contrary, when white characters are displayed in black, the characters are thick.

【0029】次に検査画像の差分画像から基準画像の差
分画像に最大値フィルタをかけた画像を差し引きその差
を求める(S7)。これは横差分画像、縦差分画像のそ
れぞれに対して行う。この差が設定値以上の時汚れ欠陥
として検出し、2値化画像を生成する(S8)。検査画
像の処理と並行して、基準画像の差分画像から検査画像
の差分画像に最大値フィルタをかけた画像を差し引き、
その差を求める(S9)。差分画像は横方向差分画像、
および縦方向差分画像に対して行う。この差が設定値以
上の時文字欠け欠陥として検出し、2値化画像を生成す
る(S10)。
Next, the difference image of the reference image is subtracted from the difference image of the inspection image by the maximum value filter to obtain the difference (S7). This is performed for each of the horizontal difference image and the vertical difference image. When this difference is equal to or larger than the set value, it is detected as a stain defect and a binarized image is generated (S8). In parallel with the processing of the inspection image, the image obtained by applying the maximum value filter to the difference image of the inspection image is subtracted from the difference image of the reference image,
The difference is obtained (S9). The difference image is the horizontal difference image,
And the vertical difference image. When this difference is equal to or larger than the set value, it is detected as a character missing defect and a binarized image is generated (S10).

【0030】図6は基準画像と検査画像の横方向(H方
向)の差分から、汚れ欠陥と文字欠け欠陥を求める手順
を示す。基準画像と検査画像の横方向差分をとり、それ
ぞれに最大値フィルタをかける。検査画像の横方向差分
画像から基準画像の横方向差分画像に最大値フィルタを
かけた値を差し引く。この値が設定値以上であれば汚れ
欠陥とする。また基準画像の横方向差分画像から検査画
像の横方向差分画像に最大値フィルタをかけた値を差し
引く。この値が設定値以上であれば文字欠け欠陥とす
る。この所定値をしきい値として2値化画像を作成する
と汚れや文字欠け欠陥が明確に表される。図6の左側の
引き算値が汚れ欠陥を示し、右側が文字欠け欠陥を示
す。
FIG. 6 shows a procedure for obtaining a stain defect and a character defect defect from the difference between the reference image and the inspection image in the horizontal direction (H direction). The difference between the reference image and the inspection image in the horizontal direction is calculated, and the maximum value filter is applied to each. The value obtained by applying the maximum value filter to the horizontal difference image of the reference image is subtracted from the horizontal difference image of the inspection image. If this value is greater than or equal to the set value, it is determined as a stain defect. Further, the value obtained by applying the maximum value filter to the horizontal difference image of the inspection image is subtracted from the horizontal difference image of the reference image. If this value is greater than or equal to the set value, it is determined as a character missing defect. When a binarized image is created using this predetermined value as a threshold value, stains and character defect defects are clearly represented. The subtraction value on the left side of FIG. 6 indicates a stain defect, and the right side indicates a character missing defect.

【0031】図7は基準画像と検査画像の縦方向(V方
向)の差分から汚れ欠陥と文字欠け欠陥を求める手順を
示す。基準画像と検査画像の縦方向差分をとり、それぞ
れに最大値フィルタをかける。検査画像の縦方向差分画
像から基準画像の縦方向差分画像に最大値フィルタをか
けた値を差し引く。この値が設定値以上であれば、汚れ
欠陥とする。また基準画像の縦方向差分画像から検査画
像の縦方向差分画像に最大値フィルタをかけた値を差し
引く。この値が設定値以上であれば文字欠け欠陥とす
る。この所定値をしきい値として2値化画像を作成する
と汚れや文字欠け欠陥が明確に表される。図7の左側の
引き算値が汚れ欠陥を示し、右側が文字欠け欠陥を示
す。
FIG. 7 shows a procedure for obtaining a stain defect and a character defect defect from the difference between the reference image and the inspection image in the vertical direction (V direction). The vertical difference between the reference image and the inspection image is calculated, and the maximum value filter is applied to each of them. A value obtained by applying a maximum value filter to the vertical difference image of the reference image is subtracted from the vertical difference image of the inspection image. If this value is greater than or equal to the set value, it is determined as a stain defect. Further, the value obtained by applying the maximum value filter to the vertical difference image of the inspection image is subtracted from the vertical difference image of the reference image. If this value is greater than or equal to the set value, it is determined as a character missing defect. When a binarized image is created using this predetermined value as a threshold value, stains and character defect defects are clearly represented. The subtraction value on the left side of FIG. 7 indicates a stain defect, and the right side indicates a character missing defect.

【0032】図8は図6、図7の各処理の内容を表示し
た図である。処理内容は横方向または縦方向のいずれか
を表したものである。aは基準画像を示し、bは検査画
像を示す。bの画像に示す「x」は基準画像にないも
の、つまり検査画像に付いた汚れを表し、「y」は検査
画像にないものつまり文字欠けを表す。cは基準画像の
差分画像、dは検査画像の差分画像を表す。eはcの基
準画像の差分画像に最大値フィルタをかけた画像を示
し、破線はcの画像を参考に示している。fはdの検査
画像の差分画像に最大値フィルタをかけた値で破線はd
の画像を参考に示している。gはdの検査画像の差分画
像からeの基準画像の差分画像に最大値フィルタをかけ
た画像を差し引き正の値のみ取り出した値で汚れ「x」
を示す。hはcの基準画像の差分画像からfの検査画像
の差分画像に最大値フィルタをかけたものを差し引き正
の値のみ取り出した値で、文字欠け「y」を表す。
FIG. 8 is a view showing the contents of each process of FIGS. 6 and 7. The processing content represents either the horizontal direction or the vertical direction. a shows a reference image and b shows an inspection image. "x" shown in the image of b represents what is not in the reference image, that is, stains attached to the inspection image, and "y" represents that which is not in the inspection image, that is, character loss. c represents the difference image of the reference image, and d represents the difference image of the inspection image. e indicates an image obtained by applying the maximum value filter to the difference image of the reference image of c, and the broken line indicates the image of c for reference. f is a value obtained by applying the maximum value filter to the difference image of the inspection image of d, and the broken line is d.
Is shown for reference. g is a value obtained by subtracting the image obtained by applying the maximum value filter to the difference image of the reference image of e from the difference image of the inspection image of d, and extracting only the positive value.
Is shown. h is a value obtained by subtracting the maximum value filter from the difference image of the reference image of c to the difference image of the inspection image of f and extracting only the positive value, and represents the character missing “y”.

【0033】図8において、最大値フィルタをかけた
e,fは元のc,dに対して太っており、この太りの範
囲内で、基準画像aに対して検査画像bがずれても引き
算の時a,bの共通部分は除去される。また引き算の結
果が正の値のみ(又は所定の正のしきい値以上)とるこ
とにより、汚れと文字欠けを分離して検出できる。
In FIG. 8, e and f subjected to the maximum value filter are thicker than the original c and d, and even if the inspection image b deviates from the reference image a within the range of this thickening, subtraction is performed. , The common part of a and b is removed. Further, by making the subtraction result only a positive value (or a predetermined positive threshold value or more), it is possible to detect dirt and character missing separately.

【0034】図3に戻り、図6で求めた横方向差分画像
の汚れ欠陥を表す2値化画像と文字欠け欠陥を表す2値
化画像、図7で求めた縦方向差分画像の汚れ欠陥を表す
2値化画像と文字欠け欠陥を表す2値化画像の4画像の
論理和により合成画像を作成する(S11)。これによ
り汚れと文字欠けを1つの画面に表示できる。この合成
画像から汚れや文字欠け等の欠陥位置を検出する(S1
2)。
Returning to FIG. 3, the binarized image representing the stain defect and the binarized image representing the character missing defect in the horizontal difference image obtained in FIG. 6 and the stain defect in the vertical difference image obtained in FIG. A composite image is created by the logical sum of the four images of the binarized image represented and the binarized image representing the character missing defect (S11). As a result, dirt and missing characters can be displayed on one screen. A defect position such as dirt or a missing character is detected from this composite image (S1).
2).

【0035】図9は合成画像の作成と欠陥位置検出の手
順を示す図で、図6、図7で得られた欠陥を表す4個の
2値化画像の論理和をとり合成画像を作成する(S2
1)。次にこの合成画像に表された汚れ、文字欠けに対
してラベル付けを行い(S22)、各ラベル付けした欠
陥の位置を検出する(S23)。このような汚れ、文字
欠けが発生した場合画面にエラー表示し、警報を発生す
る(S24)。
FIG. 9 is a diagram showing the procedure for creating a composite image and detecting the defect position. The composite image is created by taking the logical sum of the four binarized images representing the defects obtained in FIGS. 6 and 7. (S2
1). Then, the stains and the character defects shown in this composite image are labeled (S22), and the position of each labeled defect is detected (S23). If such stains or missing characters occur, an error is displayed on the screen and an alarm is issued (S24).

【0036】図3、図9で説明した手順により汚れや文
字欠けなどの微小な欠陥を検出することができる。ま
た、濃度の急激な変化点付近の欠陥の検出も行うことが
できる。最大値フィルタは小さすぎると量子化誤差や印
刷紙の伸びによる誤差を吸収できないが、大きすぎると
濃度の急変する変化点付近の欠陥を検出できなくなる。
通常3×3、〜9×9程度のフィルタが用いられる。
By the procedure described with reference to FIGS. 3 and 9, it is possible to detect minute defects such as dirt and missing characters. Further, it is possible to detect a defect near the point where the concentration changes abruptly. If the maximum value filter is too small, the quantization error and the error due to the elongation of the printing paper cannot be absorbed, but if it is too large, it becomes impossible to detect the defects near the change point where the density suddenly changes.
Usually, a filter of about 3 × 3 to 9 × 9 is used.

【0037】次に第2実施形態例を説明する。柔らかい
材質に印刷された印刷物の場合、巻位置によって印刷物
にかかるテンションが異なり、材質の伸び縮みが多く、
固定の基準画像に対して検査画像の走行方向の長さが一
致しない場合がある。このような場合、連続する2画像
では材質の伸縮は無視できるものとして、連続する2画
像の内先の画像を基準画像とし、次の画像を検査画像と
する。次にはこの検査画像が基準画像となり、次の画像
が検査画像となる。なお、この場合、画像が「良,不
良,良」と続く場合、3番目の「良」画像は2番目の基
準画像と異なるため、「不良」となるが、これを「良」
と判断し、また「良,不良,不良,良」続くと、3番目
の「不良」は2番目の基準画像と同じ欠陥の場合は
「良」となるがこれを「不良」と判断し、4番目の
「良」は「不良」となるが、これを「良」と判断するよ
うな判定基準を設ける。なお第2実施形態は材質の伸び
縮が普通の印刷物の検査にも使用できる。
Next, a second embodiment will be described. In the case of printed matter printed on a soft material, the tension applied to the printed matter varies depending on the winding position, and there are many expansion and contraction of the material,
The length of the inspection image in the traveling direction may not match the fixed reference image. In such a case, the expansion and contraction of the material can be ignored in the two consecutive images, and the image inside the two consecutive images is used as the reference image and the next image is used as the inspection image. Next, this inspection image becomes the reference image, and the next image becomes the inspection image. In this case, if the image continues as "good, bad, good", the third "good" image is different from the second reference image, and thus "bad", but this is "good".
If it is determined that “good, bad, bad, good” continues, the third “bad” is “good” if it is the same defect as the second reference image, but this is judged as “bad”, The fourth “good” is “defective”, but a criterion is provided to judge this as “good”. The second embodiment can also be used for the inspection of printed matter in which the expansion and contraction of the material is normal.

【0038】[0038]

【発明の効果】以上の説明より明らかなように、本発明
は、基準画像と検査画像の位置合わせを行った後、両画
像の差分画像を生成し、一方の差分画像に最大値フィル
タをかけた後、他方の差分画像との差をとることによ
り、欠陥を検出するので、汚れや文字欠けなどの微小な
欠陥まで検出することができる。また連続する2画像の
先行する画像を基準画像とし、後続画像を検査画像と
し、その検査画像を次に基準画像として位置合わせを行
うことにより、ほぼ同様に汚れや文字欠けなどの微小な
欠陥を検出することができる。
As is apparent from the above description, according to the present invention, after the reference image and the inspection image are aligned with each other, a difference image between the two images is generated and one maximum value filter is applied to the difference image. After that, since the defect is detected by taking the difference from the other difference image, it is possible to detect even minute defects such as stains and missing characters. In addition, by using the preceding image of two consecutive images as the reference image, the subsequent image as the inspection image, and the inspection image as the next reference image for alignment, minute defects such as stains and missing characters can be generated almost in the same manner. Can be detected.

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

【図1】実施形態の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment.

【図2】印刷微小欠陥検査装置とその周辺装置とのブロ
ック図である。
FIG. 2 is a block diagram of a printing micro defect inspection apparatus and its peripheral devices.

【図3】第1実施形態の動作フロー図である。FIG. 3 is an operation flow chart of the first embodiment.

【図4】位置合わせを説明する図である。FIG. 4 is a diagram illustrating alignment.

【図5】最大値フィルタを説明する図である。FIG. 5 is a diagram illustrating a maximum value filter.

【図6】横方向の汚れと文字欠け欠陥を検出する説明す
る図である。
FIG. 6 is a diagram for explaining detection of horizontal stains and character missing defects.

【図7】縦方向の汚れと文字欠け欠陥を検出する説明す
る図である。
FIG. 7 is a diagram for explaining detection of vertical stains and character missing defects.

【図8】欠陥検出の具体例を示した図である。FIG. 8 is a diagram showing a specific example of defect detection.

【図9】欠陥の合成画像の作成と欠陥位置検出の手順図
である。
FIG. 9 is a procedure diagram for creating a composite image of defects and detecting defect positions.

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

1 印刷物 2 ローラ 3 エンコーダ 4 ラインセンサカメラ 5 照明装置 6 位置センサ 7 印刷微小欠陥検査装置 8 CRT 9 ホストコンピュータ 13 検査画像メモリ 14 基準画像メモリ 15 パターンマッチング部 16 アドレス発生器 17 検査ユニット 1 Printed Material 2 Roller 3 Encoder 4 Line Sensor Camera 5 Lighting Device 6 Position Sensor 7 Printing Micro Defect Inspection Device 8 CRT 9 Host Computer 13 Inspection Image Memory 14 Reference Image Memory 15 Pattern Matching Section 16 Address Generator 17 Inspection Unit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 繰り返し連続印刷された同一絵柄を検査
する印刷物検査装置において、基準画像を格納する格納
手段と、検査対象となる検査画像を取り込み基準画像と
の位置ずれを検出し、この位置ずれを修正した修正画像
を出力する修正手段と、前記基準画像または前記修正画
像のいずれかに最大値フィルタをかけ、最大値フィルタ
をかけない画像から最大値フィルタをかけた画像を差し
引いた濃淡画像をしきい値により2値化して欠陥画像と
して検出する検出手段とを備えたことを特徴とする印刷
物検査装置。
1. In a printed matter inspection apparatus for inspecting the same pattern repeatedly and repeatedly printed, a positional deviation between a storage unit for storing a reference image and an inspection image to be inspected is detected and the reference image is detected. Correcting means for outputting a corrected image that has been corrected, a maximum value filter is applied to either the reference image or the corrected image, and a grayscale image obtained by subtracting the image subjected to the maximum value filter from the image not subjected to the maximum value filter is displayed. A printed matter inspection apparatus comprising: a detection unit that binarizes the image with a threshold value and detects the image as a defect image.
【請求項2】 繰り返し連続印刷された同一絵柄を検査
する印刷物検査装置において、基準画像を格納する格納
手段と、検査対象となる検査画像を取り込み基準画像と
の位置ずれを検出し、この位置ずれを修正した修正画像
を出力する修正手段と、前記基準画像と前記修正画像に
ついてそれぞれ、2画素の濃度差をその2画素の中心画
素の濃度とする差分画像を生成する差分手段と、前記基
準画像の差分画像または前記修正画像の差分画像のいず
れかに最大値フィルタをかけ、最大値フィルタをかけな
い画像から最大値フィルタをかけた画像を差し引いた濃
淡画像をしきい値により2値化して欠陥画像として検出
する検出手段とを備えたことを特徴とする印刷物検査装
置。
2. A printed matter inspection apparatus for inspecting the same pattern repeatedly and repeatedly printed, detecting a positional deviation between a storage means for storing a reference image and an inspection image to be inspected and detecting the reference image. Correction means for outputting a corrected image that has been corrected, difference means for generating a difference image in which the density difference of two pixels is the density of the center pixel of the two pixels for each of the reference image and the corrected image, and the reference image Of the difference image of No. 1 or the difference image of the corrected image, and the grayscale image obtained by subtracting the image on which the maximum value filter is subtracted from the image on which the maximum value filter is not applied is binarized by a threshold value to detect a defect. A printed matter inspection apparatus comprising: a detection unit that detects an image.
【請求項3】 連続する2画像のうち先の画像を前記基
準画像とし後の画像を前記検査画像とし、次に前記後の
画像を基準画像にし前記後の画像の次の画像を検査画像
にし、以下同様に基準画像と検査画像を定めるようにし
たことを特徴とする請求項1または2の印刷物検査装
置。
3. The first image of the two consecutive images is the reference image, the latter image is the inspection image, the second image is the reference image, and the image next to the latter image is the inspection image. 3. The printed matter inspection apparatus according to claim 1, wherein the reference image and the inspection image are similarly defined.
【請求項4】 前記検出手段は、修正画像の差分画像か
ら基準画像の差分画像に最大値フィルタをかけた画像を
差し引いて正となる画像を汚れ画像として検出すること
を特徴とする請求項2または3記載の印刷物検査装置。
4. The detection unit subtracts an image obtained by applying a maximum value filter to a difference image of a reference image from a difference image of a corrected image, and detects a positive image as a dirty image. Or the printed matter inspection apparatus described in 3.
【請求項5】 前記検出手段は、基準画像の差分画像か
ら修正画像の差分画像に最大値フィルタをかけた画像を
差し引いて正となる画像を文字欠け画像として検出する
ことを特徴とする請求項2または3記載の印刷物検査装
置。
5. The detection unit subtracts an image obtained by applying a maximum value filter to a difference image of a corrected image from a difference image of a reference image to detect a positive image as a character missing image. The printed matter inspection apparatus according to 2 or 3.
【請求項6】 前記差分手段は前記基準画像および修正
画像の水平方向および垂直方向について差分画像を生成
することを特徴とする請求項2ないし5のいずれかに記
載の印刷物検査装置。
6. The printed matter inspection apparatus according to claim 2, wherein the difference unit generates a difference image in the horizontal direction and the vertical direction of the reference image and the corrected image.
【請求項7】 前記差分手段は前記基準画像および修正
画像の水平方向および垂直方向について差分画像を生成
し、前記検出手段は、修正画像の水平方向差分画像から
基準画像の水平方向差分画像に最大値フィルタをかけた
画像を差し引いて正となる水平汚れ画像と、修正画像の
垂直方向差分画像から基準画像の垂直方向差分画像に最
大値フィルタをかけた画像を差し引いて正となる垂直汚
れ画像と、基準画像の水平方向差分画像から修正画像の
水平方向差分画像に最大値フィルタをかけた画像を差し
引いて正となる水平文字欠け画像と、基準画像の垂直方
向差分画像から修正画像の垂直方向差分画像に最大値フ
ィルタをかけた画像を差し引いて正となる垂直文字欠け
画像とを作成し、水平汚れ画像と垂直汚れ画像と水平文
字欠け画像と垂直文字欠け画像の論理和よりなる画像を
生成することを特徴とする請求項2または3記載の印刷
物検査装置。
7. The difference means generates a difference image in the horizontal direction and the vertical direction of the reference image and the corrected image, and the detection means maximizes the horizontal difference image of the reference image from the horizontal difference image of the corrected image. A horizontal smeared image that is positive by subtracting the value-filtered image and a vertical smeared image that is positive by subtracting the maximum-value-filtered image from the vertical difference image of the reference image from the corrected vertical difference image. , A horizontal character missing image that is positive by subtracting the image obtained by applying the maximum value filter to the horizontal difference image of the corrected image from the horizontal difference image of the reference image, and the vertical difference of the corrected image from the vertical difference image of the reference image The image with the maximum value filter applied to the image is subtracted to create a vertical character missing image that is positive, and a horizontal smeared image, a vertical smeared image, a horizontal character missing image, and a vertical sentence are created. The printed matter inspection apparatus according to claim 2 or 3, wherein an image formed by a logical sum of the character missing images is generated.
JP16729095A 1995-07-03 1995-07-03 Print inspection equipment Expired - Fee Related JP3204876B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16729095A JP3204876B2 (en) 1995-07-03 1995-07-03 Print inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16729095A JP3204876B2 (en) 1995-07-03 1995-07-03 Print inspection equipment

Publications (2)

Publication Number Publication Date
JPH0915168A true JPH0915168A (en) 1997-01-17
JP3204876B2 JP3204876B2 (en) 2001-09-04

Family

ID=15847022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16729095A Expired - Fee Related JP3204876B2 (en) 1995-07-03 1995-07-03 Print inspection equipment

Country Status (1)

Country Link
JP (1) JP3204876B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002267609A (en) * 2001-03-09 2002-09-18 Dainippon Printing Co Ltd Print output method and printed matter inspection device
KR100788980B1 (en) * 2006-02-03 2007-12-27 엠텍비젼 주식회사 Portable device and Method for controlling deep power down mode of shared memory
JP2008064486A (en) * 2006-09-05 2008-03-21 Dainippon Printing Co Ltd Device and method for inspecting printed matter
JP2010042634A (en) * 2008-08-18 2010-02-25 Dainippon Screen Mfg Co Ltd Printed image inspecting device and printing method
JP2015147417A (en) * 2014-02-07 2015-08-20 ミュラー・マルティニ・ホルディング・アクチエンゲゼルシヤフト Method for monitoring post-printing processing machine
JP2020046932A (en) * 2018-09-19 2020-03-26 京セラドキュメントソリューションズ株式会社 Fabric inspection device and ink jet textile printer including the same
WO2020090505A1 (en) * 2018-10-30 2020-05-07 京セラドキュメントソリューションズ株式会社 Fabric inspection device and inkjet print-dyeing apparatus equipped with same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5540595B2 (en) * 2009-07-30 2014-07-02 日本電気株式会社 Printed matter inspection apparatus, printed matter inspection system, printed matter inspection method, and printed matter inspection program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002267609A (en) * 2001-03-09 2002-09-18 Dainippon Printing Co Ltd Print output method and printed matter inspection device
JP4614301B2 (en) * 2001-03-09 2011-01-19 大日本印刷株式会社 Print output method and printed matter inspection apparatus
KR100788980B1 (en) * 2006-02-03 2007-12-27 엠텍비젼 주식회사 Portable device and Method for controlling deep power down mode of shared memory
JP2008064486A (en) * 2006-09-05 2008-03-21 Dainippon Printing Co Ltd Device and method for inspecting printed matter
JP2010042634A (en) * 2008-08-18 2010-02-25 Dainippon Screen Mfg Co Ltd Printed image inspecting device and printing method
JP2015147417A (en) * 2014-02-07 2015-08-20 ミュラー・マルティニ・ホルディング・アクチエンゲゼルシヤフト Method for monitoring post-printing processing machine
JP2020046932A (en) * 2018-09-19 2020-03-26 京セラドキュメントソリューションズ株式会社 Fabric inspection device and ink jet textile printer including the same
WO2020090505A1 (en) * 2018-10-30 2020-05-07 京セラドキュメントソリューションズ株式会社 Fabric inspection device and inkjet print-dyeing apparatus equipped with same
JPWO2020090505A1 (en) * 2018-10-30 2021-10-14 京セラドキュメントソリューションズ株式会社 Anti-countermeasure device and inkjet printing device equipped with it

Also Published As

Publication number Publication date
JP3204876B2 (en) 2001-09-04

Similar Documents

Publication Publication Date Title
JP6692052B2 (en) Image loss detection device and image loss detection method
JPH0957201A (en) Specific color region extracting system and specific color region removing system
JP3204876B2 (en) Print inspection equipment
JP3320164B2 (en) Printing inspection equipment
JP3960127B2 (en) Appearance inspection device
JP5190619B2 (en) Inspection method for inspection object and inspection apparatus therefor
JPH07249122A (en) Method and device for inspecting picture
JPH10232933A (en) Visual inspection assistant device for printed matter
JPH07186375A (en) Inspection method for printed matter
JP2733958B2 (en) Long sheet defect inspection equipment
JP4653339B2 (en) Image matching processing method
JP2876999B2 (en) Printing defect inspection equipment
JP3523994B2 (en) Print inspection equipment
JPH09288037A (en) Inspection method for lcd panel
JPH06147855A (en) Image inspection method
JP3374297B2 (en) Color image inspection method and color image inspection apparatus
JP3485975B2 (en) Specific color area extraction method and specific color area removal method
JPH04339653A (en) Apparatus for inspecting printing fault
JP2008014703A (en) Image flaw inspection system, image flaw inspection method and program
JPH11348241A (en) Method for examining printed matter and device therefor
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JPS63316276A (en) Recognizing device
JP2005205748A (en) Printed matter inspecting apparatus and printed matter inspecting method
JPH06325156A (en) Method and device for character shape inspection
JP2022131467A (en) Inspection apparatus and inspection method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130629

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20150629

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees