JP3018878B2 - Picture inspection equipment - Google Patents

Picture inspection equipment

Info

Publication number
JP3018878B2
JP3018878B2 JP5318801A JP31880193A JP3018878B2 JP 3018878 B2 JP3018878 B2 JP 3018878B2 JP 5318801 A JP5318801 A JP 5318801A JP 31880193 A JP31880193 A JP 31880193A JP 3018878 B2 JP3018878 B2 JP 3018878B2
Authority
JP
Japan
Prior art keywords
image
contour
vertical
target
tail
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 - Fee Related
Application number
JP5318801A
Other languages
Japanese (ja)
Other versions
JPH07175926A (en
Inventor
直樹 笠井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toppan Inc
Original Assignee
Toppan Inc
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 Toppan Inc filed Critical Toppan Inc
Priority to JP5318801A priority Critical patent/JP3018878B2/en
Publication of JPH07175926A publication Critical patent/JPH07175926A/en
Application granted granted Critical
Publication of JP3018878B2 publication Critical patent/JP3018878B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷物の絵柄輪郭に垂
直方向に沿って発生する尾っぽ不良を自動的に検出して
印刷不良を極力低減するに好適な絵柄検査装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a picture inspecting apparatus suitable for automatically detecting a tail defect occurring in a direction perpendicular to a picture contour of a printed matter and reducing printing defects as much as possible.

【0002】[0002]

【従来の技術】印刷物の不良内容としてその絵柄輪郭部
に生ずる尾っぽ不良と絵柄内部に生ずる印刷欠陥不良が
ある。この尾っぽは印刷方向に発生し、印刷物の絵柄に
はみ出す線状で先端の尖ったものからなり、一度発生す
ると連続して生成される特徴を有する。グラビア軟包装
印刷等で比較的発生頻度が高くドクターカスとも呼ばれ
ている。この尾っぽがある程度以上の長さになると印刷
物は不良品となる。従来実施されている絵柄検査方法
は、印刷物の絵柄輪郭をマスクで被覆し、絵柄内部に生
成される欠陥を画像処理により検出するものであり、前
記の印刷欠陥不良のみしか検出されなかった。一方、尾
っぽ不良の検出はもっぱら目視により行われていた。
2. Description of the Related Art As defective contents of a printed matter, there are a tail defect occurring at a picture outline portion and a printing defect defect occurring inside a picture. The tail is generated in the printing direction, is formed of a linear, pointed tip that protrudes into the picture of the printed matter, and has a characteristic that it is generated continuously once generated. The frequency of occurrence is relatively high in gravure soft packaging printing and the like, and is also called doctor waste. If the tail becomes longer than a certain length, the printed matter becomes defective. The pattern inspection method which has been conventionally implemented covers a pattern outline of a printed matter with a mask and detects a defect generated inside the pattern by image processing, and only the above-described print defect defect is detected. On the other hand, the detection of a tail defect was performed exclusively by visual observation.

【0003】[0003]

【発明が解決しようとする課題】前記のように、尾っぽ
不良の検出は目視に依存していたため、検出ミスが生じ
易く、多くの不良印刷物が発生する問題点があった。ま
た、目視検出には高度の熟練が必要であり、特殊の熟練
作業者を必要とし極めて不便であり、かつ無人作業が出
来ず、作業効率や信頼性向上が図れない問題点があっ
た。
As described above, since the detection of a tail defect relies on visual observation, a detection error is likely to occur, and there is a problem that many defective prints are generated. In addition, visual detection requires a high degree of skill, requires special skilled workers, is extremely inconvenient, cannot perform unattended work, and has a problem in that work efficiency and reliability cannot be improved.

【0004】本発明は、以上の問題点を解決するもの
で、尾っぽ不良が自動的に、かつ正確に検出され、印刷
物不良が低減すると共に、作業効率,信頼性の向上が出
来、かつ無人作業が可能になる絵柄検査装置を提供する
ことを目的とする。
The present invention has been made to solve the above-mentioned problems, and a tail defect is automatically and accurately detected, and a printed matter is reduced, and work efficiency and reliability can be improved. An object of the present invention is to provide a picture inspection apparatus that enables unattended work.

【0005】[0005]

【課題を解決するための手段】本発明は、以上の目的を
達成するために、印刷物を画像処理して絵柄エッジから
垂直方向に発生する尾っぽ不良を検出する絵柄検査装置
であって、検査基準となる参照画像及び検査対象となる
対象画像の輪郭を抽出して各々参照輪郭画像及び対象輪
郭画像を生成する輪郭抽出手段と、所定の論理フィルタ
を用いて各々前記参照輪郭画像と対象輪郭画像を処理
し、その垂直ベクトル成分を強調する垂直強調手段と、
垂直ベクトル成分を強調した参照輪郭画像を膨張処理し
てマスク画像を作成,格納するマスク作成手段と、前記
マスク画像を用いて垂直ベクトル成分を強調した対象輪
郭画像をマスク処理して尾っぽ不良を検出するマスク処
理手段を有してなる絵柄検査装置を構成するものであ
り、更に、具体的に、前記輪郭抽出手段は、ソーベルフ
ィルタを用いて水平エッジおよび垂直エッジを抽出して
2値化する画像処理を行って水平成分画像および垂直成
分画像を作成した後、両成分画像を合成して参照輪郭画
像および対象輪郭画像を生成する絵柄検査装置を特徴と
するものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a picture inspection apparatus for image processing a printed matter and detecting a tail defect generated vertically from a picture edge, Contour extraction means for extracting the contours of a reference image serving as an inspection reference and a target image serving as an inspection target to generate a reference contour image and a target contour image, respectively; and using a predetermined logical filter, the reference contour image and the target contour respectively. Vertical enhancement means for processing the image and enhancing its vertical vector component;
Mask creating means for creating and storing a mask image by expanding a reference contour image in which a vertical vector component is emphasized, and masking a target contour image in which a vertical vector component is emphasized using the mask image to produce a tail defect A pattern inspection apparatus having a mask processing unit for detecting a horizontal edge and a vertical edge by using a Sobel filter to extract a horizontal edge and a vertical edge. The present invention is characterized by a picture inspecting apparatus that generates a horizontal component image and a vertical component image by performing image processing to generate a reference contour image and a target contour image by combining the two component images.

【0006】[0006]

【作用】この発明は、検査基準となる参照画像と検査対
象の対象画像とを重ねて尾っぽを判定することを基本と
するものである。具体的には、ソーベルフィルタ等の微
分オペレータを用いて前記参照画像および対象画像の水
平エッジおよび垂直エッジを抽出して2値化し、水平お
よび垂直成分画像を作成した後これ等を合成して参照輪
郭画像および対象輪郭画像を生成する。次に、所定の論
理フィルタを用いて参照輪郭画像および対象輪郭画像の
垂直ベクトル成分のみを強調した後、強調した参照輪郭
画像を膨張処理してマスク画像を作り格納する。このマ
スク画像と強調された対象輪郭画像とを重ねると尾っぽ
のみが露出し、不良となるべき尾っぽが検出される。以
上の処理方法により尾っぽ不良が自動的に、かつ確実に
検出される。
According to the present invention, a tail image is determined by superimposing a reference image serving as an inspection reference and a target image to be inspected. Specifically, using a differential operator such as a Sobel filter, the horizontal and vertical edges of the reference image and the target image are extracted and binarized, and horizontal and vertical component images are created and then combined. A reference contour image and a target contour image are generated. Next, after emphasizing only the vertical vector components of the reference contour image and the target contour image by using a predetermined logical filter, a mask image is created and stored by expanding the emphasized reference contour image. When this mask image and the emphasized target contour image are overlapped, only the tail is exposed, and the tail that should be defective is detected. With the above processing method, the tail failure is automatically and reliably detected.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面に基づき説明
する。図1は本実施例の全体構成を示すブロック図、図
2は本実施例の尾っぽ検出方法を説明するためのフロー
チャート、図3は印刷物から取り込まれた参照画像およ
び対象画像の一部平面図、図4は水平エッジ抽出用のソ
ーベルフィルタの重み係数を示す模式図、図5は参照及
び対象両画像の水平エッジ抽出画像の平面図、図6は垂
直エッジ抽出用のソーベルフィルタの重み係数を示す模
式図、図7は参照及び対象両画像の垂直エッジ抽出画像
の平面図、図8,図9は2値化された水平エッジおよび
垂直エッジ抽出画像を示す平面図、図10は図8,図9
に示した水平エッジおよび垂直エッジ抽出画像を各々合
成した参照輪郭画像および対象輪郭画像を示す平面図、
図11乃至図16は本実施例に使用される論理フィルタ
の模式図、図17は垂直ベクトル成分のみを強調した参
照輪郭画像および対象輪郭画像を示す平面図、図18は
参照輪郭画像を膨張処理したマスク画像の平面図、図1
9は強調処理された対象輪郭画像をマスク画像で覆って
検出された尾っぽを示す平面図である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of this embodiment, FIG. 2 is a flowchart for explaining a tail detection method of this embodiment, and FIG. 3 is a partial plane of a reference image and a target image taken from a printed matter. FIG. 4 is a schematic diagram showing weight coefficients of a Sobel filter for extracting horizontal edges, FIG. 5 is a plan view of horizontal edge extracted images of both reference and target images, and FIG. 6 is a diagram of a Sobel filter for extracting vertical edges. FIG. 7 is a schematic diagram showing weighting coefficients, FIG. 7 is a plan view of vertical edge extracted images of both reference and target images, FIGS. 8 and 9 are plan views showing binarized horizontal and vertical edge extracted images, and FIG. 8 and 9
Plan view showing a reference contour image and a target contour image obtained by synthesizing the horizontal edge and vertical edge extracted images shown in FIG.
11 to 16 are schematic diagrams of a logical filter used in the present embodiment, FIG. 17 is a plan view showing a reference contour image and a target contour image in which only vertical vector components are emphasized, and FIG. Plan view of the mask image, FIG.
9 is a plan view showing a tail detected by covering the emphasized target contour image with a mask image.

【0008】まず、図1により、本実施例の全体構成を
説明する。本実施例の絵柄検査装置1は、大別して輪郭
抽出手段2と、垂直強調手段3と、マスク作成手段4お
よびマスク処理手段5等から構成される。
First, the overall configuration of the embodiment will be described with reference to FIG. The picture inspection apparatus 1 of the present embodiment is roughly composed of a contour extracting means 2, a vertical emphasizing means 3, a mask creating means 4, a mask processing means 5, and the like.

【0009】輪郭抽出手段2による処理内容としては、
図1に示すようにイメージスキャナ等により印刷物から
検査基準となる参照画像の取り込みと検査対象の対象画
像の取り込みを行う画像取り込み部と、取り込まれた画
像を図4および図6に示したソーベルフィルタ6および
7によって水平エッジおよび垂直エッジ抽出部を行うエ
ッジ抽出と、その2値化処理部と、2値化処理された水
平成分画像および垂直成分画像を合成して参照輪郭画像
および対象輪郭画像を生成する合成部(OR)等からな
る。以下、各処理部の内容を更に詳しく説明する。
The processing contents of the contour extracting means 2 include:
As shown in FIG. 1, an image capturing unit that captures a reference image serving as an inspection standard and a target image to be inspected from a printed material by an image scanner or the like, and a Sobel shown in FIG. 4 and FIG. Edge extraction for performing horizontal edge and vertical edge extraction by filters 6 and 7, its binarization processing unit, and synthesizing the binarized horizontal component image and vertical component image to obtain a reference contour image and a target contour image , Etc., that generate the Hereinafter, the contents of each processing unit will be described in more detail.

【0010】図2のフローチャートに示すように印刷物
からステップA−1およびステップB−1で参照画像お
よび対象画像の取り込みが行われる。なお、参照画像と
しては最初の1枚目の印刷物を基準とする絶対リファレ
ンスか、又は1枚前の印刷物を基準とする相対リファレ
ンスのどちらかを選択する。図3のA−1は参照画像を
示し、B−1は対象画像をそれぞれ示す。以下、フロー
チャートのステップ参照符号と画像の参照符号は対応し
ている。又、参照符号中″A″は参照画像に対応し、″
B″は対象画像に対応している。水平エッジ抽出を行う
ためのソーベルフィルタ6は3×3の画素からなり、図
4に示すように−1,0,1からなる。すなわち、画像
にこのソーベルフィルタ6を載せて3×3の画素に対応
する位置の画素値を求め、その値に−1,0,1をそれ
ぞれ掛けて演算されたすべての画素値の総和が中心点6
aにおける画素値となる。−1,0,1の値を設定した
のは縦方向での微分と横方向の平滑化を同時に行い水平
エッジを主体的に抽出するためである。以上の処理を図
3のA−1,B−1の参照画像および対象画像について
行うことによりフローチャートのステップA−2および
B−2の水平エッジ抽出が行われる。その水平エッジ抽
出画像が図5のA−2,B−2に示される。同様に、図
6に示す3×3のソーベルフィルタ7によりステップA
−3,B−3の垂直エッジ抽出が行われ、その垂直エッ
ジ抽出画像が図7のA−3,B−3に示される。なお、
ソーベルフィルタ7の場合もその中心点7aに演算され
た総和の画素値が表示される。また、ソーベルフィルタ
7を図示のように、−1,0,1の配列を採用したのは
横方向での微分と縦方向の平滑化を同時に行って垂直エ
ッジを主体的に抽出するためである。次に、フローチャ
ートのステップA−4,B−4およびA−5,B−5に
示すように2値化処理が行われる。例えば、図5に示し
たA−2,B−2の水平エッジ抽出画像の画素値から閾
値を求め、該閾値を基準として2値化する。2値化され
た水平エッジ抽出画像(水平成分画像)が図8のA−
4,B−4に示される。同様に2値化された垂直エッジ
抽出画像(垂直成分画像)が図9のA−5,B−5に示
される。次に、フローチャートのステップA−6,B−
6に示すように前記水平成分画像A−4,B−4と垂直
成分画像A−5,B−5がそれぞれ論理和(OR)処理
される。その結果、図10のA−6,B−6に示す参照
輪郭画像および対象輪郭画像がそれぞれ求められる。
As shown in the flowchart of FIG. 2, a reference image and a target image are fetched from a printed material in steps A-1 and B-1. As the reference image, either an absolute reference based on the first printed matter or a relative reference based on the immediately preceding printed matter is selected. A-1 in FIG. 3 indicates a reference image, and B-1 indicates a target image. Hereinafter, the step reference symbols in the flowchart correspond to the image reference symbols. “A” in the reference code corresponds to the reference image,
B ″ corresponds to the target image. The Sobel filter 6 for performing horizontal edge extraction is composed of 3 × 3 pixels, and is composed of −1, 0, 1 as shown in FIG. A pixel value at a position corresponding to a 3 × 3 pixel is obtained by mounting the Sobel filter 6, and the sum of all pixel values calculated by multiplying the value by −1, 0, and 1 is the central point 6.
The pixel value at a. The values of −1, 0, and 1 are set in order to simultaneously perform differentiation in the vertical direction and smoothing in the horizontal direction to mainly extract horizontal edges. By performing the above processing on the reference image and the target image of A-1 and B-1 in FIG. 3, horizontal edge extraction in steps A-2 and B-2 of the flowchart is performed. The horizontal edge extracted images are shown in A-2 and B-2 in FIG. Similarly, the 3 × 3 Sobel filter 7 shown in FIG.
Vertical edges of -3 and B-3 are extracted, and the vertical edge extracted images are shown in A-3 and B-3 of FIG. In addition,
In the case of the Sobel filter 7, the pixel value of the calculated sum is displayed at the center point 7a. The reason why the Sobel filter 7 employs an array of -1, 0, 1 as shown in the drawing is to perform vertical differentiation and smoothing in the vertical direction at the same time to mainly extract vertical edges. is there. Next, a binarization process is performed as shown in steps A-4, B-4 and A-5, B-5 of the flowchart. For example, a threshold value is obtained from the pixel values of the horizontal edge extracted images A-2 and B-2 shown in FIG. 5 and binarized based on the threshold value. The binarized horizontal edge extracted image (horizontal component image) is shown in FIG.
4, B-4. Similarly, binarized vertical edge extracted images (vertical component images) are shown in A-5 and B-5 in FIG. Next, steps A-6, B-
As shown in FIG. 6, the horizontal component images A-4 and B-4 and the vertical component images A-5 and B-5 are respectively subjected to logical sum (OR) processing. As a result, reference contour images and target contour images shown in A-6 and B-6 in FIG. 10 are obtained.

【0011】垂直強調手段3は図1に示すように、参照
輪郭画像A−6および対象輪郭画像B−6の強調を行う
ものでフローチャートのA−7,B−7に示すように両
画像の垂直ベクトル成分のみを強調するものであり、図
17に示すような垂直成分強調の参照輪郭画像A−7お
よび対象輪郭画像B−7が求められる。この画像を求め
るためには、所定の論理フィルタが使用され、それ等は
図11乃至図16に示される。それぞれの論理フィルタ
8,9,10,11,12,13は、×,0,1の組み
合わせパターンの5×4の画素数のものからなる場合に
よっては3×6の画素数を有する論理フィルタを用いて
もよい。具体的に説明すると、例えば、図11の論理フ
ィルタ8を使用し、これを図10に示した参照輪郭画像
A−6又は対象輪郭画像B−6に合わせた場合に画像5
×4近傍の画素配列パターンが論理フィルタ8のパター
ンと合致した場合には図11の8aの位置(最下段の中
央)の画素を1とする。なお、フィルタ中、Xの画素は
一致判断から除かれる。上記処理中中央の列は1が3個
連続することになる。このような処理を更に図12乃至
図16に示したパターンを有する論理フィルタ9乃至1
3を用いて繰返し行うことにより垂直成分強調の参照輪
郭画像A−7および対象輪郭画像B−7が求められる。
前記6種類の論理フィルタは、いずれも典型的な尾っぽ
形状をパターン化したものである。
As shown in FIG. 1, the vertical enhancement means 3 enhances the reference contour image A-6 and the target contour image B-6, and as shown in A-7 and B-7 of the flowchart, Only the vertical vector component is emphasized, and a reference contour image A-7 and a target contour image B-7 with vertical component enhancement as shown in FIG. 17 are obtained. To determine this image, certain logical filters are used, which are shown in FIGS. Each of the logical filters 8, 9, 10, 11, 12, 13 is a logical filter having a combination of ×, 0, 1 and having a number of 3 × 6 pixels in some cases consisting of 5 × 4 pixels. May be used. More specifically, for example, when the logical filter 8 of FIG. 11 is used and this is matched with the reference contour image A-6 or the target contour image B-6 shown in FIG.
If the pixel array pattern in the vicinity of × 4 matches the pattern of the logical filter 8, the pixel at the position 8a in FIG. In the filter, the pixel of X is excluded from the matching judgment. During the above processing, three 1s continue in the center row. Such processing is further performed by the logical filters 9-1 having the patterns shown in FIGS.
3 to obtain a reference contour image A-7 and a target contour image B-7 for vertical component emphasis.
Each of the six types of logical filters is obtained by patterning a typical tail shape.

【0012】次に、マスク作成手段4を説明する。この
手段はステップA−8に示すように垂直成分を強調した
参照輪郭画像を膨張してマスク画像A−8を作成する処
理と、当該マスク画像の格納処理ステップA−9からな
る。図18は膨張された参照輪郭画像すなわちマスク画
像A−8を示す。膨張処理は参照輪郭画像A−7を輪郭
に沿って一画素分反転させて行う。
Next, the mask creating means 4 will be described. This means comprises a process of expanding the reference contour image in which the vertical component is emphasized to create a mask image A-8 as shown in step A-8, and a process A-9 of storing the mask image. FIG. 18 shows an expanded reference contour image, that is, a mask image A-8. The expansion process is performed by inverting the reference contour image A-7 by one pixel along the contour.

【0013】次に、マスク処理手段5を説明する。この
手段は、図1およびフローチャートのステップB−8の
判定に示すようにマスク画像A−9と垂直成分強調した
対象輪郭画像B−7を重ね合わせるもので、尾っぽ14
(図19)を検出するものである。マスク画像A−9は
膨張処理されているため、対象輪郭画像B−7の尾っぽ
14以外の部分はマスク画像A−9によりすべて被覆さ
れる。そのため、図19に示すように尾っぽ14のみが
明確に検出される。
Next, the mask processing means 5 will be described. This means superimposes the mask image A-9 and the target contour image B-7 on which the vertical component is emphasized, as shown in FIG. 1 and the judgment of step B-8 in the flowchart.
(FIG. 19). Since the mask image A-9 has been subjected to the dilation processing, the portion other than the tail 14 of the target contour image B-7 is entirely covered by the mask image A-9. Therefore, only the tail 14 is clearly detected as shown in FIG.

【0014】以上の説明から理解されるように、本発明
に係る尾っぽ検出のアルゴリズムは尾っぽの特徴に適合
して作成されている。尾っぽは、輪郭部から非輪郭部に
はみ出す,必ず印刷方向(垂直方向)に流れ出す,先端
で尖ることが多い,連続発生する等の特徴を有する。本
発明ではこれらの特徴を積極的に利用している。すなわ
ち、尾っぽの特徴である印刷方向の線分を強調すること
により、尾っぽを変動分(位置ずれ等によるものでマス
ク幅に相当)より大きく引き伸ばしていく。判定は引き
伸ばされた尾っぽがマスクからはみ出たら不良とする。
As can be understood from the above description, the tail detection algorithm according to the present invention is created in conformity with the characteristics of the tail. The tail has features such as protruding from the contour portion to the non-contour portion, always flowing in the printing direction (vertical direction), often being sharp at the tip, and continuously occurring. The present invention positively utilizes these features. In other words, the tail in the printing direction, which is a feature of the tail, is emphasized, so that the tail is stretched more than the variation (corresponding to the mask width due to positional deviation or the like). The judgment is bad if the stretched tail protrudes from the mask.

【0015】前記実施例において、5×4の論理フィル
タ8乃至13を使用したが、3×6のフィルタでもよ
い。これは当該フィルタの変換テーブルに使用するRA
Mのサイズにより制限されるもので必ずしも前記のもの
に限定するものではない。また、前記実施例では垂直成
分強調の参照輪郭画像A−7の膨張回数を1回としたが
それに限るものではない。膨張回数をkとし、尾っぽ1
4の長さをg,強調回数をmとすると、m>2k−gを
満足するように強調回数を決めるのが理想である。例え
ば、k=1,g=1(1画素)とした場合m>1,すな
わち、強調回数は2回となる。1回のフィルタにより1
画素分強調されるため尾っぽ14は全体として3画素に
拡張されて検出される。但し、量子化誤差(2値化によ
る誤差)があり、1を0とすることもあるので強調対象
とする尾っぽの単位を最低2画素としてもよい。また、
1画素を0.2mm程度とすると、運用時には3画素,
通常時2画素,最高でも1画素の尾っぽ14が検出出来
るようにするとよい。但し、横幅が長く、先端が丸まっ
た尾っぽや、量子化誤差に埋もれてしまう尾っぽや複雑
な文字領域の尾っぽはマスクサイズにもよるが検出が困
難な場合もある。
In the above embodiment, 5 × 4 logical filters 8 to 13 are used, but 3 × 6 filters may be used. This is the RA used for the conversion table of the filter.
It is limited by the size of M and is not necessarily limited to the above. Further, in the above-described embodiment, the number of times of expansion of the reference contour image A-7 for vertical component enhancement is set to one, but the present invention is not limited to this. The number of times of expansion is k, tail 1
Assuming that the length of 4 is g and the number of emphasis is m, ideally, the number of emphasis is determined so as to satisfy m> 2kg. For example, when k = 1 and g = 1 (one pixel), m> 1, that is, the number of emphasis is two. 1 by one filter
Since the pixels are emphasized, the tail 14 is expanded to three pixels as a whole and detected. However, since there is a quantization error (error due to binarization) and 1 may be set to 0, the unit of the tail to be emphasized may be at least two pixels. Also,
If one pixel is about 0.2 mm, three pixels will be used during operation.
Normally, it is preferable that the tail 14 of two pixels, at most, one pixel can be detected. However, a tail with a long width and a rounded tip, a tail buried in a quantization error, or a tail in a complicated character area may be difficult to detect depending on the mask size.

【0016】[0016]

【発明の効果】本発明によれば、次のような顕著な効果
を奏する。 1)従来自動検出が不可能であった尾っぽが自動的に、
かつ確実に検出される。 2)目視に頼ることなく尾っぽ不良が検出されるので自
動印刷が可能になり、作業効率が向上すると共に信頼性
の向上が図れる。 3)特別な熟練者を要することなく、正確な尾っぽ検出
が出来る。 4)参照画像を適宜設定することにより印刷物不良を大
幅に低減することが出来る。
According to the present invention, the following remarkable effects are obtained. 1) The tail, which previously could not be automatically detected, automatically
And it is reliably detected. 2) Since a tail defect is detected without relying on visual observation, automatic printing becomes possible, thereby improving work efficiency and improving reliability. 3) An accurate tail detection can be performed without requiring a special expert. 4) By appropriately setting the reference image, it is possible to significantly reduce the printed matter defect.

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

