JP6848286B2 - Inspection equipment, inspection methods and programs - Google Patents

Inspection equipment, inspection methods and programs Download PDF

Info

Publication number
JP6848286B2
JP6848286B2 JP2016181018A JP2016181018A JP6848286B2 JP 6848286 B2 JP6848286 B2 JP 6848286B2 JP 2016181018 A JP2016181018 A JP 2016181018A JP 2016181018 A JP2016181018 A JP 2016181018A JP 6848286 B2 JP6848286 B2 JP 6848286B2
Authority
JP
Japan
Prior art keywords
pixel
image
value
difference
threshold
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
JP2016181018A
Other languages
Japanese (ja)
Other versions
JP2018044896A (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.)
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 JP2016181018A priority Critical patent/JP6848286B2/en
Publication of JP2018044896A publication Critical patent/JP2018044896A/en
Application granted granted Critical
Publication of JP6848286B2 publication Critical patent/JP6848286B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

プロダクションプリンティングなど高品質が要求される印刷では、印刷物に対する品質検査が要求されている。例えば、印刷物の生成元の元画像に色変換処理等を施して生成した検査基準となる基準画像と、印刷物を電気的に読み取ることで生成した読取画像と、の差分に基づいて、印刷物上に存在する欠陥を検出し、検出した欠陥に基づいて印刷物の品質を検査する検査装置が知られている。 In printing that requires high quality such as production printing, quality inspection of printed matter is required. For example, on the printed matter, based on the difference between the reference image as an inspection standard generated by performing color conversion processing or the like on the original image from which the printed matter is generated and the scanned image generated by electrically reading the printed matter. There are known inspection devices that detect existing defects and inspect the quality of printed matter based on the detected defects.

ここで、例えば特許文献1には、基準画像上の領域の種別を画素毎に示すタグビットを用いて、領域の種別に応じた検査を行う技術が開示されている。 Here, for example, Patent Document 1 discloses a technique for performing an inspection according to the type of region by using a tag bit indicating the type of region on the reference image for each pixel.

しかしながら、上述したような従来技術では、元画像に対し、複数種類のハーフトーンを用いたハーフトーン処理が施されている場合、検査精度を高めることができない。 However, in the conventional technique as described above, when the original image is subjected to halftone processing using a plurality of types of halftones, the inspection accuracy cannot be improved.

この場合、基準画像を生成するために元画像に施される色変換処理に使用される色変換情報は、一般的に、予め定められたハーフトーンから生成されるため、当該ハーフトーンと異なるハーフトーンでハーフトーン処理が施された元画像上の画素に対応する基準画像上の画素は、色再現性が落ちてしまう。 In this case, the color conversion information used for the color conversion process applied to the original image to generate the reference image is generally generated from a predetermined halftone, and therefore is a half different from the halftone. The color reproducibility of the pixels on the reference image corresponding to the pixels on the original image that have been subjected to halftone processing with tones deteriorates.

このため、上述したような従来技術のように、領域の種別に応じた検査を行うようにしても、ハーフトーンの種別の相違に伴う色再現性の低下を考慮せずに印刷物を検査すると、検査精度の低下を招いてしまう。 Therefore, even if the inspection is performed according to the type of region as in the conventional technique as described above, if the printed matter is inspected without considering the deterioration of the color reproducibility due to the difference in the type of halftone, the printed matter is inspected. It causes a decrease in inspection accuracy.

本発明は、上記事情に鑑みてなされたものであり、印刷物の生成元の元画像に複数種類のハーフトーンを用いたハーフトーン処理が施されている場合であっても、検査精度を高めることができる検査装置、検査方法及びプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and even when the original image from which the printed matter is generated is subjected to halftone processing using a plurality of types of halftones, the inspection accuracy is improved. It is an object of the present invention to provide an inspection device, an inspection method and a program capable of performing.

上述した課題を解決し、目的を達成するために、本発明の一態様にかかる検査装置は、複数種類のハーフトーンを用いたハーフトーン処理が施された、印刷物の生成元の元画像を取得する元画像取得部と、前記元画像を構成する画素に対応する画素毎に、前記ハーフトーン処理に用いられたハーフトーンの種別を示す種別画像を取得する種別画像取得部と、前記元画像に対し、予め定められた種別のハーフトーンに基づいて生成された色変換情報を用いた色変換を行い、検査基準となる基準画像を生成する基準画像生成部と、前記印刷物を読み取った読取画像を取得する読取画像取得部と、前記基準画像と前記読取画像との差分を示す差分画像を生成する差分画像生成部と、前記差分画像を構成する画素毎に、前記予め定められた種別のハーフトーンから定まる基準閾値と、当該画素に対応する種別画像上の画素が示す種別のハーフトーンから定まる前記基準閾値に対する緩和閾値と、に基づく検査閾値と、当該画素の値とを比較して、前記印刷物を検査する検査部と、を備え、前記検査部は、前記画素の値が前記検査閾値よりも大きいため、欠陥候補と判定した前記差分画像上の画素が、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンを用いたハーフトーン処理が施された元画像上の画素に対応する画素である場合、当該差分画像上の画素に対応する前記基準画像上の画素の画素値と前記読取画像上の画素の画素値との差分値と、前記基準閾値と、の閾値差分値を算出して、過去に算出した複数の閾値差分値と傾向が一致するか否かを判定し、傾向が一致する場合、前記算出した閾値差分値及び前記過去に算出した複数の閾値差分値の少なくともいずれかに基づいて、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンの前記緩和閾値を更新する。 In order to solve the above-mentioned problems and achieve the object, the inspection apparatus according to one aspect of the present invention acquires the original image of the generation source of the printed matter, which has been subjected to halftone processing using a plurality of types of halftones. The original image acquisition unit, the type image acquisition unit that acquires the type image indicating the type of the halftone used in the halftone processing for each pixel corresponding to the pixel constituting the original image, and the original image. On the other hand, a reference image generation unit that performs color conversion using color conversion information generated based on a predetermined type of halftone to generate a reference image as an inspection standard, and a scanned image obtained by reading the printed matter are displayed. The scanned image acquisition unit to be acquired, the difference image generation unit that generates a difference image showing the difference between the reference image and the scanned image, and the halftone of the predetermined type for each pixel constituting the difference image. The printed matter is compared with the inspection threshold based on the reference threshold determined from the reference threshold and the relaxation threshold for the reference threshold determined from the halftone of the type indicated by the pixel on the type image corresponding to the pixel, and the value of the pixel. The inspection unit includes an inspection unit for inspecting the image, and since the value of the pixel is larger than the inspection threshold value, the pixel on the difference image determined to be a defect candidate is a halftone of the predetermined type. When the pixel corresponds to the pixel on the original image that has been subjected to halftone processing using a halftone of a different type from the above, the pixel value and the reading of the pixel on the reference image corresponding to the pixel on the difference image. The difference value between the pixel value of the pixel on the image and the reference threshold value is calculated, and it is determined whether or not the tendency matches the plurality of threshold difference values calculated in the past, and the tendency is determined. If they match, the relaxation threshold of a halftone of a different type from the predetermined type of halftone is updated based on at least one of the calculated threshold difference value and the plurality of threshold difference values calculated in the past. you.

本発明によれば、印刷物の生成元の元画像に複数種類のハーフトーンを用いたハーフトーン処理が施されている場合であっても、検査精度を高めることができるという効果を奏する。 According to the present invention, even when the original image from which the printed matter is generated is subjected to halftone processing using a plurality of types of halftones, the inspection accuracy can be improved.

図1は、本実施形態の印刷物検査システムの一例を示す模式図である。FIG. 1 is a schematic view showing an example of the printed matter inspection system of the present embodiment. 図2は、本実施形態の印刷装置のハードウェア構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the hardware configuration of the printing apparatus of the present embodiment. 図3は、本実施形態の印刷物検査装置のハードウェア構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of the hardware configuration of the printed matter inspection device of the present embodiment. 図4は、本実施形態の印刷装置及び印刷物検査装置の機能構成の一例を示すブロック図である。FIG. 4 is a block diagram showing an example of the functional configuration of the printing device and the printed matter inspection device of the present embodiment. 図5は、本実施形態の印刷物検査装置で行われる色変換情報の生成処理の手順の流れの一例を示すフローチャートである。FIG. 5 is a flowchart showing an example of the flow of the procedure of the color conversion information generation process performed by the printed matter inspection apparatus of the present embodiment. 図6は、本実施形態の印刷物検査装置で行われる印刷物の品質検査処理の手順の流れの一例を示すフローチャートである。FIG. 6 is a flowchart showing an example of the flow of the procedure of the quality inspection process of the printed matter performed by the printed matter inspection apparatus of the present embodiment. 図7は、本実施形態の基準画像生成部で行われる基準画像の生成処理及び種別画像の変換処理(図6に示すステップS207の処理)の手順の流れの一例を示すフローチャートである。FIG. 7 is a flowchart showing an example of the flow of the procedure of the reference image generation process and the type image conversion process (process of step S207 shown in FIG. 6) performed by the reference image generation unit of the present embodiment. 図8は、本実施形態の種別画像の解像度変換手法の一例の説明図である。FIG. 8 is an explanatory diagram of an example of the resolution conversion method for the type image of the present embodiment. 図9は、本実施形態の種別画像の解像度変換手法の一例の説明図である。FIG. 9 is an explanatory diagram of an example of the resolution conversion method for the type image of the present embodiment. 図10は、本実施形態の検査部で行われる印刷物の検査処理(図6に示すステップS211の処理)の手順の流れの一例を示すフローチャートである。FIG. 10 is a flowchart showing an example of the flow of the procedure of the printed matter inspection process (process of step S211 shown in FIG. 6) performed by the inspection unit of the present embodiment. 図11は、本実施形態の検査部で行われる検査閾値設定処理(図10に示すステップS401の処理)の手順の流れの一例を示すフローチャートである。FIG. 11 is a flowchart showing an example of the flow of the procedure of the inspection threshold setting process (process of step S401 shown in FIG. 10) performed by the inspection unit of the present embodiment. 図12は、本実施形態の閾値情報記憶部に記憶されている緩和閾値情報の一例を示す図である。FIG. 12 is a diagram showing an example of relaxation threshold information stored in the threshold information storage unit of the present embodiment. 図13は、本実施形態の検査部で行われる欠陥判定処理(図10に示すステップS403の処理)の手順の流れの一例を示すフローチャートである。FIG. 13 is a flowchart showing an example of the flow of the procedure of the defect determination process (process of step S403 shown in FIG. 10) performed by the inspection unit of the present embodiment. 図14は、本実施形態の閾値差分値のリストの一例を示す図である。FIG. 14 is a diagram showing an example of a list of threshold value difference values of the present embodiment. 図15は、変形例1の検査部で行われる欠陥判定処理(図10に示すステップS403の処理)の手順の流れの一例を示すフローチャートである。FIG. 15 is a flowchart showing an example of the flow of the procedure of the defect determination process (process of step S403 shown in FIG. 10) performed by the inspection unit of the modified example 1.

以下、添付図面を参照しながら、本発明にかかる検査装置、検査方法及びプログラムの実施形態を詳細に説明する。 Hereinafter, embodiments of the inspection apparatus, inspection method, and 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 view showing an example of the printed matter inspection system 1 of the present embodiment. As shown in FIG. 1, the printed matter inspection system 1 includes a printing apparatus 100, 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, photoconductor drums 103Y, 103M, 103C, 103K, a transfer belt 105, a secondary transfer roller 107, a paper feed unit 109, a transfer roller pair 111, and a fixing roller 113. , Inverted path 115.

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

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

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

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

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

二次転写ローラ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 transfer 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 pressurizing 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 device 100 discharges the printed matter, which is a recording medium on which a full-color toner image is fixed, to the printed matter inspection device 200. On the other hand, in the case of double-sided printing, the printing apparatus 100 sends a recording medium on which a full-color toner image is fixed to the inversion path 115.

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

印刷物検査装置200は、読取部201と、オペレーションパネル203と、を備える。 The printed matter inspection device 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 matter inspection device 200 and displays various screens. The operation panel 203 may be omitted. In this case, the operation panel 101 may also serve as the operation panel 203, or the externally connected PC (Personal Computer) may also serve as the operation panel 203.

読取部201は、印刷装置100から排紙された印刷物の一方の面を電気的に読み取る。なお、印刷物検査装置200は、印刷物の他方の面を光学的に読み取る読取部を更に備えるようにしてもよい。この場合、印刷物の他方の面を光学的に読み取る読取部は、読取部201と同様の構成とすればよい。 The reading unit 201 electrically reads one side of the printed matter discharged from the printing device 100. The printed matter inspection device 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 matter may have the same configuration as the reading unit 201.

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

スタッカ300は、トレイ311を備える。スタッカ300は、印刷物検査装置200により排紙された印刷物をトレイ311にスタックする。 The stacker 300 includes a tray 311. The stacker 300 stacks the printed matter discharged by the printed matter inspection device 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 showing an example of the hardware configuration of the printing apparatus 100 of 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 overall control, drawing, communication, and input from the operation display unit 820 of the printing device 100. 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. In addition to the engine portion, the engine portion 860 also includes an image processing portion such as error diffusion and gamma conversion.

コントローラ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 are provided, and the north bridge (NB) 813 and the ASIC 816 are connected by an AGP (Accelerated Graphics Port) bus 815. Further, the MEM-P812 further includes a ROM 812a and a RAM 812b.

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

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

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

SB814は、NB813とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB814は、PCIバスを介してNB813と接続されており、このPCIバスには、ネットワークインタフェース(I/F)部なども接続される。 The SB814 is a bridge for connecting the NB813 to a PCI device and peripheral devices. The SB814 is connected to the NB813 via a PCI bus, and a network interface (I / F) unit or the like is 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 connecting the AGP bus 815, the PCI bus, the HDD 818, and the MEM-C817, respectively. 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-C817, and a plurality of DMACs (Direct Memory) that rotate image data by hardware logic or the like. It consists of an Access Controller) and a PCI unit that transfers data between the engine unit 860 via the PCI bus. A USB840 and an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface (I / F) 850 are connected to the ASIC 816 via a PCI bus. The operation display unit 820 is directly connected to the ASIC 816.

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

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

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

コントローラ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 an AGP bus 915. Further, the MEM-P912 further includes a ROM 912a and a RAM 912b.

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

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-P912, SB914, and the AGP bus 915, and has a memory controller that controls reading and writing to the MEM-P912, a PCI master, and an AGP target.

MEM−P912は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM912aとRAM912bとからなる。ROM912aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM912bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。 The MEM-P912 is a system memory used as a memory for storing programs and data, a memory for expanding programs and data, a memory for drawing a printer, 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 writeable and readable memory used as a memory for expanding programs and data, a memory for drawing a printer, and the like.

SB914は、NB913とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB914は、PCIバスを介してNB913と接続されており、このPCIバスには、ネットワークインタフェース(I/F)部なども接続される。 The SB914 is a bridge for connecting the NB913 to a PCI device and peripheral devices. The SB914 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と、エンジン部960との間でPCIバスを介したデータ転送をおこなうPCIユニットとからなる。このASIC916には、PCIバスを介してUSB940、IEEE1394インタフェース(I/F)950が接続される。操作表示部920はASIC916に直接接続されている。 The ASIC 916 is an IC for image processing applications that has 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-C917, respectively. 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-C917, a plurality of DMACs that rotate image data by hardware logic, and an engine. It consists of a PCI unit that transfers data to and from the unit 960 via the PCI bus. A USB940 and an IEEE1394 interface (I / F) 950 are connected to the ASIC 916 via a PCI bus. The operation display unit 920 is directly connected to the ASIC 916.

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

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

図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 showing an example of the configuration of the printing device 100 and the printed matter inspection device 200 of the present embodiment. As shown 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 device 200 includes a reading unit 251, a reading image acquisition unit 253, an original image acquisition unit 255, a color conversion information generation unit 257, a color conversion information storage unit 259, a type image acquisition unit 261 and a reference image. It includes a generation unit 263, a difference image generation unit 265, an inspection unit 267, and a threshold information storage unit 269.

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

また本実施形態では、印刷装置100と印刷物検査装置200とは、USB(Universal Serial Bus)やPCIe(Peripheral Component Interconnect Express)等のローカルなインタフェースによって接続されていることを想定しているが、印刷装置100と印刷物検査装置200との接続形態は、これに限定されるものではない。 Further, in the present embodiment, it is assumed that the printing device 100 and the printed matter inspection device 200 are connected by a local interface such as USB (Universal Serial Bus) or PCIe (Peripheral Component Interconnect Express), but printing is performed. The connection form between the device 100 and the printed matter inspection device 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, for example, a CPU 811 and a system memory 812. The printing unit 125 is realized by, for example, the photoconductor drums 103Y, 103M, 103C, 103K, the transfer belt 105, the secondary transfer roller 107, the fixing roller 113, and the like, but is not limited thereto. As described above, in the present embodiment, the image is printed by the electrophotographic method, but the present invention is not limited to this, and the image may be printed by the inkjet method.

読取部251は、読取部201で構成され、例えば、エンジン部960などにより実現できる。読取画像取得部253、元画像取得部255、色変換情報生成部257、種別画像取得部261、及び基準画像生成部263は、例えば、CPU911及びシステムメモリ912などにより実現できる。色変換情報記憶部259及び閾値情報記憶部269は、例えば、HDD918などにより実現できる。差分画像生成部265及び検査部267は、例えば、CPU911及びシステムメモリ912などにより実現してもよいし、ASIC916などにより実現してもよいし、これらを併用して実現してもよい。 The reading unit 251 is composed of a reading unit 201, and can be realized by, for example, an engine unit 960 or the like. The scanned image acquisition unit 253, the original image acquisition unit 255, the color conversion information generation unit 257, the type image acquisition unit 261 and the reference image generation unit 263 can be realized by, for example, a CPU 911 and a system memory 912. The color conversion information storage unit 259 and the threshold value information storage unit 269 can be realized by, for example, HDD 918. The difference image generation unit 265 and the inspection unit 267 may be realized by, for example, a CPU 911, a system memory 912, or the like, an ASIC 916, or the like, or may be realized by using these in combination.

また、図1に示すオペレーションパネル101は、操作表示部820により実現され、図1に示すオペレーションパネル203は、操作表示部920により実現される。 Further, the operation panel 101 shown in FIG. 1 is realized by the operation display unit 820, and the operation panel 203 shown in FIG. 1 is realized by the operation display unit 920.

以下では、印刷装置100及び印刷物検査装置200の動作について、最初に、印刷物の元画像から基準画像を生成する際の色変換処理に用いられる色変換情報の生成動作について説明し、その後に、印刷物の品質を検査する検査動作について説明する。 In the following, regarding the operations of the printing device 100 and the printed matter inspection device 200, first, the operation of generating color conversion information used in the color conversion process when generating a reference image from the original image of the printed matter will be described, and then the printed matter will be described. The inspection operation for inspecting the quality of the

まず、色変換情報の生成動作について説明する。 First, the operation of generating color conversion information will be described.

RIP部121は、ホスト装置などの外部装置から、カラーチャートの印刷指示を受け付けると、当該カラーチャートの元画像としてRIP画像を生成する。本実施形態では、RIP画像は、CMYKの各画素600dpiのRIP画像データであるものとするが、これに限定されるものではない。なお、カラーチャートは、RIP部121が、RIP画像の領域の種別に応じて使い分ける複数種類のハーフトーンのうち、予め定められた種別のハーフトーン用のカラーチャートであるものとする。複数種類のハーフトーンとしては、例えば、200lpi(line per inch)網点のハーフトーンや150lpi(line per inch)網点のハーフトーンなどが挙げられるが、これに限定されるものではない。 When the RIP unit 121 receives a print instruction of the color chart from an external device such as a host device, the RIP unit 121 generates a RIP image as the original image of the color chart. In the present embodiment, the RIP image is assumed to be RIP image data of 600 dpi of each pixel of CMYK, but is not limited thereto. It is assumed that the color chart is a color chart for a predetermined type of halftone among a plurality of types of halftones that the RIP unit 121 uses properly according to the type of the area of the RIP image. Examples of the plurality of types of halftones include, but are not limited to, a halftone of 200 lpi (line per inch) halftone dots and a halftone of 150 lpi (line per inch) halftone dots.

印刷制御部123は、RIP部121により生成されたカラーチャートの元画像を印刷部125へ送信する。また印刷制御部123は、当該カラーチャートの元画像、及び当該カラーチャートが、どのハーフトーン用のカラーチャートであるかを識別する基準ハーフトーンIDを、印刷物検査装置200へ送信する。 The print control unit 123 transmits the original image of the color chart generated by the RIP unit 121 to the print unit 125. Further, the print control unit 123 transmits the original image of the color chart and the reference halftone ID for identifying which halftone the color chart is for to the printed matter inspection device 200.

印刷部125は、作像プロセスなどの印刷処理プロセスを実行し、カラーチャートの元画像に基づく印刷画像を用紙に印刷し、カラーチャートの印刷物を生成する。 The printing unit 125 executes a printing processing process such as an image forming process, prints a printed image based on the original image of the color chart on paper, and generates a printed matter of the color chart.

以下、印刷物検査装置200側の色変換情報の生成動作については、図5を参照しながら説明する。図5は、本実施形態の印刷物検査装置200で行われる色変換情報の生成処理の手順の流れの一例を示すフローチャートである。但し、処理順序はこれに限定されず、例えば、ステップS101〜S103の処理と、ステップS105〜S109の処理と、の順序を入れ替えてもよいし、並列に処理してもよい。 Hereinafter, the operation of generating the color conversion information on the printed matter inspection device 200 side will be described with reference to FIG. FIG. 5 is a flowchart showing an example of the flow of the procedure of the color conversion information generation process performed by the printed matter inspection device 200 of the present embodiment. However, the processing order is not limited to this, and for example, the processing of steps S101 to S103 and the processing of steps S105 to S109 may be interchanged or may be processed in parallel.

まず、読取部251は、印刷部125により生成されたカラーチャートの印刷物を読み取ってカラーチャートの読取画像を生成し、読取画像取得部253は、当該カラーチャートの読取画像を取得する(ステップS101)。本実施形態では、カラーチャートの読取画像は、RGBの各画素200dpiの画像データであるものとするが、これに限定されるものではない。 First, the reading unit 251 reads the printed matter of the color chart generated by the printing unit 125 to generate a scanned image of the color chart, and the scanned image acquisition unit 253 acquires the scanned image of the color chart (step S101). .. In the present embodiment, the scanned image of the color chart is assumed to be image data of 200 dpi for each pixel of RGB, but is not limited thereto.

続いて、色変換情報生成部257は、読取画像取得部253により取得されたカラーチャートの読取画像を測色する(ステップS103)。 Subsequently, the color conversion information generation unit 257 measures the color of the scanned image of the color chart acquired by the scanned image acquisition unit 253 (step S103).

続いて、元画像取得部255は、印刷装置100から、カラーチャートの元画像及び基準ハーフトーンIDを取得する(ステップS105)。 Subsequently, the original image acquisition unit 255 acquires the original image of the color chart and the reference halftone ID from the printing apparatus 100 (step S105).

続いて、色変換情報生成部257は、元画像取得部255により取得されたカラーチャートの元画像を解像度変換する(ステップS107)。本実施形態では、色変換情報生成部257は、カラーチャートの元画像を600dpiから200dpiに解像度変換する。 Subsequently, the color conversion information generation unit 257 converts the resolution of the original image of the color chart acquired by the original image acquisition unit 255 (step S107). In the present embodiment, the color conversion information generation unit 257 converts the resolution of the original image of the color chart from 600 dpi to 200 dpi.

続いて、色変換情報生成部257は、解像度変換したカラーチャートの元画像を測色する(ステップS109)。 Subsequently, the color conversion information generation unit 257 measures the color of the original image of the color chart whose resolution has been converted (step S109).

続いて、色変換情報生成部257は、カラーチャートの元画像の測色結果(CMYKの測色結果)とカラーチャートの読取画像の測色結果(RGBの測色結果)とを対応付けて、色変換情報を生成し、生成した色変換情報と基準ハーフトーンIDとを対応付けて色変換情報記憶部259に記憶(登録)する(ステップS111)。つまり、色変換情報は、基準ハーフトーンIDが示すハーフトーン用の、CMYKからRGBへの色空間変換を行うための色変換情報となる。 Subsequently, the color conversion information generation unit 257 associates the color measurement result of the original image of the color chart (CMYK color measurement result) with the color measurement result of the read image of the color chart (RGB color measurement result). Color conversion information is generated, and the generated color conversion information is associated with the reference halftone ID and stored (registered) in the color conversion information storage unit 259 (step S111). That is, the color conversion information is the color conversion information for performing the color space conversion from CMYK to RGB for the halftone indicated by the reference halftone ID.

なお本実施形態では、色変換情報として、CMYKからRGBへの色空間変換を行うための色変換情報を例に取り説明するが、これに限定されず、CMYKからLabへの色空間変換やRGBからCMYKへの色空間変換など、異なる色空間への変換のための色変換情報にも適用できる。 In the present embodiment, as the color conversion information, the color conversion information for performing the color space conversion from CMYK to RGB will be described as an example, but the present invention is not limited to this, and the color space conversion from CMYK to Lab and RGB are described. It can also be applied to color conversion information for conversion to a different color space, such as color space conversion from to CMYK.

次に、印刷物の品質を検査する検査動作について説明する。 Next, an inspection operation for inspecting the quality of printed matter will be described.

RIP部121は、ホスト装置などの外部装置から印刷データを受け取り、受け取った印刷データをRIP処理し、印刷物の元画像として、RIP画像を生成する。なお、RIP部121は、印刷物の元画像を生成する際、当該元画像に対し、複数種類のハーフトーンを用いたハーフトーン処理を施すものとする。具体的には、RIP部121は、印刷物の元画像を構成する領域毎に、当該領域の種別に応じた種別のハーフトーンを用いたハーフトーン処理を施すものとする。ここで、元画像を構成する領域としては、例えば、文字領域、エッジ領域、絵柄領域、及び写真領域などが挙げられるが、これらに限定されるものではない。また、RIP部121は、元画像を構成する画素に対応する画素毎に、当該元画像を構成する画素に施されたハーフトーン処理に用いられたハーフトーンの種別を示す種別画像も生成する。 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 as the original image of the printed matter. When generating the original image of the printed matter, the RIP unit 121 shall perform halftone processing using a plurality of types of halftones on the original image. Specifically, the RIP unit 121 shall perform halftone processing using halftones of the type corresponding to the type of the area for each area constituting the original image of the printed matter. Here, examples of the area constituting the original image include, but are not limited to, a character area, an edge area, a picture area, and a photographic area. In addition, the RIP unit 121 also generates a type image indicating the type of halftone used in the halftone processing applied to the pixels constituting the original image for each pixel corresponding to the pixels constituting the original image.

本実施形態では、印刷データは、PostScript(登録商標)などのページ記述言語(PDL:Page Description Language)で記述されたジョブ情報やTIFF(Tagged Image File Format)形式の画像データなどを含んで構成されるが、これに限定されるものではない。また本実施形態では、RIP画像は、前述の通り、CMYKの各画素600dpiのRIP画像データであるものとするが、これに限定されるものではない。また、種別画像も各画素600dpiの画像データであるものとするが、これに限定されるものではない。 In the present embodiment, the print data includes job information described in a page description language (PDL) such as PostScript (registered trademark), image data in TIFF (Tagged Image File Format) format, and the like. However, it is not limited to this. Further, in the present embodiment, as described above, the RIP image is assumed to be RIP image data of 600 dpi of each pixel of CMYK, but the RIP image is not limited to this. Further, the type image is also assumed to be image data of 600 dpi for each pixel, but is not limited to this.

印刷制御部123は、RIP部121により生成された印刷物の元画像を印刷部125へ送信する。また印刷制御部123は、RIP部121により生成された印刷物の元画像及び種別画像を印刷物検査装置200へ送信する。 The print control unit 123 transmits the original image of the printed matter generated by the RIP unit 121 to the print unit 125. Further, the print control unit 123 transmits the original image and the type image of the printed matter generated by the RIP unit 121 to the printed matter inspection device 200.

また印刷制御部123は、印刷物検査装置200から送信される(フィードバックされる)検査結果を用いて、例えば、スタッカ300に対して品質検査に合格しなかった印刷物の排紙先の指定や品質検査に合格しなかった印刷物へのマーキングを行ったり、印刷部125に対して差し替え印刷を指示したりする。 Further, the print control unit 123 uses the inspection result transmitted (feedback) from the printed matter inspection device 200 to specify, for example, the output destination of the printed matter that has not passed the quality inspection for the stacker 300 and the quality inspection. Marking of printed matter that did not pass the above, or instructing the printing unit 125 to perform replacement printing.

印刷部125は、作像プロセスなどの印刷処理プロセスを実行し、印刷物の元画像に基づく印刷画像を用紙に印刷し、印刷物を生成する。 The printing unit 125 executes a printing processing process such as an image forming process, prints a printed image based on the original image of the printed matter on paper, and generates a printed matter.

以下、印刷物検査装置200側の印刷物の品質を検査する検査動作については、図6を参照しながら説明する。図6は、本実施形態の印刷物検査装置200で行われる印刷物の品質検査処理の手順の流れの一例を示すフローチャートである。但し、処理順序はこれに限定されるものではない。 Hereinafter, the inspection operation for inspecting the quality of the printed matter on the printed matter inspection apparatus 200 side will be described with reference to FIG. FIG. 6 is a flowchart showing an example of the flow of the procedure of the quality inspection process of the printed matter performed by the printed matter inspection apparatus 200 of the present embodiment. However, the processing order is not limited to this.

まず、読取部251は、印刷部125により生成された印刷物を読み取って印刷物の読取画像を生成し、読取画像取得部253は、当該印刷物の読取画像を取得する(ステップS201)。本実施形態では、印刷物の読取画像は、RGBの各画素200dpiの画像データであるものとするが、これに限定されるものではない。 First, the reading unit 251 reads the printed matter generated by the printing unit 125 to generate a scanned image of the printed matter, and the scanned image acquisition unit 253 acquires the scanned image of the printed matter (step S201). In the present embodiment, the scanned image of the printed matter is assumed to be image data of 200 dpi for each pixel of RGB, but is not limited thereto.

続いて、元画像取得部255は、印刷装置100から、印刷物の元画像を取得する(ステップS203)。 Subsequently, the original image acquisition unit 255 acquires the original image of the printed matter from the printing device 100 (step S203).

続いて、種別画像取得部261は、印刷装置100から、印刷物の元画像の種別画像を取得する(ステップS205)。 Subsequently, the type image acquisition unit 261 acquires the type image of the original image of the printed matter from the printing device 100 (step S205).

続いて、基準画像生成部263は、元画像取得部255により取得された印刷物の元画像から、検査基準となる基準画像を生成する(ステップS207)。具体的には、基準画像生成部263は、印刷物の元画像に対し、解像度変換や、予め定められた種別のハーフトーンに基づいて生成された色変換情報(色変換情報記憶部259に記憶されている色変換情報)を用いた色変換等を行い、基準画像を生成する。 Subsequently, the reference image generation unit 263 generates a reference image as an inspection reference from the original image of the printed matter acquired by the original image acquisition unit 255 (step S207). Specifically, the reference image generation unit 263 stores the color conversion information (color conversion information storage unit 259) generated based on the resolution conversion and the halftone of a predetermined type with respect to the original image of the printed matter. A reference image is generated by performing color conversion or the like using the color conversion information).

この際、基準画像生成部263は、種別画像取得部261により取得された種別画像についても、解像度を基準画像に対応させるため、解像度変換を行う。なお、基準画像の生成処理や種別画像の変換処理の詳細については、後述する。本実施形態では、基準画像は、RGBの各画素200dpiの画像データであるものとするが、これに限定されるものではない。 At this time, the reference image generation unit 263 also performs resolution conversion on the type image acquired by the type image acquisition unit 261 in order to make the resolution correspond to the reference image. The details of the reference image generation process and the type image conversion process will be described later. In the present embodiment, the reference image is image data of 200 dpi for each pixel of RGB, but the reference image is not limited to this.

続いて、差分画像生成部265は、基準画像生成部263により生成された基準画像と読取画像取得部253により取得された印刷物の読取画像との差分を示す差分画像を生成する(ステップS209)。具体的には、差分画像生成部265は、基準画像と読取画像とを画素単位で比較し、RGB各色の画素値の差分値を画素毎に算出し、画素毎の画素値の差分値で構成される差分画像を生成する。 Subsequently, the difference image generation unit 265 generates a difference image showing the difference between the reference image generated by the reference image generation unit 263 and the scanned image of the printed matter acquired by the scanned image acquisition unit 253 (step S209). Specifically, the difference image generation unit 265 compares the reference image and the read image on a pixel-by-pixel basis, calculates the difference value of the pixel value of each RGB color for each pixel, and comprises the difference value of the pixel value for each pixel. Generate the difference image to be generated.

続いて、検査部267は、差分画像生成部265により生成された差分画像に基づいて、印刷物を検査する(ステップS211)。具体的には、検査部267は、差分画像生成部265により生成された差分画像を構成する画素毎に、予め定められた種別のハーフトーンから定まる基準閾値と、当該画素に対応する種別画像上の画素が示す種別のハーフトーンから定まる基準閾値に対する緩和閾値と、に基づく検査閾値と、当該画素の値とを比較して、印刷物を検査する。 Subsequently, the inspection unit 267 inspects the printed matter based on the difference image generated by the difference image generation unit 265 (step S211). Specifically, the inspection unit 267 sets a reference threshold value determined from a predetermined type of halftone for each pixel constituting the difference image generated by the difference image generation unit 265, and a type image corresponding to the pixel. The printed matter is inspected by comparing the relaxation threshold value with respect to the reference threshold value determined from the halftone of the type indicated by the pixel, the inspection threshold value based on the halftone, and the value of the pixel.

例えば、検査部267は、差分画像生成部265により生成された差分画像を構成する各画素の差分値と、検査閾値との大小関係に基づいて、印刷装置100により生成された印刷物の濃度欠陥を検査する。例えば、差分値の大きい箇所(画素群)や差分のある面積が広い箇所(画素群)が濃度欠陥となる。 For example, the inspection unit 267 determines the density defect of the printed matter generated by the printing device 100 based on the magnitude relationship between the difference value of each pixel constituting the difference image generated by the difference image generation unit 265 and the inspection threshold value. inspect. For example, a place where the difference value is large (pixel group) or a place where the area with the difference is wide (pixel group) becomes a density defect.

そして検査部267は、濃度欠陥の位置や種類などの検査結果、読取画像、及び基準画像を対応付けてHDD918に保存したり、印刷装置100に送信(フィードバック)したりする。なお、検査部267による検査処理の詳細については、後述する。 Then, the inspection unit 267 stores the inspection result such as the position and type of the density defect, the read image, and the reference image in association with each other in the HDD 918, or transmits (feedback) to the printing apparatus 100. The details of the inspection process by the inspection unit 267 will be described later.

図7は、本実施形態の基準画像生成部263で行われる基準画像の生成処理及び種別画像の変換処理(図6に示すステップS207の処理)の手順の流れの一例を示すフローチャートである。 FIG. 7 is a flowchart showing an example of the flow of the procedure of the reference image generation process and the type image conversion process (process of step S207 shown in FIG. 6) performed by the reference image generation unit 263 of the present embodiment.

まず、基準画像生成部263は、元画像取得部255により取得された印刷物の元画像及び種別画像取得部261により取得された種別画像の解像度を変換する(ステップS301)。本実施形態では、基準画像生成部263は、印刷物の元画像及び種別画像を600dpiから200dpiに解像度変換する。 First, the reference image generation unit 263 converts the resolution of the original image of the printed matter acquired by the original image acquisition unit 255 and the type image acquired by the type image acquisition unit 261 (step S301). In the present embodiment, the reference image generation unit 263 converts the resolution of the original image and the type image of the printed matter from 600 dpi to 200 dpi.

