JP2006138768A - Inspection method of printed matter - Google Patents

Inspection method of printed matter Download PDF

Info

Publication number
JP2006138768A
JP2006138768A JP2004329384A JP2004329384A JP2006138768A JP 2006138768 A JP2006138768 A JP 2006138768A JP 2004329384 A JP2004329384 A JP 2004329384A JP 2004329384 A JP2004329384 A JP 2004329384A JP 2006138768 A JP2006138768 A JP 2006138768A
Authority
JP
Japan
Prior art keywords
image
mask
printed matter
inclination
photographed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004329384A
Other languages
Japanese (ja)
Other versions
JP4364773B2 (en
Inventor
Atsushi Yoshida
敦志 吉田
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.)
Nitto Denko Corp
Original Assignee
Nitto Denko Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nitto Denko Corp filed Critical Nitto Denko Corp
Priority to JP2004329384A priority Critical patent/JP4364773B2/en
Publication of JP2006138768A publication Critical patent/JP2006138768A/en
Application granted granted Critical
Publication of JP4364773B2 publication Critical patent/JP4364773B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To achieve shorten treatment time, by reducing the operation quantity in image processing, without lowering the detection accuracy of flaws, in inspecting the flaws of printed matter using image processing. <P>SOLUTION: The inspection method for printed matter is constituted so that the image of the printed matter, to which printing is applied, is photographed and the photographed image is subjected to image processings to detect the flaw of the printed matter. The image processing includes an inclination quantity calculating step of calculating the inclination quantity of the printed matter from the photographed image of the printed matter, an image simplifying step of simplifying the photographed image to form a simplified image, a printing position detecting process of rotating the simplified image, corresponding to the calculated inclination quantity to correct it and using the corrected image to detect a printing position and a mask image processing step of arranging the preliminarily inputted mask pattern at the detected printing position to form a mask arranged image and making the mask arranged image rotate in reverse by the inclination quantity and make a mask image completed. The completed mask image is used to perform the mask process the photographed image. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、文字や絵柄などの印刷が施されたシート状等の印刷物に対して、ホコリ等の異物、キズ、又は汚れといった欠陥を検査するための方法に関する。   The present invention relates to a method for inspecting a defect such as a foreign matter such as dust, a flaw, or a stain on a printed matter such as a sheet on which characters or designs are printed.

印刷が施されたシート体の検査方法としては、下記特許文献1に記載されたように、印刷部をマスクした上でシート体を画像解析により処理し、欠陥を検出する方法が知られている。しかし、該特許文献1記載の方法は、長尺のシート体を検査対象とするものであるため、検査対象である印刷物が大きく傾いた場合については、何らその対策がなされておらず、有効に対処することができない。
特許第2597370号公報
As a method for inspecting a printed sheet body, a method for detecting defects by processing a sheet body by image analysis after masking a printing portion is known, as described in Patent Document 1 below. . However, since the method described in Patent Document 1 uses a long sheet body as an inspection target, no countermeasure is taken for a case where a printed material to be inspected is greatly inclined, and it is effective. It cannot be dealt with.
Japanese Patent No. 2597370

検査対象が傾いた場合の検査方法としては、一般に、パターンマッチングを用いた方法が知られている。パターンマッチングは、比較パターンを試行錯誤により移動および回転させながら、印刷位置および角度の一致点を見出すことにより、印刷位置および角度を特定するものである。よって、該パターンマッチングを用いた方法によれば、検査対象が傾いた場合であっても、その傾きに応じて比較パターンを回転させながら試行錯誤することによって対応でき、その結果、傾いた検査対象の印刷部分に対応するような傾いたマスク画像を作成することが可能となる。   As an inspection method when the inspection object is tilted, a method using pattern matching is generally known. In pattern matching, a print position and an angle are specified by finding a coincidence point between the print position and the angle while moving and rotating the comparison pattern by trial and error. Therefore, according to the method using the pattern matching, even when the inspection target is tilted, it can be dealt with by trial and error while rotating the comparison pattern according to the tilt. As a result, the tilted inspection target It is possible to create a tilted mask image corresponding to the printed portion.

また、検査対象が傾いた場合の他の方法としては、撮影された検査対象の画像を回転させ、傾きの無い状態に補正した上でマスク処理する方法も考えられる。   As another method when the inspection target is tilted, a method of performing mask processing after rotating a photographed image of the inspection target and correcting the image to be tilted is also conceivable.

しかしながら、前記パターンマッチングでは、検査対象の傾きが大きい場合には、試行錯誤における比較パターンの回転角度を大きくする必要があり、適正な傾き角度を検出するまでの処理時間が長くなるという問題を有している。   However, in the pattern matching, when the inclination of the inspection target is large, it is necessary to increase the rotation angle of the comparison pattern in trial and error, and there is a problem that the processing time until the proper inclination angle is detected becomes long. is doing.

