JP2015053561A - Printed matter inspection device, printed matter inspection method, and program - Google Patents

Printed matter inspection device, printed matter inspection method, and program Download PDF

Info

Publication number
JP2015053561A
JP2015053561A JP2013184394A JP2013184394A JP2015053561A JP 2015053561 A JP2015053561 A JP 2015053561A JP 2013184394 A JP2013184394 A JP 2013184394A JP 2013184394 A JP2013184394 A JP 2013184394A JP 2015053561 A JP2015053561 A JP 2015053561A
Authority
JP
Japan
Prior art keywords
smoothing
printed matter
image
edge
unit
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.)
Pending
Application number
JP2013184394A
Other languages
Japanese (ja)
Inventor
貴大 深瀬
Takahiro Fukase
貴大 深瀬
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 JP2013184394A priority Critical patent/JP2015053561A/en
Publication of JP2015053561A publication Critical patent/JP2015053561A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printed matter inspection device, a printed matter inspection method, and a program capable of improving the accuracy of quality inspection for printed matter.SOLUTION: A printed matter inspection device comprises: a reading section for generating an inspection image by reading printed matter; an acquisition section for acquiring an original image which is the generation source of the printed matter; a multi-value section 213 for making the original image multi-valued; a first smoothing section 215 for performing first smoothing processing on the multi-valued original image; a detection section 217 for performing edge detection on the original image having the first smoothing processing performed, with use of an edge threshold based on the number of print lines of the printed matter; a second smoothing section 219 for performing second smoothing processing on a non-edge area of the multi-valued original image corresponding to an area not detected as an edge in the edge detection; an image processing section 221 for generating a master image by performing image processing on the original image having the second smoothing processing performed; and an inspection section for inspecting the quality of the printed matter by comparing the inspection image with the master image.

Description

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

プロダクションプリンティングなど高品質が要求される印刷では、印刷物に対する品質検査が要求されている。例えば、印刷物の生成元の元画像から生成したマスタ画像と、印刷物を光学的に読み取ることで生成した検査画像とを比較することで、印刷物の品質を検査する印刷物検査装置が知られている。   In printing that requires high quality such as production printing, quality inspection for printed matter is required. For example, there is known a printed material inspection apparatus that inspects the quality of a printed material by comparing a master image generated from an original image from which the printed material is generated with an inspection image generated by optically reading the printed material.

一般的に、元画像はディザパターンで構成された少値画像であり、検査画像は多値画像であることが多いため、元画像からマスタ画像を生成する際には、平滑化フィルタなどによる少値から多値への変換が必要になることが多い。   In general, the original image is a low-value image composed of dither patterns, and the inspection image is often a multi-valued image. Often, conversion from a value to a multi-value is necessary.

但し、平滑化フィルタによる変換では、網点だけでなくエッジまで平滑化されてしまうため、平滑化フィルタによる多値への変換後の元画像に非線形の色空間変換やγ補正を行ってマスタ画像を生成すると、エッジが太くなってしまい、元画像とマスタ画像との形状が異なってしまう。この結果、検査画像とマスタ画像との形状も異なってしまう。   However, in the conversion by the smoothing filter, not only the halftone dots but also the edges are smoothed. Therefore, the master image is subjected to non-linear color space conversion and γ correction on the original image after conversion to multivalue by the smoothing filter. Is generated, the edges become thick, and the shapes of the original image and the master image are different. As a result, the shapes of the inspection image and the master image are also different.

このため、例えば特許文献1には、画像からエッジを検出し、エッジ部分については、非エッジ部分よりも弱い平滑化を行う技術が開示されている。   For this reason, for example, Patent Document 1 discloses a technique for detecting an edge from an image and performing smoothing for the edge portion weaker than the non-edge portion.

しかしながら、上述したような従来技術では、エッジ検出に一律の閾値を用いているため、印刷物の印刷条件によってはエッジを正確に検出することができないおそれがある。このため、上述したような従来技術では、検査画像を正確に再現したマスタ画像を生成できず、印刷物の品質検査の精度低下を招くおそれがある。   However, in the conventional technology as described above, since a uniform threshold is used for edge detection, there is a possibility that the edge cannot be accurately detected depending on the printing condition of the printed matter. For this reason, in the conventional technology as described above, a master image in which the inspection image is accurately reproduced cannot be generated, and there is a possibility that the quality inspection of the printed matter is deteriorated.

本発明は、上記事情に鑑みてなされたものであり、印刷物の品質検査の精度を向上させることができる印刷物検査装置、印刷物検査方法及びプログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a printed matter inspection apparatus, a printed matter inspection method, and a program capable of improving the quality inspection accuracy of a printed matter.

上述した課題を解決し、目的を達成するために、本発明の一態様にかかる印刷物検査装置は、印刷物を読み取って検査画像を生成する読取部と、前記印刷物の生成元の元画像を取得する取得部と、前記元画像を多値化する多値化部と、前記多値化された元画像に対し、第1平滑化を施す第1平滑化部と、前記第1平滑化が施された元画像に対し、前記印刷物の印刷線数に基づくエッジ閾値を用いたエッジ検出を施す検出部と、前記エッジ検出でエッジとして検出されなかった領域に対応する前記多値化された元画像の非エッジ領域に対し、第2平滑化を施す第2平滑化部と、前記第2平滑化が施された元画像に対し、画像処理を施し、マスタ画像を生成する画像処理部と、前記検査画像と前記マスタ画像とを比較して、前記印刷物の品質を検査する検査部と、を備える。   In order to solve the above-described problems and achieve the object, a printed matter inspection apparatus according to one aspect of the present invention acquires a reading unit that reads a printed matter and generates an inspection image, and an original image that is a generation source of the printed matter. An acquisition unit, a multi-value conversion unit that multi-values the original image, a first smoothing unit that applies first smoothing to the multi-valued original image, and the first smoothing. A detection unit that performs edge detection on the original image using an edge threshold value based on the number of printed lines of the printed material, and the multi-valued original image corresponding to an area that is not detected as an edge by the edge detection. A second smoothing unit that performs second smoothing on the non-edge region, an image processing unit that performs image processing on the original image that has been subjected to the second smoothing, and generates a master image; Compare the image with the master image and check the quality of the printed matter. Comprising a checking unit which, a.

本発明によれば、印刷物の品質検査の精度を向上させることができるという効果を奏する。   According to the present invention, it is possible to improve the accuracy of quality inspection of printed matter.

図1は、本実施形態の印刷物検査システムの一例を示す模式図である。FIG. 1 is a schematic diagram illustrating an example of a printed matter inspection system according to the present embodiment. 図2は、本実施形態の印刷装置及び印刷物検査装置の構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a configuration of the printing apparatus and the printed matter inspection apparatus according to the present embodiment. 図3は、本実施形態のマスタ画像生成部の詳細構成の一例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of a detailed configuration of the master image generation unit of the present embodiment. 図4は、本実施形態のガウシアンフィルタの一例を示す図である。FIG. 4 is a diagram illustrating an example of the Gaussian filter of the present embodiment. 図5は、本実施形態のラプラシアンフィルタの一例を示す図である。FIG. 5 is a diagram illustrating an example of a Laplacian filter of the present embodiment. 図6は、本実施形態の印刷物検査装置で行われる処理の手順の流れの一例を示すフローチャートである。FIG. 6 is a flowchart illustrating an example of a flow of a process performed by the printed matter inspection apparatus according to the present embodiment. 図7は、変形例1の第3平滑化用のガウシアンフィルタの一例を示す図である。FIG. 7 is a diagram illustrating an example of a third smoothing Gaussian filter according to the first modification. 図8は、変形例3の移動平均フィルタの一例を示す図である。FIG. 8 is a diagram illustrating an example of the moving average filter of the third modification. 図9は、変形例3の移動平均フィルタの一例を示す図である。FIG. 9 is a diagram illustrating an example of the moving average filter according to the third modification. 図10は、上記実施形態及び各変形例の印刷装置及び印刷物検査装置のハードウェア構成の一例を示すブロック図である。FIG. 10 is a block diagram illustrating an example of a hardware configuration of the printing apparatus and the printed matter inspection apparatus according to the embodiment and each modification.

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

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

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

オペレーションパネル101は、印刷物検査システム1に対して各種操作入力を行ったり、各種画面を表示したりする操作表示部である。   The operation panel 101 is an operation display unit that inputs various operations to the printed material inspection system 1 and displays various screens.

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

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

給紙部109は、複数の記録紙が重ね合わせて収容されており、記録紙を給紙する。   The paper feeding unit 109 stores a plurality of recording papers, and feeds the recording papers.

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

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

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

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

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

印刷物検査装置200は、読取部201A、201Bを備える。読取部201Aは、印刷装置100から排紙された印刷物の一方の面を光学的に読み取り、読取部201Bは、印刷装置100から排紙された印刷物の他方の面を光学的に読み取る。読取部201A、201Bは、例えば、ラインスキャナ等により実現できる。そして印刷物検査装置200は、読み取りが完了した印刷物をスタッカ300へ排紙する。   The printed matter inspection apparatus 200 includes reading units 201A and 201B. The reading unit 201A optically reads one surface of the printed material discharged from the printing apparatus 100, and the reading unit 201B optically reads the other surface of the printed material discharged from the printing device 100. The reading units 201A and 201B can be realized by, for example, a line scanner. Then, the printed matter inspection apparatus 200 discharges the printed matter that has been read to the stacker 300.

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

図2は、本実施形態の印刷装置100及び印刷物検査装置200の構成の一例を示すブロック図である。図2に示すように、印刷装置100は、RIP(Raster Image Processor)部121と、印刷制御部123と、印刷部125とを備える。印刷物検査装置200は、読取部201と、取得部203と、マスタ画像生成部205と、バッファ207と、検査部209とを、備える。なお本実施形態では、印刷装置100と印刷物検査装置200とは、USB(Universal Serial Bus)やPCIe(Peripheral Component Interconnect Express)等のローカルなインタフェースによって接続されていることを想定しているが、印刷装置100と印刷物検査装置200との接続形態は、これに限定されるものではない。   FIG. 2 is a block diagram illustrating an example of the configuration of the printing apparatus 100 and the printed matter inspection apparatus 200 according to the present embodiment. As illustrated in FIG. 2, the printing apparatus 100 includes a RIP (Raster Image Processor) unit 121, a print control unit 123, and a printing unit 125. The printed matter inspection apparatus 200 includes a reading unit 201, an acquisition unit 203, a master image generation unit 205, a buffer 207, and an inspection unit 209. In this embodiment, it is assumed that the printing apparatus 100 and the printed material inspection apparatus 200 are connected by a local interface such as USB (Universal Serial Bus) or PCIe (Peripheral Component Interconnect Express). The connection form between the apparatus 100 and the printed matter inspection apparatus 200 is not limited to this.

RIP部121は、図示せぬホスト装置などの外部装置から印刷データを受け取り、受け取った印刷データから、印刷物の生成元の(印刷の基礎となる)元画像を生成する。具体的には、RIP部121は、印刷データをRIP処理し、元画像としてRIP画像を生成する。   The RIP unit 121 receives print data from an external device such as a host device (not shown), and generates an original image (a basis for printing) from which the printed material is generated from the received print data. Specifically, the RIP unit 121 performs RIP processing on the print data and generates a RIP image as an original image.

本実施形態では、印刷データは、PostScript(登録商標)などのページ記述言語(PDL:Page Description Language)で記述されたデータやTIFF(Tagged Image File Format)形式の画像データなどを含んで構成されるが、これに限定されるものではない。また本実施形態では、元画像は、CMYKのRIP画像データであり、C(Cyan)、M(MAgenda)、Y(Yellow)、K(Black)それぞれのRIP画像データの各画素が2bitの600dpiであるものとするが、これに限定されるものではない。   In the present embodiment, the print data includes data described in a page description language (PDL) such as PostScript (registered trademark), image data in a TIFF (Tagged Image File Format) format, and the like. However, the present invention is not limited to this. In this embodiment, the original image is CMYK RIP image data, and each pixel of the RIP image data of C (Cyan), M (Magenta), Y (Yellow), and K (Black) is 2 bits at 600 dpi. It shall be, but is not limited to this.

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

なおRIP部121及びプリンタ制御部123は、例えば、CPU(Central Processing Unit)などの処理装置にプログラムを実行させること、即ち、ソフトウェアにより実現してもよいし、IC(Integrated Circuit)やASIC(Application Specific Integrated Circuit)などのハードウェアにより実現してもよいし、ソフトウェア及びハードウェアを併用して実現してもよい。   The RIP unit 121 and the printer control unit 123 may be realized by software by causing a processing device such as a CPU (Central Processing Unit) to execute a program, that is, an IC (Integrated Circuit) or an ASIC (Application It may be realized by hardware such as (Specific Integrated Circuit) or may be realized by using software and hardware together.

印刷部125は、作像プロセスなどの印刷処理プロセスを実行し、RIP画像に基づく印刷画像を記録紙に印刷し、印刷物を生成する。本実施形態では、印刷部125は、感光体ドラム103Y、103M、103C、103K、転写ベルト105、二次転写ローラ107、及び定着ローラ113などにより実現されるが、これに限定されるものではない。このように本実施形態では、電子写真方式で画像を印刷するが、これに限定されず、インクジェット方式で画像を印刷するようにしてもよい。   The printing unit 125 executes a print processing process such as an image forming process, prints a print image based on the RIP image on a recording sheet, and generates a printed matter. In this embodiment, the printing unit 125 is realized by the photosensitive drums 103Y, 103M, 103C, and 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 this embodiment, an image is printed by an electrophotographic method, but the present invention is not limited to this, and an image may be printed by an inkjet method.

読取部201は、印刷部125により生成された印刷物を読み取って検査画像を生成する。具体的には、読取部201は、RIP画像に基づく印刷画像が印刷された印刷物から、当該印刷画像を光学的に読み取って検査画像を生成する。本実施形態では、読取部201は、読取部201A、201Bにより実現される。また本実施形態では、検査画像は、RGBの画像データであり、R、G、Bそれぞれの画像データの各画素が8bitの200dpiであるものとするが、これに限定されるものではない。   The reading unit 201 reads the printed matter generated by the printing unit 125 and generates an inspection image. Specifically, the reading unit 201 optically reads the print image from the printed material on which the print image based on the RIP image is printed, and generates an inspection image. In the present embodiment, the reading unit 201 is realized by the reading units 201A and 201B. In the present embodiment, the inspection image is RGB image data, and each pixel of the R, G, and B image data has 8 bits of 200 dpi. However, the present invention is not limited to this.

取得部203は、印刷部125により生成された印刷物の生成元の元画像を取得する。具体的には、取得部203は、印刷装置100(印刷制御部123)からC、M、Y、KそれぞれのRIP画像を取得する。   The acquisition unit 203 acquires the original image that is the generation source of the printed matter generated by the printing unit 125. Specifically, the acquisition unit 203 acquires C, M, Y, and K RIP images from the printing apparatus 100 (print control unit 123).

マスタ画像生成部205は、取得部203により取得された元画像に基づいてマスタ画像を生成する。なお取得部203及びマスタ画像生成部205は、例えば、CPUなどの処理装置にプログラムを実行させること、即ち、ソフトウェアにより実現してもよいし、ICやASICなどのハードウェアにより実現してもよいし、ソフトウェア及びハードウェアを併用して実現してもよい。   The master image generation unit 205 generates a master image based on the original image acquired by the acquisition unit 203. The acquisition unit 203 and the master image generation unit 205 may be realized by causing a processing device such as a CPU to execute a program, that is, by software, or by hardware such as an IC or an ASIC. However, software and hardware may be used in combination.

図3は、本実施形態のマスタ画像生成部205の詳細構成の一例を示すブロック図である。図3に示すように、マスタ画像生成部205は、多値変換部211と、画像処理部221とを、備える。   FIG. 3 is a block diagram illustrating an example of a detailed configuration of the master image generation unit 205 of the present embodiment. As illustrated in FIG. 3, the master image generation unit 205 includes a multi-value conversion unit 211 and an image processing unit 221.

多値変換部211は、取得部203により取得された元画像に対し、多値変換を施す。多値変換部211は、多値化部213と、第1平滑化部215と、検出部217と、第2平滑化部219とを、含む。   The multi-value conversion unit 211 performs multi-value conversion on the original image acquired by the acquisition unit 203. The multi-value conversion unit 211 includes a multi-value conversion unit 213, a first smoothing unit 215, a detection unit 217, and a second smoothing unit 219.

多値化部213は、取得部203により取得された元画像を多値化する。本実施形態では、多値化部213は、取得部203により取得されたC、M、Y、KそれぞれのRIP画像の各画素の画素値に係数を乗じ、2bitの少値データから8bitの多値データに多値化する。   The multi-value conversion unit 213 multi-values the original image acquired by the acquisition unit 203. In the present embodiment, the multi-value conversion unit 213 multiplies the pixel value of each pixel of each of the C, M, Y, and K RIP images acquired by the acquisition unit 203 by a coefficient and multi-values from 2 bits to 8 bits. Multi-value into value data.

第1平滑化部215は、多値化部213により多値化された元画像に対し、第1平滑化を施す。ここで、第1平滑化部215による第1平滑化は、後述の検出部217によるエッジ検出において、エッジ部(画像の境界)だけでなく、網点部までエッジとして検出されてしまうことを防止するために行われる。   The first smoothing unit 215 performs first smoothing on the original image multi-valued by the multi-value converting unit 213. Here, the first smoothing by the first smoothing unit 215 prevents not only the edge part (the boundary of the image) but also the halftone part from being detected as an edge in the edge detection by the detection part 217 described later. To be done.

具体的には、第1平滑化部215は、各画素が8bitの多値データに変換されたC、M、Y、KそれぞれのRIP画像に対し、第1平滑化として、印刷部125により生成された印刷物の印刷線数に応じた平滑化係数の第1平滑化フィルタを用いた平滑化を施す。   Specifically, the first smoothing unit 215 generates the first smoothing by the printing unit 125 for each RIP image of C, M, Y, and K in which each pixel is converted to multi-value data of 8 bits. Smoothing is performed using a first smoothing filter having a smoothing coefficient corresponding to the number of printed lines of the printed matter.

ここで、印刷物の印刷線数が低いほど、印刷物の網点は粗くなるため、RIP画像の網点を潰すためには、平滑化効果の強い第1平滑化フィルタが必要となる。一方、印刷物の印刷線数が高いほど、印刷物の網点は細かくなるため、RIP画像の網点を潰すためには、平滑化効果の弱い第1平滑化フィルタで足りる。このため本実施形態では、第1平滑化部215は、印刷物の印刷線数が低いほど第1平滑化フィルタの平滑化係数を大きくし、第1平滑化フィルタによる平滑化を強くする。   Here, the lower the number of printed lines of the printed material, the rougher the halftone dots of the printed material. Therefore, in order to eliminate the halftone dots of the RIP image, a first smoothing filter having a strong smoothing effect is required. On the other hand, the higher the number of printed lines of the printed matter, the finer the halftone dots of the printed matter. Therefore, the first smoothing filter having a weak smoothing effect is sufficient to eliminate the halftone dots of the RIP image. For this reason, in this embodiment, the 1st smoothing part 215 enlarges the smoothing coefficient of a 1st smoothing filter, and strengthens the smoothing by a 1st smoothing filter, so that the number of printed lines of printed matter is low.

なお本実施形態では、印刷物の印刷線数に応じた平滑化係数の第1平滑化フィルタを用いた平滑化として、数式(1)で表されるガウシアンフィルタを用いたフィルタリング処理を例に取り説明するが、これに限定されるものではない。   In the present embodiment, a filtering process using a Gaussian filter represented by Expression (1) is taken as an example of smoothing using the first smoothing filter having a smoothing coefficient corresponding to the number of printed lines of the printed matter. However, the present invention is not limited to this.

Figure 2015053561
Figure 2015053561

ここで、xはフィルタ中心からのX方向の座標を示し、yはフィルタ中心からのY方向の座標を示し、σは印刷物の印刷線数に応じた平滑化係数を示す。なお、平滑化係数σは、印刷物の印刷線数が低いほど大きくなる。   Here, x indicates coordinates in the X direction from the filter center, y indicates coordinates in the Y direction from the filter center, and σ indicates a smoothing coefficient corresponding to the number of printed lines of the printed matter. Note that the smoothing coefficient σ increases as the number of printed lines of the printed material decreases.

図4は、本実施形態のガウシアンフィルタの一例を示す図である。なお、図4に示すガウシアンフィルタは、数式(1)において、σ≒0.8に設定したものである。   FIG. 4 is a diagram illustrating an example of the Gaussian filter of the present embodiment. The Gaussian filter shown in FIG. 4 is set to σ≈0.8 in Equation (1).

検出部217は、第1平滑化部215により第1平滑化が施された元画像に対し、印刷部125により生成された印刷物の印刷線数に基づくエッジ閾値を用いたエッジ検出を施す。本実施形態では、検出部217は、第1平滑化が施されたC、M、Y、KそれぞれのRIP画像に対し、印刷物の印刷線数に基づくエッジ閾値として、第1平滑化フィルタの平滑化係数に応じた閾値を用いたエッジ検出を施す。   The detection unit 217 performs edge detection using an edge threshold value based on the number of printed lines of the printed matter generated by the printing unit 125 for the original image subjected to the first smoothing by the first smoothing unit 215. In the present embodiment, the detection unit 217 performs smoothing of the first smoothing filter as an edge threshold value based on the number of printed lines of the printed material for each of the RIP images of C, M, Y, and K subjected to the first smoothing. Edge detection is performed using a threshold value corresponding to the conversion factor.

ここで、第1平滑化フィルタによる平滑化(第1平滑化部215による第1平滑化)が強いほどRIP画像のエッジが弱くなり、第1平滑化フィルタによる平滑化が弱いほどRIP画像のエッジが強くなる。このため本実施形態では、検出部217は、第1平滑化フィルタの平滑化係数が大きいほどエッジ閾値を小さくする。例えば、検出部217は、数式(2)を用いて、エッジ閾値を決定する。   Here, the edge of the RIP image becomes weaker as the smoothing by the first smoothing filter (the first smoothing by the first smoothing unit 215) becomes stronger, and the edge of the RIP image becomes weaker as the smoothing by the first smoothing filter becomes weaker. Becomes stronger. Therefore, in this embodiment, the detection unit 217 decreases the edge threshold as the smoothing coefficient of the first smoothing filter increases. For example, the detection unit 217 determines the edge threshold using Equation (2).

Figure 2015053561
Figure 2015053561

ここで、tはエッジ閾値を示し、kは係数を示し、aは定数を示す。例えば、k=100、a=−60、σ=0.8の場合、t=65となる。   Here, t represents an edge threshold, k represents a coefficient, and a represents a constant. For example, when k = 100, a = −60, and σ = 0.8, t = 65.

なお本実施形態では、第1平滑化フィルタの平滑化係数に応じたエッジ閾値を用いたエッジ検出として、図5で表されるラプラシアンフィルタ(二次微分フィルタ)を用いたフィルタリング処理を例に取り説明するが、これに限定されるものではない。   In the present embodiment, a filtering process using a Laplacian filter (secondary differential filter) shown in FIG. 5 is taken as an example of edge detection using an edge threshold corresponding to the smoothing coefficient of the first smoothing filter. Although explained, it is not limited to this.

ラプラシアンフィルタは二次微分であるため、エッジ中心を挟んで正値と負値が求められるが、本実施形態では、負値をゼロとみなし、正値がエッジ閾値以上となる画素をエッジとして検出する。例えば、検出部217は、正値がエッジ閾値以上となる画素と正値がエッジ閾値未満となる画素とを2値化したエッジ画像を生成することで、エッジ検出を行う。   Since the Laplacian filter is a second derivative, a positive value and a negative value are obtained across the edge center. However, in this embodiment, a negative value is regarded as zero, and a pixel whose positive value is equal to or greater than the edge threshold is detected as an edge. To do. For example, the detection unit 217 performs edge detection by generating an edge image in which a pixel having a positive value equal to or greater than the edge threshold and a pixel having a positive value less than the edge threshold are binarized.

第2平滑化部219は、検出部217によるエッジ検出でエッジとして検出されなかった領域に対応する多値化部213により多値化された元画像の非エッジ領域に対し、第2平滑化を施す。   The second smoothing unit 219 performs the second smoothing on the non-edge region of the original image multi-valued by the multi-value quantization unit 213 corresponding to the region not detected as an edge by the edge detection by the detection unit 217. Apply.

具体的には、第2平滑化部219は、各画素が8bitの多値データに変換されたC、M、Y、KそれぞれのRIP画像のうち、検出部217により生成されたC、M、Y、Kそれぞれのエッジ画像でエッジとして検出されなかった領域に対応する非エッジ領域に対し、第2平滑化として、印刷部125により生成された印刷物の印刷線数に応じた平滑化係数の第2平滑化フィルタを用いた平滑化を施す。   Specifically, the second smoothing unit 219 includes C, M, Y, and C generated by the detection unit 217 among C, M, Y, and K RIP images in which each pixel is converted into 8-bit multi-value data. As a second smoothing for the non-edge region corresponding to the region that is not detected as an edge in each of the Y and K edge images, the second smoothing coefficient corresponding to the number of printed lines generated by the printing unit 125 is used. 2 Smoothing is performed using a smoothing filter.

本実施形態では、第1平滑化フィルタの平滑化係数と第2平滑化フィルタの平滑化係数とは、同一であるものとするが、異なっていてもよい。   In the present embodiment, the smoothing coefficient of the first smoothing filter and the smoothing coefficient of the second smoothing filter are the same, but they may be different.

画像処理部211は、第2平滑化部219により第2平滑化が施された元画像(多値変換部211により多値変換が施された元画像)に対し、画像処理を施し、マスタ画像を生成する。本実施形態では、画像処理部211は、解像度変換部223と、色変換部225とを、含むものとするが、これに限定されるものではなく、他の画像処理を施す処理部が含まれていてもよい。例えば、画像処理部211は、後述の検査部209が読取部201により生成された検査画像と画像処理部211により生成されたマスタ画像とを比較する際の位置合わせの基準となる基準点の設定処理を行う処理部などを含んでいてもよい。   The image processing unit 211 performs image processing on the original image that has been subjected to the second smoothing by the second smoothing unit 219 (the original image that has been subjected to the multi-value conversion by the multi-value conversion unit 211), and obtains a master image. Is generated. In the present embodiment, the image processing unit 211 includes the resolution conversion unit 223 and the color conversion unit 225, but is not limited to this, and includes a processing unit that performs other image processing. Also good. For example, the image processing unit 211 sets a reference point that serves as a reference for alignment when an inspection unit 209 described below compares an inspection image generated by the reading unit 201 with a master image generated by the image processing unit 211. A processing unit that performs processing may be included.

解像度変換部223は、第2平滑化部219により第2平滑化が施されたC、M、Y、KそれぞれのRIP画像の解像度を、600dpiから、読取部201の読み取り解像度である200dpiへ変換する。本実施形態では、解像度変換部223は、3画素に1画素を間引くような手法で解像度を変換するが、これに限定されず、解像度変換手法はどのような手法であってもよい。   The resolution conversion unit 223 converts the resolution of each of the C, M, Y, and K RIP images subjected to the second smoothing by the second smoothing unit 219 from 600 dpi to 200 dpi that is the reading resolution of the reading unit 201. To do. In the present embodiment, the resolution conversion unit 223 converts the resolution by a method in which one pixel is thinned out into three pixels, but the present invention is not limited to this, and any method may be used as the resolution conversion method.

色変換部225は、解像度変換部223により解像度変換が施されたC、M、Y、KそれぞれのRIP画像をRGB画像に変換する。例えば、色変換部225は、各画素8bitのCMYK(合計32bit)に対応する各画素8bitのRGB(合計24bit)の値を決定し、CMYKのRIP画像データをこの決定した値のRGB画像データに変換する。色変換部225は、C、M、Y、Kそれぞれにおける8点の離散的な格子点から4面体補間法を使用した補間演算を行い、RGBの値を求める。これにより、色変換部225は、CMYKの一組のデータから、ある格子点パラメータにおけるRGBの一組のデータを求めることができる。   The color conversion unit 225 converts the C, M, Y, and K RIP images that have undergone resolution conversion by the resolution conversion unit 223 into RGB images. For example, the color conversion unit 225 determines a value of RGB (total 24 bits) of each pixel 8 bits corresponding to CMYK (total 32 bits) of each pixel 8 bits, and converts the CMYK RIP image data into the RGB image data of the determined values. Convert. The color conversion unit 225 performs an interpolation operation using tetrahedral interpolation from eight discrete lattice points in each of C, M, Y, and K to obtain RGB values. Accordingly, the color conversion unit 225 can obtain a set of RGB data for a certain lattice point parameter from a set of CMYK data.

図2に戻り、バッファ207は、マスタ画像生成部205により生成されたマスタ画像を記憶する。バッファ207は、読取部201により検査画像が生成されると、検査に用いるマスタ画像を検査部209に出力する。なおバッファ207は、例えば、DRAM(Dynamic Random Access Memory)などにより実現できる。   Returning to FIG. 2, the buffer 207 stores the master image generated by the master image generation unit 205. When an inspection image is generated by the reading unit 201, the buffer 207 outputs a master image used for inspection to the inspection unit 209. The buffer 207 can be realized by, for example, a DRAM (Dynamic Random Access Memory).

検査部209は、読取部201により生成された検査画像とマスタ画像生成部205により生成されたマスタ画像とを比較して、印刷装置100により生成された印刷物の品質を検査する。具体的には、検査部209は、読取部201により生成された検査画像とバッファ207から出力されたマスタ画像とを画素単位で比較し、RGB各色8bitの画素値の差分値を画素毎に算出する。そして検査部209は、画素毎の差分値と閾値との大小関係に基づいて、印刷装置100により生成された印刷物の品質を検査し、検査結果を印刷装置100に送信(フィードバック)する。なお検査部209は、例えば、CPUなどの処理装置にプログラムを実行させること、即ち、ソフトウェアにより実現してもよいし、ICやASICなどのハードウェアにより実現してもよいし、ソフトウェア及びハードウェアを併用して実現してもよい。   The inspection unit 209 compares the inspection image generated by the reading unit 201 with the master image generated by the master image generation unit 205, and inspects the quality of the printed matter generated by the printing apparatus 100. Specifically, the inspection unit 209 compares the inspection image generated by the reading unit 201 with the master image output from the buffer 207 in units of pixels, and calculates a difference value of pixel values of 8 bits for each RGB color for each pixel. To do. The inspection unit 209 inspects the quality of the printed matter generated by the printing apparatus 100 based on the magnitude relationship between the difference value for each pixel and the threshold value, and transmits (feeds back) the inspection result to the printing apparatus 100. The inspection unit 209, for example, causes a processing device such as a CPU to execute a program, that is, may be realized by software, may be realized by hardware such as an IC or an ASIC, or software and hardware. May be realized in combination.

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

まず、取得部203は、印刷装置100(印刷制御部123)からC、M、Y、KそれぞれのRIP画像を取得する(ステップS101)。   First, the acquisition unit 203 acquires C, M, Y, and K RIP images from the printing apparatus 100 (print control unit 123) (step S101).

続いて、多値化部213は、取得部203により取得されたC、M、Y、KそれぞれのRIP画像の各画素の画素値に係数を乗じ、2bitの少値データから8bitの多値データに多値化する(ステップS103)。   Subsequently, the multi-value conversion unit 213 multiplies the pixel value of each pixel of each of the C, M, Y, and K RIP images acquired by the acquisition unit 203 by a coefficient and multi-value data from 8 bits to 8 bits. Is multi-valued (step S103).

続いて、第1平滑化部215は、各画素が8bitの多値データに変換されたC、M、Y、KそれぞれのRIP画像に対し、第1平滑化として、印刷部125により生成された印刷物の印刷線数に応じた平滑化係数の第1平滑化フィルタを用いた平滑化を施す(ステップS105)。本実施形態では、第1平滑化部215は、印刷物の印刷線数が低いほど第1平滑化フィルタの平滑化係数を大きくし、第1平滑化フィルタによる平滑化を強くする。   Subsequently, the first smoothing unit 215 is generated by the printing unit 125 as the first smoothing for each RIP image of C, M, Y, and K in which each pixel is converted into multi-value data of 8 bits. Smoothing is performed using a first smoothing filter having a smoothing coefficient corresponding to the number of printed lines of the printed material (step S105). In the present embodiment, the first smoothing unit 215 increases the smoothing coefficient of the first smoothing filter and strengthens the smoothing by the first smoothing filter as the number of printed lines of the printed material is lower.

続いて、検出部217は、第1平滑化が施されたC、M、Y、KそれぞれのRIP画像に対し、印刷物の印刷線数に基づくエッジ閾値として、第1平滑化フィルタの平滑化係数に応じた閾値を用いたエッジ検出を施す(ステップS107)。本実施形態では、検出部217は、第1平滑化フィルタの平滑化係数が大きいほどエッジ閾値を小さくする。   Subsequently, the detection unit 217 uses the smoothing coefficient of the first smoothing filter as an edge threshold value based on the number of printed lines of the printed material for each of the RIP images of C, M, Y, and K subjected to the first smoothing. Edge detection is performed using a threshold value corresponding to (step S107). In the present embodiment, the detection unit 217 decreases the edge threshold as the smoothing coefficient of the first smoothing filter increases.

続いて、第2平滑化部219は、各画素が8bitの多値データに変換されたC、M、Y、KそれぞれのRIP画像のうち、検出部217により生成されたC、M、Y、Kそれぞれのエッジ画像でエッジとして検出されなかった領域に対応する非エッジ領域に対し、第2平滑化として、印刷部125により生成された印刷物の印刷線数に応じた平滑化係数の第2平滑化フィルタを用いた平滑化を施す(ステップS109)。   Subsequently, the second smoothing unit 219 includes C, M, Y, and C generated by the detection unit 217 among the C, M, Y, and K RIP images in which each pixel is converted into 8-bit multi-value data. The second smoothing of the smoothing coefficient corresponding to the number of printed lines of the printed matter generated by the printing unit 125 is performed as the second smoothing for the non-edge region corresponding to the region that is not detected as the edge in each edge image of K. Smoothing is performed using an activating filter (step S109).

続いて、解像度変換部223は、第2平滑化部219により第2平滑化が施されたC、M、Y、KそれぞれのRIP画像の解像度を、600dpiから、読取部201の読み取り解像度である200dpiへ変換する(ステップS111)。   Subsequently, the resolution conversion unit 223 reads the resolution of the RIP images of C, M, Y, and K that have been subjected to the second smoothing by the second smoothing unit 219 from 600 dpi, and is the reading resolution of the reading unit 201. Conversion to 200 dpi is performed (step S111).

続いて、色変換部225は、解像度変換部223により解像度変換が施されたC、M、Y、KそれぞれのRIP画像をRGB画像に変換する(ステップS113)。   Subsequently, the color conversion unit 225 converts the C, M, Y, and K RIP images that have undergone resolution conversion by the resolution conversion unit 223 into RGB images (step S113).

続いて、バッファ207は、マスタ画像生成部205により生成されたマスタ画像をバッファする(ステップS115)。   Subsequently, the buffer 207 buffers the master image generated by the master image generation unit 205 (step S115).

続いて、読取部201は、RIP画像に基づく印刷画像が印刷された印刷物から、当該印刷画像を光学的に読み取ってRGBの検査画像を生成する(ステップS117)。   Subsequently, the reading unit 201 optically reads the print image from the printed material on which the print image based on the RIP image is printed, and generates an RGB inspection image (step S117).

続いて、検査部209は、読取部201により生成された検査画像とバッファ207から出力されたマスタ画像とを画素単位で比較し、RGB各色8bitの画素値の差分値を画素毎に算出し、画素毎の差分値と閾値との大小関係に基づいて、印刷装置100により生成された印刷物の品質を検査する(ステップS119)。   Subsequently, the inspection unit 209 compares the inspection image generated by the reading unit 201 with the master image output from the buffer 207 on a pixel-by-pixel basis, calculates a pixel-value difference value for each RGB 8-bit pixel, Based on the magnitude relationship between the difference value for each pixel and the threshold value, the quality of the printed matter generated by the printing apparatus 100 is inspected (step S119).

以上のように本実施形態では、エッジ検出用の第1平滑化の強弱に合わせたエッジ閾値を用いてエッジ検出を行うため、エッジを正確に検出することができ、検査画像を正確に再現したマスタ画像を生成することができる。このため本実施形態によれば、印刷物の品質検査の精度を向上させることができる。   As described above, in this embodiment, since edge detection is performed using an edge threshold value that matches the strength of the first smoothing for edge detection, the edge can be detected accurately, and the inspection image is accurately reproduced. A master image can be generated. For this reason, according to this embodiment, the precision of the quality inspection of printed matter can be improved.

(変形例)
なお本発明は、上記実施形態に限定されるものではなく、種々の変形が可能である。
(Modification)
In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible.

(変形例1)
上記実施形態において、第2平滑化部219は、検出部217によるエッジ検出でエッジとして検出された領域に対応する多値化部213により多値化された元画像のエッジ領域に対し、第2平滑化よりも弱い第3平滑化を更に施すようにしてもよい。
(Modification 1)
In the above embodiment, the second smoothing unit 219 performs the second processing on the edge region of the original image multi-valued by the multi-value quantization unit 213 corresponding to the region detected as an edge by the edge detection by the detection unit 217. You may make it further perform the 3rd smoothing weaker than smoothing.

具体的には、第2平滑化部219は、各画素が8bitの多値データに変換されたC、M、Y、KそれぞれのRIP画像のうち、検出部217により生成されたC、M、Y、Kそれぞれのエッジ画像でエッジとして検出された領域に対応するエッジ領域に対し、第3平滑化として、第2平滑化フィルタの平滑化係数よりも小さい平滑化係数の第3平滑化フィルタを用いた平滑化を施すようにしてもよい。   Specifically, the second smoothing unit 219 includes C, M, Y, and C generated by the detection unit 217 among C, M, Y, and K RIP images in which each pixel is converted into 8-bit multi-value data. A third smoothing filter having a smoothing coefficient smaller than the smoothing coefficient of the second smoothing filter is applied as the third smoothing to the edge area corresponding to the area detected as an edge in each of the Y and K edge images. The smoothing used may be applied.

図7は、変形例1の第3平滑化用のガウシアンフィルタの一例を示す図である。なお、図7に示すガウシアンフィルタは、数式(1)において、σ≒0.5に設定したものである。   FIG. 7 is a diagram illustrating an example of a third smoothing Gaussian filter according to the first modification. The Gaussian filter shown in FIG. 7 is set to σ≈0.5 in Equation (1).

このようにすれば、読取部201のスキャナ特性によって検査画像のエッジ部が少し鈍るなど、元画像のエッジ領域に対して何らかの処理を施しておかないと不都合が起きるようなケースにも対応することができる。   In this way, it is possible to deal with a case in which an inconvenience arises if some processing is not applied to the edge area of the original image, such as the edge portion of the inspection image being slightly dull due to the scanner characteristics of the reading unit 201. Can do.

(変形例2)
上記実施形態において、第1平滑化部215が、印刷物の印刷線数に関係なく、一律の平滑化係数を用いて、第1平滑化フィルタによる平滑化を行う場合、検出部217は、第1平滑化が施されたC、M、Y、KそれぞれのRIP画像に対し、印刷物の印刷線数に基づくエッジ閾値として、印刷線数に応じた閾値を用いたエッジ検出を施すようにしてもよい。
(Modification 2)
In the above embodiment, when the first smoothing unit 215 performs smoothing by the first smoothing filter using a uniform smoothing coefficient regardless of the number of printed lines of the printed matter, the detecting unit 217 For each of the smoothed C, M, Y, and K RIP images, edge detection using a threshold corresponding to the number of printed lines may be performed as an edge threshold based on the number of printed lines of the printed matter. .

この場合、検出部217は、印刷物の印刷線数が低いほど、網点部をエッジとして検出しやすくなるため(網点部のエッジが強くなるため)、印刷線数が低いほどエッジを検出しにくいようなエッジ閾値を設定する、即ち、印刷線数が低いほどエッジ閾値を大きくすればよい。   In this case, the detection unit 217 detects the halftone dot as an edge more easily as the number of printed lines of the printed material is lower (because the edge of the halftone dot becomes stronger), and detects the edge as the number of printed lines is lower. An edge threshold value that is difficult to set is set, that is, the edge threshold value may be increased as the number of printed lines is lower.

(変形例3)
上記実施形態において、第1平滑化部215の第1平滑化及び第2平滑化部219の第2平滑化に移動平均フィルタを用いるようにしてもよい。移動平均フィルタは、フィルタサイズが大きくなるに従い、平滑化効果が強くなるので、印刷物の印刷線数が高ければ、図8に示すような3×3のサイズの移動平均フィルタを用い、印刷物の印刷線数が低ければ、図9に示すような5×5のサイズの移動平均フィルタを用いるようにすればよい。
(Modification 3)
In the above embodiment, a moving average filter may be used for the first smoothing of the first smoothing unit 215 and the second smoothing of the second smoothing unit 219. The moving average filter has a smoothing effect that increases as the filter size increases. Therefore, if the number of printed lines is high, a moving average filter having a size of 3 × 3 as shown in FIG. If the number of lines is low, a moving average filter having a size of 5 × 5 as shown in FIG. 9 may be used.

この場合、移動平均フィルタのサイズが大きいほどRIP画像のエッジが弱くなるため検出部217は、移動平均フィルタのサイズが大きいほどエッジを検出しやすいようなエッジ閾値を設定する、即ち、移動平均フィルタのサイズが大きいほどエッジ閾値を小さくすればよい。   In this case, since the edge of the RIP image becomes weaker as the size of the moving average filter is larger, the detection unit 217 sets an edge threshold value such that the edge is easier to detect as the size of the moving average filter is larger. The edge threshold value may be reduced as the size of is increased.

(変形例4)
上記実施形態において、印刷装置100を構成するRIP部121、印刷制御部123、及び印刷部125を、別々の装置として構成してもよい。また上記実施形態において、印刷装置100及び印刷物検査装置200を同一の装置として構成してもよい。また上記実施形態において、印刷装置100と印刷物検査装置200とをネットワークを介して接続し、印刷物検査装置200の機能をクラウド化して提供するようにしてもよい。
(Modification 4)
In the above embodiment, the RIP unit 121, the print control unit 123, and the printing unit 125 that configure the printing apparatus 100 may be configured as separate apparatuses. Moreover, in the said embodiment, you may comprise the printing apparatus 100 and the printed matter inspection apparatus 200 as the same apparatus. In the above embodiment, the printing apparatus 100 and the printed matter inspection apparatus 200 may be connected via a network, and the functions of the printed matter inspection apparatus 200 may be provided in a cloud form.

(ハードウェア構成)
図10は、上記実施形態及び各変形例の印刷装置100及び印刷物検査装置200のハードウェア構成の一例を示すブロック図である。
(Hardware configuration)
FIG. 10 is a block diagram illustrating an example of a hardware configuration of the printing apparatus 100 and the printed matter inspection apparatus 200 according to the embodiment and each modification.

図10に示すように、印刷装置100及び印刷物検査装置200は、コントローラ910とエンジン部(Engine)960とをPCIバスで接続した構成となる。コントローラ910は、印刷装置100又は印刷物検査装置200の全体の制御、描画、通信、及び操作表示部920からの入力を制御するコントローラである。エンジン部960は、PCIバスに接続可能なエンジンであり、印刷装置100の場合、例えば白黒プロッタ、1ドラムカラープロッタ、又は4ドラムカラープロッタ等のプリンタエンジンなどであり、印刷物検査装置200の場合、スキャナ等のスキャナエンジンなどである。エンジン部960には、エンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分も含まれる。   As shown in FIG. 10, the printing apparatus 100 and the printed matter inspection apparatus 200 have a configuration in which a controller 910 and an engine unit (Engine) 960 are connected by a PCI bus. The controller 910 is a controller that controls the entire control of the printing apparatus 100 or the printed matter inspection apparatus 200, drawing, communication, and input from the operation display unit 920. The engine unit 960 is an engine that can be connected to a PCI bus. In the case of the printing apparatus 100, for example, a printer engine such as a black and white plotter, a one-drum color plotter, or a four-drum color plotter. A scanner engine such as a scanner. The engine unit 960 includes an image processing part such as error diffusion and gamma conversion in addition to the engine part.

コントローラ910は、CPU911と、ノースブリッジ(NB)913と、システムメモリ(MEM−P)912と、サウスブリッジ(SB)914と、ローカルメモリ(MEM−C)917と、ASIC(Application Specific Integrated Circuit)916と、ハードディスクドライブ(HDD)918とを有し、ノースブリッジ(NB)913とASIC916との間をAGP(Accelerated Graphics Port)バス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, and an ASIC (Application Specific Integrated Circuit). 916 and a hard disk drive (HDD) 918, and the North Bridge (NB) 913 and the ASIC 916 are connected by an AGP (Accelerated Graphics Port) bus 915. The MEM-P 912 further includes a ROM 912a and a RAM 912b.

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

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

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

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

ASIC916は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGPバス915、PCIバス、HDD918およびMEM−C917をそれぞれ接続するブリッジの役割を有する。このASIC916は、PCIターゲットおよびAGPマスタと、ASIC916の中核をなすアービタ(ARB)と、MEM−C917を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などをおこなう複数のDMAC(Direct Memory Access Controller)と、エンジン部960との間でPCIバスを介したデータ転送をおこなうPCIユニットとからなる。このASIC916には、PCIバスを介してUSB940、IEEE1394(the Institute of Electrical and Electronics Engineers 1394)インタフェース(I/F)950が接続される。操作表示部920はASIC916に直接接続されている。   The ASIC 916 is an IC (Integrated Circuit) for image processing having hardware elements for image processing, and has a role of a bridge for connecting the AGP bus 915, the PCI bus, the HDD 918, and the MEM-C 917, 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-C 917, and a plurality of DMACs (Direct Memory) that perform image data rotation by hardware logic and the like. Access Controller) and a PCI unit that performs data transfer between the engine unit 960 via the PCI bus. The ASIC 916 is connected to a USB 940 and an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface (I / F) 950 via a PCI bus. The operation display unit 920 is directly connected to the ASIC 916.

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

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

