JP2018155736A - Inspection device, inspection system, method for inspection, and program - Google Patents

Inspection device, inspection system, method for inspection, and program Download PDF

Info

Publication number
JP2018155736A
JP2018155736A JP2018010996A JP2018010996A JP2018155736A JP 2018155736 A JP2018155736 A JP 2018155736A JP 2018010996 A JP2018010996 A JP 2018010996A JP 2018010996 A JP2018010996 A JP 2018010996A JP 2018155736 A JP2018155736 A JP 2018155736A
Authority
JP
Japan
Prior art keywords
inspection
edge region
unit
region
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018010996A
Other languages
Japanese (ja)
Other versions
JP7206595B2 (en
Inventor
仁美 金子
Hitomi Kaneko
仁美 金子
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to US15/920,494 priority Critical patent/US10657635B2/en
Publication of JP2018155736A publication Critical patent/JP2018155736A/en
Application granted granted Critical
Publication of JP7206595B2 publication Critical patent/JP7206595B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To increase the accuracy of detection near an edge region under any printing circumstances.SOLUTION: The present invention includes: a reference image acquisition unit 255 for acquiring a reference image as the reference of inspection of a printed material; a reading image acquisition unit 253 for acquiring a reading image which read the printed material; a differential image generation unit 257 for generating a differential image showing the difference between the reference image and the reading image; an edge region extraction region 259 for extracting an edge region from the reference image; a near-by region detection unit 261 for detecting a near-by region near the edge region; a threshold value correction region 265 for correcting an inspection threshold value for each of the pixels forming the edge region or forming the near-by region on the basis of the concentration of the pixels, the concentration of one or more noted pixel of the pixels, and the distances between the pixels and each of the noted pixels; and an inspection unit 269 for inspecting the printed material on the basis of the differential image and the inspection threshold value.SELECTED DRAWING: Figure 4

Description

本発明は、検査装置、検査システム、検査方法及びプログラムに関する。   The present invention relates to an inspection apparatus, an inspection system, an inspection method, and a program.

プロダクションプリンティングなど高品質が要求される印刷では、印刷物に対する品質検査が要求されている。例えば、印刷物の検査基準となる基準画像と印刷物を電気的に読み取ることで生成した読取画像との差分を、欠陥検査用の検査閾値と比較することで、印刷物上に存在する欠陥を検出し、検出した欠陥に基づいて印刷物の品質を検査する検査装置が知られている。   In printing that requires high quality such as production printing, quality inspection for printed matter is required. For example, by detecting a difference between a reference image serving as an inspection reference for a printed matter and a read image generated by electrically reading the printed matter with an inspection threshold for defect inspection, a defect existing on the printed matter is detected, An inspection apparatus that inspects the quality of a printed material based on a detected defect is known.

ところで、読取画像は、印刷物を電気的に読み取ることで生成されるため、印刷物を生成する際の印刷誤差や、印刷物を読み取る際の読取誤差の影響で、読取画像毎に微細なズレが生じてしまう。このため、同一の内容が印刷された複数の印刷物それぞれから読取画像を生成した場合であっても、読取画像中の同一位置における画素が読取画像毎に異なってしまい、読取画像中の同一位置における画素値にバラツキが生じてしまう。特に、エッジ領域など濃度が急激に変化する部分においては、画素値のバラツキが大きくなってしまう。   By the way, since the read image is generated by electrically reading the printed material, a fine deviation occurs for each read image due to the printing error when generating the printed material and the reading error when reading the printed material. End up. For this reason, even when a read image is generated from each of a plurality of printed materials on which the same content is printed, the pixels at the same position in the read image differ from one read image to another at the same position in the read image. The pixel value varies. In particular, in a portion where the density changes abruptly, such as an edge region, variation in pixel values becomes large.

このような事情を考慮せずに、基準画像と読取画像とのエッジ領域などにおける差分を検査閾値と比較して欠陥検出を行うと、誤検出(過検出)が行われてしまう可能性がある。このため、一般的には、検査閾値を緩和してエッジ領域近傍での欠陥検出を行うことが多いが、エッジ領域近傍の状態を考慮せずに検査閾値を緩和すると、検査閾値を緩和しすぎて、エッジ領域近傍で発生した欠陥を見落としてしまったり、検査閾値の緩和が足りず、エッジ領域近傍で発生した欠陥を過検出してしまったりするおそれがある。   If such a situation is not taken into consideration and defect detection is performed by comparing the difference in the edge region between the reference image and the read image with the inspection threshold, there is a possibility that erroneous detection (overdetection) may be performed. . For this reason, in general, defect detection is often performed near the edge region by relaxing the inspection threshold. However, if the inspection threshold is relaxed without considering the state near the edge region, the inspection threshold is excessively relaxed. Thus, there is a possibility that a defect occurring near the edge region may be overlooked, or the inspection threshold value may not be relaxed, and a defect occurring near the edge region may be overdetected.

ここで、例えば特許文献1には、複数の読取画像からエッジ領域近傍の濃度のゆらぎを検出し、この検出した濃度のゆらぎに基づいて検査閾値を緩和することで、エッジ領域近傍の状態に合わせて検査閾値を緩和し、エッジ領域近傍での検査精度を向上させる手法が提案されている。   Here, for example, in Patent Document 1, density fluctuations in the vicinity of an edge area are detected from a plurality of read images, and an inspection threshold is relaxed based on the detected density fluctuations, thereby matching the state near the edge area. A method has been proposed in which the inspection threshold is relaxed and the inspection accuracy near the edge region is improved.

しかしながら、上述したような従来技術では、エッジ領域近傍の濃度のゆらぎを検出するために相応の数の読取画像が必要になるため、同一の内容が印刷された印刷物を相応の枚数用意する必要がある。このため、バリアブル印刷など同一の内容が印刷された印刷物を少数しか生産しないような印刷環境での検査には適さない。   However, in the conventional technology as described above, a corresponding number of read images are required to detect density fluctuations in the vicinity of the edge region, and therefore it is necessary to prepare a corresponding number of printed materials on which the same contents are printed. is there. For this reason, it is not suitable for inspection in a printing environment in which only a small number of printed materials having the same content printed, such as variable printing, are produced.

本発明は、上記事情に鑑みてなされたものであり、印刷環境によらず、エッジ領域近傍での検査精度を向上させることができる検査装置、検査システム、検査方法及びプログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an inspection apparatus, an inspection system, an inspection method, and a program capable of improving inspection accuracy in the vicinity of an edge region regardless of a printing environment. And

上述した課題を解決し、目的を達成するために、本発明の一態様にかかる検査装置は、印刷物の検査基準となる基準画像を取得する基準画像取得部と、前記印刷物を読み取った読取画像を取得する読取画像取得部と、前記基準画像取得部が取得した前記基準画像と、前記読取画像取得部が取得した前記読取画像との差分を示す差分画像を生成する差分画像生成部と、前記基準画像取得部が取得した前記基準画像からエッジ領域を抽出するエッジ領域抽出部と、前記エッジ領域抽出部が抽出した前記エッジ領域の近傍に位置する近傍領域を検出する近傍領域検出部と、前記エッジ領域抽出部が抽出した前記エッジ領域または前記近傍領域検出部が検出した前記近傍領域のいずれかの領域を構成する画素については、当該画素の濃度と、当該画素に対する着目対象であって前記エッジ領域または前記近傍領域のいずれかに位置する1以上の着目画素の濃度と、当該画素と当該1以上のそれぞれの着目画素との距離と、に基づいて、検査用の検査閾値を補正する閾値補正部と、前記差分生成部が生成した前記差分画像と前記閾値補正部で補正された前記検査閾値とに基づいて、前記印刷物を検査する検査部と、を備える。   In order to solve the above-described problems and achieve the object, an inspection apparatus according to an aspect of the present invention includes a reference image acquisition unit that acquires a reference image that is an inspection reference for a printed matter, and a read image obtained by reading the printed matter. A read image acquisition unit to acquire, a reference image acquired by the reference image acquisition unit, a difference image generation unit that generates a difference image indicating a difference between the read image acquired by the read image acquisition unit, and the reference An edge region extraction unit that extracts an edge region from the reference image acquired by the image acquisition unit, a neighborhood region detection unit that detects a neighborhood region located in the vicinity of the edge region extracted by the edge region extraction unit, and the edge For the pixels constituting either the edge region extracted by the region extracting unit or the neighboring region detected by the neighboring region detecting unit, the density of the pixel and the pixel For inspection based on the density of one or more pixels of interest that are the object of interest and located in either the edge region or the neighboring region, and the distance between the pixel and the one or more pixels of interest A threshold correction unit that corrects the inspection threshold, and an inspection unit that inspects the printed matter based on the difference image generated by the difference generation unit and the inspection threshold corrected by the threshold correction unit.

本発明によれば、印刷環境によらず、エッジ領域近傍での検査精度を向上させることができるという効果を奏する。   According to the present invention, it is possible to improve the inspection accuracy in the vicinity of the edge region regardless of the printing environment.

図1は、本実施形態の印刷物検査システムの一例を示す模式図である。FIG. 1 is a schematic diagram illustrating an example of a printed matter inspection system according to the present embodiment. 図2は、本実施形態の印刷装置のハードウェア構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a hardware configuration of the printing apparatus according to the present embodiment. 図3は、本実施形態の印刷物検査装置のハードウェア構成の一例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of a hardware configuration of the printed matter inspection apparatus according to the present embodiment. 図4は、本実施形態の印刷装置及び印刷物検査装置の構成の一例を示すブロック図である。FIG. 4 is a block diagram illustrating an example of the configuration of the printing apparatus and the printed matter inspection apparatus according to the present embodiment. 図5は、本実施形態のエッジ画像上におけるエッジ領域及び近傍領域の一例を示す図である。FIG. 5 is a diagram illustrating an example of an edge region and a neighboring region on the edge image according to the present embodiment. 図6は、本実施形態の検査閾値画像の一例を示す図である。FIG. 6 is a diagram illustrating an example of an inspection threshold image according to the present embodiment. 図7は、本実施形態の印刷装置で行われる処理の手順の流れの一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an example of a procedure flow of processing performed by the printing apparatus according to the present embodiment. 図8は、本実施形態の印刷物検査装置で行われる処理の手順の流れの一例を示すフローチャートである。FIG. 8 is a flowchart illustrating an example of a flow of processing performed by the printed matter inspection apparatus according to the present embodiment.

以下、添付図面を参照しながら、本発明にかかる検査装置、検査システム、検査方法及びプログラムの実施形態を詳細に説明する。   Hereinafter, embodiments of an inspection apparatus, an inspection system, an inspection method, and a program according to the present invention will be described in detail with reference to the accompanying drawings.

図1は、本実施形態の印刷物検査システム1の一例を示す模式図である。図1に示すように、印刷物検査システム1は、印刷装置100(画像形成装置の一例)と、印刷物検査装置200(検査装置の一例)と、スタッカ300と、を備える。   FIG. 1 is a schematic diagram illustrating an example of a printed matter inspection system 1 according to the present embodiment. As shown in FIG. 1, the printed matter inspection system 1 includes a printing apparatus 100 (an example of an image forming apparatus), a printed matter inspection apparatus 200 (an example of an inspection apparatus), and a stacker 300.

印刷装置100は、オペレーションパネル101と、感光体ドラム103Y、103M、103C、103Kと、転写ベルト105と、二次転写ローラ107と、給紙部109と、搬送ローラ対111と、定着ローラ113と、反転パス115とを備える。   The printing apparatus 100 includes an operation panel 101, photosensitive drums 103Y, 103M, 103C, and 103K, a transfer belt 105, a secondary transfer roller 107, a paper feeding unit 109, a conveyance roller pair 111, and a fixing roller 113. , And an inversion path 115.

オペレーションパネル101は、印刷装置100に対して各種操作入力を行ったり、各種画面を表示したりする操作表示部である。   The operation panel 101 is an operation display unit that performs various operation inputs to the printing apparatus 100 and displays various screens.

感光体ドラム103Y、103M、103C、103Kは、それぞれ、作像プロセス(帯電工程、露光工程、現像工程、転写工程、及びクリーニング工程)が行われることによりトナー像が形成され、形成されたトナー像を転写ベルト105に転写する。本実施形態では、感光体ドラム103Y上にイエロートナー像が形成され、感光体ドラム103M上にマゼンタトナー像が形成され、感光体ドラム103C上にシアントナー像が形成され、感光体ドラム103K上にブラックトナー像が形成されるものとするが、これに限定されるものではない。   Each of the photosensitive drums 103Y, 103M, 103C, and 103K forms a toner image by performing an image forming process (charging process, exposure process, developing process, transfer process, and cleaning process), and the formed toner image. Is transferred to the transfer belt 105. In this embodiment, a yellow toner image is formed on the photoreceptor drum 103Y, a magenta toner image is formed on the photoreceptor drum 103M, a cyan toner image is formed on the photoreceptor drum 103C, and the photoreceptor drum 103K is formed. Although a black toner image is formed, the present invention is not limited to this.

転写ベルト105は、感光体ドラム103Y、103M、103C、及び103Kから重畳して転写されたトナー像(フルカラーのトナー画像)を二次転写ローラ107の二次転写位置に搬送する。本実施形態では、転写ベルト105には、まず、イエロートナー像が転写され、続いて、マゼンタトナー像、シアントナー像、ブラックトナー像が順次重畳して転写されるものとするが、これに限定されるものではない。   The transfer belt 105 conveys the toner image (full color toner image) transferred from the photosensitive drums 103Y, 103M, 103C, and 103K to the secondary transfer position of the secondary transfer roller 107. In this embodiment, a yellow toner image is first transferred to the transfer belt 105, and then a magenta toner image, a cyan toner image, and a black toner image are sequentially superimposed and transferred. Is not to be done.

給紙部109は、複数の記録媒体が重ね合わせて収容されており、記録媒体を給紙する。記録媒体としては、例えば、記録紙が挙げられるが、これに限定されず、例えば、コート紙、厚紙、OHP(Overhead Projector)シート、プラスチックフィルム、プリプレグ、及び銅箔など画像を記録可能な媒体であればどのようなものであってもよい。   The paper feeding unit 109 accommodates a plurality of recording media in an overlapping manner, and feeds the recording media. Examples of the recording medium include, but are not limited to, recording paper. Examples of the recording medium include media capable of recording images, such as coated paper, cardboard, OHP (Overhead Projector) sheet, plastic film, prepreg, and copper foil. Anything is acceptable.

搬送ローラ対111は、給紙部109により給紙された記録媒体を搬送路a上で矢印s方向に搬送する。   The transport roller pair 111 transports the recording medium fed by the paper feed unit 109 in the direction of arrow s on the transport path a.

二次転写ローラ107は、転写ベルト105により搬送されたフルカラーのトナー画像を、搬送ローラ対111により搬送された記録媒体上に二次転写位置で一括転写する。   The secondary transfer roller 107 collectively transfers the full-color toner image conveyed by the transfer belt 105 onto the recording medium conveyed by the conveyance roller pair 111 at the secondary transfer position.

定着ローラ113は、フルカラーのトナー画像が転写された記録媒体を加熱及び加圧することにより、フルカラーのトナー画像を記録媒体に定着する。   The fixing roller 113 fixes the full-color toner image on the recording medium by heating and pressing the recording medium on which the full-color toner image is transferred.

印刷装置100は、片面印刷の場合、フルカラーのトナー画像が定着された記録媒体である印刷物を印刷物検査装置200へ排紙する。一方、印刷装置100は、両面印刷の場合、フルカラーのトナー画像が定着された記録媒体を反転パス115へ送る。   In the case of single-sided printing, the printing apparatus 100 discharges a printed material, which is a recording medium on which a full-color toner image is fixed, to the printed material inspection apparatus 200. On the other hand, in the case of duplex printing, the printing apparatus 100 sends a recording medium on which a full-color toner image is fixed to the reverse path 115.

反転パス115は、送られた記録媒体をスイッチバックすることにより記録媒体の表面・裏面を反転して矢印t方向に搬送する。反転パス115により搬送された記録媒体は、搬送ローラ対111により再搬送され、二次転写ローラ107により前回と逆側の面にフルカラーのトナー画像が転写され、定着ローラ113により定着され、印刷物として、印刷物検査装置200へ排紙される。   The reverse path 115 reverses the front and back surfaces of the recording medium by switching back the sent recording medium and conveys it in the direction of the arrow t. The recording medium conveyed by the reversing path 115 is re-conveyed by the conveying roller pair 111, the full-color toner image is transferred to the surface opposite to the previous one by the secondary transfer roller 107, fixed by the fixing roller 113, and printed. The paper is discharged to the printed product inspection apparatus 200.

印刷物検査装置200は、読取部201と、オペレーションパネル203と、を備える。   The printed matter inspection apparatus 200 includes a reading unit 201 and an operation panel 203.

オペレーションパネル203は、印刷物検査装置200に対して各種操作入力を行ったり、各種画面を表示したりする操作表示部である。なお、オペレーションパネル203を省略してもよい。この場合、オペレーションパネル101がオペレーションパネル203を兼ねるようにしてもよいし、外部接続されたPC(Personal Computer)がオペレーションパネル203を兼ねるようにしてもよい。   The operation panel 203 is an operation display unit that inputs various operations to the printed material inspection apparatus 200 and displays various screens. Note that the operation panel 203 may be omitted. In this case, the operation panel 101 may also serve as the operation panel 203, or an externally connected PC (Personal Computer) may serve as the operation panel 203.

読取部201は、印刷装置100から排紙された印刷物の一方の面を電気的に読み取る。なお、印刷物検査装置200は、印刷物の他方の面を光学的に読み取る読取部を更に備えるようにしてもよい。この場合、印刷物の他方の面を光学的に読み取る読取部は、読取部201と同様の構成とすればよい。なお、上記印刷物を光学的に読み取る読取部としては、例えば、CCD(Charged-coupled devices)やCMOS(Complementary metal-oxide-semiconductor)等の撮像素子を内蔵したラインセンサまたはスキャナなどの構成によって実現される。   The reading unit 201 electrically reads one surface of the printed matter discharged from the printing apparatus 100. The printed matter inspection apparatus 200 may further include a reading unit that optically reads the other surface of the printed matter. In this case, the reading unit that optically reads the other surface of the printed material may have the same configuration as the reading unit 201. The reading unit that optically reads the printed matter is realized by, for example, a configuration of a line sensor or a scanner with a built-in imaging device such as a CCD (Charged-coupled devices) or a CMOS (Complementary metal-oxide-semiconductor). The

そして、印刷物検査装置200は、読み取りが完了した印刷物をスタッカ300へ排紙する。   Then, the printed matter inspection apparatus 200 discharges the printed matter that has been read to the stacker 300.

スタッカ300は、トレイ311を備える。スタッカ300は、印刷物検査装置200により排紙された印刷物をトレイ311にスタックする。   The stacker 300 includes a tray 311. The stacker 300 stacks the printed materials discharged by the printed material inspection apparatus 200 on the tray 311.

図2は、本実施形態の印刷装置100のハードウェア構成の一例を示すブロック図である。図2に示すように、印刷装置100は、コントローラ810とエンジン部(Engine)860とをPCIバスで接続した構成となる。コントローラ810は、印刷装置100の全体の制御、描画、通信、及び操作表示部820からの入力を制御するコントローラである。エンジン部860は、PCIバスに接続可能なエンジンであり、例えば、プロッタ等のプリントエンジンなどである。エンジン部860には、エンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分も含まれる。   FIG. 2 is a block diagram illustrating an example of a hardware configuration of the printing apparatus 100 according to the present embodiment. As shown in FIG. 2, the printing apparatus 100 has a configuration in which a controller 810 and an engine unit (Engine) 860 are connected by a PCI bus. The controller 810 is a controller that controls the entire control of the printing apparatus 100, drawing, communication, and input from the operation display unit 820. The engine unit 860 is an engine that can be connected to the PCI bus, and is, for example, a print engine such as a plotter. The engine unit 860 includes an image processing part such as error diffusion and gamma conversion in addition to the engine part.

コントローラ810は、CPU(Central Processing Unit)811と、ノースブリッジ(NB)813と、システムメモリ(MEM−P)812と、サウスブリッジ(SB)814と、ローカルメモリ(MEM−C)817と、ASIC(Application Specific Integrated Circuit)816と、ハードディスクドライブ(HDD)818とを有し、ノースブリッジ(NB)813とASIC816との間をAGP(Accelerated Graphics Port)バス815で接続した構成となる。また、MEM−P812は、ROM812aと、RAM812bとをさらに有する。   The controller 810 includes a CPU (Central Processing Unit) 811, a North Bridge (NB) 813, a system memory (MEM-P) 812, a South Bridge (SB) 814, a local memory (MEM-C) 817, and an ASIC. (Application Specific Integrated Circuit) 816 and a hard disk drive (HDD) 818, and the North Bridge (NB) 813 and the ASIC 816 are connected by an AGP (Accelerated Graphics Port) bus 815. The MEM-P 812 further includes a ROM 812a and a RAM 812b.

CPU811は、印刷装置100の全体制御を行うものであり、NB813、MEM−P812およびSB814からなるチップセットを有し、このチップセットを介して他の機器と接続される。   The CPU 811 performs overall control of the printing apparatus 100, has a chip set including the NB 813, the MEM-P 812, and the SB 814, and is connected to other devices via this chip set.

NB813は、CPU811とMEM−P812、SB814、AGPバス815とを接続するためのブリッジであり、MEM−P812に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。   The NB 813 is a bridge for connecting the CPU 811 to the MEM-P 812, SB 814, and the AGP bus 815, and includes a memory controller that controls reading and writing of the MEM-P 812, a PCI master, and an AGP target.

MEM−P812は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM812aとRAM812bとからなる。ROM812aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM812bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。   The MEM-P 812 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a memory for drawing printers, and the like, and includes a ROM 812a and a RAM 812b. The ROM 812a is a read-only memory used as a program / data storage memory, and the RAM 812b is a writable / readable memory used as a program / data development memory, a printer drawing memory, or the like.

SB814は、NB813とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB814は、PCIバスを介してNB813と接続されており、このPCIバスには、ネットワークインタフェース(I/F)部なども接続される。   The SB 814 is a bridge for connecting the NB 813 to a PCI device and peripheral devices. The SB 814 is connected to the NB 813 via a PCI bus, and a network interface (I / F) unit and the like are also connected to the PCI bus.

ASIC816は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGPバス815、PCIバス、HDD818およびMEM−C817をそれぞれ接続するブリッジの役割を有する。このASIC816は、PCIターゲットおよびAGPマスタと、ASIC816の中核をなすアービタ(ARB)と、MEM−C817を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などをおこなう複数のDMAC(Direct Memory Access Controller)と、エンジン部860との間でPCIバスを介したデータ転送をおこなうPCIユニットとからなる。このASIC816には、PCIバスを介してUSB840、IEEE1394(the Institute of Electrical and Electronics Engineers 1394)インタフェース(I/F)850が接続される。操作表示部820はASIC816に直接接続されている。   The ASIC 816 is an IC (Integrated Circuit) for image processing applications having hardware elements for image processing, and has a role of a bridge for connecting the AGP bus 815, the PCI bus, the HDD 818, and the MEM-C 817. The ASIC 816 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 816, a memory controller that controls the MEM-C 817, and a plurality of DMACs (Direct Memory) that rotate image data using hardware logic. Access Controller) and a PCI unit that performs data transfer between the engine unit 860 via the PCI bus. The ASIC 816 is connected to a USB 840 and an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface (I / F) 850 via a PCI bus. The operation display unit 820 is directly connected to the ASIC 816.