【図1】本発明の一実施例の全体構成を示すブロック
図。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of the present invention.

【図2】本実施例の処理方法を説明するためのフローチ
ャート。
FIG. 2 is a flowchart illustrating a processing method according to the embodiment.

【図3】印刷物から取り込まれた参照画像および対象画
像を示す平面図。
FIG. 3 is a plan view showing a reference image and a target image captured from a printed material.

【図4】水平エッジ抽出のためのソーベルフィルタを示
す模式図。
FIG. 4 is a schematic diagram showing a Sobel filter for extracting a horizontal edge.

【図5】エッジ抽出された参照画像および対象画像の水
平エッジ抽出画像を示す平面図。
FIG. 5 is a plan view showing an edge-extracted reference image and a horizontal edge-extracted image of a target image.

【図6】垂直エッジ抽出のためのソーベルフィルタを示
す模式図。
FIG. 6 is a schematic diagram showing a Sobel filter for vertical edge extraction.

【図7】エッジ抽出された参照画像および対象画像の垂
直エッジ抽出画像を示す平面図。
FIG. 7 is a plan view showing a reference image from which edges are extracted and a vertical edge extracted image of a target image.

【図8】2値化された図5の水平エッジ抽出画像(水平
成分画像)を示す平面図。
FIG. 8 is a plan view showing the binarized horizontal edge extracted image (horizontal component image) of FIG. 5;