また、撮影された検査対象の画像を回転させる場合には、画像全体を回転するために多くの処理時間を要するという問題がある。しかも、画像を回転させる際には画素データの補間が必要となり、欠陥のコントラストを低下させて検出精度を低下させるという問題もある。   In addition, when rotating a captured image to be inspected, there is a problem that it takes a lot of processing time to rotate the entire image. In addition, when rotating the image, it is necessary to interpolate the pixel data, and there is a problem that the detection accuracy is lowered by reducing the contrast of the defect.

本発明は、上述のような従来技術の問題点に鑑みてなされたものであり、画像処理を用いて印刷物の欠陥を検査するに際し、欠陥の検出精度を低下させないことを一の課題とし、画像処理における演算量を減らして処理時間の短縮を図ることを他の課題とする。   The present invention has been made in view of the problems of the prior art as described above, and it is an object of the present invention to not reduce the detection accuracy of defects when inspecting defects of printed matter using image processing. Another object is to reduce the amount of calculation in the processing to shorten the processing time.

前記課題を解決すべく、本発明に係る印刷物の検査方法は、印刷が施された印刷物の画像を撮影し、撮影された画像を画像処理することにより、前記印刷物の欠陥を検出する印刷物の検査方法であって、前記画像処理が、撮影された印刷物の画像から印刷物の傾き量を算出する傾き量算出ステップと、算出された傾き量に応じて撮影された画像を回転して補正し、補正された画像を用いて印刷位置を検出する印刷位置検出ステップと、検出された印刷位置に、予め入力されたマスクパターンを配置してマスク配置画像を作成し、該マスク配置画像を前記傾き量だけ逆回転させてマスク画像を完成させるマスク画像処理ステップとを備え、完成されたマスク画像を用いて前記撮影画像をマスク処理することを特徴とするものである。   In order to solve the above-mentioned problems, a printed matter inspection method according to the present invention is a method for inspecting a printed matter by detecting an image of the printed matter by taking an image of the printed matter and performing image processing on the photographed image. In the method, the image processing includes an inclination amount calculating step for calculating an inclination amount of a printed matter from an image of the photographed printed matter, and correcting the image by rotating the image taken according to the calculated inclination amount. A printing position detecting step for detecting a printing position using the image that has been created, and a mask arrangement image is created by arranging a mask pattern that has been input in advance at the detected printing position, and the mask arrangement image is generated by the amount of inclination. And a mask image processing step for completing a mask image by reverse rotation, and masking the photographed image using the completed mask image.

本発明によれば、回転によって補正された簡素化画像を用いて印刷位置の検出を行なうようにしたため、印刷位置の検出に際して傾き角度を検出する必要がなくなり、これによっても画像処理における演算量を大幅に低減することができる。さらに、マスクパターンを配置し、算出された傾き量だけ逆回転させて得たマスク画像によって撮影画像をマスク処理するようにしたため、撮影画像を回転処理する場合のように検出精度を低下させることなく欠陥を検出することができる。よって、本発明に係る印刷物の検査方法によれば、欠陥の検出精度を低下させることなく、しかも、画像処理における演算量を減らして処理時間を短縮することが可能となる。   According to the present invention, since the printing position is detected using the simplified image corrected by the rotation, it is not necessary to detect the inclination angle when detecting the printing position, and this also reduces the amount of calculation in the image processing. It can be greatly reduced. Further, the mask image is masked with the mask image obtained by arranging the mask pattern and rotating the calculated tilt amount in the reverse direction, so that the detection accuracy is not lowered as in the case of rotating the shot image. Defects can be detected. Therefore, according to the printed matter inspection method of the present invention, the processing time can be shortened without reducing the calculation amount in the image processing without reducing the defect detection accuracy.

また、撮影された画像がカラー画像である場合、撮影された画像を簡素化して簡素化画像を作成する画像簡素化ステップをさらに備え、前記印刷位置検出ステップにおいて、前記撮影された画像に代えて該簡素化画像を用いるものとする。   In addition, when the captured image is a color image, it further includes an image simplification step for simplifying the captured image to create a simplified image, and in the printing position detection step, instead of the captured image. It is assumed that the simplified image is used.

前記印刷位置検出ステップにおいて、撮影された画像そのものを回転させず、撮影された画像を基にして作成した簡素化画像を回転させて補正するようにしたため、撮影された画像そのものを回転処理する場合と比べて、画像処理における演算量を大幅に低減することができ、演算量の大幅な低減によって処理時間の短縮を図ることができる。   In the printing position detection step, the captured image itself is not rotated, but the simplified image created based on the captured image is rotated and corrected, so that the captured image itself is rotated. As compared with the above, the calculation amount in the image processing can be greatly reduced, and the processing time can be shortened by the large reduction in the calculation amount.