MEM−C817は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD818は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。   The MEM-C 817 is a local memory used as a copy image buffer and a code buffer, and the HDD 818 is a storage for storing image data, programs, font data, and forms.

AGPバス815は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P812に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。   The AGP bus 815 is a bus interface for a graphics accelerator card proposed for speeding up graphics processing. The AGP bus 815 speeds up the graphics accelerator card by directly accessing the MEM-P812 with high throughput. It is.

図3は、本実施形態の印刷物検査装置200のハードウェア構成の一例を示すブロック図である。図3に示すように、印刷物検査装置200は、コントローラ910と読取部201のCPU961とをPCIバスで接続した構成となる。コントローラ910は、印刷物検査装置200の全体の制御、描画、通信、及び操作表示部920からの入力を制御するコントローラである。読取部201は、CPU961、メモリ(MEM−P)962を有する。メモリ(MEM−P)962は、ROM962a、RAM962bを有する。CPU961は、ROM962aに格納されているプログラムやデータを読み出し、RAM962bに読み出したプログラムやデータを展開する。なお、読取部201にCPU、ROM、RAMがない場合には、CPU911で印刷物検査装置200の機能を実現してもよい。   FIG. 3 is a block diagram illustrating an example of a hardware configuration of the printed matter inspection apparatus 200 according to the present embodiment. As shown in FIG. 3, the printed matter inspection apparatus 200 has a configuration in which a controller 910 and a CPU 961 of the reading unit 201 are connected by a PCI bus. The controller 910 is a controller that controls the overall control, drawing, communication, and input from the operation display unit 920 of the printed matter inspection apparatus 200. The reading unit 201 includes a CPU 961 and a memory (MEM-P) 962. The memory (MEM-P) 962 includes a ROM 962a and a RAM 962b. The CPU 961 reads the program and data stored in the ROM 962a and expands the program and data read to the RAM 962b. If the reading unit 201 does not have a CPU, ROM, or RAM, the CPU 911 may realize the function of the printed matter inspection apparatus 200.