上記実施形態及び各変形例の印刷装置100及び印刷物検査装置200で実行されるプログラムは、ROM912a等に予め組み込まれて提供される。   The programs executed by the printing apparatus 100 and the printed matter inspection apparatus 200 according to the above-described embodiment and each modified example are provided by being incorporated in advance in the ROM 912a or the like.

上記実施形態及び各変形例の印刷装置100及び印刷物検査装置200で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記憶媒体に記録して提供するように構成してもよい。   The programs executed by the printing apparatus 100 and the printed matter inspection apparatus 200 according to the above-described embodiment and each modified example are files in an installable format or executable format, and are CD-ROM, flexible disk (FD), CD-R, DVD. (Digital Versatile Disk) or the like may be recorded on a computer-readable storage medium and provided.

さらに、上記実施形態及び各変形例の印刷装置100及び印刷物検査装置200で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、上記実施形態及び各変形例の印刷装置100及び印刷物検査装置200で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the printing apparatus 100 and the printed matter inspection apparatus 200 according to the above-described embodiment and each modified example is provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. It may be configured. Further, the program executed by the printing apparatus 100 and the printed matter inspection apparatus 200 according to the above-described embodiment and each modification may be configured to be provided or distributed via a network such as the Internet.

上記実施形態及び各変形例の印刷装置100及び印刷物検査装置200で実行されるプログラムは、上述した各部をコンピュータ上で実現させるためのモジュール構成となっている。実際のハードウェアとしてはCPU911がROM912aからプログラムをRAM912b上に読み出して実行することにより、上記各部がコンピュータ上で実現されるようになっている。   The program executed by the printing apparatus 100 and the printed matter inspection apparatus 200 according to the above-described embodiment and each modification has a module configuration for realizing the above-described units on a computer. As actual hardware, the CPU 911 reads out a program from the ROM 912a onto the RAM 912b and executes it, whereby the above-described units are realized on a computer.