【図9】2値化された図7の垂直エッジ抽出画像(垂直
成分画像)を示す平面図。
FIG. 9 is a plan view showing the binarized vertical edge extraction image (vertical component image) of FIG. 7;

【図10】図8と図9の抽出画像を合成した参照輪郭画
像および対象輪郭画像を示す平面図。
FIG. 10 is a plan view showing a reference contour image and a target contour image obtained by combining the extracted images of FIGS. 8 and 9;

【図11】画像を強調するための論理フィルタの模式
図。
FIG. 11 is a schematic diagram of a logical filter for enhancing an image.

【図12】画像を強調するための論理フィルタの模式
図。
FIG. 12 is a schematic diagram of a logical filter for enhancing an image.

【図13】画像を強調するための論理フィルタの模式
図。
FIG. 13 is a schematic diagram of a logical filter for enhancing an image.

【図14】画像を強調するための論理フィルタの模式
図。
FIG. 14 is a schematic diagram of a logical filter for enhancing an image.

【図15】画像を強調するための論理フィルタの模式
図。
FIG. 15 is a schematic diagram of a logical filter for enhancing an image.

【図16】画像を強調するための論理フィルタの模式
図。
FIG. 16 is a schematic diagram of a logical filter for enhancing an image.

【図17】垂直成分強調の参照輪郭画像および対象輪郭
画像を示す平面図。
FIG. 17 is a plan view showing a reference contour image and a target contour image for vertical component emphasis.