以上のように、本発明に係る印刷物の検査方法によれば、画像処理を用いて印刷物の欠陥を検査するに際し、欠陥の検出精度を低下させることなく、しかも、画像処理における演算量を大幅に低減させて処理時間を短縮することができる。   As described above, according to the printed matter inspection method of the present invention, when inspecting a defect of the printed matter using image processing, the calculation amount in the image processing is greatly reduced without reducing the detection accuracy of the defect. The processing time can be shortened.

以下、本発明の実施形態の一例について、図面を参照しつつ説明する。
図1は、本発明の検査対象である印刷物の一例として、カラー印刷2が施された印刷シート1を示したものである。該カラー印刷シート1の形状については特に限定されず、長尺状であっても構わない。本実施形態においては、角度のずれが生じやすいく、本発明による効果が最も顕著に現れやすい、枚葉状である場合について説明する。
Hereinafter, an exemplary embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows a printed sheet 1 on which color printing 2 has been performed as an example of a printed material to be inspected according to the present invention. The shape of the color printing sheet 1 is not particularly limited, and may be a long shape. In the present embodiment, a description will be given of a single-wafer shape in which the angle is not easily displaced and the effect of the present invention is most prominent.

図2は、本発明を実施する際に使用される、欠陥検査装置の構成例を概念的に示した図である。図2に示す如く、該欠陥検査装置10は、検査対象であるカラー印刷シート1を順次搬送するための搬送手段11(例えば、ベルトコンベア)と、カラー印刷シート1に光を照射する照明12と、カラー印刷シート1の画像を撮影する撮影手段13と、撮影された画像を画像処理することによってカラー印刷シート1の欠陥を判別する画像処理手段14とを備えている。   FIG. 2 is a diagram conceptually showing a configuration example of a defect inspection apparatus used when carrying out the present invention. As shown in FIG. 2, the defect inspection apparatus 10 includes a transport unit 11 (for example, a belt conveyor) for sequentially transporting the color print sheets 1 to be inspected, and an illumination 12 for irradiating the color print sheet 1 with light. An image capturing unit 13 that captures an image of the color print sheet 1 and an image processing unit 14 that determines a defect of the color print sheet 1 by performing image processing on the captured image.

照明12としては、検査対象となるカラー印刷シートに合わせて、蛍光灯、ハロゲンランプ、LED等を用いることができる。また、照明の方式についても、検査対象であるカラー印刷シート1の態様や、検出したい欠陥の種類によって適宜変更することができる。例えば、検査対象であるカラー印刷シート1が光透過性のものであれば、透過照明を用いることによって毛髪等の遮光性のある欠陥を検出することができる。また、カラー印刷シート1の地合いがざらついている場合には反射照明を併用することが好ましく、これによってざらつきによる画像への悪影響を抑制することが可能となる。さらに、検査対象のカラー印刷シートが光透過性でない場合には、反射照明を用いることが好ましい。この場合、地合いのざらつきによる画像への悪影響を抑制するには、例えば、ドーム状の照明を用いてあらゆる角度からの光を入光すれば良い。   As the illumination 12, a fluorescent lamp, a halogen lamp, an LED, or the like can be used according to the color printing sheet to be inspected. Also, the illumination method can be appropriately changed depending on the aspect of the color print sheet 1 to be inspected and the type of defect to be detected. For example, if the color printing sheet 1 to be inspected is light-transmitting, it is possible to detect a light-blocking defect such as hair by using transmitted illumination. In addition, when the texture of the color printing sheet 1 is rough, it is preferable to use reflected illumination together, and this can suppress an adverse effect on the image due to the roughness. Further, when the color print sheet to be inspected is not light transmissive, it is preferable to use reflected illumination. In this case, in order to suppress an adverse effect on the image due to the roughness of the texture, for example, light from all angles may be incident using dome-shaped illumination.

撮影手段13は、カラー印刷シート1からの透過光又は反射光を受け、これを画像データに変換するものである。該撮影手段13としては、ラインセンサや2次元のカメラ等を使用できる。   The photographing means 13 receives transmitted light or reflected light from the color printing sheet 1 and converts it into image data. As the photographing means 13, a line sensor, a two-dimensional camera, or the like can be used.

画像処理手段14は、取り込まれた画像データを基に画像処理を行ない、欠陥を検出するものである。
図3は、画像処理手段14における画像処理工程の一例を示したフロー図である。該実施形態における画像処理手段14は、撮影手段13から送信された画像データを入力するための画像入力工程41と、得られた画像データのノイズ除去処理を行うための前処理工程42と、欠陥候補点を抽出するための欠陥候補点抽出工程43と、欠陥候補点の抽出された画像データから印刷部をマスクして欠陥検出用画像を作成するためのマスク処理工程44と、マスク処理された後の欠陥検出用画像を用いて欠陥の有無(良否)を判定するための良否判定工程45とを備え、さらに、マスク処理工程44において印刷部をマスクするために用いるマスク画像を作成するためのマスク作成工程46とを備えている。
The image processing means 14 performs image processing based on the captured image data and detects defects.
FIG. 3 is a flowchart showing an example of an image processing process in the image processing means 14. The image processing unit 14 in the embodiment includes an image input step 41 for inputting the image data transmitted from the photographing unit 13, a pre-processing step 42 for performing noise removal processing on the obtained image data, and a defect The defect candidate point extraction step 43 for extracting candidate points, the mask processing step 44 for creating a defect detection image by masking the printing unit from the image data from which defect candidate points have been extracted, and the mask processing And a pass / fail judgment step 45 for judging the presence / absence (defective / defective) of the defect using the subsequent defect detection image, and further for creating a mask image used for masking the printing portion in the mask processing step 44 And a mask creating step 46.

前処理工程42は、入力画像(即ち、撮影された画像)に対し、必要に応じてノイズ除去処理や欠陥強調処理などを行なうものである。ノイズ除去処理としては、例えば、輝点ノイズの多い画像に対して行なうオープニング処理や、シェーディングのある画像に対して行なうシェーディング補正処理などを挙げることができる。また、欠陥強調処理としては、例えば、エッジを強調するための微分処理や、コントラストを強調するための階調変換処理等を挙げることができる。   In the preprocessing step 42, noise removal processing, defect enhancement processing, or the like is performed on the input image (that is, the captured image) as necessary. Examples of the noise removal process include an opening process performed on an image with a lot of bright spot noise and a shading correction process performed on an image with shading. Examples of defect enhancement processing include differential processing for enhancing edges and gradation conversion processing for enhancing contrast.

欠陥候補点抽出工程43は、前処理工程42を経た画像に対して、例えば、適当なしきい値を用いて2値化処理を行ない、欠陥候補点を抽出するものである。欠陥候補点としては、検出すべき欠陥に加え、印刷シートに施されたカラー印刷の部分も検出されることとなるため、後述するマスク処理工程44においてこの印刷部分をマスクして、欠陥候補点から除外する必要がある。   In the defect candidate point extraction step 43, for example, binarization processing is performed on the image that has undergone the preprocessing step 42 using an appropriate threshold value, and defect candidate points are extracted. As a defect candidate point, in addition to the defect to be detected, a color print portion applied to the print sheet is also detected. Therefore, in the mask processing step 44 described later, this print portion is masked to obtain a defect candidate point. It is necessary to exclude from.

マスク処理工程44は、例えば、印刷部を0、他の部分を1とする2値画像をマスク画像として用い、該マスク画像と欠陥候補点の画像との理論積を求めることによって印刷部をマスクし、印刷部以外の欠陥候補点を抽出するものである。
尚、他のマスク処理方法としては、マスク画像の領域(即ち、印刷部)について異なる判定基準で検査する方法と、上記のマスク処理方法とを併用する方法を採用することもできる。この場合、前記欠陥候補点抽出工程とは異なるしきい値を使用するとともに、印刷部の欠陥候補点抽出に際しては、マスク画像を反転させた画像で印刷部以外をマスクすればよい。
The mask processing step 44 uses, for example, a binary image in which the printing portion is 0 and other portions are 1 as a mask image, and the printing portion is masked by obtaining a theoretical product of the mask image and the defect candidate point image. Then, defect candidate points other than the printing part are extracted.
As another mask processing method, a method of inspecting a mask image region (that is, a printing portion) using different determination criteria and a method of using the mask processing method in combination can be employed. In this case, a threshold value different from that in the defect candidate point extraction step is used, and when extracting the defect candidate points in the printing unit, it is only necessary to mask other than the printing unit with an image obtained by inverting the mask image.

次に、前記マスク処理工程44において使用するマスク画像を作成するための、マスク作成工程46について、図4を参照しつつ詳細に説明する。
マスク作成工程46は、(A)撮影された印刷シートの画像から印刷シートの傾き量を算出する傾き量算出ステップと、(B)撮影された画像を簡素化して簡素化画像を作成する画像簡素化ステップと、(C)算出された傾き量に応じて簡素化画像を回転して補正し、補正された画像を用いて印刷位置を検出する印刷位置検出ステップと、(D)検出された印刷位置に、予め入力された印刷部のマスクパターンを固定してマスク配置画像を作成し、該マスク配置画像を前記傾き量に応じて逆回転させてマスク画像を完成させるマスク画像処理ステップとを備える。
Next, the mask creating process 46 for creating a mask image used in the mask processing process 44 will be described in detail with reference to FIG.
The mask creation process 46 includes (A) an inclination amount calculating step for calculating an inclination amount of the print sheet from the photographed print sheet image, and (B) an image simplification that simplifies the photographed image and creates a simplified image. (C) a printing position detection step for rotating and correcting the simplified image according to the calculated inclination amount, and detecting a printing position using the corrected image; and (D) the detected printing A mask image processing step of creating a mask arrangement image by fixing a mask pattern of a printing unit inputted in advance at a position, and rotating the mask arrangement image in reverse according to the inclination amount to complete a mask image. .

(A)傾き量算出ステップ
傾き量算出ステップにおいては、まず、撮影された画像(入力画像)51を基にして、印刷シートの領域61を特定する。印刷シートと背景とのコントラストが十分大きい場合には、単に2値化することによって比較的簡単に印刷シートの領域61を特定することができる。また、印刷シートと背景とのコントラストが小さい場合には、階調変換処理等によってコントラストを補正した後、2値化することによって印刷シートの領域61を特定する。
(A) Inclination Amount Calculation Step In the inclination amount calculation step, first, a print sheet region 61 is specified based on a photographed image (input image) 51. When the contrast between the print sheet and the background is sufficiently large, the area 61 of the print sheet can be specified relatively simply by simply binarizing. When the contrast between the print sheet and the background is small, the contrast 61 is corrected by gradation conversion processing or the like, and then binarized to identify the print sheet region 61.

印刷シートの領域61を特定した後、該領域61を構成する直線状の境界線61’から印刷シートの傾き量を算出する。傾き量の算出方法としては、例えば、印刷シートの境界線61’上の任意の点を2点以上サンプリングし、サンプリングした点から近似直線を算出する方法を採用することができる。サンプリングした点が2点である場合、その座標を(x1、y1)および(x2、y2)とすると、傾き量は、tan-1{(y2−y1)/(x2−x1)}として算出することができる。また、サンプリングした点が3点以上である場合、個々の座標を近似直線の式、即ちax+by+c=0に代入し、最小二乗法等によって各係数を求めることにより、aを傾き量として得ることができる。
傾き量は、印刷シートの一辺から算出しても良いが、複数の辺から算出してそれらを平均化することにより、より精度の高い傾き量を求めることができる。また、複数の辺から傾きを算出する場合、サンプリング点と近似直線の誤差が最も小さい辺の傾き量を採用しても良い。
After the area 61 of the print sheet is specified, the amount of inclination of the print sheet is calculated from the linear boundary line 61 ′ constituting the area 61. As a method for calculating the amount of inclination, for example, a method of sampling two or more arbitrary points on the boundary line 61 ′ of the print sheet and calculating an approximate straight line from the sampled points can be employed. If there are two sampled points, and the coordinates are (x1, y1) and (x2, y2), the amount of inclination is calculated as tan −1 {(y2−y1) / (x2−x1)}. be able to. Further, when there are three or more sampled points, a is obtained as an inclination amount by substituting each coordinate into an approximate straight line equation, that is, ax + by + c = 0, and obtaining each coefficient by the least square method or the like. it can.
The amount of inclination may be calculated from one side of the print sheet, but by calculating from a plurality of sides and averaging them, a more accurate amount of inclination can be obtained. In addition, when calculating the inclination from a plurality of sides, the amount of inclination of the side with the smallest error between the sampling point and the approximate line may be employed.

(B)画像簡素化ステップ
画像簡素化ステップでは、撮影されたカラー画像を簡素化し、簡素化画像52を作成する。簡素化方法としては、カラー画像から明度画像、R画像、G画像又はB画像の少なくとも何れか一つの画像を抽出することにより、抽出した画像を白黒画像に変換することによって簡素化画像52を作成する方法が挙げられる。例えば、印刷の色が赤である場合には、明度画像よりもB画像を用いることが好ましく、コントラストの高い白黒画像(簡素化画像52)を得ることができる。
尚、カラー画像を簡素化する方法としては他の方法であってもよく、さらに、撮影された画像がカラー画像でなく白黒画像である場合には、該画像簡素化ステップを経ることなく、下記の(C)印刷位置検出ステップにおいて、簡素化画像52に代えて撮影された画像そのものを用いても良い。
(B) Image Simplification Step In the image simplification step, the captured color image is simplified and a simplified image 52 is created. As a simplification method, a simplified image 52 is created by extracting at least one of a brightness image, an R image, a G image, or a B image from a color image, and converting the extracted image into a black and white image. The method of doing is mentioned. For example, when the printing color is red, it is preferable to use the B image rather than the lightness image, and a monochrome image (simplified image 52) having a high contrast can be obtained.
It should be noted that other methods may be used as a method for simplifying a color image. Further, when the photographed image is not a color image but a black and white image, the following image simplification step is not performed. In (C) the printing position detection step, the captured image itself may be used instead of the simplified image 52.

