JP7772092B2 - Printed matter inspection device, printed matter inspection method, and program - Google Patents
Printed matter inspection device, printed matter inspection method, and programInfo
- Publication number
- JP7772092B2 JP7772092B2 JP2023570597A JP2023570597A JP7772092B2 JP 7772092 B2 JP7772092 B2 JP 7772092B2 JP 2023570597 A JP2023570597 A JP 2023570597A JP 2023570597 A JP2023570597 A JP 2023570597A JP 7772092 B2 JP7772092 B2 JP 7772092B2
- Authority
- JP
- Japan
- Prior art keywords
- ovd
- image
- inspection
- attachment position
- matching
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/89—Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
- G01N21/892—Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles characterised by the flaw, defect or object feature examined
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Textile Engineering (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Analysis (AREA)
Description
本開示は、印刷物検査装置、印刷物検査方法、及びコンピュータ可読媒体に関し、特に、基材上にOVD(Optical Variable Device)が貼付された印刷物を検査する印刷物検査装置、印刷物検査方法、及びコンピュータ可読媒体に関する。 The present disclosure relates to a printed matter inspection device, a printed matter inspection method, and a computer-readable medium, and in particular to a printed matter inspection device, a printed matter inspection method, and a computer-readable medium for inspecting printed matter having an OVD (Optical Variable Device) attached to a substrate.
印刷物の検査は、検査対象とする印刷物の印刷工程や、印刷物の撮像時に生じる様々な変動要因を考慮して実施されている。例えば、変動要因としては、印刷時の位置ずれや撮像時の照明光反射による輝度値変化等がある。印刷物の検査では、これらの変動が起こりえる場所をマスク(検査対象外に設定)することで、検査精度に影響を与えずに検査を行うことを可能としている。 Inspection of printed materials is carried out taking into consideration various variables that occur during the printing process of the printed material being inspected and when capturing an image of the printed material. For example, variables include misalignment during printing and changes in brightness values due to the reflection of illumination light when capturing an image. When inspecting printed materials, areas where these variables may occur are masked (set outside the inspection area), making it possible to perform the inspection without affecting inspection accuracy.
また、印刷物の中でも、銀行券、有価証券、商品券、金券類、カード類等の印刷物上には、偽造防止を目的として、OVDが貼付される場合がある。OVDの形状には、図1に示されるような円形状のものや長方形のもの等がある。しかし、OVDは、その形状にかかわらず、その光学的特性から撮影時の照明光反射による輝度値変化が激しい。そのため、図1に示されるように、関連技術に係る印刷物検査方法では、OVDがマスクされる。また、図2に示されるように、OVDの貼付位置にはバラつきがある。そのため、関連技術に係る印刷物検査方法では、OVDの位置ずれを考慮して、OVDが存在しうる領域もマスクされてきた。 OVDs are sometimes affixed to printed materials, such as banknotes, securities, gift certificates, coupons, and cards, to prevent counterfeiting. OVDs come in a variety of shapes, including circular and rectangular, as shown in Figure 1. However, regardless of their shape, OVDs have significant variations in brightness due to the reflection of illumination light during photography due to their optical properties. For this reason, OVDs are masked in print inspection methods related to related technology, as shown in Figure 1. Furthermore, as shown in Figure 2, there is variation in the placement of OVDs. For this reason, print inspection methods related to related technology have masked areas where OVDs may be present, taking into account misalignment of the OVD.
しかし、マスク領域のうちOVDでない領域(以下、不感帯領域と称す)に欠陥が生じる場合がある。上記したような関連技術に係る印刷物検査方法では、OVDが存在しうる領域もマスクされてしまう。そのため、図3に示されるように、不感帯領域内の欠陥もマスクされてしまうため、不感帯領域内の欠陥を検出できない場合があった。OVDの検査方法については開示されているが(例えば、特許文献1)、マスク領域のうちOVDではない不感帯領域を検査する検査方法については開示されていない。However, defects may occur in areas of the mask area that are not OVD (hereinafter referred to as dead zone areas). In the print inspection method according to the related art described above, areas where OVD may exist are also masked. As a result, as shown in Figure 3, defects within the dead zone areas are also masked, making it impossible to detect defects within the dead zone areas. While methods for inspecting OVD have been disclosed (for example, Patent Document 1), no inspection method has been disclosed for inspecting dead zone areas within the mask area that are not OVD.
そこで本開示の目的は、上述した課題を鑑み、印刷物検査において、マスク領域のうちOVDではない不感帯領域を検査することが可能な印刷物検査装置、印刷物検査方法、及びコンピュータ可読媒体を提供することにある。 In view of the above-mentioned problems, the object of this disclosure is to provide a print inspection device, a print inspection method, and a computer-readable medium that are capable of inspecting dead zone areas within a mask area that are not OVD during print inspection.
一態様による印刷物検査装置は、
OVD(Optical Variable Device)が貼付された印刷物を検査する印刷物検査装置であって、
OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成するマッチング用テンプレート作成部と、
前記マッチング用テンプレート画像を用いて、前記印刷物を撮影して得られた検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた前記検査対象画像と検査用テンプレート画像との差分画像に基づいて、前記検査対象画像における欠陥を検出する欠陥検出部と、
を備える。
A print inspection device according to one aspect includes:
A print inspection device that inspects a print to which an OVD (Optical Variable Device) is attached,
a matching template creation unit that creates a matching template image for identifying the attachment position of the OVD by template matching;
a defect detection unit that uses the matching template image to identify an OVD attachment position in an inspection object image obtained by photographing the printed matter, masks the identified OVD attachment position, and detects defects in the inspection object image based on a difference image between the inspection object image in which the OVD attachment position has been masked and the inspection template image;
Equipped with.
一態様による印刷物検査方法は、
OVD(Optical Variable Device)が貼付された印刷物を検査する印刷物検査装置が行う印刷物検査方法であって、
OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成するマッチング用テンプレート作成ステップと、
前記マッチング用テンプレート画像を用いて、前記印刷物を撮影して得られた検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた前記検査対象画像と検査用テンプレート画像との差分画像に基づいて、前記検査対象画像における欠陥を検出する欠陥検出ステップと、
を含む。
A print inspection method according to one aspect includes:
A print inspection method performed by a print inspection device that inspects a print to which an OVD (Optical Variable Device) is attached, comprising:
a matching template creation step of creating a matching template image for identifying the attachment position of the OVD by template matching;
a defect detection step of using the matching template image to identify an OVD attachment position in an inspection object image obtained by photographing the printed matter, masking the identified OVD attachment position, and detecting defects in the inspection object image based on a difference image between the inspection object image in which the OVD attachment position has been masked and the inspection template image;
Includes.
一態様によるコンピュータ可読媒体は、
OVD(Optical Variable Device)が貼付された印刷物を検査する印刷物検査装置に実行させるプログラムが格納された非一時的なコンピュータ可読媒体であって、
前記プログラムは、
OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成するマッチング用テンプレート作成ステップと、
前記マッチング用テンプレート画像を用いて、前記印刷物を撮影して得られた検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた前記検査対象画像と検査用テンプレート画像との差分画像に基づいて、前記検査対象画像における欠陥を検出する欠陥検出ステップと、
を含む。
According to one aspect, a computer-readable medium includes:
A non-transitory computer-readable medium storing a program to be executed by a print inspection device that inspects a print to which an OVD (Optical Variable Device) is attached,
The program
a matching template creation step of creating a matching template image for identifying the attachment position of the OVD by template matching;
a defect detection step of using the matching template image to identify an OVD attachment position in an inspection object image obtained by photographing the printed matter, masking the identified OVD attachment position, and detecting defects in the inspection object image based on a difference image between the inspection object image in which the OVD attachment position has been masked and the inspection template image;
Includes.
上述の態様によれば、印刷物検査において、マスク領域のうちOVDではない不感帯領域を検査することが可能な印刷物検査装置、印刷物検査方法、及びコンピュータ可読媒体を提供できるという効果が得られる。 The above-mentioned aspects have the effect of providing a print inspection device, a print inspection method, and a computer-readable medium that are capable of inspecting dead zone areas within a mask area that are not OVD during print inspection.
以下、図面を参照して本開示の実施の形態について説明する。なお、以下の記載及び図面は、説明の明確化のため、適宜、省略及び簡略化がなされている。また、以下の各図面において、同一の要素には同一の符号が付されており、必要に応じて重複説明は省略されている。 Embodiments of the present disclosure will be described below with reference to the drawings. Note that the following description and drawings have been omitted and simplified as appropriate for clarity of explanation. In addition, in each of the following drawings, identical elements are given the same reference numerals, and duplicate explanations will be omitted as necessary.
<実施の形態1>
本実施の形態1に係る印刷物検査装置10は、図1に示されたように、検査対象の印刷物上の、関連技術に係るマスク領域のうち、OVDではない不感帯領域についても、検査することが可能である。
First Embodiment
As shown in Figure 1, the printed matter inspection device 10 of this embodiment 1 is also capable of inspecting dead zone areas that are not OVDs among the mask areas related to related technologies on the printed matter to be inspected.
まず、図4を参照して、本実施の形態1に係る印刷物検査装置10の構成例について説明する。図4に示されるように、本実施の形態1に係る印刷物検査装置10は、マッチング用テンプレート作成装置11と、検査用テンプレート作成装置12と、欠陥検出装置13と、画像入力装置14と、記憶装置15と、を備える。 First, an example configuration of the print inspection device 10 according to the first embodiment will be described with reference to Figure 4. As shown in Figure 4, the print inspection device 10 according to the first embodiment includes a matching template creation device 11, an inspection template creation device 12, a defect detection device 13, an image input device 14, and a storage device 15.
マッチング用テンプレート作成装置11は、検査用テンプレート作成装置12、欠陥検出装置13、及び記憶装置15と接続されており、演算部111と、画像出力部112と、を備える。マッチング用テンプレート作成装置11は、OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成する。マッチング用テンプレート作成装置11は、図5に示されように、複数枚の学習用OVD画像における各画素の輝度値分散を算出し、他の領域と比較して相対的に輝度値分散の小さい画素が集まった領域(図柄)の画像をマッチング用テンプレート画像とする。演算部111は、あらかじめ記憶装置15に記憶された複数枚の学習用OVD画像を読み込み、複数枚の学習用OVD画像における各画素の輝度値分散を算出する。画像出力部112は、演算部111により各画素の輝度値分散が算出された後に、他の領域と比較して相対的に輝度値分散の小さい画素が集まった領域を抽出し、抽出された領域の画像をマッチング用テンプレート画像として出力する。ここで、マッチング用テンプレート画像は、OVD内に描かれた図柄の一部を切り取った形状となり、特定の形状で示せるものではないが、図5では簡単のため星形で示している。マッチング用テンプレート作成装置11から出力されたマッチング用テンプレート画像は、検査用テンプレート作成装置12及び欠陥検出装置13に入力される。The matching template creation device 11 is connected to the inspection template creation device 12, the defect detection device 13, and the storage device 15, and includes a calculation unit 111 and an image output unit 112. The matching template creation device 11 creates a matching template image for identifying the OVD attachment position through template matching. As shown in FIG. 5, the matching template creation device 11 calculates the luminance value variance of each pixel in multiple learning OVD images, and uses an image of an area (pattern) where pixels with a relatively low luminance value variance compared to other areas as the matching template image. The calculation unit 111 reads multiple learning OVD images previously stored in the storage device 15 and calculates the luminance value variance of each pixel in the multiple learning OVD images. After the calculation unit 111 calculates the luminance value variance of each pixel, the image output unit 112 extracts an area where pixels with a relatively low luminance value variance compared to other areas are collected, and outputs the image of the extracted area as the matching template image. Here, the matching template image has the shape of a cut-out portion of a pattern drawn on the OVD, and cannot be represented in a specific shape, but for simplicity's sake is shown as a star in Fig. 5. The matching template image output from the matching template creation device 11 is input to the inspection template creation device 12 and the defect detection device 13.
検査用テンプレート作成装置12は、マッチング用テンプレート作成装置11、欠陥検出装置13、及び記憶装置15と接続されており、OVD位置検出部121と、演算部122と、画像出力部123と、を備える。検査用テンプレート作成装置12は、検査対象画像における欠陥を検出するための検査用テンプレート画像を作成する。 The inspection template creation device 12 is connected to the matching template creation device 11, the defect detection device 13, and the storage device 15, and includes an OVD position detection unit 121, a calculation unit 122, and an image output unit 123. The inspection template creation device 12 creates an inspection template image for detecting defects in the inspection target image.
印刷物の検査は、図6に示されるように、検査対象画像と検査用テンプレート画像との差分画像を用いて実施される。印刷物上に欠陥が存在した場合は、欠陥部分のみが差分画像上に現れるため、欠陥を検出できる。ここで、実際には、差分画像上にマスク領域内のOVDは現れないが、マスク領域とOVD及び欠陥との位置関係を示すために、図6、上述の図3、及び後述の図9では、マスク領域及びOVDを図示している。 As shown in Figure 6, inspection of printed matter is performed using a difference image between the image to be inspected and the inspection template image. If a defect is present on the printed matter, only the defective portion will appear in the difference image, allowing the defect to be detected. While the OVD within the mask area does not actually appear in the difference image, the mask area and OVD are illustrated in Figure 6, Figure 3 above, and Figure 9 below to show the positional relationship between the mask area, the OVD, and the defect.
検査用テンプレート作成装置12は、あらかじめ記憶装置15に記憶された複数枚の学習用正常紙画像から検査用テンプレート画像を作成する。学習用正常紙画像は、あらかじめOVD及びその周囲を除く印刷物の基材上に欠陥が存在しないことを確認された無欠陥の画像である。例えば、学習用正常紙画像は、関連技術に係るマスク領域を除く印刷物の基材上に欠陥が存在しない無欠陥の画像としても良い。 The inspection template creation device 12 creates an inspection template image from multiple learning normal paper images previously stored in the storage device 15. The learning normal paper image is a defect-free image that has been previously confirmed to have no defects on the substrate of the printed material except for the OVD and its surroundings. For example, the learning normal paper image may be a defect-free image in which no defects exist on the substrate of the printed material except for a mask area related to related technology.
印刷物の検査では、検査対象とする印刷物の印刷工程や、印刷物の撮像時に生じる様々な正常紙の変動を考慮するため、図7に示されるように、複数枚の学習用正常紙画像における各画素の輝度値平均を算出し、検査用テンプレート画像を作成する。すなわち、学習用正常紙画像の平均値画像を検査用テンプレート画像として用いる。 When inspecting printed matter, in order to take into account the printing process of the printed matter being inspected and the various variations in normal paper that occur when capturing images of the printed matter, the average brightness value of each pixel in multiple learning normal paper images is calculated to create an inspection template image, as shown in Figure 7. In other words, the average value image of the learning normal paper images is used as the inspection template image.
関連技術に係る印刷物検査方法では、OVDの位置ずれを考慮し、OVDが存在しうる領域(関連技術に係るマスク領域)の画素は、不感帯領域を含め検査用テンプレート画像に加算していなかった。これに対して、本実施の形態1では、マッチング用テンプレート画像を用いたテンプレートマッチングによりOVDの貼付位置を特定できる。そのため、本実施の形態1では、図8に示されるように、関連技術に係るマスク領域のうちの不感帯領域の画素を、検査用テンプレート画像に加算することができる(すなわち、検査用テンプレート画像のマスク領域を狭めることができる)。 In the print inspection method according to the related art, the pixels in the area where the OVD may exist (the mask area according to the related art) are not added to the inspection template image, including the dead zone area, taking into account the positional misalignment of the OVD. In contrast, in this embodiment 1, the OVD attachment position can be identified by template matching using a matching template image. Therefore, in this embodiment 1, as shown in Figure 8, the pixels in the dead zone area of the mask area according to the related art can be added to the inspection template image (i.e., the mask area of the inspection template image can be narrowed).
OVD位置検出部121は、複数枚の学習用正常紙の各々について、マッチング用テンプレート作成装置11により作成されたマッチング用テンプレートを用いて、OVDの貼付位置を特定する。演算部122は、複数枚の学習用正常紙の各々について、OVD位置検出部121により特定されたOVDの貼付位置を除いた領域の各画素を検査用テンプレート画像に加算する。そして、演算部122は、複数枚の学習用正常紙におけるOVDの貼付位置を除いた領域の各画素の輝度値平均を算出する。画像出力部123は、検査用テンプレート画像の各画素に対し、演算部122により算出された各画素の輝度値平均を上書きした画像を、検査用テンプレート画像として出力する。検査用テンプレート作成装置12から出力された検査用テンプレート画像は、欠陥検出装置13に入力される。The OVD position detection unit 121 identifies the OVD attachment position for each of the multiple normal learning sheets using a matching template created by the matching template creation device 11. The calculation unit 122 adds each pixel in the area excluding the OVD attachment position identified by the OVD position detection unit 121 to the inspection template image for each of the multiple normal learning sheets. The calculation unit 122 then calculates the average brightness value of each pixel in the area excluding the OVD attachment position on the multiple normal learning sheets. The image output unit 123 outputs an image in which the average brightness value of each pixel calculated by the calculation unit 122 is overwritten on each pixel of the inspection template image as the inspection template image. The inspection template image output from the inspection template creation device 12 is input to the defect detection device 13.
画像入力装置14は、欠陥検出装置13と接続されており、撮像部141と、画像出力部142と、を備える。撮像部141は、検査対象の印刷物を撮影する。画像出力部142は、撮像部141の撮影により得られた画像を検査対象画像として出力する。画像入力装置14から出力された検査対象画像は、欠陥検出装置13に入力される。 The image input device 14 is connected to the defect detection device 13 and includes an imaging unit 141 and an image output unit 142. The imaging unit 141 captures an image of the printed material to be inspected. The image output unit 142 outputs the image obtained by the imaging unit 141 as the image to be inspected. The image to be inspected output from the image input device 14 is input to the defect detection device 13.
欠陥検出装置13は、マッチング用テンプレート作成装置11、検査用テンプレート作成装置12、及び画像入力装置14と接続されており、OVD位置検出部131と、OVDマスク設定部132と、欠陥差分演算部133と、判定部134と、を備える。欠陥検出装置13は、検査対象画像における欠陥を検出する。図9に示されるように、OVD位置検出部131は、マッチング用テンプレート作成装置11により作成されたマッチング用テンプレート画像を用いて、検査対象画像におけるOVDの貼付位置を特定する。OVDマスク設定部132は、OVD位置検出部131により特定されたOVDの貼付位置の位置情報に基づいて、OVDに限定してマスク処理を行う。欠陥差分演算部133は、検査用テンプレート作成装置12により作成された検査用テンプレート画像と、OVDマスク設定部132によりOVDの貼付位置がマスクされた検査対象画像と、の差分画像を算出する。判定部134は、欠陥差分演算部133により算出された差分画像に基づいて、検査対象画像に欠陥が存在するか否かを判定する。The defect detection device 13 is connected to the matching template creation device 11, the inspection template creation device 12, and the image input device 14, and includes an OVD position detection unit 131, an OVD mask setting unit 132, a defect difference calculation unit 133, and a judgment unit 134. The defect detection device 13 detects defects in the inspection target image. As shown in FIG. 9 , the OVD position detection unit 131 identifies the OVD attachment position in the inspection target image using the matching template image created by the matching template creation device 11. The OVD mask setting unit 132 performs masking processing limited to the OVD based on the position information of the OVD attachment position identified by the OVD position detection unit 131. The defect difference calculation unit 133 calculates a difference image between the inspection template image created by the inspection template creation device 12 and the inspection target image in which the OVD attachment position has been masked by the OVD mask setting unit 132. The determination unit 134 determines whether or not a defect exists in the inspection target image based on the difference image calculated by the defect difference calculation unit 133 .
関連技術に係る印刷物検査方法では、OVDの位置ずれを考慮し、OVDが存在しうる領域(関連技術に係るマスク領域)をマスクしていた。これに対して、本実施の形態1では、検査対象画像におけるOVDの貼付位置を特定できる。そのため、本実施の形態1では、OVDに限定してマスクすることが可能となるため、OVDの位置ずれを考慮した広範囲のマスクが不要となる。その結果、関連技術に係るマスク領域のうちの不感帯領域についても検査することが可能となる。 In the print inspection method according to the related art, the area where the OVD may exist (the mask area according to the related art) is masked, taking into account the misalignment of the OVD. In contrast, in this embodiment 1, the OVD attachment position in the image to be inspected can be identified. Therefore, in this embodiment 1, it is possible to limit the masking to the OVD, eliminating the need for a wide-area mask that takes into account the misalignment of the OVD. As a result, it is also possible to inspect the dead zone area of the mask area according to the related art.
以下、図10を参照して、本実施の形態1に係る印刷物検査装置10におけるマッチング用テンプレート画像の作成処理S10、検査用テンプレート画像の作成処理S11、及び、検査処理S12の流れの例について説明する。 Below, with reference to Figure 10, an example of the flow of the matching template image creation process S10, the inspection template image creation process S11, and the inspection process S12 in the print inspection device 10 of this embodiment 1 is described.
最初に、マッチング用テンプレート作成処理S10では、まず、マッチング用テンプレート作成装置11は、記憶装置15から読み込んだ複数枚の学習用OVD画像を入力し、メモリ(不図示)上に展開する(S101)。ここで読み込まれる学習用OVD画像は、図5に示されるように、OVD及びその周囲を含む領域が切り取られ、OVDの位置があらかじめ複数枚の学習用OVD画像間で位置合わせされている必要がある。次に、マッチング用テンプレート作成装置11は、S101で入力された複数枚の学習用OVD画像の各々について、その学習用OVD画像における各画素の輝度値を算出し、算出された各画素の輝度値を、学習用OVD画像における各画素と対応したメモリ上の配列に加算する(S102)。すなわち、同一位置にある画素の輝度値を、複数枚の学習用OVD画像間で足し合わせる。S102の処理は、入力枚数i(iは2以上の整数)分の学習用OVD画像について行われる。マッチング用テンプレート作成装置11は、輝度値の加算処理を入力枚数分繰り返した後、メモリ上の配列に格納された各画素の輝度値に基づいて、各画素の輝度値分散を算出する(S103)。次に、マッチング用テンプレート作成装置11は、学習用OVD画像上の領域の中から、他の領域と比較して相対的に輝度値分散の小さい領域を抽出する(S104)。次に、マッチング用テンプレート作成装置11は、S104で抽出された、輝度値分散の小さい領域の画像を、マッチング用テンプレート画像として、検査用テンプレート作成装置12及び欠陥検出装置13に出力する(S105)。First, in the matching template creation process S10, the matching template creation device 11 inputs multiple training OVD images read from the storage device 15 and expands them in memory (not shown) (S101). As shown in FIG. 5, the training OVD images read here must be cropped to include the OVD and its surrounding area, and the OVD positions must be aligned in advance across the multiple training OVD images. Next, the matching template creation device 11 calculates the luminance value of each pixel in each of the multiple training OVD images input in S101 and adds the calculated luminance values of each pixel to the array in memory corresponding to each pixel in the training OVD image (S102). In other words, the luminance values of pixels at the same position are added across the multiple training OVD images. The process of S102 is performed for the number of training OVD images input, i (i is an integer greater than or equal to 2). The matching template creation device 11 repeats the brightness value addition process for the number of input images, and then calculates the brightness value variance of each pixel based on the brightness values of each pixel stored in the array in memory (S103). Next, the matching template creation device 11 extracts, from the regions on the learning OVD image, regions with relatively low brightness value variance compared to other regions (S104). Next, the matching template creation device 11 outputs the image of the region with low brightness value variance extracted in S104 as a matching template image to the inspection template creation device 12 and the defect detection device 13 (S105).
続いて、検査用テンプレート作成処理S11では、まず、検査用テンプレート作成装置12は、記憶装置15から読み込んだ複数枚の学習用正常紙画像を入力し、メモリ(不図示)上に展開する(S111)。ここで読み込まれる学習用正常紙画像は、あらかじめOVD及びその周辺を除く印刷物の基材上に欠陥が存在しないことを確認された画像である必要がある。次に、検査用テンプレート作成装置12は、マッチング用テンプレート作成装置11により作成されたマッチング用テンプレート画像を読み込む(S112)。次に、検査用テンプレート作成装置12は、S111で入力された複数枚の学習用正常紙画像の各々について、S112で読み込まれたマッチング用テンプレート画像を用いて、学習用正常紙画像に貼付されたOVDの貼付位置を、テンプレートマッチングによって特定する(S113)。次に、検査用テンプレート作成装置12は、学習用正常紙画像上の領域のうち、S113で特定されたOVDの貼付位置を除いた領域の各画素の輝度値を算出し、算出された各画素の輝度値を、学習用正常紙画像における各画素と対応したメモリ上の配列に加算する(S114)。すなわち、同一位置にある画素の輝度値を、複数枚の学習用正常紙画像間で足し合わせる。S113及びS114の処理は、入力枚数j(jは2以上の整数)分の学習用正常紙画像について行われる。検査用テンプレート作成装置12は、OVDの貼付位置の特定処理と、輝度値の加算処理と、を入力枚数分繰り返した後、メモリ上の配列に格納された各画素の輝度値を、学習用正常紙画像の入力枚数で除算することで、各画素の輝度値平均を算出する(S115)。ただし、通常は、画素毎に、加算された学習用正常紙画像の枚数(入力枚数)が異なる。そのため、画素毎に除数も異なることに注意する必要がある。その後、検査用テンプレート作成装置12は、検査用テンプレート画像の各画素に、メモリ上の配列に格納された各画素の輝度値平均を上書きし(S116)、その検査用テンプレート画像を欠陥検出装置13に出力する(S117)。Next, in the inspection template creation process S11, the inspection template creation device 12 first inputs multiple learning normal paper images read from the storage device 15 and stores them in memory (not shown) (S111). The learning normal paper images read here must be images that have been confirmed in advance to be free of defects on the substrate of the printed material, excluding the OVD and its surrounding area. Next, the inspection template creation device 12 reads the matching template image created by the matching template creation device 11 (S112). Next, for each of the multiple learning normal paper images input in S111, the inspection template creation device 12 uses the matching template image read in S112 to identify the OVD attachment position on the learning normal paper image by template matching (S113). Next, the test template creation device 12 calculates the luminance value of each pixel in the area of the learning normal paper image, excluding the OVD attachment position identified in S113, and adds the calculated luminance value of each pixel to the array in memory corresponding to each pixel in the learning normal paper image (S114). That is, the luminance values of pixels at the same position are added across multiple learning normal paper images. The processes of S113 and S114 are performed for the number of input learning normal paper images, j (j is an integer greater than or equal to 2). After repeating the process of identifying the OVD attachment position and the process of adding luminance values for the number of input learning normal paper images, the test template creation device 12 calculates the average luminance value of each pixel by dividing the luminance value of each pixel stored in the array in memory by the number of input learning normal paper images (S115). However, typically, the number of learning normal paper images (input number) to be added varies for each pixel. Therefore, it should be noted that the divisor also varies for each pixel. Thereafter, the inspection template creation device 12 overwrites each pixel of the inspection template image with the average brightness value of each pixel stored in the array on the memory (S116), and outputs the inspection template image to the defect detection device 13 (S117).
続いて、検査処理S12では、まず、欠陥検出装置13は、画像入力装置14から入力された検査対象画像をメモリ上に展開する(S121)。次に、欠陥検出装置13は、マッチング用テンプレート作成装置11により作成されたマッチング用テンプレート画像を読み込む(S122)。次に、欠陥検出装置13は、S122で読み込まれたマッチングテンプレート画像を用いて、検査対象画像に貼付されたOVDの貼付位置を、テンプレートマッチングによって特定する(S123)。 Next, in the inspection process S12, the defect detection device 13 first expands the inspection target image input from the image input device 14 in memory (S121). Next, the defect detection device 13 reads the matching template image created by the matching template creation device 11 (S122). Next, the defect detection device 13 uses the matching template image read in S122 to identify the attachment position of the OVD attached to the inspection target image by template matching (S123).
ここで、テンプレートマッチングのマッチングスコアがあらかじめ設定された基準画像に対するマッチングスコアの95%未満であった場合、欠陥検出装置13は、以降の処理を行わない。マッチングスコアが低い理由として、OVDが印刷物上に貼付されていない、貼付されたOVDの一部が欠けている、通常起こりうるOVDの位置ずれ量を超えて位置ずれしている、などが考えられ、これらの事象はいずれもOVDそのものの欠陥に起因するものである。OVDそのものに欠陥が生じている検査対象画像は、本実施の形態1における検査の対象外となる。なお、上記のマッチングスコアの95%という数値は、一例であって、この数値に限定されないことに注意する必要がある。 Here, if the matching score for template matching is less than 95% of the matching score for a preset reference image, the defect detection device 13 will not perform further processing. Possible reasons for a low matching score include the OVD not being affixed to the printed material, a portion of the affixed OVD being missing, or the OVD being misaligned beyond the amount of misalignment that would normally occur, all of which are caused by defects in the OVD itself. Inspection target images with defects in the OVD itself are not subject to inspection in this embodiment 1. It should be noted that the above matching score of 95% is an example and is not limited to this value.
次に、欠陥検出装置13は、S123で特定されたOVDの貼付位置上にマスクを配置し、マスクを配置した領域を検査対象外領域として設定する(S124)。次に、欠陥検出装置13は、検査用テンプレート作成装置12により作成された検査用テンプレート画像を読み込み(S125)、S124でマスクが配置された検査対象画像と検査用テンプレート画像との差分画像を算出する(S126)。検査対象画像に欠陥が存在する場合、欠陥のみが差分画像に現れる。そのため、欠陥検出装置13は、不感帯領域を含めた差分画像上を検査する(S127)。差分画像上であらかじめ定められた形状や大きさを超える差分が検出された領域がある場合には、その領域が欠陥候補となる。Next, the defect detection device 13 places a mask over the OVD attachment position identified in S123 and sets the area where the mask is placed as an area not to be inspected (S124). Next, the defect detection device 13 reads the inspection template image created by the inspection template creation device 12 (S125) and calculates a difference image between the inspection target image on which the mask is placed in S124 and the inspection template image (S126). If a defect exists in the inspection target image, only the defect will appear in the difference image. Therefore, the defect detection device 13 inspects the difference image, including the dead zone area (S127). If an area in the difference image is detected where a difference exceeding a predetermined shape or size is detected, that area becomes a defect candidate.
上述したように本実施の形態1によれば、マッチング用テンプレート作成装置11は、OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成する。欠陥検出装置13は、マッチング用テンプレート画像を用いて、検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた検査対象画像と検査用テンプレート画像との差分画像に基づいて、検査対象画像における欠陥を検出する。As described above, according to the first embodiment, the matching template creation device 11 creates a matching template image for identifying the OVD attachment position through template matching. The defect detection device 13 uses the matching template image to identify the OVD attachment position in the inspection target image, masks the identified OVD attachment position, and detects defects in the inspection target image based on a difference image between the inspection target image in which the OVD attachment position has been masked and the inspection template image.
このように、本実施の形態1では、欠陥検出装置13は、マッチング用テンプレート画像を用いて、検査対象画像におけるOVDの貼付位置を特定できる。そのため、OVDに限定してマスクすることが可能となるため、OVDの位置ずれを考慮した広範囲のマスクが不要となる。その結果、関連技術に係るマスク領域のうちの不感帯領域についても検査することが可能となる。 In this way, in this embodiment 1, the defect detection device 13 can identify the OVD attachment position in the inspection target image using a matching template image. Therefore, it is possible to limit the masking to the OVD, eliminating the need for a wide-area mask that takes into account OVD misalignment. As a result, it is possible to inspect even the dead zone areas of the mask areas used in related technologies.
なお、マッチング用テンプレート作成装置11は、複数枚の学習用OVD画像における各画素の輝度値分散を算出し、他の領域と比較して相対的に輝度値分散が小さい領域の画像を、マッチング用テンプレート画像として作成する。 The matching template creation device 11 calculates the brightness value variance of each pixel in multiple learning OVD images, and creates an image of an area with a relatively small brightness value variance compared to other areas as a matching template image.
また、本実施の形態1では、検査用テンプレート作成装置12は、複数枚の学習用正常紙画像の各々について、マッチング用テンプレート画像を用いて、OVDの貼付位置を特定し、複数枚の学習用正常紙画像におけるOVDの貼付位置以外の領域の各画素の輝度値平均を算出し、検査用テンプレート画像における各画素に、算出された各画素の輝度値平均を上書きすることで、検査用テンプレート画像を作成する。 In addition, in this embodiment 1, the inspection template creation device 12 uses a matching template image to identify the OVD attachment position for each of the multiple learning normal paper images, calculates the average brightness value of each pixel in areas other than the OVD attachment position in the multiple learning normal paper images, and creates an inspection template image by overwriting each pixel in the inspection template image with the calculated average brightness value of each pixel.
このように、本実施の形態1では、検査用テンプレート作成装置12は、マッチング用テンプレート画像を用いて複数枚の学習用正常紙画像の各々におけるOVDの貼付位置を特定できる。そのため、関連技術に係るマスク領域のうちの不感帯領域の画素を、検査用テンプレート画像に加算することができる。これにより、欠陥検出装置13による検査に使用可能な検査用テンプレート画像を作成することが可能となる。 In this way, in this embodiment 1, the inspection template creation device 12 can identify the OVD attachment position in each of multiple learning normal paper images using the matching template image. Therefore, pixels in the dead zone area of the mask area related to the related technology can be added to the inspection template image. This makes it possible to create an inspection template image that can be used for inspection by the defect detection device 13.
<実施の形態2>
続いて、図11を参照して、本実施の形態2に係る印刷物検査装置20の構成例について説明する。本実施の形態2は、上述した実施の形態1を上位概念化した実施の形態に相当する。
<Second Embodiment>
Next, a configuration example of a print inspection device 20 according to a second embodiment will be described with reference to Fig. 11. The second embodiment corresponds to an embodiment that is a higher-level concept of the first embodiment described above.
図11に示されるように、本実施の形態2に係る印刷物検査装置20は、マッチング用テンプレート作成部21と、欠陥検出部22と、を備える。本実施の形態2に係る印刷物検査装置20は、OVDが貼付された印刷物を検査する装置である。 As shown in Figure 11, the print inspection device 20 according to the second embodiment includes a matching template creation unit 21 and a defect detection unit 22. The print inspection device 20 according to the second embodiment is a device that inspects prints to which an OVD is attached.
マッチング用テンプレート作成部21は、OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成する。
欠陥検出部22は、マッチング用テンプレート画像を用いて、検査対象の印刷物を撮影して得られた検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた検査対象画像と検査用テンプレート画像との差分画像に基づいて、検査対象画像における欠陥を検出する。
The matching template creating unit 21 creates a matching template image for identifying the OVD attachment position by template matching.
The defect detection unit 22 uses a matching template image to identify the OVD attachment position in the inspection target image obtained by photographing the printed matter to be inspected, masks the identified OVD attachment position, and detects defects in the inspection target image based on the difference image between the inspection target image in which the OVD attachment position has been masked and the inspection template image.
これによれば、欠陥検出部22は、マッチング用テンプレート画像を用いて、検査対象画像におけるOVDの貼付位置を特定できる。そのため、OVDに限定してマスクすることが可能となるため、OVDの位置ずれを考慮した広範囲のマスクが不要となる。その結果、関連技術に係るマスク領域のうちの不感帯領域についても検査することが可能となる。 This allows the defect detection unit 22 to identify the OVD attachment position in the inspection target image using a matching template image. Therefore, masking can be limited to the OVD, eliminating the need for a wide-area mask that takes into account OVD misalignment. As a result, it becomes possible to inspect even the dead zone areas of the masked areas used in related technologies.
なお、マッチング用テンプレート作成部21は、複数枚の学習用OVD画像の各々について、その学習用OVD画像における各画素の輝度値を算出し、複数枚の学習用OVD画像の各々における各画素の輝度値に基づいて、それら各画素の輝度値分散を算出し、他の領域と比較して相対的に輝度値分散が小さい領域を抽出し、抽出された領域の画像を、マッチング用テンプレート画像として作成しても良い。また、複数枚の学習用OVD画像の各々は、OVD及びその周囲を含む領域が切り取られた画像であり、OVDの位置が複数枚の学習用OVD画像間で位置合わせされているものであっても良い。 The matching template creation unit 21 may calculate the brightness value of each pixel in each of the multiple training OVD images, calculate the brightness value variance of each pixel based on the brightness value of each pixel in each of the multiple training OVD images, extract an area with a relatively small brightness value variance compared to other areas, and create an image of the extracted area as a matching template image. Furthermore, each of the multiple training OVD images may be an image in which an area including the OVD and its surroundings has been cut out, and the position of the OVD may be aligned between the multiple training OVD images.
また、本実施の形態2に係る印刷物検査装置20は、検査用テンプレート画像を作成する検査用テンプレート作成部をさらに備えても良い。また、検査用テンプレート作成部は、複数枚の学習用正常紙画像の各々について、マッチング用テンプレート画像を用いて、その学習用正常紙画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置以外の領域の各画素の輝度値を算出し、複数枚の学習用正常紙画像の各々におけるOVDの貼付位置以外の領域の各画素の輝度値に基づいて、それら各画素の輝度値平均を算出し、検査用テンプレート画像における各画素に、算出された各画素の輝度値平均を上書きすることで、検査用テンプレート画像を作成しても良い。 The print inspection device 20 according to the second embodiment may further include an inspection template creation unit that creates an inspection template image. The inspection template creation unit may use a matching template image to identify the OVD attachment position in each of the multiple learning normal paper images, calculate the luminance value of each pixel in the area other than the identified OVD attachment position, calculate the average luminance value of each pixel based on the luminance value of each pixel in the area other than the OVD attachment position in each of the multiple learning normal paper images, and create the inspection template image by overwriting each pixel in the inspection template image with the calculated average luminance value of each pixel.
これによれば、検査用テンプレート作成部は、マッチング用テンプレート画像を用いて複数枚の学習用正常紙画像の各々におけるOVDの貼付位置を特定できる。そのため、関連技術に係るマスク領域のうちの不感帯領域の画素を、検査用テンプレート画像に加算することができる。これにより、欠陥検出部22による検査に使用可能な検査用テンプレート画像を作成することが可能となる。
なお、複数枚の学習用正常紙画像の各々は、OVD及びその周囲以外の領域に欠陥が無いことが確認された画像であっても良い。
This allows the inspection template creation unit to identify the OVD attachment position in each of the multiple learning normal paper images using the matching template image. Therefore, pixels in the dead zone area of the mask area according to the related art can be added to the inspection template image. This makes it possible to create an inspection template image that can be used for inspection by the defect detection unit 22.
Each of the plurality of learning normal paper images may be an image that has been confirmed to have no defects in areas other than the OVD and its surroundings.
<実施の形態3>
続いて、図12を参照して、本実施の形態3に係る印刷物検査装置30のハードウェア構成例について説明する。
図12に示されるように、本実施の形態3に係る印刷物検査装置30は、プロセッサ31と、メモリ32と、を備える。
<Third Embodiment>
Next, an example of the hardware configuration of the print inspection device 30 according to the third embodiment will be described with reference to FIG.
As shown in FIG. 12 , a print inspection device 30 according to the third embodiment includes a processor 31 and a memory 32 .
プロセッサ31は、例えば、マイクロプロセッサ、MPU(Micro Processing Unit)、又はCPU(Central Processing Unit)であっても良い。プロセッサ31は、複数のプロセッサを含んでも良い。 Processor 31 may be, for example, a microprocessor, an MPU (Micro Processing Unit), or a CPU (Central Processing Unit). Processor 31 may include multiple processors.
メモリ32は、揮発性メモリ及び不揮発性メモリの組み合わせによって構成される。メモリ32は、プロセッサ31から離れて配置されたストレージを含んでも良い。この場合、プロセッサ31は、図示されていないI(Input)/O(Output)インタフェースを介してメモリ32にアクセスしても良い。 Memory 32 is composed of a combination of volatile memory and non-volatile memory. Memory 32 may also include storage located remotely from processor 31. In this case, processor 31 may access memory 32 via an I (Input)/O (Output) interface (not shown).
上述した実施の形態1,2に係る印刷物検査装置10,20は、図12に示されるハードウェア構成を有することができる。メモリ32には、プログラムが記憶される。このプログラムは、コンピュータに読み込まれた場合に、上述した実施の形態1,2で説明された1又はそれ以上の機能をコンピュータに行わせるための命令群(又はソフトウェアコード)を含む。上述した印刷物検査装置10,20における構成要素は、プロセッサ31がメモリ32に記憶されたプログラムを読み込んで実行することにより実現されても良い。また、上述した印刷物検査装置10,20における構成要素が備える記憶機能は、メモリ32により実現されても良い。 The printed matter inspection devices 10, 20 according to the first and second embodiments described above may have the hardware configuration shown in FIG. 12. A program is stored in the memory 32. This program includes a set of instructions (or software code) that, when loaded into a computer, causes the computer to perform one or more of the functions described in the first and second embodiments described above. The components of the printed matter inspection devices 10, 20 described above may be realized by the processor 31 reading and executing the program stored in the memory 32. Furthermore, the storage functions of the components of the printed matter inspection devices 10, 20 described above may be realized by the memory 32.
また、上述したプログラムは、非一時的なコンピュータ可読媒体又は実体のある記憶媒体に格納されても良い。限定ではなく例として、コンピュータ可読媒体又は実体のある記憶媒体は、random-access memory(RAM)、read-only memory(ROM)、フラッシュメモリ、solid-state drive(SSD)又はその他のメモリ技術、CD-ROM、digital versatile disc(DVD)、Blu-ray(登録商標)ディスク又はその他の光ディスクストレージ、磁気カセット、磁気テープ、磁気ディスクストレージ又はその他の磁気ストレージデバイスを含む。プログラムは、一時的なコンピュータ可読媒体又は通信媒体上で送信されても良い。限定ではなく例として、一時的なコンピュータ可読媒体又は通信媒体は、電気的、光学的、音響的、又はその他の形式の伝搬信号を含む。 The above-described programs may also be stored on non-transitory computer-readable media or tangible storage media. By way of example and not limitation, computer-readable media or tangible storage media include random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray® disc or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage devices. The programs may also be transmitted on transitory computer-readable media or communication media. By way of example and not limitation, transitory computer-readable media or communication media include electrical, optical, acoustic, or other forms of propagated signals.
以上、実施形態を参照して本開示を説明したが、本開示は上述した実施形態に限定されるものではない。本開示の構成や詳細には、本開示のスコープ内で当業者が理解し得る様々な変更をすることができる。 The present disclosure has been described above with reference to the embodiments, but the present disclosure is not limited to the above-described embodiments. Various modifications that would be understood by a person skilled in the art can be made to the configuration and details of the present disclosure within the scope of the present disclosure.
10 印刷物検査装置
11 マッチング用テンプレート作成装置
111 演算部
112 画像出力部
12 検査用テンプレート作成装置
121 OVD位置検出部
122 演算部
123 画像出力部
13 欠陥検出装置
131 OVD位置検出部
132 OVDマスク設定部
133 欠陥差分演算部
134 判定部
14 画像入力装置
141 撮像部
142 画像出力部
15 記憶装置
20 印刷物検査装置
21 マッチング用テンプレート作成部
22 欠陥検出部
30 印刷物検査装置
31 プロセッサ
32 メモリ
REFERENCE SIGNS LIST 10 Printed matter inspection device 11 Matching template creation device 111 Calculation unit 112 Image output unit 12 Inspection template creation device 121 OVD position detection unit 122 Calculation unit 123 Image output unit 13 Defect detection device 131 OVD position detection unit 132 OVD mask setting unit 133 Defect difference calculation unit 134 Determination unit 14 Image input device 141 Imaging unit 142 Image output unit 15 Storage device 20 Printed matter inspection device 21 Matching template creation unit 22 Defect detection unit 30 Printed matter inspection device 31 Processor 32 Memory
Claims (6)
OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成するマッチング用テンプレート作成部と、
前記マッチング用テンプレート画像を用いて、前記印刷物を撮影して得られた検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた前記検査対象画像と検査用テンプレート画像との差分画像に基づいて、前記検査対象画像における欠陥を検出する欠陥検出部と、
を備え、
前記マッチング用テンプレート作成部は、
複数枚の学習用OVD画像の各々について、当該学習用OVD画像における共通する各画素の輝度値を算出し、
前記複数枚の学習用OVD画像の各々における共通する各画素の輝度値に基づいて、当該各画素の輝度値分散を算出し、
他の領域と比較して相対的に輝度値分散が小さい領域を抽出し、
抽出された領域の画像を、前記マッチング用テンプレート画像として作成する、
印刷物検査装置。 A print inspection device that inspects a print to which an OVD (Optical Variable Device) is attached,
a matching template creation unit that creates a matching template image for identifying the attachment position of the OVD by template matching;
a defect detection unit that uses the matching template image to identify an OVD attachment position in an inspection object image obtained by photographing the printed matter, masks the identified OVD attachment position, and detects defects in the inspection object image based on a difference image between the inspection object image in which the OVD attachment position has been masked and the inspection template image;
Equipped with
The matching template creation unit
For each of the plurality of learning OVD images, a luminance value of each common pixel in the learning OVD image is calculated;
calculating a variance of brightness values of each pixel based on brightness values of the pixels common to each of the plurality of learning OVD images;
Extracting areas with relatively small variance of brightness values compared to other areas,
creating an image of the extracted region as the matching template image;
Print inspection equipment.
請求項1に記載の印刷物検査装置。 Each of the plurality of training OVD images is an image obtained by cutting out an area including the OVD and its surroundings, and the positions of the OVDs are aligned among the plurality of training OVD images.
The print inspection device according to claim 1 .
前記検査用テンプレート作成部は、
複数枚の学習用正常紙画像の各々について、前記マッチング用テンプレート画像を用いて、当該学習用正常紙画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置以外の領域の各画素の輝度値を算出し、
前記複数枚の学習用正常紙画像の各々におけるOVDの貼付位置以外の領域の各画素の輝度値に基づいて、当該各画素の輝度値平均を算出し、
前記検査用テンプレート画像における各画素に、算出された各画素の輝度値平均を上書きすることで、前記検査用テンプレート画像を作成する、
請求項1又は2に記載の印刷物検査装置。 an inspection template creation unit that creates the inspection template image,
The inspection template creation unit
For each of a plurality of learning normal paper images, the matching template image is used to identify an OVD attachment position in the learning normal paper image, and a luminance value of each pixel in an area other than the identified OVD attachment position is calculated;
calculating an average brightness value of each pixel based on the brightness value of each pixel in an area other than the OVD attachment position in each of the plurality of learning normal paper images;
creating the inspection template image by overwriting each pixel in the inspection template image with the calculated average luminance value of each pixel;
The print inspection device according to claim 1 or 2 .
請求項3に記載の印刷物検査装置。 Each of the plurality of learning normal paper images is an image that has been confirmed to have no defects in areas other than the OVD and its surroundings.
The print inspection device according to claim 3 .
OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成するマッチング用テンプレート作成ステップと、
前記マッチング用テンプレート画像を用いて、前記印刷物を撮影して得られた検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた前記検査対象画像と検査用テンプレート画像との差分画像に基づいて、前記検査対象画像における欠陥を検出する欠陥検出ステップと、
を含み、
前記マッチング用テンプレート作成ステップでは、
複数枚の学習用OVD画像の各々について、当該学習用OVD画像における共通する各画素の輝度値を算出し、
前記複数枚の学習用OVD画像の各々における共通する各画素の輝度値に基づいて、当該各画素の輝度値分散を算出し、
他の領域と比較して相対的に輝度値分散が小さい領域を抽出し、
抽出された領域の画像を、前記マッチング用テンプレート画像として作成する、
印刷物検査方法。 A print inspection method performed by a print inspection device that inspects a print to which an OVD (Optical Variable Device) is attached, comprising:
a matching template creation step of creating a matching template image for identifying the attachment position of the OVD by template matching;
a defect detection step of using the matching template image to identify an OVD attachment position in an inspection object image obtained by photographing the printed matter, masking the identified OVD attachment position, and detecting defects in the inspection object image based on a difference image between the inspection object image in which the OVD attachment position has been masked and the inspection template image;
Including,
In the matching template creation step,
For each of the plurality of learning OVD images, a luminance value of each common pixel in the learning OVD image is calculated;
calculating a variance of brightness values of each pixel based on brightness values of the pixels common to each of the plurality of learning OVD images;
Extracting areas with relatively small variance of brightness values compared to other areas,
creating an image of the extracted region as the matching template image;
Print inspection methods.
OVDの貼付位置をテンプレートマッチングにより特定するためのマッチング用テンプレート画像を作成するマッチング用テンプレート作成ステップと、
前記マッチング用テンプレート画像を用いて、前記印刷物を撮影して得られた検査対象画像におけるOVDの貼付位置を特定し、特定されたOVDの貼付位置をマスクし、OVDの貼付位置がマスクされた前記検査対象画像と検査用テンプレート画像との差分画像に基づいて、前記検査対象画像における欠陥を検出する欠陥検出ステップと、
を含み、
前記マッチング用テンプレート作成ステップでは、
複数枚の学習用OVD画像の各々について、当該学習用OVD画像における共通する各画素の輝度値を算出し、
前記複数枚の学習用OVD画像の各々における共通する各画素の輝度値に基づいて、当該各画素の輝度値分散を算出し、
他の領域と比較して相対的に輝度値分散が小さい領域を抽出し、
抽出された領域の画像を、前記マッチング用テンプレート画像として作成する、
プログラム。 A program to be executed by a print inspection device that inspects a print to which an OVD (Optical Variable Device) is attached,
a matching template creation step of creating a matching template image for identifying the attachment position of the OVD by template matching;
a defect detection step of using the matching template image to identify an OVD attachment position in an inspection object image obtained by photographing the printed matter, masking the identified OVD attachment position, and detecting defects in the inspection object image based on a difference image between the inspection object image in which the OVD attachment position has been masked and the inspection template image;
Including,
In the matching template creation step,
For each of the plurality of learning OVD images, a luminance value of each common pixel in the learning OVD image is calculated;
calculating a variance of brightness values of each pixel based on brightness values of the pixels common to each of the plurality of learning OVD images;
Extracting areas with relatively small variance of brightness values compared to other areas,
creating an image of the extracted region as the matching template image;
program.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2021/048855 WO2023127119A1 (en) | 2021-12-28 | 2021-12-28 | Printed matter inspection device, printed matter inspection method, and computer-readable medium |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JPWO2023127119A1 JPWO2023127119A1 (en) | 2023-07-06 |
| JPWO2023127119A5 JPWO2023127119A5 (en) | 2024-08-27 |
| JP7772092B2 true JP7772092B2 (en) | 2025-11-18 |
Family
ID=86998395
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023570597A Active JP7772092B2 (en) | 2021-12-28 | 2021-12-28 | Printed matter inspection device, printed matter inspection method, and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7772092B2 (en) |
| WO (1) | WO2023127119A1 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000187008A (en) | 1998-12-24 | 2000-07-04 | Dainippon Printing Co Ltd | Inspection device |
| JP2002195958A (en) | 2000-12-26 | 2002-07-10 | Yamatake Corp | Surface inspection method |
| JP2004341801A (en) | 2003-05-15 | 2004-12-02 | Nissan Motor Co Ltd | Tracking vehicle lamp detection system and tracking vehicle lamp detection method |
| JP2008139125A (en) | 2006-11-30 | 2008-06-19 | Nippon Hoso Kyokai <Nhk> | Hologram data area specifying device and hologram data area specifying program |
| WO2020208116A1 (en) | 2019-04-08 | 2020-10-15 | Andrew Bud | Document authentication by determination of surface appearance using controlled illumination |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2951037B2 (en) * | 1991-05-31 | 1999-09-20 | 大日本印刷株式会社 | Inspection method and apparatus for printed matter |
| US5987159A (en) * | 1996-09-24 | 1999-11-16 | Cognex Corporation | System or method for detecting defect within a semi-opaque enclosure |
| JP2005106477A (en) * | 2003-09-26 | 2005-04-21 | Matsushita Electric Ind Co Ltd | Solder ball detection method and apparatus |
| DE102016004353A1 (en) * | 2016-04-11 | 2017-10-12 | Giesecke & Devrient Gmbh | Device and method for checking value documents, in particular banknotes, as well as value document processing system |
-
2021
- 2021-12-28 WO PCT/JP2021/048855 patent/WO2023127119A1/en not_active Ceased
- 2021-12-28 JP JP2023570597A patent/JP7772092B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000187008A (en) | 1998-12-24 | 2000-07-04 | Dainippon Printing Co Ltd | Inspection device |
| JP2002195958A (en) | 2000-12-26 | 2002-07-10 | Yamatake Corp | Surface inspection method |
| JP2004341801A (en) | 2003-05-15 | 2004-12-02 | Nissan Motor Co Ltd | Tracking vehicle lamp detection system and tracking vehicle lamp detection method |
| JP2008139125A (en) | 2006-11-30 | 2008-06-19 | Nippon Hoso Kyokai <Nhk> | Hologram data area specifying device and hologram data area specifying program |
| WO2020208116A1 (en) | 2019-04-08 | 2020-10-15 | Andrew Bud | Document authentication by determination of surface appearance using controlled illumination |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2023127119A1 (en) | 2023-07-06 |
| WO2023127119A1 (en) | 2023-07-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2005293264A (en) | Learning type sorting apparatus and learning type sorting method | |
| CN114078109B (en) | Image processing method, electronic device and storage medium | |
| JP7658119B2 (en) | Support device and method | |
| JP2023070747A5 (en) | ||
| JP5198397B2 (en) | Photomask characteristic detection apparatus and photomask characteristic detection method | |
| WO2014103617A1 (en) | Alignment device, defect inspection device, alignment method, and control program | |
| JP5061543B2 (en) | Printed matter inspection device, printed matter inspection method | |
| JP7772092B2 (en) | Printed matter inspection device, printed matter inspection method, and program | |
| JP2019045451A (en) | Inspection apparatus, inspection method and program | |
| CN119213285A (en) | Calibration component, energy measurement device, energy measurement method and energy measurement procedure | |
| US11513082B2 (en) | Foreign substance inspection apparatus and foreign substance inspection method | |
| JP4507523B2 (en) | Printed matter inspection apparatus and printed matter inspection program | |
| KR20210033907A (en) | Mark position determination method, lithography method, method of manufacturing article, program, and lithography apparatus | |
| JP2018028636A (en) | Mask inspection method | |
| JP6755696B2 (en) | PTP sheet inspection device, PTP sheet inspection method | |
| JP2024072208A5 (en) | ||
| JP2006293522A (en) | Straight line detection device, straight line detection method, and program for the same | |
| JP2011081294A (en) | Correction projection foreign matter determination method of color filter substrate, and projection foreign matter correcting device | |
| JP2000258349A (en) | Photomask appearance inspection device | |
| TWI717508B (en) | System, method and computer program product for detecting defects in a fabricated target component using consistent modulation for the target and reference components | |
| TWI766127B (en) | Method for optimizing focal parameters of lithographic process | |
| JP2010149289A (en) | Printed matter inspecting apparatus and printed matter inspecting method | |
| JPH08304933A (en) | Image size identifying device and means | |
| JP2017090346A (en) | Appearance inspection apparatus, appearance inspection method, and inspection program | |
| JP2022076240A5 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240613 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240613 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250415 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250610 |
|
| 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: 20251007 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251020 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7772092 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |