JPH09131951A - Printing quality judging device - Google Patents

Printing quality judging device

Info

Publication number
JPH09131951A
JPH09131951A JP7313703A JP31370395A JPH09131951A JP H09131951 A JPH09131951 A JP H09131951A JP 7313703 A JP7313703 A JP 7313703A JP 31370395 A JP31370395 A JP 31370395A JP H09131951 A JPH09131951 A JP H09131951A
Authority
JP
Japan
Prior art keywords
data
pattern data
image data
print
mask pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7313703A
Other languages
Japanese (ja)
Inventor
Tetsuya Hatsuda
哲也 初田
Masahiko Ikeda
雅彦 池田
Kazunari Iyoda
一成 伊豫田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP7313703A priority Critical patent/JPH09131951A/en
Publication of JPH09131951A publication Critical patent/JPH09131951A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To carry out automatically the inspection of total numbers by determining whether a printed matter is good or not based on a mask pattern data from a print image data and a sensed image data provided by picking up the image of the printed matter. SOLUTION: A printing data 1 is input into a raster image processor 2, and a master image data is formed by the raster image processor 2. The raster image data is input into a printing quality judging device 4, and the mask pattern data is formed by a mask pattern formation section of the printing quality judging device 4. The images of printed matters 5a and 5b are picked up by an image pickup camera 6 based on the master image data. Whether a printed surface formed by a printer 3 is good or not is judged for the printed matters 5a and 5b based on the mask pattern data and the sensed image data in a comparison judgement section of the printing quality judging device 4, and its inspection results are output.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印刷物の印刷品質
を判定する技術に属する。特に、入力されるデータに基
づいて可変情報を印刷する印刷装置、たとえばレーザプ
リンタ、インクジェットプリンタ、サーマルプリンタ等
によって印刷された部分の印刷品質判定装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for determining print quality of printed matter. In particular, the present invention relates to a printing device that prints variable information based on input data, for example, a printing quality determination device for a portion printed by a laser printer, an inkjet printer, a thermal printer, or the like.

【0002】[0002]

【従来の技術】近年、可変情報の印刷装置を用いたカタ
ログ、ダイレクトメール等への宛先、氏名、ID番号、
メッセージ、ロゴ、マーク、イラスト、地紋、画像等の
印刷が広く行われる。このような可変情報が正確に印刷
されているか否かの検査は人間による目視検査が主体で
あり、全数検査は作業負荷が大きく不良の見逃しが避け
られない。また印刷物の自動検査装置としては、たとえ
ば比較用の画像データをあらかじめ登録しておき、その
登録画像データとカメラ等により取込んだ検出画像デー
タを比較し、良否判定する装置が知られている。
2. Description of the Related Art Recently, a catalog using a variable information printing device, a destination for direct mail, a name, an ID number,
Widely used for printing messages, logos, marks, illustrations, tint blocks, and images. Visual inspection by humans is the main inspection for whether or not such variable information is printed accurately, and the total inspection has a large work load, and it is inevitable that defects will be overlooked. As an automatic inspection device for printed matter, for example, a device is known in which image data for comparison is registered in advance, and the registered image data is compared with the detected image data captured by a camera or the like to determine whether the image is good or bad.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記の自
動検査装置は固定した画像を印刷する印刷版を用いる印
刷の場合に適用される装置であり、ディジタルデータに
基づく可変画像を印刷する電子写真方式(レーザプリン
タ)、インクジェット方式(インクジェットプリンタ)
等による印刷の場合には、そのままでは適用できない。
また無理して適用する場合には、検査内容が毎回異なる
ため比較パターンをデータの件数分登録しなければなら
ず、データの作成、入力作業に多大な負荷が発生すると
いう問題がある。
However, the above-mentioned automatic inspection apparatus is an apparatus applied in the case of printing using a printing plate for printing a fixed image, and an electrophotographic system (for printing a variable image based on digital data). Laser printer), inkjet method (inkjet printer)
In case of printing by etc., it cannot be applied as it is.
In the case of applying it by force, since the inspection contents are different every time, the comparison patterns have to be registered for the number of data items, and there is a problem that a great load occurs in data creation and input work.

【0004】そこで本発明の目的は、人的負担、作業負
荷、製品への不良品の混入という人による検査のために
生じる問題をなくし、基準画像が個々の印刷物によって
異なるという問題を解決し、全数検査を自動で行う印刷
品質判定装置を提供することにある。
Therefore, an object of the present invention is to eliminate the problems caused by human inspection such as human burden, work load, and mixing of defective products into products, and solve the problem that the reference image is different for each printed matter. An object of the present invention is to provide a print quality determination device that automatically performs 100% inspection.

【0005】[0005]

【課題を解決するための手段】上記目的は、下記の本発
明により達成される。すなわち、本発明は「プリントイ
メージデータからマスクパターンデータを生成するマス
クパターン生成部と、前記プリントイメージデータに基
づいて印刷された印刷物を撮像し検出イメージデータを
得る撮像部と、前記マスクパターンデータと前記検出イ
メージデータから印刷物の良否判定を行う比較判定部と
を有する印刷品質判定装置」である。本発明によれば、
プリントイメージデータに基づいて印刷される印刷物の
良否判定は、そのプリントイメージデータから生成され
たマスクパターンデータと印刷物を撮像して得た検出イ
メージデータとから行われる。したがって印刷画像が個
々の印刷物によって異なっても検査を自動で行うことが
できる印刷品質判定装置が提供される。
The above objects are achieved by the present invention described below. That is, the present invention relates to a "mask pattern generation unit that generates mask pattern data from print image data, an imaging unit that captures detection image data by imaging a printed matter printed based on the print image data, and the mask pattern data. A print quality determination device having a comparison / determination unit that determines the quality of a printed material based on the detected image data ”. According to the present invention,
The quality of the printed matter to be printed based on the print image data is determined based on the mask pattern data generated from the print image data and the detected image data obtained by imaging the printed matter. Therefore, there is provided a print quality determination device capable of automatically performing an inspection even if a print image is different for each printed matter.

【0006】また本発明は「前記マスクパターン生成部
は縦横倍率変換手段を有し、前記縦横倍率変換手段は、
プリントイメージと検出イメージが重なるように、少な
くとも前記プリントイメージデータまたは前記検出イメ
ージデータの一方の縦横倍率を変換する印刷品質判定装
置」である。本発明によれば、プリントイメージデータ
を構成する画素の縦および横配列密度と検出イメージデ
ータを構成する画素の縦および横配列密度とが異なる場
合においても、縦横倍率を変換することにより両者の画
素の縦および横配列密度とを一致させることができる。
すなわち、両者の同じ配列位置の画素が対応関係を有す
るようにすることができる。
According to the present invention, "the mask pattern generation section has a vertical / horizontal magnification conversion means, and the vertical / horizontal magnification conversion means is
A print quality determination device that converts at least one aspect ratio of the print image data or the detected image data so that the print image and the detected image overlap. According to the present invention, even when the vertical and horizontal arrangement densities of pixels forming print image data and the vertical and horizontal arrangement densities of pixels forming detected image data are different, both pixels are converted by converting the vertical and horizontal magnifications. The vertical and horizontal array densities of can be matched.
That is, both pixels at the same array position can have a correspondence relationship.

【0007】また本発明は「前記マスクパターン生成部
は2値化手段と、膨張処理手段と、マスク処理手段とを
有し、前記2値化手段は前記プリントイメージデータを
所定の閾値で2値化し、2値化プリントパターンデータ
を生成し、前記膨張処理手段は前記2値化プリントパタ
ーンデータの膨張処理を行い、膨張パターンデータを生
成し、前記マスク処理手段は、検査領域の外側をマスク
するデータである検査領域外マスクパターンデータと前
記膨張パターンデータとを合成して膨張マスクパターン
データを生成する印刷品質判定装置」である。本発明に
よれば、プリントイメージデータによって印刷され、印
刷インキの付着する部分をほぼ包含するパターンである
膨張パターンデータが生成され、それに検査領域外マス
クパターンデータが合成される。したがって、膨張マス
クパターンデータにより、検査領域外と印刷インキの付
着する部分とをマスクすることができる。逆を述べる
と、検査領域内の印刷インキの付着しない部分を抽出す
ることができる。
According to the present invention, "the mask pattern generating section has a binarizing means, an expansion processing means, and a mask processing means, and the binarizing means binarizes the print image data with a predetermined threshold value. To generate binarized print pattern data, the expansion processing means performs expansion processing on the binarized print pattern data to generate expansion pattern data, and the mask processing means masks the outside of the inspection region. It is a print quality determination device for generating expanded mask pattern data by synthesizing mask pattern data outside the inspection area, which is data, and the expanded pattern data. According to the present invention, expanded pattern data, which is a pattern that is printed by the print image data and substantially covers the portion where the printing ink is attached, is generated, and the mask pattern data outside the inspection area is combined with it. Therefore, it is possible to mask the outside of the inspection area and the portion where the printing ink adheres by the expanded mask pattern data. To put it the other way around, it is possible to extract the portion of the inspection area where the printing ink does not adhere.

【0008】また本発明は「前記マスクパターン生成部
は2値化手段と、収縮処理手段と、反転処理手段と、マ
スク処理手段とを有し、前記2値化手段は前記プリント
イメージデータを所定の閾値で2値化し、2値化プリン
トパターンデータを生成し、前記収縮処理手段は前記2
値化プリントパターンデータの収縮処理を行い、収縮パ
ターンデータを生成し、前記反転処理手段は前記収縮パ
ターンデータの反転処理を行い、反転パターンデータを
生成し、前記マスク処理手段は、検査領域の外側をマス
クするデータである検査領域外マスクパターンデータと
前記反転パターンデータとを合成して収縮マスクパター
ンデータを生成する印刷品質判定装置」である。本発明
によれば、プリントイメージデータによって印刷され、
印刷インキの付着する部分にほぼ包含されるパターンで
ある収縮パターンデータが生成され、それが反転処理さ
れて反転パターンデータが生成され、それに検査領域外
マスクパターンデータが合成される。したがって、収縮
マスクパターンデータにより、検査領域外と印刷インキ
の付着しない部分とをマスクすることができる。逆を述
べると、検査領域内の印刷インキの付着する部分を抽出
することができる。
According to the present invention, "the mask pattern generating section has a binarizing means, a contraction processing means, an inversion processing means, and a mask processing means, and the binarizing means predetermines the print image data. Binarization is performed with the threshold value of 2 to generate binarized print pattern data,
Contraction processing of the digitized print pattern data is performed to generate contraction pattern data, the reversal processing means performs reversal processing of the contraction pattern data to generate reversal pattern data, and the mask processing means is outside the inspection area. Is a print quality judging device for synthesizing mask pattern data outside the inspection area, which is data for masking, and the inversion pattern data to generate contraction mask pattern data. According to the present invention, the print image data is printed,
Shrinkage pattern data, which is a pattern substantially included in the portion where the printing ink adheres, is generated, and the shrinkage pattern data is inverted to generate inverted pattern data, which is combined with the mask pattern data outside the inspection area. Therefore, the contraction mask pattern data can be used to mask the outside of the inspection area and the portion where the printing ink does not adhere. Conversely, it is possible to extract the portion of the inspection area to which the printing ink adheres.

【0009】また本発明は「前記比較判定部は、総和演
算手段と、比較手段とを有し、前記総和演算手段は、前
記膨張マスクパターンデータのマスク領域外に存在する
前記検出イメージデータの画素値の総和を演算し、前記
比較手段は、その総和を所定値と比較してその総和が大
の場合に過大不良信号を出力する印刷品質判定装置」で
ある。本発明によれば、総和演算手段により膨張マスク
パターンデータのマスク領域外に存在する検出イメージ
データの画素値の総和が演算される。正常に印刷が行わ
れる場合にはマスク領域外には印刷が行われないから画
素値の総和は小さい。一方、マスク領域外に印刷が行わ
れた場合には画素値の総和は大きくなる。比較手段によ
りその総和が所定値と比較されその総和が大の場合に過
大不良信号が出力される。
According to the present invention, "the comparison / determination unit has a summing calculation unit and a comparison unit, and the summing calculation unit is a pixel of the detected image data existing outside the mask area of the expanded mask pattern data. It is a print quality judging device which calculates the sum of the values and compares the sum with a predetermined value and outputs an excessive defect signal when the sum is large. " According to the present invention, the sum total calculation means calculates the sum total of the pixel values of the detected image data existing outside the mask area of the expanded mask pattern data. When printing is performed normally, printing is not performed outside the mask area, so the sum of pixel values is small. On the other hand, when printing is performed outside the mask area, the total sum of pixel values becomes large. The comparison means compares the total sum with a predetermined value, and when the total sum is large, an excessive failure signal is output.

【0010】また本発明は「前記比較判定部は、画素抜
け総和演算手段と、比較手段とを有し、前記総和演算手
段は、前記収縮マスクパターンデータのマスク領域外に
存在する前記検出イメージデータの画素抜けの総和を演
算し、前記比較手段は、その総和を所定値と比較してそ
の総和が大の場合に過小不良信号を出力する印刷品質判
定装置」である。本発明によれば、画素抜け総和演算手
段により収縮マスクパターンデータのマスク領域外に存
在する検出イメージデータの画素抜けの総和が演算され
る。正常に印刷が行われる場合にはマスク領域外は印刷
が行われているから画素抜けの総和は小さい。一方、マ
スク領域外に印刷の抜けがある場合には画素抜けの総和
は大きくなる。比較手段によりその総和が所定値と比較
されその総和が大の場合に過小不良信号が出力される。
According to the present invention, "the comparison / determination unit has a missing pixel sum total calculation means and a comparison means, and the sum total calculation means includes the detected image data existing outside the mask area of the contraction mask pattern data. Of the pixel omission, and the comparing means compares the total with a predetermined value and outputs an under-defective signal when the total is large. " According to the present invention, the total pixel omission sum calculation means calculates the total pixel omission of the detection image data existing outside the mask area of the contraction mask pattern data. When printing is performed normally, printing is performed outside the mask area, so the total pixel omission is small. On the other hand, when there is a printing omission outside the mask area, the total pixel omission becomes large. The comparison means compares the total sum with a predetermined value, and when the total sum is large, an under-defective signal is output.

【0011】また本発明は「テストパターンに基づい
て、少なくとも前記膨張処理手段による膨張処理の条件
と、前記収縮処理手段による収縮処理の条件とを設定す
る検査条件設定部を有する印刷品質判定装置」である。
本発明によれば、検査条件設定部によりテストパターン
に基づいて膨張処理の条件と収縮処理の条件とが設定さ
れる。この設定は印刷品質判定装置の設置状態において
行われるから、適正な設定を容易に行うことができる。
The present invention also relates to a "print quality judging device having an inspection condition setting unit for setting at least conditions for expansion processing by the expansion processing means and conditions for contraction processing by the contraction processing means based on a test pattern". Is.
According to the present invention, the inspection condition setting unit sets the expansion processing condition and the contraction processing condition based on the test pattern. Since this setting is performed while the print quality determination device is installed, proper setting can be easily performed.

【0012】[0012]

【発明の実施の形態】本発明について実施の形態により
説明する。図1は本発明の印刷品質判定装置とその周辺
装置の構成を示す図である。図1において、1は印刷デ
ータ、2はラスタイメージプロセッサ、3はプリンタ、
4は印刷品質判定装置、5a,5bは印刷物、6は撮像
カメラ、7は位置検出センサである。印刷データ1はテ
キストデータあるいは文章や図形の位置や傾きを記述す
るポストスクリプトデータ等のコードデータである。ま
た印刷データ1は一枚の印刷物に印刷する内容を一塊の
データとしてレコードを構成し、そのレコードを印刷物
の数だけ印刷順に配列したデータ構造を有する。この印
刷データ1を入力してラスタイメージプロセッサ2はラ
スタイメージデータを生成する。ラスタイメージデータ
は印刷データ1をビットマップに展開したものであり、
プリンタに出力される場合にはプリントイメージデータ
とも呼ばれる。本発明においてラスタイメージデータと
プリントイメージデータとは同一である。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described with reference to embodiments. FIG. 1 is a diagram showing a configuration of a print quality determination device of the present invention and its peripheral devices. In FIG. 1, 1 is print data, 2 is a raster image processor, 3 is a printer,
Reference numeral 4 is a print quality determination device, 5a and 5b are printed matter, 6 is an imaging camera, and 7 is a position detection sensor. The print data 1 is code data such as text data or Postscript data that describes the position and inclination of a sentence or a figure. Further, the print data 1 has a data structure in which a record is formed by using the content to be printed on one printed matter as one block of data, and the records are arranged in the printing order by the number of printed matters. The raster image processor 2 receives the print data 1 and generates raster image data. The raster image data is the print data 1 expanded into a bitmap.
When output to a printer, it is also called print image data. In the present invention, the raster image data and the print image data are the same.