コントローラ910は、CPU911と、ノースブリッジ(NB)913と、システムメモリ(MEM−P)912と、サウスブリッジ(SB)914と、ローカルメモリ(MEM−C)917と、ASIC916と、ハードディスクドライブ(HDD)918とを有し、ノースブリッジ(NB)913とASIC916との間をAGPバス915で接続した構成となる。また、MEM−P912は、ROM912aと、RAM912bとをさらに有する。   The controller 910 includes a CPU 911, a north bridge (NB) 913, a system memory (MEM-P) 912, a south bridge (SB) 914, a local memory (MEM-C) 917, an ASIC 916, and a hard disk drive (HDD). 918, and the north bridge (NB) 913 and the ASIC 916 are connected by the AGP bus 915. The MEM-P 912 further includes a ROM 912a and a RAM 912b.

CPU911は、印刷物検査装置200の全体制御を行うものであり、NB913、MEM−P912およびSB914からなるチップセットを有し、このチップセットを介して他の機器と接続される。   The CPU 911 performs overall control of the printed matter inspection apparatus 200, has a chip set including the NB 913, the MEM-P 912, and the SB 914, and is connected to other devices via the chip set.

NB913は、CPU911とMEM−P912、SB914、AGPバス915とを接続するためのブリッジであり、MEM−P912に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。   The NB 913 is a bridge for connecting the CPU 911 to the MEM-P 912, SB 914, and the AGP bus 915, and includes a memory controller that controls reading and writing to the MEM-P 912, a PCI master, and an AGP target.

MEM−P912は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM912aとRAM912bとからなる。ROM912aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM912bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。   The MEM-P 912 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a memory for drawing printers, and the like, and includes a ROM 912a and a RAM 912b. The ROM 912a is a read-only memory used as a memory for storing programs and data, and the RAM 912b is a writable and readable memory used as a program / data development memory, a printer drawing memory, and the like.

SB914は、NB913とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB914は、PCIバスを介してNB913と接続されており、このPCIバスには、ネットワークインタフェース(I/F)部なども接続される。   The SB 914 is a bridge for connecting the NB 913 to a PCI device and a peripheral device. The SB 914 is connected to the NB 913 via a PCI bus, and a network interface (I / F) unit and the like are also connected to the PCI bus.

ASIC916は、画像処理用のハードウェア要素を有する画像処理用途向けのICであり、AGPバス915、PCIバス、HDD918およびMEM−C917をそれぞれ接続するブリッジの役割を有する。このASIC916は、PCIターゲットおよびAGPマスタと、ASIC916の中核をなすアービタ(ARB)と、MEM−C917を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などをおこなう複数のDMACと、CPU961との間でPCIバスを介したデータ転送をおこなうPCIユニットとからなる。このASIC916には、PCIバスを介してUSB940、IEEE1394インタフェース(I/F)950が接続される。操作表示部920はASIC916に直接接続されている。   The ASIC 916 is an IC for image processing that includes hardware elements for image processing, and has a role of a bridge that connects the AGP bus 915, the PCI bus, the HDD 918, and the MEM-C 917. The ASIC 916 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 916, a memory controller that controls the MEM-C 917, a plurality of DMACs that rotate image data using hardware logic, and the like. And a PCI unit that performs data transfer via the PCI bus. The ASIC 916 is connected to a USB 940 and an IEEE 1394 interface (I / F) 950 via a PCI bus. The operation display unit 920 is directly connected to the ASIC 916.

MEM−C917は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD918は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。   The MEM-C 917 is a local memory used as a copy image buffer and a code buffer, and the HDD 918 is a storage for storing image data, programs, font data, and forms.

AGPバス915は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P912に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。   The AGP bus 915 is a bus interface for a graphics accelerator card proposed for speeding up graphics processing. The AGP bus 915 speeds up the graphics accelerator card by directly accessing the MEM-P 912 with high throughput. It is.

本実施形態では、印刷物検査装置200が印刷物検査専用の装置である場合のハードウェア構成を例に取り説明したが、これに限定されるものではない。例えば、印刷物検査装置200をPC(Personal Computer)などの汎用のコンピュータで実現する場合には、汎用のコンピュータを利用したハードウェア構成で実現できる。   In the present embodiment, the hardware configuration in the case where the printed matter inspection apparatus 200 is an apparatus dedicated to printed matter inspection has been described as an example, but the present invention is not limited to this. For example, when the printed matter inspection apparatus 200 is realized by a general-purpose computer such as a PC (Personal Computer), it can be realized by a hardware configuration using a general-purpose computer.

図4は、本実施形態の印刷装置100及び印刷物検査装置200の構成の一例を示すブロック図である。図4に示すように、印刷装置100は、RIP(Raster Image Processor)部121と、印刷制御部123と、印刷部125と、を備える。印刷物検査装置200は、読取部251と、読取画像取得部253と、基準画像取得部255と、差分画像生成部257と、エッジ領域抽出部259と、近傍領域検出部261と、検査閾値記憶部263と、閾値補正部265と、検査閾値画像生成部267と、検査部269と、を含む。   FIG. 4 is a block diagram illustrating an example of the configuration of the printing apparatus 100 and the printed matter inspection apparatus 200 according to the present embodiment. As illustrated in FIG. 4, the printing apparatus 100 includes a RIP (Raster Image Processor) unit 121, a print control unit 123, and a printing unit 125. The printed matter inspection apparatus 200 includes a reading unit 251, a read image acquisition unit 253, a reference image acquisition unit 255, a difference image generation unit 257, an edge region extraction unit 259, a neighborhood region detection unit 261, and an inspection threshold storage unit. 263, a threshold correction unit 265, an inspection threshold image generation unit 267, and an inspection unit 269.

なお、本実施形態では、印刷装置100が、RIP部121を備える場合を例に取り説明するが、これに限定されず、DFE(Digital Front End)など印刷装置100とは異なる装置がRIP部121を備えるようにしてもよい。   In the present embodiment, the case where the printing apparatus 100 includes the RIP unit 121 will be described as an example. However, the present invention is not limited to this, and an apparatus different from the printing apparatus 100 such as DFE (Digital Front End) is used. You may make it provide.

また本実施形態では、印刷装置100と印刷物検査装置200とは、USB(Universal Serial Bus)やPCIe(Peripheral Component Interconnect Express)等のローカルなインタフェースによって接続されていることを想定しているが、印刷装置100と印刷物検査装置200との接続形態は、これに限定されるものではない。   In this embodiment, it is assumed that the printing apparatus 100 and the printed matter inspection apparatus 200 are connected by a local interface such as USB (Universal Serial Bus) or PCIe (Peripheral Component Interconnect Express). The connection form between the apparatus 100 and the printed matter inspection apparatus 200 is not limited to this.

RIP部121及び印刷制御部123は、例えば、CPU811及びシステムメモリ812などにより実現できる。印刷部125は、例えば、感光体ドラム103Y、103M、103C、103K、転写ベルト105、二次転写ローラ107、及び定着ローラ113などにより実現されるが、これに限定されるものではない。このように本実施形態では、電子写真方式で画像を印刷するが、これに限定されず、インクジェット方式で画像を印刷するようにしてもよい。   The RIP unit 121 and the print control unit 123 can be realized by the CPU 811 and the system memory 812, for example. The printing unit 125 is realized by, for example, the photosensitive drums 103Y, 103M, 103C, and 103K, the transfer belt 105, the secondary transfer roller 107, and the fixing roller 113, but is not limited thereto. As described above, in this embodiment, an image is printed by an electrophotographic method, but the present invention is not limited to this, and an image may be printed by an inkjet method.