1 画像検査装置
100 印刷装置
101 オペレーションパネル
103Y、103M、103C、103K 感光体ドラム
105 転写ベルト
107 二次転写ローラ
109 給紙部
111 搬送ローラ対
113 定着ローラ
115 反転パス
121 RIP部
123 印刷制御部
125 印刷部
200 印刷物検査装置
201、201A、201B 読取部
203 取得部
205 マスタ画像生成部
207 バッファ
209 検査部
211 多値変換部
213 多値化部
215 第1平滑化部
217 検出部
219 第2平滑化部
221 画像処理部
223 解像度変換部
225 色変換部
910 コントローラ
911 CPU
912 システムメモリ
912a ROM
912b RAM
913 ノースブリッジ
914 サウスブリッジ
915 AGPバス
916 ASIC
917 ローカルメモリ
918 ハードディスクドライブ
920 操作表示部
940 USB
950 IEEE1394インタフェース
960 エンジン部
DESCRIPTION OF SYMBOLS 1 Image inspection apparatus 100 Printing apparatus 101 Operation panel 103Y, 103M, 103C, 103K Photosensitive drum 105 Transfer belt 107 Secondary transfer roller 109 Paper feed part 111 Conveyance roller pair 113 Fixing roller 115 Reverse path 121 RIP part 123 Print control part 125 Printing unit 200 Printed matter inspection apparatus 201, 201A, 201B Reading unit 203 Acquisition unit 205 Master image generation unit 207 Buffer 209 Inspection unit 211 Multi-value conversion unit 213 Multi-value conversion unit 215 First smoothing unit 217 Detection unit 219 Second smoothing Unit 221 image processing unit 223 resolution conversion unit 225 color conversion unit 910 controller 911 CPU
912 System memory 912a ROM
912b RAM
913 North Bridge 914 South Bridge 915 AGP Bus 916 ASIC
917 Local memory 918 Hard disk drive 920 Operation display unit 940 USB
950 IEEE1394 interface 960 engine part

特開2012−195980号公報JP 2012-195980 A

Claims (12)

印刷物を読み取って検査画像を生成する読取部と、
前記印刷物の生成元の元画像を取得する取得部と、
前記元画像を多値化する多値化部と、
前記多値化された元画像に対し、第1平滑化を施す第1平滑化部と、
前記第1平滑化が施された元画像に対し、前記印刷物の印刷線数に基づくエッジ閾値を用いたエッジ検出を施す検出部と、
前記エッジ検出でエッジとして検出されなかった領域に対応する前記多値化された元画像の非エッジ領域に対し、第2平滑化を施す第2平滑化部と、
前記第2平滑化が施された元画像に対し、画像処理を施し、マスタ画像を生成する画像処理部と、
前記検査画像と前記マスタ画像とを比較して、前記印刷物の品質を検査する検査部と、
を備える印刷物検査装置。
A reading unit that reads a printed matter and generates an inspection image;
An acquisition unit for acquiring an original image from which the printed matter is generated;
A multi-value conversion unit that multi-values the original image;
A first smoothing unit that performs first smoothing on the multi-valued original image;
A detection unit that performs edge detection using an edge threshold value based on the number of printed lines of the printed material on the original image subjected to the first smoothing;
A second smoothing unit that performs second smoothing on a non-edge region of the multi-valued original image corresponding to a region that is not detected as an edge by the edge detection;
An image processing unit that performs image processing on the original image subjected to the second smoothing to generate a master image;
An inspection unit that compares the inspection image with the master image and inspects the quality of the printed matter;
A printed matter inspection apparatus comprising:
前記第1平滑化は、前記印刷線数に応じた平滑化係数の第1平滑化フィルタを用いた平滑化であり、
前記エッジ閾値は、前記平滑化係数に応じた閾値である請求項1に記載の印刷物検査装置。
The first smoothing is smoothing using a first smoothing filter having a smoothing coefficient corresponding to the number of printed lines,
The printed matter inspection apparatus according to claim 1, wherein the edge threshold is a threshold corresponding to the smoothing coefficient.
前記平滑化係数は、値が大きいほど前記第1平滑化フィルタによる平滑化を強くする請求項2に記載の印刷物検査装置。   The printed matter inspection apparatus according to claim 2, wherein the smoothing coefficient increases the smoothing by the first smoothing filter as the value increases. 前記エッジ閾値は、前記平滑化係数が大きいほど小さくなる請求項2に記載の印刷物検査装置。   The printed matter inspection apparatus according to claim 2, wherein the edge threshold value decreases as the smoothing coefficient increases. 前記平滑化係数は、前記印刷線数が低いほど大きくなる請求項2に記載の印刷物検査装置。   The printed matter inspection apparatus according to claim 2, wherein the smoothing coefficient increases as the number of printed lines decreases. 前記第2平滑化は、前記印刷線数に応じた平滑化係数の第2平滑化フィルタを用いた平滑化である請求項2〜5のいずれか1つに記載の印刷物検査装置。   The printed matter inspection apparatus according to claim 2, wherein the second smoothing is smoothing using a second smoothing filter having a smoothing coefficient corresponding to the number of printed lines. 前記第1平滑化フィルタの平滑化係数と前記第2平滑化フィルタの平滑化係数とは、同一である請求項6に記載の印刷物検査装置。   The printed matter inspection apparatus according to claim 6, wherein a smoothing coefficient of the first smoothing filter and a smoothing coefficient of the second smoothing filter are the same. 前記第2平滑化部は、前記エッジ検出でエッジとして検出された領域に対応する前記多値化された元画像のエッジ領域に対し、前記第2平滑化よりも弱い第3平滑化を更に施す請求項1〜7のいずれか1つに記載の印刷物検査装置。   The second smoothing unit further performs third smoothing weaker than the second smoothing on the edge region of the multi-valued original image corresponding to the region detected as an edge by the edge detection. The printed matter inspection apparatus according to any one of claims 1 to 7. 前記エッジ閾値は、前記印刷線数に応じた閾値である請求項1に記載の印刷物検査装置。   The printed matter inspection apparatus according to claim 1, wherein the edge threshold is a threshold corresponding to the number of printed lines. 前記エッジ閾値は、前記印刷線数が低いほど大きくなる請求項9に記載の印刷物検査装置。   The printed matter inspection apparatus according to claim 9, wherein the edge threshold value increases as the number of printed lines decreases. 印刷物を読み取って検査画像を生成する読取ステップと、
前記印刷物の生成元の元画像を取得する取得ステップと、
前記元画像を多値化する多値化ステップと、
前記多値化された元画像に対し、第1平滑化を施す第1平滑化ステップと、
前記第1平滑化が施された元画像に対し、前記印刷物の印刷線数に基づくエッジ閾値を用いたエッジ検出を施す検出ステップと、
前記エッジ検出でエッジとして検出されなかった領域に対応する前記多値化された元画像の非エッジ領域に対し、第2平滑化を施す第2平滑化ステップと、
前記第2平滑化が施された元画像に対し、画像処理を施し、マスタ画像を生成する画像処理ステップと、
前記検査画像と前記マスタ画像とを比較して、前記印刷物の品質を検査する検査ステップと、
を含む印刷物検査方法。
A reading step of reading a printed matter to generate an inspection image;
An acquisition step of acquiring an original image of a generation source of the printed matter;
A multi-value conversion step of multi-value the original image;
A first smoothing step for applying a first smoothing to the multi-valued original image;
A detection step of performing edge detection using an edge threshold based on the number of printed lines of the printed matter on the original image subjected to the first smoothing;
A second smoothing step for applying a second smoothing to a non-edge region of the multi-valued original image corresponding to a region not detected as an edge by the edge detection;
An image processing step of performing image processing on the original image subjected to the second smoothing to generate a master image;
Comparing the inspection image with the master image and inspecting the quality of the printed matter;
A printed matter inspection method.
印刷物を読み取って検査画像を生成する読取ステップと、
前記印刷物の生成元の元画像を取得する取得ステップと、
前記元画像を多値化する多値化ステップと、
前記多値化された元画像に対し、第1平滑化を施す第1平滑化ステップと、
前記第1平滑化が施された元画像に対し、前記印刷物の印刷線数に基づくエッジ閾値を用いたエッジ検出を施す検出ステップと、
前記エッジ検出でエッジとして検出されなかった領域に対応する前記多値化された元画像の非エッジ領域に対し、第2平滑化を施す第2平滑化ステップと、
前記第2平滑化が施された元画像に対し、画像処理を施し、マスタ画像を生成する画像処理ステップと、
前記検査画像と前記マスタ画像とを比較して、前記印刷物の品質を検査する検査ステップと、
をコンピュータに実行させるためのプログラム。
A reading step of reading a printed matter to generate an inspection image;
An acquisition step of acquiring an original image of a generation source of the printed matter;
A multi-value conversion step of multi-value the original image;
A first smoothing step for applying a first smoothing to the multi-valued original image;
A detection step of performing edge detection using an edge threshold based on the number of printed lines of the printed matter on the original image subjected to the first smoothing;
A second smoothing step for applying a second smoothing to a non-edge region of the multi-valued original image corresponding to a region not detected as an edge by the edge detection;
An image processing step of performing image processing on the original image subjected to the second smoothing to generate a master image;
Comparing the inspection image with the master image and inspecting the quality of the printed matter;
A program that causes a computer to execute.
JP2013184394A 2013-09-05 2013-09-05 Printed matter inspection device, printed matter inspection method, and program Pending JP2015053561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013184394A JP2015053561A (en) 2013-09-05 2013-09-05 Printed matter inspection device, printed matter inspection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013184394A JP2015053561A (en) 2013-09-05 2013-09-05 Printed matter inspection device, printed matter inspection method, and program

Publications (1)

Publication Number Publication Date
JP2015053561A true JP2015053561A (en) 2015-03-19

Family

ID=52702291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013184394A Pending JP2015053561A (en) 2013-09-05 2013-09-05 Printed matter inspection device, printed matter inspection method, and program

Country Status (1)

Country Link
JP (1) JP2015053561A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017098841A (en) * 2015-11-26 2017-06-01 ブラザー工業株式会社 Image reading system
JP2017198557A (en) * 2016-04-27 2017-11-02 キヤノン株式会社 Image processing device and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017098841A (en) * 2015-11-26 2017-06-01 ブラザー工業株式会社 Image reading system
JP2017198557A (en) * 2016-04-27 2017-11-02 キヤノン株式会社 Image processing device and image processing method

Similar Documents

Publication Publication Date Title
US10019792B2 (en) Examination device, examination method, and computer program product
US10657635B2 (en) Inspection apparatus, inspection method and storage medium
US10326916B2 (en) Inspection apparatus, inspection method and storage medium
US8964249B2 (en) Image test apparatus, image test system, and image test method for testing a print image based on master image data
JP6613912B2 (en) Inspection device, inspection system, filter processing method, and program
US9106771B2 (en) Image inspection device, image inspection system, and image inspection method
JP7206595B2 (en) Inspection device, inspection system, inspection method and program
JP5761994B2 (en) Image processing apparatus and image processing method
JP2016061659A (en) Printed matter inspection device, printed matter inspection system, and printed matter inspection method
JP6705305B2 (en) Inspection device, inspection method and program
JP6464722B2 (en) Information processing apparatus, defect transmission method, and program
JP2016061603A (en) Projection device and projection method
JP6665544B2 (en) Inspection device, inspection system, inspection method and program
JP6635335B2 (en) Image inspection device and image forming system
JP6938992B2 (en) Inspection equipment, inspection system, inspection method and program
JP2017053673A (en) Inspection device, inspection method, and program
JP6848286B2 (en) Inspection equipment, inspection methods and programs
JP2016178557A (en) Image processing apparatus, correction method and program
JP6907621B2 (en) Image processing equipment, image processing system, image processing method and program
JP2015053561A (en) Printed matter inspection device, printed matter inspection method, and program
JP2007043394A (en) Apparatus and method for image processing, and program making computer implement same method
JP6743612B2 (en) Image processing apparatus, image processing method and program
JP2015094666A (en) Image inspection apparatus, image inspection system, and image inspection method
JP2016176822A (en) Color measurement device, color measurement method, and program
US20230239412A1 (en) Inspection apparatus, method of controlling the same, and storage medium