【0013】このラスタイメージデータはラスタイメー
ジプロセッサ2からプリンタ3と印刷品質判定装置4に
出力される。プリンタ3が入力したラスタイメージデー
タはプリンタ3によって印刷用紙に印刷されて印刷物5
a,5bが得られる。一方、印刷品質判定装置4が入力
したラスタイメージデータは印刷品質判定装置4のマス
クパターン生成部(図示せず)によって演算処理が行わ
れ、マスクパターンデータが生成される。印刷品質判定
装置4には撮像カメラ6と位置検出センサ7が接続され
ている。印刷品質判定装置4の撮像部(図示せず)の指
令により、撮像カメラ6はラスタイメージデータに基づ
いて印刷された印刷物の印刷面を撮像し、撮像信号を印
刷品質判定装置4に出力する。印刷品質判定装置4の撮
像部は、入力した撮像信号に対してA/D変換する等の
処理を行い検出イメージデータを得る。
This raster image data is output from the raster image processor 2 to the printer 3 and the print quality judging device 4. The raster image data input by the printer 3 is printed on the printing paper by the printer 3 and the printed matter 5 is printed.
a and 5b are obtained. On the other hand, the raster image data input by the print quality determination device 4 is subjected to arithmetic processing by a mask pattern generation unit (not shown) of the print quality determination device 4 to generate mask pattern data. An image pickup camera 6 and a position detection sensor 7 are connected to the print quality determination device 4. In response to a command from an image capturing unit (not shown) of the print quality determining device 4, the image capturing camera 6 captures an image of the printed surface of the printed material based on the raster image data, and outputs an image capturing signal to the print quality determining device 4. The image pickup unit of the print quality determination device 4 performs processing such as A / D conversion on the input image pickup signal to obtain detected image data.

【0014】印刷物5a,5bはプリンタ3から排出さ
れて移送されており、この撮像カメラ6による印刷面の
撮像は、位置検出センサ7によって検出される印刷物5
a,5bの位置データに基づいて行われる。すなわち、
印刷品質判定装置4の撮像部は位置検出センサ7の出力
信号を入力して印刷物5a,5bの位置データを演算
し、その位置データに基づいて、印刷物5a,5bの所
定の領域を撮像するように、撮像カメラ6に撮像を指令
する。印刷品質判定装置4の比較判定部(図示せず)
は、前述のマスクパターンデータと検出イメージデータ
から印刷物5a,5bのプリンタ3による印刷面の良否
判定を行い、検査結果を出力する。
The printed matters 5a and 5b are discharged from the printer 3 and transferred, and the image pickup of the printing surface by the image pickup camera 6 detects the printed matter 5 detected by the position detection sensor 7.
This is performed based on the position data of a and 5b. That is,
The image pickup unit of the print quality determination device 4 inputs the output signal of the position detection sensor 7 to calculate the position data of the printed matter 5a and 5b, and picks up a predetermined area of the printed matter 5a and 5b based on the position data. Then, the imaging camera 6 is instructed to perform imaging. Comparison determination unit (not shown) of the print quality determination device 4
Determines the quality of the print surface of the printed matter 5a, 5b by the printer 3 from the above-mentioned mask pattern data and the detected image data, and outputs the inspection result.

【0015】[0015]

【実施例】次に、本発明について実施例に基づき詳細を
説明する。図2はプリントイメージデータ、マスクパタ
ーンデータおよび検出イメージデータの一例を示す図で
ある。図2において、21はプリントイメージデータ、
22は検査領域外マスクパターンデータ、23は膨張パ
ターンデータ、24は検出イメージデータである。図2
において、マスクパターンデータは膨張マスクパターン
データであり、膨張マスクパターンデータは検査領域外
マスクパターンデータ22の部分と膨張パターンデータ
23の部分から構成されている。
EXAMPLES Next, the present invention will be described in detail based on examples. FIG. 2 is a diagram showing an example of print image data, mask pattern data, and detection image data. In FIG. 2, 21 is print image data,
22 is mask pattern data outside the inspection area, 23 is expansion pattern data, and 24 is detection image data. FIG.
In the above, the mask pattern data is expanded mask pattern data, and the expanded mask pattern data is composed of a portion of the out-of-inspection mask pattern data 22 and a portion of the expanded pattern data 23.

【0016】図2に示すように、プリントイメージデー
タ21は検出イメージデータ24と比較してサイズが大
きい。プリントイメージデータ21も検出イメージデー
タ24も、縦横に配列した複数の画素の明暗データから
構成されるビットマップデータである。サイズが大きい
ということは、画素数が多く画素配列密度を同じにする
と画像サイズが大きいという意味である。図2の場合は
サイズが大きいプリントイメージデータ21のサイズを
変更して検出イメージデータ24と同一サイズのプリン
トイメージデータとした後に、そのデータに基づいてマ
スクパターンデータが生成される。この同一サイズとす
る処理はマスクパターン生成部の縦横倍率変換手段によ
って行われる。この縦横倍率変換手段によって行われる
縦横倍率を変換する処理は、画素数を同じにしてプリン
トイメージと検出イメージが重なるようにする処理であ
る。このようなデータの変換方法としては、ニアレスト
ネーバ法、バイリニア法、キュービックコンボリューシ
ョン法等の公知の方法を適用することができる。
As shown in FIG. 2, the print image data 21 is larger in size than the detected image data 24. Both the print image data 21 and the detection image data 24 are bitmap data composed of light and dark data of a plurality of pixels arranged vertically and horizontally. The large size means that the image size is large when the number of pixels is large and the pixel array density is the same. In the case of FIG. 2, the size of the print image data 21 having a large size is changed to make print image data of the same size as the detected image data 24, and then mask pattern data is generated based on the data. This processing of making the sizes the same is performed by the vertical / horizontal magnification conversion means of the mask pattern generation unit. The process of converting the vertical / horizontal ratio performed by the vertical / horizontal ratio converting means is a process of making the number of pixels the same so that the print image and the detected image overlap. As such a data conversion method, a known method such as a nearest neighbor method, a bilinear method, or a cubic convolution method can be applied.

【0017】また前述したように、マスクパターンデー
タは検査領域外マスクパターンデータ22と膨張パター
ンデータ23の2つの部分から構成される。膨張パター
ンデータ23は前述の同一サイズのプリントイメージデ
ータの印刷データ部分を2値化した後に膨張処理を行っ
て生成する。このマスクパターンデータを生成する処理
はマスクパターン生成部の2値化手段、膨張処理手段お
よびマスク処理手段によって行われる。このマスクパタ
ーンデータ(膨張マスクパターンデータ)により、検査
領域外と印刷インキの付着する部分とをマスクすること
ができる。すなわち、検査領域内の印刷インキの付着し
ない部分を抽出することができる。この抽出されたデー
タからインキ垂れ、汚れのような欠陥を検出することが
できる。
Further, as described above, the mask pattern data is composed of two portions, that is, the mask pattern data outside the inspection area 22 and the expansion pattern data 23. The expansion pattern data 23 is generated by binarizing the print data portion of the above-described print image data of the same size and then performing expansion processing. The process of generating the mask pattern data is performed by the binarizing unit, the expansion processing unit, and the mask processing unit of the mask pattern generation unit. With this mask pattern data (expanded mask pattern data), it is possible to mask the outside of the inspection area and the portion where the printing ink adheres. That is, it is possible to extract a portion in the inspection area where the printing ink does not adhere. Defects such as ink dripping and stains can be detected from the extracted data.

【0018】上記図2とは別の一例を次に示す。図3は
プリントイメージデータ、マスクパターンデータおよび
検出イメージデータの別例を示す図である。図3におい
て、31はプリントイメージデータ、32は検査領域外
マスクパターンデータ、33は反転パターンデータ、3
4は検出イメージデータである。図3において、マスク
パターンデータは収縮マスクパターンデータであり、収
縮マスクパターンデータは検査領域外マスクパターンデ
ータ32の部分と反転パターンデータ33の部分から構
成されている。
Another example different from that of FIG. 2 will be shown below. FIG. 3 is a diagram showing another example of print image data, mask pattern data, and detection image data. In FIG. 3, 31 is print image data, 32 is mask pattern data outside inspection area, 33 is reverse pattern data, 3
Reference numeral 4 is detection image data. In FIG. 3, the mask pattern data is contraction mask pattern data, and the contraction mask pattern data is composed of a portion of the mask pattern data outside the inspection area 32 and a portion of the inversion pattern data 33.

【0019】図3に示すように、プリントイメージデー
タ31は検出イメージデータ34と比較してサイズが大
きい。図2の場合と同様の説明を繰り返すが、プリント
イメージデータ31も検出イメージデータ34も、縦横
に配列した複数の画素の明暗データから構成されるビッ
トマップデータである。サイズが大きいということは、
画素数が多く画素配列密度を同じにすると画像サイズが
大きいという意味である。図3の場合はサイズが大きい
プリントイメージデータ31のサイズを変更して検出イ
メージデータ34と同一サイズのプリントイメージデー
タとした後に、そのデータに基づいてマスクパターンデ
ータが生成される。この同一サイズとする処理はマスク
パターン生成部の縦横倍率変換手段によって行われる。
この縦横倍率変換手段によって行われる縦横倍率を変換
する処理は、画素数を同じにしてプリントイメージと検
出イメージが重なるようにする処理である。このような
データの変換方法としては、ニアレストネーバ法、バイ
リニア法、キュービックコンボリューション法等の公知
の方法を適用することができる。
As shown in FIG. 3, the print image data 31 is larger in size than the detection image data 34. Although the same description as in the case of FIG. 2 is repeated, both the print image data 31 and the detection image data 34 are bitmap data composed of light and dark data of a plurality of pixels arranged vertically and horizontally. The large size means that
This means that if the number of pixels is large and the pixel array density is the same, the image size is large. In the case of FIG. 3, after changing the size of the print image data 31 having a large size to make the print image data of the same size as the detection image data 34, the mask pattern data is generated based on the data. This processing of making the sizes the same is performed by the vertical / horizontal magnification conversion means of the mask pattern generation unit.
The process of converting the vertical / horizontal ratio performed by the vertical / horizontal ratio converting means is a process of making the number of pixels the same so that the print image and the detected image overlap. As such a data conversion method, a known method such as a nearest neighbor method, a bilinear method, or a cubic convolution method can be applied.

【0020】また前述したように、マスクパターンデー
タは検査領域外マスクパターンデータ32と反転パター
ンデータ33の2つの部分から構成される。反転パター
ンデータ33は前述の同一サイズのプリントイメージデ
ータの印刷データ部分を2値化した後に収縮処理を行
い、さらに反転処理を行って生成する。このマスクパタ
ーンデータを生成する処理はマスクパターン生成部の2
値化手段、収縮処理手段、反転処理手段およびマスク処
理手段によって行われる。このマスクパターンデータ
(収縮マスクパターンデータ)により、検査領域外と印
刷インキの付着しない部分とをマスクすることができ
る。すなわち、検査領域内の印刷インキの付着する部分
を抽出することができる。この抽出されたデータから文
字欠け、白抜けのような欠陥を検出することができる。
Further, as described above, the mask pattern data is composed of two parts, that is, the mask pattern data outside the inspection area 32 and the reverse pattern data 33. The inversion pattern data 33 is generated by binarizing the print data portion of the above-described print image data of the same size, then performing contraction processing, and further performing inversion processing. The process of generating this mask pattern data is performed by the mask pattern generator 2
This is performed by the value conversion means, the contraction processing means, the inversion processing means, and the mask processing means. With this mask pattern data (contraction mask pattern data), it is possible to mask the outside of the inspection area and the portion to which the printing ink does not adhere. That is, it is possible to extract the portion of the inspection area to which the printing ink is attached. From the extracted data, it is possible to detect defects such as missing characters and blank areas.

【0021】次に、前述の処理を含めて、本発明の印刷
品質判定装置におけるデータ処理過程の全体について説
明する。図4は本発明の印刷品質判定装置および周辺装
置におけるデータ処理過程を示すフロー図である。図4
において、まず印刷機側における処理を説明する。印刷
データ(図1参照)がRIP(ラスタイメージプロセッ
サ)に出力され(S1)、RIPは印刷データを入力し
てラスタイメージデータ(プリントイメージデータのこ
とをラスタイメージデータとも呼ぶ)を生成しプリンタ
と検査装置(印刷品質判定装置のことを検査装置とも呼
ぶ)に出力する(S2)。プリンタはラスタイメージデ
ータを入力して印刷を行い印刷物を排出し(S3)、そ
の印刷物は移送されて撮像カメラの撮像領域に接近する
(S4)。
Next, the entire data processing process in the print quality judging apparatus of the present invention including the above-mentioned processing will be described. FIG. 4 is a flow chart showing a data processing process in the print quality judging device and the peripheral device of the present invention. FIG.
First, the processing on the printing machine side will be described. The print data (see FIG. 1) is output to a RIP (raster image processor) (S1), and the RIP inputs the print data to generate raster image data (print image data is also referred to as raster image data) to generate a printer. The data is output to the inspection device (the print quality determination device is also referred to as an inspection device) (S2). The printer inputs the raster image data, prints the printed matter, and discharges the printed matter (S3). The printed matter is transported and approaches the image pickup area of the image pickup camera (S4).

【0022】撮像カメラは、周期的に繰返し撮像を行っ
ており、その撮像信号はA/D変換されディジタル化さ
れバッファメモリに繰返し更新記憶される(S5)。移
送される印刷物の位置は位置検出センサによって検出さ
れており、位置検出センサは移送される印刷物の位置が
撮像カメラの撮像領域の所定の位置に達すると、転送C
UE信号をバッファメモリに出力する(S6)。その転
送CUE信号を入力してバッファメモリは記憶されてい
るデータである検出イメージデータを検査装置の比較判
定部に転送する(S7)。
The image pickup camera periodically and repeatedly picks up an image, and the image pickup signal is A / D converted, digitized, and repeatedly updated and stored in the buffer memory (S5). The position of the printed material to be transferred is detected by the position detection sensor. When the position of the printed material to be transferred reaches a predetermined position in the imaging area of the imaging camera, the position detection sensor transfers C.
The UE signal is output to the buffer memory (S6). Upon inputting the transfer CUE signal, the buffer memory transfers the stored detection image data to the comparison / determination unit of the inspection device (S7).

【0023】一方、検査装置に出力されたラスタイメー
ジデータは記憶装置に記憶される。検査装置はパーソナ
ルコンピュータ、ワークステーション等のコンピュータ
の本体、あるいは、必要に応じてそれに高速の画像処理
装置を付加することで実現することができる。ラスタイ
メージデータはそのような装置の主記憶装置、フレーム
メモリあるいは画像メモリ等に記憶される(S8)。
On the other hand, the raster image data output to the inspection device is stored in the storage device. The inspection apparatus can be realized by the body of a computer such as a personal computer or a workstation, or by adding a high-speed image processing apparatus to it if necessary. The raster image data is stored in the main memory, frame memory, image memory or the like of such a device (S8).

【0024】次にラスタイメージデータは検出イメージ
データとサイズを一致させるために、縦横倍率変換処理
が行われる。通常ラスタイメージデータは検出イメージ
データよりもサイズが大きいためラスタイメージデータ
のサイズを縮小する処理が行われるが、一般的にはラス
タイメージデータと検出イメージデータのいずれを縦横
倍率変換処理してもよい。ラスタイメージデータの画素
サイズがA行×B列であり、そのデータによって印刷さ
れた印刷面を撮像して得た検出イメージデータの画素サ
イズがC行×D列であるとする。その場合は、C/A=
α,D/B=βとしてあらかじめα,βを求めておき、
(α×A)行×(β×B)列の画素サイズに、ラスタイ
メージデータを縦横倍率変換処理する。縦横倍率変換処
理の方法としては前述したように、ニアレストネーバ
法、バイリニア法、キュービックコンボリューション法
等の方法を適用することができる(S9)。
Next, in order to make the size of the raster image data coincide with the size of the detected image data, vertical and horizontal magnification conversion processing is performed. Normally, since the size of raster image data is larger than the size of the detected image data, the process of reducing the size of the raster image data is performed, but generally, either the raster image data or the detected image data may be subjected to the vertical / horizontal magnification conversion process. . It is assumed that the pixel size of the raster image data is A rows × B columns, and the pixel size of the detection image data obtained by imaging the print surface printed with the data is C rows × D columns. In that case, C / A =
If α and D / B = β, α and β are obtained in advance,
The raster image data is subjected to vertical-horizontal scaling conversion processing to a pixel size of (α × A) rows × (β × B) columns. As a method of the vertical-horizontal magnification conversion processing, as described above, a method such as the nearest neighbor method, the bilinear method, the cubic convolution method or the like can be applied (S9).

【0025】次に縦横倍率変換処理が行われたラスタイ
メージデータを2値化処理して2値化パターンデータを
得る。2値化処理の方法は、あらかじめ閾値を与えてお
く固定閾値法、累積分布がpパーセントとなる明るさを
閾値とするpタイル法、明るさのヒストグラムが双峰性
であればその谷の明るさの値を閾値とするモード法等の
方法を適用することができる(S10)。
Next, the raster image data subjected to the vertical / horizontal magnification conversion processing is binarized to obtain binarized pattern data. The binarization method is a fixed threshold method in which a threshold value is given in advance, a p-tile method in which the brightness at which the cumulative distribution is p percent is used as a threshold value, and the brightness of the valley if the brightness histogram is bimodal. It is possible to apply a method such as a modal method in which the threshold value is the height value (S10).

【0026】一方、あらかじめ検査条件の設定処理が行
われており(後述する)、検査エリア、縦横倍率、膨張
収縮処理条件等の設定データが得られている(S1
1)。この設定データに基づいて、次に2値化パターン
データに対して膨張処理を行い膨張パターンデータを得
る。膨張処理は2値化パターンデータをそのまま使用す
ると、検出イメージデータとの解像度が違った場合の縦
横倍率変換処理の誤差、撮像カメラのレンズ倍率微妙な
変化、歪曲等によって差分が発生するのを防止するため
に行われる。1回の膨張処理は2値化パターンデータの
“1”の画素に接する“0”の画素を“1”の画素に1
回だけ置き換える処理である。この膨張処理は設定デー
タに基づき所定の回数だけ行われる(S12)。
On the other hand, inspection condition setting processing has been performed in advance (described later), and setting data such as the inspection area, vertical and horizontal magnification, and expansion / contraction processing conditions have been obtained (S1).
1). Next, based on this setting data, expansion processing is performed on the binarized pattern data to obtain expansion pattern data. If the binarized pattern data is used as it is for the expansion process, it is possible to prevent a difference from occurring due to an error in the vertical / horizontal magnification conversion processing when the resolution is different from the detected image data, a slight change in the lens magnification of the imaging camera, or distortion. Is done to In one expansion process, the pixel of “0” which is in contact with the pixel of “1” of the binary pattern data is set to the pixel of “1” by 1
It is a process of replacing only once. This expansion process is performed a predetermined number of times based on the setting data (S12).

【0027】次に、前述の図2に示すように膨張パター
ンデータ23はマスクパターンデータに割り付けられる
(S13)。さらに検査エリアの設定データに基づいて
検査領域外マスクパターンデータ22がマスクパターン
データに割り付けられ、マスクパターンデータ(膨張マ
スクパターンデータ)を生成する(S14)。
Next, as shown in FIG. 2, the expansion pattern data 23 is assigned to the mask pattern data (S13). Further, the mask pattern data 22 outside the inspection area is allocated to the mask pattern data based on the setting data of the inspection area, and the mask pattern data (expanded mask pattern data) is generated (S14).

【0028】さて、S7において検査装置の比較判定部
に転送された検出イメージデータはマスクパターンデー
タに基づいてマスク処理され、検査領域だけのデータが
得られる。マスク処理はマスクパターンデータの“1”
の画素と同じ位置の検出イメージデータの画素の値を
“0”とし、マスク処理はマスクパターンデータの
“0”の画素と同じ位置の検出イメージデータの画素の
値はそのままの値とする処理である。このようにマスク
処理された検査領域だけのデータに基づいて、比較判定
部の総和演算手段により画素値の総和が求められる。こ
の検査領域には正常であれば印刷が行われないから、正
常であれば画素値の総和は小さな値となる(S15)。
The detected image data transferred to the comparison / determination unit of the inspection device in S7 is masked based on the mask pattern data, and only the inspection area data is obtained. Mask processing is “1” of mask pattern data
The value of the pixel of the detected image data at the same position as the pixel of “0” is set to “0”, and the mask processing is the processing of leaving the value of the pixel of the detected image data at the same position as the pixel of “0” of the mask pattern data as it is. is there. Based on the data of only the inspection area masked in this way, the sum total of the pixel values is obtained by the sum calculation means of the comparison / determination unit. If the inspection area is normal, printing is not performed, so if it is normal, the sum of the pixel values becomes a small value (S15).

【0029】次に比較判定部の比較手段によりその総和
は所定の判定基準値と比較されて、その総和が所定の判
定基準値よりも大の場合には過大不良信号を出力する。
過大不良信号が出力されるのは印刷が行われないはずの
検査領域に印刷が行われたり、汚れが付いたりする異常
が発生した場合等である(S16)。
Next, the total sum is compared with a predetermined judgment reference value by the comparing means of the comparison judgment unit, and if the total sum is larger than the predetermined judgment reference value, an excessive failure signal is output.
The excessive defect signal is output when there is an abnormality such as printing or stain in the inspection area where printing should not be performed (S16).

【0030】上述の膨張処理によるマスクパターンデー
タに対して、収縮処理によるマスクパターンデータ(収
縮処理マスクパターンデータ)に基づく印刷品質判定処
理が行われる。次にそれを説明する。あらかじめ検査条
件の設定処理が行われており(後述する)、検査エリ
ア、縦横倍率、膨張収縮処理条件等の設定データが得ら
れている(S11)。
The print quality determination process based on the mask pattern data (contraction process mask pattern data) by the contraction process is performed on the mask pattern data by the expansion process. Next, it will be described. The inspection condition setting process is performed in advance (described later), and the setting data such as the inspection area, the vertical / horizontal magnification, and the expansion / contraction process condition are obtained (S11).

【0031】この設定データに基づいて、次に2値化パ
ターンデータに対して収縮処理を行い収縮パターンデー
タを得る。収縮処理は2値化パターンデータをそのまま
使用すると、検出イメージデータとの解像度が違った場
合の縦横倍率変換処理の誤差、撮像カメラのレンズ倍率
微妙な変化、歪曲等によって差分が発生するのを防止す
るために行われる。1回の収縮処理は2値化パターンデ
ータの“0”の画素に接する“1”の画素を“0”の画
素に1回だけ置き換える処理である。この収縮処理は設
定データに基づき所定の回数だけ行われる(S17)。
On the basis of the setting data, the binarized pattern data is then subjected to shrinkage processing to obtain shrinkage pattern data. If the binarized pattern data is used as it is for the contraction process, it prevents generation of differences due to vertical / horizontal magnification conversion processing errors when the resolution differs from the detected image data, subtle changes in the lens magnification of the imaging camera, and distortion. Is done to One contraction process is a process of replacing the pixel of "1" in contact with the pixel of "0" of the binary pattern data with the pixel of "0" only once. This contraction processing is performed a predetermined number of times based on the setting data (S17).

【0032】次に、収縮パターンデータを反転処理して
反転パターンデータを得る。反転処理は“0”の画素を
“1”に置き換え“1”の画素を“0”に置き換える処
理である。前述の図3に示すように反転パターンデータ
33はマスクパターンデータに割り付けられる(S1
8)。さらに検査エリアの設定データに基づいて検査領
域外マスクパターンデータ32がマスクパターンデータ
に割り付けられ、マスクパターンデータ(膨張マスクパ
ターンデータ)を生成する(S19)。
Next, the contraction pattern data is subjected to the inversion process to obtain the inversion pattern data. The inversion process is a process of replacing the pixel of “0” with “1” and the pixel of “1” with “0”. As shown in FIG. 3, the reverse pattern data 33 is assigned to the mask pattern data (S1).
8). Further, the mask pattern data 32 outside the inspection area is allocated to the mask pattern data based on the setting data of the inspection area, and the mask pattern data (expanded mask pattern data) is generated (S19).

【0033】さて、S7において検査装置の比較判定部
に転送された検出イメージデータはマスクパターンデー
タに基づいてマスク処理され、検査領域だけのデータが
得られる。マスク処理はマスクパターンデータの“1”
の画素と同じ位置の検出イメージデータの画素の値を
“0”とし、マスク処理はマスクパターンデータの
“0”の画素と同じ位置の検出イメージデータの画素の
値はそのままの値とする処理である。このようにマスク
処理された検査領域だけのデータに基づいて、比較判定
部の画素抜け総和演算手段により画素抜けの総和が求め
られる。この検査領域には正常であれば印刷が行われて
いるから、正常であれば画素抜けの総和は小さな値とな
る(S20)。
The detected image data transferred to the comparison / determination unit of the inspection device in S7 is masked based on the mask pattern data, and data of only the inspection area is obtained. Mask processing is “1” of mask pattern data
The value of the pixel of the detected image data at the same position as the pixel of “0” is set to “0”, and the mask processing is the processing of leaving the value of the pixel of the detected image data at the same position as the pixel of “0” of the mask pattern data as it is. is there. Based on the data of only the inspection area masked in this way, the sum of pixel omissions is calculated by the pixel omission sum total calculation means of the comparison / determination unit. If the inspection area is normal, printing is performed, so if it is normal, the total pixel omission has a small value (S20).

【0034】次に比較判定部の比較手段によりその総和
は所定の判定基準値と比較されて、その総和が所定の判
定基準値よりも大の場合には過小不良信号を出力する。
過小不良信号が出力されるのは印刷が行われているはず
の検査領域に印刷が行われなかったり、文字欠け異常が
発生した場合等である(S21)。
Next, the total sum is compared with a predetermined judgment reference value by the comparing means of the comparison judgment unit, and if the total sum is larger than the predetermined judgment reference value, an under-defective signal is output.
The under-defective signal is output when, for example, printing is not performed in the inspection area where printing should have been performed, or a character missing abnormality occurs (S21).

【0035】次に前述のS11における検査条件の設定
処理について説明する。図5は検査条件の設定処理の過
程を示すフロー図である。また図6は検査条件の設定処
理において用いられるテストパターンの一例を示す図で
ある。図6に示すテストパターンにおいて、61は左右
方向倍率確認用マーク、62はセンター位置決め用マー
ク、63は流れ方向倍率確認用マークである。図5にお
いて図4で示した処理の過程と共通する部分については
説明を省略するか簡単に済ませる。
Next, the inspection condition setting process in S11 will be described. FIG. 5 is a flow chart showing the process of setting the inspection conditions. 6 is a diagram showing an example of a test pattern used in the inspection condition setting process. In the test pattern shown in FIG. 6, reference numeral 61 is a horizontal magnification confirmation mark, 62 is a center positioning mark, and 63 is a flow direction magnification confirmation mark. In FIG. 5, the description of the same parts as those of the process shown in FIG. 4 will be omitted or simplified.

【0036】図5における一連の処理過程S101〜S
110は図4におけるS1〜S10と同一の処理過程で
ある。ただし、印刷データとしては図6に示すテストパ
ターンのデータが使用される。したがって、プリントイ
メージデータ、2値化プリントパターンデータ、印刷物
および検出イメージデータ等は図6に示すテストパター
ンのデータに基づいている。また、個々の処理過程にお
いて、S111はS13に、S112はS14に、S1
13はS15に、S117はS18に、S118はS1
9に、S119はS20に相当する処理過程である。
A series of processing steps S101 to S in FIG.
Reference numeral 110 denotes the same processing step as S1 to S10 in FIG. However, the test pattern data shown in FIG. 6 is used as the print data. Therefore, the print image data, the binary print pattern data, the printed matter, the detection image data, etc. are based on the test pattern data shown in FIG. In the individual processing steps, S111 is S13, S112 is S14, and S1 is S1.
13 for S15, S117 for S18, S118 for S1
9, S119 is a processing step corresponding to S20.

【0037】まず膨張処理の条件設定について説明す
る。S107において検査装置の比較判定部に転送され
た検出イメージデータはマスクパターンデータに基づい
てマスク処理され、検査領域だけのデータが得られる。
マスク処理はマスクパターンデータの“1”の画素と同
じ位置の検出イメージデータの画素の値を“0”とし、
マスク処理はマスクパターンデータの“0”の画素と同
じ位置の検出イメージデータの画素の値はそのままの値
とする処理である。このようにマスク処理された検査領
域だけのデータに基づいて、比較判定部の総和演算手段
により画素値の総和が求められる。この検査領域には正
常であれば印刷が行われない。したがって、マスクパタ
ーンデータが2値化プリントパターンデータに対して必
要なだけ膨張処理を行って得た膨張パターンデータを使
用して得たものであるならば、画素値の総和は小さな値
となる(S113)。
First, setting of conditions for expansion processing will be described. The detected image data transferred to the comparison / determination unit of the inspection apparatus in S107 is masked based on the mask pattern data, and data of only the inspection area is obtained.
In the mask processing, the pixel value of the detected image data at the same position as the pixel of “1” of the mask pattern data is set to “0”,
The mask processing is processing in which the value of the pixel of the detected image data at the same position as the pixel of "0" of the mask pattern data is left as it is. Based on the data of only the inspection area masked in this way, the sum total of the pixel values is obtained by the sum calculation means of the comparison / determination unit. If the inspection area is normal, printing is not performed. Therefore, if the mask pattern data is obtained by using the expanded pattern data obtained by performing the necessary expansion processing on the binarized print pattern data, the total pixel value becomes a small value ( S113).

【0038】次に比較判定部の比較手段によりその総和
は所定の判定基準値と比較されて、その総和が所定の判
定基準値よりも大の場合には(S114)、現在の膨張
パターンデータ(初回の場合は2値化プリントパターン
データが膨張パターンデータとして扱われる)に対して
1回だけ膨張処理を行って新規の膨張パターンデータを
生成し、S111に戻り処理過程を繰り返す。その際、
膨張処理の累計を記憶しておく。また累計の値が所定の
値を越える場合にはエラーメッセージを出力して停止す
る(S115)。また比較判定部の比較手段によりその
総和は所定の判定基準値と比較されて、その総和が所定
の判定基準値よりも小の場合には(S114)、膨張処
理の累計の値を膨張処理の設定回数として登録する(S
116)。
Next, the total sum is compared with a predetermined judgment reference value by the comparing means of the comparison / judgment unit, and if the sum is larger than the predetermined judgment reference value (S114), the current expansion pattern data ( In the case of the first time, the binary print pattern data is treated as the expansion pattern data), the expansion process is performed only once to generate new expansion pattern data, and the process returns to S111 to repeat the process. that time,
The cumulative total of expansion processes is stored. If the accumulated value exceeds the predetermined value, an error message is output and the operation is stopped (S115). The comparison means of the comparison / determination unit compares the total sum with a predetermined determination reference value, and when the total sum is smaller than the predetermined determination reference value (S114), the cumulative value of the expansion processing is set to the expansion processing value. Register as a set number of times (S
116).

【0039】次に収縮処理の条件設定について説明す
る。S107において検査装置の比較判定部に転送され
た検出イメージデータはマスクパターンデータに基づい
てマスク処理され、検査領域だけのデータが得られる。
マスク処理はマスクパターンデータの“1”の画素と同
じ位置の検出イメージデータの画素の値を“0”とし、
マスク処理はマスクパターンデータの“0”の画素と同
じ位置の検出イメージデータの画素の値はそのままの値
とする処理である。このようにマスク処理された検査領
域だけのデータに基づいて、比較判定部の画素抜け総和
演算手段により画素抜けの総和が求められる。この検査
領域には正常であれば印刷が行われている。したがっ
て、マスクパターンデータが2値化プリントパターンデ
ータに対して必要なだけ収縮処理を行って得た収縮パタ
ーンデータの反転パターンデータを使用して得たもので
あるならば、画素抜けの総和は小さな値となる(S11
9)。
Next, setting of conditions for contraction processing will be described. The detected image data transferred to the comparison / determination unit of the inspection apparatus in S107 is masked based on the mask pattern data, and data of only the inspection area is obtained.
In the mask processing, the pixel value of the detected image data at the same position as the pixel of “1” of the mask pattern data is set to “0”,
The mask processing is processing in which the value of the pixel of the detected image data at the same position as the pixel of "0" of the mask pattern data is left as it is. Based on the data of only the inspection area masked in this way, the sum of pixel omissions is calculated by the pixel omission sum total calculation means of the comparison / determination unit. If the inspection area is normal, printing is performed. Therefore, if the mask pattern data is obtained by using the reversal pattern data of the contraction pattern data obtained by performing the contraction process on the binarized print pattern data as much as necessary, the total pixel omission is small. Value (S11
9).

【0040】次に比較判定部の比較手段によりその総和
は所定の判定基準値と比較されて、その総和が所定の判
定基準値よりも大の場合には(S120)、現在の収縮
パターンデータ(初回の場合は2値化プリントパターン
データが収縮パターンデータとして扱われる)に対して
1回だけ収縮処理を行って新規の収縮パターンデータを
生成し、S117に戻り処理過程を繰り返す。その際、
収縮処理の累計を記憶しておく。また累計の値が所定の
値を越える場合にはエラーメッセージを出力して停止す
る(S121)。また比較判定部の比較手段によりその
総和は所定の判定基準値と比較されて、その総和が所定
の判定基準値よりも小の場合には(S114)、収縮処
理の累計の値を収縮処理の設定回数として登録する(S
122)。
Next, the comparison means of the comparison / determination unit compares the total sum with a predetermined determination reference value, and if the total is larger than the predetermined determination reference value (S120), the current contraction pattern data ( In the case of the first time, the binarized print pattern data is treated as contraction pattern data), the contraction process is performed only once to generate new contraction pattern data, and the process returns to S117 to repeat the process. that time,
The cumulative total of contraction processing is stored. If the cumulative value exceeds the predetermined value, an error message is output and the operation is stopped (S121). The comparison means of the comparison / determination unit compares the total sum with a predetermined determination reference value, and if the total sum is smaller than the predetermined determination reference value (S114), the cumulative value of the contraction processing is set to the value of the contraction processing. Register as a set number of times (S
122).

【0041】[0041]

【発明の効果】以上のように本発明によれば、人的負
担、作業負荷、製品への不良品の混入という人による検
査のために生じる問題をなくし、印刷画像が個々の印刷
物によって異なっても検査を自動で行うことができる印
刷品質判定装置が提供される。またマスクパターン生成
部に縦横倍率変換手段を有する本発明によれば、プリン
トイメージデータを構成する画素の縦および横配列密度
と検出イメージデータを構成する画素の縦および横配列
密度とが異なる場合においても、検査を行うことができ
る。またマスクパターン生成部に2値化手段と、膨張処
理手段と、マスク処理手段とを有する本発明によれば、
膨張マスクパターンデータにより、検査領域内の印刷イ
ンキの付着しない部分を抽出することができる。またマ
スクパターン生成部に2値化手段と、収縮処理手段と、
反転処理手段と、マスク処理手段とを有する本発明によ
れば、収縮マスクパターンデータにより、検査領域内の
印刷インキの付着する部分を抽出することができる。
As described above, according to the present invention, the problems caused by human inspection, such as human burden, work load, and mixing of defective products into products, are eliminated, and printed images differ depending on individual printed matter. Also provided is a print quality determination device that can automatically perform an inspection. Further, according to the present invention having the aspect ratio conversion means in the mask pattern generation unit, when the vertical and horizontal arrangement densities of the pixels forming the print image data are different from the vertical and horizontal arrangement densities of the pixels forming the detected image data. Can also be inspected. Further, according to the present invention, the mask pattern generation unit includes the binarization unit, the expansion processing unit, and the mask processing unit.
With the expansion mask pattern data, it is possible to extract a portion in the inspection area where the printing ink does not adhere. Further, the mask pattern generation unit includes a binarization unit, a contraction processing unit,
According to the present invention having the reversal processing unit and the mask processing unit, the contraction mask pattern data can be used to extract the portion of the inspection region to which the printing ink is attached.

【0042】また比較判定部に、膨張マスクパターンデ
ータのマスク領域外に存在する検出イメージデータの画
素値の総和を演算する総和演算手段と、比較手段とを有
する本発明によれば、マスク領域外に印刷が行わる異常
が発生した場合に過大不良信号が出力される。また比較
判定部は、収縮マスクパターンデータのマスク領域外に
存在する検出イメージデータの画素値の総和を演算する
総和演算手段と、比較手段とを有する本発明によれば、
マスク領域外に印刷の抜けがある異常が発生した場合に
は過小不良信号が出力される。また検査条件設定部を有
する本発明によれば、印刷品質判定装置の設置状態にお
いてテストパターンに基づいて膨張処理の条件と収縮処
理の条件とが設定されるから、適正な設定を容易に行う
ことができる。
Further, according to the present invention, the comparison / determination unit has a sum calculation means for calculating the sum of the pixel values of the detected image data existing outside the mask area of the expanded mask pattern data, and the comparison means. When an abnormality occurs in printing, an excessively large failure signal is output. Further, according to the present invention, the comparison / determination unit includes a total sum calculation unit that calculates the sum of pixel values of the detected image data existing outside the mask area of the contraction mask pattern data, and a comparison unit.
If an abnormality occurs that there is a missing print outside the mask area, an undersize defect signal is output. Further, according to the present invention having the inspection condition setting unit, since the condition of the expansion process and the condition of the contraction process are set based on the test pattern in the installed state of the print quality determination device, proper setting can be easily performed. You can

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

【図1】本発明の印刷品質判定装置とその周辺装置の構
成を示す図である。
FIG. 1 is a diagram showing a configuration of a print quality determination device of the present invention and its peripheral devices.

【図2】プリントイメージデータ、マスクパターンデー
タおよび検出イメージデータの一例を示す図である。
FIG. 2 is a diagram showing an example of print image data, mask pattern data, and detection image data.

【図3】プリントイメージデータ、マスクパターンデー
タおよび検出イメージデータの別例を示す図である。
FIG. 3 is a diagram showing another example of print image data, mask pattern data, and detection image data.

【図4】本発明の印刷品質判定装置および周辺装置にお
けるデータ処理過程を示すフロー図である。
FIG. 4 is a flowchart showing a data processing process in the print quality determination device and the peripheral device of the present invention.

【図5】検査条件の設定処理の過程を示すフロー図であ
る。
FIG. 5 is a flowchart showing a process of inspection condition setting processing.

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

1 印刷データ 2 ラスライメージプロセッサ(RIP) 3 プリンタ 4 印刷品質判定装置 5a,5b 印刷物 6 撮像カメラ 7 位置検出センサ 8 撮像カメラ 21,31 プリントイメージデータ 22,32 検査領域外マスクパターンデータ 23 膨張パターンデータ 24,34 検出イメージデータ 33 反転パターンデータ 61 左右方向倍率確認用マーク 62 センター位置決め用マーク 63 流れ方向倍率確認用マーク 1 Print Data 2 Rasula Image Processor (RIP) 3 Printer 4 Print Quality Judgment Device 5a, 5b Printed Material 6 Imaging Camera 7 Position Detection Sensor 8 Imaging Camera 21, 31 Print Image Data 22, 32 Out-of-Inspection Area Mask Pattern Data 23 Expansion Pattern Data 24, 34 Detection image data 33 Reverse pattern data 61 Horizontal direction magnification confirmation mark 62 Center positioning mark 63 Flow direction magnification confirmation mark

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成8年2月22日[Submission date] February 22, 1996

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Correction target item name] Brief description of drawings

【補正方法】追加[Correction method] Added

【補正内容】[Correction contents]

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

【図1】本発明の印刷品質判定装置とその周辺装置の構
成を示す図である。
FIG. 1 is a diagram showing a configuration of a print quality determination device of the present invention and its peripheral devices.

【図2】プリントイメージデータ、マスクパターンデー
タおよび検出イメージデータの一例を示す図である。
FIG. 2 is a diagram showing an example of print image data, mask pattern data, and detection image data.

【図3】プリントイメージデータ、マスクパターンデー
タおよび検出イメージデータの別例を示す図である。
FIG. 3 is a diagram showing another example of print image data, mask pattern data, and detection image data.

【図4】本発明の印刷品質判定装置および周辺装置にお
けるデータ処理過程を示すフロー図である。
FIG. 4 is a flowchart showing a data processing process in the print quality determination device and the peripheral device of the present invention.

【図5】検査条件の設定処理過程を示すフロー図であ
る。
FIG. 5 is a flowchart showing a process of setting inspection conditions.

【図6】検査条件の設定処理において用いられるテスト
パターンの一例を示す図である。
FIG. 6 is a diagram showing an example of a test pattern used in an inspection condition setting process.

【符号の説明】 1 印刷データ 2 ラスライメージプロセッサ(RIP) 3 プリンタ 4 印刷品質判定装置 5a,5b 印刷物 6 撮像カメラ 7 位置検出センサ 8 撮像カメラ 21,31 プリントイメージデータ 22,32 検査領域外マスクパターンデータ 23 膨張パターンデータ 24,34 検出イメージデータ 33 反転パターンデータ 61 左右方向倍率確認用マーク 62 センター位置決め用マーク 63 流れ方向倍率確認用マーク[Explanation of Codes] 1 print data 2 Rasula image processor (RIP) 3 printer 4 print quality judgment device 5a, 5b printed matter 6 imaging camera 7 position detection sensor 8 imaging camera 21, 31 print image data 22, 32 mask pattern outside inspection area Data 23 Expansion pattern data 24, 34 Detection image data 33 Reverse pattern data 61 Horizontal direction magnification confirmation mark 62 Center positioning mark 63 Flow direction magnification confirmation mark

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】プリントイメージデータからマスクパター
ンデータを生成するマスクパターン生成部と、 前記プリントイメージデータに基づいて印刷された印刷
物を撮像し検出イメージデータを得る撮像部と、 前記マスクパターンデータと前記検出イメージデータか
ら印刷物の良否判定を行う比較判定部と、 を有することを特徴とする印刷品質判定装置。
1. A mask pattern generation unit for generating mask pattern data from print image data, an image pickup unit for picking up printed matter printed based on the print image data to obtain detection image data, the mask pattern data and the A print quality determination device comprising: a comparison / determination unit that determines the quality of a printed material from detected image data.
【請求項2】前記マスクパターン生成部は縦横倍率変換
手段を有し、 前記縦横倍率変換手段は、プリントイメージと検出イメ
ージが重なるように、少なくとも前記プリントイメージ
データまたは前記検出イメージデータの一方の縦横倍率
を変換する、 ことを特徴とする請求項1記載の印刷品質判定装置。
2. The mask pattern generation unit includes a vertical / horizontal magnification conversion unit, and the vertical / horizontal magnification conversion unit at least one of the print image data and the detection image data is arranged so that the print image and the detection image overlap each other. The print quality determination apparatus according to claim 1, wherein the magnification is converted.
【請求項3】前記マスクパターン生成部は2値化手段
と、膨張処理手段と、マスク処理手段と、を有し、 前記2値化手段は前記プリントイメージデータを所定の
閾値で2値化し、2値化プリントパターンデータを生成
し、 前記膨張処理手段は前記2値化プリントパターンデータ
の膨張処理を行い、膨張パターンデータを生成し、 前記マスク処理手段は、検査領域の外側をマスクするデ
ータである検査領域外マスクパターンデータと前記膨張
パターンデータとを合成して膨張マスクパターンデータ
を生成する、 ことを特徴とする請求項1または2記載の印刷品質判定
装置。
3. The mask pattern generation unit includes a binarization unit, an expansion processing unit, and a mask processing unit, the binarization unit binarizes the print image data with a predetermined threshold, Binarized print pattern data is generated, the expansion processing unit performs expansion processing of the binarized print pattern data to generate expansion pattern data, and the mask processing unit is data for masking the outside of the inspection region. The print quality determination apparatus according to claim 1, wherein the mask pattern data outside a certain inspection area and the expansion pattern data are combined to generate expansion mask pattern data.
【請求項4】前記マスクパターン生成部は2値化手段
と、収縮処理手段と、反転処理手段と、マスク処理手段
と、を有し、 前記2値化手段は前記プリントイメージデータを所定の
閾値で2値化し、2値化プリントパターンデータを生成
し、 前記収縮処理手段は前記2値化プリントパターンデータ
の収縮処理を行い、収縮パターンデータを生成し、 前記反転処理手段は前記収縮パターンデータの反転処理
を行い、反転パターンデータを生成し、 前記マスク処理手段は、検査領域の外側をマスクするデ
ータである検査領域外マスクパターンデータと前記反転
パターンデータとを合成して収縮マスクパターンデータ
を生成する、 ことを特徴とする請求項1〜3のいずれか記載の印刷品
質判定装置。
4. The mask pattern generation unit includes a binarization unit, a contraction processing unit, an inversion processing unit, and a mask processing unit, and the binarization unit sets the print image data to a predetermined threshold value. And binarize print pattern data to generate binarized print pattern data, the shrinking processing unit performs shrinkage processing on the binarized print pattern data to generate shrinkage pattern data, and the inversion processing unit creates the shrinkage pattern data. Inversion processing is performed to generate inversion pattern data, and the mask processing unit synthesizes the out-of-inspection-area mask pattern data, which is data for masking the outside of the inspection area, with the inversion pattern data to generate contraction mask pattern data. The print quality determination device according to claim 1, wherein the print quality determination device comprises:
【請求項5】前記比較判定部は、総和演算手段と、比較
手段と、を有し、 前記総和演算手段は、前記膨張マスクパターンデータの
マスク領域外に存在する前記検出イメージデータの画素
値の総和を演算し、 前記比較手段は、その総和を所定値と比較してその総和
が大の場合に過大不良信号を出力する、 ことを特徴とする請求項3記載の印刷品質判定装置。
5. The comparison / determination unit includes a sum total calculation unit and a comparison unit, and the sum total calculation unit includes a pixel value of the detected image data existing outside a mask area of the expanded mask pattern data. The print quality determination device according to claim 3, wherein the total sum is calculated, and the comparison unit compares the total sum with a predetermined value and outputs an excessive defect signal when the total sum is large.
【請求項6】前記比較判定部は、画素抜け総和演算手段
と、比較手段と、を有し、 前記画素抜け総和演算手段は、前記収縮マスクパターン
データのマスク領域外に存在する前記検出イメージデー
タの画素抜けの総和を演算し、 前記比較手段は、その総和を所定値と比較してその総和
が大の場合に過小不良信号を出力する、 ことを特徴とする請求項4記載の印刷品質判定装置。
6. The comparison / determination unit includes a pixel omission total sum calculation means and a comparison means, wherein the pixel omission total sum calculation means is present in the detected image data existing outside a mask area of the contraction mask pattern data. 5. The print quality judgment according to claim 4, wherein the total sum of the pixel omissions of the above is calculated, and the comparison means compares the total sum with a predetermined value and outputs an under-defective signal when the total sum is large. apparatus.
【請求項7】テストパターンに基づいて、少なくとも前
記膨張処理手段による膨張処理の条件と、前記収縮処理
手段による収縮処理の条件とを設定する検査条件設定部
を有することを特徴とする請求項1〜6のいずれか記載
の印刷品質判定装置。
7. An inspection condition setting section for setting at least conditions for expansion processing by said expansion processing means and conditions for contraction processing by said contraction processing means based on a test pattern. The print quality determination device according to any one of 1 to 6.
JP7313703A 1995-11-08 1995-11-08 Printing quality judging device Pending JPH09131951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7313703A JPH09131951A (en) 1995-11-08 1995-11-08 Printing quality judging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7313703A JPH09131951A (en) 1995-11-08 1995-11-08 Printing quality judging device

Publications (1)

Publication Number Publication Date
JPH09131951A true JPH09131951A (en) 1997-05-20

Family

ID=18044509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7313703A Pending JPH09131951A (en) 1995-11-08 1995-11-08 Printing quality judging device

Country Status (1)

Country Link
JP (1) JPH09131951A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001277676A (en) * 2000-04-04 2001-10-09 Basic:Kk Device, system and method for inspecting printed matter, and storage medium
JP2003136818A (en) * 2001-11-01 2003-05-14 Fuji Xerox Co Ltd Method and system for detecting image quality abnormality
JP2005212373A (en) * 2004-01-30 2005-08-11 Sato Corp Identification code verifying machine and identification code verifying method of printing device
JP2006146919A (en) * 2004-11-22 2006-06-08 Xerox Corp System and method for detecting image quality defect
JP2010042634A (en) * 2008-08-18 2010-02-25 Dainippon Screen Mfg Co Ltd Printed image inspecting device and printing method
US8538086B2 (en) 2009-08-28 2013-09-17 Ricoh Company, Limited Image inspection apparatus, image inspection method, and computer program product
WO2014042280A1 (en) * 2012-09-14 2014-03-20 Ricoh Company, Limited Image inspection apparatus, image inspection system and image inspection method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001277676A (en) * 2000-04-04 2001-10-09 Basic:Kk Device, system and method for inspecting printed matter, and storage medium
JP2003136818A (en) * 2001-11-01 2003-05-14 Fuji Xerox Co Ltd Method and system for detecting image quality abnormality
JP2005212373A (en) * 2004-01-30 2005-08-11 Sato Corp Identification code verifying machine and identification code verifying method of printing device
JP2006146919A (en) * 2004-11-22 2006-06-08 Xerox Corp System and method for detecting image quality defect
JP2010042634A (en) * 2008-08-18 2010-02-25 Dainippon Screen Mfg Co Ltd Printed image inspecting device and printing method
US8538086B2 (en) 2009-08-28 2013-09-17 Ricoh Company, Limited Image inspection apparatus, image inspection method, and computer program product
WO2014042280A1 (en) * 2012-09-14 2014-03-20 Ricoh Company, Limited Image inspection apparatus, image inspection system and image inspection method
JP2014074711A (en) * 2012-09-14 2014-04-24 Ricoh Co Ltd Image inspection device, image inspection system, and image inspection method
CN103959047A (en) * 2012-09-14 2014-07-30 株式会社理光 Image inspection apparatus, image inspection system and image inspection method
US9767546B2 (en) 2012-09-14 2017-09-19 Ricoh Company, Limited Image inspection apparatus, image inspection system and image inspection method

Similar Documents

Publication Publication Date Title
EP1400922B1 (en) Print inspection method
JP2003219184A (en) Imaging process for forming clear and legible binary image
JP2597370B2 (en) Method for detecting significant differences in sheet-like test materials
JPH0957201A (en) Specific color region extracting system and specific color region removing system
JPH09131951A (en) Printing quality judging device
JP3320164B2 (en) Printing inspection equipment
JP4507523B2 (en) Printed matter inspection apparatus and printed matter inspection program
JP3204876B2 (en) Print inspection equipment
JPH10116344A (en) Edge area extraction method and device
JP3207931B2 (en) Image inspection equipment
JP2991520B2 (en) Inspection device for print blur of printed matter
JP4220061B2 (en) Periodic pattern defect inspection method and apparatus
JP2004276476A (en) Printed matter inspecting device, printed matter inspecting method, printed matter inspecting processing program and recording medium having program thereon
JP2876999B2 (en) Printing defect inspection equipment
JP4074146B2 (en) Print stain inspection method and apparatus
JP4474006B2 (en) Inspection device
JP2725469B2 (en) Micro defect detector
JPH113427A (en) Method and device for checking image
JPH07121582B2 (en) Defect detection method and defect detection circuit in printed matter inspection apparatus
JP3523994B2 (en) Print inspection equipment
JP2529505B2 (en) Wiring pattern inspection device
JPH11195121A (en) Device for evaluating picture and method therefor
JPH06309437A (en) Pattern inspecting device
JP3263600B2 (en) Inspection method of printed matter
JP4410635B2 (en) Image matching degree determination method and apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050329

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050802