【図18】図17の参照輪郭画像を膨張させて形成され
るマスク画像を示す平面図。
FIG. 18 is a plan view showing a mask image formed by expanding the reference contour image of FIG. 17;

【図19】検出された尾っぽを示す平面図。FIG. 19 is a plan view showing a detected tail.

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

1 絵柄検出装置 2 輪郭抽出手段 3 垂直強調手段 4 マスク作成手段 5 マスク処理手段 6 ソーベルフィルタ 7 ソーベルフィルタ 8 論理フィルタ 9 論理フィルタ 10 論理フィルタ 11 論理フィルタ 12 論理フィルタ 13 論理フィルタ 14 尾っぽ DESCRIPTION OF SYMBOLS 1 Picture detection apparatus 2 Outline extraction means 3 Vertical emphasis means 4 Mask creation means 5 Mask processing means 6 Sobel filter 7 Sobel filter 8 Logic filter 9 Logic filter 10 Logic filter 11 Logic filter 12 Logic filter 13 Logic filter 14 Tail

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06T 5/20 G06T 7/00 - 7/60 B41F 33/14 G01N 21/88 H04N 1/00 ────────────────────────────────────────────────── ─── Continued on the front page (58) Fields investigated (Int.Cl. 7 , DB name) G06T 1/00 G06T 5/20 G06T 7 /00-7/60 B41F 33/14 G01N 21/88 H04N 1 / 00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印刷物を画像処理して絵柄エッジから垂
直方向に発生する尾っぽ不良を検出する絵柄検査装置で
あって、検査基準となる参照画像及び検査対象となる対
象画像の輪郭を抽出して各々参照輪郭画像及び対象輪郭
画像を生成する輪郭抽出手段と、所定の論理フィルタを
用いて各々前記参照輪郭画像と対象輪郭画像を処理し、
その垂直ベクトル成分を強調する垂直強調手段と、垂直
ベクトル成分を強調した参照輪郭画像を膨張処理してマ
スク画像を作成,格納するマスク作成手段と、前記マス
ク画像を用いて垂直ベクトル成分を強調した対象輪郭画
像をマスク処理し尾っぽ不良を検出するマスク処理手段
を有することを特徴とする絵柄検査装置。
1. A picture inspection apparatus for processing a printed matter to detect a tail defect generated in a vertical direction from a picture edge, wherein a contour of a reference image as an inspection reference and a contour of a target image to be inspected are extracted. Contour extraction means for generating a reference contour image and a target contour image, and processing the reference contour image and the target contour image using a predetermined logical filter,
Vertical emphasis means for emphasizing the vertical vector component, mask generation means for generating and storing a mask image by expanding a reference contour image emphasizing the vertical vector component, and emphasizing the vertical vector component using the mask image A picture inspection apparatus comprising mask processing means for masking a target contour image and detecting a tail failure.
【請求項2】 前記輪郭抽出手段は、ソーベルフィルタ
を用いて水平エッジおよび垂直エッジを抽出して2値化
する画像処理を行って水平成分画像および垂直成分画像
を作成した後、両成分画像を合成して参照輪郭画像およ
び対象輪郭画像を生成する請求項1の絵柄検査装置。
2. The method according to claim 1, wherein the contour extracting means performs image processing for extracting a horizontal edge and a vertical edge using a Sobel filter and binarizing the image to generate a horizontal component image and a vertical component image. The picture inspection apparatus according to claim 1, wherein the reference contour image and the target contour image are generated by combining the reference contour image and the target contour image.
JP5318801A 1993-12-20 1993-12-20 Picture inspection equipment Expired - Fee Related JP3018878B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5318801A JP3018878B2 (en) 1993-12-20 1993-12-20 Picture inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5318801A JP3018878B2 (en) 1993-12-20 1993-12-20 Picture inspection equipment