読取部251は、読取部201で構成され、例えば、CPU961またはCPU911がROM962aに格納されているプログラムを実行して実現するエンジン部960などにより実現できる。読取画像取得部253、基準画像取得部255、エッジ領域抽出部259、近傍領域検出部261、閾値補正部265、及び検査閾値画像生成部267は、例えば、CPU911及びシステムメモリ912などにより実現できる。検査閾値記憶部263は、例えば、HDD918などにより実現できる。差分画像生成部257及び検査部269は、例えば、CPU911及びシステムメモリ912などにより実現してもよいし、ASIC916などにより実現してもよいし、これらを併用して実現してもよい。   The reading unit 251 includes the reading unit 201 and can be realized by, for example, the engine unit 960 that is realized by the CPU 961 or the CPU 911 executing a program stored in the ROM 962a. The read image acquisition unit 253, the reference image acquisition unit 255, the edge region extraction unit 259, the neighborhood region detection unit 261, the threshold correction unit 265, and the inspection threshold image generation unit 267 can be realized by the CPU 911 and the system memory 912, for example. The inspection threshold storage unit 263 can be realized by the HDD 918 or the like, for example. The difference image generation unit 257 and the inspection unit 269 may be realized by, for example, the CPU 911 and the system memory 912, may be realized by the ASIC 916, or the like, or may be realized by using these together.

RIP部121は、ホスト装置などの外部装置から印刷データを受け取り、受け取った印刷データをRIP処理し、描画対象画像であるRIP画像を生成する。本実施形態では、印刷データは、PostScript(登録商標)などのページ記述言語(PDL:Page Description Language)で記述されたデータやTIFF(Tagged Image File Format)形式の画像データなどを含んで構成されるが、これに限定されるものではない。   The RIP unit 121 receives print data from an external device such as a host device, performs RIP processing on the received print data, and generates a RIP image that is a drawing target image. In the present embodiment, the print data includes data described in a page description language (PDL) such as PostScript (registered trademark), image data in a TIFF (Tagged Image File Format) format, and the like. However, the present invention is not limited to this.

また本実施形態では、RIP画像は、CMYKのRIP画像データであり、C(Cyan)、M(Magenta)、Y(Yellow)、K(Black)それぞれのRIP画像データが600dpiであるものとするが、これに限定されるものではない。   In this embodiment, the RIP image is CMYK RIP image data, and the RIP image data of C (Cyan), M (Magenta), Y (Yellow), and K (Black) is 600 dpi. However, the present invention is not limited to this.

印刷制御部123は、RIP部121により生成されたRIP画像を、印刷物検査装置200へ送信するとともに、印刷部125へ送信する。また印刷制御部123は、印刷物検査装置200から送信される(フィードバックされる)検査結果を用いて、例えば、スタッカ300に対して品質検査に合格しなかった印刷物の排紙先の指定や品質検査に合格しなかった印刷物へのマーキングを行ったり、印刷部125に対して差し替え印刷を指示したりする。   The print control unit 123 transmits the RIP image generated by the RIP unit 121 to the printed matter inspection apparatus 200 and also to the printing unit 125. Further, the print control unit 123 uses the inspection result transmitted (feedback) from the printed material inspection apparatus 200 to specify, for example, the discharge destination of the printed material that has not passed the quality inspection for the stacker 300 or the quality inspection. The printed material that does not pass is marked, or the printing unit 125 is instructed to perform replacement printing.

印刷部125は、作像プロセスなどの印刷処理プロセスを実行し、RIP画像を記録媒体に印刷し、描画対象画像が描画された記録媒体である印刷物を生成する。   The printing unit 125 executes a printing process such as an image forming process, prints a RIP image on a recording medium, and generates a printed material that is a recording medium on which a drawing target image is drawn.

読取部251は、印刷部125により生成された印刷物を読み取って、読取画像を生成する。本実施形態では、読取画像は、RGBそれぞれの画像データが200dpiであるものとするが、これに限定されるものではない。   The reading unit 251 reads the printed matter generated by the printing unit 125 and generates a read image. In the present embodiment, the read image is assumed to have 200 dpi of RGB image data, but is not limited to this.

読取画像取得部253は、読取部251により生成された読取画像を取得する。   The read image acquisition unit 253 acquires the read image generated by the reading unit 251.

基準画像取得部255は、印刷装置100により生成された印刷物の検査基準となる基準画像(マスター画像)を取得する。具体的には、基準画像取得部255は、印刷装置100から送信された描画対象画像であるRIP画像を取得し、取得したRIP画像に基づいて、印刷物の検査基準となる基準画像を生成することで、基準画像を取得する。詳細には、基準画像取得部255は、取得したRIP画像に対し、解像度変換処理、色変換処理、及び基準点設定処理を行い、基準画像を生成する。   The reference image acquisition unit 255 acquires a reference image (master image) that serves as an inspection reference for the printed matter generated by the printing apparatus 100. Specifically, the reference image acquisition unit 255 acquires a RIP image that is a drawing target image transmitted from the printing apparatus 100, and generates a reference image that serves as an inspection reference for a printed material based on the acquired RIP image. A reference image is acquired. Specifically, the reference image acquisition unit 255 performs resolution conversion processing, color conversion processing, and reference point setting processing on the acquired RIP image to generate a reference image.

解像度変換処理では、基準画像取得部255は、RIP画像の解像度を600dpiから200dpiに変換する。色変換処理では、基準画像取得部255は、解像度変換処理が行われたRIP画像を、CMYK色空間からRGB色空間へ色変換する。具体的には、基準画像取得部255は、CMYK色空間で表現される色(CMYK各色チャンネルの値の組み合わせ)とRGB色空間で表現される色(RGB各色チャンネルの値の組み合わせ)とを対応付けた色変換情報であるLUT(Lookup Table)を用いて、RIP画像をCMYK色空間からRGB色空間へ色変換する。なお、色変換情報は、例えば、HDD918などに記憶されている。   In the resolution conversion process, the reference image acquisition unit 255 converts the resolution of the RIP image from 600 dpi to 200 dpi. In the color conversion process, the reference image acquisition unit 255 performs color conversion of the RIP image on which the resolution conversion process has been performed from the CMYK color space to the RGB color space. Specifically, the reference image acquisition unit 255 supports colors expressed in the CMYK color space (combinations of values of CMYK color channels) and colors expressed in the RGB color space (combinations of values of RGB color channels). Using the LUT (Lookup Table) that is the attached color conversion information, the RIP image is color-converted from the CMYK color space to the RGB color space. Note that the color conversion information is stored in the HDD 918, for example.

基準点設定処理では、基準画像取得部255は、色変換処理が行われたRIP画像に基準点を設定する。基準点とは、基準画像と読取画像との位置合わせを行う際の基準となる特徴点である。   In the reference point setting process, the reference image acquisition unit 255 sets a reference point in the RIP image that has been subjected to the color conversion process. The reference point is a feature point that serves as a reference when positioning the reference image and the read image.

以上の処理により、基準画像取得部255は、CMYK600dpiであるRIP画像から、RGB200dpiである基準画像を生成する。但し、基準画像の生成手法は、上記手法に限定されるものではなく、階調、色空間、及び解像度などの画像形式に応じて、採用する処理や変換する値を適宜修正してもよい。   Through the above processing, the reference image acquisition unit 255 generates a reference image of RGB 200 dpi from the RIP image of CMYK 600 dpi. However, the method of generating the reference image is not limited to the above method, and the processing to be used and the value to be converted may be appropriately modified according to the image format such as gradation, color space, and resolution.

差分画像生成部257は、読取画像取得部253により取得された読取画像と基準画像取得部255により取得された基準画像との差分を示す差分画像を生成する。具体的には、差分画像生成部257は、基準画像から特徴点を抽出し、当該特徴点に対応する読取画像上の点を特定することで、基準画像と読取画像との位置ズレ量を求め、当該位置ズレ量に基づいて、基準画像と読取画像との位置合わせを行う。そして差分画像生成部257は、位置合わせ後の基準画像と読取画像とを画素単位で比較し、RGB各色の画素値の差分値を画素毎に算出し、画素毎の画素値の差分値で構成される差分画像を生成する。   The difference image generation unit 257 generates a difference image indicating a difference between the read image acquired by the read image acquisition unit 253 and the reference image acquired by the reference image acquisition unit 255. Specifically, the difference image generation unit 257 obtains a positional deviation amount between the reference image and the read image by extracting a feature point from the reference image and specifying a point on the read image corresponding to the feature point. The reference image and the read image are aligned based on the positional deviation amount. Then, the difference image generation unit 257 compares the reference image after alignment and the read image in units of pixels, calculates the difference value of the pixel values of each RGB color for each pixel, and includes the difference value of the pixel value for each pixel. A difference image is generated.

エッジ領域抽出部259は、基準画像取得部255により取得された基準画像からエッジ領域を抽出する。ここで、エッジ領域は、基準画像から抽出したエッジ部が構成する領域である。具体的には、エッジ領域抽出部259は、基準画像に対し、ラプラシアンフィルタなどのフィルタリング処理を行い、閾値によってエッジ判定を行うことで、基準画像からエッジ領域を抽出したエッジ画像を生成する。エッジ画像は、基準画像上のエッジ領域を表す画像である。   The edge region extraction unit 259 extracts an edge region from the reference image acquired by the reference image acquisition unit 255. Here, the edge region is a region formed by the edge portion extracted from the reference image. Specifically, the edge region extraction unit 259 generates an edge image obtained by extracting an edge region from the reference image by performing filtering processing such as a Laplacian filter on the reference image and performing edge determination based on a threshold value. The edge image is an image representing an edge region on the reference image.

近傍領域検出部261は、エッジ領域抽出部259により抽出されたエッジ領域の近傍に位置する近傍領域を検出する。具体的には、近傍領域検出部261は、エッジ領域を構成する画素に基づいて、近傍領域を検出する。例えば、近傍領域検出部261は、エッジ領域抽出部259により生成されたエッジ画像に対し、膨張処理やフィルタ処理を行うことで近傍領域を検出する。これにより、近傍領域検出部261は、例えば、エッジ領域の周囲2ピクセル分の範囲に位置する画素で構成される領域を近傍領域として検出する。   The neighborhood area detection unit 261 detects a neighborhood area located in the vicinity of the edge area extracted by the edge area extraction unit 259. Specifically, the neighborhood area detection unit 261 detects the neighborhood area based on the pixels constituting the edge area. For example, the neighborhood region detection unit 261 detects the neighborhood region by performing dilation processing or filter processing on the edge image generated by the edge region extraction unit 259. Thereby, the neighborhood area detection unit 261 detects, for example, an area composed of pixels located in a range of 2 pixels around the edge area as the neighborhood area.