(C)印刷位置検出ステップ
印刷位置検出ステップでは、前記(B)画像簡素化ステップにおいて得られた簡素化画像52を、前記(A)傾き量産出ステップにおいて算出された傾き量だけ回転させて傾きを補正し、傾きの補正された傾き補正画像53を用いて印刷位置を検出する。
印刷位置の検出方法としては、例えば、パターンマッチング等の方法を採用することができる。
(C) Print Position Detection Step In the print position detection step, the simplified image 52 obtained in the (B) image simplification step is rotated by the inclination amount calculated in the (A) inclination amount producing step, and the inclination is obtained. And the print position is detected using the tilt-corrected image 53 with the tilt corrected.
As a printing position detection method, for example, a method such as pattern matching can be employed.

(D)マスク画像処理ステップ
マスク画像処理ステップでは、前記(C)印刷位置検出ステップにおいて検出された印刷位置に、予め入力しておいた印刷部のマスクパターン62を配置してマスク配置画像54を作成するとともに、該マスク配置画像54を前記(A)傾き量算出ステップにおいて算出された傾き量に応じて逆回転させ、マスク画像55を完成させる。
(D) Mask image processing step In the mask image processing step, a mask pattern 62 of the printing portion inputted in advance is arranged at the printing position detected in the (C) printing position detecting step, and the mask arrangement image 54 is displayed. At the same time, the mask arrangement image 54 is reversely rotated in accordance with the inclination amount calculated in the (A) inclination amount calculating step to complete the mask image 55.

前記マスクパターン62は、印刷形状と同じ形状を有する2置画像であり、現物の印刷シート1の画像を2値化すること等により、別途準備したものを使用する。
また、マスク近辺に欠陥が存在する場合、該欠陥までもマスクであるとして誤認するおそれがあるため、印刷の特徴量を用いて欠陥との識別を行い、欠陥をマスクと区別することが好ましい。印刷の特徴量としては、印刷の線幅、面積などの形状や、色彩等を用いることができる。
The mask pattern 62 is a binary image having the same shape as the printed shape, and a separately prepared image is used, for example, by binarizing the image of the actual print sheet 1.
Further, when there is a defect in the vicinity of the mask, there is a possibility that the defect is mistakenly recognized as being a mask. Therefore, it is preferable to distinguish the defect from the mask by identifying the defect using the print feature amount. As the print feature amount, a shape such as a print line width or area, a color, or the like can be used.

マスク配置画像54のマスクパターン62を逆回転させて完成されたマスク画像55は、撮影された画像の印刷位置と同じ位置にマスクパターン62が配置された画像となるため、該マスク画像55を用いてマスク処理することが可能となる。   A mask image 55 completed by reversely rotating the mask pattern 62 of the mask arrangement image 54 becomes an image in which the mask pattern 62 is arranged at the same position as the printing position of the photographed image. Therefore, the mask image 55 is used. Can be masked.

こうして得られたマスク画像55を用い、前記欠陥の候補点を検出された画像をマスク処理することにより、印刷部2以外の部分に存在する欠陥を検出することが可能となる。また、印刷部2についても、前記マスク画像を反転させた画像によって印刷部以外をマスクした後、上記とは異なる適当なしきい置を用いて欠陥を検出することができる。   By using the mask image 55 obtained in this manner and masking the image from which the defect candidate points are detected, it becomes possible to detect a defect existing in a portion other than the printing unit 2. In the printing unit 2 as well, defects other than the printing unit can be masked with an image obtained by inverting the mask image, and then a defect can be detected using an appropriate threshold different from the above.

このように、本実施形態に係る画像処理手段によれば、カラー画像を白黒画像等に簡素化し、簡素化された画像を回転処理することにより、カラー画像をそのまま回転処理する場合と比較して回転に必要な演算量を大幅に低減させることができ、より高速の処理が可能となる。   As described above, according to the image processing means according to the present embodiment, the color image is simplified to a black and white image, and the simplified image is rotated, so that the color image is directly rotated. The amount of calculation required for rotation can be greatly reduced, and higher-speed processing is possible.

具体的には、8bit×三色(RGB)の24bitのカラー画像を回転させる場合と比べ、本実施形態では、8bit×一色(白黒)の8bitの白黒画像(簡素化画像)の回転と、作成した1bitのマスク画像の回転のみでよく、回転処理に必要な演算量は、9/24とすることができる。   Specifically, as compared with the case of rotating a 24-bit color image of 8 bits × three colors (RGB), in this embodiment, rotation and creation of an 8-bit monochrome image (simplified image) of 8 bits × single color (black and white) are created. It is only necessary to rotate the 1-bit mask image, and the amount of calculation required for the rotation process can be 9/24.

さらに、本実施形態によれば、回転補正された画像を基準としてマスク画像を作成するために印刷形状を正確に捉えることができ、その結果、本来あるべき印刷の形状や、面積、幅、高さ、円形度といった特徴量との比較が正確に行なえるため、マスクパターンとして抽出した印刷と本来あるべき印刷とが、同じ形状か否かを確認することができ、印刷の欠け等の欠陥を検査することもできる。   Furthermore, according to the present embodiment, it is possible to accurately capture the print shape in order to create a mask image based on the rotation-corrected image. As a result, the print shape, area, width, In addition, since it is possible to accurately compare with feature values such as circularity, it is possible to check whether the print extracted as a mask pattern and the print that should be originally have the same shape, and defects such as missing prints. It can also be inspected.

また、本実施形態によれば、撮影されたカラー画像を回転補正することなく検査に使用するため、検査画像を回転処理した場合のような、欠陥コントラストの低下を招くことがない。   Further, according to the present embodiment, since the photographed color image is used for inspection without being rotationally corrected, the defect contrast is not reduced as in the case where the inspection image is rotated.

尚、前記実施形態では、マスク画像作成工程において、(A)傾き量算出ステップの後に(B)画像簡素化ステップを行なう場合について説明したが、本発明はこれに限定されず、(B)画像簡素化ステップの後、(A)傾き量算出ステップを行なうようにしてもよい。   In the above-described embodiment, the case where (B) the image simplification step is performed after the (A) inclination amount calculation step in the mask image creation process has been described, but the present invention is not limited to this, and (B) the image After the simplification step, (A) an inclination amount calculation step may be performed.

本発明の検査対象となるカラー印刷シートの構成の一例を示した平面図。The top view which showed an example of the structure of the color printing sheet used as the test object of this invention. 本発明において使用する欠陥検査装置の一形態を示した概念図。The conceptual diagram which showed one form of the defect inspection apparatus used in this invention. 画像処理手段における画像処理工程の一例を示した図。The figure which showed an example of the image processing process in an image processing means. マスク画像作成ステップにおけるマスク作成手順を示したフロー図。The flowchart which showed the mask creation procedure in a mask image creation step.

符号の説明Explanation of symbols

1 カラー印刷シート
2 印刷
10 欠陥検査装置
11 搬送手段
12 照明
13 撮影手段
14 画像処理手段
51 入力画像
52 簡素化画像
53 傾き補正画像
54 マスク配置画像
55 マスク画像
62 マスクパターン
DESCRIPTION OF SYMBOLS 1 Color printing sheet 2 Printing 10 Defect inspection apparatus 11 Conveying means 12 Illumination 13 Imaging means 14 Image processing means 51 Input image 52 Simplified image 53 Tilt correction image 54 Mask arrangement image 55 Mask image 62 Mask pattern

Claims (2)

印刷が施された印刷物の画像を撮影し、撮影された画像を画像処理することにより、前記印刷物の欠陥を検出する印刷物の検査方法であって、
前記画像処理が、
撮影された印刷物の画像から印刷物の傾き量を算出する傾き量算出ステップと、
算出された傾き量に応じて撮影された画像を回転して補正し、補正された画像を用いて印刷位置を検出する印刷位置検出ステップと、
検出された印刷位置に、予め入力されたマスクパターンを配置してマスク配置画像を作成し、該マスク配置画像を前記傾き量だけ逆回転させてマスク画像を完成させるマスク画像処理ステップとを備え、
該マスク画像を用いて前記撮影画像をマスク処理することを特徴とする印刷物の検査方法。
A method for inspecting a printed material by detecting a defect of the printed material by photographing an image of a printed material on which printing has been performed and performing image processing on the captured image,
The image processing is
An inclination amount calculating step for calculating the inclination amount of the printed material from the image of the printed material,
A printing position detecting step of rotating and correcting an image captured according to the calculated amount of inclination, and detecting a printing position using the corrected image;
A mask image processing step of creating a mask arrangement image by arranging a mask pattern inputted in advance at the detected printing position, and reversely rotating the mask arrangement image by the inclination amount to complete a mask image;
A method for inspecting a printed matter, wherein the photographed image is masked using the mask image.
前記撮影された画像がカラー画像である場合、
撮影された画像を簡素化して簡素化画像を作成する画像簡素化ステップをさらに備え、
前記印刷位置検出ステップにおいて、前記撮影された画像に代えて該簡素化画像を用いることを特徴とする請求項1記載の印刷物の検査方法。
When the captured image is a color image,
Further comprising an image simplification step for simplifying the captured image to create a simplified image;
2. The printed matter inspection method according to claim 1, wherein, in the printing position detecting step, the simplified image is used instead of the photographed image.
JP2004329384A 2004-11-12 2004-11-12 Inspection method of printed matter Active JP4364773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004329384A JP4364773B2 (en) 2004-11-12 2004-11-12 Inspection method of printed matter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004329384A JP4364773B2 (en) 2004-11-12 2004-11-12 Inspection method of printed matter

Publications (2)

Publication Number Publication Date
JP2006138768A true JP2006138768A (en) 2006-06-01
JP4364773B2 JP4364773B2 (en) 2009-11-18

Family

ID=36619688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004329384A Active JP4364773B2 (en) 2004-11-12 2004-11-12 Inspection method of printed matter

Country Status (1)

Country Link
JP (1) JP4364773B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014514649A (en) * 2011-03-29 2014-06-19 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Image scratch detection
JP2016176813A (en) * 2015-03-20 2016-10-06 株式会社イシダ Inspection device and inspection method
JP6203922B1 (en) * 2016-10-04 2017-09-27 三井金属計測機工株式会社 Fruit and vegetable inspection equipment
JP6203923B1 (en) * 2016-10-04 2017-09-27 三井金属計測機工株式会社 Fruit and vegetable inspection equipment
JP2022130452A (en) * 2016-08-26 2022-09-06 アプライド マテリアルズ インコーポレイテッド Thickness measurement of substrate using color metrology

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014514649A (en) * 2011-03-29 2014-06-19 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Image scratch detection
US9098897B2 (en) 2011-03-29 2015-08-04 Hewlett-Packard Development Company, L.P. Detection of scratches on an image
JP2016176813A (en) * 2015-03-20 2016-10-06 株式会社イシダ Inspection device and inspection method
JP2022130452A (en) * 2016-08-26 2022-09-06 アプライド マテリアルズ インコーポレイテッド Thickness measurement of substrate using color metrology
JP6203922B1 (en) * 2016-10-04 2017-09-27 三井金属計測機工株式会社 Fruit and vegetable inspection equipment
JP6203923B1 (en) * 2016-10-04 2017-09-27 三井金属計測機工株式会社 Fruit and vegetable inspection equipment
JP2018059774A (en) * 2016-10-04 2018-04-12 三井金属計測機工株式会社 Fruit and vegetable inspection device
JP2018059775A (en) * 2016-10-04 2018-04-12 三井金属計測機工株式会社 Fruit and vegetable inspection device

Also Published As

Publication number Publication date
JP4364773B2 (en) 2009-11-18

Similar Documents

Publication Publication Date Title
JP3669698B2 (en) Inspection method and inspection apparatus for printed matter
WO2017141611A1 (en) Defect detection apparatus, defect detection method, and program
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
JP6052590B2 (en) Surface inspection apparatus and surface inspection method for automobile body
JP2009097922A (en) Visual inspection method and apparatus
JP2018096908A (en) Inspection device and inspection method
JP4322230B2 (en) Surface defect inspection apparatus and surface defect inspection method
JP4364773B2 (en) Inspection method of printed matter
JP2007316019A (en) Surface defect inspection device
WO2013018207A1 (en) Container mouth portion inspection method and device
JP5608925B2 (en) Glass bottle printing inspection equipment
JP6628185B2 (en) Inspection method for transparent objects
JP2009080004A (en) Inspection device
JP2017166957A (en) Defect detection device, defect detection method and program
JP4093426B2 (en) Inspection device, inspection method
JP4349960B2 (en) Surface defect inspection equipment
JP2002250700A (en) Method and device for inspecting pattern
JP5380223B2 (en) Circular lens inspection apparatus and method
JP4967132B2 (en) Defect inspection method for object surface
JP2017166956A (en) Defect detection device detection method and program
JP2008292398A (en) Method of inspecting floating defect of component electrode and substrate inspecting device
JP6688629B2 (en) Defect detecting device, defect detecting method and program
JP6576661B2 (en) Image processing device
JP4474006B2 (en) Inspection device
JP6296585B1 (en) Print lift detection apparatus, lift detection method, inspection apparatus, and inspection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061106

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080623

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090220

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090807

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090819

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4364773

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150828

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250