なお、600dpiから200dpiへの解像度変換により、3×3画素が1画素にまとめられるが、種別画像については、画素値が、ハーフトーン処理に用いられたハーフトーンの種別を示す値であるため、基準画像生成部263は、以下のようにまとめる。 By the resolution conversion from 600 dpi to 200 dpi, 3 × 3 pixels are combined into one pixel, but for the type image, the pixel value is a value indicating the type of halftone used for the halftone processing. The reference image generation unit 263 is summarized as follows.

例えば、図8に示すように、解像度変換前の3×3画素の値が全て共通(図8に示す例では、0)である場合、基準画像生成部263は、解像度変換後の1画素の値を当該共通の値(図8に示す例では、0)にまとめる。また例えば、図9に示すように、解像度変換前の3×3画素に異なる値が含まれている場合、基準画像生成部263は、解像度変換後の1画素の値を最頻値(図9に示す例では、0)にまとめてもよいし、種別が異なる複数種類のハーフトーンが混合していることを示す値にまとめてもよい。 For example, as shown in FIG. 8, when all the values of the 3 × 3 pixels before the resolution conversion are common (0 in the example shown in FIG. 8), the reference image generation unit 263 is the one pixel after the resolution conversion. The values are grouped into the common value (0 in the example shown in FIG. 8). Further, for example, as shown in FIG. 9, when different values are included in the 3 × 3 pixels before the resolution conversion, the reference image generation unit 263 sets the value of one pixel after the resolution conversion as the mode (FIG. 9). In the example shown in (1), it may be summarized in 0), or it may be summarized in a value indicating that a plurality of types of halftones of different types are mixed.

続いて、基準画像生成部263は、解像度変換した印刷物の元画像に対し、色変換情報記憶部259に記憶されている色変換情報を用いた色変換を行い、基準画像を生成する(ステップS303)。 Subsequently, the reference image generation unit 263 performs color conversion using the color conversion information stored in the color conversion information storage unit 259 on the original image of the printed matter whose resolution has been converted, and generates a reference image (step S303). ).

なお、前述の通り、色変換情報は、当該色変換情報に対応付けられた基準ハーフトーンIDが示すハーフトーン用の色空間変換を行うための色変換情報である。このため、当該ハーフトーンと異なるハーフトーンでハーフトーン処理が施された元画像上の領域に対応する基準画像上の領域は、色再現性が若干低下している。 As described above, the color conversion information is the color conversion information for performing the color space conversion for the halftone indicated by the reference halftone ID associated with the color conversion information. Therefore, the color reproducibility of the region on the reference image corresponding to the region on the original image to which the halftone processing is performed with a halftone different from the halftone is slightly deteriorated.

続いて、基準画像生成部263は、生成した基準画像に対し、基準点を設定する(ステップS305)。なお、基準点は、位置合わせの基準となる特徴点であり、前述した差分画像生成部265は、この基準点を用いて基準画像と読取画像との位置合わせを行い、差分画像を生成する。 Subsequently, the reference image generation unit 263 sets a reference point for the generated reference image (step S305). The reference point is a feature point that serves as a reference for alignment, and the difference image generation unit 265 described above aligns the reference image and the read image using this reference point to generate a difference image.

図10は、本実施形態の検査部267で行われる印刷物の検査処理(図6に示すステップS211の処理)の手順の流れの一例を示すフローチャートである。 FIG. 10 is a flowchart showing an example of the flow of the procedure of the printed matter inspection process (process of step S211 shown in FIG. 6) performed by the inspection unit 267 of the present embodiment.

まず、検査部267は、差分画像生成部265により生成された差分画像上の画素に対する検査閾値を設定する検査閾値設定処理を行う(ステップS401)。 First, the inspection unit 267 performs an inspection threshold setting process for setting an inspection threshold for pixels on the difference image generated by the difference image generation unit 265 (step S401).

図11は、本実施形態の検査部267で行われる検査閾値設定処理(図10に示すステップS401の処理)の手順の流れの一例を示すフローチャートである。 FIG. 11 is a flowchart showing an example of the flow of the procedure of the inspection threshold setting process (process of step S401 shown in FIG. 10) performed by the inspection unit 267 of the present embodiment.

図11に示すフローチャートの処理を説明する前に、検査閾値の生成に用いられる基準閾値及び緩和閾値について説明する。なお、基準閾値及び緩和閾値は、閾値情報記憶部269に記憶されている。 Before explaining the processing of the flowchart shown in FIG. 11, the reference threshold value and the relaxation threshold value used for generating the inspection threshold value will be described. The reference threshold value and the relaxation threshold value are stored in the threshold value information storage unit 269.

基準閾値は、色変換情報の生成に用いられたハーフトーンから定まる閾値であり、当該ハーフトーンでハーフトーン処理が施された種別の領域での検査を想定した閾値である。例えば、色変換情報の生成に用いられたハーフトーンが、文字領域でのハーフトーン処理に用いられるハーフトーンである場合、基準閾値は、差分画像上の文字領域での検査を想定した閾値となる。 The reference threshold value is a threshold value determined from the halftone used for generating the color conversion information, and is a threshold value assuming inspection in a region of the type in which the halftone processing is performed on the halftone. For example, when the halftone used for generating the color conversion information is the halftone used for the halftone processing in the character area, the reference threshold value is a threshold value assuming inspection in the character area on the difference image. ..

緩和閾値は、色変換情報の生成に用いられなかったハーフトーン毎に用意される閾値であり、色変換情報の生成に用いられたハーフトーンとの差分を吸収するための閾値である。前述のように、色変換情報の生成に用いられたハーフトーンが、文字領域でのハーフトーン処理に用いられるハーフトーンである場合、絵柄領域用のハーフトーンでハーフトーン処理が施された元画像上の絵柄領域に対応する基準画像上の絵柄領域は、基準画像上の文字領域に比べ、色再現性が若干低下する。このため、絵柄領域の検査を、文字領域での検査を想定した基準閾値のみで行ってしまうと、色再現性が若干低下した分の画素値(差分値)を吸収できず、検査精度が低下してしまう。つまり、緩和閾値は、ハーフトーンの相違に伴い色再現性が若干低下した分の画素値(差分値)を吸収するための閾値である。 The relaxation threshold is a threshold prepared for each halftone that was not used for generating the color conversion information, and is a threshold for absorbing the difference from the halftone used for generating the color conversion information. As described above, when the halftone used for generating the color conversion information is the halftone used for the halftone processing in the character area, the original image in which the halftone processing is performed with the halftone for the picture area. The color reproducibility of the pattern area on the reference image corresponding to the upper pattern area is slightly lower than that of the character area on the reference image. For this reason, if the pattern area is inspected only with the reference threshold value assuming the inspection in the character area, the pixel value (difference value) due to the slightly reduced color reproducibility cannot be absorbed, and the inspection accuracy is lowered. Resulting in. That is, the relaxation threshold value is a threshold value for absorbing the pixel value (difference value) corresponding to the slight decrease in color reproducibility due to the difference in halftone.

なお、詳細は後述するが、本実施形態では、緩和閾値は、最初から、ハーフトーンの相違に伴い色再現性が若干低下した分の画素値(差分値)を吸収できるような値に設定されているわけではなく、検査を繰り返しながら緩和閾値の値を更新していくことで、このような値に更新していく。これは、緩和閾値の初期設定にかかる負荷を削減するためである。 Although details will be described later, in the present embodiment, the relaxation threshold value is set to a value that can absorb the pixel value (difference value) corresponding to the slight decrease in color reproducibility due to the difference in halftone from the beginning. This is not the case, and by updating the value of the relaxation threshold value while repeating the inspection, it is updated to such a value. This is to reduce the load on the initial setting of the relaxation threshold.

本実施形態では、基準閾値に緩和閾値を加算することにより検査閾値を生成するものとするが、これに限定されるものではない。 In the present embodiment, the inspection threshold value is generated by adding the relaxation threshold value to the reference threshold value, but the present invention is not limited to this.

図12は、本実施形態の閾値情報記憶部269に記憶されている緩和閾値情報の一例を示す図である。図12に示す例では、緩和閾値情報は、基準ハーフトーンIDと、ハーフトーンIDと、基準画像画素値と、緩和閾値と、を対応付けた情報となっている。基準ハーフトーンIDは、前述の通り、色変換情報の生成に用いられたハーフトーンの種別を示すIDである。ハーフトーンIDは、該当するハーフトーンの種別を示すIDである。基準画像画素値は、検査対象の画素に対応する基準画像上の画素の画素値を示す。緩和閾値は、RGB毎に用意されている。 FIG. 12 is a diagram showing an example of relaxation threshold information stored in the threshold information storage unit 269 of the present embodiment. In the example shown in FIG. 12, the relaxation threshold information is information in which the reference halftone ID, the halftone ID, the reference image pixel value, and the relaxation threshold are associated with each other. As described above, the reference halftone ID is an ID indicating the type of halftone used for generating the color conversion information. The halftone ID is an ID indicating the type of the corresponding halftone. The reference image pixel value indicates the pixel value of the pixel on the reference image corresponding to the pixel to be inspected. The relaxation threshold is prepared for each RGB.

なお、図12に示す例では、基準ハーフトーンIDとハーフトーンIDとの組みに対し、基準画像の画素値の組(RGBの値の組)毎に、緩和閾値が用意されているが、これは、色によって、色再現性の度合いが異なる場合もあるためである。また、図12に示す例では、基準ハーフトーンIDとハーフトーンIDとが同一の場合、該当画素では、色再現性の低下は生じないため、緩和閾値は設定されていない。 In the example shown in FIG. 12, a relaxation threshold value is prepared for each set of pixel values of the reference image (set of RGB values) for the set of the reference halftone ID and the halftone ID. This is because the degree of color reproducibility may differ depending on the color. Further, in the example shown in FIG. 12, when the reference halftone ID and the halftone ID are the same, the relaxation threshold value is not set because the color reproducibility does not decrease in the corresponding pixel.

また、解像度変換後の種別画像が、種別が異なる複数種類のハーフトーンが混合していることを示す値を示す場合のため、緩和閾値情報において、複数種類のハーフトーンが混合している場合用の緩和閾値を用意してもよい。なお、解像度変換後の種別画像が、種別が異なる複数種類のハーフトーンが混合していることを示す値を示す場合、緩和閾値を用いずに基準閾値を検査閾値としてもよい。 Further, since the type image after resolution conversion shows a value indicating that a plurality of types of halftones of different types are mixed, it is used when a plurality of types of halftones are mixed in the relaxation threshold information. The relaxation threshold of may be prepared. When the type image after resolution conversion shows a value indicating that a plurality of types of halftones of different types are mixed, the reference threshold value may be used as the inspection threshold value without using the relaxation threshold value.

なお、基準閾値についても、緩和閾値情報と略同様の形式で、基準ハーフトーンIDと、基準画像画素値と、基準閾値と、を対応付けた情報として、閾値情報記憶部269に記憶されている。 The reference threshold is also stored in the threshold information storage unit 269 as information in which the reference halftone ID, the reference image pixel value, and the reference threshold are associated with each other in substantially the same format as the relaxation threshold information. ..

図11の説明に戻り、まず、検査部267は、差分画像上の閾値設定対象の画素に対応する種別画像上の画素が示すハーフトーンIDを取得する(ステップS501)。 Returning to the description of FIG. 11, first, the inspection unit 267 acquires the halftone ID indicated by the pixel on the type image corresponding to the pixel for which the threshold value is set on the difference image (step S501).

続いて、検査部267は、差分画像上の閾値設定対象の画素に対応する基準画像上の画素の画素値を取得する(ステップS503)。 Subsequently, the inspection unit 267 acquires the pixel value of the pixel on the reference image corresponding to the pixel for which the threshold value is set on the difference image (step S503).

続いて、検査部267は、閾値情報記憶部269から、取得したハーフトーンID及び取得した基準画像の画素値に対応付けられた緩和閾値を取得するとともに、基準閾値を取得し、取得した緩和閾値と取得した基準閾値とを合算して、検査閾値を生成し、閾値設定対象の画素用の閾値に設定する(ステップS505)。 Subsequently, the inspection unit 267 acquires the relaxation threshold value associated with the acquired halftone ID and the pixel value of the acquired reference image from the threshold information storage unit 269, acquires the reference threshold value, and acquires the relaxation threshold value. And the acquired reference threshold value are added together to generate an inspection threshold value, which is set to the threshold value for the pixel for which the threshold value is set (step S505).