Publications (2)

Publication Number Publication Date
JPH07175926A JPH07175926A (en) 1995-07-14
JP3018878B2 true JP3018878B2 (en) 2000-03-13

Family

ID=18103101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5318801A Expired - Fee Related JP3018878B2 (en) 1993-12-20 1993-12-20 Picture inspection equipment

Country Status (1)

Country Link
JP (1) JP3018878B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0872810A4 (en) * 1996-10-09 2000-04-19 Dainippon Printing Co Ltd METHOD AND APPARATUS FOR DETECTING STRIPE DEFECTS On PRINTED MATTER
JP4844784B2 (en) * 2001-09-27 2011-12-28 大日本印刷株式会社 Printing plate inspection device
JP4410635B2 (en) * 2004-08-17 2010-02-03 オプテックスエフエー株式会社 Image matching degree determination method and apparatus
JP2006242759A (en) * 2005-03-03 2006-09-14 Toppan Printing Co Ltd Method for inspecting unevenness in periodic pattern
JP6665903B2 (en) * 2017-10-02 2020-03-13 大日本印刷株式会社 Feature image generation device, inspection device, feature image generation method, and feature image generation program

Also Published As

Publication number Publication date
JPH07175926A (en) 1995-07-14

Similar Documents

Publication Publication Date Title
JP3018878B2 (en) Picture inspection equipment
US5459795A (en) Wiring pattern inspection apparatus for printed circuit board
JP3320164B2 (en) Printing inspection equipment
JPH11344449A (en) Appearance inspecting method
JP2007017214A (en) Inspection device and inspection method
JP2712803B2 (en) Wiring pattern inspection equipment
JP2001021502A (en) Flaw inspecting method and system therefor
JP2006035505A (en) Method and device for inspecting printed matter
JP3409695B2 (en) Surface defect inspection method
JP2850601B2 (en) Printed circuit board pattern inspection equipment
JP2004276476A (en) Printed matter inspecting device, printed matter inspecting method, printed matter inspecting processing program and recording medium having program thereon
JPH09288037A (en) Inspection method for lcd panel
JP3267372B2 (en) Method and apparatus for generating matching pattern signal in pattern matching inspection
JP3919207B2 (en) Appearance inspection device
JP2745763B2 (en) Wiring pattern inspection equipment
JP2676990B2 (en) Wiring pattern inspection equipment
JPH05342414A (en) Template preparing device and pattern recognizing device
JP3134280B2 (en) Picture inspection method
JP2529505B2 (en) Wiring pattern inspection device
JP2725469B2 (en) Micro defect detector
JP3146882B2 (en) Picture inspection method
JPS63115279A (en) Area extracting system
JPS6135303A (en) Pattern defect inspecting instrument
JPS60116076A (en) Extracting circuit of picture
JPH11271232A (en) Method and device for detecting defect in wiring on printed board

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080107

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090107

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100107

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100107

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120107

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees