JPH0147823B2 - - Google Patents

Info

Publication number
JPH0147823B2
JPH0147823B2 JP57063221A JP6322182A JPH0147823B2 JP H0147823 B2 JPH0147823 B2 JP H0147823B2 JP 57063221 A JP57063221 A JP 57063221A JP 6322182 A JP6322182 A JP 6322182A JP H0147823 B2 JPH0147823 B2 JP H0147823B2
Authority
JP
Japan
Prior art keywords
data
inspection
printed matter
memory
reference data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57063221A
Other languages
Japanese (ja)
Other versions
JPS58181175A (en
Inventor
Satoru Horiguchi
Hirotsugu Harima
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 JP57063221A priority Critical patent/JPS58181175A/en
Priority to GB08305954A priority patent/GB2115145B/en
Priority to PCT/JP1982/000285 priority patent/WO1983000557A1/en
Priority to US06/483,956 priority patent/US4561103A/en
Priority to DE823248928T priority patent/DE3248928T1/en
Publication of JPS58181175A publication Critical patent/JPS58181175A/en
Priority to GB08427147A priority patent/GB2159623B/en
Priority to GB08427146A priority patent/GB2150285B/en
Priority to GB08427145A priority patent/GB2159622B/en
Publication of JPH0147823B2 publication Critical patent/JPH0147823B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41FPRINTING MACHINES OR PRESSES
    • B41F33/00Indicating, counting, warning, control or safety devices
    • B41F33/0036Devices for scanning or checking the printed matter for quality control
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/06Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency using wave or particle radiation
    • G07D7/12Visible light, infrared or ultraviolet radiation

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Inking, Control Or Cleaning Of Printing Machines (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、輪転印刷機などにおける連続して走
行する印刷物の印刷良否を走行状態のままで正確
に検査する方法に関する。 印刷物の印刷仕上り状態については一般にかな
り厳格なものが要求されるため、その検査につい
ても充分に信頼性の高い方法が必要になる。 その上、輪転印刷機などにおいては、印刷済の
印刷部が高速で走行しているため、これを視覚的
な方法によつていたのではリアルタイムでの検査
は不可能である。 そこで、このような場合の検査方法として、走
行している印刷物の絵柄を一次元イメージセンサ
カメラなどで撮像し、それによつて得た画像信号
をアナログ量として把え、それを基準電圧と比較
して絵柄の良否判定したり、或いは画像信号を所
定のしきい値で2値化して絵柄の良否判定したり
する方法が提案された。 しかしながら、このアナログ画像信号による方
法では、無地原反上の欠陥などの検出には充分な
精度が得られるものの、印刷物の絵柄など濃度変
化が広い範囲にわたつている場合には良否判定に
充分な精度が得られないという欠点があつた。 そのため、画像信号をデイジタル化し、印刷物
の検査すべき絵柄部分全体にわたる画像信号の記
憶を可能にした上で、標準的仕上りの印刷物から
得た画像信号を基準データとして記憶し、その
後、検査すべき印刷物から読取つた画像信号を検
査データとし、記憶してある基準データを検査デ
ータの各画素に対応して読出しながら比較するこ
とにより良否判定を行なう方法が提案された。 そこで、このデイジタル化方式による検査方法
の一例を原理的に示したのが第1図で、Pは印刷
物、CYは印刷シリンダ、1はイメージセンサカ
メラ、2はアナログ・デイジタル(A/D)変換
器、SWは切換スイツチ、Mは基準データメモ
リ、CDは比較器である。 印刷物Pの長尺の紙、フイルムなどであり、輪
転印刷機により所定の絵柄がその走行方向に沿つ
て順次、繰り返し連続的に印刷され、印刷シリン
ダCYによつて送り出されている。 イメージセンサカメラ(以下、ISカメラとい
う)1は印刷物1の絵柄が印刷された面を撮像
し、印刷物Pの走行方向Yと直角になつた幅方向
Xに沿つた所定の部分を一次元的に走査して画像
信号を取り出す。そして、この印刷物Pから読取
つた一次元画像信号を所定の画素ごとにA/D変
換器2でデイジタル化してスイツチSWに供給す
る。 基準データメモリMは第2図に示すような記憶
内容を有し、印刷幅方向及び走行方向に分割され
たアドレスaに各画素ごとのデイジタル化された
濃度情報の書込み、読出しが可能なように構成さ
れている。そこで、いま、スイツチSWを図示の
ように基準データメモリMに切換え、印刷物Pの
所定の絵柄部分をISカメラ1によつて撮像すれ
ば、幅方向Xに沿つた部分の各画素ごとの濃度情
報が順次、基準データメモリMの印刷幅方向に分
割されたアドレスに書込まれ、それが印刷物Pの
走行方向Yの動きにより順次繰り返されて基準デ
ータメモリMの走行方向に分割されたアドレスに
濃度情報として書込まれ、結局、この基準データ
メモリMには印刷物Pに印刷された絵柄の所定の
範囲の画像データが書込まれることになる。 比較回路COはスイツチSWが図示と反対の下
側に切換えられたとき、印刷物Pの絵柄の所定の
範囲から順次読取られてくる画像データを検査デ
ータIとし、これに対応して順次各画素ごとに基
準データメモリMから読出されてくる基準データ
Sとしてそれぞれ比較入力に受け入れ、比較結果
を出力Jとして発生する。 従つて、印刷動作を開始した直後の所定の時期
で、絵柄に欠陥の無い印刷物が得られたことを確
認した後でスイツチSWを基準データメモリMの
方に切換え、そのときに印刷物Pから得られた画
像データを基準データSとして基準データメモリ
Mに書込み、以後はスイツチ5を比較回路COに
切換えれば、この比較回路COには印刷物Pから
順次読取つた画像データが検査データIとして
次々に入力され、基準データメモリMから読出さ
れてくる基準データSと各画素ごとに順次比較さ
れてその結果が出力Jとして得られることにな
る。 そこで、これ以降は比較回路COの出力Jを調
べ、基準データSと検査データIとが一致してい
るか否かを調べれば印刷動作中高速度で走行して
いる印刷物Pの印刷の良否を連続的に判定するこ
とができ、しかも目視による検査とは比較になら
ない程高い信頼度を保つて検査を行なうことがで
きる。 本発明の目的は、このようなデイジタル化方式
による従来の印刷物の検査装置を改良し、さらに
高精度で、しかも有効なマスキング機能なども容
易に与えることができ、その上、印刷物の状態変
化に対しても常に安定した動作が得られるように
した印刷物の検査装置を提供するにある。 この目的を達成するため、本発明は、基準デー
タと検査データの比較を各画素単位で行なうだけ
でなく、検査すべき絵柄の全体にわたる総和とし
ての比較と、印刷物の走行方向に沿つて直線状に
配列された画素の総和としての比較とを行ない、
これらの比較結果の総合半断により良否判定を行
なうようにした点を特徴とし、さらに、印刷物の
走行速度や絵柄の横ずれなどを検出して基準デー
タの書き換えを行なうと共に、各画素ごとの比較
レベルを任意に設定し得るようにした点をも特徴
とするものである。 以下、本発明による印刷物の検査装置の実施例
を図面について説明する。 第3図は本発明の一実施例における全システム
のブロツク図で、印刷シリンダCY、IS1、A/
D変換器2などは第1図の従来例と同じであり、
REは印刷シリンダDに設けてあるロータリーエ
ンコーダ、3は絵柄位置検出器、4は絵柄位置信
号入力回路、5は走行位置信号入力回路、6は走
査方向信号入力回路、7はデイジタル入力インタ
ーフエイス、8はアドレス発生回路、9は第1の
特徴抽出比較判定回路、10は第2の特徴抽出比
較回路、11は第3の特徴抽出比較判定回路、1
2は総合判定回路、13は基準データメモリ再書
込み信号発生回路、14は基準データメモリ(第
1図のMに相当)、15は画素制御データメモリ、
16はバツフアメモリ、17はコンピユータ・イ
ンターフエース、18はモニター用アドレス発生
回路、19はモニターインターフエース、20は
モニター、21はコンピユータであり、これは
BUSで結合されている。 さて、既に説明したように、このような検査シ
ステムにおいては、基準データと繰り返し印刷さ
れてくる絵柄からの検査データとを各画素ごとに
対応させてやる必要があり、そのため、絵柄の一
画面を一義的に表わすアドレスを決めてやらなけ
ればならない。そこで、このアドレス付けに必要
な印刷シリンダCYの回転方向位置の検出を行な
うためにロータリーエンコーダREを用い、その
信号を走行位置信号入力回路5に入力し、印刷シ
リンダCYの円周上における検査開始点と終了点
を表わす信号を出力させるようにする。 そこで、この走行位置信号入力回路5の一実施
例を第4図に示す。ここで、ロータリーエンコー
ダREからの出力信号は、印刷シリンダCYが1回
転するたびにその所定の回転位置ごとに1パルス
だけ発生するZERO信号と、1回転当り所定の個
数のパルスを発生するA相信号の2種となつてい
る。まず、検査開始に先立つて、コンピユータ2
1からコンピユータ・インターフエース17を介
してラツチ22に設定値が書込まれ、これにより
検査終了点を表わすMEND信号の発生を可能に
する。 なお、以下の全ての回路において、それらのラ
ツチに対する設定値の書込みは上記と同様にして
コンピユータ21がら行なわれる。 さて、カウンタ24はZERO信号でリセツトさ
れたあとA相信号をカウントし、その出力は比較
器23でラツチ22の設定値と比較され、両者が
一致したときの出力が単安定マルチバイバイブレ
ータ(MMVという)26をトリがしてMEND
信号を発生させ、検査終了点が設定される。な
お、検査開始点はロータリーエンコーダREの
ZERO信号で表わし、これをMZERO信号とす
る。即ち、この実施例では信号MZEROと
MENDの間が検査期間となる。一方、ロータリ
ーエンコーダREのA相信号は他の回路でクロツ
ク信号として使用するため、そのままBUSにも
供給され、これをMCLKにする。 次に、アドレス付けに必要な印刷幅方向の位置
の検出にはIS1として自走式のもの(例えば
CCDカメラ、MOSカメラなど)を用い、それか
らの出力信号を利用する。 さて、このIS1の走査は第5図に示す外部同期
信号によつて制御され、この信号がHighになつ
たときだけ所定の走査間隔でライン走査を繰り返
す。そしてIS1は第5図に示すように走査開始時
にSTART信号を発生し、走査に同期してSCLK
信号を発生する。 走査方向信号入力回路6は上記した3種の信
号、即ち外部同期信号、START信号、SCLK信
号の入出力を制御する回路で、その一実施例を第
6図に示す。 まず、走行位置信号入力回路5から供給される
MZERO信号により外部同期信号を発生し、これ
によりIS1の走査を開始させる。次に、印刷シリ
ンダCYの回転方向に同一間隔で走査を繰り返さ
せるため、MCLK信号をカウンタ27で計数し、
比較器28でラツチ30にあらかじめ設定してあ
る印刷シリンダCYの回転方向の分割数と比較し、
計数値が設定値に達すると比較器28より外部同
期信号を発生させる。これを、一検査画面の間繰
り返す。 一方、IS1の走査が開始されると、この回路は
IS1からSTART信号とSCLK信号を受け、カウ
ンタ32でSCLK信号を計数し、あらかじめラツ
チ29に設定しておいた走査方向の分割数に達す
ると、コンパレータ31を用いSEND信号を発生
させる。又、SZERO、SEND信号は検査期間の
中でのみ発生するようDタイプ・フリツプ・フロ
ツプ37とMZERO、MEND信号を用いて制御
している。 ここで、印刷シリンダCYの検査面とMZERO、
MEND、SZERO、SEND信号の関係を第7図に
示す。そして、上記、走行位置信号入力回路5と
走査方向信号入力回路6の出力を用い、検査一画
面上のアドレスを発生させるのがアドレス発生回
路8である。即ち第8図のように印刷シリンダ
CYを回転方向にn分割、走査方向にm分割する
ことにより、検査画面を、ni=1 oj=1 Aij個のアドレス
に分け、このアドレスを発生するのであり、その
一実施例を第9図に示す。 まず、MZERO信号によりカウンタ50をクリ
アし、アドレスの初期化を行なう。次に、
SZERO信号の入力により、第1ライン目の走査
方向のアドレスをSCLKを用いて発生させ、その
個数をカウンタ48で計数する。この部分がDタ
イプ・フリツプ・フロツプ43、AND44、カ
ウンタ48にて構成されている。 また、走査方向の分割数はラツチ46にあらか
じめ設定しておく。この設定値と比較器49で計
数値を比較することにより、1走査ライン分のア
ドレス数が決定される。そして、カウンタ50で
発生するアドレスは、ラツチ51を経てBUSか
ら必要な回路に出力される。同様な操作がnライ
ンまで繰り返される。なお、この実施例では、ア
ドレスに同期させて、デイジタル・データを取り
込むための内部クロツクCLKと、取り込んだデ
ータを基準データ・メモリ14、バツフア・メモ
リ16へ書き込むためのアドレスに同期した書き
込み信号WRとを発生させている。 さて、IS1における光電変換により得られた画
像情報を本装置に取り込むために、この実施例で
はA/D変換器4とデイジタル・インターフエー
ス7が使用されている。 ところで、通常のA/D変換器は、入力のアナ
ログ信号に対し、出力のデイジタル信号は線形で
ある。しかし、人間が色を識別する際に使用する
濃度値Dは、例えば透過濃度ではD=log10I0/I (I0:入射時の光量、I:透過後の光量)と表わ
され、光量に対しては対数特性を有している。従
つて、実際の検査装置においても、光電変換した
信号の対数をとつたものの方が人間の感覚的尺度
に比較的近くて望ましい。 そこで、この実施例では、第10図に示すよう
に、光電変換されたアナログ入力に対し線形特性
及び非線形特性のいずれの特性によつてもデ
イジタル信号が得られるA/D変換器4を用い、
対数特性も近似できるような構成になつている。
なお、このA/D変換器4のデイジタル・データ
出力のタイミングは上記アドレスと同期させるた
めアドレス発生回路8から出力される。CLKを
用いている。 次に、この実施例では、デイジタル・インター
フエース7に入力されたデイジタル・データをそ
のまま本装置に取り込む場合と、画像の強調を行
なつた後に、データとして取り込む方法とが選択
できる。後者の方法は印刷面の各絵柄を強調する
ことにより、欠陥などの存在を強調しようという
ものであり、手法的には空間フイルタリングのラ
プラシアンを用いることにより実現でき、その一
実施例を第11図と第12図に示す。 このとき、デイジタル・データとして、そのま
まのものを使用するか、画像強調したものを使用
するかはあらかじめラツチ53に設定しておき、
信号選択器54でごちらかを選択し、装置内部に
データとして取り込む。 第12図に示す画像強調回路は空間フイルタリ
ング
The present invention relates to a method for accurately inspecting the printing quality of continuously running printed matter in a rotary printing press or the like while the machine is still running. Generally, very strict conditions are required regarding the print finish of printed matter, so a sufficiently reliable method is also required for inspection. Furthermore, in rotary printing presses and the like, the printed printing section runs at high speed, so it is impossible to inspect it in real time using a visual method. Therefore, as an inspection method in such cases, the image of the moving printed matter is captured using a one-dimensional image sensor camera, etc., the resulting image signal is grasped as an analog quantity, and it is compared with a reference voltage. A method has been proposed in which the quality of the pattern is determined by using the image signal, or the image signal is binarized using a predetermined threshold value to determine the quality of the pattern. However, although this method using analog image signals provides sufficient accuracy for detecting defects on plain originals, it is insufficient for determining pass/fail when the density changes over a wide range, such as in patterns on printed materials. The drawback was that accuracy could not be obtained. Therefore, after digitizing the image signal and making it possible to store the image signal over the entire pattern part of the printed matter to be inspected, the image signal obtained from the printed matter of standard finish is stored as reference data, and then the image signal to be inspected is A method has been proposed in which an image signal read from a printed matter is used as inspection data, and stored reference data is read out corresponding to each pixel of the inspection data and compared, thereby making a quality determination. Therefore, Figure 1 shows the principle of an example of an inspection method using this digitization method, where P is a printed matter, CY is a printing cylinder, 1 is an image sensor camera, and 2 is an analog-to-digital (A/D) converter. SW is a changeover switch, M is a reference data memory, and CD is a comparator. The printed matter P is a long piece of paper, film, etc., on which a predetermined pattern is successively and repeatedly printed along the running direction by a rotary printing machine, and sent out by a printing cylinder CY. An image sensor camera (hereinafter referred to as an IS camera) 1 images the surface of the printed material 1 on which the pattern is printed, and one-dimensionally captures a predetermined portion along the width direction X perpendicular to the running direction Y of the printed material P. Scan and extract image signals. Then, the one-dimensional image signal read from the printed matter P is digitized for each predetermined pixel by the A/D converter 2 and supplied to the switch SW. The reference data memory M has the storage contents as shown in FIG. 2, and is designed so that digitized density information for each pixel can be written and read at addresses a divided in the printing width direction and the running direction. It is configured. Therefore, if the switch SW is switched to the reference data memory M as shown in the figure, and a predetermined pattern part of the printed matter P is imaged by the IS camera 1, density information for each pixel in the part along the width direction are sequentially written to the addresses divided in the printing width direction of the reference data memory M, and this is sequentially repeated by the movement of the printed matter P in the running direction Y, and the density is written to the addresses divided in the running direction of the reference data memory M. The image data is written as information, and image data of a predetermined range of the picture printed on the printed material P is eventually written into the reference data memory M. When the switch SW is switched to the lower side opposite to that shown in the figure, the comparison circuit CO sets the image data sequentially read from a predetermined range of the pattern of the printed matter P as inspection data I, and correspondingly reads the image data sequentially for each pixel. The reference data S read out from the reference data memory M is received as the comparison input, respectively, and the comparison result is generated as the output J. Therefore, at a predetermined time immediately after starting the printing operation, after confirming that a printed matter with no defects has been obtained, the switch SW is switched to the reference data memory M, and at that time, the data obtained from the printed matter P is transferred. The image data read from the printed matter P is written in the reference data memory M as the reference data S, and if the switch 5 is then switched to the comparison circuit CO, the image data sequentially read from the printed matter P is stored one after another as the inspection data I in the comparison circuit CO. Each pixel is sequentially compared with the input reference data S read out from the reference data memory M, and the result is obtained as an output J. Therefore, from now on, by checking the output J of the comparator circuit CO and checking whether the reference data S and the inspection data I match, it is possible to continuously check the quality of printing of the printed matter P that is running at high speed during the printing operation. It is possible to perform the inspection with a reliability that is incomparably higher than that of visual inspection. The purpose of the present invention is to improve the conventional printed matter inspection apparatus using such a digitization method, to easily provide a highly accurate and effective masking function, and to be able to easily respond to changes in the state of printed matter. To provide a printed matter inspection device which can always provide stable operation even when the object is in use. In order to achieve this objective, the present invention not only compares reference data and inspection data pixel by pixel, but also compares the total sum of the entire pattern to be inspected and compares the data in a straight line along the running direction of the printed material. Compare the total sum of pixels arranged in
It is characterized by the fact that it makes a pass/fail judgment based on the overall half of these comparison results.Furthermore, it detects the running speed of the printed matter, the horizontal deviation of the pattern, etc. and rewrites the reference data, and also determines the comparison level for each pixel. Another feature is that it can be set arbitrarily. Embodiments of the printed matter inspection apparatus according to the present invention will be described below with reference to the drawings. FIG. 3 is a block diagram of the entire system in one embodiment of the present invention, showing the printing cylinders CY, IS1, A/
The D converter 2, etc. are the same as the conventional example shown in FIG.
RE is a rotary encoder provided in the printing cylinder D, 3 is a picture position detector, 4 is a picture position signal input circuit, 5 is a running position signal input circuit, 6 is a scanning direction signal input circuit, 7 is a digital input interface, 8 is an address generation circuit, 9 is a first feature extraction comparison judgment circuit, 10 is a second feature extraction comparison circuit, 11 is a third feature extraction comparison judgment circuit, 1
2 is a general judgment circuit, 13 is a reference data memory rewrite signal generation circuit, 14 is a reference data memory (corresponding to M in FIG. 1), 15 is a pixel control data memory,
16 is a buffer memory, 17 is a computer interface, 18 is a monitor address generation circuit, 19 is a monitor interface, 20 is a monitor, and 21 is a computer.
Connected via BUS. Now, as already explained, in such an inspection system, it is necessary to correlate the reference data with the inspection data from the pattern that is repeatedly printed for each pixel. You must decide on an address that will be uniquely represented. Therefore, a rotary encoder RE is used to detect the rotational direction position of the printing cylinder CY necessary for this addressing, and the signal is input to the traveling position signal input circuit 5, and an inspection on the circumference of the printing cylinder CY is started. Output signals representing the point and end point. FIG. 4 shows an embodiment of this running position signal input circuit 5. Here, the output signals from the rotary encoder RE are a ZERO signal that generates only one pulse at each predetermined rotational position each time the printing cylinder CY rotates once, and an A-phase signal that generates a predetermined number of pulses per rotation. There are two types. First, before starting the test, computer 2
1 to latch 22 via computer interface 17, which enables generation of the MEND signal to indicate the end of the test. In all of the circuits described below, setting values are written to the latches using the computer 21 in the same manner as described above. After being reset with the ZERO signal, the counter 24 counts the A-phase signal, and its output is compared with the set value of the latch 22 in the comparator 23. When the two match, the output is a monostable multivibrator (MMV). ) 26 and MEND
A signal is generated and an inspection end point is set. The inspection starting point is the rotary encoder RE.
This is represented by a ZERO signal, and this is called an MZERO signal. That is, in this embodiment, the signal MZERO and
The inspection period is between MEND. On the other hand, since the A-phase signal of the rotary encoder RE is used as a clock signal in other circuits, it is also supplied as is to the BUS, and is used as MCLK. Next, to detect the position in the print width direction required for addressing, we use a self-propelled IS1 (for example,
CCD camera, MOS camera, etc.) and use the output signal from it. Now, the scanning of IS1 is controlled by an external synchronizing signal shown in FIG. 5, and line scanning is repeated at predetermined scanning intervals only when this signal becomes High. As shown in Figure 5, IS1 generates a START signal at the start of scanning, and synchronizes with the scanning by using SCLK.
Generate a signal. The scanning direction signal input circuit 6 is a circuit that controls the input and output of the three types of signals described above, namely, the external synchronization signal, the START signal, and the SCLK signal, and one embodiment thereof is shown in FIG. First, the traveling position signal is supplied from the driving position signal input circuit 5.
An external synchronization signal is generated by the MZERO signal, which starts scanning IS1. Next, in order to repeat scanning at the same interval in the rotational direction of the printing cylinder CY, the MCLK signal is counted by a counter 27.
The comparator 28 compares the number of divisions in the rotational direction of the printing cylinder CY, which is preset in the latch 30.
When the count value reaches the set value, the comparator 28 generates an external synchronization signal. Repeat this for one inspection screen. On the other hand, when IS1 scanning starts, this circuit
A START signal and a SCLK signal are received from IS1, and a counter 32 counts the SCLK signals. When the number of divisions in the scanning direction set in advance in the latch 29 is reached, a comparator 31 is used to generate a SEND signal. Further, the SZERO and SEND signals are controlled using a D type flip-flop 37 and the MZERO and MEND signals so that they are generated only during the inspection period. Here, the inspection surface of printing cylinder CY and MZERO,
Figure 7 shows the relationship between the MEND, SZERO, and SEND signals. The address generation circuit 8 uses the outputs of the traveling position signal input circuit 5 and the scanning direction signal input circuit 6 to generate an address on one inspection screen. That is, as shown in Fig. 8, the printing cylinder
By dividing CY into n parts in the rotational direction and m parts in the scanning direction, the inspection screen is divided into ni=1 oj=1 Aij addresses, and these addresses are generated. is shown in Figure 9. First, the counter 50 is cleared by the MZERO signal and the address is initialized. next,
By inputting the SZERO signal, an address in the scanning direction for the first line is generated using SCLK, and the number of addresses is counted by a counter 48. This part is composed of a D type flip-flop 43, an AND 44, and a counter 48. Further, the number of divisions in the scanning direction is set in latch 46 in advance. By comparing this set value with the count value by the comparator 49, the number of addresses for one scanning line is determined. Then, the address generated by the counter 50 is outputted from the BUS to the necessary circuits via the latch 51. Similar operations are repeated up to n lines. In this embodiment, an internal clock CLK is used to capture digital data in synchronization with the address, and a write signal WR is used in synchronization with the address to write the captured data into the reference data memory 14 and buffer memory 16. is occurring. In this embodiment, an A/D converter 4 and a digital interface 7 are used to input image information obtained by photoelectric conversion in the IS1 into the present apparatus. By the way, in a typical A/D converter, the output digital signal is linear with respect to the input analog signal. However, the density value D used by humans when identifying colors is expressed as, for example, the transmission density D=log 10 I 0 /I (I 0 : amount of light at the time of incidence, I: amount of light after transmission), It has logarithmic characteristics with respect to the amount of light. Therefore, even in actual inspection equipment, it is preferable to take the logarithm of the photoelectrically converted signal because it is relatively close to the human sensory scale. Therefore, in this embodiment, as shown in FIG. 10, an A/D converter 4 is used which can obtain a digital signal from a photoelectrically converted analog input with both linear and nonlinear characteristics.
The structure is such that logarithmic characteristics can also be approximated.
Incidentally, the timing of the digital data output of this A/D converter 4 is outputted from the address generation circuit 8 in order to synchronize with the above-mentioned address. It uses CLK. Next, in this embodiment, it is possible to select between a method in which the digital data input to the digital interface 7 is taken into the present apparatus as it is, and a method in which the image is enhanced and then taken in as data. The latter method aims to emphasize the existence of defects by emphasizing each pattern on the printed surface, and can be realized by using the Laplacian of spatial filtering. It is shown in Fig. and Fig. 12. At this time, the latch 53 is set in advance to determine whether to use the digital data as it is or to use the image-enhanced data.
The signal selector 54 selects one of them and imports it into the device as data. The image enhancement circuit shown in Figure 12 uses spatial filtering.

【式】で構成した。即ち、ある 画素の濃度Dijを求めるのにその4近傍を用い、
て表わすというものである。これを用いると、
Dijは、Dij=4Dij−(Di-1,j+Di,j-1+Di,j+1+Di+1,j

となる。 なお、このとき、構成面での制約がなければ、
4近傍の代わりに8近傍などが使用でき、これに
よりさらに好結果が得られるようになることは言
うまでもない。 さて、第12図において、必要なアドレスのデ
ータを得るためにシフト・レジスタ55,56、
ラツチ57〜65を用い、さらに上式を満足させ
るように、加算器66,67,68,71,73
シフトレジスタ69、インバータ70,74、エ
クスクルーシブオア72を用いている。尚、この
実施例ではアドレス発生回路8で生成されるアド
レスに同期させるため、各データのシフト制御を
CLKを用いて行なつている。 以上、データ入力系の構成と信号をまとめると
第13図のようになる。 ところで、この実施例では、コンピユーター2
1により全システムの動作を制御しているが、こ
のときの本検査装置の内部状態としては下記、4
機能を持たせている。 (i) 設定モード (ii) 基準モード (iii) 検査モード (iv) 停止モード そして、これらのモードは制御コマンド
Ccmmandという信号によつて変更可能となつて
いる。 まず(i)設定モードでは、コンビユータ21より
各回路へ設定値を設定できる。このため各回路に
は、第14図に示されるように、コンピユータ2
1の情報を受信できるよう共通な構成部分を持た
せている。ここで、デイツプ・スイツチ79に
は、各回路固有の値がセツトしてある。 さて、これらの回路に設定値を設定するには、
数ある回路の中から設定しようとする回路を選択
するアドレスCAddress2信号と前記、デイツプ・
スイツチ79との一致を見る必要がある。さらに
Command信号を解読し、設定モードであること
を本回路に認識させるデコーダ77の信号、回路
内のデータ設定用に特定のラツチ(例えば75)
が指定できるようなCAddress1信号の合わせて3
つの信号を用いて最終的なデータ設定場所が決定
できるようになつている。この選択されたラツチ
75へのデータCDATAの書み込みは、コンピユ
ータ21からの信号CWRにより行なわれる。こ
のように、本実施例では、各設定値がコンピユー
タ21で簡単に設定及び変更ができるようになつ
ている。 次に、印刷動作を開始し、良好な印刷物が得ら
れるようになつた時点で、(ii)基準モードに切換え
られ、これにより、デイジタル・インターフエイ
ス7から入力されたデータが一画面分、アドレス
発生回路8から出力されるAddressと書き込み信
号WRを用いて基準データ・メモリ14に書き込
まれる。次の画面からは本装置は自動的に(iii)検査
モードとなり基準モード時に取り込まれたデータ
とリアルタイムで比較・判定されていく。 この比較・判定処理を行なう回路が第1、第
2、第3の特徴抽出比較判定回路9,10,11
である。尚、(iv)停止モードは本検査装置の機能を
停止させるときに使用する。 まず、第1の特徴抽出比較判定回路9は基準デ
ータSDと検査データIDの同一アドレスでの各画
素毎の比較・判定を行なう。即ち、第15図のよ
うに、基準データ・メモリ14から読み出される
データSDijとデイジタル・インターフエース7
を通して、リアルタイムで入力できるデータIDij
に対して1SDij−IDij1>判定レベルの画素を不良
画素として抽出していくというものである。 第16図はその一実施例で、基準データ・メモ
リ14から読み出したデータSDと、デイジタ
ル・インターフエース7より入力されたデータ
IDとをラツチ82,83に供給し、ついで加算
器84,86、エクスクルーシブオア85、イン
バータ91で演算してSDとIDの差の絶対値がラ
ツチ88に書き込まれる。その後、上記のデータ
と同期して画素制御データ・メモリ15より読み
出してラツチ89にセツトされる判定レベルのデ
ータCD1とコンパレータ90で比較され、その
結果はDタイプ・フリツプ・フロツプ87にて、
一画素ずつ判定結果J1として出力される。 次に、第2の特徴抽出比較判定回路10では、
第17図のように、基準データ一画面分の総和と
検査される一画面分の総和との差の絶対値を求め
判定レベルと比較する。即ち、印刷シリンダCY
の回転方向の分割数がn、IS1の走査方向分割数
がmで、基準データがSDij、検査データがIDijの
とき、これらに対してni=1 oj=1 SDijとni=1 oj=1 IDijとを
比較することである。 これにより画面全体に広がる低濃度欠陥や、ゆ
るやかな濃度変化に対する検出精度が向上する。 第18図はその一実施例で、基準データ・メモ
リ14から読み出されたデータSDはラツチ94,
95、加算器98、AND92を用いて一画面分
加算され、MEND信号を用いてラツチ102に
書き込まれる。デイジタル・インターフエース7
を通して取り込まれた検査データIDも、ラツチ
96,97、加算器99、AND93を用い同様
の操作が行なわれる。但し、IDの方は、両者の
差をとる関係上、1の補数に変換するためインバ
ータ105を通してラツチ103に書き込まれ
る。尚、加算データのクリアのために、一画面に
一度、AND92,93を用いて、ラツチ94,
96に0を入力してやる。このためにMEND信
号、MZERO信号及びDタイプ・フリツプ・フロ
ツプ100を用いて一画面に一度のタイミングで
0信号を発生させている。 上記のようにして、演算された基準データSD
の全画素分の総和と検査データIDのそれとが加
算器106,108、エクスクルーシブオア10
7、インバータ109で構成される差の絶対値を
求める回路を経てコンパレータ110の一方の入
力Aに入力される。ここで、画素制御データメモ
リ15より読み出された判定レベルのデータCD
2と比較され、判定レベルを越えるものは、一画
面に一度、Dタイプ・フリツプ・フロツプ112
から、判定信号J2として出力される。 さらに、第3の特徴抽出比較判定回路は、第1
9図のように印刷物Pの走行方向y、つまり印刷
シリンダCYの回転方向における基準データSDの
総和と、検査データIDのそれとの差の絶対値を
求め判定レベルと比較する。即ち、基準データ
SDij、検査データIDijに対してoj=1 SDijとoj=1 IDijと
を比較することである。 これによりグラビア印刷物などに多発する回転
方向の欠陥(例えばドクター筋と呼ばれるものな
ど)に対する検出精度が向上する。 第20図はその一実施例で、基準データ・メモ
リ14から読み出されたデータSDはAND12
0、加算器121、メモリ127、トランシーバ
ー129、を用いて走査方向の分割点において、
それぞれの回転方向の総和oj=1 SDijを演算してい
る。メモリ127は1走査ラインずつ加算された
データに更新され、最終的には一画面分の回転方
向に加算されたデータとなる。一方、デイジタ
ル・インターフエース7を通して取り込まれた検
査データIDもAND122、加算器123、メモ
リ131、トランシーバー133を用いて同様の
操作が行なわれる。メモリ127,128,13
1,132へのアクセスのために、Dタイプ・フ
リツプ・フロツプ113、カウンタ114を用い
て1走査ライン毎にアドレスを発生させている。
又、回転方向に加算された結果を演算する方法と
して、次の検査画面の一ライン加算中に、前の検
査画面のデータをトランシーバー130,134
を経てメモリ128,132に書き込む。そして
2ライン目以降で前の検査画面の判定を行なう方
式を採用している。 これにより、連続したリアルタイム処理が可能
となつている。 上記のタイミングを得るために、Dタイプ・フ
リツプ・フロツプ118、OR119とSEND、
MEND、CLKの各信号を使用している。さらに、
検査データIDのメモリ132への書き込みには
後に基準データSDとの差を求める必要上、イン
バータ140を用い1の補数に変換してから行な
われる。 上記のようにして求められた基準データSDの
走査分割点における回転方向の総和oj=1 SDijと検査
データIDのそれoj=1 IDijとの差の絶対値を加算器1
35,137、エクスクルーシブオア136、イ
ンバータ139から構成される回路で演算する。
さらに、コンパレータ138を用い、画素制御デ
ータメモリ15より読み出された判定レベルのデ
ータCD3と比較され、判定レベルを越えるもの
は一画面に走査方向の分割点の数mだけ、Dタイ
プ・フリツプ・フロツプ125から判定信号J3
として出力される。 次に、これら第1、第2、第3の特徴抽出比較
判定回路9,10,11で個々に比較判定されて
出力した結果を検出一画面として総合的に判断
し、マーカー、警報、あるいは周辺出力機器への
アクシヨンを起こさせる信号として出力させる回
路が総合判定回路12である。 まず、この回路では、各画素毎の比較をしてい
る第1の特徴抽出比較判定回路9の欠陥信号につ
いては、それがある判定レベル以上の回数発生し
た場合のみ検出画面が不良であるとしている。即
ち、これにより要求される検査性能に応じて、こ
の実施例による検査装置で検査される不良品の判
定レベルを変更可能としている。 一方、第2、第3の特徴抽出比較判定回路1
0,11の欠陥出力は、重大欠陥として、検出画
面に一つでも発生すると画面全体を不良とみなす
ようになつている。 第21図はその一実施例で、第1の特徴比較判
定回路9の判定出力J1をカウンタ142のゲー
トに入力することにより欠陥信号が発生したとき
のみ画素の数、即ちCLKの数を計数させるよう
にしている。一画面のこの欠陥数とラツチ145
に設定しておいた判定レベルを比較器146で比
較し、判定レベルを越えていれば検出画面が不良
としてDタイプ・フリツプ・フロツプ147に
MEND信号を用いてセツトする。 次に、第2と第3の特徴抽出比較判定回路1
0,11の判定出力J2,J3はそれぞれDタイ
プ・フリツプ・フロツプ143,144にそのま
ま供給され、これにより検出画面に欠陥信号が発
生したら、Dタイプ・フリツプ・フロツプ14
3,144は直ちにセツトされる。上記3信号の
有無により検出画面の総合判定信号TJがOR14
8を通して出力される。 従つて、この総合判定回路12からの総合判定
信号TJを監視することにより印刷動作中に高速
で移動している印刷物の検査を極めて高い精度
で、しかもリアルタイムで行なうことができる。 次に、絵柄位置検出器3、絵柄位置信号入力回
路4、それに基準データメモリ再書込み信号発生
回路13について説明する。 上述したように、この実施例による検査装置
は、主として輪転印刷機に適用されるものであ
る。 ところで、このような輪転印刷機により連続的
に順次繰り返して印刷物に形成される絵柄の印刷
物走行方向と直角な方向、つまり印刷幅方向にお
ける位置は、印刷動作中常に同じ位置にとるとは
限らない。即ち、多色刷輪転印刷機に対する印刷
物の供給動作には一般的にかなりの幅方向の変動
が含まれてしまう。そこで、このような場合に
は、オペレータがその都度印刷機の印刷シリンダ
を幅方向に動かして印刷見当の調整を行なつた
り、或いは自動的に調整を行なつたりしている。
従つて、印刷動作に異常がなく正しく印刷された
絵柄であつても印刷物の幅方向に対する位置は必
ずしも同じではなく、常に変動したものとなつて
いる。 一方、この実施例による検査装置は、検査デー
タと基準データメモリ14から読出したデータの
比較により印刷の良否判定を行なう方式となつて
いるから、基準データメモリ14にデータを書込
んだときと検査データを読取つたときとでは印刷
物P上における絵柄の位置が幅方向に変化してい
ると、正しい絵柄であつても両方のデータが一致
しなくなつて誤動作を生じることになる。 これを第22図及び第23図によつてさらに詳
しく説明する。 第22図において、ISCはIS1(第3図)に含
まれているイメージセンサによる撮像部分で、印
刷物Pの幅方向に多数の、例えば512個の光電変
換素子を直線状に配列した構成となつているもの
であり、一方、a〜dは印刷物Pの表面に順次繰
り返し印刷された絵柄を表わしている。 そして、これらの絵柄a〜dは上記した理由に
より印刷物Pのx方向、つまり幅方向の位置がそ
れぞれ異なつたものとなつている。 次に第23図は光電変換部ISCの光電変換素子
の一つをISC′で、そして絵柄a,bの画素の一つ
をそれぞれa′,b′で示したものである。 そこで、いま、第22図の絵柄aの状態で基準
データメモリ14にデータが書込まれ、その後、
第22図の絵柄bによるデータが読取られたとす
る。そして、この結果、絵柄aの或る画素a′と光
電変換素子ISC′との関係が第23図1のようにな
り、絵柄bの或る画素b′と光電変換素子ISC′との
関係は第23図2のようになつたとする。 そうすると、基準データメモリ14の対応する
アドレスに書込まれる濃度情報は第23図3の面
積a″に相当したデータとなり、他方、検査データ
は第23図4の面積b″に相当したデータとなつて
しまう。 従つて、このときには、たとえ絵柄aとbが同
じであつたとしても、基準データメモリ14から
読出したデータと検査データとは一致しなくな
り、正しい絵柄であるにもかかわらず印刷不良と
判定してしまうことになる。 そこで、基準データメモリ再書込信号発生回路
13を設け、この回路は絵柄位置検出器3からの
絵柄位置信号を取り入れ、基準データメモリ14
にデータを書込んだときの絵柄位置データを保持
し、その後、検査データを読取るごとに取り込ん
だ絵柄位置データと比較して両者の差が所定値を
超えたときに基準データメモリ再書込信号を発生
し、そのとき絵柄から読取つた画像データを新た
な基準データとして書込むようにする。そして、
このため、絵柄位置検出器3はイメージセンサを
含み、印刷シリンダCYにより走行している印刷
物Pの表面に印刷された絵柄の幅方向の位置を検
出し、絵柄位置信号入力回路14を介してBUS
に絵柄位置信号を送り出す。 次に、絵柄位置検出器3による絵柄位置検出方
法の一実施例を第24図に示す。 第24図において、aは印刷物Pに印刷された
絵柄を示し、3′は絵柄位置検出器3による検出
部分を示している。 絵柄位置検出器3は印刷シリンダCYによつて
y方向に連続して送られている印刷物Pの絵柄印
刷面の幅方向xの所定の部分を撮像し、ロータリ
エンコーダREにより絵柄aの走行方向に対する
所定の部分が検出部分3′の中に入つたときに検
出信号を発生する。そこで、印刷物P上の絵柄a
の位置が幅方向、即ちx方向に変化すると絵柄a
の検出部分3′に含まれている部分の大きさが変
化し、絵柄位置検出器3に入射する光量が変化す
ることになる。 従つて、絵柄位置検出器3に対する入射光量を
検出することによりx方向に対する絵柄aの位置
を検出することができることになるから、この検
出器3による光量検出信号を絵柄位置信号とし、
絵柄位置信号入力回路4を経てBUSに送り出す
ようにすればよい。 次に第25図は絵柄位置検出方法の他の実施例
を示したもので、Mはクサビ形の見当マークであ
る。 多色刷の輪転印刷機においては、印刷物の幅方
向における自動見当合わせのために、印刷面の余
白部分にクサビ形の見当マークを入れている。そ
こで、この実施例では、この見当マークMを絵柄
位置検出器3によつて撮像し、第25図のイとロ
で示すように絵柄の幅方向の位置変化Δxにより
見当マークMの検出部分3′内に含まれる面積の
変化を光量変化として検出し、これにより絵柄位
置信号を得るようにしている。 従つて、この実施例によれば、本来の絵柄とは
無関係に、位置検出に適したマークを用いること
ができるから、検出動作をさらに確実に行なうこ
とができる。 さらに第26図は絵柄位置検出方法の他の実施
例で、Nは印刷物の余白部分に印刷した位置ズレ
検出用のマークである。 このマークNは印刷物の幅方向xに沿つて走行
方向yと平行に一定の間隔で多数本印刷した線分
からなるもので、幅方向における位置変化Δxに
応じて検出部分3′内に含まれる線分の数が変化
することを利用して絵柄位置信号を得るようにし
たものである。 従つて、この実施例によれば、絵柄位置信号を
パルス数として得ることが容易になる。 次に、第27図は基準データメモリ再書込信号
発生回路13の一実施例で、入出力ポートP1
P6を有するマイクロコンピユータ(マイコンと
いう)MCとラツチ150〜152、カウンタ1
53、それにAD154で構成してある。 第28図は動作説明図のフローチヤートで、マ
イコンMCが動作を開始し、このフローに従つた
動作に入ると、まず、マイコンMCは制御コマン
ドCommandがどのような内容であるかを調べ、
それが「停止」又は「設定」モードのときには制
御コマンドCommandの読取りを繰り返す。ただ
し、「設定」モードのときにはラツチ150から
マイコンMCのポートP2に位置許容値データCD
4を入力する。 また、制御コマンドCommandが「基準」モー
ドになつていたときにはラツチ152からポート
P6を介して絵柄位置情報PDをマイコンMCに取
入れ、これを基準値データ取込み時における絵柄
の基準位置情報として記憶し、その後、制御コマ
ンドCommandの読取りに戻る。 そして、制御コマンドCommandが「検査」モ
ードとなつたときには、次のように動作する。 「設定」モードにおいてポートP2に入力さ
れた位置許容値データCD4をマイコンMC内
のレジスタに転送しておく。 「基準」モードの場合と同様にして絵柄位置
情報PDを取込み、それを検出値データ取込時
の位置情報として基準位置情報と比較し、差の
絶対値を演算する。 ついで、この差の絶対値と位置許容値データ
CD4とを比較し、差の絶対値が位置許容値を
超えたときには基準データメモリ再書込み信号
RWRを発生する。 制御コマンドCommandの読取りに戻る。 従つて、この実施例によれば、印刷物Pの絵柄
の幅方向の位置ズレが大きくなつて、それがあら
かじめ設定してある設定値を超えたときにはいつ
でも基準値メモリ再書込信号発生回路13から基
準データメモリ14に再書込信号RWRが供給さ
れ、そのときにIS1で読取られている画像データ
が新たな基準データとして基準データメモリ14
に書込まれ、その後、再び再書込信号RWRが発
生されるまでの間にこの新たに書込まれた基準デ
ータにより検査データの判別が行なわれるように
なるため、印刷された絵柄が印刷物の走行方向と
直角な幅方向に位置ズレを生じても誤動作するこ
となく、常に絵柄の良否だけを正確に判定するこ
とができる。 次に、この基準データメモリ再書込み信号発生
回路13の中のラツチ151とカウンタ153、
それにAND154とマイコンMCによつて遂行
されている機能について説明する。 上述のように、この実施例による検査装置で
は、第29図に示すようにかなり高速で走行して
いる印刷物Pを一次元ラインセンサからなるIS1
によつてその走行方向yと直角な方向xに走査し
て画像データを読取つており、従つてIS1が実際
に読取る画像データは、印刷物Pの走行方向yと
IS1による走査方向xとを合成した方向Aに沿つ
て読取られたものとなる。 そのため、印刷物Pの走行速度が変化すると、
画像データを読取る方向Aも例えば第30図のa
からbに示すように変つてしまう。即ち、IS1に
よる走査速度が一定であつたとしても、印刷物P
の走行速度が増加すると、IS1による読取り方向
AはBのようになる。 この結果、第30図a,bにおけるIS1の同一
画素検出領域C,Dについてみると、同図aでは
全領域が黒い絵柄のデータを読取つているのに対
して、同図bでは検出領域内に一部白い絵柄のデ
ータが含まれるようになり、同じ絵柄から読取つ
たにもかかわらず、対応するアドレスの画素デー
タが異なつたものとなつてしまう。 従つて、このままでは印刷物Pの走行速度が基
準データの設定時と検査データ読取時とで異なつ
たときに誤まつた検査結果を与えるようになる。 そこで、ラツチ151に速度許容値データCD
5を受け入れ、AND154にロータリーエンコ
ーダREから走行位置信号入力回路5を経てBUS
に供給されているMCLK信号を入力し、基準デ
ータ設定時と検査データ読取時とで印刷物Pの走
行速度が許容値以上変化したきにはRWR信号を
発生するようにしているのであり、以下、この動
作を第31図のフローチヤートによつて説明す
る。 いま、BUSを通じて回路13に信号が与えら
れたとすると、マイコンMCはまず制御コマンド
Commandがどのような内容であるかを読取る。
「停止」もしくは「設定」モードの場合は制御コ
マンドCommandの読取りを繰返す。ただし、
「設定」モードの場合にはラツチ151を介して
マイコンMC内のポートP5に速度許容値データ
CD5が書込まれる。 また制御コマンドCommandが「基準」モード
の場合は、 マイコンMCがカウンタ153をリセツトす
るための信号を出力してカウンタ153をリセ
ツトした後、AND154にカウント開始の信
号を与え、ロータリーエンコーダREからパル
スMCLKを取込む。 マイコンMCが所定時間を計測する。 マイコンMCからカウンタ153にカウント
終了の信号を出力させてロータリーエンコーダ
REからのパルスMCLKの取込みを終了する。 カウンタ153の計数値をポートP3を介し
てマイコンMCに入力し、これをマイコンMC
内のレジスタに基準値データ取込み時の走行速
度情報として記憶しておく。 制御コマンドCommandの読取りに戻る。 そして制御コマンドCommandが「検査」モー
ドの場合は、 「設定」モードの際にポートP5に入力され
た速度許容量をマイコンMC内にレジスタに転
送しておく。 「基準」モード時と同様にロータリーエンコ
ーダREからのパルスMCLKの取込みを行う。 この検査値データ取込み時の走行速度情報と
基準値データ取込み時のそれとの差の絶対値を
求める。 この差の絶対値が速度許容値からみて所定値
以上であれば基準値メモリ再書込み信号RWR
をBUSに出力する。 制御コマンドCommandの読取りに戻る。 従つて、この実施例によれば、検査対象である
走行印刷物の検査値データ取込み時の速度情報を
予め記憶しておいた基準値データ取込み時の速度
情報と比較し、その差が所定値を超えるときには
基準値データを再書込みさせるようにしたため、
走行速度の相違に超因する走行印刷物検査の誤判
定を防止することができる。 次に、画素制御データ15を用いた本発明の他
の一実施例について説明する。 本発明の適用対象となる輪転印刷機などにおい
ては、印刷物Pの幅が常に一定ではなくて種々異
なつた紙幅のものに切換えられて印刷を行なう場
合が多く、このようなときには検査部分の幅を変
化させることが望ましい。例えば、第32図に示
すように、印刷物Pの幅がAからBに切換えられ
たときには、部分Cのマスキングが望ましい。 また、このような検査方法においては、第33
図に示すように印刷絵柄の濃度と検出光量の間は
対数特性関係にあるため、基準データと検出デー
タの比較時における判定レベルをこの第33図に
示すように固定レベルとしておくと、低濃度領域
では検出光量と判定レベルとの絶対差が不足し、
絵柄の良否判定が不可能となつてしまう。そこ
で、例えば第34図に示すように、判定レベルを
基準データ値の10%とするなど、基準データにあ
る比率(0〜1)を乗じ、その関数として変化さ
せるのが望ましい。 さらに、このとき、第35図に示すように、1
画面分の絵柄Aを単位としてその中の任意の部分
Bをマスキングしたり、第36図に示すように、
1回分の印刷による絵柄Cを単位として、その中
で検査が不要な部分、例えば余白部Dと、通常の
判定レベルによる検査で充分な部分E、それに特
に厳しい検査が必要な部分Fのそれぞれに応じて
判定レベルを変化させ、印刷物の絵柄内容に対応
して判定レベルを細かく管理できるようにすれば
さらに好都合である。 そこで、以下に説明する実施例では、マスキン
グと判定レベルの変化が全く同一手段で行なうこ
とができ、しかも絵柄内の任意の部分を選択して
のマスキングが可能になり、その上絵柄に応じて
部分的に異なつた判定レベルが任意に設定し得る
ようにし、これにより構成が簡単で、かつ、仕上
り印刷物に対する歩留りを低下させることなく充
分に高い絵柄品質を保つて検査を可能にするた
め、基準データメモリに対応したアドレスを有す
る画素制御データメモリを設け、検査データと基
準データの比較による検査動作が行なわれている
ときの判定レベルがこの画素制御データメモリか
ら読出されるデータに基づいて各画素単位で設定
されるようにしたものである。 画素制御データメモリ15は、第2図で説明し
た基準データメモリ14と同様に、第37図に示
すように基準データメモリ14と同じ記憶内容を
有し、同じく印刷幅方向と走行方向に分割された
アドレスa′に基準データメモリ14のアドレスa
と対応した制御データの書込み、読出しが可能に
構成されている。 第38図はこの実施例における特徴抽出比較判
定回路の一例で、第1の特徴抽出比較判定回路9
において構成したものである。印刷動作が開始し
てその検査動作に入ると、検査データIDと、基
準データメモリ14、それに画素制御データメモ
リ15からのそれぞれのデータSDとCD1とが順
次同じアドレスごとに読出されて各ラツチ220
〜223に取込まれる。 そこで、このうち、ラツチ222に入力された
ポジ状態の基準データSDとラツチ223に入力
されたネガ状態の検出データIDとが加算回路2
29、インバータ230、エクスクルーシブオア
ゲート231加算回路232からなる回路で処理
されて検査データIDと基準データSDの差の絶対
値を表わすデータDDとなり、ラツチ225に書
込まれる。即ち、DD=|ID−SD|が取出され
る。そして、このデータDDはラツチ225から
比較器223の一方の入力Bに供給される。 また、ラツチ221から取出された基準データ
SDはシフトレジスタ227に入力され、ここで
所定のビツト数だけシフトされて所定の係数K
(1より小さい)が乗算されたデータKSDとなつ
て選択回路228の一方の入力Bに供給される。 一方、ラツチ220に取込まれた制御データ
CD1はそのまま読出されて選択回路228の他
方の入力Bに供給されると共に、オアゲート22
6を介して選択回路228の選択入力Sに供給さ
れる。なお、この選択回路228は、その選択入
力Sが“H”レベルのとき入力Bに供給されてい
るデータを出力し、“L”レベルのときには入力
Aのデータを出力する働きをする。 比較器223は入力AのデータJLと入力Bの
データDDとを比較し、入力Bのデータが入力A
のデータより大きかつたときだけ“H”レベルと
なる出力Jを発生する。即ち、データJLを判定
レベルとした比較動作が行なわれて出力Jが得ら
れることになる。 従つて、コンピユータ21は比較器233の出
力Jを監視し、それが“L”レベルのときには、
そのとき各メモリ14,15のアドレスに対応す
る印刷物の絵柄部分には欠陥が無いと判断し、そ
れが“H”レベルとなつたらその部分に欠陥があ
つたものと判断して所定の動作を行なう。 そこで、いま、画素制御データメモリ15の或
るアドレスに書込まれている制御データが(0、
0)H、即ち、8ビツト全部が0となつていたとす
る。 そうすると、このアドレスに対応する絵柄部分
の検査データが読出されて検査が行なわれようと
したときには、オアゲート226の出力が“L”
レベルとなるから選択回路228は入力Aのデー
タKSDをラツチ224に書込む。 この結果、このときの比較器233による判定
レベルを表わすデータJLは基準データSDをシフ
トレジスタ227でシフトして或る係数Kを乗算
したものとなつているデータKSDとなつており、
これにより絵柄の良否判定が行なわれることにな
る。つまり、このときには、第34図で説明し
た、判定レベルが基準データの関数として変化す
る方式で絵柄の検査が行なわれることになる。 従つて、画素制御データメモリ15の任意のア
ドレスにデータ(0、0)Hを書込んでおけば、そ
のアドレスに対応した絵柄部分では基準データの
関数として判定レベルが変化する検査が得られる
ことになる。なお、このときのアドレス指定は、
各画素単位に限らず、複数の画素単位で行なうよ
うにしてもよいことはいうまでもない。 次に、画素制御データメモリ15の或るアドレ
スに書込まれている制御データが(0、0)H以外
のデータ、つまり8ビツトのうちの少くとも1つ
以上が1になつていたとする。 そうすると、このアドレスに対応する絵柄部分
の検査データが読出されたときには、オアゲート
226の出力が“H”レベルとなるので、このと
きには選択回路28には入力BのデータCD1を
そのままラツチ224に供給する。 そこで、このときには、比較器223はそのア
ドレスから読出された制御データCD1を判定レ
ベルとして動作することになり、画素制御データ
メモリ15に書込んだ制御データにより絵柄の各
アドレスごとに異なる任意の判定レベルでの検査
を行なわせることができる。 従つて、例えば、第36図に示すように、検査
すべき印刷物の絵柄Cのうちで、余白などほとん
ど検査を必要としない部分Dにおいては、そのア
ドレスに書込むべき制御データを充分に大きく
し、これによりこの部分での判定レベルを大とし
て多少の欠陥の有無には目をつぶり、重要な部分
Eに対応するアドレスには比較的小さな制御デー
タを書込んで判定レベルを小さくし、これにより
重要な部分Eではかなり厳密なチエツクが行なわ
れるようにし、さらに極めて重要な部分Fではさ
らに判定レベルを小さくするなど、印刷仕上りに
対するきめ細かな管理を行なうことができる。 そして、このとき、第35図の部分Bや第36
図の部分Dに相当する画素制御データメモリ15
のアドレスには制御データとして(F、F)Hを書
込むようにすれば、この部分では比較器233の
出力JがデータDDと無関係に常に“H”となる
から、絵柄の欠陥検出を行なわないようにした場
合と同じ結果が得られ、マスキング動作が任意の
絵柄部分について行なえることになる。 次に、画素制御データメモリ15に対する制御
データの書込み方法について説明する。 この実施例においては、第2図から明らかなよ
うに、コンピユータ21によつて全ての動作制御
と動作管理が行なわれており、画素制御データメ
モリ15に対する制御データの書込みもコンピユ
ータ21によつて行なうようになつている。 そこで、以下、この書込動作を具体的に説明す
ると、 任意の値を判定レベルとして画素制御データ
メモリ15に設定するとき。 第39図に示すように、コンピユータ21か
らコンピユータインターフエイス17を介して
任意の値の判定レベル・データを画素制御デー
タメモリ15に順次書込み設定する。 基準データに或る比率K(K<1)を乗算し
たものを判定レベルとして画素制御データメモ
リ15に設定するとき。 第40図に示すように、基準データメモリ1
4の内容をコンピユータインターフエイス17
を介してコンピユータ21のCPUに取り込み、
その後、CPU内部で基準データの1画素ごと
に或る比率K(K<1)を乗算して判定レベル
を表わすデータに加工する。その際、濃度レベ
ルの低い領域(デイジタル値が小さくなつてい
るところ)では、比率Kを乗算したときに0に
なつてしまう場合があるから、設定可能な最低
値を定めておくか、或いは基準データに比率K
を乗算したあと一定値を加算するようにしてお
くと良い。 こうして加工した各画素ごとの判定レベルを
表わすデータをCPUからコンピユータインタ
ーフエース17を介して画素制御データメモリ
15に設定する。なお、ハードウエア構成とし
てもよいことはいうまでもない。 基準データを画像としてモニタし、絵柄の任
意の部分をカーソルなどにより位置決定して任
意の部分ごとの判定レベルを画素制御データメ
モリ15に設定するとき。 第40図に示すように、基準データメモリ1
4の内容をコンピユータインターフエイス17
を介してCPUに取込み、これをCRTに入力し
画像としてモニタできるようにする。そして、
カーソルを動かして画像再生された絵柄の所定
の部分を指定し、その位置をCPUに取込み、
その位置における任意の判定レベルがCPUか
らコンピユータインターフエイス17を介して
画素制御データメモリ15に設定される。 基準データから絵柄の輪郭部を抽出し、この
部分に特別な判定レベルを定めて制御データメ
モリに設定するとき。 第40図に示すように、基準データメモリ1
4の内容をコンピユータインターフエイス17
を介してCPUに取込み、そのデータから絵柄
の輪郭部を抽出するためのデイジタル画像処理
演算を行なう。これにより抽出された輪郭部の
アドレスに対して任意の判定レベルを決定し、
コンピユータインターフエイス17を介して画
素制御データメモリ15にデータの設定を行な
う。 このような画像データの絵柄からその縦方
向、或いは横方向の輪郭部を表わす成分の抽出
方法としては、例えば、デイジタル画像処理技
術で一般に用いられている空間フイルタの技法
によるものがあり、これによれば容易に目的を
達することができる。 いま、絵柄の任意の点fijを中心として3×
3の平方領域に介点の濃度を用いたとすると、
縦方向の輪郭抽出に使用する空間フイルタは、
It is composed of [formula]. That is, to find the density Dij of a certain pixel, use its four neighbors,
It is expressed as follows. Using this,
Dij is Dij=4D ij −(D i-1,j +D i,j-1 +D i,j+1 +D i+1,j
)
becomes. At this time, if there are no constraints on the configuration,
It goes without saying that 8-neighborhoods, etc., can be used instead of 4-neighborhoods, which would lead to even better results. Now, in FIG. 12, shift registers 55, 56,
Using latches 57 to 65, adders 66, 67, 68, 71, 73 are added so as to satisfy the above equation.
A shift register 69, inverters 70 and 74, and exclusive OR 72 are used. In this embodiment, in order to synchronize with the address generated by the address generation circuit 8, shift control of each data is performed.
This is done using CLK. The configuration and signals of the data input system can be summarized as shown in FIG. 13. By the way, in this embodiment, computer 2
1 controls the operation of the entire system, but the internal state of this inspection device at this time is as follows:
It has a function. (i) Setting mode (ii) Reference mode (iii) Inspection mode (iv) Stop mode And these modes are control commands.
It can be changed using the Ccmmand signal. First, in (i) setting mode, setting values can be set for each circuit from the computer 21. For this reason, each circuit has a computer 2 as shown in FIG.
It has common components so that it can receive the same information. Here, the dip switch 79 is set with a value unique to each circuit. Now, to set the settings for these circuits,
The address CAddress2 signal that selects the circuit to be set from among the many circuits and the dip
It is necessary to check the match with switch 79. moreover
A signal from a decoder 77 that decodes the Command signal and makes the circuit recognize that it is in the configuration mode, a specific latch (e.g. 75) for data configuration in the circuit.
A total of 3 CAddress1 signals that can specify
The final data setting location can be determined using two signals. Data CDATA is written into the selected latch 75 by a signal CWR from the computer 21. In this way, in this embodiment, each set value can be easily set and changed using the computer 21. Next, when the printing operation is started and good printed matter is obtained, the switch is made to (ii) the reference mode, whereby the data inputted from the digital interface 7 is transferred to one screen and the address The data is written into the reference data memory 14 using the Address output from the generation circuit 8 and the write signal WR. From the next screen, the device automatically enters the (iii) inspection mode and compares and judges the data in real time with the data captured in the reference mode. The circuits that perform this comparison/judgment process are first, second, and third feature extraction comparison/judgment circuits 9, 10, and 11.
It is. Note that (iv) stop mode is used to stop the function of this inspection device. First, the first feature extraction comparison and determination circuit 9 compares and determines the reference data SD and the inspection data ID for each pixel at the same address. That is, as shown in FIG. 15, the data SDij read from the reference data memory 14 and the digital interface 7
Data can be entered in real time through IDij
Pixels with 1SDij−IDij1>determination level are extracted as defective pixels. FIG. 16 shows an example of this, in which data SD read out from the reference data memory 14 and data inputted from the digital interface 7 are shown.
ID is supplied to latches 82 and 83, and then calculated by adders 84 and 86, exclusive OR 85, and inverter 91, and the absolute value of the difference between SD and ID is written into latch 88. Thereafter, the comparator 90 compares the judgment level data CD1 read from the pixel control data memory 15 and set in the latch 89 in synchronization with the above data, and the result is sent to the D type flip-flop 87.
Each pixel is output as the determination result J1. Next, in the second feature extraction comparison judgment circuit 10,
As shown in FIG. 17, the absolute value of the difference between the total sum for one screen of reference data and the total sum for one screen to be inspected is determined and compared with the determination level. i.e. printing cylinder CY
When the number of divisions in the rotational direction is n, the number of divisions in the scanning direction of IS1 is m, the reference data is SDij, and the inspection data is IDij, then for these, ni=1 oj=1 SDij and ni =1 oj=1 IDij. This improves detection accuracy for low-density defects that spread over the entire screen and gradual density changes. FIG. 18 shows one embodiment of this, in which data SD read from the reference data memory 14 is transferred to a latch 94,
95, an adder 98, and an AND 92 for one screen, and written to the latch 102 using the MEND signal. Digital interface 7
Similar operations are performed on the inspection data ID taken in through the latches 96 and 97, an adder 99, and an AND93. However, since the ID is the difference between the two, it is written into the latch 103 through the inverter 105 in order to convert it into a one's complement number. In addition, in order to clear the addition data, use AND92 and 93 once per screen to close latches 94 and 93.
Enter 0 in 96. For this purpose, a 0 signal is generated once per screen using the MEND signal, the MZERO signal, and a D type flip-flop 100. Standard data SD calculated as above
The sum of all pixels of , and that of the inspection data ID are added to adders 106 and 108, and exclusive OR 10.
7. The signal is inputted to one input A of the comparator 110 through a circuit for calculating the absolute value of the difference, which is composed of an inverter 109. Here, the judgment level data CD read out from the pixel control data memory 15
2 and those exceeding the judgment level are D type flip flop 112 once per screen.
is output as a determination signal J2. Furthermore, the third feature extraction comparison and determination circuit
As shown in FIG. 9, the absolute value of the difference between the sum of the reference data SD in the traveling direction y of the printed matter P, that is, the rotational direction of the printing cylinder CY, and that of the inspection data ID is determined and compared with the determination level. That is, the reference data
This is to compare oj=1 SDij and oj=1 IDij for SDij and inspection data ID ij . This improves the accuracy of detecting defects in the rotational direction (for example, so-called doctor streaks) that frequently occur in gravure prints and the like. FIG. 20 shows an example of this, in which the data SD read from the reference data memory 14 is AND12
0, an adder 121, a memory 127, and a transceiver 129 at the dividing point in the scanning direction.
The total sum oj=1 SD ij of each rotation direction is calculated. The memory 127 is updated with data added one scanning line at a time, and finally becomes data added in the rotational direction for one screen. On the other hand, similar operations are performed on the test data ID taken in through the digital interface 7 using the AND 122, the adder 123, the memory 131, and the transceiver 133. Memory 127, 128, 13
For access to 1,132, a D type flip-flop 113 and a counter 114 are used to generate an address for each scanning line.
In addition, as a method of calculating the results added in the rotational direction, data of the previous inspection screen is transmitted to the transceivers 130 and 134 while adding one line of the next inspection screen.
The data is written to the memories 128 and 132 through the process. A method is adopted in which the previous inspection screen is judged from the second line onwards. This enables continuous real-time processing. To obtain the above timing, D type flip-flop 118, OR119 and SEND,
MEND and CLK signals are used. moreover,
Writing the test data ID into the memory 132 is performed after converting it into a one's complement number using the inverter 140 because it is necessary to find the difference from the reference data SD later. Adder 1 adds the absolute value of the difference between the reference data SD obtained as described above at the scanning division point oj=1 SD ij and that of the inspection data ID oj=1 ID ij
35, 137, an exclusive OR 136, and an inverter 139.
Furthermore, using the comparator 138, it is compared with the judgment level data CD3 read out from the pixel control data memory 15, and if the data exceeds the judgment level, it is divided by the number m of division points in the scanning direction on one screen, and the D type flip. Judgment signal J3 from flop 125
is output as Next, the first, second, and third feature extraction/comparison/judgment circuits 9, 10, and 11 individually compare and determine and output the results, which are comprehensively judged as one detection screen, and are used to detect markers, alarms, or surrounding areas. A comprehensive judgment circuit 12 is a circuit that outputs a signal that causes an action to be taken to an output device. First, in this circuit, regarding the defect signal of the first feature extraction comparison judgment circuit 9 that compares each pixel, it is determined that the detected screen is defective only when the defect signal occurs a number of times equal to or higher than a certain judgment level. . That is, the determination level of defective products inspected by the inspection apparatus according to this embodiment can be changed according to the inspection performance required. On the other hand, the second and third feature extraction comparison and determination circuits 1
Defect outputs of 0 and 11 are considered serious defects, and if even one occurs on the detection screen, the entire screen is considered defective. FIG. 21 shows an example of this, in which the number of pixels, that is, the number of CLKs, is counted only when a defective signal is generated by inputting the judgment output J1 of the first feature comparison and judgment circuit 9 to the gate of the counter 142. That's what I do. This number of defects in one screen and latch 145
Comparator 146 compares the judgment level set in
Set using MEND signal. Next, the second and third feature extraction comparison judgment circuit 1
The judgment outputs J2 and J3 of 0 and 11 are supplied as they are to the D-type flip-flops 143 and 144, respectively, and when a defect signal is generated on the detection screen, the D-type flip-flop 14
3,144 is set immediately. Depending on the presence or absence of the above three signals, the overall judgment signal TJ on the detection screen is OR14.
It is output through 8. Therefore, by monitoring the overall judgment signal TJ from the overall judgment circuit 12, it is possible to inspect printed materials that are moving at high speed during printing operations with extremely high accuracy and in real time. Next, the picture position detector 3, picture position signal input circuit 4, and reference data memory rewrite signal generation circuit 13 will be explained. As described above, the inspection device according to this embodiment is mainly applied to rotary printing presses. By the way, the position of the pattern that is continuously and sequentially formed on printed matter by such a rotary printing machine in the direction perpendicular to the running direction of the printed matter, that is, in the printing width direction, is not always at the same position during the printing operation. . That is, the feeding operation of printed matter to a multicolor rotary printing press generally involves considerable widthwise fluctuations. Therefore, in such cases, the operator adjusts the printing register by moving the printing cylinder of the printing press in the width direction each time, or the adjustment is performed automatically.
Therefore, even if there is no abnormality in the printing operation and the pattern is printed correctly, the position in the width direction of the printed material is not necessarily the same, but always fluctuates. On the other hand, since the inspection apparatus according to this embodiment has a method of determining the quality of printing by comparing the inspection data and the data read from the reference data memory 14, it is possible to If the position of the pattern on the printed material P changes in the width direction from when the data is read, even if the pattern is correct, both data will no longer match, resulting in a malfunction. This will be explained in more detail with reference to FIGS. 22 and 23. In Fig. 22, ISC is an imaging part by an image sensor included in IS1 (Fig. 3), and has a configuration in which a large number of photoelectric conversion elements, for example, 512, are arranged linearly in the width direction of printed matter P. On the other hand, a to d represent patterns repeatedly printed in sequence on the surface of the printed matter P. These patterns a to d have different positions in the x direction, that is, in the width direction, of the printed matter P for the reasons described above. Next, in FIG. 23, one of the photoelectric conversion elements of the photoelectric conversion section ISC is indicated by ISC', and one of the pixels of patterns a and b are indicated by a' and b', respectively. Therefore, data is now written in the reference data memory 14 in the state of picture a in FIG. 22, and then,
Assume that data according to pattern b in FIG. 22 is read. As a result, the relationship between a certain pixel a' of pattern a and the photoelectric conversion element ISC' becomes as shown in FIG. 23, and the relationship between a certain pixel b' of pattern b and the photoelectric conversion element ISC' becomes as shown in FIG. Suppose that it becomes as shown in FIG. 23 2. Then, the density information written to the corresponding address of the reference data memory 14 will be the data corresponding to the area a'' in FIG. 23 3, while the inspection data will be the data corresponding to the area b'' in FIG. 23 4. I end up. Therefore, at this time, even if patterns a and b are the same, the data read from the reference data memory 14 and the inspection data will no longer match, and it will be determined that the printing is defective even though the pattern is correct. It will end up being put away. Therefore, a reference data memory rewrite signal generation circuit 13 is provided, and this circuit takes in the picture position signal from the picture position detector 3 and outputs the picture position signal to the reference data memory 14.
The pattern position data when the data is written is held, and thereafter, each time the inspection data is read, it is compared with the captured pattern position data, and when the difference between the two exceeds a predetermined value, a reference data memory rewrite signal is sent. is generated, and the image data read from the pattern at that time is written as new reference data. and,
For this purpose, the picture position detector 3 includes an image sensor, detects the position in the width direction of the picture printed on the surface of the printed matter P that is traveling by the printing cylinder CY, and sends it to the BUS via the picture position signal input circuit 14.
Sends a picture position signal to. Next, an example of a method for detecting a picture position using the picture position detector 3 is shown in FIG. In FIG. 24, a indicates a pattern printed on the printed material P, and 3' indicates a portion detected by the pattern position detector 3. The picture position detector 3 images a predetermined portion in the width direction x of the picture printing surface of the printed matter P that is continuously fed in the y direction by the printing cylinder CY, and detects the image of a predetermined portion in the width direction A detection signal is generated when a predetermined portion enters the detection portion 3'. Therefore, the pattern a on the printed matter P
When the position of changes in the width direction, that is, in the x direction, the pattern a
The size of the portion included in the detection portion 3' changes, and the amount of light incident on the picture position detector 3 changes. Therefore, by detecting the amount of light incident on the picture position detector 3, the position of the picture a in the x direction can be detected, so the light quantity detection signal from this detector 3 is taken as a picture position signal,
The signal may be sent to the BUS via the picture position signal input circuit 4. Next, FIG. 25 shows another embodiment of the picture position detection method, in which M is a wedge-shaped register mark. In multi-color rotary printing presses, wedge-shaped registration marks are placed in the margins of the printing surface for automatic registration in the width direction of printed matter. Therefore, in this embodiment, this register mark M is imaged by the pattern position detector 3, and the detected portion of the register mark M is A change in the area contained within ' is detected as a change in light amount, and a picture position signal is thereby obtained. Therefore, according to this embodiment, a mark suitable for position detection can be used regardless of the original pattern, so that the detection operation can be performed more reliably. Furthermore, FIG. 26 shows another embodiment of the method for detecting the position of a picture, in which N is a mark for detecting positional deviation printed in the margin of the printed matter. This mark N consists of a large number of line segments printed at regular intervals along the width direction x of the printed material in parallel to the running direction y, and the line included in the detection portion 3' depending on the position change Δx in the width direction. The pattern position signal is obtained by utilizing the change in the number of minutes. Therefore, according to this embodiment, it becomes easy to obtain the picture position signal as the number of pulses. Next, FIG. 27 shows an embodiment of the reference data memory rewrite signal generation circuit 13, in which input/output ports P 1 to
Microcomputer (referred to as microcomputer) MC with P 6 , latches 150 to 152, counter 1
53, and AD154. FIG. 28 is a flowchart explaining the operation. When the microcomputer MC starts operating and enters the operation according to this flow, the microcomputer MC first checks the content of the control command Command, and
When it is in "stop" or "set" mode, it repeats reading the control command Command. However, in the "setting" mode, position tolerance data CD is sent from latch 150 to port P2 of microcontroller MC.
Enter 4. Also, when the control command Command is in the "reference" mode, the latch 152
The picture position information PD is taken into the microcomputer MC via P6 , and this is stored as the reference position information of the picture at the time of taking in the reference value data, and then the process returns to reading the control command Command. Then, when the control command Command enters the "inspection" mode, the operation is as follows. The position tolerance data CD4 input to port P2 in the "setting" mode is transferred to the register in the microcomputer MC. In the same manner as in the "reference" mode, the picture position information PD is taken in, and it is compared with the reference position information as the position information when the detection value data is taken in, and the absolute value of the difference is calculated. Next, the absolute value of this difference and position tolerance data
CD4 and when the absolute value of the difference exceeds the position tolerance, a reference data memory rewrite signal is sent.
Generate RWR. Return to reading the control command Command. Therefore, according to this embodiment, whenever the positional deviation of the pattern of the printed matter P in the width direction becomes large and exceeds a preset value, the reference value memory rewrite signal generation circuit 13 outputs a signal. The rewrite signal RWR is supplied to the reference data memory 14, and the image data being read by IS1 at that time is written to the reference data memory 14 as new reference data.
After that, the newly written reference data is used to determine the inspection data until the rewrite signal RWR is generated again. Even if a positional shift occurs in the width direction perpendicular to the running direction, no malfunction occurs, and only the quality of the pattern can be accurately determined. Next, the latch 151 and counter 153 in this reference data memory rewrite signal generation circuit 13,
The functions performed by AND154 and microcomputer MC will also be explained. As mentioned above, in the inspection apparatus according to this embodiment, as shown in FIG.
The image data is read by scanning in the direction x perpendicular to the running direction y of the printed matter P. Therefore, the image data actually read by IS1 is in the direction x of the running direction y of the printed matter P.
It is read along direction A, which is a composite of the scanning direction x by IS1. Therefore, when the traveling speed of the printed matter P changes,
The direction A in which image data is read is also, for example, a in FIG. 30.
It changes as shown in b. In other words, even if the scanning speed by IS1 is constant, the printed matter P
When the running speed of the vehicle increases, the direction A read by IS1 becomes B. As a result, when we look at the same pixel detection areas C and D of IS1 in Figures 30a and 30b, we see that in Figure 30a, data with a black pattern is read in the entire area, whereas in Figure 30b, data with a black pattern is read within the detection area. , some of the data of a white pattern is included, and even though the same pattern is read, the pixel data of the corresponding address becomes different. Therefore, if the running speed of the printed matter P differs between when the reference data is set and when the inspection data is read, an erroneous inspection result will be given if left as is. Therefore, the latch 151 is loaded with speed tolerance data CD.
5 is accepted, and BUS is sent from the rotary encoder RE to AND154 via the traveling position signal input circuit 5.
The RWR signal is generated when the running speed of the printed material P changes by more than a permissible value between when setting the reference data and when reading the inspection data. This operation will be explained using the flowchart shown in FIG. Now, if a signal is given to the circuit 13 via the BUS, the microcomputer MC first issues a control command.
Read the contents of the Command.
In the case of "stop" or "setting" mode, reading of the control command Command is repeated. however,
In the "setting" mode, speed tolerance data is sent to port P5 in the microcontroller MC via latch 151.
CD5 is written. In addition, when the control command Command is in the "reference" mode, the microcomputer MC outputs a signal to reset the counter 153, resets the counter 153, gives a count start signal to the AND154, and outputs a pulse MCLK from the rotary encoder RE. take in. Microcomputer MC measures a predetermined time. The microcomputer MC outputs a count end signal to the counter 153 and the rotary encoder
Finish capturing pulse MCLK from RE. The count value of the counter 153 is input to the microcomputer MC via port P3 , and this is input to the microcomputer MC.
It is stored in the register inside as the traveling speed information at the time of importing the reference value data. Return to reading the control command Command. When the control command Command is in the "inspection" mode, the speed tolerance input to port P5 during the "setting" mode is transferred to a register in the microcomputer MC. The pulse MCLK from the rotary encoder RE is captured in the same way as in the "reference" mode. The absolute value of the difference between the traveling speed information at the time of taking in the test value data and that at the time of taking in the reference value data is determined. If the absolute value of this difference is greater than or equal to a predetermined value considering the speed tolerance, the reference value memory rewrite signal RWR
output to BUS. Return to reading the control command Command. Therefore, according to this embodiment, the speed information at the time of taking in the inspection value data of the running printed material to be inspected is compared with the speed information at the time of taking in the reference value data stored in advance, and the difference is determined to be a predetermined value. When the standard value data is exceeded, the standard value data is rewritten.
Misjudgments in inspecting running printed matter due to differences in running speed can be prevented. Next, another embodiment of the present invention using the pixel control data 15 will be described. In rotary printing presses and the like to which the present invention is applied, the width of the printed matter P is not always constant, and printing is often performed by switching to paper of various widths, and in such cases, the width of the inspection area may be changed. It is desirable to change it. For example, as shown in FIG. 32, when the width of printed matter P is switched from A to B, it is desirable to mask portion C. In addition, in such an inspection method, the 33rd
As shown in the figure, there is a logarithmic relationship between the density of the printed pattern and the amount of detected light, so if the judgment level when comparing the reference data and the detected data is set to a fixed level as shown in Figure 33, it is possible to In some areas, the absolute difference between the detected light amount and the judgment level is insufficient,
It becomes impossible to judge whether the pattern is good or bad. Therefore, as shown in FIG. 34, for example, it is desirable to multiply the reference data by a certain ratio (0 to 1) and change it as a function, such as setting the determination level to 10% of the reference data value. Furthermore, at this time, as shown in FIG.
You can mask any part B of the picture A for the screen as a unit, or as shown in Fig. 36,
Taking the pattern C from one printing as a unit, we examine each of the areas that do not require inspection, such as the margin area D, the area E for which inspection at the normal judgment level is sufficient, and the area F that requires particularly strict inspection. It would be even more convenient if the determination level could be changed accordingly and the determination level could be managed in detail in accordance with the picture content of the printed matter. Therefore, in the embodiment described below, masking and judgment level changes can be performed using the same method, and masking can be performed by selecting any part within a pattern. In order to enable partially different judgment levels to be set arbitrarily, the configuration is simple, and inspection is possible while maintaining sufficiently high pattern quality without reducing the yield of finished printed matter. A pixel control data memory having an address corresponding to the data memory is provided, and the determination level of each pixel when an inspection operation is performed by comparing inspection data and reference data is determined based on the data read from this pixel control data memory. It is set in units. The pixel control data memory 15 has the same storage contents as the reference data memory 14 as shown in FIG. 37, similar to the reference data memory 14 explained in FIG. The address a' of the reference data memory 14 is
It is configured such that control data corresponding to the data can be written and read. FIG. 38 shows an example of the feature extraction comparison and determination circuit in this embodiment, in which the first feature extraction comparison and determination circuit 9
It was constructed in . When the printing operation starts and the inspection operation starts, the inspection data ID, the reference data memory 14, and the respective data SD and CD1 from the pixel control data memory 15 are sequentially read out at the same address and sent to each latch 220.
~223 is taken in. Therefore, among these, the positive state reference data SD inputted to the latch 222 and the negative state detection data ID inputted to the latch 223 are sent to the adder circuit 2.
29, an inverter 230, an exclusive OR gate 231, and an adder circuit 232 process the data to become data D D representing the absolute value of the difference between the test data ID and the reference data SD, which is written into the latch 225. That is, D D =|ID−SD| is extracted. This data D D is then supplied from the latch 225 to one input B of the comparator 223. In addition, the reference data taken out from the latch 221
SD is input to the shift register 227, where it is shifted by a predetermined number of bits to a predetermined coefficient K.
(less than 1) becomes the multiplied data KSD and is supplied to one input B of the selection circuit 228. On the other hand, the control data taken into the latch 220
CD1 is read out as is and supplied to the other input B of the selection circuit 228, and the OR gate 22
6 to the selection input S of the selection circuit 228. The selection circuit 228 functions to output the data supplied to the input B when the selection input S is at the "H" level, and outputs the data at the input A when the selection input S is at the "L" level. The comparator 223 compares the data JL of input A and the data D D of input B, and the data of input B is the data of input A.
It generates an output J that becomes "H" level only when the data is larger than the data. That is, a comparison operation is performed using the data JL as the determination level, and the output J is obtained. Therefore, the computer 21 monitors the output J of the comparator 233, and when it is at "L" level,
At that time, it is determined that there is no defect in the pattern part of the printed matter corresponding to the address of each memory 14, 15, and when it becomes "H" level, it is determined that there is a defect in that part and a predetermined operation is performed. Let's do it. Therefore, the control data currently written to a certain address in the pixel control data memory 15 is (0,
0) H , that is, all 8 bits are 0. Then, when the inspection data of the picture portion corresponding to this address is read out and inspection is to be performed, the output of the OR gate 226 becomes "L".
Since the level is reached, the selection circuit 228 writes the data KSD of the input A to the latch 224. As a result, the data JL representing the determination level by the comparator 233 at this time is the data KSD, which is obtained by shifting the reference data SD by the shift register 227 and multiplying it by a certain coefficient K.
As a result, the quality of the pattern is determined. That is, at this time, the pattern is inspected using the method described in FIG. 34 in which the judgment level changes as a function of the reference data. Therefore, by writing data (0, 0) H to an arbitrary address in the pixel control data memory 15, it is possible to obtain an inspection in which the judgment level changes as a function of the reference data in the picture area corresponding to that address. become. In addition, the address specification at this time is
It goes without saying that the process is not limited to each pixel unit, but may be performed in multiple pixel units. Next, suppose that the control data written to a certain address in the pixel control data memory 15 is data other than (0, 0) H , that is, at least one of the 8 bits is set to 1. Then, when the inspection data of the picture part corresponding to this address is read out, the output of the OR gate 226 becomes "H" level, so at this time, the selection circuit 28 supplies the data CD1 of the input B to the latch 224 as it is. . Therefore, at this time, the comparator 223 operates with the control data CD1 read from that address as the judgment level, and the control data written in the pixel control data memory 15 makes an arbitrary judgment different for each address of the picture. It is possible to have inspections performed at the level. Therefore, for example, as shown in FIG. 36, in a part D of a pattern C of a printed matter to be inspected, which hardly requires inspection, such as a margin, the control data to be written to that address should be made sufficiently large. , thereby increasing the judgment level for this part, ignoring the presence or absence of some defects, and writing relatively small control data to the address corresponding to the important part E, reducing the judgment level. A very strict check is performed on the important portion E, and the determination level is further reduced on the extremely important portion F, thereby enabling fine-grained control over the print finish. At this time, part B of Fig. 35 and part B of Fig. 36
Pixel control data memory 15 corresponding to part D in the figure
If (F, F) H is written as control data to the address of , the output J of the comparator 233 will always be "H" in this part regardless of the data D D , so it is possible to detect defects in the pattern. The same result as when masking is not performed is obtained, and the masking operation can be performed on any part of the picture. Next, a method for writing control data into the pixel control data memory 15 will be described. In this embodiment, as is clear from FIG. 2, all operations are controlled and managed by the computer 21, and the computer 21 also writes control data to the pixel control data memory 15. It's becoming like that. Therefore, this write operation will be specifically explained below. When setting an arbitrary value as a determination level in the pixel control data memory 15. As shown in FIG. 39, judgment level data of arbitrary values are sequentially written and set in the pixel control data memory 15 from the computer 21 via the computer interface 17. When setting the reference data multiplied by a certain ratio K (K<1) as the determination level in the pixel control data memory 15. As shown in FIG. 40, the reference data memory 1
4 contents to computer interface 17
is imported into the CPU of computer 21 via
Thereafter, each pixel of the reference data is multiplied by a certain ratio K (K<1) within the CPU to process it into data representing the determination level. In this case, in areas where the density level is low (where the digital value is small), when multiplied by the ratio K, it may become 0, so it is necessary to determine the lowest value that can be set, or to use a standard value. Ratio K to data
It is a good idea to add a certain value after multiplying by . The thus processed data representing the determination level for each pixel is set in the pixel control data memory 15 from the CPU via the computer interface 17. Note that it goes without saying that a hardware configuration may also be used. When monitoring the reference data as an image, positioning an arbitrary part of the pattern using a cursor, etc., and setting a determination level for each arbitrary part in the pixel control data memory 15. As shown in FIG. 40, the reference data memory 1
4 contents to computer interface 17
The data is imported into the CPU via the , and then input to the CRT so that it can be monitored as an image. and,
Move the cursor to specify a predetermined part of the reproduced image, import that position to the CPU,
An arbitrary determination level at that position is set in the pixel control data memory 15 from the CPU via the computer interface 17. When extracting the outline of a picture from reference data, setting a special judgment level for this part, and setting it in the control data memory. As shown in FIG. 40, the reference data memory 1
4 contents to computer interface 17
The data is input to the CPU via the CPU, and digital image processing calculations are performed to extract the outline of the pattern from the data. In this way, an arbitrary judgment level is determined for the address of the extracted contour part,
Data is set in the pixel control data memory 15 via the computer interface 17. As a method for extracting components representing vertical or horizontal contours from the pattern of image data, for example, there is a method using a spatial filter technique that is commonly used in digital image processing technology. Accordingly, you can easily reach your goal. Now, centering on any point fij on the pattern, 3x
If we use the density of the intermediate point in the square area of 3,
The spatial filter used for vertical contour extraction is

【式】あるいは[Formula] or

【式】とな り、横方向の輪郭抽出に使用する空間フイルタ
は、
[Formula], and the spatial filter used for horizontal contour extraction is:

【式】あるいは[Formula] or

【式】となる。 また、単純に絵柄の輪郭を求めるだけなら
ば、空間フイルタはラプラシアンの手法で4方
向の差分をとる方法は、
[Formula] becomes. Also, if you simply want to find the outline of a picture, the spatial filter can be used to calculate differences in four directions using the Laplacian method.

【式】で あり、8方向の差分をとる方法では、
[Formula], and in the method of taking the difference in 8 directions,

【式】である。 なお、こので示したような、絵柄の輪郭部を
抽出して特別な判定レベルを設定するのは次の理
由による。即ち、絵柄の中でその濃度が急変して
いる部分では、欠陥検出時に発生する位置ずれに
よつて検出動作に大きな影響を受け、位置ずれの
結果、欠陥が存在していないのにもかかわらず欠
陥があつたものとして検出動作が行なわれてしま
う虞れが多くなつて誤動作を生じ易くなる。そこ
で、絵柄の輪郭部を検出し、この部分の判定レベ
ルだけを他の部分に比して大きめに設定してやれ
ば、全体的な判定レベルをあまり大きくすること
なく、位置ずれによる誤動作を少なくすることが
できるからである。 なお、このような検査においては、グラビア印
刷段階で発生するドクター筋など回転方向の欠陥
を検出し易くするため、第41図A,Bに示すよ
うに、一画素の検出エリアの大きさを横方向に比
べて縦方向に長くなると有利でありこの場合に
は、同じ距離(△X、△Y)位置がずれたとして
も1画素の光電素子の検出エリアが受ける影響
は、第42図のAとBから明らかなように、横方
向Xのずれの方が縦方向のずれに比べて大きい。 従つて、上記のように、輪郭部分を検出し、そ
の部分では横方向の判定レベルを縦方向のそれに
比べて大きめに設定してやれば位置ずれによる誤
動作も少なくなり、さらに全体的な欠陥検出精度
を下げなくても誤動作が増加する虞れを無くすこ
とができる。 なお、以上〜で説明した制御データの設定
動作は個々に行なう必要はなく、データ設定時間
の短縮とハードウエア製造面での負荷を考慮して
ハードウエアとソフトウエア的な設定法を合わせ
て行なうようにしてもよい。 このような場合のデータ設定方法の一例を第4
3図のフローチヤートで示す。 なお、以上では特に説明しなかつたが、第3図
のブロツク図において、バツフアメモリ16はコ
ンピユータ21の動作に必要なデータの送受信の
ために設けられたものであり、モニター用アドレ
ス発生回路18とモニターインターフエース19
は内部のデイジタルデータをモニター20に出力
させるためのものである。そして、コンピユータ
21は、例えばパーソナルコンピユータなどと呼
ばれるもので、この検査装置全体の動作を制御す
るために設けられているものであることはいうま
でもない。 又、本実施例は、検査位置を印刷シリンダCY
上としたが、これは絵柄の絶対位置を把握できる
機構にさえすれば、オフラインでの検査、枚葉印
刷物の検査に応用できることは言うまでもない。 以上説明したように、本発明によれば、輪転印
刷機など刷り上り印刷物がかなり高速で走行して
いる場合でも、極めて高い精度を保ちながらリア
ルタイムで印刷物の検査が可能な装置を提供する
ことができる。
[Formula]. The reason for extracting the outline of the picture and setting a special determination level as shown above is as follows. In other words, in parts of the pattern where the density changes rapidly, the detection operation is greatly affected by the positional deviation that occurs during defect detection, and as a result of the positional deviation, even though there is no defect, the detection operation is greatly affected. There is a greater possibility that a detection operation will be performed assuming that there is a defect, making it more likely that a malfunction will occur. Therefore, by detecting the outline of the picture and setting the judgment level for this part higher than for other parts, it is possible to reduce malfunctions due to positional deviation without increasing the overall judgment level too much. This is because it can be done. In addition, in such an inspection, in order to make it easier to detect defects in the rotational direction such as doctor streaks that occur during the gravure printing stage, the size of the detection area of one pixel is reduced horizontally, as shown in Figures 41A and B. It is advantageous to be longer in the vertical direction than in the vertical direction, and in this case, even if the position is shifted by the same distance (△X, △Y), the effect on the detection area of one pixel photoelectric element is as shown in A of Fig. 42. As is clear from and B, the deviation in the horizontal direction X is larger than the deviation in the vertical direction. Therefore, as mentioned above, by detecting the contour part and setting the horizontal judgment level to be higher than the vertical one in that part, malfunctions due to positional deviations will be reduced, and the overall defect detection accuracy will be improved. Even if it is not lowered, the risk of increased malfunction can be eliminated. Note that the control data setting operations explained above do not need to be performed individually, but should be performed in conjunction with hardware and software setting methods in order to reduce data setting time and reduce the burden on hardware manufacturing. You can do it like this. An example of how to set data in such a case is shown in Part 4.
This is shown in the flowchart in Figure 3. Although not specifically explained above, the buffer memory 16 in the block diagram of FIG. interface 19
is for outputting internal digital data to the monitor 20. The computer 21 is, for example, what is called a personal computer, and it goes without saying that it is provided to control the operation of the entire inspection apparatus. In addition, in this embodiment, the inspection position is printed on the cylinder CY.
As mentioned above, it goes without saying that this can be applied to offline inspection and inspection of sheet-fed printed matter as long as it is equipped with a mechanism that can grasp the absolute position of the pattern. As explained above, according to the present invention, it is possible to provide an apparatus that can inspect printed matter in real time while maintaining extremely high accuracy even when the printed matter is running at a fairly high speed, such as with a rotary printing machine. can.

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

第1図はデイジタル化方式による印刷物の検査
方法の一例を原理的に示した説明図、第2図は基
準データメモリの概念図、第3図は本発明による
印刷物の検査装置の一実施例における全システム
を示すブロツク図、第4図は走行位置信号入力回
路の一実施例を示す回路図、第5図は動作説明用
のタイムチヤート、第6図は走査方向信号入力回
路の一実施例を示す回路図、第7図は印刷シリン
ダの検査面と各信号との関係を示す説明図、第8
図は検査面のアドレス分けを示す説明図、第9図
はアドレス発生回路の一実施例を示す回路図、第
10図はアナログ・デイジタル変換器に必要な特
性の一例を示す説明図、第11図はデイジタル入
力インターフエースの一実施例を示す回路図、第
12図は画像強調回路の一実施例を示す回路図、
第13図はデータ入力系の構成と信号をまとめて
示した説明図、第14図は共通部分の一実施例を
示す回路図、第15図は画素単位での比較・判定
動作を示す説明図、第16図は第1の特徴抽出比
較判定回路の一実施例を示す回路図、第17図は
画素の総和による比較・判定動作を示す説明図、
第18図は第2の特徴抽出比較判定回路の一実施
例を示す回路図、第19図は画素の特定方向の総
和による比較・判定動作を示す説明図、第20図
は第3の特徴抽出比較判定回路の一実施例を示す
回路図、第21図は総合判定回路の一実施例を示
す回路図、第22図は印刷物の絵柄のずれを示す
説明図、第23図は絵柄のずれによる画素光量の
変化を示す説明図、第24図は絵柄位置検出器の
動作を示す説明図、第25図及び第26図は位置
検出用マークの説明図、第27図は基準データメ
モリ再書込み信号発生回路の一実施例を示す回路
図、第28図はその動作説明用のフローチヤー
ト、第29図は印刷物の走行速度と実際の走査方
向との関係を示す説明図、第30図は印刷物の走
行速度の変化による絵柄の読取り状態の変化を示
す説明図、第31図は走行速度による基準データ
メモリ再書込み動作の一実施例を示すフローチヤ
ート、第32図は印刷物検査におけるマスキング
の必要性を示す説明図、第33図及び第34図は
絵柄濃度と光量との関係及び判定レベルを説明す
る特性図、第35図及び第36図はこの実施例の
効果を示す説明図、第37図は画素制御データメ
モリの概念図、第38図は第1の特徴抽出比較判
定回路の他の一実施例を示す回路図、第39図及
び第40図は画素制御データメモリに対するデー
タ設定動作のそれぞれ一実施例を示す説明図、第
41図A,Bは検出エリアにおける1画素の形状
を示す説明図、第42図A,Bは位置ずれ検出感
度の方向による違いを示す説明図、第43図はデ
ータ設定動作の一実施例を示すフローチヤートで
ある。 P……印刷物、CY……印刷シリンダ、RE……
ロータリーエンコーダ、1……イメージセンサカ
メラ(IS)、3……絵柄位置検出器。
FIG. 1 is an explanatory diagram showing the principle of an example of a printed matter inspection method using a digitization method, FIG. 2 is a conceptual diagram of a reference data memory, and FIG. 3 is an illustration of an embodiment of a printed matter inspection apparatus according to the present invention. A block diagram showing the entire system, FIG. 4 is a circuit diagram showing one embodiment of the traveling position signal input circuit, FIG. 5 is a time chart for explaining the operation, and FIG. 6 is a circuit diagram showing one embodiment of the scanning direction signal input circuit. Fig. 7 is an explanatory diagram showing the relationship between the inspection surface of the printing cylinder and each signal; Fig. 8 is a circuit diagram shown in Fig. 7;
FIG. 9 is an explanatory diagram showing address division on the inspection surface, FIG. 9 is a circuit diagram showing an example of an address generation circuit, FIG. 10 is an explanatory diagram showing an example of characteristics required for an analog-to-digital converter, and FIG. 12 is a circuit diagram showing an embodiment of a digital input interface, FIG. 12 is a circuit diagram showing an embodiment of an image enhancement circuit,
Fig. 13 is an explanatory diagram showing the configuration and signals of the data input system, Fig. 14 is a circuit diagram showing an example of common parts, and Fig. 15 is an explanatory diagram showing comparison and judgment operations in pixel units. , FIG. 16 is a circuit diagram showing an embodiment of the first feature extraction comparison and judgment circuit, and FIG. 17 is an explanatory diagram showing a comparison and judgment operation based on the sum of pixels.
Fig. 18 is a circuit diagram showing an embodiment of the second feature extraction comparison/judgment circuit, Fig. 19 is an explanatory diagram showing a comparison/judgment operation based on the summation of pixels in a specific direction, and Fig. 20 is a circuit diagram showing an example of the second feature extraction comparison/judgment circuit. FIG. 21 is a circuit diagram showing an embodiment of the comparison judgment circuit. FIG. 21 is a circuit diagram showing an embodiment of the comprehensive judgment circuit. FIG. An explanatory diagram showing changes in pixel light intensity, Fig. 24 is an explanatory diagram showing the operation of the picture position detector, Figs. 25 and 26 are explanatory diagrams of position detection marks, and Fig. 27 is a reference data memory rewrite signal. A circuit diagram showing an embodiment of the generating circuit, FIG. 28 is a flowchart for explaining its operation, FIG. 29 is an explanatory diagram showing the relationship between the running speed of printed matter and the actual scanning direction, and FIG. 30 is a flowchart for explaining the operation of the generating circuit. An explanatory diagram showing a change in the reading state of a pattern due to a change in traveling speed, FIG. 31 is a flowchart showing an example of the reference data memory rewriting operation depending on the traveling speed, and FIG. 32 shows the necessity of masking in printed matter inspection. 33 and 34 are characteristic diagrams illustrating the relationship between pattern density and light amount and the determination level, FIGS. 35 and 36 are explanatory diagrams showing the effects of this embodiment, and FIG. A conceptual diagram of the pixel control data memory, FIG. 38 is a circuit diagram showing another embodiment of the first feature extraction comparison and determination circuit, and FIGS. 39 and 40 are diagrams of data setting operations for the pixel control data memory, respectively. FIGS. 41A and 41B are explanatory diagrams showing the shape of one pixel in the detection area, FIGS. 42A and B are explanatory diagrams showing the difference in positional deviation detection sensitivity depending on the direction, and FIG. 43 is an explanatory diagram showing the embodiment. 7 is a flowchart showing an example of data setting operation. P...Printed material, CY...Printing cylinder, RE...
Rotary encoder, 1... Image sensor camera (IS), 3... Picture position detector.

Claims (1)

【特許請求の範囲】 1 所定の時点で走行印刷物の絵柄から読取つた
画像データの記憶が可能なメモリを備え、該メモ
リから読出した画像データを基準データ、上記走
行印刷物の残余の絵柄から読出つた画像データを
検査データとし、これら基準データと検査データ
の比較に基づいて印刷の良否判定を行う方式の印
刷物の検査装置において、上記基準データの特徴
と検査データの特徴をそれぞれ対応する画素単位
ごとに抽出比較して印刷の良否判定を行う第1の
特徴抽出比較判定手段と、上記基準データの特徴
と検査データの特徴を同一絵柄内での所定の範囲
における画素の総和として抽出比較することによ
り印刷の良否判定を行う第2の特徴抽出比較判定
手段と、上記基準データの特徴と検査データの特
徴を印刷物の走行方向に沿つて同一直線上に配列
された画素の同一絵柄内における総和として抽出
比較することにより印刷の良否判定を行う第3の
特徴抽出比較判定手段と、上記第1、第2、第3
の各特徴抽出比較判定手段の判定結果を総合判定
して最終的な印刷物の良否判定を行う総合判定手
段とを設け、この総合判定手段の判定結果により
印刷物の良否判定が行われるようにすると共に、
上記走行印刷物の走行速度を検出する速度検出手
段と、該速度検出手段により検出した速度データ
を保持する手段と、上記所定の時点における走行
印刷物の速度データと上記検査データの読み取り
時における走行印刷物の速度データとの差を演算
する演算手段と、該演算手段の結果を所定値と比
較する比較手段と、該比較手段の結果に基づい
て、このときの走行印刷物の絵柄から読み取つた
検査データを上記基準データとして新たに書き換
える手段とを設けたことを特徴とする印刷物の検
査装置。 2 特許請求の範囲第1項において、上記走行印
刷物の走行方向と直角な方向における絵柄位置を
検出する手段と、該手段により検出した位置デー
タを保持する手段とを設け、上記メモリに対する
基準データの書込み時における上記絵柄位置と、
上記検査データの読取り時における上記絵柄位置
との差が所定値を超えたときには、上記メモリに
対する基準データの再書込みを行うように構成し
たことを特徴とする印刷物の検査装置。 3 特許請求の範囲第1項または第2項におい
て、画像データの各画素単位もしくは複数の画素
単位に対応したアドレスを有する画素制御データ
メモリと、上記基準データの上記検出データに対
する許容差を決定する制御データを画像データの
各画素単位もしくは複数の画素単位で上記画素制
御データメモリに書込むためのデータ設定手段と
を設け、上記第1、第2、及び第3の特徴抽出比
較判定手段による基準データと検出データの比較
動作の少なくとも1における判定レベルを上記画
素制御データメモリから読出した画素制御データ
に基づいて設定するように構成したことを特徴と
する印刷物の検査装置。 4 特許請求の範囲第3項において、上記画素制
御データメモリから読出した画素制御データの識
別手段と、上記メモリから読出した基準データに
所定の演算処理を施す演算手段と、上記基準デー
タと検出データの比較動作における判定レベルを
上記演算手段の出力データと上記画素制御データ
メモリから読出した画素制御データのいずれか一
方のデータに切換えて選定する選択手段とを設
け、上記識別手段による識別結果に応じて上記選
択手段を制御するように構成したことを特徴とす
る印刷物の検査装置。 5 特許請求の範囲第3項又は第4項において、
上記画素制御データメモリから読出した画素制御
データのレベルを判定するレベル判定手段を設
け、該データのレベルが所定値以上になつていた
ときには、上記基準データと検出データの比較動
作における判定レベルを充分に大きなレベルに設
定するように構成したことを特徴とする印刷物の
検査装置。 6 特許請求の範囲第3項ないし第5項のいずれ
かにおいて、上記データ設定手段が、上記メモリ
から読出した基準データを所定の画像映出面に再
生するモニタ手段と、該モニタ手段の画像映出面
の任意の部分を指定して上記画素制御データメモ
リの対応するアドレスへのデータの書込みを可能
にする手段とで構成されていることを特徴とする
印刷物の検査装置。 7 特許請求の範囲第3項ないし第5項のいずれ
かにおいて、上記データ設定手段が、上記基準デ
ータメモリから読出した基準データによる画像の
輪郭部を抽出して上記画素制御データメモリの対
応するアドレスへのデータの書込みを可能にする
手段で構成されていることを特徴とする印刷物の
検査装置。
[Scope of Claims] 1. A memory capable of storing image data read from the pattern of the running printed material at a predetermined time, and the image data read from the memory is read from the reference data and the remaining pattern of the running printed material. In a printed matter inspection device that uses image data as inspection data and determines the quality of printing based on a comparison between these reference data and inspection data, the characteristics of the reference data and the characteristics of the inspection data are determined for each corresponding pixel. A first feature extraction/comparison/judgment means for extracting and comparing to determine the quality of printing, and printing by extracting and comparing the features of the reference data and the features of the inspection data as the sum of pixels in a predetermined range within the same picture. a second feature extraction comparison/judgment means for determining the quality of the reference data and the features of the inspection data as the sum total of pixels arranged on the same straight line along the running direction of the printed matter within the same picture; a third feature extraction comparison and determination means for determining the quality of printing by
A comprehensive judgment means is provided for comprehensively judging the judgment results of each of the feature extraction and comparison judgment means to make a final judgment on the quality of the printed matter, and the quality of the printed matter is judged based on the judgment result of the comprehensive judgment means. ,
a speed detection means for detecting the running speed of the running printed matter; a means for retaining the speed data detected by the speed detecting means; A calculation means for calculating the difference from the speed data, a comparison means for comparing the result of the calculation means with a predetermined value, and a comparison means for comparing the inspection data read from the pattern of the running printed matter at this time based on the result of the comparison means. A printed matter inspection device characterized in that it is provided with means for newly rewriting reference data. 2. In claim 1, there is provided means for detecting a pattern position in a direction perpendicular to the traveling direction of the traveling printed matter, and means for retaining the position data detected by the means, and the reference data is stored in the memory. The above picture position at the time of writing,
An apparatus for inspecting printed matter, characterized in that, when a difference between the inspection data and the pattern position exceeds a predetermined value when reading the inspection data, reference data is rewritten to the memory. 3. In claim 1 or 2, a pixel control data memory having an address corresponding to each pixel unit or a plurality of pixel units of image data, and determining a tolerance difference between the reference data and the detected data. data setting means for writing control data into the pixel control data memory in units of each pixel or a plurality of pixels of image data; An inspection apparatus for printed matter, characterized in that a determination level in at least one of the operations for comparing data and detected data is set based on pixel control data read from the pixel control data memory. 4. In claim 3, it is provided that: means for identifying pixel control data read from the pixel control data memory; arithmetic means for performing predetermined arithmetic processing on the reference data read from the memory; and the reference data and the detected data. A selection means is provided for selecting a judgment level in the comparison operation by switching to either one of the output data of the arithmetic means and the pixel control data read from the pixel control data memory, and according to the identification result by the identification means. 1. An inspection apparatus for printed matter, characterized in that said selection means is controlled by said selection means. 5 In claim 3 or 4,
A level determining means is provided for determining the level of the pixel control data read from the pixel control data memory, and when the level of the data exceeds a predetermined value, the determination level in the comparison operation between the reference data and the detected data is set to a sufficient level. A printed matter inspection device characterized in that the printed matter is configured to be set at a high level. 6. In any one of claims 3 to 5, the data setting means comprises a monitor means for reproducing reference data read from the memory on a predetermined image projection surface, and an image projection surface of the monitor means. and means for specifying any part of the pixel control data memory to write data to the corresponding address of the pixel control data memory. 7. In any one of claims 3 to 5, the data setting means extracts the outline of the image based on the reference data read from the reference data memory and sets the image to the corresponding address in the pixel control data memory. 1. An inspection device for printed matter, characterized in that it is comprised of means that allows data to be written to.
JP57063221A 1981-07-29 1982-04-17 Checking device of printed matter Granted JPS58181175A (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP57063221A JPS58181175A (en) 1982-04-17 1982-04-17 Checking device of printed matter
GB08305954A GB2115145B (en) 1981-07-29 1982-07-23 Method and device for inspecting printed matter
PCT/JP1982/000285 WO1983000557A1 (en) 1981-07-29 1982-07-23 Method and device for inspecting printed matter
US06/483,956 US4561103A (en) 1981-07-29 1982-07-23 Print inspecting method and apparatus
DE823248928T DE3248928T1 (en) 1981-07-29 1982-07-23 PRESSURE INSPECTION PROCEDURE AND DEVICE FOR CARRYING OUT THE PROCEDURE
GB08427147A GB2159623B (en) 1981-11-11 1984-10-26 Print inspecting method
GB08427146A GB2150285B (en) 1981-09-18 1984-10-26 Print inspecting method
GB08427145A GB2159622B (en) 1981-07-29 1984-10-26 Print inspecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57063221A JPS58181175A (en) 1982-04-17 1982-04-17 Checking device of printed matter

Publications (2)

Publication Number Publication Date
JPS58181175A JPS58181175A (en) 1983-10-22
JPH0147823B2 true JPH0147823B2 (en) 1989-10-17

Family

ID=13222931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57063221A Granted JPS58181175A (en) 1981-07-29 1982-04-17 Checking device of printed matter

Country Status (1)

Country Link
JP (1) JPS58181175A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007326327A (en) * 2006-06-09 2007-12-20 Kyodo Printing Co Ltd Inspection method and device of printed matter
JP2010186485A (en) * 2010-04-05 2010-08-26 Omron Corp Method of processing color image and image processing apparatus
JP2011033391A (en) * 2009-07-30 2011-02-17 Nec Corp Printed matter inspection apparatus, printed matter inspection system, method of inspecting printed matter and printed matter inspection program
WO2020090505A1 (en) * 2018-10-30 2020-05-07 京セラドキュメントソリューションズ株式会社 Fabric inspection device and inkjet print-dyeing apparatus equipped with same

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6211152A (en) * 1985-07-09 1987-01-20 Dainippon Printing Co Ltd Apparatus for inspecting printed matter
WO1989001669A1 (en) * 1987-08-13 1989-02-23 Nippon Telegraph And Telephone Corporation Method and apparatus for detecting defects at high speeds
JP5303503B2 (en) * 2010-03-30 2013-10-02 大日本スクリーン製造株式会社 Image inspection apparatus, printing apparatus, and image inspection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5421129A (en) * 1977-07-18 1979-02-17 Fuji Electric Co Ltd Flaw detection method by square difference system for length of circumference
JPS5574667A (en) * 1978-11-29 1980-06-05 Nec Home Electronics Ltd Pattern discrimination method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5421129A (en) * 1977-07-18 1979-02-17 Fuji Electric Co Ltd Flaw detection method by square difference system for length of circumference
JPS5574667A (en) * 1978-11-29 1980-06-05 Nec Home Electronics Ltd Pattern discrimination method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007326327A (en) * 2006-06-09 2007-12-20 Kyodo Printing Co Ltd Inspection method and device of printed matter
JP2011033391A (en) * 2009-07-30 2011-02-17 Nec Corp Printed matter inspection apparatus, printed matter inspection system, method of inspecting printed matter and printed matter inspection program
JP2010186485A (en) * 2010-04-05 2010-08-26 Omron Corp Method of processing color image and image processing apparatus
JP4670995B2 (en) * 2010-04-05 2011-04-13 オムロン株式会社 Color image processing method and image processing apparatus
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
JPS58181175A (en) 1983-10-22

Similar Documents

Publication Publication Date Title
US4561103A (en) Print inspecting method and apparatus
KR960003873B1 (en) Method for displaying defect &amp; the apparatus thereof
Yangping et al. Real-time Defect Detection Method for Printed Images Based on Grayscale and Gradient Differences.
JPH0147823B2 (en)
GB2159623A (en) Print inspecting method
JP3374289B2 (en) Print inspection equipment
JPH0147821B2 (en)
JPS5881165A (en) Inspection of print
GB2159622A (en) Print inspecting method
JP2556894B2 (en) Print quality inspection device and method
JPH06210836A (en) Inspection device for printed matter
GB2150285A (en) Print inspecting method
JP2733958B2 (en) Long sheet defect inspection equipment
JP2621690B2 (en) Printing defect inspection equipment
JP2991520B2 (en) Inspection device for print blur of printed matter
JPH0414067B2 (en)
JP2841373B2 (en) Pattern inspection equipment
JPH0726827B2 (en) Pattern inspection equipment
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JPS6112344A (en) Apparatus for inspecting printed matter
JPH0625657B2 (en) Method and device for inspecting printed matter
JP3029142B2 (en) Printing evaluation method and printing evaluation device
JP2727797B2 (en) Solid-state imaging device inspection device
JPH0679862A (en) Method for inspecting quality of printing paper surface and apparatus therefor
JPH04129743A (en) Pattern inspection device for printed matter