検査閾値記憶部263は、印刷装置100により生成された印刷物を検査するための検査用の検査閾値を記憶する。   The inspection threshold storage unit 263 stores an inspection threshold for inspection for inspecting the printed matter generated by the printing apparatus 100.

閾値補正部265は、エッジ領域または近傍領域のいずれかの領域を構成する画素については、当該画素の濃度と、当該画素に対する着目対象であってエッジ領域または近傍領域のいずれかに位置する1以上の着目画素の濃度と、当該画素と当該1以上のそれぞれの着目画素との距離と、に基づいて、検査閾値記憶部263に記憶されている検査用の検査閾値を補正する。   The threshold value correction unit 265 has, for the pixels constituting either the edge region or the neighboring region, the density of the pixel, and one or more located in either the edge region or the neighboring region as a target of interest for the pixel. The inspection threshold value for inspection stored in the inspection threshold storage unit 263 is corrected based on the density of the target pixel and the distance between the pixel and the one or more target pixels.

ここで、近傍領域を構成する画素に対する着目画素は、当該近傍領域を構成する画素の検出元となったエッジ領域を構成する画素と隣接する隣接画素のうちの当該近傍領域を構成する画素の反対側に位置する隣接画素である。また、エッジ領域を構成する画素に対する着目画素は、当該エッジ領域を構成する画素と隣接する隣接画素のうちの当該エッジ領域を構成する画素との濃度差が最も大きい隣接画素である。   Here, the pixel of interest for the pixels constituting the neighboring area is the opposite of the pixels constituting the neighboring area among the neighboring pixels neighboring the pixels constituting the edge area from which the pixels constituting the neighboring area are detected. This is an adjacent pixel located on the side. Further, the pixel of interest for the pixels constituting the edge region is an adjacent pixel having the largest density difference between the pixels constituting the edge region and the pixels constituting the edge region among the neighboring pixels adjacent to the edge region.

以下、エッジ領域または近傍領域のいずれかの領域を構成する画素についての検査閾値の補正手法について説明する。ここでは、図5を参照しながら、近傍領域を構成する画素について、検査閾値の補正手法を説明する。   Hereinafter, a method for correcting the inspection threshold for the pixels constituting either the edge region or the neighboring region will be described. Here, with reference to FIG. 5, a method for correcting the inspection threshold for the pixels constituting the neighborhood region will be described.

図5は、本実施形態のエッジ画像上におけるエッジ領域及び近傍領域の一例を示す図である。図5に示す例では、エッジ画像上のエッジ領域401の周囲2ピクセル分の範囲に位置する画素で構成される領域が近傍領域402となっている。   FIG. 5 is a diagram illustrating an example of an edge region and a neighboring region on the edge image according to the present embodiment. In the example shown in FIG. 5, a region composed of pixels located in a range of two pixels around the edge region 401 on the edge image is the neighborhood region 402.

ここでは、近傍領域402を構成する画素411についての検査閾値の補正手法を例に取り説明する。   Here, the inspection threshold value correction method for the pixels 411 constituting the neighboring region 402 will be described as an example.

まず、閾値補正部265は、近傍領域402を構成する画素411の検出元となったエッジ領域401を構成する画素として、エッジ領域401上の画素412、413を特定する。図5に示す例では、エッジ領域401の周囲2ピクセル分の範囲に位置する画素で構成される領域を近傍領域402としているため、画素411を中心として2ピクセルの範囲内に位置するエッジ領域401を構成する画素が、近傍領域402を構成する画素411の検出元となったエッジ領域401を構成する画素となるためである。   First, the threshold value correction unit 265 specifies the pixels 412 and 413 on the edge region 401 as the pixels constituting the edge region 401 that is the detection source of the pixels 411 constituting the neighboring region 402. In the example shown in FIG. 5, an area composed of pixels located in the range of two pixels around the edge area 401 is set as the neighboring area 402, and therefore the edge area 401 located within the range of two pixels around the pixel 411. This is because the pixels forming the edge region 401 become the pixels forming the edge region 401 from which the pixels 411 forming the neighboring region 402 are detected.

次に、閾値補正部265は、近傍領域402を構成する画素411に対する着目画素として、画素412と隣接する隣接画素のうちの当該画素411の反対側に位置する画素414、及び画素413と隣接する隣接画素のうちの当該画素411の反対側に位置する画素415を特定する。   Next, the threshold value correcting unit 265 is adjacent to the pixel 414 located on the opposite side of the pixel 411 and adjacent to the pixel 413 as adjacent pixels adjacent to the pixel 412 as the pixel of interest for the pixel 411 constituting the neighboring region 402. A pixel 415 located on the opposite side of the adjacent pixel 411 is specified.

次に、閾値補正部265は、基準画像を参照して、基準画像上での画素411、画素414、及び画素415の濃度を抽出するとともに、基準画像上での画素411と画素414との距離、及び基準画像上での画素411と画素415との距離を求める。   Next, the threshold correction unit 265 extracts the densities of the pixel 411, the pixel 414, and the pixel 415 on the reference image with reference to the reference image, and the distance between the pixel 411 and the pixel 414 on the reference image. , And the distance between the pixel 411 and the pixel 415 on the reference image.

次に、閾値補正部265は、これらの値をパラメータとして、数式(1)に適用して、検査用の検査閾値を補正し、差分画像上での画素411に適用される補正後の検査閾値を求める。   Next, the threshold correction unit 265 applies these values as parameters to the mathematical formula (1) to correct the inspection threshold for inspection, and the corrected inspection threshold applied to the pixel 411 on the difference image. Ask for.

Figure 2018155736
Figure 2018155736

ここで、Scは、補正後の検査閾値を示す。Soは、補正前の検査閾値を示す。Nは、補正後の検査閾値が適用される画素の濃度(図5に示す例では、画素411の濃度)を示す。Eiは、1以上の着目画素の濃度(図5に示す例では、画素414、415の濃度)を示す。Diは、検査閾値が適用される画素と1以上の着目画素それぞれとの距離(図5に示す例では、画素411と画素414との距離、画素411と画素415との距離)を示す。Aは、濃度差に対する係数を示す。Bは、距離に対する係数を示す。Cは、着目画素の個数(検査閾値が適用される画素の検出元となったエッジ領域を構成する画素の個数)に対する係数を示す。なお本実施形態では、係数A、B、Cの値を経験的に決定することを想定しているが、係数A、B、Cの値の決定手法は、これに限定されるものではない。   Here, Sc indicates the inspection threshold value after correction. So indicates an inspection threshold value before correction. N indicates the density of the pixel to which the corrected inspection threshold is applied (in the example illustrated in FIG. 5, the density of the pixel 411). Ei indicates the density of one or more pixels of interest (in the example illustrated in FIG. 5, the density of the pixels 414 and 415). Di represents the distance between the pixel to which the inspection threshold is applied and one or more target pixels (in the example illustrated in FIG. 5, the distance between the pixel 411 and the pixel 414, the distance between the pixel 411 and the pixel 415). A indicates a coefficient for the density difference. B represents a coefficient with respect to the distance. C represents a coefficient with respect to the number of pixels of interest (the number of pixels constituting the edge region that is the detection source of the pixels to which the inspection threshold is applied). In the present embodiment, it is assumed that the values of the coefficients A, B, and C are determined empirically. However, the method for determining the values of the coefficients A, B, and C is not limited to this.

そして、閾値補正部265は、近傍領域402を構成する画素411を例に取り説明した上記処理を、近傍領域402を構成する各画素に対して行うことで、近傍領域402を構成する各画素に適用される補正後の検査閾値を求める。   Then, the threshold correction unit 265 performs the above-described processing, taking the pixel 411 constituting the neighboring area 402 as an example, for each pixel constituting the neighboring area 402, so that each pixel constituting the neighboring area 402 is processed. The corrected inspection threshold value to be applied is obtained.

なお、エッジ領域401を構成する画素についての検査閾値の補正手法は、エッジ領域401を構成する画素に対する着目画素を、当該エッジ領域401を構成する画素と隣接する隣接画素のうちの当該エッジ領域401を構成する画素との濃度差が最も大きい隣接画素とする点を除き、上述した手法と同様である。   Note that the inspection threshold value correction method for the pixels constituting the edge region 401 is such that the pixel of interest for the pixels constituting the edge region 401 is the edge region 401 of the neighboring pixels adjacent to the pixels constituting the edge region 401. The method is the same as that described above except that the adjacent pixel has the largest density difference from the pixels constituting the.

そして、閾値補正部265は、この処理を、エッジ領域401を構成する各画素に対して行うことで、エッジ領域401を構成する各画素に適用される補正後の検査閾値を求める。   Then, the threshold correction unit 265 performs this process on each pixel constituting the edge region 401, thereby obtaining a corrected inspection threshold applied to each pixel constituting the edge region 401.

このように、補正後の検査閾値は、エッジ領域または近傍領域のいずれかの領域を構成する画素と1以上のそれぞれの着目画素との濃度差に比例し、かつエッジ領域または近傍領域のいずれかの領域を構成する画素と1以上のそれぞれの着目画素それぞれとの距離に反比例する値となる。   As described above, the corrected inspection threshold value is proportional to the density difference between the pixel constituting either the edge region or the neighboring region and one or more of the target pixels, and is either the edge region or the neighboring region. This value is inversely proportional to the distance between the pixels constituting the region and each of the one or more target pixels.

検査閾値画像生成部267は、エッジ領域または近傍領域以外の領域を構成する画素については、検査閾値記憶部263に記憶されている検査閾値を設定し、エッジ領域または近傍領域のいずれかの領域を構成する画素については、閾値補正部265により補正された検査閾値を設定した検査閾値画像を生成する。   The inspection threshold image generation unit 267 sets the inspection threshold stored in the inspection threshold storage unit 263 for the pixels constituting the region other than the edge region or the neighboring region, and selects either the edge region or the neighboring region. For the constituent pixels, an inspection threshold image in which the inspection threshold corrected by the threshold correction unit 265 is set is generated.

図6は、本実施形態の検査閾値画像の一例を示す図である。図6に示す検査閾値画像は、図5に示すエッジ領域401及び近傍領域402以外の領域を構成する各画素については、数式(1)に示す補正前の検査閾値Soを設定し、図5に示すエッジ領域401または近傍領域402のいずれかを構成する各画素については、数式(1)で求めた補正後の検査閾値Scを設定したものである。   FIG. 6 is a diagram illustrating an example of an inspection threshold image according to the present embodiment. In the inspection threshold image shown in FIG. 6, the inspection threshold value So before correction shown in Expression (1) is set for each pixel constituting the region other than the edge region 401 and the neighboring region 402 shown in FIG. For each pixel constituting either the edge region 401 or the neighboring region 402 shown, the corrected inspection threshold value Sc obtained by Equation (1) is set.

検査部269は、差分画像生成部257により生成された差分画像と閾値補正部265により補正された検査閾値とに基づいて、印刷装置100により生成された印刷物を検査する。具体的には、検査部269は、差分画像と検査閾値画像生成部267により生成された検査閾値画像とに基づいて、印刷物を検査する。詳細には、検査部269は、差分画像と検査閾値画像とを画素毎に比較して、印刷物の濃度欠陥を検査する。例えば、差分値の大きい箇所(画素群)や差分のある面積が広い箇所(画素群)が濃度欠陥となる。   The inspection unit 269 inspects the printed matter generated by the printing apparatus 100 based on the difference image generated by the difference image generation unit 257 and the inspection threshold value corrected by the threshold value correction unit 265. Specifically, the inspection unit 269 inspects the printed matter based on the difference image and the inspection threshold image generated by the inspection threshold image generation unit 267. Specifically, the inspection unit 269 inspects the density defect of the printed matter by comparing the difference image and the inspection threshold image for each pixel. For example, a density defect is caused at a location (pixel group) having a large difference value or a location (pixel group) having a large difference area.

そして検査部269は、濃度欠陥の位置や種類などの検査結果、読取画像、及び基準画像を対応付けてHDD918に保存したり、印刷装置100に送信(フィードバック)したりする。   The inspection unit 269 associates the inspection result such as the position and type of the density defect, the read image, and the reference image with each other and saves them in the HDD 918 or transmits (feeds back) them to the printing apparatus 100.

図7は、本実施形態の印刷装置100で行われる処理の手順の流れの一例を示すフローチャートである。   FIG. 7 is a flowchart illustrating an example of a procedure flow of processing performed by the printing apparatus 100 according to the present embodiment.

まず、RIP部121は、ホスト装置などの外部装置から印刷データを受け取り、受け取った印刷データをRIP処理し、描画対象画像であるRIP画像を生成する(ステップS101)。   First, the RIP unit 121 receives print data from an external device such as a host device, performs RIP processing on the received print data, and generates a RIP image that is a drawing target image (step S101).

続いて、印刷制御部123は、RIP部121により生成されたRIP画像を、印刷物検査装置200へ送信するとともに、印刷部125へ送信し、印刷部125は、作像プロセスなどの印刷処理プロセスを実行し、RIP画像を記録媒体に印刷し、描画対象画像が描画された記録媒体である印刷物を生成する(ステップS103)。   Subsequently, the print control unit 123 transmits the RIP image generated by the RIP unit 121 to the printed matter inspection apparatus 200 and also to the printing unit 125. The printing unit 125 performs a print processing process such as an image forming process. This is executed, the RIP image is printed on the recording medium, and a printed matter that is the recording medium on which the drawing target image is drawn is generated (step S103).

図8は、本実施形態の印刷物検査装置200で行われる処理の手順の流れの一例を示すフローチャートである。   FIG. 8 is a flowchart illustrating an example of a flow of processing performed in the printed matter inspection apparatus 200 according to the present embodiment.

まず、読取画像取得部253は、読取部251により生成された読取画像を取得する(ステップS201)。   First, the read image acquisition unit 253 acquires the read image generated by the reading unit 251 (step S201).

続いて、基準画像取得部255は、印刷装置100により生成された印刷物の検査基準となる基準画像を取得する(ステップS203)。   Subsequently, the reference image acquisition unit 255 acquires a reference image that serves as an inspection reference for the printed matter generated by the printing apparatus 100 (step S203).

なお、ステップS201の処理とステップS203の処理とは、その処理順序は問わず、並列して実行されてもよい。   In addition, the process of step S201 and the process of step S203 may be performed in parallel regardless of the processing order.

続いて、差分画像生成部257は、基準画像と読取画像との位置合わせを行い(ステップS205)、位置合わせ後の基準画像と読取画像との差分を画素単位で示す差分画像を生成する(ステップS207)。   Subsequently, the difference image generation unit 257 performs position alignment between the reference image and the read image (Step S205), and generates a difference image that indicates the difference between the reference image after alignment and the read image in units of pixels (Step S205). S207).

続いて、エッジ領域抽出部259は、基準画像からエッジ領域を抽出する(ステップS209)。   Subsequently, the edge region extraction unit 259 extracts an edge region from the reference image (step S209).

続いて、近傍領域検出部261は、エッジ領域の近傍に位置する近傍領域を検出する(ステップS211)。   Subsequently, the neighborhood area detection unit 261 detects a neighborhood area located in the vicinity of the edge area (step S211).

続いて、閾値補正部265は、エッジ領域または近傍領域のいずれかの領域を構成する画素については、当該画素の濃度と、当該画素に対する着目対象であってエッジ領域または近傍領域のいずれかに位置する1以上の着目画素の濃度と、当該画素と当該1以上のそれぞれの着目画素との距離と、に基づいて、検査閾値記憶部263に記憶されている検査用の検査閾値を補正する(ステップS213)。   Subsequently, the threshold value correction unit 265 determines, for the pixels constituting either the edge region or the neighboring region, the density of the pixel and the target of attention for the pixel, which is located in either the edge region or the neighboring region. The inspection threshold value for inspection stored in the inspection threshold value storage unit 263 is corrected based on the density of the one or more target pixel and the distance between the pixel and the one or more target pixel (step) S213).

続いて、検査閾値画像生成部267は、エッジ領域または近傍領域以外の領域を構成する画素については、検査閾値記憶部263に記憶されている検査閾値を設定し、エッジ領域または近傍領域のいずれかの領域を構成する画素については、閾値補正部265により補正された検査閾値を設定した検査閾値画像を生成する(ステップS215)。   Subsequently, the inspection threshold image generation unit 267 sets the inspection threshold stored in the inspection threshold storage unit 263 for the pixels constituting the region other than the edge region or the neighboring region, and either the edge region or the neighboring region is set. For the pixels constituting the region, an inspection threshold image in which the inspection threshold corrected by the threshold correction unit 265 is set is generated (step S215).

なお、ステップS205〜S207までの処理とステップS209〜S215までの処理とは、その処理順序は問わず、並列して実行されてもよい。   In addition, the process from step S205 to S207 and the process from step S209 to S215 may be executed in parallel regardless of the processing order.

続いて、検査部269は、差分画像と検査閾値画像とを画素毎に比較して、印刷物を検査する(ステップS217)。   Subsequently, the inspection unit 269 compares the difference image and the inspection threshold image for each pixel, and inspects the printed matter (step S217).

以上のように本実施形態によれば、エッジ領域または近傍領域の濃度や距離などに基づいて、検査閾値を補正することで、エッジ領域近傍の状態に合わせて検査閾値を緩和し、エッジ領域近傍での検査精度を向上させることができる。   As described above, according to the present embodiment, by correcting the inspection threshold based on the density or distance of the edge region or the vicinity region, the inspection threshold is relaxed according to the state near the edge region, and the vicinity of the edge region Inspection accuracy can be improved.

特に本実施形態によれば、エッジ領域または近傍領域の濃度や距離などに基づいて、検査閾値を補正するため、従来技術のように、同一の内容が印刷された印刷物を相応の枚数用意する必要がなく、バリアブル印刷など同一の内容が印刷された印刷物を少数しか生産しないような印刷環境での検査にも好適である。   In particular, according to the present embodiment, since the inspection threshold value is corrected based on the density or distance of the edge region or the vicinity region, it is necessary to prepare a corresponding number of printed materials on which the same contents are printed as in the prior art. It is also suitable for inspection in a printing environment in which only a small number of printed materials having the same contents printed, such as variable printing, are produced.

このため本実施形態によれば、印刷環境によらず、エッジ領域近傍での検査精度を向上させることができる。   Therefore, according to the present embodiment, it is possible to improve the inspection accuracy near the edge region regardless of the printing environment.

(変形例)
上記実施形態で説明した検査閾値の補正手法を基準画像に対するフィルタ処理で代用してもよい。この場合、閾値補正部265は、エッジ領域または近傍領域のいずれかの領域を構成する画素については、当該画素を中心に、エッジ領域を構成する画素または近傍領域を構成する画素を参照対象としたフィルタ処理に基づいて、検査閾値を補正すればよい。
(Modification)
The inspection threshold correction method described in the above embodiment may be substituted by a filter process for the reference image. In this case, the threshold value correction unit 265 uses, as a reference object, a pixel constituting either the edge region or the neighboring region, with the pixel constituting the edge region or the pixel constituting the neighboring region centered on the pixel. The inspection threshold value may be corrected based on the filter process.

なお、フィルタ処理に用いるフィルタのサイズは、近傍領域のサイズに合わせて設定すればよい。例えば、エッジ領域の周囲2ピクセル分の範囲の領域を近傍領域とする場合、フィルタのサイズは5×5ピクセルとすることができる。但し、フィルタに含まれる画素であっても、フィルタ処理に適用する画素は、エッジ領域または近傍領域のいずれかの領域を構成する画素であり、エッジ領域または近傍領域のいずれの領域も構成しない画素については使用しない。これは、あくまでエッジに関わる要素からの影響で検査閾値を補正したいためであり、エッジではない絵柄など、エッジに関わらない要素からの影響を排除するためである。なお変形例では、フィルタ係数を経験的に決定することを想定しているが、フィルタ係数の値の決定手法は、これに限定されるものではない。   Note that the size of the filter used for the filtering process may be set according to the size of the neighboring region. For example, when the region in the range of 2 pixels around the edge region is set as the neighborhood region, the size of the filter can be 5 × 5 pixels. However, even if the pixel is included in the filter, the pixel applied to the filtering process is a pixel that constitutes either the edge region or the neighboring region, and does not constitute any region of the edge region or the neighboring region. Do not use about. This is because the inspection threshold value is to be corrected by the influence from the elements related to the edge, and the influence from the elements not related to the edge such as a picture that is not the edge is excluded. In the modification, it is assumed that the filter coefficient is determined empirically, but the method of determining the filter coefficient value is not limited to this.

(プログラム)
上記実施形態及び変形例の検査装置で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、CD−R、メモリカード、DVD(Digital Versatile Disk)、フレキシブルディスク(FD)等のコンピュータで読み取り可能な記憶媒体に記憶されて提供される。
(program)
The program executed by the inspection apparatus according to the embodiment and the modification is a file in an installable format or an executable format, and is a CD-ROM, CD-R, memory card, DVD (Digital Versatile Disk), flexible disk (FD). And the like stored in a computer-readable storage medium.

また、上記実施形態及び変形例の検査装置で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するようにしてもよい。また、上記実施形態及び変形例の検査装置で実行されるプログラムを、インターネット等のネットワーク経由で提供または配布するようにしてもよい。また、上記実施形態及び変形例の検査装置で実行されるプログラムを、ROM等に予め組み込んで提供するようにしてもよい。   In addition, the program executed by the inspection apparatus according to the embodiment and the modification may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, the program executed by the inspection apparatus according to the embodiment and the modification may be provided or distributed via a network such as the Internet. In addition, a program executed by the inspection apparatus according to the embodiment and the modification may be provided by being incorporated in advance in a ROM or the like.

上記実施形態及び変形例の検査装置で実行されるプログラムは、上述した各部をコンピュータ上で実現させるためのモジュール構成となっている。実際のハードウェアとしては、例えば、CPUがROMからプログラムをRAM上に読み出して実行することにより、上記各機能部がコンピュータ上で実現されるようになっている。   The program executed by the inspection apparatus of the embodiment and the modification has a module configuration for realizing the above-described units on a computer. As actual hardware, for example, the CPU reads out a program from the ROM to the RAM and executes the program, so that each functional unit is realized on the computer.

なお、上記実施形態及び変形例は、例として提示したものであり、発明の範囲を限定することは意図していない。上記新規な実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、及び少なくとも一部のクラウド化などを行うことができる。これらの実施の形態は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   In addition, the said embodiment and modification are shown as an example and are not intending limiting the range of invention. The above-described novel embodiment can be implemented in various other forms, and various omissions, replacements, changes, and at least partial clouding are performed without departing from the spirit of the invention. be able to. These embodiments are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1 印刷物検査システム
100 印刷装置
101 オペレーションパネル
103Y、103M、103C、103K 感光体ドラム
105 転写ベルト
107 二次転写ローラ
109 給紙部
111 搬送ローラ対
113 定着ローラ
115 反転パス
121 RIP部
123 印刷制御部
125 印刷部
200 印刷物検査装置
201、251 読取部
203 オペレーションパネル
253 読取画像取得部
255 基準画像取得部
257 差分画像生成部
259 エッジ領域抽出部
261 近傍領域検出部
263 検査閾値記憶部
265 閾値補正部
267 検査閾値画像生成部
269 検査部
300 スタッカ
311 トレイ
DESCRIPTION OF SYMBOLS 1 Printed product inspection system 100 Printing apparatus 101 Operation panel 103Y, 103M, 103C, 103K Photosensitive drum 105 Transfer belt 107 Secondary transfer roller 109 Paper feed part 111 Conveying roller pair 113 Fixing roller 115 Reverse path 121 RIP part 123 Print control part 125 Printing unit 200 Printed material inspection apparatus 201, 251 Reading unit 203 Operation panel 253 Read image acquisition unit 255 Reference image acquisition unit 257 Difference image generation unit 259 Edge region extraction unit 261 Neighborhood region detection unit 263 Inspection threshold storage unit 265 Threshold correction unit 267 Inspection Threshold image generation unit 269 inspection unit 300 stacker 311 tray

特開2015−175706号公報JP 2015-175706 A

Claims (9)

印刷物の検査基準となる基準画像を取得する基準画像取得部と、
前記印刷物を読み取った読取画像を取得する読取画像取得部と、
前記基準画像取得部が取得した前記基準画像と、前記読取画像取得部が取得した前記読取画像との差分を示す差分画像を生成する差分画像生成部と、
前記基準画像取得部が取得した前記基準画像からエッジ領域を抽出するエッジ領域抽出部と、
前記エッジ領域抽出部が抽出した前記エッジ領域の近傍に位置する近傍領域を検出する近傍領域検出部と、
前記エッジ領域抽出部が抽出した前記エッジ領域または前記近傍領域検出部が検出した前記近傍領域のいずれかの領域を構成する画素については、当該画素の濃度と、当該画素に対する着目対象であって前記エッジ領域または前記近傍領域のいずれかに位置する1以上の着目画素の濃度と、当該画素と当該1以上のそれぞれの着目画素との距離と、に基づいて、検査用の検査閾値を補正する閾値補正部と、
前記差分画像生成部が生成した前記差分画像と前記閾値補正部で補正された前記検査閾値とに基づいて、前記印刷物を検査する検査部と、
を備える検査装置。
A reference image acquisition unit for acquiring a reference image serving as an inspection standard for printed matter;
A read image acquisition unit for acquiring a read image obtained by reading the printed matter;
A difference image generation unit that generates a difference image indicating a difference between the reference image acquired by the reference image acquisition unit and the read image acquired by the read image acquisition unit;
An edge region extraction unit that extracts an edge region from the reference image acquired by the reference image acquisition unit;
A neighborhood region detection unit for detecting a neighborhood region located in the vicinity of the edge region extracted by the edge region extraction unit;
For the pixels constituting either the edge region extracted by the edge region extraction unit or the neighborhood region detected by the neighborhood region detection unit, the density of the pixel and the target of interest for the pixel are A threshold value for correcting the inspection threshold value for inspection based on the density of one or more target pixels located in either the edge region or the neighboring region and the distance between the pixel and the one or more target pixels. A correction unit;
An inspection unit that inspects the printed matter based on the difference image generated by the difference image generation unit and the inspection threshold corrected by the threshold correction unit;
An inspection apparatus comprising:
前記近傍領域検出部は、前記エッジ領域を構成する画素に基づいて、前記近傍領域を検出し、
前記近傍領域検出部が検出した前記近傍領域を構成する画素に対する前記着目画素は、当該近傍領域を構成する画素の検出元となった前記エッジ領域を構成する画素と隣接する隣接画素のうち、当該近傍領域を構成する画素の反対側に位置する隣接画素である請求項1に記載の検査装置。
The neighborhood area detection unit detects the neighborhood area based on pixels constituting the edge area,
The pixel of interest for the pixels constituting the neighborhood area detected by the neighborhood area detection unit is the neighboring pixel adjacent to the pixels constituting the edge area that is the detection source of the pixels constituting the neighborhood area. The inspection device according to claim 1, wherein the inspection device is an adjacent pixel located on the opposite side of the pixels constituting the vicinity region.
前記エッジ領域を構成する画素に対する前記着目画素は、当該エッジ領域を構成する画素と隣接する隣接画素のうち、当該エッジ領域を構成する画素との濃度差が最も大きい隣接画素である請求項1又は2に記載の検査装置。   The pixel of interest with respect to a pixel constituting the edge region is an adjacent pixel having a largest density difference from a pixel constituting the edge region among neighboring pixels adjacent to the pixel constituting the edge region. 2. The inspection apparatus according to 2. 前記補正された検査閾値は、前記エッジ領域及び前記近傍領域のいずれかの領域を構成する画素と前記1以上のそれぞれの着目画素との濃度差に比例し、かつ前記エッジ領域または前記近傍領域のいずれかの領域を構成する画素と前記1以上のそれぞれの着目画素との距離に反比例する値である請求項1に記載の検査装置。   The corrected inspection threshold is proportional to a density difference between a pixel constituting any one of the edge region and the neighboring region and the one or more target pixels, and the corrected inspection threshold value of the edge region or the neighboring region is The inspection apparatus according to claim 1, wherein the inspection apparatus has a value inversely proportional to a distance between a pixel constituting any region and the one or more target pixels. 前記エッジ領域または前記近傍領域以外の領域を構成する画素については、前記検査用の検査閾値を設定し、前記エッジ領域または前記近傍領域のいずれかの領域を構成する画素については、前記補正された検査閾値を設定した検査閾値画像を生成する検査閾値画像生成部を更に備え、
前記検査部は、前記差分画像と前記検査閾値画像とに基づいて、前記印刷物を検査する請求項1に記載の検査装置。
The inspection threshold value for the inspection is set for the pixels constituting the edge region or the region other than the neighborhood region, and the correction is performed for the pixels constituting either the edge region or the neighborhood region. An inspection threshold image generation unit that generates an inspection threshold image in which an inspection threshold is set;
The inspection apparatus according to claim 1, wherein the inspection unit inspects the printed matter based on the difference image and the inspection threshold image.
印刷物の検査基準となる基準画像を取得する基準画像取得部と、
前記印刷物を読み取った読取画像を取得する読取画像取得部と、
前記基準画像取得部が取得した前記基準画像と前記読取画像取得部が取得した前記読取画像との差分を示す差分画像を生成する差分画像生成部と、
前記基準画像取得部が取得した前記基準画像からエッジ領域を抽出するエッジ領域抽出部と、
前記エッジ領域抽出部が抽出した前記エッジ領域の近傍に位置する近傍領域を検出する近傍領域検出部と、
前記エッジ領域抽出部が抽出した前記エッジ領域または前記近傍領域検出部が検出した前記近傍領域のいずれかの領域を構成する画素については、当該画素を中心に、前記エッジ領域を構成する画素または前記近傍領域を構成する画素を参照対象としたフィルタ処理に基づいて、検査用の検査閾値を補正する閾値補正部と、
前記差分画像生成部が生成した前記差分画像と前記閾値補正部で補正された前記検査閾値とに基づいて、前記印刷物を検査する検査部と、
を備える検査装置。
A reference image acquisition unit for acquiring a reference image serving as an inspection standard for printed matter;
A read image acquisition unit for acquiring a read image obtained by reading the printed matter;
A difference image generation unit that generates a difference image indicating a difference between the reference image acquired by the reference image acquisition unit and the read image acquired by the read image acquisition unit;
An edge region extraction unit that extracts an edge region from the reference image acquired by the reference image acquisition unit;
A neighborhood region detection unit for detecting a neighborhood region located in the vicinity of the edge region extracted by the edge region extraction unit;
With respect to a pixel constituting either the edge region extracted by the edge region extraction unit or the neighborhood region detected by the neighborhood region detection unit, the pixel constituting the edge region around the pixel or the pixel A threshold value correcting unit that corrects an inspection threshold value for inspection based on a filtering process with reference to pixels constituting a neighboring region;
An inspection unit that inspects the printed matter based on the difference image generated by the difference image generation unit and the inspection threshold corrected by the threshold correction unit;
An inspection apparatus comprising:
印刷物を生成する画像形成装置と、当該印刷物を検査する検査装置と、を備える検査システムであって、
前記検査装置は、
前記画像形成装置から、前記印刷物の検査基準となる基準画像を取得する基準画像取得部と、
前記印刷物を読み取った読取画像を取得する読取画像取得部と、
前記基準画像取得部が取得した前記基準画像と前記読取画像取得部が取得した前記読取画像との差分を示す差分画像を生成する差分画像生成部と、
前記基準画像取得部が取得した前記基準画像からエッジ領域を抽出するエッジ領域抽出部と、
前記エッジ領域抽出部が抽出した前記エッジ領域の近傍に位置する近傍領域を検出する近傍領域検出部と、
前記エッジ領域抽出部が抽出した前記エッジ領域または前記近傍領域検出部が検出した前記近傍領域のいずれかの領域を構成する画素については、当該画素の濃度と、当該画素に対する着目対象であって、前記エッジ領域または前記近傍領域のいずれかに位置する1以上の着目画素の濃度と、当該画素と当該1以上のそれぞれの着目画素との距離と、に基づいて、検査用の検査閾値を補正する閾値補正部と、
前記差分画像生成部が生成した前記差分画像と前記閾値補正部で補正された前記検査閾値とに基づいて、前記印刷物を検査する検査部と、
を備える検査システム。
An inspection system comprising: an image forming apparatus that generates a printed material; and an inspection device that inspects the printed material,
The inspection device includes:
A reference image acquisition unit that acquires a reference image serving as an inspection reference for the printed matter from the image forming apparatus;
A read image acquisition unit for acquiring a read image obtained by reading the printed matter;
A difference image generation unit that generates a difference image indicating a difference between the reference image acquired by the reference image acquisition unit and the read image acquired by the read image acquisition unit;
An edge region extraction unit that extracts an edge region from the reference image acquired by the reference image acquisition unit;
A neighborhood region detection unit for detecting a neighborhood region located in the vicinity of the edge region extracted by the edge region extraction unit;
For pixels constituting either the edge region extracted by the edge region extraction unit or the neighborhood region detected by the neighborhood region detection unit, the density of the pixel and the target of interest for the pixel are: The inspection threshold for inspection is corrected based on the density of one or more target pixels located in either the edge region or the neighboring region and the distance between the pixel and the one or more target pixels. A threshold correction unit;
An inspection unit that inspects the printed matter based on the difference image generated by the difference image generation unit and the inspection threshold corrected by the threshold correction unit;
An inspection system comprising:
印刷物の検査基準となる基準画像を取得する基準画像取得ステップと、
前記印刷物を読み取った読取画像を取得する読取画像取得ステップと、
前記基準画像取得ステップで取得した前記基準画像と前記読取画像取得ステップで取得した前記読取画像との差分を示す差分画像を生成する差分画像生成ステップと、
前記基準画像取得ステップで取得した前前記基準画像からエッジ領域を抽出するエッジ領域抽出ステップと、
前記エッジ領域抽出ステップで抽出した前記エッジ領域の近傍に位置する近傍領域を検出する近傍領域検出ステップと、
前記エッジ領域抽出ステップで抽出した前記エッジ領域または前記近傍領域検出ステップで検出した前記近傍領域のいずれかの領域を構成する画素については、当該画素の濃度と、当該画素に対する着目対象であって、前記エッジ領域または前記近傍領域のいずれかに位置する1以上の着目画素の濃度と、当該画素と当該1以上のそれぞれの着目画素との距離と、に基づいて、検査用の検査閾値を補正する閾値補正ステップと、
前記差分画像生成ステップで生成した前記差分画像と前記閾値補正ステップで補正された前記検査閾値とに基づいて、前記印刷物を検査する検査ステップと、
を含む検査方法。
A reference image acquisition step for acquiring a reference image as an inspection standard for printed matter;
A read image acquisition step of acquiring a read image obtained by reading the printed matter;
A difference image generation step for generating a difference image indicating a difference between the reference image acquired in the reference image acquisition step and the read image acquired in the read image acquisition step;
An edge region extraction step for extracting an edge region from the reference image before acquired in the reference image acquisition step;
A neighboring region detecting step for detecting a neighboring region located in the vicinity of the edge region extracted in the edge region extracting step;
For pixels constituting either the edge region extracted in the edge region extraction step or the neighborhood region detected in the neighborhood region detection step, the density of the pixel and the target of interest for the pixel are: The inspection threshold for inspection is corrected based on the density of one or more target pixels located in either the edge region or the neighboring region and the distance between the pixel and the one or more target pixels. A threshold correction step;
An inspection step of inspecting the printed matter based on the difference image generated in the difference image generation step and the inspection threshold corrected in the threshold correction step;
Including inspection methods.
印刷物の検査基準となる基準画像を取得する基準画像取得ステップと、
前記印刷物を読み取った読取画像を取得する読取画像取得ステップと、
前記基準画像取得ステップで取得した前記基準画像と前記読取画像取得ステップで取得した前記読取画像との差分を示す差分画像を生成する差分画像生成ステップと、
前記基準画像取得ステップで取得した前記基準画像からエッジ領域を抽出するエッジ領域抽出ステップと、
前記エッジ領域抽出ステップで抽出した前記エッジ領域の近傍に位置する近傍領域を検出する近傍領域検出ステップと、
前記エッジ領域抽出ステップで抽出した前記エッジ領域または前記近傍領域検出ステップで検出した前記近傍領域のいずれかの領域を構成する画素については、当該画素の濃度と、当該画素に対する着目対象であって、前記エッジ領域または前記近傍領域のいずれかに位置する1以上の着目画素の濃度と、当該画素と当該1以上のそれぞれの着目画素との距離と、に基づいて、検査用の検査閾値を補正する閾値補正ステップと、
前記差分画像生成ステップで生成した前記差分画像と前記閾値補正ステップで補正された前記検査閾値とに基づいて、前記印刷物を検査する検査ステップと、
をコンピュータに実行させるためのプログラム。
A reference image acquisition step for acquiring a reference image as an inspection standard for printed matter;
A read image acquisition step of acquiring a read image obtained by reading the printed matter;
A difference image generation step for generating a difference image indicating a difference between the reference image acquired in the reference image acquisition step and the read image acquired in the read image acquisition step;
An edge region extraction step of extracting an edge region from the reference image acquired in the reference image acquisition step;
A neighboring region detecting step for detecting a neighboring region located in the vicinity of the edge region extracted in the edge region extracting step;
For pixels constituting either the edge region extracted in the edge region extraction step or the neighborhood region detected in the neighborhood region detection step, the density of the pixel and the target of interest for the pixel are: The inspection threshold for inspection is corrected based on the density of one or more target pixels located in either the edge region or the neighboring region and the distance between the pixel and the one or more target pixels. A threshold correction step;
An inspection step of inspecting the printed matter based on the difference image generated in the difference image generation step and the inspection threshold corrected in the threshold correction step;
A program that causes a computer to execute.
JP2018010996A 2017-03-16 2018-01-25 Inspection device, inspection system, inspection method and program Active JP7206595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/920,494 US10657635B2 (en) 2017-03-16 2018-03-14 Inspection apparatus, inspection method and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017051994 2017-03-16
JP2017051994 2017-03-16

Publications (2)

Publication Number Publication Date
JP2018155736A true JP2018155736A (en) 2018-10-04
JP7206595B2 JP7206595B2 (en) 2023-01-18

Family

ID=63717873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018010996A Active JP7206595B2 (en) 2017-03-16 2018-01-25 Inspection device, inspection system, inspection method and program

Country Status (1)

Country Link
JP (1) JP7206595B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110596118A (en) * 2019-08-19 2019-12-20 兰考裕富精密科技有限公司 Print pattern detection method and print pattern detection device
CN111476753A (en) * 2019-01-22 2020-07-31 柯尼卡美能达株式会社 Image inspection device, image forming system, image inspection method, and computer-readable recording medium
EP3886042A1 (en) 2020-03-27 2021-09-29 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP7308443B2 (en) 2019-03-19 2023-07-14 株式会社リコー Evaluation device, authenticity evaluation method and program
JP7363035B2 (en) 2019-01-21 2023-10-18 コニカミノルタ株式会社 Image inspection equipment, programs, image processing equipment, and image forming equipment
JP7413917B2 (en) 2020-05-08 2024-01-16 コニカミノルタ株式会社 Image inspection device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330354B1 (en) * 1997-05-01 2001-12-11 International Business Machines Corporation Method of analyzing visual inspection image data to find defects on a device
JP2012103225A (en) * 2010-11-15 2012-05-31 Ricoh Co Ltd Inspection device, inspection method, inspection program and recording medium with program recorded thereon
JP2015175706A (en) * 2014-03-14 2015-10-05 オムロン株式会社 Inspection device, inspection method, program, and recording medium thereof
JP2016057068A (en) * 2014-09-05 2016-04-21 株式会社ブイ・テクノロジー Pattern fault checkup apparatus, and pattern fault checkup method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330354B1 (en) * 1997-05-01 2001-12-11 International Business Machines Corporation Method of analyzing visual inspection image data to find defects on a device
JP2012103225A (en) * 2010-11-15 2012-05-31 Ricoh Co Ltd Inspection device, inspection method, inspection program and recording medium with program recorded thereon
JP2015175706A (en) * 2014-03-14 2015-10-05 オムロン株式会社 Inspection device, inspection method, program, and recording medium thereof
JP2016057068A (en) * 2014-09-05 2016-04-21 株式会社ブイ・テクノロジー Pattern fault checkup apparatus, and pattern fault checkup method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7363035B2 (en) 2019-01-21 2023-10-18 コニカミノルタ株式会社 Image inspection equipment, programs, image processing equipment, and image forming equipment
CN111476753A (en) * 2019-01-22 2020-07-31 柯尼卡美能达株式会社 Image inspection device, image forming system, image inspection method, and computer-readable recording medium
JP7308443B2 (en) 2019-03-19 2023-07-14 株式会社リコー Evaluation device, authenticity evaluation method and program
CN110596118A (en) * 2019-08-19 2019-12-20 兰考裕富精密科技有限公司 Print pattern detection method and print pattern detection device
EP3886042A1 (en) 2020-03-27 2021-09-29 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
US11790522B2 (en) 2020-03-27 2023-10-17 Canon Kabushiki Kaisha Detection sensitivity for a defect corresponding to a predetermined local pattern
JP7413917B2 (en) 2020-05-08 2024-01-16 コニカミノルタ株式会社 Image inspection device

Also Published As

Publication number Publication date
JP7206595B2 (en) 2023-01-18

Similar Documents

Publication Publication Date Title
US10657635B2 (en) Inspection apparatus, inspection method and storage medium
JP7206595B2 (en) Inspection device, inspection system, inspection method and program
US10326916B2 (en) Inspection apparatus, inspection method and storage medium
JP6642161B2 (en) Inspection device, inspection method and program
US8780378B2 (en) Inspection apparatus, inspection method, inspection system, and storage medium
JP2013024564A (en) Image inspection apparatus, image inspection system and image inspection method
JP6613912B2 (en) Inspection device, inspection system, filter processing method, and program
US11372357B2 (en) Image forming apparatus for controlling density of an output image based on read data of test image, and information processing apparatus
JP6464722B2 (en) Information processing apparatus, defect transmission method, and program
JP6705305B2 (en) Inspection device, inspection method and program
JP2016055525A (en) Defect information specifying device and defect information specifying method
JP2016061659A (en) Printed matter inspection device, printed matter inspection system, and printed matter inspection method
JP6635335B2 (en) Image inspection device and image forming system
JP2016035418A (en) Image processing device, output object inspection method, and program
JP6848286B2 (en) Inspection equipment, inspection methods and programs
JP2017053673A (en) Inspection device, inspection method, and program
JP2016178557A (en) Image processing apparatus, correction method and program
JP2016061603A (en) Projection device and projection method
JP6907621B2 (en) Image processing equipment, image processing system, image processing method and program
JP6938992B2 (en) Inspection equipment, inspection system, inspection method and program
JP6743612B2 (en) Image processing apparatus, image processing method and program
JP6665544B2 (en) Inspection device, inspection system, inspection method and program
JP2016176822A (en) Color measurement device, color measurement method, and program
JP2015053561A (en) Printed matter inspection device, printed matter inspection method, and program
JP6891411B2 (en) Inspection equipment, inspection methods and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221013

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: 20221206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221219

R151 Written notification of patent or utility model registration

Ref document number: 7206595

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151