JPH0147822B2 - - Google Patents

Info

Publication number
JPH0147822B2
JPH0147822B2 JP56179599A JP17959981A JPH0147822B2 JP H0147822 B2 JPH0147822 B2 JP H0147822B2 JP 56179599 A JP56179599 A JP 56179599A JP 17959981 A JP17959981 A JP 17959981A JP H0147822 B2 JPH0147822 B2 JP H0147822B2
Authority
JP
Japan
Prior art keywords
data
control data
data memory
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
JP56179599A
Other languages
Japanese (ja)
Other versions
JPS5881165A (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 JP56179599A priority Critical patent/JPS5881165A/en
Priority to DE823248928T priority patent/DE3248928T1/en
Priority to US06/483,956 priority patent/US4561103A/en
Priority to GB08305954A priority patent/GB2115145B/en
Priority to PCT/JP1982/000285 priority patent/WO1983000557A1/en
Publication of JPS5881165A publication Critical patent/JPS5881165A/en
Priority to GB08427147A priority patent/GB2159623B/en
Publication of JPH0147822B2 publication Critical patent/JPH0147822B2/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

Landscapes

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

Description

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

本発明は、輪転印刷機などにおける連続して走
行する印刷物の印刷良否を走行状態のままで正確
に検査する方法に関する。 印刷物の印刷仕上り状態については一般にかな
り厳格なものが要求されるため、その検査につい
ても充分に信頼性の高い方法が必要になる。 そのため、従来の視覚的な検査方法に代つて画
像処理技術を利用して画像パターンの比較により
印刷物の検査を自動的に行なうようにした方法が
提案され、実用化されるようになつてきた。 このような画像パターンの比較による検査方法
の一例を原理的に示したのが第1図で、1は印刷
物、2は回転ドラム、3はイメージセンサカメ
ラ、4はアナログ・デイジタル(A/D)変換
器、5は切換スイツチ、6は基準データメモリ、
7は検出データメモリである。 印刷物1は長尺の紙、フイルムなどであり、輪
転印刷機により所定の絵柄がその走行方向に沿つ
て順次、繰り返し連続的に印刷され、回転ドラム
2によつて送り出されている。 イメージセンサカメラ(以下、ISカメラとい
う)3は印刷物1の絵柄が印刷された面を撮像
し、印刷物1の走行方向Yと直角になつた幅方向
Xに沿つた所定の部分を一次元的に走査して画像
信号を取り出す。そして、この印刷物1から読取
つた一次元画像信号を所定の画素ごとにA/D変
換器4でデイジタル化してスイツチ5に供給す
る。 基準データメモリ6と検出データメモリ7は第
2図に示すような記憶内容を有し、両メモリとも
印刷幅方向及び走行方向に分割されたアドレスa
に各画素ごとのデイジタル化された濃度情報の書
込み、読出しが可能なように構成されている。そ
こで、いま、スイツチ5を図示のように基準デー
タメモリ6に切換え、印刷物1の所定の絵柄部分
をISカメラ3によつ撮像すれば、幅方向Xに沿つ
た部分の各画素ごとの濃度情報が順次、基準デー
タメモリ6の印刷幅方向に分割されたアドレスに
書込まれ、それが印刷物1の走行方向Yの動きに
より順次繰り返されて基準データメモリ6の走行
方向に分割されたアドレスに濃度情報として書込
まれ、結局、この基準データメモリ6には印刷物
1に印刷された絵柄の所定の範囲の画像データが
書込まれることになる。また、スイツチ5を図示
とは反対の下側に切換えれば、同様に印刷物1の
絵柄の所定の範囲の画像データが書込まれること
になる。 従つて、印刷動作を開始した直後の所定の時期
で、絵柄に欠陥の無い印刷物が得られたことを確
認した後でスイツチ5を基準データメモリ6の方
に切換え、そのときに印刷物1から得られた画像
データを基準データとして基準データメモリ6に
書込み、以後はスイツチ5を検出データメモリ7
に切換えれば、このメモリ7には印刷物1から順
次読取つた画像データが次々と入力され、順次新
しい画像データが検出データとして書き替えられ
ていることになる。 そこで、それ以後、基準データメモリ6と検出
データメモリ7の対応するアドレスの濃度情報を
順次読出して比較し、それらが一致しているか否
かを調べれば印刷動作中高速度で走行している印
刷物1の印刷の良否を連続的に判定することがで
き、しかも目視による検査とは比較にならない程
高い信頼度を保つて検査を行なうことができる。 ところで、このような検査方法が適用された印
刷機においては、印刷物1の幅が常に同じではな
くて複数の異なつた紙幅のものに切換えられて印
刷を行なう場合が多く、このようなときには検査
部分の幅を変化させることが望ましい。例えば、
第3図に示すように、印刷物1の幅がAからBに
切換えられたときには、部分Cのマスキングが望
ましい。 また、このような検査方法においては、第4図
に示すように印刷絵柄の濃度と検出光量の間は対
数特性関係にあるため、基準データと検出データ
の比較時における判定レベルをこの第4図に示す
ように固定レベルとしておくと、低濃度領域では
検出光量と判定レベルとの絶対差が不足し、絵柄
の良否判定が不可能となつてしまう。そこで、例
えば第5図に示すように、判定レベルを基準デー
タ値の10%とするなど、基準データにある比率
(φ〜1)を乗じ、その関数として変化させるの
が望ましい。 そのため、例えば、マスキング技術に関しては
特開昭52−90989号公報、或いは特開昭54−34290
号公報などによる提案がなされ、判定レベルの可
変技術については特開昭54−97484号公報による
提案がなされている。 しかしながら、これらの方法では、例えば第6
図に示すように、1画面分の絵柄Aを単位として
その中の任意の部分Bをマスキングしたり、第7
図に示すように、1回分の印刷による絵柄Cを単
位として、その中で検査が不要な部分、例えば余
白部Dと、通常の判定レベルによる検査で充分な
部分E、それに特に厳しい検査が必要な部分Fの
それぞれに応じて判定レベルを変化させ、印刷物
の絵柄内容に対応して判定レベルを細かく管理す
ることなどができない上、マスキングと判定レベ
ルの変化とが全く異なる方法で行なわれているた
め、構造が複雑になつてしまうという欠点があつ
た。 本発明の目的は、上記した従来技術の欠点を除
き、マスキングと判定レベルの変化が全く同一手
段で行なうことができ、しかも絵柄内の任意の部
分を選択してのマスキングが可能になり、その上
絵柄に応じて部分的に異なつた判定レベルが任意
に設定し得るようにし、これにより構成が簡単
で、かつ、仕上り印刷物に対する歩留りを低下さ
せることなく充分に高い絵柄品質を保つことが可
能な印刷物の検査方法を提供するにある。 この目的を達成するため、本発明は、基準デー
タメモリに対応したアドレスを有する制御データ
メモリを設け、検出データと基準データの比較に
よる検査動作が行なわれているときの判定レベル
が制御データメモリから読出されるデータに基づ
いて各画素単位或いは複数の画素単位で設定され
るようにした点を特徴とする。 以下、本発明による印刷物の検査方法の実施例
を図面について説明する。 第8図は本発明による検査方法をコンピユータ
制御により具体化した一実施例で、回転ドラム
2、ISカメラ3、A/D変換器4、基準データメ
モリ6、検出データメモリ7などは第1図の従来
例と同じである。この第8図において、9は回転
ドラム2の回転移相を検出するロータリエンコー
ダ、10は走行位置信号入力回路、11は走査方
向信号入力回路、12はアドレス発生回路、13
はコンピユータインターフエイス、14は演算ユ
ニツト、15はコンピユータ、16は制御データ
メモリである。 ロータリエンコーダ9は回転ドラム2の回転角
位置を表わす信号を発生する。従つて、このロー
タリエンコーダ9の信号を調べれば印刷物の走行
位置が判り、絵柄の所定の部分からの画像データ
を取込むことができる。そして、このロータリエ
ンコーダ9からの信号は走行位置信号入力回路1
0を介して内部バスBUSに送り出される。 走査方向信号入力回路11はISカメラ3による
走査方向を表わす信号を内部バスBUSに送り出
す働きをする。 アドレス発生回路12は基準データメモリ6と
検出データメモリ7、それに制御データメモリ1
6の動作に必要なアドレス信号を内部バスBUS
に送出する働きをする。 演算ユニツト14は検出データメモリ7から読
出した検出データを基準データメモリ6からの基
準データと比較して良否判定を行なう。 コンピユータ15は例えばパーソナルコンピユ
ータなどと呼ばれるもので、中央演算処理ユニツ
トCPU、メモリMEM、キーボードKB、それに
デイスプレイCRTなどからなり、コンピユータ
インターフエイス13を介して内部バスBUSに
結合し、所定のプログラムに従つて各種の処理を
行なう。 制御データメモリ16は、第2図で説明した検
出データメモリ7と同様に、第9図に示すように
基準データメモリ6と同じ記憶内容を有し、同じ
く印刷幅方向と走行方向に分割されたアドレス
a′に基準データメモリ6のアドレスaと対応した
制御データの書込み、読出しが可能に構成されて
いる。 第10図は演算ユニツト14の一実施例で、2
0〜25は8ビツトのデータラツチ回路、26は
同じく8ビツトの入力が可能なように構成された
オアゲートアレイ、27は同じくシフトレジス
タ、28は同じく選択回路、29,32は同じく
加算回路、30は同じくインバータ、31は同じ
くエクスクルーシブオアゲート、33は同じくコ
ンパレータである。 次に、この実施例の動作について説明する。 印刷動作が開始してその検査動作に入ると、コ
ンピユータ15のプログラムにより検出データメ
モリ7、基準データメモリ6、それに制御データ
メモリ16からのそれぞれのデータが順次同じア
ドレスごとに読出されて各ラツチ20〜23に取
込まれる。 そこで、このうち、ラツチ22に入力されたポ
ジ状態の基準データDSとラツチ23に入力され
たネガ状態の検出データDIとが演算回路29、
インバータ30、エクスクルーシブオアゲート3
1、加算回路32からなる回路で処理されて検出
データDIと基準データDSの差の絶対値を表わす
データDDとなり、ラツチ25に書込まれる。即
ちDD=|DI−DS|が取出される。そして、この
データDDはラツチ25からコンパレータ33の
一方の入力Bに供給される。 また、ラツチ21から取出された基準データ
DSはシフトレジスタ27に入力され、ここで所
定のビツト数だけシフトされて所定の係数K(1
より小さい)が乗算されたデータKDSとなつて選
択回路28の一方の入力Bに供給される。 一方、ラツチ20に取込まれた制御データDC
はそののまま読出されて選択回路28の他方の入
力Aに供給されると共に、オアゲート26を介し
て選択回路28の選択入力Sに供給される。な
お、この選択回路28は、その選択入力Sが
“H”レベルのとき入力Bに供給されているデー
タを出力し、“L”レベルのときには入力Aのデ
ータを出力する働きをする。 コンパレータ33は入力AのデータJLと入力
BのデータDDとを比較し、入力Bのデータが入
力Aのデータより大きかつたときだけ“H”レベ
ルとなる出力Jを発生する。即ち、データJLを
判定レベルとした比較動作が行なわれて出力Jが
得られることになる。 従つて、コンピユータ15はこのコンパレータ
33の出力Jを監視し、それが“L”レベルのと
きには、そのとき各メモリ6,7,16のアドレ
スに対応する印刷物の絵柄部分には欠陥が無いと
判断し、それが“H”レベルとなつたらその部分
に欠陥があつたものと判断して所定の動作を行な
う。 そこで、いま、制御データメモリ16の或るア
ドレスに書込まれている制御データが(0、0)
、即ち、8ビツト全部が0となつていたとする。 そうすると、このアドレスに対応する絵柄部分
の検出データが読出されて検査が行なわれようと
したときには、オアゲート26の出力が“L”レ
ベルとなるから選択回路28は入力Aのデータ
KDSをラツチ24に書込む。 この結果、このときのコンパレータ33による
判定レベルを表わすデータJLは基準データDS
シフトレジスタ27でシフトして或る係数Kを乗
算したものとなつているデータKDSとなつてお
り、これにより絵柄の良否判定が行なわれること
になる。つまり、このときには、第5図で説明し
た、判定レベルが基準データの関数として変化す
る方式で絵柄の検査が行なわれることになる。 従つて、制御データメモリ16の任意のアドレ
スにデータ(0、0)Hを書込んでおけば、そのア
ドレスに対応した絵柄部分では基準データの関数
として判定レベルが変化する検査方法が得られる
ことになる。なお、このときのアドレス指定は、
各画素単位に限らず、複数の画素単位で行なうよ
うにしてもよいことはいうまでもない。 次に、制御データメモリ16の或るアドレスに
書込まれている制御データが(0、0)H以外のデ
ータ、つまり8ビツトのうちの少くとも1つ以上
が1になつていたとする。 そうすると、このアドレスに対応する絵柄部分
の検出データが読出されたときには、オアゲート
26の出力が“H”レベルとなるので、このとき
には選択回路28には入力BのデータDCをその
ままラツチ24に供給する。 そこで、このときには、コンパレータ33はそ
のアドレスから読出された制御データDCを判定
レベルとして動作することになり、制御データメ
モリ16に書込んだ制御データにより絵柄の各ア
ドレスごとに異なる任意の判定レベルでの検査を
行なわせることができる。 従つて、例えば、第7図に示すように、検査す
べき印刷物の絵柄Cのうちで、余白などほとんど
検査を必要としない部分Dにおいては、そのアド
レスに書込むべき制御データを充分に大きくし、
これによりこの部分での判定レベルを大として多
少の欠陥の有無には目をつぶり、重要な部分Eに
対応するアドレスには比較的小さな制御データを
書込んで判定レベルを小さくし、これにより重要
な部分Eではかなり厳密なチエツクが行なわれる
ようにし、さらに極めて重要な部分Fではさらに
判定レベルを小さくするなど、印刷仕上りに対す
るきめ細かな管理を行なうことができる。 そして、このとき、第6図の部分Bや第7図の
部分Dに相当する制御データメモリ16のアドレ
スには制御データとして(F、F)Hを書込むよう
にすれば、この部分ではコンパレータ33の出力
JがデータDDと無関係に常に“H”となるから、
絵柄の欠陥検出を行なわないようにした場合と同
じ結果が得られ、マスキング動作が任意の絵柄部
分について行なえることになる。 次に、制御データメモリ16に対する制御デー
タの書込方法について説明する。 この実施例においては、第8図から明らかなよ
うに、コンピユータ15によつて全ての動作制御
と動作管理が行なわれており、制御データメモリ
16に対する制御データの書込みもコンピユータ
15によつて行なうようになつている。 そこで、以下、この書込動作を具体的に説明す
ると、 任意の値を判定レベルとして制御データメモ
リ16に設定するとき。 第11図に示すように、CPUからコンピユ
ータインターフエイス13を介して任意の値の
判定レベル・データを制御データメモリ16に
順次書込み設定する。 基準データに或る比率K(K<1)を乗算し
たものを判定レベルとして制御データメモリ1
6に設定するとき。 第12図に示すように、基準データメモリ6
の内容をコンピユータインターフエイス13を
介してCPUに取り込み、その後、CPU内部で
基準データの1画素ごとに或る比率K(K<1)
を乗算して判定レベルを表わすデータに加工す
る。その際、濃度レベルの低い領域(デイジタ
ル値が小さくなつているところ)では、比率K
を乗算したときに0になつてしまう場合がある
から、設定可能な最低値を定めておくか、或い
は基準データに比率Kを乗算したあと一定値を
加算するようにしておくと良い。 こうして加工した各画素ごとの判定レベルを
表わすデータをCPUからコンピユータインタ
ーフエース13を介して制御データメモリ16
に設定する。又、本実施例のように第8図演算
ユニツト14において、ハードウエア(第10
図)構成できることはいうまでもない。 基準データを画像としてモニタし、絵柄の任
意の部分をカーソルなどにより位置決定して任
意の部分ごとの判定レベルを制御データメモリ
16に設定するとき。 第12図に示すように、基準データメモリ6
の内容をコンピユータインターフエイス13を
介してCPUに取込み、これをCRTに入力し画
像としてモニタできるようにする。そして、カ
ーソルを動かして画像再生された絵柄の所定の
部分を指定し、その位置をCPUに取込み、そ
の位置における任意の判定レベルがCPUから
コンピユータインターフエイス13を介して制
御データメモリ16に設定される。 基準データから絵柄の輪郭部を抽出し、この
部分に特別な判定レベルを定めて制御データメ
モリに設定するとき。 第12図に示すように、基準データメモリ6
の内容をコンピユータインターフエイス13を
介してCPUに取込み、そのデータから絵柄の
輪郭部を抽出するためのデイジタル画像処理演
算を行なう。これにより抽出された輪郭部のア
ドレスに対して任意の判定レベルを決定し、コ
ンピユータインターフエイス13を介して制御
データメモリ16にデータの設定を行なう。 このような画像データの絵柄からその縦方向、
或いは横方向の輪郭部を表わす成分の抽出方法と
しては、例えば、デイジタル画像処理技術で一般
に用いられている空間フイルタの技法によるもの
があり、これによれば容易に目的を達することが
できる。 いま、絵柄の任意の点fijを中心として3×3の
平方領域に各点の濃度を用いたとすると、縦方向
の輪郭抽出に使用する空間フイルタは、
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. Therefore, instead of the conventional visual inspection method, a method has been proposed and put into practical use that uses image processing technology to automatically inspect printed matter by comparing image patterns. Figure 1 shows the principle of an example of such an inspection method by comparing image patterns, in which 1 is a printed matter, 2 is a rotating drum, 3 is an image sensor camera, and 4 is an analog/digital (A/D). Converter, 5 is a changeover switch, 6 is a reference data memory,
7 is a detection data memory. The printed matter 1 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 rotating drum 2. An image sensor camera (hereinafter referred to as an IS camera) 3 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 traveling direction Y of the printed material 1. Scan and extract image signals. The one-dimensional image signal read from the printed matter 1 is digitized for each predetermined pixel by an A/D converter 4 and supplied to a switch 5. The reference data memory 6 and the detection data memory 7 have storage contents as shown in FIG.
The structure is such that digitized density information can be written and read out for each pixel. Therefore, if the switch 5 is now switched to the reference data memory 6 as shown in the figure, and a predetermined pattern part of the printed matter 1 is imaged by the IS camera 3, 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 6, which are sequentially repeated by the movement of the printed matter 1 in the running direction Y, and the density is written to the addresses divided in the running direction of the reference data memory 6. The image data is written as information, and image data of a predetermined range of the image printed on the printed material 1 is eventually written into the reference data memory 6. Moreover, if the switch 5 is switched to the lower side opposite to that shown in the figure, image data of a predetermined range of the pattern of the printed matter 1 will be written in the same way. 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 5 is switched to the reference data memory 6, and at that time, the data obtained from the printed matter 1 is transferred. The detected image data is written to the reference data memory 6 as reference data, and from then on, the switch 5 is used as the detection data memory 7.
If the image data is switched to , image data sequentially read from the printed material 1 is input to the memory 7 one after another, and new image data is sequentially rewritten as detection data. Therefore, after that, the density information of the corresponding addresses in the reference data memory 6 and the detection data memory 7 are sequentially read out and compared, and it is determined whether or not they match. The quality of printing can be continuously determined, and the inspection can be performed with a level of reliability that is incomparably higher than that of visual inspection. By the way, in printing machines to which such an inspection method is applied, the width of the printed matter 1 is not always the same, but it is often printed by switching to sheets of different paper widths, and in such cases, the inspection area It is desirable to vary the width of. for example,
As shown in FIG. 3, when the width of the printed product 1 is switched from A to B, masking of portion C is desirable. In addition, in such an inspection method, since there is a logarithmic relationship between the density of the printed pattern and the amount of detected light as shown in Figure 4, the judgment level when comparing the standard data and the detected data is shown in Figure 4. If a fixed level is used as shown in , the absolute difference between the detected light amount and the determination level will be insufficient in the low density region, making it impossible to determine the quality of the image. Therefore, as shown in FIG. 5, for example, it is desirable to set the determination level to 10% of the reference data value, or to multiply the reference data by a certain ratio (φ~1) and change it as a function thereof. Therefore, for example, regarding masking technology, there is
JP-A No. 54-97484 has proposed a technique for varying the determination level. However, in these methods, for example, the sixth
As shown in the figure, you can mask any part B of the picture A for one screen, or
As shown in the figure, a pattern C from one print is taken as a unit, and there are areas that do not require inspection, such as margins D, areas E that are sufficient for inspection at the normal judgment level, and areas that require particularly strict inspection. In addition, it is not possible to change the judgment level according to each part F, and to manage the judgment level in detail according to the image content of the printed matter, and masking and changing the judgment level are performed in completely different ways. Therefore, the disadvantage was that the structure became complicated. An object of the present invention is to eliminate the drawbacks of the prior art described above, to enable masking and change of judgment level to be performed by the same means, and to enable masking by selecting any part within a picture. It is possible to arbitrarily set partially different judgment levels depending on the top pattern, which allows for a simple configuration and maintains sufficiently high pattern quality without reducing the yield of finished printed matter. To provide a method for inspecting printed matter. In order to achieve this object, the present invention provides a control data memory having an address corresponding to the reference data memory, and the determination level when an inspection operation is performed by comparing detected data and reference data is set from the control data memory. It is characterized in that it is set for each pixel or for a plurality of pixels based on the read data. Embodiments of the printed matter inspection method according to the present invention will be described below with reference to the drawings. FIG. 8 shows an embodiment in which the inspection method according to the present invention is realized by computer control, and the rotating drum 2, IS camera 3, A/D converter 4, reference data memory 6, detection data memory 7, etc. This is the same as the conventional example. In FIG. 8, 9 is a rotary encoder for detecting the rotational phase of the rotary drum 2, 10 is a running position signal input circuit, 11 is a scanning direction signal input circuit, 12 is an address generation circuit, and 13
1 is a computer interface, 14 is an arithmetic unit, 15 is a computer, and 16 is a control data memory. A rotary encoder 9 generates a signal representing the rotational angular position of the rotary drum 2. Therefore, by checking the signal from the rotary encoder 9, the traveling position of the printed material can be determined, and image data from a predetermined portion of the pattern can be captured. The signal from this rotary encoder 9 is transmitted to the traveling position signal input circuit 1.
0 to the internal bus BUS. The scanning direction signal input circuit 11 functions to send a signal representing the scanning direction by the IS camera 3 to the internal bus BUS. The address generation circuit 12 includes a reference data memory 6, a detection data memory 7, and a control data memory 1.
The address signals necessary for the operation of 6 are transferred to the internal bus BUS.
It functions to send out to. The arithmetic unit 14 compares the detection data read out from the detection data memory 7 with the reference data from the reference data memory 6 to determine the quality. The computer 15 is called a personal computer, for example, and consists of a central processing unit CPU, a memory MEM, a keyboard KB, a display CRT, etc. It is connected to the internal bus BUS via the computer interface 13 and follows a predetermined program. Then various processing is performed. The control data memory 16 has the same storage contents as the reference data memory 6 as shown in FIG. 9, similar to the detection data memory 7 described in FIG. 2, and is similarly divided into the printing width direction and the running direction. address
It is configured such that control data corresponding to address a of the reference data memory 6 can be written to and read from a'. FIG. 10 shows an embodiment of the arithmetic unit 14, with two
0 to 25 are 8-bit data latch circuits, 26 is an OR gate array configured to allow 8-bit input, 27 is a shift register, 28 is a selection circuit, 29 and 32 are adder circuits, and 30 is also an inverter, 31 is also an exclusive OR gate, and 33 is a comparator. Next, the operation of this embodiment will be explained. When the printing operation starts and the inspection operation begins, each data from the detection data memory 7, the reference data memory 6, and the control data memory 16 is sequentially read out at the same address by the program of the computer 15 and sent to each latch 20. ~23. Therefore, among these, the positive state reference data D S input to the latch 22 and the negative state detection data D I input to the latch 23 are input to the arithmetic circuit 29.
Inverter 30, exclusive or gate 3
1. It is processed by the circuit consisting of the adder circuit 32 to become data D D representing the absolute value of the difference between the detection data D I and the reference data D S , and is written into the latch 25. That is, D D =|D I −D S | is extracted. This data D D is then supplied from the latch 25 to one input B of the comparator 33. In addition, the reference data taken out from the latch 21
D S is input to the shift register 27, where it is shifted by a predetermined number of bits to a predetermined coefficient K(1
(smaller) becomes the multiplied data KD S and is supplied to one input B of the selection circuit 28. On the other hand, the control data D C taken into the latch 20
is read out as is and supplied to the other input A of the selection circuit 28, and is also supplied to the selection input S of the selection circuit 28 via the OR gate 26. The selection circuit 28 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 33 compares the data JL of input A with the data D D of input B, and generates an output J that becomes "H" level only when the data of input B is greater than the data of input A. That is, a comparison operation is performed using the data JL as the determination level, and the output J is obtained. Therefore, the computer 15 monitors the output J of the comparator 33, and when it is at the "L" level, it determines that there is no defect in the image part of the printed material corresponding to the address of each memory 6, 7, 16 at that time. However, when it reaches the "H" level, it is determined that there is a defect in that part and a predetermined operation is performed. Therefore, the control data currently written to a certain address in the control data memory 16 is (0, 0).
Assume that H , that is, all 8 bits are 0. Then, when the detection data of the picture part corresponding to this address is read out and an inspection is to be performed, the output of the OR gate 26 becomes "L" level, so the selection circuit 28 selects the data of the input A.
Write KD S to latch 24. As a result, the data JL representing the determination level by the comparator 33 at this time is data KD S , which is obtained by shifting the reference data D S by the shift register 27 and multiplying it by a certain coefficient K. The quality of the pattern will be judged. That is, at this time, the pattern is inspected using the method described in FIG. 5 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 control data memory 16, an inspection method can be obtained 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, assume that the control data written to a certain address in the control data memory 16 is data other than (0, 0) H , that is, at least one of the 8 bits is set to 1. Then, when the detection data of the picture part corresponding to this address is read out, the output of the OR gate 26 becomes "H" level, so at this time, the selection circuit 28 supplies the data DC of the input B to the latch 24 as is. do. Therefore, at this time, the comparator 33 operates with the control data D C read from that address as the judgment level, and the control data written in the control data memory 16 sets an arbitrary judgment level that differs for each address of the picture. inspection can be carried out. Therefore, for example, as shown in FIG. 7, 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 at that address should be made sufficiently large. ,
As a result, the judgment level for this part is set high, and the presence or absence of some defects is ignored, and relatively small control data is written to the address corresponding to the important part E, and the judgment level is made small. A very strict check is performed on the most important portions E, and the determination level is further reduced on the extremely important portions F, thereby enabling fine-grained control over the printing finish. At this time, if (F, F) H is written as control data to the address of the control data memory 16 corresponding to part B in FIG. 6 or part D in FIG. Since the output J of 33 is always “H” regardless of the data D D ,
The same result as when no pattern defect detection is performed is obtained, and the masking operation can be performed on any part of the pattern. Next, a method for writing control data into the control data memory 16 will be explained. In this embodiment, as is clear from FIG. 8, all operation control and operation management are performed by the computer 15, and writing of control data into the control data memory 16 is also performed by the computer 15. It's getting old. Therefore, this write operation will be specifically explained below: When setting an arbitrary value to the control data memory 16 as a determination level. As shown in FIG. 11, judgment level data of arbitrary values are sequentially written and set in the control data memory 16 from the CPU via the computer interface 13. The control data memory 1 uses the reference data multiplied by a certain ratio K (K<1) as the determination level.
When setting to 6. As shown in FIG.
The content of is read into the CPU via the computer interface 13, and then a certain ratio K (K<1) is calculated for each pixel of the reference data inside the CPU.
is processed into data representing the judgment level. At this time, in areas where the density level is low (where the digital value is small), the ratio K
Since there is a case where the value becomes 0 when multiplied by the ratio K, it is better to set the lowest value that can be set or to multiply the reference data by the ratio K and then add a constant value. Data representing the judgment level for each pixel processed in this way is sent from the CPU to the control data memory 16 via the computer interface 13.
Set to . Further, as in this embodiment, in the arithmetic unit 14 in FIG.
Figure) Needless to say, it can be configured. When monitoring reference data as an image, positioning an arbitrary part of a pattern using a cursor, etc., and setting a determination level for each arbitrary part in the control data memory 16. As shown in FIG.
The contents are taken into the CPU via the computer interface 13, and input into the CRT so that they can be monitored as images. Then, move the cursor to specify a predetermined part of the reproduced picture pattern, import that position into the CPU, and set an arbitrary judgment level at that position from the CPU to the control data memory 16 via the computer interface 13. Ru. When extracting the outline of a pattern from reference data, setting a special judgment level for this part, and setting it in the control data memory. As shown in FIG.
The contents of the image are taken into the CPU via the computer interface 13, and digital image processing calculations are performed to extract the outline of the picture from the data. An arbitrary determination level is determined for the address of the extracted outline, and the data is set in the control data memory 16 via the computer interface 13. From the pattern of such image data, its vertical direction,
Alternatively, as a method for extracting a component representing a horizontal contour, for example, there is a method using a spatial filter technique that is generally used in digital image processing technology, and the purpose can be easily achieved using this method. Now, if we use the density of each point in a 3x3 square area centered on an arbitrary point f ij of the pattern, the spatial filter used to extract the contour in the vertical direction is:

【式】あるいは[Formula] or

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

【式】あるいは[Formula] or

【式】 となる。また、単純に絵柄の輪郭を求めるだけな
らば、空間フイルタはラプラシアンの手法で4方
向の差分をとる方法では、
[Formula] becomes. Also, if you simply want to find the outline of a pattern, 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,

【式】である。 なお、こので示したような、絵柄の輪郭部を
抽出して特別な判定レベルを設定するのは次の理
由による。即ち、絵柄の中でその濃度が急変して
いる部分では、欠陥検出時に発生する位置ずれに
よつて検出動作に大きな影響を受け、位置ずれの
結果、欠陥が存在していないにもかかわらず欠陥
があつたものとして検出動作が行なわれてしまう
虞れが多くなつて誤動作を生じ易くなる。そこ
で、絵柄の輪郭部を検出し、この部分の判定レベ
ルだけを他の部分に比して大きめに設定してやれ
ば、全体的な判定レベルをあまり大きくすること
なく、位置ずれによる誤動作を少なくすることが
できるからである。 なお、このような検査方法においては、グラビ
ア印刷段階で発生するドクター筋など回転方向の
欠陥を検出し易くするため、第13図A,Bに示
すように、一画素の検出エリアの大きさを横方向
に比べて縦方向に長くとると有利でありこの場合
には、同じ距離(△X、△Y)位置がずれたとし
ても1画素の光電素子の検出エリアが受ける影響
は、第14図のAとBから明らかなように、横方
向Xのずれの方が縦方向Yのずれに比べて大き
い。 従つて、上記のように、輪郭部分を検出し、そ
の部分では横方向の判定レベルを縦方向のそれに
比べて大きめに設定してやれば位置ずれによる誤
動作も少なくなり、さらに全体的な欠陥検出精度
を下げなくても誤動作が増加する虞れを無くすこ
とができる。 なお、以上〜で説明した制御データの設定
動作は個々に行なう必要はなく、データ設定時間
の短縮とハードウエア製造面での負荷を考慮して
ハードウエアとソフトウエア的な設定法を合わせ
て行なうようにしてもよい。 このような場合の設定方法の一例を第15図に
フローチヤートで示す。 なお、この本実施例では検出データを一度メモ
リに書き込んでから読み出し比較する方式として
説明したが、本発明はメモリ7を使用せず検出デ
ータを基準データと直ちに比較するリアルタイム
処理方式として実施してもよいのはいうまでもな
い。また、これは第1図に示しした従来例でも同
様である。 以上説明したように、本発明によれば、検査す
べき印刷物の絵柄の任意の部分を選択指定してマ
スキングしたり、それぞれ異なつた任意の判定レ
ベルのもとで検査を行なうことができるから、従
来技術の欠点を除いて、絵柄の必要な部分につい
ての欠陥検出精度を充分に高く保ちながら全体的
は歩留りを低下させることない印刷物の検査方法
を提供することができる。
[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, defects may be detected even though no defects exist. There is a greater possibility that the detection operation will be performed assuming that the temperature is hot, 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 method, 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 increased as shown in Fig. 13A and B. It is advantageous to make it longer in the vertical direction than in the horizontal direction. 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 shown in Figure 14. As is clear from A and B, the deviation in the horizontal direction X is larger than the deviation in the vertical direction Y. 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 a setting method in such a case is shown in a flowchart in FIG. Although this embodiment has been described as a method in which the detected data is once written in the memory and then read out and compared, the present invention is implemented as a real-time processing method in which the detected data is immediately compared with the reference data without using the memory 7. Needless to say, it's good. Further, this also applies to the conventional example shown in FIG. As explained above, according to the present invention, it is possible to selectively designate and mask any part of the pattern of a printed matter to be inspected, and to perform inspection at different arbitrary judgment levels. It is possible to provide a printed matter inspection method that eliminates the shortcomings of the prior art, maintains sufficiently high defect detection accuracy for necessary parts of a pattern, and does not reduce the overall yield.

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

第1図は基準データメモリを備えた印刷物の検
査方法の一例を示す説明図、第2図はメモリの説
明図、第3図は印刷物検査におけるマスキングの
必要性を示す説明図、第4図及び第5図は絵柄濃
度と光量との関係及び判定レベルを説明する特性
図、第6図及び第7図は本発明の効果を示す説明
図、第8図は本発明による印刷物の検査方法をコ
ンピユータ制御により具体化した一実施例を示す
ブロツク図、第9図はその制御データメモリの説
明図、第10図は同じく演算ユニツトの一実施例
を示すブロツク構成図、第11図及び第12図は
制御データメモリに対するデータ設定動作のそれ
ぞれ一実施例を示す説明図、第13図A,Bは検
出エリアにおける1画素の形状を示す説明図、第
14図A,Bは位置ずれ検出感度の方向による違
いを示す説明図、第15図は制御データ設定動作
の一実施例を示すフローチヤートである。 1……印刷物、2……回転ドラム、3……イメ
ージセンサカメラ、4……アナログ・デイジタル
変換器、6……基準データメモリ、7……検査デ
ータメモリ、9……ロータリエンコーダ、10…
…走行位置信号入力回路、11……走査方向信号
入力回路、12……アドレス発生回路、13……
コンピユータインターフエイス、14……演算ユ
ニツト、15……コンピユータ、16……制御デ
ータメモリ。
FIG. 1 is an explanatory diagram showing an example of a printed matter inspection method equipped with a reference data memory, FIG. 2 is an explanatory diagram of the memory, FIG. 3 is an explanatory diagram showing the necessity of masking in printed matter inspection, and FIGS. Fig. 5 is a characteristic diagram illustrating the relationship between pattern density and light amount and the judgment level, Figs. 6 and 7 are explanatory diagrams showing the effects of the present invention, and Fig. 8 is a computer-based method for inspecting printed matter according to the present invention. FIG. 9 is an explanatory diagram of the control data memory, FIG. 10 is a block diagram showing an embodiment of the arithmetic unit, and FIGS. An explanatory diagram showing one example of the data setting operation for the control data memory, FIGS. 13A and B are explanatory diagrams showing the shape of one pixel in the detection area, and FIGS. 14A and B are depending on the direction of positional deviation detection sensitivity. An explanatory diagram showing the difference, FIG. 15 is a flowchart showing an example of control data setting operation. DESCRIPTION OF SYMBOLS 1... Printed matter, 2... Rotating drum, 3... Image sensor camera, 4... Analog-digital converter, 6... Reference data memory, 7... Inspection data memory, 9... Rotary encoder, 10...
...Traveling position signal input circuit, 11...Scanning direction signal input circuit, 12...Address generation circuit, 13...
Computer interface, 14... Arithmetic unit, 15... Computer, 16... Control data memory.

Claims (1)

【特許請求の範囲】 1 基準となる印刷物から読取つた画像データを
基準データとして書込んだ基準データメモリを備
え、検査すべき印刷物から読取つた画像データを
検出データとし、それを上記メモリから読出した
基準データと各画素単位もしくは複数の画素単位
ごとに比較して印刷の良否判定を行なう方式の印
刷物の検査方法において、画像データの各画素単
位もしくは複数の画素単位に対応したアドレスを
有する制御データメモリを設け、上記基準データ
の上記検出データに対する許容差を決定する制御
データを上記制御データメモリの所定のアドレス
に書き込み、この制御データメモリから読出した
制御データの識別結果に応じて、上記基準データ
と検出データの比較動作における判定レベルを、
上記制御データメモリから読出した制御データ
と、上記基準データメモリから読出した基準デー
タに所定の演算処理を施して得た出力データのい
ずれか一方のデータに切換え、印刷物の絵柄の所
定範囲ごとに所定の判定レベルによる判定が行わ
れるように構成したことを特徴とする印刷物の検
査方法。 2 特許請求の範囲第1項において、上記制御デ
ータメモリから読出した制御データのレベル判定
を行い、該制御データのレベルが所定値以上とな
つていたときには、上記基準データと検出データ
の比較動作における判定レベルを充分に大きなレ
ベルに設定換えするように構成したことを特徴と
する印刷物の検査方法。 3 特許請求の範囲第1項又は第2項において、
上記制御データメモリの所定のアドレスへの上記
制御データの書込みが、上記基準データメモリか
ら読出したデータを所定の画像映出面を有するモ
ニタに入力し、このモニタの画像映出面の任意の
部分を指定して上記制御データメモリの対応する
アドレスへのデータの書込みとなるように構成し
たことを特徴とする印刷物の検査方法。 4 特許請求の範囲第1項又は第2項において、
上記制御データメモリに書込まれるデータが、上
記基準データメモリから読出した基準データによ
る画像の輪郭部を抽出したデータとなるように構
成したことを特徴とする印刷物の検査方法。
[Claims] 1. A reference data memory in which image data read from a reference printed matter is written as reference data, and image data read from the printed material to be inspected is used as detection data and read from the memory. A control data memory having an address corresponding to each pixel unit or a plurality of pixel units of image data in a printed matter inspection method that determines the quality of printing by comparing each pixel unit or a plurality of pixel units with reference data. control data for determining the tolerance of the reference data with respect to the detected data is written in a predetermined address of the control data memory, and the reference data and the detection data are determined according to the identification result of the control data read from the control data memory. The judgment level in the detection data comparison operation is
The control data read from the control data memory and the output data obtained by performing predetermined arithmetic processing on the reference data read from the reference data memory are switched to one of the control data and the output data obtained by performing predetermined arithmetic processing on the reference data read from the reference data memory. A method for inspecting printed matter, characterized in that the method is configured to perform a judgment based on a judgment level. 2. In claim 1, when the level of the control data read from the control data memory is determined and the level of the control data is equal to or higher than a predetermined value, the comparison operation between the reference data and the detected data is performed. A printed matter inspection method characterized in that a determination level is set to a sufficiently large level. 3 In claim 1 or 2,
Writing of the control data to a predetermined address of the control data memory involves inputting the data read from the reference data memory to a monitor having a predetermined image projection surface, and specifying any part of the image projection surface of this monitor. A method for inspecting printed matter, characterized in that the method is configured such that data is written to a corresponding address of the control data memory. 4 In claim 1 or 2,
A method for inspecting printed matter, characterized in that the data written in the control data memory is data obtained by extracting the outline of an image based on the reference data read from the reference data memory.
JP56179599A 1981-07-29 1981-11-11 Inspection of print Granted JPS5881165A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP56179599A JPS5881165A (en) 1981-11-11 1981-11-11 Inspection of print
DE823248928T DE3248928T1 (en) 1981-07-29 1982-07-23 PRESSURE INSPECTION PROCEDURE AND DEVICE FOR CARRYING OUT THE PROCEDURE
US06/483,956 US4561103A (en) 1981-07-29 1982-07-23 Print inspecting method and apparatus
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
GB08427147A GB2159623B (en) 1981-11-11 1984-10-26 Print inspecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56179599A JPS5881165A (en) 1981-11-11 1981-11-11 Inspection of print

Publications (2)

Publication Number Publication Date
JPS5881165A JPS5881165A (en) 1983-05-16
JPH0147822B2 true JPH0147822B2 (en) 1989-10-17

Family

ID=16068548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56179599A Granted JPS5881165A (en) 1981-07-29 1981-11-11 Inspection of print

Country Status (1)

Country Link
JP (1) JPS5881165A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6112345A (en) * 1984-06-29 1986-01-20 Toppan Printing Co Ltd Apparatus for inspecting printed matter
JPS6278436U (en) * 1985-11-01 1987-05-19
JPS62207940A (en) * 1986-03-07 1987-09-12 Toppan Printing Co Ltd Inspection device for printed matter
JPH0833357B2 (en) * 1986-12-19 1996-03-29 大日本印刷株式会社 Method and apparatus for detecting defects in sheet-shaped test material
JP5678595B2 (en) * 2010-11-15 2015-03-04 株式会社リコー INSPECTION DEVICE, INSPECTION METHOD, INSPECTION PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5555232A (en) * 1978-10-13 1980-04-23 Tobias Philip E Concentration meter
JPS5585992A (en) * 1978-12-18 1980-06-28 Gretag Ag Examine method of printing quality

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5555232A (en) * 1978-10-13 1980-04-23 Tobias Philip E Concentration meter
JPS5585992A (en) * 1978-12-18 1980-06-28 Gretag Ag Examine method of printing quality

Also Published As

Publication number Publication date
JPS5881165A (en) 1983-05-16

Similar Documents

Publication Publication Date Title
US4561103A (en) Print inspecting method and apparatus
US4758782A (en) Method and apparatus for inspecting printed circuit board
IE883066L (en) Detecting a defect on a surface of a to-be-checked sheet on¹which images are cyclically printed in the longitudinal¹direction
JPH0810132B2 (en) Target pattern rotation angle detection method
JPH0147822B2 (en)
WO2020012874A1 (en) Image processing device, image processing method, and image processing program
JPH0147823B2 (en)
JPS5849262A (en) Inspecting method for running printed matter
JP3204876B2 (en) Print inspection equipment
GB2159623A (en) Print inspecting method
JP2002008029A (en) Image inspection device
JP2008014831A (en) Edge defect detection method and detection device
JP2533245B2 (en) Pattern defect inspection system
JPH0577408A (en) Method for recognizing meandering of web and its device
JPS60157681A (en) Detection system of ruggedness of picture graphic form
JP3265096B2 (en) Image evaluation method and apparatus
JP7300155B2 (en) Teaching device in solid preparation appearance inspection, and teaching method in solid preparation appearance inspection
GB2159622A (en) Print inspecting method
JP2841373B2 (en) Pattern inspection equipment
JPH11132966A (en) Meandering following apparatus for flaw inspection apparatus
JPH01163067A (en) Inspection of printed matter
JPS589009A (en) Inspecting device for substrate
JPH0192468A (en) Cloth inspection apparatus using image processor
JPH10289311A (en) Check method and device for printed matter
JPH03258546A (en) Device for inspecting printer matter