JP7413917B2 - Image inspection device - Google Patents

Image inspection device Download PDF

Info

Publication number
JP7413917B2
JP7413917B2 JP2020082347A JP2020082347A JP7413917B2 JP 7413917 B2 JP7413917 B2 JP 7413917B2 JP 2020082347 A JP2020082347 A JP 2020082347A JP 2020082347 A JP2020082347 A JP 2020082347A JP 7413917 B2 JP7413917 B2 JP 7413917B2
Authority
JP
Japan
Prior art keywords
image
resolution
reference image
alignment
inspection apparatus
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
Application number
JP2020082347A
Other languages
Japanese (ja)
Other versions
JP2021177140A (en
Inventor
靖久 津江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2020082347A priority Critical patent/JP7413917B2/en
Publication of JP2021177140A publication Critical patent/JP2021177140A/en
Application granted granted Critical
Publication of JP7413917B2 publication Critical patent/JP7413917B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本開示は、画像形成装置で紙面に形成された画像を検査する画像検査装置、及び画像検査を実行するプログラムに関する。 The present disclosure relates to an image inspection apparatus that inspects an image formed on a paper surface by an image forming apparatus, and a program that executes the image inspection.

従来、画像形成装置で紙面上に形成された画像を光学的に読み取って、画像の形成が正しく行われたか否かを検査する画像検査装置が実用化されている。画像検査装置で画像を検査することで、例えば画像の部分的な汚れを検知することができる。 2. Description of the Related Art Conventionally, image inspection apparatuses have been put into practical use that optically read an image formed on a paper surface by an image forming apparatus and inspect whether the image has been formed correctly. By inspecting an image with an image inspection device, it is possible to detect, for example, partial stains on the image.

画像検査装置で検査する際には、元画像と、用紙などに形成された検査対象の画像との位置ずれを修正して、2つの画像の位置合わせを正確に行う必要がある。 When inspecting with an image inspection apparatus, it is necessary to correct the positional deviation between the original image and the image to be inspected formed on paper or the like to accurately align the two images.

2つの画像の位置ずれは、用紙に印字するときと、その印字された用紙上の画像をスキャンするときに発生する。 Misalignment between the two images occurs when printing on paper and when scanning the printed image on the paper.

印字時には、画像の書き込み開始位置、用紙の傾き、及び定着時の用紙の収縮を原因として、画像のシフト、回転、又は倍率による位置ずれが起きる。スキャン時には、画像の読み込み開始位置、用紙の傾き、及びスキャン速度の変動を原因として、画像のシフト、回転、又は倍率による位置ずれが起きる。 During printing, positional deviations due to image shift, rotation, or magnification occur due to the image writing start position, the inclination of the paper, and the shrinkage of the paper during fixing. During scanning, positional deviations due to image shift, rotation, or magnification occur due to variations in the image reading start position, paper inclination, and scan speed.

これらの要因の中で、定着時の用紙の収縮やスキャン速度の変動は、装置の機種や用紙の種類によって変動が大きい。したがって、同じ装置でスキャンされた2枚の画像データ同士を比較する場合には殆ど問題にならないが、印字前の元の画像データと、用紙に印字された画像をスキャンした画像データとを比較する場合には、比較的大きな位置ずれが発生する可能性があった。 Among these factors, shrinkage of paper during fixing and fluctuations in scanning speed vary greatly depending on the device model and paper type. Therefore, there is almost no problem when comparing image data of two sheets scanned by the same device, but when comparing the original image data before printing and the image data obtained by scanning the image printed on paper. In some cases, a relatively large positional shift could occur.

この点で、特にエッジ領域など濃度が急激に変化する部分においては、画素値のバラつきが大きくなってしまう可能性がある。 In this respect, there is a possibility that variations in pixel values will become large, especially in areas where the density changes rapidly, such as in edge areas.

そのため、特開2018-155736号公報では、元画像からエッジ領域を抽出して、抽出されたエッジ領域の閾値を緩和して当該領域で誤検知しないようにしている。 Therefore, in Japanese Patent Laid-Open No. 2018-155736, an edge region is extracted from the original image, and the threshold value of the extracted edge region is relaxed to prevent false detection in the region.

しかし、エッジ領域の閾値を緩和するとしても、想定されるずれ量が大きいとそれだけエッジ領域を広げて誤検知しないようにする必要がある。想定されるずれ量が大きいと、その分検査できない領域が増えてしまう可能性がある。 However, even if the threshold value for the edge region is relaxed, if the expected amount of deviation is large, it is necessary to widen the edge region accordingly to prevent false detection. If the expected amount of deviation is large, there is a possibility that the area that cannot be inspected will increase accordingly.

特に、バリアブル印刷(帳票など)、文字の多いものを検査しようとしたとき、エッジ領域が広いと実際に検査できる領域が限られてしまう。そのため、ずれ量を小さくするために高解像度で位置合わせを実施したり、歪みなどの非線形なずれに対応ために画像を分割して、分割した領域ごとに位置合わせしたりする必要がある。 In particular, when attempting to inspect variable printing (such as forms) or items with many characters, if the edge area is wide, the area that can actually be inspected is limited. Therefore, in order to reduce the amount of deviation, it is necessary to perform alignment at high resolution, or to cope with nonlinear deviations such as distortion, it is necessary to divide the image and perform alignment for each divided area.

特開2013-123812号公報では、エッジ領域では位置合わせ精度が低いと誤検知してしまうのでエッジが存在するかどうか判断して、エッジが存在すると判定された場合に高精度の位置合わせを行う方式が提案されている。この点で、高精度の位置合わせを行う領域は高解像度化して位置ずれ量を求めて位置合わせする。当該公報では、領域を限定しているが、位置合わせの解像度を上げたり、位置合わせする領域を分割したりすると、演算コストがかかり、リアルタイムに処理することが難しくなる。さらに、エッジばかりの画像のときは全面を高解像度で位置合わせする必要があり、リアルタイムに処理することが難しい。 In Japanese Patent Application Laid-Open No. 2013-123812, since alignment accuracy is falsely detected in edge areas as low, it is determined whether an edge exists, and if it is determined that an edge exists, high-precision alignment is performed. A method has been proposed. In this respect, the area for which highly accurate positioning is to be performed is performed with high resolution, and the amount of positional deviation is determined and positioning is performed. Although the area is limited in this publication, increasing the alignment resolution or dividing the area to be aligned increases calculation costs and makes real-time processing difficult. Furthermore, when an image has only edges, it is necessary to align the entire surface at high resolution, making it difficult to process in real time.

特開2018-155736号公報Japanese Patent Application Publication No. 2018-155736 特開2013-123812号公報Japanese Patent Application Publication No. 2013-123812

本開示は、上記の課題を解決するためになされたものであって、簡易な方式で精度の高い位置合わせが可能な画像検査装置を提供することを目的とする。 The present disclosure has been made to solve the above problems, and an object of the present disclosure is to provide an image inspection apparatus that can perform highly accurate positioning using a simple method.

ある局面に従う画像検査装置は、印刷物を読み取った読取画像を取得する画像取得部と、印刷物の検査基準となる基準画像を取得する基準画像取得部と、第1解像度の読取画像と基準画像とを探索範囲内でずらし、ずらした状態の読取画像と基準画像との類似度に基づいて、第1解像度の読取画像と基準画像との第1位置ずれ量を算出し、算出結果に基づいて第1解像度よりも高解像度の第2解像度の読取画像と基準画像との第2位置ずれ量を算出する位置合わせ算出部と、算出した第2位置ずれ量に基づいて、第1解像度から第2解像度に変換後の読取画像と基準画像との位置合わせをする位置合わせ補正部と、位置合わせ部による位置合わせ後に第1解像度の読取画像と基準画像との差分画像に基づいて検査する差分検査部とを備える。 An image inspection apparatus according to one aspect includes an image acquisition unit that acquires a read image obtained by reading a printed matter, a reference image acquisition unit that acquires a reference image that serves as an inspection reference for the printed matter, and a read image of a first resolution and a reference image. A first positional deviation amount between the read image of the first resolution and the reference image is calculated based on the degree of similarity between the read image in the shifted state and the reference image, and the first positional deviation amount is calculated based on the calculation result. an alignment calculation unit that calculates a second positional deviation amount between a read image of a second resolution higher than the reference image and a reference image; an alignment correction section that aligns the read image after conversion and the reference image; and a difference inspection section that inspects based on a difference image between the read image of the first resolution and the reference image after alignment by the alignment section. Be prepared.

好ましくは、位置合わせ算出部は、読取画像と基準画像との類似度のうちの最大の類似度とその周辺の類似度との差分値を算出し、算出結果に基づいて第2位置ずれ量を算出する。 Preferably, the alignment calculation unit calculates a difference value between the maximum similarity among the similarities between the read image and the reference image and the similarity around it, and calculates the second positional deviation amount based on the calculation result. calculate.

好ましくは、位置合わせ算出部は、差分値と比較する複数の閾値を有し、差分値と複数の閾値のうちの1つの閾値との比較結果に基づいて第1位置ずれ量をそのまま利用する。 Preferably, the alignment calculation unit has a plurality of threshold values to which the difference value is compared, and uses the first positional deviation amount as is based on a comparison result between the difference value and one of the plurality of threshold values.

好ましくは、位置合わせ補正部は、読取画像あるいは基準画像の一方をずらして位置合わせする。 Preferably, the alignment correction section shifts and aligns either the read image or the reference image.

好ましくは、位置合わせ算出部は、バイリニア補間、またはバイキュービック補間により第1解像度から第2解像度に変換する。 Preferably, the alignment calculation unit converts the first resolution to the second resolution by bilinear interpolation or bicubic interpolation.

好ましくは、位置合わせ算出部は、第1解像度の読取画像と基準画像との全体の位置合わせをし、全体の位置合わせ後の全体の読取画像および基準画像を複数の領域にそれぞれ分割し、分割された領域毎に、第1解像度の読取画像と基準画像とを探索範囲内でずらし、ずらした状態の読取画像と基準画像との類似度に基づいて、第1解像度の読取画像と基準画像との第1位置ずれ量を算出し、算出結果に基づいて第1解像度よりも高解像度の第2解像度の読取画像と基準画像との第2位置ずれ量を算出する。 Preferably, the alignment calculation unit performs overall alignment of the read image of the first resolution and the reference image, divides the entire read image and the reference image after the overall alignment into a plurality of regions, and divides the read image and the reference image. For each region, the read image of the first resolution and the reference image are shifted within the search range, and the read image of the first resolution and the reference image are determined based on the similarity between the shifted read image and the reference image. A first positional deviation amount is calculated, and a second positional deviation amount between the reference image and a read image of a second resolution higher than the first resolution is calculated based on the calculation result.

好ましくは、基準画像から濃度変動の大きい領域を抽出したエッジ領域を生成するエッジ領域生成部をさらに備える。 Preferably, the image forming apparatus further includes an edge region generation unit that generates an edge region by extracting a region with large density variation from the reference image.

好ましくは、検査部は、エッジ領域において閾値を調整する。
好ましくは、エッジ領域生成部は、読取画像の歪み量に基づいて、エッジ領域の幅を調整する。
Preferably, the inspection unit adjusts the threshold value in the edge region.
Preferably, the edge region generation unit adjusts the width of the edge region based on the amount of distortion of the read image.

この発明の上記および他の目的、特徴、局面および利点は、添付の図面と関連して理解されるこの発明に関する次の詳細な説明から明らかとなるであろう。 These and other objects, features, aspects and advantages of the present invention will become apparent from the following detailed description of the invention, taken in conjunction with the accompanying drawings.

実施形態1に従う画像検査装置1の外観を説明する図である。1 is a diagram illustrating the appearance of an image inspection apparatus 1 according to a first embodiment. FIG. 実施形態1に従う画像検査装置1の構成を説明する図である。1 is a diagram illustrating the configuration of an image inspection apparatus 1 according to a first embodiment. 実施形態1に従う画像検査装置1の主要なハードウェア構成を示すブロック図である。1 is a block diagram showing the main hardware configuration of an image inspection apparatus 1 according to a first embodiment. FIG. 比較例として従来の検査方式について説明する図である。FIG. 3 is a diagram illustrating a conventional inspection method as a comparative example. 実施形態1に従う分割領域毎の位置合わせの方式について説明する図である。FIG. 3 is a diagram illustrating a positioning method for each divided region according to the first embodiment. 実施形態1に従うZNCCの算出結果を説明する図である。FIG. 3 is a diagram illustrating a calculation result of ZNCC according to the first embodiment. 実施形態1に従うずれ量の方向の算出について説明する図である。FIG. 6 is a diagram illustrating calculation of the direction of the amount of deviation according to the first embodiment. 実施形態1に従うZNCCのずれ量のモデルを説明する図である。FIG. 3 is a diagram illustrating a model of ZNCC shift amount according to the first embodiment. 実施形態1に従うずらし量補間の概念図である。FIG. 3 is a conceptual diagram of shift amount interpolation according to the first embodiment. 実施形態1に従う画像検査装置の検査フローについて説明する図である。FIG. 2 is a diagram illustrating an inspection flow of the image inspection apparatus according to the first embodiment. 実施形態1に従うシミレーション例を説明する図である。FIG. 3 is a diagram illustrating a simulation example according to the first embodiment. 実施形態1に従うシミュレーション例として座標値に応じた輝度値を説明する図である。FIG. 3 is a diagram illustrating brightness values according to coordinate values as a simulation example according to the first embodiment. 実施形態1に従うシミュレーション例としてエッジ領域を有する画像の汚れの判定について説明する図である。FIG. 3 is a diagram illustrating determination of dirt in an image having an edge area as a simulation example according to the first embodiment. 実施形態1の変形例3に従うエッジ領域生成部9が生成するエッジ領域について説明する図である。7 is a diagram illustrating an edge region generated by an edge region generation unit 9 according to a third modification of the first embodiment. FIG. 実施形態2に従うエッジ量に応じたZNCCのモデルについて説明する図である。FIG. 7 is a diagram illustrating a ZNCC model according to the edge amount according to the second embodiment. 実施形態2に従う差分の平均値を算出する場合を説明する図である。FIG. 7 is a diagram illustrating a case where an average value of differences is calculated according to the second embodiment.

以下、図面を参照しつつ、本開示に係る技術思想の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。 Hereinafter, embodiments of the technical idea according to the present disclosure will be described with reference to the drawings. In the following description, the same parts are given the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions thereof will not be repeated.

以下の実施形態では、画像検査装置としては、たとえばMFP、プリンター、複写機、またはファクシミリなどが挙げられる。
(実施形態1)
[1.画像検査装置1の構成]
図1は、実施形態1に従う画像検査装置1の外観を説明する図である。図1を参照して、画像検査装置1は、カラープリンターとしての画像検査装置1が示されている。以下では、カラープリンターとしての画像検査装置1について説明するが、画像検査装置1は、カラープリンターに限定されない。たとえば、画像検査装置1は、モノクロプリンターであってもよいし、モノクロプリンターまたはカラープリンターとファクシミリとの複合機(所謂MFP(Multi Functional Peripheral))であってもよい。
In the following embodiments, the image inspection device includes, for example, an MFP, a printer, a copying machine, or a facsimile.
(Embodiment 1)
[1. Configuration of image inspection device 1]
FIG. 1 is a diagram illustrating the appearance of an image inspection apparatus 1 according to the first embodiment. Referring to FIG. 1, an image inspection apparatus 1 is shown as a color printer. Although the image inspection apparatus 1 as a color printer will be described below, the image inspection apparatus 1 is not limited to a color printer. For example, the image inspection apparatus 1 may be a monochrome printer, or a multifunction device (so-called MFP (Multi Functional Peripheral)) that includes a monochrome printer or a color printer and a facsimile.

画像検査装置1は、画像読取部としてのスキャナー20と、画像形成部としてのプリンター25とを備える。スキャナー20には、ADF(Auto Document Feeder)24が設けられている。プリンター25には、用紙を収納するトレイ37が設けられている。画像検査装置1は、画像検査装置1に関する各種の設定操作や情報を表示するための表示パネル105を備える。表示パネル105は、画像検査装置1の正面側に設けられている。 The image inspection apparatus 1 includes a scanner 20 as an image reading section and a printer 25 as an image forming section. The scanner 20 is provided with an ADF (Auto Document Feeder) 24. The printer 25 is provided with a tray 37 that stores paper. The image inspection apparatus 1 includes a display panel 105 for displaying various setting operations and information regarding the image inspection apparatus 1. The display panel 105 is provided on the front side of the image inspection apparatus 1.

図2は、実施形態1に従う画像検査装置1の構成を説明する図である。図2を参照して、画像検査装置1の上部には、スキャナー20が設けられている。スキャナー20は、カバー21と、用紙台22と、トレイ23と、ADF24とを含む。カバー21の一端は、用紙台22に固定されており、カバー21は、当該一端を支点として開閉可能に構成されている。操作者は、カバー21を開くことで、原稿を用紙台22にセットすることができる。画像検査装置1は、原稿が用紙台22にセットされた状態でスキャン指示を受け付けると、用紙台22にセットされた原稿のスキャンを開始する。また、画像検査装置1は、原稿がトレイ23にセットされた状態でスキャン指示を受け付けると、ADF24によって1枚ずつ自動的に原稿を読み取る。 FIG. 2 is a diagram illustrating the configuration of the image inspection apparatus 1 according to the first embodiment. Referring to FIG. 2, a scanner 20 is provided at the top of the image inspection apparatus 1. The scanner 20 includes a cover 21, a paper table 22, a tray 23, and an ADF 24. One end of the cover 21 is fixed to the paper table 22, and the cover 21 is configured to be openable and closable using the one end as a fulcrum. The operator can set the document on the paper table 22 by opening the cover 21. When the image inspection apparatus 1 receives a scan instruction with a document set on the paper table 22, it starts scanning the document set on the paper table 22. Further, when the image inspection apparatus 1 receives a scan instruction with documents set on the tray 23, the ADF 24 automatically reads the documents one by one.

プリンター25は、画像作成部90Y,90M,90C,90Kと、IDC(Image Density Control)センサー19と、転写ベルト30と、一次転写ローラー31と、転写駆動機32と、二次転写ローラー33と、トレイ37A~37Cと、従動ローラー38と、駆動ローラー39と、タイミングローラー40と、クリーニングユニット43と、定着器60と、読取装置2と、制御装置101とを備える。 The printer 25 includes image creation units 90Y, 90M, 90C, and 90K, an IDC (Image Density Control) sensor 19, a transfer belt 30, a primary transfer roller 31, a transfer drive device 32, a secondary transfer roller 33, It includes trays 37A to 37C, a driven roller 38, a driving roller 39, a timing roller 40, a cleaning unit 43, a fixing device 60, a reading device 2, and a control device 101.

画像作成部90Y,90M,90C,90Kは、転写ベルト30に沿って順に並べられている。画像作成部90Yは、トナーボトル15Yからトナーの供給を受けてイエロー(Y)のトナー像を形成する。画像作成部90Mは、トナーボトル15Mからトナーの供給を受けてマゼンタ(M)のトナー像を形成する。画像作成部90Cは、トナーボトル15Cからトナーの供給を受けてシアン(C)のトナー像を形成する。画像作成部90Kは、トナーボトル15Kからトナーの供給を受けてブラック(BK)のトナー像を形成する。画像作成部90Y,90M,90C,90Kは、それぞれ、転写ベルト30に沿って転写ベルト30の回転方向の順に配置されている。画像作成部90Y,90M,90C,90Kはそれぞれ、回転可能に構成されている感光体10と、帯電装置11と、露光装置13と、現像器14と、クリーニングユニット17と、トナーセンサー18とを備える。画像作成部90Y,90M,90C,90Kがそれぞれ、上述したように作動した後に、転写駆動機32の転写によって、イエロー(Y)のトナー像、マゼンタ(M)のトナー像、シアン(C)のトナー像、およびブラック(BK)のトナー像が順に重ねられて感光体10から転写ベルト30に転写される。これにより、カラーのトナー像が転写ベルト30上に形成される。 The image forming units 90Y, 90M, 90C, and 90K are arranged in order along the transfer belt 30. The image forming section 90Y receives toner from the toner bottle 15Y and forms a yellow (Y) toner image. The image forming section 90M receives toner from the toner bottle 15M and forms a magenta (M) toner image. The image forming section 90C receives toner from the toner bottle 15C and forms a cyan (C) toner image. The image forming section 90K receives toner from the toner bottle 15K and forms a black (BK) toner image. The image forming units 90Y, 90M, 90C, and 90K are arranged along the transfer belt 30 in the order of the rotation direction of the transfer belt 30, respectively. The image creation units 90Y, 90M, 90C, and 90K each include a rotatable photoreceptor 10, a charging device 11, an exposure device 13, a developing device 14, a cleaning unit 17, and a toner sensor 18. Be prepared. After the image forming units 90Y, 90M, 90C, and 90K operate as described above, the transfer drive unit 32 transfers a yellow (Y) toner image, a magenta (M) toner image, and a cyan (C) toner image. The toner image and the black (BK) toner image are transferred from the photoreceptor 10 to the transfer belt 30 in a superimposed manner. As a result, a color toner image is formed on the transfer belt 30.

IDCセンサー19は、転写ベルト30上に形成されるトナー像の濃度を検知する。典型的には、IDCセンサー19は、反射型フォトセンサーからなる光強度センサーであり、転写ベルト30の表面からの反射光強度を検知する。転写ベルト30は、従動ローラー38と駆動ローラー39とに張架されている。駆動ローラー39はモーター(図示しない)に接続されている。当該モーターを制御することにより、駆動ローラー39は回転する。転写ベルト30および従動ローラー38は、駆動ローラー39に連動して回転する。これにより、転写ベルト30上のトナー像が二次転写ローラー33に送られる。トレイ37A~37Cのそれぞれには、異なる大きさの用紙がセットされる。用紙は、記録媒体の一例である。用紙は、トレイ37A~37Cのいずれかから1枚ずつ給紙機構を介してタイミングローラー40に搬送される。そして、タイミングローラー40によって搬送経路41に沿って二次転写ローラー33に送られる。用紙が送り出されるタイミングに合わせて、二次転写ローラー33に印加する転写電圧を制御する。 The IDC sensor 19 detects the density of the toner image formed on the transfer belt 30. Typically, the IDC sensor 19 is a light intensity sensor made of a reflective photosensor, and detects the intensity of reflected light from the surface of the transfer belt 30. The transfer belt 30 is stretched around a driven roller 38 and a driving roller 39. Drive roller 39 is connected to a motor (not shown). By controlling the motor, the drive roller 39 rotates. The transfer belt 30 and the driven roller 38 rotate in conjunction with the drive roller 39. As a result, the toner image on the transfer belt 30 is sent to the secondary transfer roller 33. Paper sheets of different sizes are set in each of the trays 37A to 37C. Paper is an example of a recording medium. Paper is conveyed one by one from one of the trays 37A to 37C to the timing roller 40 via a paper feeding mechanism. Then, the timing roller 40 sends it to the secondary transfer roller 33 along a conveyance path 41 . The transfer voltage applied to the secondary transfer roller 33 is controlled in accordance with the timing at which the paper is sent out.

二次転写ローラー33は、トナー像の帯電極性と逆極性の転写電圧を搬送中の用紙に印加する。その結果、トナー像は、転写ベルト30から二次転写ローラー33に引き付けられ、転写ベルト30上のトナー像が転写される。二次転写ローラー33への用紙の搬送タイミングは、転写ベルト30上のトナー像の位置に合わせてタイミングローラー40によって制御される。その結果、転写ベルト30上のトナー像は、用紙の適切な位置に転写される。定着器60は、定着器60を通過する用紙を加圧および加熱する。これにより、トナー像は用紙に定着する。その後、用紙は、トレイ49に排紙される。クリーニングユニット43は、転写ベルト30から用紙へのトナー像の転写後に転写ベルト30の表面に残留するトナーを回収する。回収されたトナーは、搬送スクリュー(図示しない)で搬送され、廃トナー容器(図示しない)に貯められる。 The secondary transfer roller 33 applies a transfer voltage having a polarity opposite to the charged polarity of the toner image to the paper being transported. As a result, the toner image is attracted from the transfer belt 30 to the secondary transfer roller 33, and the toner image on the transfer belt 30 is transferred. The timing of transporting the paper to the secondary transfer roller 33 is controlled by a timing roller 40 in accordance with the position of the toner image on the transfer belt 30. As a result, the toner image on the transfer belt 30 is transferred to an appropriate position on the paper. The fixing device 60 presses and heats the paper passing through the fixing device 60. This fixes the toner image on the paper. Thereafter, the paper is discharged onto the tray 49. The cleaning unit 43 collects toner remaining on the surface of the transfer belt 30 after the toner image is transferred from the transfer belt 30 to the paper. The collected toner is transported by a transport screw (not shown) and stored in a waste toner container (not shown).

読取装置2は、用紙に形成された画像を読み取るラインイメージセンサを含む。
[2.ハードウェア構成]
図3は、実施形態1に従う画像検査装置1の主要なハードウェア構成を示すブロック図である。図3を参照して、画像検査装置1のハードウェア構成の一例について説明する。
The reading device 2 includes a line image sensor that reads images formed on paper.
[2. Hardware configuration]
FIG. 3 is a block diagram showing the main hardware configuration of the image inspection apparatus 1 according to the first embodiment. An example of the hardware configuration of the image inspection apparatus 1 will be described with reference to FIG. 3.

画像検査装置1は、スキャナー20およびプリンター25に加え、制御装置101と、ROM(Read Only Memory)102と、RAM(Random Access Memory)103と、ネットワークインターフェイス104と、表示パネル105と、マイク106と、記憶装置110とを含む。制御装置101は、たとえば、少なくとも1つの集積回路によって構成される。集積回路は、たとえば、少なくとも1つのCPU(Central Processing Unit)、少なくとも1つのASIC(Application Specific Integrated Circuit)、少なくとも1つのFPGA(Field Programmable Gate Array)、またはそれらの組み合わせなどによって構成される。制御装置101は、画像検査装置1の制御パラメーターを調整するためのプログラム112などの各種プログラムを実行することで画像検査装置1の動作を制御する。制御装置101は、プログラム112の実行命令を受け付けたことに基づいて、記憶装置110からRAM103にプログラム112を読み出す。RAM103は、ワーキングメモリとして機能し、プログラム112の実行に必要な各種データを一時的に格納する。ネットワークインターフェイス104には、アンテナ(図示しない)や無線モジュールなどが接続される。画像検査装置1は、アンテナや無線モジュールを介して、外部の通信機器との間でデータをやり取りする。外部の通信機器は、たとえば、スマートフォンなどの携帯通信端末、サーバーなどを含む。画像検査装置1は、プログラム112をアンテナを介してサーバーからダウンロードできるように構成されてもよい。 In addition to a scanner 20 and a printer 25, the image inspection apparatus 1 includes a control device 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a network interface 104, a display panel 105, and a microphone 106. , and a storage device 110. Control device 101 is configured, for example, by at least one integrated circuit. The integrated circuit includes, for example, at least one CPU (Central Processing Unit), at least one ASIC (Application Specific Integrated Circuit), at least one FPGA (Field Programmable Gate Array), or a combination thereof. The control device 101 controls the operation of the image inspection device 1 by executing various programs such as a program 112 for adjusting control parameters of the image inspection device 1 . The control device 101 reads the program 112 from the storage device 110 to the RAM 103 based on receiving the instruction to execute the program 112 . The RAM 103 functions as a working memory and temporarily stores various data necessary for executing the program 112. An antenna (not shown), a wireless module, and the like are connected to the network interface 104. The image inspection apparatus 1 exchanges data with external communication equipment via an antenna and a wireless module. External communication devices include, for example, mobile communication terminals such as smartphones, servers, and the like. The image inspection apparatus 1 may be configured to be able to download the program 112 from a server via an antenna.

表示パネル105は、ディスプレイとタッチパネルとで構成されている。ディスプレイおよびタッチパネルは互いに重ねられており、画像検査装置1に対する操作をタッチ操作で受け付ける。また、表示パネル105は、設定操作を受け付けるのみならず、ユーザーに各種の情報を提供することが可能である。 The display panel 105 includes a display and a touch panel. The display and the touch panel are stacked on top of each other, and receive operations on the image inspection apparatus 1 through touch operations. Further, the display panel 105 can not only accept setting operations but also provide various information to the user.

記憶装置110は、たとえば、ハードディスク、SSD(Solid State Drive)その他の記憶装置である。記憶装置110は、内蔵式、外付け式のいずれであってもよい。記憶装置110は、実施形態に従うプログラム112などを格納する。ただし、プログラム112の格納場所は記憶装置110に限定されず、制御装置101の記憶領域(たとえば、キャッシュなど)、ROM102、RAM103、外部機器(たとえば、サーバー)などに格納されていてもよい。プログラム112は、単体のプログラムとしてではなく、任意のプログラムの一部に組み込まれて提供されてもよい。この場合、実施形態に従う制御処理は、任意のプログラムと協働して実現される。このような一部のモジュールを含まないプログラムであっても、実施形態に従うプログラム112の趣旨を逸脱するものではない。さらに、プログラム112によって提供される機能の一部または全部は、専用のハードウェアによって実現されてもよい。さらに、少なくとも1つのサーバーがプログラム112の処理の一部を実行する所謂クラウドサービスのような形態で画像検査装置1が構成されてもよい。マイク106は、音声の入力を受け付ける。 The storage device 110 is, for example, a hard disk, SSD (Solid State Drive), or other storage device. The storage device 110 may be either a built-in type or an external type. The storage device 110 stores programs 112 and the like according to the embodiment. However, the storage location of the program 112 is not limited to the storage device 110, and may be stored in the storage area of the control device 101 (eg, cache), ROM 102, RAM 103, external equipment (eg, server), etc. The program 112 may be provided not as a standalone program but as a part of any program. In this case, the control processing according to the embodiment is realized in cooperation with an arbitrary program. Even if the program does not include some of these modules, it does not depart from the spirit of the program 112 according to the embodiment. Furthermore, some or all of the functionality provided by program 112 may be realized by dedicated hardware. Furthermore, the image inspection apparatus 1 may be configured as a so-called cloud service in which at least one server executes part of the processing of the program 112. Microphone 106 accepts audio input.

制御装置101は、読取画像取得部3と、基準画像取得部4と、位置合わせ算出部5と、位置合わせ補正部6と、画像検査部8と、エッジ領域生成部9とを含む。 The control device 101 includes a read image acquisition section 3 , a reference image acquisition section 4 , an alignment calculation section 5 , an alignment correction section 6 , an image inspection section 8 , and an edge region generation section 9 .

読取装置2は、画像形成部によって紙面上に画像形成を行う出力対象画像のデータを取得する。対象画像(出力対象画像)のデータは、RIP(Raster Image Processor)データとも称する。 The reading device 2 acquires data of an output target image to be formed on a sheet of paper by an image forming section. The data of the target image (output target image) is also referred to as RIP (Raster Image Processor) data.

位置合わせ算出部5は、読取装置2で得た読取画像データと、基準画像取得部4で取得したRIPデータとの位置を合わせるための補正パラメータ(位置合わせパラメータ)を算出する位置合わせ算出処理を行う。 The alignment calculation unit 5 performs alignment calculation processing to calculate correction parameters (alignment parameters) for aligning the read image data obtained by the reading device 2 and the RIP data obtained by the reference image acquisition unit 4. conduct.

位置合わせ補正部6は、位置合わせ算出部5で算出された補正パラメータを用いて、RIPデータと読取画像データのいずれか一方又は双方の画像を補正する位置合わせ補正処理を行う。位置合わせ補正部6は、変倍処理と、シフト処理と、回転処理とを行う。変倍処理は、RIPデータと読取画像データとのサイズ誤差を修正するために行われる。シフト処理は、RIPデータと読取画像データとの画像の位置の誤差を修正するために行われる。回転処理は、RIPデータと読取画像データとの画像の回転状態の誤差を修正するために行われる。 The alignment correction unit 6 uses the correction parameters calculated by the alignment calculation unit 5 to perform alignment correction processing to correct one or both of the RIP data and the read image data. The position alignment correction unit 6 performs magnification processing, shift processing, and rotation processing. The scaling process is performed to correct a size error between the RIP data and the read image data. The shift process is performed to correct an error in image position between the RIP data and the read image data. The rotation process is performed to correct an error in the image rotation state between the RIP data and the read image data.

画像検査部8は、位置合わせ補正部6によって補正されたデータを使った差分の検出で、読取画像の欠陥を判定する。画像検査部8が判定した結果は、画像検査装置1に接続された表示パネル105に表示される。また、画像検査部8が判定した結果に基づいて搬送部での用紙搬送を制御して、欠陥がある画像が形成された用紙を、通常の排紙トレイとは別の排紙トレイに送るようにしてもよい。 The image inspection section 8 determines defects in the read image by detecting a difference using the data corrected by the alignment correction section 6. The results determined by the image inspection unit 8 are displayed on a display panel 105 connected to the image inspection apparatus 1. Also, the paper conveyance in the conveyance unit is controlled based on the result determined by the image inspection unit 8, and the paper on which the defective image is formed is sent to a paper output tray different from the normal paper output tray. You can also do this.

エッジ領域生成部9は、RIPデータから濃度変動の大きい領域を抽出したエッジ領域を生成する。画像検査部8は、生成されたエッジ領域においては、汚れ判定のための閾値を緩和する。 The edge region generation unit 9 generates edge regions by extracting regions with large density fluctuations from the RIP data. The image inspection unit 8 relaxes the threshold value for stain determination in the generated edge region.

図4は、比較例として従来の検査方式について説明する図である。図4(A)に示されるように、検査画像である読取画像が示されている。図4(B)には、RIP画像である基準画像が示されている。図4(C)には、検査画像と基準画像との差分画像が示されている。黒いと差分が小さく、白いと差分が大きいことを示している。文字周辺などのエッジ周辺で大きな差分が発生している。エッジ周辺で誤検知しないようにするため、閾値を緩和する必要がある。エッジ周辺を誤検知しないように閾値を緩和すると、文字周辺の汚れが検知できない。そこで、実施形態においては、領域を分割し、分割した領域ごとに位置合わせすることで部分的な歪みにも対応することができる。 FIG. 4 is a diagram illustrating a conventional inspection method as a comparative example. As shown in FIG. 4(A), a read image that is an inspection image is shown. FIG. 4B shows a reference image that is a RIP image. FIG. 4C shows a difference image between the inspection image and the reference image. Black indicates a small difference, and white indicates a large difference. Large differences occur around edges, such as around characters. In order to avoid false detections around edges, it is necessary to relax the threshold. If the threshold value is relaxed to avoid false detection around edges, dirt around characters cannot be detected. Therefore, in the embodiment, by dividing the region and aligning each divided region, it is possible to cope with partial distortion.

実施形態1においては、エッジ領域生成部8は、紙種や用紙サイズによって最大の歪み量が異なるので選択したトレーから歪みを測定するチャートを出力し、最大の歪み量を算出する。この点で、方眼など規則的な画像の繰り返しになっているチャートを出力し、読み取る。繰り返されている画像の位置を測定することで意図した位置からずれている画像がないか探索し、探索した結果の最大位置ずれ量から歪み量を算出してもよい。歪み量がリアルタイムで処理できる探索範囲を超えた場合、閾値を緩和するエッジ量を増やし、リアルタイムで処理できる探索範囲まで広げるか、探索範囲を広げ、リアルタイムに処理できるようにするため生産性を落とすかパネルから設定するようにしてもよい。 In the first embodiment, since the maximum amount of distortion varies depending on the paper type and paper size, the edge region generation unit 8 outputs a chart for measuring the distortion from the selected tray and calculates the maximum amount of distortion. In this regard, a chart with regular repeating images, such as a grid, is output and read. It is also possible to search for images that are deviated from the intended position by measuring the positions of repeated images, and calculate the amount of distortion from the maximum positional deviation amount as a result of the search. If the amount of distortion exceeds the search range that can be processed in real time, either increase the amount of edges that relax the threshold and expand the search range to the one that can be processed in real time, or expand the search range and reduce productivity in order to be able to process in real time. Alternatively, the settings may be made from the panel.

実施形態1に従う分割領域毎の位置合わせの方式について説明する。図5は、実施形態1に従う分割領域毎の位置合わせの方式について説明する図である。 A method of positioning each divided area according to the first embodiment will be described. FIG. 5 is a diagram illustrating a positioning method for each divided region according to the first embodiment.

図5(A)に示されるように、分割した2つの基準画像および検査画像のうち、片方の画像を想定される歪み量だけ周囲を切り取る。本例においては、基準画像について、想定される歪み量だけ周囲だけ切り取る場合が示されている。一例として、最大の歪み量を0.38mm(6dot@200dpi)とした場合が示されており、周囲6dot@200dpi切り取る。なお、検査画像および基準画像の解像度は、200@dpiに設定されている。本例においては、ずれ量は、800dpiのずれ量を算出する場合について説明する。 As shown in FIG. 5(A), one of the two divided reference images and inspection image is cut out by an amount of distortion. In this example, a case is shown where only the periphery of the reference image is cut out by an assumed amount of distortion. As an example, a case is shown in which the maximum amount of distortion is 0.38 mm (6dots@200dpi), and the surrounding area is cut out at 6dots@200dpi. Note that the resolution of the inspection image and reference image is set to 200@dpi. In this example, a case will be described in which a deviation amount of 800 dpi is calculated.

図5(B)に示されるように、切り取った基準画像をシフトさせながら、その画像に対応した領域の検査画像との類似度を算出する。一例として、ZNCC(Zero-mean Normalized Cross-Correlation)を用いて類似度を算出する。 As shown in FIG. 5B, while shifting the cut reference image, the degree of similarity between the area corresponding to the image and the test image is calculated. As an example, the degree of similarity is calculated using ZNCC (Zero-mean Normalized Cross-Correlation).

図6は、実施形態1に従うZNCCの算出結果を説明する図である。図6に示されるように、類似度の最も高いZNCCの最大の座標がx,y=9、6となる。さらに、ここからどの方向にずらすと位置が合うのか算出するために、最大座標のZNCCCの結果と、その周辺8箇所のZNCCの結果を使用してずれ量の方向を求める。 FIG. 6 is a diagram illustrating the calculation results of ZNCC according to the first embodiment. As shown in FIG. 6, the maximum coordinates of the ZNCC with the highest degree of similarity are x, y=9,6. Furthermore, in order to calculate in which direction the position should be shifted from here, the direction of the amount of shift is determined using the result of ZNCCC at the maximum coordinate and the ZNCC results at eight surrounding locations.

図7は、実施形態1に従うずれ量の方向の算出について説明する図である。図7(A)に示されるように、左上、左下、右上および右下の方向について算出する。図7(B)、(C)、(D)、(E)は、左上、右上、左下および右下の4箇所のそrぞれを説明する図である。本例においては、それぞれの4箇所の合計を算出する。4つの合計のうち、最大の方向にずれていると仮定する。本例の場合は、右下の合計値が最大値になるので右下方向にずれている。次に、ずれている方向を算出した後、ずれ方向に対するずれ量を算出する。x方向のずれ量を算出するために中央の最大値のZNCCの結果と、1つ右側のZNCCの結果との差分を算出する。 FIG. 7 is a diagram illustrating calculation of the direction of the amount of deviation according to the first embodiment. As shown in FIG. 7(A), calculations are made for the upper left, lower left, upper right, and lower right directions. FIGS. 7(B), (C), (D), and (E) are diagrams illustrating each of the four locations: upper left, upper right, lower left, and lower right. In this example, the total of each of the four locations is calculated. It is assumed that the deviation is in the maximum direction among the four totals. In this example, the total value at the bottom right is the maximum value, so it is shifted toward the bottom right. Next, after calculating the direction of deviation, the amount of deviation with respect to the direction of deviation is calculated. In order to calculate the amount of deviation in the x direction, the difference between the maximum ZNCC result at the center and the ZNCC result one position to the right is calculated.

実施形態1においては、差分と閾値との比較に基づいてずれ量を算出する。本例においては、4倍の解像度のずれ量を算出するため、2つの閾値TH11と閾値TH2とを設ける場合について説明する。閾値TH1と閾値TH2との関係は、閾値TH1>閾値TH2に設定する。閾値の数はずらす画像の解像度に応じて変更するようにしても良い。 In the first embodiment, the amount of deviation is calculated based on the comparison between the difference and the threshold value. In this example, a case will be described in which two threshold values TH11 and TH2 are provided in order to calculate the amount of shift in resolution of 4 times. The relationship between threshold value TH1 and threshold value TH2 is set such that threshold value TH1>threshold value TH2. The number of threshold values may be changed depending on the resolution of the image to be shifted.

図8は、実施形態1に従うZNCCのずれ量のモデルを説明する図である。図8(A)には、200dpiで求めたZNCCの結果が800dpiで求めたZNCCの最大の位置と一致している場合(モデル1)が示されている。このモデル1の場合には、当該図に示されているように最大値のZNCCの結果と隣のZNCCの結果とは差が大きくなる。したがって、最大値のZNCCの結果と隣のZNCCとの結果の差が閾値TH1より大きい場合は200dpiで求めたZNCCの値がモデル1に分類されると判断する。200dpiで求めた位置ずれ量を4倍した値が800dpiの位置ずれ量に設定する。 FIG. 8 is a diagram illustrating a model of the ZNCC shift amount according to the first embodiment. FIG. 8A shows a case (Model 1) in which the ZNCC result obtained at 200 dpi matches the maximum position of ZNCC obtained at 800 dpi. In the case of this model 1, as shown in the figure, there is a large difference between the result of the maximum value ZNCC and the result of the adjacent ZNCC. Therefore, if the difference between the maximum ZNCC result and the neighboring ZNCC result is greater than the threshold TH1, it is determined that the ZNCC value obtained at 200 dpi is classified into model 1. The value obtained by multiplying the positional deviation amount obtained at 200dpi by 4 is set as the positional deviation amount of 800dpi.

図8(B)には、200dpiで求めたZNCCの結果が800dpiで求めたZNCCの最大の位置よりも左側に1dotずれている場合(モデル2)が示されている。このモデル2の場合には、当該図に示されているように最大値のZNCCの結果と隣のZNCCの結果とは差がモデル1と比較して小さくなる。したがって、最大値のZNCCの結果と隣のZNCCの結果との差が閾値TH1と閾値TH2との間にある場合は200dpiで求めたZNCCの結果がモデル2に分類されると判断する。そして、200dpiで求めた位置ずれ量を4倍して±1した値を800dpiの位置ずれ量に設定する。なお、右側あるいは下側にずれている場合は“+”、左側あるいは上側にずれている場合は“-”に設定する。 FIG. 8B shows a case (Model 2) in which the ZNCC result obtained at 200 dpi is shifted by 1 dot to the left of the maximum position of ZNCC obtained at 800 dpi. In the case of this model 2, the difference between the result of the maximum ZNCC and the result of the adjacent ZNCC is smaller than that of the model 1, as shown in the figure. Therefore, if the difference between the maximum ZNCC result and the adjacent ZNCC result is between the threshold TH1 and the threshold TH2, it is determined that the ZNCC result obtained at 200 dpi is classified into model 2. Then, the value obtained by multiplying the positional deviation amount obtained at 200 dpi by 4 and ±1 is set as the positional deviation amount at 800 dpi. Note that if it is shifted to the right or down, set it to "+", and if it is shifted to the left or above, set it to "-".

図8(C)には、200dpiで求めたZNCCの結果が800dpiで求めたZNCCの最大の位置よりも左側2dotずれている場合(モデル3)が示されている。このモデル3の場合には、当該図に示されているように最大値のZNCCの結果と隣のZNCCの結果との差はさらに小さい。したがって、最大値のZNCCの結果と隣のZNCCの結果との差が閾値TH2よりも小さい場合には200dpiで求めたZNCCの結果がモデル3に分類されると判断する。そして、200dpiで求めた位置ずれ量を4倍して±2した値が800dpiの位置ずれ量とする。なお、右側あるいは下側にずれている場合は“+”、左側あるいは上側にずれている場合は“-”に設定する。 FIG. 8C shows a case (Model 3) where the ZNCC result obtained at 200 dpi is shifted 2 dots to the left from the maximum position of ZNCC obtained at 800 dpi. In the case of this model 3, as shown in the figure, the difference between the result of the maximum ZNCC and the result of the adjacent ZNCC is even smaller. Therefore, if the difference between the maximum ZNCC result and the adjacent ZNCC result is smaller than the threshold TH2, it is determined that the ZNCC result obtained at 200 dpi is classified into model 3. Then, the value obtained by multiplying the positional deviation amount obtained at 200 dpi by 4 and ±2 is set as the positional deviation amount at 800 dpi. Note that if it is shifted to the right or down, set it to "+", and if it is shifted to the left or above, set it to "-".

また、200dpiで求めたZNCCの結果が800dpiで求めたZNCCの最大の位置よりも左側に3dotずれている場合は、モデル2で反対方向にずれているモデルと同じあり、事前に求めるずれていると予測される方向が逆方向になる。 In addition, if the ZNCC result obtained at 200 dpi is shifted 3 dots to the left of the maximum position of ZNCC obtained at 800 dpi, it is the same as model 2, which is shifted in the opposite direction, and the difference obtained in advance is the same as model 2, which is shifted in the opposite direction. The predicted direction is the opposite direction.

図9は、実施形態1に従うずらし量補間の概念図である。図9には、200dpiの解像度の画像を4倍の解像度である800dpiに拡大する場合のずらし量が示されている。 FIG. 9 is a conceptual diagram of shift amount interpolation according to the first embodiment. FIG. 9 shows the amount of shift when enlarging an image with a resolution of 200 dpi to 800 dpi, which is four times the resolution.

最大値のZNCCの結果と隣のZNCCの結果との差分が閾値TH1よりも大きければ、最大の座標-6の値を4倍した値を800dpiの画像に対するずれ量とする。また、最大値のZNCCの結果と隣のZNCCの結果との差分が閾値TH1と閾値TH2との間であれば、最大の座標-6の値を4倍した値に±1した値を800dpiの画像に対するずれ量とする。また、最大値のZNCCの結果と隣のZNCCの結果との差分が閾値TH2よりも小さければ、最大の座標-6の値を4倍した値に±2した値を800dpiの画像に対するずれ量とする。なお、ZNCCの結果が左側に3dotずれている場合には、1つ左隣のZNCCの結果から右に1dotずれている場合と同じである。 If the difference between the maximum value ZNCC result and the adjacent ZNCC result is larger than the threshold TH1, the value obtained by multiplying the maximum coordinate -6 value by 4 is set as the deviation amount for the 800 dpi image. Also, if the difference between the maximum ZNCC result and the adjacent ZNCC result is between the threshold TH1 and the threshold TH2, the maximum coordinate - 6 value multiplied by 4 plus ±1 is calculated at 800 dpi. This is the amount of deviation from the image. Also, if the difference between the maximum value ZNCC result and the adjacent ZNCC result is smaller than the threshold TH2, the value obtained by multiplying the value of the maximum coordinate -6 by 4 and ±2 is used as the deviation amount for the 800 dpi image. do. Note that when the ZNCC result is shifted by 3 dots to the left, it is the same as when it is shifted by 1 dot to the right from the ZNCC result immediately to the left.

本例の場合には、一例として、閾値TH1は0.04、閾値TH2は0.02とする。最大値のZNCCと隣の右側のZNCCとの差分は0.044、下側のZNCCとの差分が0.023となる。したがって、上記の方式に基づいて、800dpiの画像に対するずれ量はx,y=(9-6)×4=12、(6-6)×4+1=1に設定される。次に、200dpiの基準画像をx,y=12,1@800dpiずらすために、バイリニア補間して800dpiに解像度を拡大する。次に、800dpiに拡大後、x,y=12、1@800dpiだけ画像をシフトさせて、バイリニア補間して200dpiに解像度を縮小させる。 In the case of this example, the threshold value TH1 is set to 0.04, and the threshold value TH2 is set to 0.02. The difference between the maximum value ZNCC and the adjacent ZNCC on the right side is 0.044, and the difference between the ZNCC on the lower side is 0.023. Therefore, based on the above method, the amount of shift for an 800 dpi image is set to x, y=(9-6)×4=12, (6-6)×4+1=1. Next, in order to shift the 200 dpi reference image by x, y = 12, 1@800 dpi, bilinear interpolation is performed to expand the resolution to 800 dpi. Next, after enlarging the image to 800 dpi, shift the image by x, y = 12, 1@800 dpi, and perform bilinear interpolation to reduce the resolution to 200 dpi.

次に、解像度を縮小させて200dpiにした基準画像と検査画像との差分をとり、エッジ領域の閾値を緩和して閾値処理した結果、閾値を超えた箇所に汚れがあると判定する。 Next, the difference between the reference image, whose resolution has been reduced to 200 dpi, and the inspection image is taken, and the threshold value of the edge area is relaxed and threshold processing is performed, and as a result, it is determined that there is dirt in areas where the threshold value is exceeded.

図10は、実施形態1に従う画像検査装置の検査フローについて説明する図である。図10に示されるように、画像検査装置1は、RIP画像を取得する(ステップS2)。基準画像取得部4は、RIPデータを取得する。次に、画像検査装置1は、RIP画像の解像度変換をする(ステップS4)。位置合わせ算出部5は、解像度を変換する。この解像度の変換は、RIPデータの解像度を、読取画像データの解像度と合わせるために行われる。例えば、位置合わせ算出部5は、RIPデータの解像度を、800dpiから200dpiに変換する。次に画像検査装置1は、色変換する(ステップS6)。位置合わせ算出部5は、印刷用の減色混合法の原色成分であるC(シアン),M(マゼンタ),Y(イエロー),K(ブラック)の色成分のデータから、加色混合法の原色成分であるR(赤),G(緑),B(青)の色成分のデータに変換する。次に、画像検査装置1は、記憶する(ステップS8)。位置合わせ算出部5は、変換されたRGBのデータは、モデルデータとしてRAM103に記憶する。なお、画像データにバリアブル領域(1部ごとに画像内容が異なる領域)が存在する場合には、モデルデータからバリアブル領域内の情報が除去される。次に、画像検査装置1は、検査画像を取得する(ステップS10)。読取画像取得部3は、検査画像である読取画像を読取装置2から取得する。読取装置2で取得される読取画像データは、解像度200dpiのRGBデータである。次に、画像検査装置1は、モデルデータと検査画像との補正パラメータを算出する(ステップS12)。位置合わせ算出部5は、RAM103に格納されたモデルデータと、取得した読取画像データとを比較し、補正パラメータを算出する。補正パラメータは、画像のシフト、回転および倍率からなる。 FIG. 10 is a diagram illustrating an inspection flow of the image inspection apparatus according to the first embodiment. As shown in FIG. 10, the image inspection apparatus 1 acquires a RIP image (step S2). The reference image acquisition unit 4 acquires RIP data. Next, the image inspection apparatus 1 converts the resolution of the RIP image (step S4). The alignment calculation unit 5 converts the resolution. This resolution conversion is performed to match the resolution of the RIP data with the resolution of the read image data. For example, the alignment calculation unit 5 converts the resolution of the RIP data from 800 dpi to 200 dpi. Next, the image inspection device 1 performs color conversion (step S6). The alignment calculation unit 5 calculates the primary colors of the additive color mixing method from the data of the color components of C (cyan), M (magenta), Y (yellow), and K (black), which are the primary color components of the subtractive color mixing method for printing. It is converted into color component data of R (red), G (green), and B (blue). Next, the image inspection apparatus 1 stores the information (step S8). The alignment calculation unit 5 stores the converted RGB data in the RAM 103 as model data. Note that if the image data includes a variable area (an area where image content differs for each copy), information in the variable area is removed from the model data. Next, the image inspection apparatus 1 acquires an inspection image (step S10). The read image acquisition unit 3 acquires a read image, which is a test image, from the reading device 2 . The read image data acquired by the reading device 2 is RGB data with a resolution of 200 dpi. Next, the image inspection apparatus 1 calculates correction parameters for the model data and the inspection image (step S12). The alignment calculation unit 5 compares the model data stored in the RAM 103 with the acquired read image data and calculates correction parameters. The correction parameters consist of image shift, rotation and magnification.

次に、画像検査装置1は、全体の位置合わせを実行する(ステップS14)。位置合わせ補正部6は、補正パラメータを用いて全体の位置合わせを実行する。 Next, the image inspection apparatus 1 performs overall alignment (step S14). The alignment correction unit 6 executes overall alignment using the correction parameters.

次に、画像検査装置1は、分割処理を実行する(ステップS16)。位置合わせ算出部5は、全体の位置合わせ後に、検査画像および基準画像を複数の領域にそれぞれ分割する。特にRIP画像と位置合わせする場合は、印字のずれ、用紙の収縮などにより、RIP画像に対して非線形に変形する。また、検査画像(スキャン画像)はスキャン時の用紙の挙動によって、部分的に歪が発生するからである。 Next, the image inspection apparatus 1 executes division processing (step S16). After the overall alignment, the alignment calculation unit 5 divides the inspection image and the reference image into a plurality of regions. In particular, when aligning with a RIP image, the image is deformed non-linearly with respect to the RIP image due to misalignment of printing, shrinkage of paper, and the like. Further, the inspection image (scanned image) is partially distorted due to the behavior of the paper during scanning.

次に、画像検査装置1は、ずれ量を算出する(ステップS18)。位置合わせ算出部5は、図5~9で説明した方式にしたがってずれ量を算出する。次に、画像検査装置1は、解像度変換する(ステップS20)。位置合わせ算出部5は、バイリニア補間により200dpiの基準画像を800dpiに解像度を拡大する。次に、画像検査装置1は、位置合わせを実行する(ステップS22)。位置合わせ補正部6は、800dpiに拡大後、ずれ量分だけ画像をシフトさせる。また、位置合わせ補正部6は、バイリニア補間して200dpiに解像度を縮小させる。 Next, the image inspection apparatus 1 calculates the amount of deviation (step S18). The alignment calculation unit 5 calculates the amount of deviation according to the method described in FIGS. 5 to 9. Next, the image inspection apparatus 1 performs resolution conversion (step S20). The alignment calculation unit 5 enlarges the resolution of the 200 dpi reference image to 800 dpi by bilinear interpolation. Next, the image inspection apparatus 1 executes alignment (step S22). After enlarging the image to 800 dpi, the alignment correction unit 6 shifts the image by the amount of deviation. Further, the alignment correction unit 6 performs bilinear interpolation to reduce the resolution to 200 dpi.

次に、画像検査装置1は、検査する(ステップS24)。画像検査部8は、解像度を縮小させて200dpiにした基準画像と検査画像との差分をとり、エッジ領域の閾値を緩和して閾値処理した結果、閾値を超えた箇所に汚れがあると判定する。そして、画像検査装置1は、検査フローの処理を終了する(エンド)。 Next, the image inspection apparatus 1 inspects (step S24). The image inspection unit 8 calculates the difference between the reference image whose resolution has been reduced to 200 dpi and the inspection image, relaxes the threshold of the edge area, performs threshold processing, and determines that there is dirt in areas exceeding the threshold. . The image inspection apparatus 1 then ends the inspection flow process (END).

図11は、実施形態1に従うシミレーション例を説明する図である。図11(A)には、検査画像と基準画像との位置合わせ前の状態が示されている。図11(B)には検査画像と基準画像との位置合わせ後の状態が示されている。 FIG. 11 is a diagram illustrating a simulation example according to the first embodiment. FIG. 11A shows a state before the inspection image and the reference image are aligned. FIG. 11(B) shows the state after alignment of the inspection image and the reference image.

図12は、実施形態1に従うシミュレーション例として座標値に応じた輝度値を説明する図である。当該輝度値は、図11の矩形領域を抽出している。図12に示されるように、検査画像の輝度値と、位置合わせ前の基準画像の輝度値と、位置合わせ後の基準画像の輝度値とが示されている。位置合わせすることで検査画像と基準画像との変換点が一致して誤検知なく検査することが可能である。 FIG. 12 is a diagram illustrating brightness values according to coordinate values as a simulation example according to the first embodiment. The luminance value is extracted from the rectangular area shown in FIG. As shown in FIG. 12, the brightness value of the inspection image, the brightness value of the reference image before alignment, and the brightness value of the reference image after alignment are shown. By aligning the positions, the conversion points of the inspection image and the reference image match, and inspection can be performed without false detection.

図13は、実施形態1に従うシミュレーション例としてエッジ領域を有する画像の汚れの判定について説明する図である。図13に示されるように、本例においては、検査画像と、基準画像とのずらし量は2dotである場合が示されている。この場合、ずらし量が0dotの場合には、差分画像に汚れがあると誤検知する場合が示されている。本実施形態1に従う方式により、簡易な方式で精度の高い位置合わせが可能である。 FIG. 13 is a diagram illustrating determination of dirt in an image having an edge region as a simulation example according to the first embodiment. As shown in FIG. 13, in this example, the amount of shift between the inspection image and the reference image is 2 dots. In this case, when the amount of shift is 0 dots, there is a case where it is erroneously detected that there is dirt in the difference image. The method according to the first embodiment allows highly accurate alignment with a simple method.

なお、本例においては、基準画像を対象として解像度変換を行い、位置合わせする方式について説明したが、検査画像を対象として同様の方式を採用するようにしても良い。 In this example, a method of performing resolution conversion and positioning for the reference image has been described, but a similar method may be adopted for the inspection image.

(実施形態1の変形例1)
上記の実施形態1においては、ZNCCの最大の座標の周辺の8箇所の結果を使用してずれ量の方向を算出する場合について説明したが、例えば、周辺の4箇所の結果を使用してずれ量の方向を算出するようにしてもよい。例えば、最大値の座標の上下のZNCCの結果を比較して、上下のうち、大きい方向にずれていると判断する。具体的には、最大値のZNCCの結果と上下のZNCCとの差分をとり、ずれ量を算出する。なお、上下で同じ値の場合は最大値の座標に対して上下方向にずれていないと判断する。
(Modification 1 of Embodiment 1)
In Embodiment 1 above, a case has been described in which the direction of the amount of deviation is calculated using the results of eight places around the maximum coordinate of ZNCC. The direction of the amount may also be calculated. For example, the ZNCC results above and below the coordinates of the maximum value are compared, and it is determined that the deviation is greater in the upper or lower direction. Specifically, the difference between the maximum ZNCC result and the upper and lower ZNCCs is taken to calculate the amount of deviation. Note that if the values are the same on the top and bottom, it is determined that there is no deviation in the vertical direction with respect to the coordinates of the maximum value.

同様に、最大値の座標の左右のZNCCの結果を比較して、左右のうち、大きい方向にずれていると判断する。具体的には、最大値のZNCCの結果と左右のZNCCとの差分をとり、ずれ量を算出する。なお、左右で同じ値の場合は最大値の座標に対して左右方向にずれていないと判断する。ずれ方向を算出した後の、ずれ量の算出については上記の実施形態1と同様である。当該方法により、さらに、演算コストを削減することが可能である。本実施形態に従う方式により、簡易な方式で精度の高い位置合わせが可能である。 Similarly, the ZNCC results on the left and right sides of the coordinates of the maximum value are compared, and it is determined that the deviation is in the direction that is larger between the left and right. Specifically, the difference between the maximum ZNCC result and the left and right ZNCCs is taken to calculate the amount of deviation. Note that if the values are the same on the left and right sides, it is determined that there is no deviation in the left and right direction with respect to the coordinates of the maximum value. The calculation of the amount of deviation after calculating the direction of deviation is the same as in the first embodiment described above. With this method, it is possible to further reduce calculation costs. By the method according to this embodiment, highly accurate alignment is possible with a simple method.

(実施形態1の変形例2)
上記の実施形態1においては、ZNCCの最大の座標の周辺の8箇所の結果を使用してずれ量の方向を算出する場合について説明した。具体的には合計値が最大値になる方向であると判断したが、例えば、ZNCCの結果の最大値の座標とその周辺の座標のZNCCの結果を使用して、重心を求めて、重心からずれ方向を算出する。また、重心の位置座標とZNCCの最大の位置座標とを引いた値を閾値によってずれ量を求めるようにしてもよい。
(Modification 2 of Embodiment 1)
In the first embodiment described above, a case has been described in which the direction of the shift amount is calculated using the results of eight locations around the maximum coordinate of ZNCC. Specifically, it was determined that the direction is the direction in which the total value becomes the maximum value, but for example, by using the coordinates of the maximum value of the ZNCC results and the ZNCC results of the surrounding coordinates, find the center of gravity, Calculate the direction of deviation. Alternatively, the amount of deviation may be calculated using a threshold value obtained by subtracting the position coordinates of the center of gravity and the maximum position coordinate of the ZNCC.

具体的には、重心の位置座標とZNCCの最大の位置座標とを引いた値が閾値TH3よりも小さければ、最大の座標-6の値を4倍した値を800dpiの画像に対するずれ量とする。また、重心の位置座標とZNCCの最大の位置座標とを引いた値が閾値TH4よりも小さければ、最大の座標-6の値を4倍した値に+1した値を800dpiの画像に対するずれ量とする。また、重心の位置座標とZNCCの最大の位置座標とを引いた値が閾値TH4よりも大きければ、最大の座標-6の値を4倍した値に+2した値を800dpiの画像に対するずれ量とする。ここで閾値TH3と閾値TH4との関係は閾値TH3<閾値TH4となる。閾値の数はずらす画像の解像度に依存する。右側、下側にずれている場合は“+”、左側、上側にずれている場合は“-”にする。 Specifically, if the value obtained by subtracting the position coordinates of the center of gravity and the maximum position coordinate of ZNCC is smaller than the threshold TH3, the value obtained by multiplying the value of the maximum coordinate - 6 by 4 is set as the amount of deviation for the 800 dpi image. . Also, if the value obtained by subtracting the position coordinates of the center of gravity and the maximum position coordinate of ZNCC is smaller than the threshold TH4, the value obtained by multiplying the value of the maximum coordinate - 6 by 4 and +1 is determined as the amount of deviation for the 800 dpi image. do. Also, if the value obtained by subtracting the position coordinates of the center of gravity and the maximum position coordinate of ZNCC is larger than the threshold TH4, the value obtained by multiplying the value of the maximum coordinate -6 by 4 and +2 is calculated as the amount of deviation for the 800 dpi image. do. Here, the relationship between threshold value TH3 and threshold value TH4 is threshold value TH3<threshold value TH4. The number of thresholds depends on the resolution of the image to be shifted. If it is off to the right or down, mark it as “+”; if it is off to the left or on top, mark it as “-”.

当該方法により、重心の位置座標を算出して、精度の高いずれ量を算出することが可能である。本方式により、簡易な方式で精度の高い位置合わせが可能である。 With this method, it is possible to calculate the positional coordinates of the center of gravity and calculate the amount of deviation with high accuracy. With this method, highly accurate alignment is possible using a simple method.

(実施形態1の変形例3)
図14は、実施形態1の変形例3に従うエッジ領域生成部9が生成するエッジ領域について説明する図である。図14に示されるように、エッジ領域について、右側および左側が示されている。当該エッジ領域については、閾値を緩和して誤判定を抑制することが可能である。エッジ領域生成部9は、読取画像の歪み量に基づいて、抽出するエッジ領域の幅を調整するようにしてもよい。具体的には、歪み量を測定して閾値を超えた場合、エッジ領域の幅を狭くし、閾値以下の場合にエッジ領域の幅を広くするようにしても良い。エッジ領域の幅を狭くすると探索範囲が広がり、エッジ領域の幅を広くすると探索範囲は狭まる。したがって、機械の生産性を落とすか、機械の生産性を優先させるかを選択することにより、エッジ領域の幅を調整するようにしてもよい。当該方式により簡易な方式で精度の高い位置合わせに基づく検査が可能である。
(Variation 3 of Embodiment 1)
FIG. 14 is a diagram illustrating an edge region generated by the edge region generation unit 9 according to the third modification of the first embodiment. As shown in FIG. 14, the right and left sides of the edge region are shown. Regarding the edge region, it is possible to suppress false determinations by relaxing the threshold value. The edge region generation unit 9 may adjust the width of the edge region to be extracted based on the amount of distortion of the read image. Specifically, when the amount of distortion is measured and exceeds a threshold value, the width of the edge region may be narrowed, and when it is equal to or less than the threshold value, the width of the edge region may be widened. When the width of the edge region is narrowed, the search range is widened, and when the width of the edge region is widened, the search range is narrowed. Therefore, the width of the edge region may be adjusted by selecting whether to reduce the productivity of the machine or give priority to the productivity of the machine. This method enables inspection based on highly accurate alignment using a simple method.

(実施形態2)
図15は、実施形態2に従うエッジ量に応じたZNCCのモデルについて説明する図である。図15(A)に示されるように、エッジが多い、すなわち濃度変動が大きい画像の場合には、基準画像と検査画像との位置がずれると差分が大きくなる。したがって、最大のZNCCと、ZNCCが最大の座標の隣の座標のZNCCの結果との差分も大きくなる。
(Embodiment 2)
FIG. 15 is a diagram illustrating a ZNCC model according to the edge amount according to the second embodiment. As shown in FIG. 15A, in the case of an image with many edges, that is, with large density fluctuations, the difference increases when the positions of the reference image and the inspection image shift. Therefore, the difference between the maximum ZNCC and the result of the ZNCC of the coordinate next to the coordinate with the maximum ZNCC also becomes large.

図15(B)に示されるように、エッジが少ない、すなわち濃度変動が小さい画像だと基準画像と検査画像との位置がずれても差分が小さい。したがって、最大のZNCCと、ZNCCが最大の座標の隣の座標のZNCCの結果との差分は小さくなる。したがって、傾向が異なる。 As shown in FIG. 15(B), if the image has few edges, that is, small density fluctuations, the difference will be small even if the positions of the reference image and the inspection image are shifted. Therefore, the difference between the maximum ZNCC and the result of the ZNCC of the coordinate next to the coordinate with the maximum ZNCC becomes small. Therefore, the trends are different.

エッジの量に応じた画像の種類だけでなく、読取時のサンプリングの位相によってエッジがはっきり見える場合とぼやけている場合も算出される相互相関の傾向が異なる。また、基準画像をRIP画像ではなく、プルーフ印刷時の読み取り画像を使用した場合も算出される相互相関の傾向が異なる。したがって、例えば、同一の閾値で分類できるようにするため、最大のZNCCと、最大のZNCCの座標の周辺8箇所のZNCCの結果との差分を取り、最大のZNCCの結果とずれている方向のZNCCの結果との差分を差分の平均値で割ることで正規化し、閾値処理することで高解像度化したずれ量を求めるようにしてもよい。 The tendency of the calculated cross-correlation differs not only depending on the type of image depending on the amount of edges, but also when the edges are clearly visible and when they are blurred, depending on the sampling phase during reading. Furthermore, the tendency of the calculated cross-correlation also differs when an image read during proof printing is used instead of an RIP image as the reference image. Therefore, for example, in order to be able to classify using the same threshold, take the difference between the maximum ZNCC and the results of the ZNCCs at eight locations around the coordinates of the maximum ZNCC, and calculate the difference in the direction in which the maximum ZNCC result deviates from the coordinates of the maximum ZNCC. The difference with the ZNCC result may be normalized by dividing the difference by the average value of the difference, and a high-resolution shift amount may be obtained by performing threshold processing.

図16は、実施形態2に従う差分の平均値を算出する場合を説明する図である。図16(A)には、図6で説明したのと同じZNCCの結果が示されている。中央が最大値である。図16(B)には、中央(最大値)との差分が示されている。図16(C)には、差分の平均値を求める。そして、中央との差分を差分の平均値で除算する。ずれている方向は、上記したように、最大値を含む周囲4画素の合計を求めてずれている方向を算出する。本例の場合には、右下の合計値が最大値になるので右下方向にずれている。 FIG. 16 is a diagram illustrating the case of calculating the average value of differences according to the second embodiment. FIG. 16(A) shows the same ZNCC results as described in FIG. 6. The center is the maximum value. FIG. 16(B) shows the difference from the center (maximum value). In FIG. 16(C), the average value of the differences is calculated. Then, the difference from the center is divided by the average value of the differences. As described above, the direction of deviation is calculated by calculating the sum of the surrounding four pixels including the maximum value. In this example, the total value at the bottom right is the maximum value, so it is shifted toward the bottom right.

本例においては、閾値TH1が、0.65、閾値TH2が0.2とする。右側の画素との差分は0.75、下側の画素との差分が0.4である。800dpiの画像に対するずれ量はx=(9-6)×4=12、y=(6-6)×4+1=1となる。 In this example, the threshold value TH1 is assumed to be 0.65, and the threshold value TH2 is assumed to be 0.2. The difference with the right pixel is 0.75, and the difference with the lower pixel is 0.4. The amount of shift for an 800 dpi image is x=(9-6)×4=12, y=(6-6)×4+1=1.

当該方式により、最大のZNCCと、最大のZNCCの座標の周辺8箇所のZNCCの結果との差分を取り、最大のZNCCの結果とずれている方向のZNCCの結果との差分を差分の平均値で割ることで正規化し、閾値処理することで高解像度化したずれ量を求めることが可能である。すなわち、共通の閾値を用いて算出が可能であるため演算コストを抑えて、簡易な方式で精度の高い位置合わせが可能である。 Using this method, the difference between the maximum ZNCC and the results of the ZNCCs at 8 locations around the coordinates of the maximum ZNCC is calculated, and the difference between the maximum ZNCC result and the ZNCC result in the deviating direction is calculated as the average value of the differences. It is possible to normalize by dividing by , and to obtain a high-resolution shift amount by performing threshold processing. That is, since calculation can be performed using a common threshold value, calculation cost can be suppressed, and highly accurate positioning can be performed using a simple method.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time should be considered to be illustrative in all respects and not restrictive. The scope of the present invention is indicated by the claims rather than the above description, and it is intended that all changes within the meaning and range equivalent to the claims are included.

1 画像検査装置、2 読取装置、3 読取画像取得部、4 基準画像取得部、5 位置合わせ算出部、6 位置合わせ補正部、8 画像検査部、9 エッジ領域補正部、10 感光体、11 帯電装置、13 露光装置、14 現像器、15C,15K,15M,15Y トナーボトル、25 プリンター、30 転写ベルト、31 一次転写ローラー、35 給紙機構、38 従動ローラー、39 駆動ローラー、40 タイミングローラー、41 搬送経路、60 定着器、101 制御装置、102 ROM、103 RAM、104 ネットワークインターフェイス、105 表示パネル、106 マイク、110 記憶装置。 1 image inspection device, 2 reading device, 3 read image acquisition unit, 4 reference image acquisition unit, 5 alignment calculation unit, 6 alignment correction unit, 8 image inspection unit, 9 edge area correction unit, 10 photoreceptor, 11 charging Device, 13 Exposure device, 14 Developing device, 15C, 15K, 15M, 15Y Toner bottle, 25 Printer, 30 Transfer belt, 31 Primary transfer roller, 35 Paper feeding mechanism, 38 Followed roller, 39 Drive roller, 40 Timing roller, 41 transport path, 60 fixing device, 101 control device, 102 ROM, 103 RAM, 104 network interface, 105 display panel, 106 microphone, 110 storage device.

Claims (9)

印刷物を読み取った読取画像を取得する画像取得部と、
前記印刷物の検査基準となる基準画像を取得する基準画像取得部と、
第1解像度の前記読取画像と前記基準画像とを探索範囲内でずらし、ずらした状態の前記読取画像と前記基準画像との類似度に基づいて、前記第1解像度の前記読取画像と前記基準画像との第1位置ずれ量を算出し、算出結果に基づいて前記第1解像度よりも高解像度の第2解像度の前記読取画像と前記基準画像との第2位置ずれ量を算出する位置合わせ算出部と、
算出した第2位置ずれ量に基づいて、前記第1解像度から前記第2解像度に変換後の前記読取画像と前記基準画像との位置合わせをする位置合わせ補正部と、
前記位置合わせ部による位置合わせ後に前記第1解像度の前記読取画像と前記基準画像との差分画像に基づいて検査する差分検査部とを備える、画像検査装置。
an image acquisition unit that acquires a read image of the printed matter;
a reference image acquisition unit that acquires a reference image that serves as an inspection reference for the printed matter;
The read image at the first resolution and the reference image are shifted within a search range, and the read image at the first resolution and the reference image are determined based on the degree of similarity between the shifted read image and the reference image. an alignment calculation unit that calculates a first positional deviation amount between the reference image and the read image at a second resolution higher than the first resolution based on the calculation result; and,
an alignment correction unit that aligns the read image after conversion from the first resolution to the second resolution and the reference image based on the calculated second positional deviation amount;
An image inspection apparatus comprising: a difference inspection section that inspects based on a difference image between the read image of the first resolution and the reference image after alignment by the alignment section.
前記位置合わせ算出部は、前記読取画像と前記基準画像との類似度のうちの最大の類似度とその周辺の類似度との差分値を算出し、算出結果に基づいて前記第2位置ずれ量を算出する、請求項1記載の画像検査装置。 The alignment calculation unit calculates a difference value between the maximum similarity among the similarities between the read image and the reference image and the similarity around it, and calculates the second positional deviation amount based on the calculation result. The image inspection apparatus according to claim 1, which calculates . 前記位置合わせ算出部は、前記差分値と比較する複数の閾値を有し、
前記差分値と前記複数の閾値のうちの1つの閾値との比較結果に基づいて前記第1位置ずれ量をそのまま利用する、請求項1記載の画像検査装置。
The alignment calculation unit has a plurality of threshold values to be compared with the difference value,
The image inspection apparatus according to claim 1, wherein the first positional deviation amount is used as it is based on a comparison result between the difference value and one of the plurality of threshold values.
前記位置合わせ補正部は、前記読取画像あるいは前記基準画像の一方をずらして位置合わせする、請求項1記載の画像検査装置。 The image inspection apparatus according to claim 1, wherein the alignment correction section aligns one of the read image or the reference image by shifting it. 前記位置合わせ算出部は、バイリニア補間、またはバイキュービック補間により前記第1解像度から第2解像度に変換する、請求項1記載の画像検査装置。 The image inspection apparatus according to claim 1, wherein the alignment calculation unit converts the first resolution to the second resolution by bilinear interpolation or bicubic interpolation. 前記位置合わせ算出部は、
前記第1解像度の読取画像と前記基準画像との全体の位置合わせをし、全体の位置合わせ後の全体の読取画像および前記基準画像を複数の領域にそれぞれ分割し、
分割された領域毎に、第1解像度の前記読取画像と前記基準画像とを探索範囲内でずらし、ずらした状態の前記読取画像と前記基準画像との類似度に基づいて、前記第1解像度の前記読取画像と前記基準画像との第1位置ずれ量を算出し、算出結果に基づいて前記第1解像度よりも高解像度の第2解像度の前記読取画像と前記基準画像との第2位置ずれ量を算出する、請求項1記載の画像検査装置。
The alignment calculation unit includes:
Aligning the entire read image of the first resolution with the reference image, dividing the entire read image after the overall alignment and the reference image into a plurality of regions,
For each divided area, the read image at the first resolution and the reference image are shifted within the search range, and the image at the first resolution is determined based on the similarity between the shifted read image and the reference image. A first positional deviation amount between the read image and the reference image is calculated, and a second positional deviation amount between the read image at a second resolution higher than the first resolution and the reference image based on the calculation result. The image inspection apparatus according to claim 1, which calculates .
前記基準画像から濃度変動の大きい領域を抽出したエッジ領域を生成するエッジ領域生成部をさらに備える、請求項1記載の画像検査装置。 The image inspection apparatus according to claim 1, further comprising an edge region generation unit that generates an edge region by extracting a region with a large density variation from the reference image. 前記検査部は、前記エッジ領域において閾値を調整する、請求項7記載の画像検査装置。 The image inspection apparatus according to claim 7, wherein the inspection section adjusts a threshold value in the edge area. 前記エッジ領域生成部は、前記読取画像の歪み量に基づいて、前記エッジ領域の幅を調整する、請求項7記載の画像検査装置。 The image inspection apparatus according to claim 7, wherein the edge area generation unit adjusts the width of the edge area based on the amount of distortion of the read image.
JP2020082347A 2020-05-08 2020-05-08 Image inspection device Active JP7413917B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020082347A JP7413917B2 (en) 2020-05-08 2020-05-08 Image inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020082347A JP7413917B2 (en) 2020-05-08 2020-05-08 Image inspection device

Publications (2)

Publication Number Publication Date
JP2021177140A JP2021177140A (en) 2021-11-11
JP7413917B2 true JP7413917B2 (en) 2024-01-16

Family

ID=78409380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020082347A Active JP7413917B2 (en) 2020-05-08 2020-05-08 Image inspection device

Country Status (1)

Country Link
JP (1) JP7413917B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009047458A (en) 2007-08-14 2009-03-05 Toray Ind Inc Circuit pattern inspection device and inspection method
JP2013186562A (en) 2012-03-06 2013-09-19 Ricoh Co Ltd Image detection apparatus and method
JP2016209201A (en) 2015-05-01 2016-12-15 キヤノン株式会社 Image generation apparatus, image generation method, and program
JP2018155736A (en) 2017-03-16 2018-10-04 株式会社リコー Inspection device, inspection system, method for inspection, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009047458A (en) 2007-08-14 2009-03-05 Toray Ind Inc Circuit pattern inspection device and inspection method
JP2013186562A (en) 2012-03-06 2013-09-19 Ricoh Co Ltd Image detection apparatus and method
JP2016209201A (en) 2015-05-01 2016-12-15 キヤノン株式会社 Image generation apparatus, image generation method, and program
JP2018155736A (en) 2017-03-16 2018-10-04 株式会社リコー Inspection device, inspection system, method for inspection, and program

Also Published As

Publication number Publication date
JP2021177140A (en) 2021-11-11

Similar Documents

Publication Publication Date Title
US10404877B2 (en) Image inspection apparatus, image inspection system, and method for determining image position
US8780378B2 (en) Inspection apparatus, inspection method, inspection system, and storage medium
JP7211238B2 (en) Edge detection device, tilt correction device, reading device, image processing device, and edge detection method
US20090268264A1 (en) Image processing apparatus, image scanning apparatus, and image processing method
JP3859951B2 (en) Color image processing method
JP6233393B2 (en) Document inclination amount detection apparatus and image processing apparatus
JP2010011360A (en) Image processor, image reading device, image forming apparatus, image processing method, image processing program, and recording medium
US11606467B2 (en) Information processing apparatus, output method, and non-transitory computer-readable storage medium which highlights an abnormality before correction
US9826118B2 (en) Image formation apparatus
JP6489433B2 (en) Image forming apparatus, image inspection method, and image inspection program
JP6607019B2 (en) Document inclination amount detection apparatus and image processing apparatus
JP2013200585A (en) Image inspection device, image inspection system, and program
US20190158682A1 (en) Multi-function printing (mfp) device calibration
US20200286218A1 (en) Image inspecting apparatus and image forming system
JP7413917B2 (en) Image inspection device
JP2012227569A (en) Image processing apparatus, image forming apparatus, computer program, recording medium and image processing method
JP3923293B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP4285253B2 (en) Image inspection device with tilt detection function
JP4188039B2 (en) Image processing apparatus, image processing method, and image reading apparatus, image forming apparatus, program, and recording medium including the same
JP2004356863A (en) Image reader
US20230066402A1 (en) Inspection system, inspection apparatus, method of controlling the same, and storage medium
US20230401695A1 (en) Inspection apparatus, method of controlling the same, and storage medium
US20230239412A1 (en) Inspection apparatus, method of controlling the same, and storage medium
JP6287379B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP7159878B2 (en) Image processing device, image processing method and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230216

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231122

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231128

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231211

R150 Certificate of patent or registration of utility model

Ref document number: 7413917

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150