図10に戻り、検査部267は、差分画像上の検査対象の画素に設定された検査閾値を用いて、当該画素の欠陥の有無を判定する欠陥判定処理を行う(ステップS403)。 Returning to FIG. 10, the inspection unit 267 performs a defect determination process for determining the presence or absence of a defect in the pixel using the inspection threshold set for the pixel to be inspected on the difference image (step S403).

なお、ステップS401〜S403の処理は、1画素毎に交互に行うようにしてもよいし、差分画像上の各画素に対し、ステップS401の処理を行った後に、ステップS403の処理を行うようにしてもよい。 The processing of steps S401 to S403 may be alternately performed for each pixel, or the processing of step S403 may be performed after the processing of step S401 for each pixel on the difference image. You may.

図13は、本実施形態の検査部267で行われる欠陥判定処理(図10に示すステップS403の処理)の手順の流れの一例を示すフローチャートである。 FIG. 13 is a flowchart showing an example of the flow of the procedure of the defect determination process (process of step S403 shown in FIG. 10) performed by the inspection unit 267 of the present embodiment.

まず、検査部267は、差分画像上の検査対象の画素の差分値と、当該画素に設定された検査閾値との大小関係に基づいて、当該画素が欠陥候補であるか否かを判定する(ステップS601)。 First, the inspection unit 267 determines whether or not the pixel is a defect candidate based on the magnitude relationship between the difference value of the pixel to be inspected on the difference image and the inspection threshold value set for the pixel. Step S601).

検査対象の画素の差分値が検査閾値よりも大きく、当該検査対象の画素が欠陥候補である場合(ステップS603でYes)、緩和閾値情報において、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDとの値が一致すれば(ステップS605でYes)、検査部267は、当該検査対象の画素が欠陥であると確定する(ステップS619)。これは、基準ハーフトーンIDとハーフトーンIDとの値が一致するので、検査閾値に緩和閾値は考慮されておらず、緩和閾値の誤差は影響せず、判定結果を確定できるためである。 When the difference value of the pixel to be inspected is larger than the inspection threshold value and the pixel to be inspected is a defect candidate (Yes in step S603), the relaxation threshold value is associated with the relaxation threshold value used to generate the inspection threshold value. If the values of the reference halftone ID and the halftone ID match (Yes in step S605), the inspection unit 267 determines that the pixel to be inspected is defective (step S619). This is because since the values of the reference halftone ID and the halftone ID match, the relaxation threshold value is not considered in the inspection threshold value, the error of the relaxation threshold value does not affect, and the determination result can be determined.

一方、基準ハーフトーンIDとハーフトーンIDとの値が一致しない場合(ステップS605でNo)、検査閾値に緩和閾値が考慮されており、緩和閾値の誤差の影響で、欠陥判定結果が欠陥候補となった可能性があるため、以下の処理により、当該検査対象の画素が欠陥であると確定できるか否かを判定する。 On the other hand, when the values of the reference halftone ID and the halftone ID do not match (No in step S605), the relaxation threshold is considered as the inspection threshold, and the defect determination result is regarded as a defect candidate due to the influence of the error of the relaxation threshold. Therefore, it is determined whether or not the pixel to be inspected can be determined to be defective by the following processing.

まず、検査部267は、差分画像上の検査対象の画素に対応する基準画像上の画素の画素値と読取画像上の画素の画素値との差分値と、基準閾値と、の閾値差分値を算出する(ステップS607)。 First, the inspection unit 267 determines the threshold difference value between the pixel value of the pixel on the reference image corresponding to the pixel to be inspected on the difference image and the pixel value of the pixel on the scanned image, and the reference threshold. Calculate (step S607).

続いて、検査部267は、閾値差分値のリストを参照し、算出した閾値差分値の傾向が、リスト内の該当する閾値差分値の傾向と一致するか否かを判定する(ステップS609)。 Subsequently, the inspection unit 267 refers to the list of threshold value differences and determines whether or not the calculated tendency of the threshold difference values matches the tendency of the corresponding threshold difference values in the list (step S609).

図14は、本実施形態の閾値差分値のリストの一例を示す図である。なお、閾値差分値のリストは、閾値情報記憶部269に記憶されている。図14に示す例では、閾値差分値のリストは、基準ハーフトーンIDと、ハーフトーンIDと、基準画像画素値と、閾値差分値及び閾値差分値を算出した画素と、を対応付けたリストとなっている。なお、閾値差分値のリストに登録されている閾値差分値は、過去にステップS607で算出された閾値差分値である。閾値差分値のリストへの登録については、後述する。 FIG. 14 is a diagram showing an example of a list of threshold value difference values of the present embodiment. The list of threshold difference values is stored in the threshold information storage unit 269. In the example shown in FIG. 14, the list of threshold difference values is a list in which a reference halftone ID, a halftone ID, a reference image pixel value, and a pixel obtained by calculating the threshold difference value and the threshold difference value are associated with each other. It has become. The threshold difference value registered in the list of threshold difference values is the threshold difference value calculated in step S607 in the past. Registration of the threshold difference value in the list will be described later.

例えば、検査部267は、閾値差分値のリストにおいて、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けられた閾値差分値がM(Mは2以上の自然数)件以上あり、直近N(N≧M)件分の閾値差分値の平均値が、ステップS607で算出した最新の閾値差分値以下であれば、算出した最新の閾値差分値の傾向が、リスト内の該当する閾値差分値の傾向と一致すると判定する。なお、傾向が一致するか否かの判定手法はこれに限定されるものではない。 For example, in the inspection unit 267, in the list of threshold difference values, the reference halftone ID associated with the relaxation threshold used for generating the inspection threshold and the threshold difference value associated with the halftone ID are M (M is 2). If there are more than the above natural number) and the average value of the threshold difference values for the latest N (N ≧ M) cases is equal to or less than the latest threshold difference value calculated in step S607, the tendency of the calculated latest threshold difference value. Is determined to match the tendency of the corresponding threshold difference value in the list. The method for determining whether or not the tendencies match is not limited to this.

そして、算出した閾値差分値の傾向が、リスト内の該当する閾値差分値の傾向と一致しない場合(ステップS609でNo)、検査対象の画素が欠陥である可能性が高いため、検査部267は、算出した閾値差分値及び検査対象の画素(閾値差分値を算出した画素)を、閾値差分値のリストにおける、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けて登録し(ステップS617)、当該検査対象の画素が欠陥であると確定する(ステップS619)。これは、算出した閾値差分値の傾向がリスト内の該当する閾値差分値の傾向と一致しない場合、緩和閾値の誤差の影響により、欠陥判定結果が欠陥候補となったとは考えにくいためである。 Then, when the calculated tendency of the threshold difference value does not match the tendency of the corresponding threshold difference value in the list (No in step S609), there is a high possibility that the pixel to be inspected is defective, so that the inspection unit 267 , The calculated threshold difference value and the pixel to be inspected (the pixel for which the threshold difference value was calculated) are the reference halftone ID and halftone associated with the relaxation threshold used for generating the inspection threshold in the threshold difference value list. It is registered in association with the ID (step S617), and it is determined that the pixel to be inspected is defective (step S619). This is because when the calculated tendency of the threshold difference value does not match the tendency of the corresponding threshold difference value in the list, it is unlikely that the defect determination result is a defect candidate due to the influence of the error of the relaxation threshold value.

一方、算出した閾値差分値の傾向が、リスト内の該当する閾値差分値の傾向と一致する場合(ステップS609でYes)、検査部267は、算出した閾値差分値及び過去に算出した複数の閾値差分値の少なくともいずれかに基づいて、緩和閾値情報において、検査閾値の生成に用いた緩和閾値を更新する(ステップS611)。例えば、検査部267は、検査閾値の生成に用いた緩和閾値に、算出した最新の閾値差分値及びリスト内の該当する閾値差分値の平均値、中央値、及び最大値の少なくともいずれかを加算するとともに、所定のマージンαを加算して、緩和閾値を更新する。例えば、検査閾値の生成に用いた緩和閾値が20、閾値差分値の平均値が10、所定のマージンαが5であれば、更新後の緩和閾値は35となる。これは、算出した閾値差分値の傾向がリスト内の該当する閾値差分値の傾向と一致する場合、緩和閾値の誤差の影響により、欠陥判定結果が欠陥候補となり、緩和閾値の更新が必要と考えられるためである。 On the other hand, when the tendency of the calculated threshold difference value matches the tendency of the corresponding threshold difference value in the list (Yes in step S609), the inspection unit 267 indicates the calculated threshold difference value and a plurality of thresholds calculated in the past. The relaxation threshold used to generate the test threshold is updated in the relaxation threshold information based on at least one of the difference values (step S611). For example, the inspection unit 267 adds at least one of the calculated latest threshold difference value and the average value, the median value, and the maximum value of the corresponding threshold value difference values in the list to the relaxation threshold value used for generating the inspection threshold value. At the same time, a predetermined margin α is added to update the relaxation threshold value. For example, if the relaxation threshold used for generating the inspection threshold is 20, the average value of the threshold difference values is 10, and the predetermined margin α is 5, the relaxation threshold after updating is 35. This is because when the tendency of the calculated threshold difference value matches the tendency of the corresponding threshold difference value in the list, the defect judgment result becomes a defect candidate due to the influence of the error of the relaxation threshold value, and it is necessary to update the relaxation threshold value. This is because it is done.

続いて、検査部267は、閾値差分値のリストにおける、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けて登録されている過去の閾値差分値が算出された各画素についても、欠陥確定を取り消し、即ち、非欠陥を確定し(ステップS613)、閾値差分値のリストから、当該過去の閾値差分値及び当該過去の閾値差分値が算出された画素を消去する(ステップS615)。 Subsequently, the inspection unit 267 describes the reference halftone ID associated with the relaxation threshold used for generating the inspection threshold and the past threshold difference value registered in association with the halftone ID in the threshold difference value list. For each pixel for which the above was calculated, the defect determination was canceled, that is, the non-defect was determined (step S613), and the past threshold difference value and the past threshold difference value were calculated from the list of threshold difference values. The pixels are erased (step S615).

なお、ステップS603において、検査対象の画素の差分値が検査閾値以下であり、当該検査対象の画素が欠陥候補でない場合も(ステップS603でNo)、閾値差分値のリストにおける、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けて登録されている過去の閾値差分値及び当該過去の閾値差分値が算出された画素を消去する(ステップS615)。この場合、当該過去の閾値差分値が算出された各画素の欠陥は、ポチなどの一時的に出現した欠陥であると判断できるためである。 In step S603, even when the difference value of the inspection target pixel is equal to or less than the inspection threshold value and the inspection target pixel is not a defect candidate (No in step S603), the inspection threshold value is generated in the threshold difference value list. The reference halftone ID associated with the relaxation threshold used, the past threshold difference value registered in association with the halftone ID, and the pixel from which the past threshold difference value is calculated are deleted (step S615). In this case, it can be determined that the defect of each pixel for which the past threshold difference value has been calculated is a defect that temporarily appears such as a spot.

以上のように本実施形態によれば、元画像に対し、複数種類のハーフトーンを用いたハーフトーン処理が施されている場合であっても、ハーフトーンの相違に伴い色再現性が若干低下した分の画素値(差分値)を吸収するための緩和閾値を用いて検査するため、ハーフトーンの種別の相違に伴う色再現性の低下を考慮した検査が可能となり、検査精度を高めることができる。 As described above, according to the present embodiment, even when the original image is subjected to halftone processing using a plurality of types of halftones, the color reproducibility is slightly deteriorated due to the difference in halftones. Since the inspection is performed using the relaxation threshold for absorbing the pixel value (difference value) for the amount of the difference, the inspection can be performed in consideration of the decrease in color reproducibility due to the difference in the type of halftone, and the inspection accuracy can be improved. it can.

また本実施形態によれば、検査を繰り返しながら緩和閾値を更新していくことで、緩和閾値を、ハーフトーンの相違に伴い色再現性が若干低下した分の画素値(差分値)を吸収できるような値に更新していく。このため本実施形態によれば、緩和閾値の初期設定にかかる負荷を削減することができる。 Further, according to the present embodiment, by updating the relaxation threshold value while repeating the inspection, the relaxation threshold value can absorb the pixel value (difference value) corresponding to the slight decrease in color reproducibility due to the difference in halftone. Update to a value like this. Therefore, according to the present embodiment, it is possible to reduce the load applied to the initial setting of the relaxation threshold value.

(変形例1)
上記実施形態で説明した手法では、緩和閾値の値が、ハーフトーンの相違に伴い色再現性が若干低下した分の画素値(差分値)よりも大きい場合、緩和閾値を更新できない。このため、欠陥でないと判定された画素についても閾値差分値のリストを用意することで、この問題に対処するようにしてもよい。
(Modification example 1)
In the method described in the above embodiment, when the value of the relaxation threshold value is larger than the pixel value (difference value) for which the color reproducibility is slightly reduced due to the difference in halftone, the relaxation threshold value cannot be updated. Therefore, this problem may be dealt with by preparing a list of threshold difference values even for pixels determined to be non-defects.

図15は、変形例1の検査部267で行われる欠陥判定処理(図10に示すステップS403の処理)の手順の流れの一例を示すフローチャートである。なお、ここでは、図13で説明した欠陥候補であると判定された画素の閾値差分値のリストを第1差分リストと称し、欠陥でないと判定された画素の閾値差分値のリストを第2差分リストと称する。 FIG. 15 is a flowchart showing an example of the flow of the procedure of the defect determination process (process of step S403 shown in FIG. 10) performed by the inspection unit 267 of the modified example 1. Here, the list of threshold difference values of the pixels determined to be defect candidates described with reference to FIG. 13 is referred to as a first difference list, and the list of threshold difference values of pixels determined to be non-defects is referred to as a second difference. Called a list.

まず、ステップS701〜S703までの処理は、図13に示すフローチャートのステップS601〜S603までの処理と同様である。 First, the processes in steps S701 to S703 are the same as the processes in steps S601 to S603 of the flowchart shown in FIG.

検査対象の画素の差分値が検査閾値よりも大きく、当該検査対象の画素が欠陥候補である場合(ステップS703でYes)、検査部267は、第2差分リストにおける、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けて登録されている過去の閾値差分値及び当該過去の閾値差分値が算出された画素を消去する(ステップS705)。 When the difference value of the pixel to be inspected is larger than the inspection threshold value and the pixel to be inspected is a defect candidate (Yes in step S703), the inspection unit 267 used it to generate the inspection threshold value in the second difference list. The reference halftone ID associated with the relaxation threshold value, the past threshold value difference value registered in association with the halftone ID value, and the pixel from which the past threshold value difference value is calculated are deleted (step S705).

なお、以降のステップS707〜S721までの処理は、図13に示すフローチャートのステップS605〜S619までの処理と同様である。 The subsequent processes in steps S707 to S721 are the same as the processes in steps S605 to S619 in the flowchart shown in FIG.

一方、検査対象の画素の差分値が検査閾値以下であり、当該検査対象の画素が欠陥候補でない場合(ステップS703でNo)、第1差分リストにおける、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けて登録されている過去の閾値差分値及び当該過去の閾値差分値が算出された画素を消去する(ステップS723)。 On the other hand, when the difference value of the pixel to be inspected is equal to or less than the inspection threshold value and the pixel to be inspected is not a defect candidate (No in step S703), it corresponds to the relaxation threshold value used for generating the inspection threshold value in the first difference list. The past threshold value difference value registered in association with the attached reference halftone ID and the halftone ID and the pixel from which the past threshold value difference value is calculated are deleted (step S723).

続いて、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDとの値が一致しなければ(ステップS725でNo)、検査部267は、差分画像上の検査対象の画素に対応する基準画像上の画素の画素値と読取画像上の画素の画素値との差分値と、基準閾値と、の閾値差分値を算出する(ステップS727)。なお、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDとの値が一致する場合(ステップS725でYes)、処理は終了となる。 Subsequently, if the values of the reference halftone ID and the halftone ID associated with the relaxation threshold value used for generating the inspection threshold value do not match (No in step S725), the inspection unit 267 inspects the difference image. The threshold difference value of the difference value between the pixel value of the pixel on the reference image corresponding to the target pixel and the pixel value of the pixel on the scanned image and the reference threshold value is calculated (step S727). When the values of the reference halftone ID and the halftone ID associated with the relaxation threshold value used for generating the inspection threshold value match (Yes in step S725), the process ends.

続いて、検査部267は、算出した閾値差分値が所定値以上であるか否かを判定する(ステップS729)。算出した閾値差分値が所定値未満である場合(ステップS729でNo)、検査部267は、検査閾値の生成に用いた緩和閾値の値が、ハーフトーンの相違に伴い色再現性が若干低下した分の画素値(差分値)よりも小さい(緩和閾値の値が大きすぎない)と判定し、第2差分リストにおける、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けて登録されている過去の閾値差分値及び当該過去の閾値差分値が算出された画素を消去する(ステップS737)。 Subsequently, the inspection unit 267 determines whether or not the calculated threshold difference value is equal to or greater than a predetermined value (step S729). When the calculated threshold difference value is less than a predetermined value (No in step S729), the inspection unit 267 slightly deteriorates the color reproducibility of the relaxation threshold value used for generating the inspection threshold due to the difference in halftone. It is determined that the value is smaller than the pixel value (difference value) of the minute (the value of the relaxation threshold value is not too large), and the reference halftone ID associated with the relaxation threshold value used for generating the inspection threshold value in the second difference list is used. The past threshold value difference value registered in association with the halftone ID and the pixel from which the past threshold value difference value is calculated are deleted (step S737).

一方、算出した閾値差分値が所定値以上である場合(ステップS729でYes)、検査部267は、第2差分リストを参照し、算出した閾値差分値の傾向が、リスト内の該当する閾値差分値の傾向と一致するか否かを判定する(ステップS731)。なお、傾向が一致するか否かの判定手法は、上記実施形態と同様の手法を採用すればよい。 On the other hand, when the calculated threshold difference value is equal to or greater than a predetermined value (Yes in step S729), the inspection unit 267 refers to the second difference list, and the tendency of the calculated threshold difference value is the corresponding threshold difference in the list. It is determined whether or not it matches the tendency of the value (step S731). As a method for determining whether or not the tendencies match, the same method as in the above embodiment may be adopted.

そして、算出した閾値差分値の傾向が、第2差分リスト内の該当する閾値差分値の傾向と一致する場合(ステップS731でYes)、検査部267は、算出した閾値差分値及び過去に算出した複数の閾値差分値の少なくともいずれかに基づいて、緩和閾値情報において、検査閾値の生成に用いた緩和閾値を更新する(ステップS733)。例えば、検査部267は、検査閾値の生成に用いた緩和閾値に、算出した最新の閾値差分値及びリスト内の該当する閾値差分値の平均値、中央値、及び最大値の少なくともいずれかを減算するとともに、所定のマージンαを加算して、緩和閾値を更新する。例えば、検査閾値の生成に用いた緩和閾値が20、閾値差分値の平均値が10、所定のマージンαが5であれば、更新後の緩和閾値は15となる。 Then, when the calculated tendency of the threshold difference value matches the tendency of the corresponding threshold difference value in the second difference list (Yes in step S731), the inspection unit 267 calculated the calculated threshold difference value and the past. The relaxation threshold used for generating the test threshold is updated in the relaxation threshold information based on at least one of the plurality of threshold difference values (step S733). For example, the inspection unit 267 subtracts at least one of the calculated latest threshold difference value and the average value, the median value, and the maximum value of the corresponding threshold value difference values in the list from the relaxation threshold value used for generating the inspection threshold value. At the same time, a predetermined margin α is added to update the relaxation threshold value. For example, if the relaxation threshold used for generating the inspection threshold is 20, the average value of the threshold difference values is 10, and the predetermined margin α is 5, the relaxation threshold after updating is 15.

一方、算出した閾値差分値の傾向が、第2差分リスト内の該当する閾値差分値の傾向と一致しない場合(ステップS731でNo)、検査部267は、算出した閾値差分値及び検査対象の画素(閾値差分値を算出した画素)を、第2差分リストにおける、検査閾値の生成に用いた緩和閾値に対応付けられた基準ハーフトーンIDとハーフトーンIDに対応付けて登録する(ステップS735)。 On the other hand, when the calculated tendency of the threshold difference value does not match the tendency of the corresponding threshold difference value in the second difference list (No in step S731), the inspection unit 267 requests the calculated threshold difference value and the pixel to be inspected. (The pixel on which the threshold difference value is calculated) is registered in the second difference list in association with the reference halftone ID and the halftone ID associated with the relaxation threshold used for generating the inspection threshold (step S735).

以上のように変形例1によれば、緩和閾値の値が、ハーフトーンの相違に伴い色再現性が若干低下した分の画素値(差分値)よりも大きい場合であっても、緩和閾値の更新が可能となる。 As described above, according to the modification 1, even when the relaxation threshold value is larger than the pixel value (difference value) for which the color reproducibility is slightly reduced due to the difference in halftone, the relaxation threshold value is set. It can be updated.

(変形例2)
上記実施形態及び各変形例では、閾値差分値のリストに過去の検査結果を登録し、その傾向を観察することでノイズや欠陥の影響を除外して緩和閾値を更新できるようにしている。この過去の検査結果の登録件数が多いほど(MやNの値を大きくするほど)、大きな欠陥に対応が可能となるが、スジやムラ、バンディングといった大域に渡る欠陥が発生した場合、それをカバーできるほど登録件数を増やすのは、演算量や保存領域の観点から望ましくない。また、ページ内で、同じ色で打たれるべき領域が異なる色になるのは好ましい印刷結果とは言えない。
(Modification 2)
In the above embodiment and each modification, past inspection results are registered in a list of threshold difference values, and by observing the tendency, the influence of noise and defects can be excluded and the mitigation threshold can be updated. The larger the number of registered past inspection results (the larger the value of M or N), the larger the defect can be dealt with. However, if a global defect such as streaks, unevenness, or banding occurs, it will be dealt with. It is not desirable to increase the number of registrations to the extent that it can be covered, from the viewpoint of the amount of calculation and the storage area. Further, it is not a preferable printing result that the areas to be struck with the same color are different colors in the page.

このため、検査部267は、緩和閾値の更新を、印刷物のページが切り替わるタイミングで行うようにしてもよい。つまり、図13や図15に示すフローチャートにおける緩和閾値の更新を、印刷物のページが切り替わるタイミングで行うようにしてもよい(図13や図15に示すフローチャートにおいて緩和閾値の更新タイミングであっても、印刷物のページが切り替わるタイミングでなければ更新しないようにしてもよい)。このようにすれば、スジなどの大域に跨る欠陥に逐一影響されない処理とすることができる。 Therefore, the inspection unit 267 may update the relaxation threshold value at the timing when the pages of the printed matter are switched. That is, the relaxation threshold value in the flowcharts shown in FIGS. 13 and 15 may be updated at the timing when the pages of the printed matter are switched (even if the relaxation threshold value is updated in the flowcharts shown in FIGS. 13 and 15). It may not be updated unless the printed page is switched). In this way, it is possible to perform processing that is not affected by defects that span a large area such as streaks.

また、この場合、スジなどが最終ライン付近に生じた場合に、その影響を受けてしまうことから、ページ内でカウンタを回し、緩和閾値の切り替わりでリセットし、最もカウント数が多かった緩和閾値を次ページから設定するようにしてもよい。つまり、検査部267は、緩和閾値を更新する毎に、当該更新後の緩和閾値を用いて検査した画素数をカウントし、印刷物のページが切り替わるタイミングで、カウントが最も大きい緩和閾値に更新するようにしてもよい。 Also, in this case, if a streak or the like occurs near the final line, it will be affected by it, so the counter is turned on the page and reset by switching the relaxation threshold value, and the relaxation threshold value with the largest number of counts is set. You may set it from the next page. That is, every time the inspection unit 267 updates the relaxation threshold value, the number of pixels inspected using the updated relaxation threshold value is counted, and when the printed matter page is switched, the count is updated to the relaxation threshold value having the largest count. It may be.

また、その際に次ページの検査で新しい緩和閾値で欠陥が発生しないかチェックし、欠陥判定が続く場合は元の緩和閾値に戻す、2番目にカウント数が多かった緩和閾値を設定するなどしてもよい。検査部267は、印刷物のページが切り替わるタイミングで更新した緩和閾値を用いた検査結果に基づいて、緩和閾値を再更新するようにしてもよい。 At that time, the inspection on the next page checks whether defects occur with the new mitigation threshold value, and if the defect judgment continues, returns to the original mitigation threshold value and sets the mitigation threshold value with the second highest count. You may. The inspection unit 267 may re-update the relaxation threshold value based on the inspection result using the relaxation threshold value updated at the timing when the pages of the printed matter are switched.

(変形例3)
また、単純に座標によって閾値差分値のリスト(第1差分リスト)に登録された欠陥候補画素の位置を監視し、登録された点が密集していたり、線状、帯状であるなど欠陥固有の傾向が見られたりする場合には、欠陥とみなして緩和閾値に反映しないなどとしてもよい。つまり、検査部267は、過去に複数の閾値差分値が算出された差分画像上の各画素の位置に基づいて、当該各画素を欠陥に確定するようにしてもよい。
(Modification example 3)
In addition, the position of the defect candidate pixel registered in the threshold difference value list (first difference list) is simply monitored by the coordinates, and the registered points are dense, linear, strip-shaped, etc., which are unique to the defect. If there is a tendency, it may be regarded as a defect and not reflected in the mitigation threshold. That is, the inspection unit 267 may determine each pixel as a defect based on the position of each pixel on the difference image for which a plurality of threshold difference values have been calculated in the past.

(変形例4)
上記実施形態及び各変形例において、検査部267は、検査対象の画素が欠陥でない場合、閾値差分値のリスト(第1差分リスト)を消去するが(図13のステップS603でNo、図15のステップS703でNo)、ノイズの影響で、検査対象の画素が欠陥候補であるにもかかわらず、検査対象の画素が欠陥でないと判定される可能性もある。こうしたノイズの影響を除外するため、閾値差分値のリスト(第1差分リスト)消去前の条件にカウンタを設け、所定の回数差分リスト消去への遷移があった場合にリスト消去を実行することとしてもよい。
(Modification example 4)
In the above embodiment and each modification, when the pixel to be inspected is not a defect, the inspection unit 267 deletes the list of threshold difference values (first difference list) (No in step S603 of FIG. 13, No. 15 in FIG. 15). In step S703, No), due to the influence of noise, it may be determined that the pixel to be inspected is not a defect even though the pixel to be inspected is a defect candidate. In order to exclude the influence of such noise, a counter is provided in the condition before erasing the threshold difference value list (first difference list), and the list is deleted when there is a transition to the difference list erasure a predetermined number of times. May be good.

つまり、検査部267は、画素の値が検査閾値以下であるため、非欠陥と判定した回数が所定回数に達した場合、過去に算出した複数の閾値差分値を消去するようにしてもよい。 That is, since the pixel value is equal to or less than the inspection threshold value, the inspection unit 267 may delete a plurality of threshold value difference values calculated in the past when the number of times of determination as non-defect reaches a predetermined number of times.

(変形例5)
上記実施形態及び各変形例において、差分画像生成の際、画像のエッジ部分は印刷や読取の微小なずれにより、完全に位置を合致させることが難しく、差分が大きく出がちである。このため、エッジ近傍では差分の出現傾向が他と異なることが考えられる。そこで、エッジ近傍は差分の監視対象から外し、濃度均一な領域などに限定して緩和閾値を取得するようにしてもよい。なお、差分画像上の領域がエッジであるか否かは、本実施形態では、領域の種別毎に異なるハーフトーンを使用しているため、種別画像から特定できる。
(Modification 5)
In the above embodiment and each modification, when generating a difference image, it is difficult to completely match the position of the edge portion of the image due to a slight deviation in printing or reading, and the difference tends to be large. Therefore, it is considered that the appearance tendency of the difference is different from the others in the vicinity of the edge. Therefore, the vicinity of the edge may be excluded from the monitoring target of the difference, and the relaxation threshold value may be acquired only in a region having a uniform density. Whether or not the region on the difference image is an edge can be specified from the type image because different halftones are used for each type of region in the present embodiment.

つまり、検査部267は、差分画像を構成する画素がエッジ領域である場合、基準閾値を検査閾値として、当該画素の値とを比較して、印刷物を検査するようにしてもよい。 That is, when the pixel constituting the difference image is an edge region, the inspection unit 267 may inspect the printed matter by comparing the value of the pixel with the reference threshold value as the inspection threshold value.

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

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

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

なお、上記実施形態及び変形例は、例として提示したものであり、発明の範囲を限定することは意図していない。上記新規な実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、及び少なくとも一部のクラウド化などを行うことができる。これらの実施の形態は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 The above embodiments and modifications are presented as examples, and are not intended to limit the scope of the invention. The above-mentioned new embodiment can be implemented in various other forms, and various omissions, replacements, changes, and at least a part of cloud computing are performed without departing from the gist of the invention. be able to. These embodiments are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and the equivalent scope 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 トレイ
1 Printed matter inspection system 100 Printing device 101 Operation panel 103Y, 103M, 103C, 103K Photoreceptor drum 105 Transfer belt 107 Secondary transfer roller 109 Feeding unit 111 Transfer roller pair 113 Fixing roller 115 Inversion path 121 RIP unit 123 Printing control unit 125 Printing unit 200 Printed matter inspection device 201, 251 Reading unit 203 Operation panel 253 Scanned image acquisition unit 255 Original image acquisition unit 257 Color conversion information generation unit 259 Color conversion information storage unit 261 Type image acquisition unit 263 Reference image generation unit 265 Difference image generation Department 267 Inspection Department 269 Threshold Information Storage Unit 300 Stacker 311 Tray

特開2015−178971号公報JP 2015-178971

Claims (12)

複数種類のハーフトーンを用いたハーフトーン処理が施された、印刷物の生成元の元画像を取得する元画像取得部と、
前記元画像を構成する画素に対応する画素毎に、前記ハーフトーン処理に用いられたハーフトーンの種別を示す種別画像を取得する種別画像取得部と、
前記元画像に対し、予め定められた種別のハーフトーンに基づいて生成された色変換情報を用いた色変換を行い、検査基準となる基準画像を生成する基準画像生成部と、
前記印刷物を読み取った読取画像を取得する読取画像取得部と、
前記基準画像と前記読取画像との差分を示す差分画像を生成する差分画像生成部と、
前記差分画像を構成する画素毎に、前記予め定められた種別のハーフトーンから定まる基準閾値と、当該画素に対応する種別画像上の画素が示す種別のハーフトーンから定まる前記基準閾値に対する緩和閾値と、に基づく検査閾値と、当該画素の値とを比較して、前記印刷物を検査する検査部と、
を備え
前記検査部は、前記画素の値が前記検査閾値よりも大きいため、欠陥候補と判定した前記差分画像上の画素が、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンを用いたハーフトーン処理が施された元画像上の画素に対応する画素である場合、当該差分画像上の画素に対応する前記基準画像上の画素の画素値と前記読取画像上の画素の画素値との差分値と、前記基準閾値と、の閾値差分値を算出して、過去に算出した複数の閾値差分値と傾向が一致するか否かを判定し、傾向が一致する場合、前記算出した閾値差分値及び前記過去に算出した複数の閾値差分値の少なくともいずれかに基づいて、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンの前記緩和閾値を更新する検査装置。
An original image acquisition unit that acquires the original image of the source of the printed matter, which has undergone halftone processing using multiple types of halftones.
A type image acquisition unit that acquires a type image indicating the type of halftone used in the halftone processing for each pixel corresponding to the pixels constituting the original image.
A reference image generation unit that performs color conversion using color conversion information generated based on a predetermined type of halftone on the original image to generate a reference image as an inspection standard, and a reference image generation unit.
A scanned image acquisition unit that acquires a scanned image obtained by scanning the printed matter, and
A difference image generation unit that generates a difference image showing the difference between the reference image and the read image,
For each pixel constituting the difference image, a reference threshold value determined from the predetermined type of halftone and a relaxation threshold value for the reference threshold value determined from the type of halftone indicated by the pixel on the type image corresponding to the pixel. The inspection unit that inspects the printed matter by comparing the inspection threshold value based on, and the value of the pixel.
Equipped with a,
Since the value of the pixel is larger than the inspection threshold value in the inspection unit, the pixel on the difference image determined as a defect candidate is a half using a halftone of a different type from the predetermined type of halftone. When the pixel corresponds to the pixel on the original image to which the tone processing has been performed, the difference between the pixel value of the pixel on the reference image corresponding to the pixel on the difference image and the pixel value of the pixel on the read image. The threshold difference value between the value and the reference threshold value is calculated, and it is determined whether or not the tendency matches the plurality of threshold value difference values calculated in the past. If the tendency matches, the calculated threshold value difference value and at least based on one of a plurality of threshold difference value calculated in the past, to update the relaxation threshold of the predefined type of halftone and different types of halftone test device.
前記算出した閾値差分値が前記過去に算出した複数の閾値差分値と傾向が一致しない場合、前記欠陥候補と判定した前記差分画像上の画素を欠陥に確定する請求項に記載の検査装置。 If multiple thresholds difference values and trends the threshold difference value the calculated is calculated on the past do not match, the inspection apparatus according to claim 1 for determining the pixel on the differential image determined as the defect candidate defect. 前記算出した閾値差分値が前記過去に算出した複数の閾値差分値と傾向が一致する場合、前記欠陥候補と判定した前記差分画像上の画素及び前記過去に複数の閾値差分値が算出された前記差分画像上の各画素を非欠陥に確定する請求項又はに記載の検査装置。 When the calculated threshold difference value matches the tendency of the plurality of threshold difference values calculated in the past, the pixel on the difference image determined to be the defect candidate and the plurality of threshold difference values calculated in the past are said. The inspection device according to claim 1 or 2 , wherein each pixel on the difference image is determined to be non-defect. 前記検査部は、前記画素の値が前記検査閾値以下であるため、非欠陥と判定した前記差分画像上の画素が、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンを用いたハーフトーン処理が施された元画像上の画素に対応する画素である場合、当該差分画像上の画素に対応する前記基準画像上の画素の画素値と前記読取画像上の画素の画素値との差分値と、前記基準閾値と、の閾値差分値を算出し、当該閾値差分値が所定値以上であれば、過去に算出した複数の閾値差分値と傾向が一致するか否かを判定し、傾向が一致する場合、前記算出した閾値差分値及び前記過去に算出した複数の閾値差分値の少なくともいずれかに基づいて、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンの前記緩和閾値を更新する請求項のいずれか1つに記載の検査装置。 Since the value of the pixel is equal to or less than the inspection threshold value in the inspection unit, the pixel on the difference image determined to be non-defect is a half using a halftone of a different type from the predetermined type of halftone. When the pixel corresponds to the pixel on the original image to which the tone processing has been performed, the difference between the pixel value of the pixel on the reference image corresponding to the pixel on the difference image and the pixel value of the pixel on the read image. The threshold difference value of the value and the reference threshold value is calculated, and if the threshold difference value is equal to or more than a predetermined value, it is determined whether or not the tendency matches the plurality of threshold difference values calculated in the past, and the tendency is determined. If they match, the relaxation threshold of the halftone of a different type from the halftone of the predetermined type is set based on at least one of the calculated threshold difference value and the plurality of threshold difference values calculated in the past. The inspection device according to any one of claims 1 to 3 to be updated. 前記検査部は、前記印刷物のページが切り替わるタイミングで前記緩和閾値を更新する請求項のいずれか1つに記載の検査装置。 The inspection device according to any one of claims 1 to 4 , wherein the inspection unit updates the relaxation threshold value at a timing when the pages of the printed matter are switched. 前記検査部は、前記緩和閾値を更新する毎に、当該更新後の緩和閾値を用いて検査した画素数をカウントし、前記印刷物のページが切り替わるタイミングで、カウントが最も大きい緩和閾値に更新する請求項に記載の検査装置。 Each time the inspection unit updates the relaxation threshold value, the inspection unit counts the number of pixels inspected using the relaxation threshold value after the update, and at the timing when the pages of the printed matter are switched, the claim is updated to the relaxation threshold value having the largest count. Item 5. The inspection device according to item 5. 前記検査部は、前記印刷物のページが切り替わるタイミングで更新した前記緩和閾値を用いた検査結果に基づいて、前記緩和閾値を再更新する請求項又はに記載の検査装置。 The inspection device according to claim 5 or 6 , wherein the inspection unit re-updates the relaxation threshold value based on an inspection result using the relaxation threshold value updated at the timing when the pages of the printed matter are switched. 前記検査部は、前記過去に複数の閾値差分値が算出された前記差分画像上の各画素の位置に基づいて、当該各画素を欠陥に確定する請求項に記載の検査装置。 The inspection device according to claim 1 , wherein the inspection unit determines each pixel as a defect based on the position of each pixel on the difference image for which a plurality of threshold difference values have been calculated in the past. 前記検査部は、前記画素の値が前記検査閾値以下であるため、非欠陥と判定した回数が所定回数に達した場合、前記過去に算出した複数の閾値差分値を消去する請求項に記載の検査装置。 The inspection unit, the value of the pixel is below the test threshold, if the number of times of determining the non-defect has reached a predetermined number of times, according to claim 1 for erasing a plurality of threshold difference value calculated in the past Inspection equipment. 前記検査部は、前記差分画像を構成する画素がエッジ領域である場合、前記基準閾値を前記検査閾値として、当該画素の値と比較して、前記印刷物を検査する請求項1〜のいずれか1つに記載の検査装置。 The test unit, when pixels constituting the difference image is an edge region, the reference threshold value as the inspection threshold, compared to the value of the pixel, claim 1-9 for inspecting the printed matter The inspection device according to one. 複数種類のハーフトーンを用いたハーフトーン処理が施された、印刷物の生成元の元画像を取得する元画像取得ステップと、
前記元画像を構成する画素に対応する画素毎に、前記ハーフトーン処理に用いられたハーフトーンの種別を示す種別画像を取得する種別画像取得ステップと、
前記元画像に対し、予め定められた種別のハーフトーンに基づいて生成された色変換情報を用いた色変換を行い、検査基準となる基準画像を生成する基準画像生成ステップと、
前記印刷物を読み取った読取画像を取得する読取画像取得ステップと、
前記基準画像と前記読取画像との差分を示す差分画像を生成する差分画像生成ステップと、
前記差分画像を構成する画素毎に、前記予め定められた種別のハーフトーンから定まる基準閾値と、当該画素に対応する種別画像上の画素が示す種別のハーフトーンから定まる前記基準閾値に対する緩和閾値と、に基づく検査閾値と、当該画素の値とを比較して、前記印刷物を検査する検査ステップと、
を含み、
前記検査ステップは、前記画素の値が前記検査閾値よりも大きいため、欠陥候補と判定した前記差分画像上の画素が、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンを用いたハーフトーン処理が施された元画像上の画素に対応する画素である場合、当該差分画像上の画素に対応する前記基準画像上の画素の画素値と前記読取画像上の画素の画素値との差分値と、前記基準閾値と、の閾値差分値を算出して、過去に算出した複数の閾値差分値と傾向が一致するか否かを判定し、傾向が一致する場合、前記算出した閾値差分値及び前記過去に算出した複数の閾値差分値の少なくともいずれかに基づいて、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンの前記緩和閾値を更新する検査方法。
An original image acquisition step for acquiring the original image of the source of the printed matter, which has been subjected to halftone processing using multiple types of halftones,
A type image acquisition step of acquiring a type image indicating the type of halftone used in the halftone processing for each pixel corresponding to the pixels constituting the original image.
A reference image generation step of performing color conversion on the original image using color conversion information generated based on a predetermined type of halftone to generate a reference image as an inspection standard, and
A scanned image acquisition step of acquiring a scanned image obtained by scanning the printed matter, and
A difference image generation step of generating a difference image showing the difference between the reference image and the read image, and
For each pixel constituting the difference image, a reference threshold value determined from the predetermined type of halftone and a relaxation threshold value for the reference threshold value determined from the type of halftone indicated by the pixel on the type image corresponding to the pixel. An inspection step of inspecting the printed matter by comparing the inspection threshold value based on, and the value of the pixel.
Only including,
In the inspection step, since the value of the pixel is larger than the inspection threshold value, the pixel on the difference image determined as a defect candidate is a half using a halftone of a different type from the predetermined type of halftone. When the pixel corresponds to the pixel on the original image to which the tone processing has been performed, the difference between the pixel value of the pixel on the reference image corresponding to the pixel on the difference image and the pixel value of the pixel on the read image. The threshold difference value between the value and the reference threshold value is calculated, and it is determined whether or not the tendency matches the plurality of threshold value difference values calculated in the past. If the tendency matches, the calculated threshold value difference value and at least based on one of a plurality of threshold difference value calculated in the past, the inspection method to update the relaxation threshold of the predefined type of halftone and different types of halftone.
複数種類のハーフトーンを用いたハーフトーン処理が施された、印刷物の生成元の元画像を取得する元画像取得ステップと、
前記元画像を構成する画素に対応する画素毎に、前記ハーフトーン処理に用いられたハーフトーンの種別を示す種別画像を取得する種別画像取得ステップと、
前記元画像に対し、予め定められた種別のハーフトーンに基づいて生成された色変換情報を用いた色変換を行い、検査基準となる基準画像を生成する基準画像生成ステップと、
前記印刷物を読み取った読取画像を取得する読取画像取得ステップと、
前記基準画像と前記読取画像との差分を示す差分画像を生成する差分画像生成ステップと、
前記差分画像を構成する画素毎に、前記予め定められた種別のハーフトーンから定まる基準閾値と、当該画素に対応する種別画像上の画素が示す種別のハーフトーンから定まる前記基準閾値に対する緩和閾値と、に基づく検査閾値と、当該画素の値とを比較して、前記印刷物を検査する検査ステップと、
を含み、
前記検査ステップは、前記画素の値が前記検査閾値よりも大きいため、欠陥候補と判定した前記差分画像上の画素が、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンを用いたハーフトーン処理が施された元画像上の画素に対応する画素である場合、当該差分画像上の画素に対応する前記基準画像上の画素の画素値と前記読取画像上の画素の画素値との差分値と、前記基準閾値と、の閾値差分値を算出して、過去に算出した複数の閾値差分値と傾向が一致するか否かを判定し、傾向が一致する場合、前記算出した閾値差分値及び前記過去に算出した複数の閾値差分値の少なくともいずれかに基づいて、前記予め定められた種別のハーフトーンと異なる種別のハーフトーンの前記緩和閾値を更新すること
をコンピュータに実行させるためのプログラム。
An original image acquisition step for acquiring the original image of the source of the printed matter, which has been subjected to halftone processing using multiple types of halftones,
A type image acquisition step of acquiring a type image indicating the type of halftone used in the halftone processing for each pixel corresponding to the pixels constituting the original image.
A reference image generation step of performing color conversion on the original image using color conversion information generated based on a predetermined type of halftone to generate a reference image as an inspection standard, and
A scanned image acquisition step of acquiring a scanned image obtained by scanning the printed matter, and
A difference image generation step of generating a difference image showing the difference between the reference image and the read image, and
For each pixel constituting the difference image, a reference threshold value determined from the predetermined type of halftone and a relaxation threshold value for the reference threshold value determined from the type of halftone indicated by the pixel on the type image corresponding to the pixel. An inspection step of inspecting the printed matter by comparing the inspection threshold value based on, and the value of the pixel.
Including
In the inspection step, since the value of the pixel is larger than the inspection threshold, the pixel on the difference image determined as a defect candidate is a half using a halftone of a different type from the predetermined type of halftone. When the pixel corresponds to the pixel on the original image to which the tone processing has been performed, the difference between the pixel value of the pixel on the reference image corresponding to the pixel on the difference image and the pixel value of the pixel on the read image. The threshold difference value of the value and the reference threshold is calculated to determine whether or not the tendency matches the plurality of threshold difference values calculated in the past, and if the tendency matches, the calculated threshold difference value is obtained. And a program for causing a computer to update the relaxation threshold of a halftone of a type different from the halftone of the predetermined type based on at least one of a plurality of threshold difference values calculated in the past. ..
JP2016181018A 2016-09-15 2016-09-15 Inspection equipment, inspection methods and programs Active JP6848286B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016181018A JP6848286B2 (en) 2016-09-15 2016-09-15 Inspection equipment, inspection methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016181018A JP6848286B2 (en) 2016-09-15 2016-09-15 Inspection equipment, inspection methods and programs

Publications (2)

Publication Number Publication Date
JP2018044896A JP2018044896A (en) 2018-03-22
JP6848286B2 true JP6848286B2 (en) 2021-03-24

Family

ID=61694627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016181018A Active JP6848286B2 (en) 2016-09-15 2016-09-15 Inspection equipment, inspection methods and programs

Country Status (1)

Country Link
JP (1) JP6848286B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7167615B2 (en) * 2018-10-05 2022-11-09 コニカミノルタ株式会社 IMAGE INSPECTION APPARATUS, IMAGE INSPECTION METHOD AND IMAGE INSPECTION PROGRAM
JP2020184687A (en) * 2019-05-08 2020-11-12 コニカミノルタ株式会社 Image forming apparatus, image forming method, and program therefor
CN114863147B (en) * 2022-05-30 2023-05-02 中科芯云图像视觉技术(北京)有限公司 Intelligent comparison method and system for spliced large-plate printed images and application of intelligent comparison method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6070310B2 (en) * 2013-03-15 2017-02-01 株式会社リコー Image inspection apparatus, image inspection system, and image inspection method
JP6295669B2 (en) * 2014-01-14 2018-03-20 株式会社リコー Inspection device, inspection method, and program
JP6459190B2 (en) * 2014-03-18 2019-01-30 株式会社リコー Image inspection apparatus, image forming system, and image inspection method

Also Published As

Publication number Publication date
JP2018044896A (en) 2018-03-22

Similar Documents

Publication Publication Date Title
US10326916B2 (en) Inspection apparatus, inspection method and storage medium
JP6642161B2 (en) Inspection device, inspection method and program
US10657635B2 (en) Inspection apparatus, inspection method and storage medium
JP7206595B2 (en) Inspection device, inspection system, inspection method and program
JP6613912B2 (en) Inspection device, inspection system, filter processing method, and program
JP2013024564A (en) Image inspection apparatus, image inspection system and image inspection method
JP6947060B2 (en) Image processing equipment, image processing methods and programs
JP2015049150A (en) Image inspection system, image inspection method, and data structure of image inspection result
JP2016061659A (en) Printed matter inspection device, printed matter inspection system, and printed matter inspection method
JP2017032507A (en) Inspection device and inspection method
JP6848286B2 (en) Inspection equipment, inspection methods and programs
JP6705305B2 (en) Inspection device, inspection method and program
JP6464722B2 (en) Information processing apparatus, defect transmission method, and program
JP2016055525A (en) Defect information specifying device and defect information specifying method
JP6665544B2 (en) Inspection device, inspection system, inspection method and program
JP2016061603A (en) Projection device and projection method
JP2015046703A (en) Image inspection device, image inspection method and image inspection program
JP6635335B2 (en) Image inspection device and image forming system
JP2016178557A (en) Image processing apparatus, correction method and program
JP6938992B2 (en) Inspection equipment, inspection system, inspection method and program
JP2012032776A (en) Image output device, image inspection system, and density correction method
JP2017053673A (en) Inspection device, inspection method, and program
JP2022014759A (en) Image processing apparatus, image processing system, image processing method and image processing program
JP6907621B2 (en) Image processing equipment, image processing system, image processing method and program
JP6743612B2 (en) Image processing apparatus, image processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190703

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200901

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201019

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210215

R151 Written notification of patent or utility model registration

Ref document number: 6848286

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151