JP6171730B2 - Image inspection apparatus, image inspection method, and image inspection program - Google Patents

Image inspection apparatus, image inspection method, and image inspection program Download PDF

Info

Publication number
JP6171730B2
JP6171730B2 JP2013175830A JP2013175830A JP6171730B2 JP 6171730 B2 JP6171730 B2 JP 6171730B2 JP 2013175830 A JP2013175830 A JP 2013175830A JP 2013175830 A JP2013175830 A JP 2013175830A JP 6171730 B2 JP6171730 B2 JP 6171730B2
Authority
JP
Japan
Prior art keywords
image
value
inspection
read image
color
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
JP2013175830A
Other languages
Japanese (ja)
Other versions
JP2015046703A (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 JP2013175830A priority Critical patent/JP6171730B2/en
Publication of JP2015046703A publication Critical patent/JP2015046703A/en
Application granted granted Critical
Publication of JP6171730B2 publication Critical patent/JP6171730B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、画像検査装置、画像検査方法及び画像検査プログラムに関し、特に、画像の比較検査において用いる検査用画像と、検査対象の画像との色味の調整に関する。   The present invention relates to an image inspection apparatus, an image inspection method, and an image inspection program, and more particularly, to color adjustment between an inspection image used in an image comparison inspection and an image to be inspected.

従来、印刷物の検品は人手によって行われてきたが、近年オフセット印刷の後処理として、検品を行う装置が用いられている。このような検品装置では、印刷物の読取画像の中から良品のものを人手によって選択して読み取ることにより基準となるマスター画像を生成し、このマスター画像と検査対象の印刷物の読取画像の対応する部分を比較し、これらの差分の程度により印刷物の欠陥を判別している。   Conventionally, inspection of printed matter has been performed manually, but in recent years, an apparatus for performing inspection has been used as post-processing of offset printing. In such an inspection apparatus, a master image serving as a reference is generated by manually selecting and reading a non-defective product from the read image of the printed matter, and a corresponding portion of the master image and the read image of the printed matter to be inspected. And the defect of the printed matter is discriminated by the degree of these differences.

しかし、近年普及が進んでいる電子写真などの無版印刷装置は少部印刷を得意としており、バリアブル印刷など毎ページ印刷内容の異なるケースも多く、オフセット印刷機のように印刷物からマスター画像を生成して比較対象とすることは非効率である。この問題に対応するため、印刷データからマスター画像を生成することが考えられる。これにより、バリアブル印刷に効率的に対応可能である(例えば、特許文献1参照)。   However, plateless printing devices such as electrophotography, which have become popular in recent years, are good at printing a small number of parts, and there are many cases where the content of printing on each page is different, such as variable printing. In comparison, it is inefficient. In order to cope with this problem, it is conceivable to generate a master image from print data. Thereby, it can respond to variable printing efficiently (for example, refer to patent documents 1).

また、このような比較検査を行う場合、印刷が正確に行われていれば、マスター画像と読取画像とが概ね一致することが前提となる。ここで、マスター画像は印刷データに基づいて生成されるが、読取画像は印刷データに基づいて印刷されることに加えて、印刷対象の用紙の種類にも影響を受けることとなる。   In addition, when such a comparative inspection is performed, it is premised that the master image and the read image substantially match if printing is performed accurately. Here, the master image is generated based on the print data. However, the read image is not only printed based on the print data but also affected by the type of paper to be printed.

このような用紙による読取画像への影響を考慮するための技術として、印刷に用いられる用紙が収容されたトレイ毎に、夫々のトレイに収容されている用紙について設定された情報を記憶し、比較検査の際には、印刷に用いられた用紙が収容されたトレイに関連付けられている情報に基づいて比較検査を行う方法が提案されている(例えば、特許文献2参照)。   As a technique for considering the influence of the paper on the read image, for each tray in which the paper used for printing is stored, information set for the paper stored in each tray is stored and compared. At the time of inspection, a method has been proposed in which a comparative inspection is performed based on information associated with a tray in which a sheet used for printing is stored (see, for example, Patent Document 2).

特許文献2に開示された方法の場合、収容された用紙を読み取る処理が発生する分、印刷を開始するまでに時間を要すると共に、複数の異なる種類の用紙がトレイに収容された場合には、1枚の用紙のみを読み取ってトレイに関連付けられている情報では適切な補正を行うことが出来ない。   In the case of the method disclosed in Patent Document 2, it takes time to start printing as much as the process of reading the stored paper occurs, and when a plurality of different types of paper are stored in the tray, Appropriate correction cannot be performed with information associated with the tray by reading only one sheet.

そこで、検査対象のページに用いられている用紙の種類を、その都度検知して色味の補正を行う態様が考えられる。その場合、例えば検査対象のページの無地の部分の読み取り結果に基づいて用紙の種類を判別することが考えられる。しかしながら、スキャナによる読み取り結果は、スキャナによる露光強度や受光感度、外光の影響などにより濃度が変化することが考えられる。その結果、用紙の判別が正確に行われず、適正な色味補正が困難になってしまう。   In view of this, a mode is conceivable in which the type of paper used for the page to be inspected is detected each time and the color is corrected. In that case, for example, it is conceivable to determine the type of paper based on the reading result of the plain portion of the page to be inspected. However, it is conceivable that the density of the reading result of the scanner changes due to the exposure intensity, light receiving sensitivity, and the influence of external light. As a result, the paper is not accurately discriminated and proper color correction becomes difficult.

本発明は上記実情に鑑みてなされたものであり、用紙を読み取った読取画像と検査用の画像との比較により印刷物を検査する画像検査装置において、印刷物に用いられた用紙の種類に関わらず好適な検査を行うことを目的とする。   The present invention has been made in view of the above circumstances, and is suitable for an image inspection apparatus that inspects a printed matter by comparing a read image obtained by reading the paper with an image for inspection regardless of the type of the paper used for the printed matter. The purpose is to conduct a proper inspection.

上記課題を解決するために、本発明の一態様は、紙面上に印刷された画像を読み取った読取画像の検査を行う画像検査装置であって、前記紙面上に印刷された画像が読み取られて生成された読取画像を取得する読取画像取得部と、印刷するべき画像の情報に基づいて前記読取画像の検査を行うための検査用画像を生成する検査用画像生成部と、前記検査用画像と前記読取画像との差分に基づいて前記読取画像の欠陥を判定した検査結果を取得する検査結果取得部と、取得された前記読取画像から、前記紙面上において顕色剤が付加されていない用紙の地色の領域を抽出する無地領域判定部と、抽出された複数の前記地色の領域の画素の濃度のバラつきを示す値を算出するバラつき値算出部と、用紙毎に前記地色の領域の濃度による色調への影響を補正するための補正値と前記地色の領域の画素の濃度のバラつきを示す値とが関連付けられた補正値関連付け情報を参照し、算出された前記バラつきを示す値に対応する補正値を取得する補正値取得部と、生成された前記検査用画像及び前記読取画像のいずれか一方を取得された前記補正値に基づいて補正する色調補正部とを含むことを特徴とする。   In order to solve the above-described problem, an aspect of the present invention is an image inspection apparatus that inspects a read image obtained by reading an image printed on a paper surface, and the image printed on the paper surface is read. A read image acquisition unit that acquires the generated read image, an inspection image generation unit that generates an inspection image for inspecting the read image based on information on an image to be printed, and the inspection image; An inspection result acquisition unit that acquires an inspection result obtained by determining a defect of the read image based on a difference from the read image, and a sheet of paper to which no developer is added on the paper surface from the acquired read image. A plain area determination unit that extracts a background color area; a variation value calculation unit that calculates a value indicating a density variation of pixels in the plurality of extracted background color areas; and Shadow on color tone due to density A correction value corresponding to the calculated value indicating the variation is obtained by referring to the correction value association information in which the correction value for correcting the color and the value indicating the variation in density of the pixels in the ground color region are associated with each other And a color tone correction unit that corrects one of the generated inspection image and the read image based on the acquired correction value.

また、本発明の他の態様は、紙面上に印刷された画像を読み取った読取画像の検査を行う画像検査方法であって、前記紙面上に印刷された画像が読み取られて生成された読取画像を取得し、印刷するべき画像の情報に基づいて前記読取画像の検査を行うための検査用画像を生成し、前記検査用画像と前記読取画像との差分に基づいて前記読取画像の欠陥を判定した検査結果を取得し、取得された前記読取画像から、前記紙面上において顕色剤が付加されていない用紙の地色の領域を抽出し、抽出された複数の前記地色の領域の画素の濃度のバラつきを示す値を算出し、用紙毎に前記地色の領域の濃度による色調への影響を補正するための補正値と前記地色の領域の画素の濃度のバラつきを示す値とが関連付けられた補正値関連付け情報を参照し、算出された前記バラつきを示す値に対応する補正値を取得し、生成された前記検査用画像及び前記読取画像のいずれか一方を取得された前記補正値に基づいて補正することを特徴とする。   Another aspect of the present invention is an image inspection method for inspecting a read image obtained by reading an image printed on a paper surface. The read image generated by reading the image printed on the paper surface And generating an inspection image for inspecting the read image based on information on the image to be printed, and determining a defect in the read image based on a difference between the inspection image and the read image The obtained inspection result is extracted, and the ground color area of the paper to which the developer is not added is extracted from the acquired read image, and the plurality of extracted ground color area pixels are extracted. A value indicating density variation is calculated, and a correction value for correcting the influence of the density of the background color region on the color tone for each sheet is associated with a value indicating the density variation of pixels in the background color region. Refer to the correction value association information Acquiring a correction value corresponding to the calculated value indicating the variation, and correcting one of the generated inspection image and the read image based on the acquired correction value. .

また、本発明の更に他の態様は、紙面上に印刷された画像を読み取った読取画像の検査を行う画像検査プログラムであって、前記紙面上に印刷された画像が読み取られて生成された読取画像を取得するステップと、印刷するべき画像の情報に基づいて前記読取画像の検査を行うための検査用画像を生成するステップと、前記検査用画像と前記読取画像との差分に基づいて前記読取画像の欠陥を判定した検査結果を取得するステップと、取得された前記読取画像から、前記紙面上において顕色剤が付加されていない用紙の地色の領域を抽出するステップと、抽出された複数の前記地色の領域の画素の濃度のバラつきを示す値を算出するステップと、用紙毎に前記地色の領域の濃度による色調への影響を補正するための補正値と前記地色の領域の画素の濃度のバラつきを示す値とが関連付けられた補正値関連付け情報を参照し、算出された前記バラつきを示す値に対応する補正値を取得するステップと、生成された前記検査用画像及び前記読取画像のいずれか一方を取得された前記補正値に基づいて補正するステップとを情報処理装置に実行させることを特徴とする。   According to still another aspect of the present invention, there is provided an image inspection program for inspecting a read image obtained by reading an image printed on a paper surface, the read image generated by reading the image printed on the paper surface. Obtaining an image; generating an inspection image for inspecting the read image based on information of an image to be printed; and reading the image based on a difference between the inspection image and the read image. A step of acquiring an inspection result for determining an image defect, a step of extracting a ground color region of the paper to which a developer is not added on the paper surface from the acquired read image, and a plurality of extracted Calculating a value indicating a variation in pixel density of the background color area, a correction value for correcting an influence on the color tone due to the density of the background color area for each sheet, and the background color area A step of acquiring correction values corresponding to the calculated value indicating the variation, referring to the correction value association information associated with the value indicating the variation of the elementary density, and the generated inspection image and the reading And causing the information processing apparatus to execute a step of correcting one of the images based on the acquired correction value.

本発明によれば、用紙を読み取った読取画像と検査用の画像との比較により印刷物を検査する画像検査装置において、印刷物に用いられた用紙の種類に関わらず好適な検査を行うことが可能となる。   According to the present invention, in an image inspection apparatus that inspects a printed matter by comparing a read image obtained by reading a sheet with an image for inspection, a suitable inspection can be performed regardless of the type of the sheet used for the printed matter. Become.

本発明の実施形態に係る検査装置を含む画像形成システムの構成を示す図である。1 is a diagram illustrating a configuration of an image forming system including an inspection apparatus according to an embodiment of the present invention. 本発明の実施形態に係る検査装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the test | inspection apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るエンジンコントローラ、プリントエンジン、検査装置及び後処理装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the engine controller which concerns on embodiment of this invention, a print engine, an inspection apparatus, and a post-processing apparatus. 本発明の実施形態に係る比較検査の態様を示す図である。It is a figure which shows the aspect of the comparison test | inspection which concerns on embodiment of this invention. 本発明の実施形態に係るプリントエンジンの構成を示す図である。1 is a diagram illustrating a configuration of a print engine according to an embodiment of the present invention. 本発明の実施形態に係る検査制御部の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the test | inspection control part which concerns on embodiment of this invention. 本発明の実施形態に係る補正値DBに含まれるテーブルの内容を示す図である。It is a figure which shows the content of the table contained in correction value DB which concerns on embodiment of this invention. 本発明の実施形態に係る色変換テーブルの例を示す図である。It is a figure which shows the example of the color conversion table which concerns on embodiment of this invention. 本発明の実施形態に係るマスター画像処理部の機能構成を示す図である。It is a figure which shows the function structure of the master image process part which concerns on embodiment of this invention. 本発明の実施形態に係る画像検査の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the image test | inspection which concerns on embodiment of this invention.

以下、図面を参照して、本発明の実施形態を詳細に説明する。本実施形態においては、画像形成出力による出力結果を読み取った読取画像とマスター画像とを比較することにより出力結果を検査する画像検査システムにおいて、画像形成出力において用いられた用紙の種類に応じてマスター画像を補正する制御態様について説明する。図1は、本実施形態に係る画像形成システムの全体構成を示す図である。図1に示すように、本実施形態に係る画像形成システムは、DFE(Digital Front End)1、エンジンコントローラ2、プリントエンジン3及び検査装置4を含む。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiment, in an image inspection system that inspects an output result by comparing a read image obtained by reading an output result of an image formation output with a master image, a master corresponding to the type of paper used in the image formation output. A control mode for correcting an image will be described. FIG. 1 is a diagram illustrating an overall configuration of an image forming system according to the present embodiment. As shown in FIG. 1, the image forming system according to the present embodiment includes a DFE (Digital Front End) 1, an engine controller 2, a print engine 3, and an inspection device 4.

DFE1は、受信した印刷ジョブに基づいて印刷出力するべき画像データ、即ち出力対象画像であるビットマップデータを生成し、生成したビットマップデータをエンジンコントローラ2に出力する。エンジンコントローラ2は、DFE1から受信したビットマップデータに基づいてプリントエンジン3を制御して画像形成出力を実行させる。また、本実施形態に係るエンジンコントローラ2は、DFE1から受信したビットマップデータを、プリントエンジン3による画像形成出力の結果を検査装置4が検査する際に参照するための検査用画像の元となる情報として検査装置4に送信する。   The DFE 1 generates image data to be printed out based on the received print job, that is, bitmap data that is an output target image, and outputs the generated bitmap data to the engine controller 2. The engine controller 2 controls the print engine 3 based on the bitmap data received from the DFE 1 to execute image formation output. Further, the engine controller 2 according to the present embodiment is a source of an inspection image for referring to the bitmap data received from the DFE 1 when the inspection apparatus 4 inspects the result of the image formation output by the print engine 3. Information is transmitted to the inspection device 4.

プリントエンジン3は、エンジンコントローラ2の制御に従い、ビットマップデータに基づいて画像形成出力を実行する画像形成装置である。検査装置4は、エンジンコントローラ2から入力されたビットマップデータに基づいてマスター画像を生成する。そして、検査装置4は、プリントエンジン3が出力した用紙を読取装置で読み取って生成した読取画像を上記生成したマスター画像と比較することにより、出力結果の検査を行う画像検査装置である。   The print engine 3 is an image forming apparatus that executes image forming output based on bitmap data in accordance with control of the engine controller 2. The inspection device 4 generates a master image based on the bitmap data input from the engine controller 2. The inspection device 4 is an image inspection device that inspects an output result by comparing a read image generated by reading a sheet output from the print engine 3 with a reading device with the generated master image.

検査装置4は、マスター画像と読取画像との比較により出力結果に欠陥があると判断した場合、欠陥として認定されたページを示す情報をエンジンコントローラ2に通知する。これにより、エンジンコントローラ2によって欠陥ページの再印刷制御が実行される。   When the inspection device 4 determines that the output result is defective by comparing the master image and the read image, the inspection device 4 notifies the engine controller 2 of information indicating a page that is recognized as a defect. Thereby, reprint control of the defective page is executed by the engine controller 2.

ここで、本実施形態に係るエンジンコントローラ2、プリントエンジン3及び検査装置4夫々の機能ブロックを構成するハードウェア構成について、図2を参照して説明する。図2は、本実施形態に係る検査装置4のハードウェア構成を示すブロック図である。図2においては、検査装置4のハードウェア構成を示すが、エンジンコントローラ2及びプリントエンジン3についても同様である。   Here, the hardware configuration constituting the functional blocks of the engine controller 2, the print engine 3, and the inspection apparatus 4 according to the present embodiment will be described with reference to FIG. FIG. 2 is a block diagram illustrating a hardware configuration of the inspection apparatus 4 according to the present embodiment. In FIG. 2, the hardware configuration of the inspection apparatus 4 is shown, but the same applies to the engine controller 2 and the print engine 3.

図2に示すように、本実施形態に係る検査装置4は、一般的なPC(Personal Computer)やサーバ等の情報処理装置と同様の構成を有する。即ち、本実施形態に係る検査装置4は、CPU(Central Processing Unit)10、RAM(Random Access Memory)20、ROM(Read Only Memory)30、HDD(Hard Disk Drive)40及びI/F50がバス90を介して接続されている。また、I/F50にはLCD(Liquid Crystal Display)60、操作部70及び専用デバイス80が接続されている。   As shown in FIG. 2, the inspection apparatus 4 according to the present embodiment has the same configuration as an information processing apparatus such as a general PC (Personal Computer) or a server. That is, the inspection apparatus 4 according to the present embodiment includes a CPU (Central Processing Unit) 10, a RAM (Random Access Memory) 20, a ROM (Read Only Memory) 30, an HDD (Hard Disk Drive) 40, and an I / F 50. Connected through. Further, an LCD (Liquid Crystal Display) 60, an operation unit 70, and a dedicated device 80 are connected to the I / F 50.

CPU10は演算手段であり、検査装置4全体の動作を制御する。RAM20は、情報の高速な読み書きが可能な揮発性の記憶媒体であり、CPU10が情報を処理する際の作業領域として用いられる。ROM30は、読み出し専用の不揮発性記憶媒体であり、ファームウェア等のプログラムが格納されている。HDD40は、情報の読み書きが可能な不揮発性の記憶媒体であり、OS(Operating System)や各種の制御プログラム、アプリケーション・プログラム等が格納されている。   The CPU 10 is a calculation means and controls the operation of the entire inspection apparatus 4. The RAM 20 is a volatile storage medium capable of reading and writing information at high speed, and is used as a work area when the CPU 10 processes information. The ROM 30 is a read-only nonvolatile storage medium and stores a program such as firmware. The HDD 40 is a non-volatile storage medium that can read and write information, and stores an OS (Operating System), various control programs, application programs, and the like.

I/F50は、バス90と各種のハードウェアやネットワーク等を接続し制御する。LCD60は、ユーザが検査装置4の状態を確認するための視覚的ユーザインタフェースである。操作部70は、キーボードやマウス等、ユーザが検査装置4に情報を入力するためのユーザインタフェースである。   The I / F 50 connects and controls the bus 90 and various hardware and networks. The LCD 60 is a visual user interface for the user to check the state of the inspection apparatus 4. The operation unit 70 is a user interface such as a keyboard and a mouse for the user to input information to the inspection apparatus 4.

専用デバイス80は、エンジンコントローラ2、プリントエンジン3及び検査装置4において、専用の機能を実現するためのハードウェアであり、プリントエンジン3の場合は、画像形成出力対象の用紙を搬送する搬送機構や、紙面上に画像形成出力を実行するプロッタ装置である。また、エンジンコントローラ2、検査装置4の場合は、高速に画像処理を行うための専用の演算装置である。このような演算装置は、例えばASIC(Application Specific Integrated Circuit)として構成される。また、紙面上に出力された画像を読み取る読取装置も含まれる。   The dedicated device 80 is hardware for realizing a dedicated function in the engine controller 2, the print engine 3, and the inspection apparatus 4. In the case of the print engine 3, a transport mechanism that transports a sheet that is an image formation output target, A plotter device that executes image formation output on a paper surface. Further, the engine controller 2 and the inspection device 4 are dedicated arithmetic devices for performing image processing at high speed. Such an arithmetic unit is configured as an ASIC (Application Specific Integrated Circuit), for example. Also included is a reading device that reads an image output on paper.

このようなハードウェア構成において、ROM30やHDD40若しくは図示しない光学ディスク等の記録媒体に格納されたプログラムがRAM20に読み出され、CPU10がそれらのプログラムに従って演算を行うことにより、ソフトウェア制御部が構成される。このようにして構成されたソフトウェア制御部と、ハードウェアとの組み合わせによって、本実施形態に係るエンジンコントローラ2、プリントエンジン3及び検査装置4の機能を実現する機能ブロックが構成される。   In such a hardware configuration, a program stored in a recording medium such as the ROM 30, the HDD 40, or an optical disk (not shown) is read into the RAM 20, and the CPU 10 performs calculations according to those programs, thereby configuring a software control unit. The A functional block that realizes the functions of the engine controller 2, the print engine 3, and the inspection apparatus 4 according to the present embodiment is configured by a combination of the software control unit configured as described above and hardware.

図3は、本実施形態に係るエンジンコントローラ2、プリントエンジン3及び検査装置4の機能構成を示すブロック図である。図3においては、データの送受信を実線で、用紙の流れを破線で示している。図3に示すように、本実施形態に係るエンジンコントローラ2は、データ取得部201、エンジン制御部202、ビットマップ送信部203を含む。また、プリントエンジン3は、印刷処理部301を含む。また、検査装置4は、読取装置400、読取画像取得部401、マスター画像処理部402、検査制御部403及び比較検査部404を含む。   FIG. 3 is a block diagram showing functional configurations of the engine controller 2, the print engine 3, and the inspection apparatus 4 according to the present embodiment. In FIG. 3, data transmission / reception is indicated by a solid line, and the flow of paper is indicated by a broken line. As shown in FIG. 3, the engine controller 2 according to the present embodiment includes a data acquisition unit 201, an engine control unit 202, and a bitmap transmission unit 203. The print engine 3 includes a print processing unit 301. The inspection device 4 includes a reading device 400, a read image acquisition unit 401, a master image processing unit 402, an inspection control unit 403, and a comparative inspection unit 404.

データ取得部201は、DFE1から入力されるビットマップデータを取得し、エンジン制御部202及びビットマップ送信部203夫々を動作させる。ビットマップデータは、画像形成出力するべき画像を構成する各画素の情報である。エンジン制御部202は、データ取得部201から転送されたビットマップデータに基づき、プリントエンジン3に画像形成出力を実行させる。ビットマップ送信部203は、データ取得部201が取得したビットマップデータを、マスター画像生成の為に検査装置4に送信する。   The data acquisition unit 201 acquires bitmap data input from the DFE 1 and operates the engine control unit 202 and the bitmap transmission unit 203, respectively. Bitmap data is information of each pixel constituting an image to be imaged and output. The engine control unit 202 causes the print engine 3 to execute image formation output based on the bitmap data transferred from the data acquisition unit 201. The bitmap transmission unit 203 transmits the bitmap data acquired by the data acquisition unit 201 to the inspection apparatus 4 for generating a master image.

印刷処理部301は、エンジンコントローラ2から入力されるビットマップデータを取得し、印刷用紙に対して画像形成出力を実行し、印刷済みの用紙を出力する画像形成部である。本実施形態に係る印刷処理部301は、電子写真方式の一般的な画像形成機構によって実現されるが、インクジェット方式等の他の画像形成機構を用いることも可能である。   The print processing unit 301 is an image forming unit that acquires bitmap data input from the engine controller 2, executes image formation output on printing paper, and outputs printed paper. The print processing unit 301 according to the present embodiment is realized by a general electrophotographic image forming mechanism, but other image forming mechanisms such as an ink jet method can also be used.

読取装置400は、印刷処理部301によって印刷が実行されて出力された印刷用紙の紙面上に形成された画像を読み取り、読取データを出力する画像読取部である。読取装置400は、例えば印刷処理部301によって出力された印刷用紙の、検査装置4内部における搬送経路に設置されたラインスキャナであり、搬送される印刷用紙の紙面上を走査することによって紙面上に形成された画像を読み取る。   The reading device 400 is an image reading unit that reads an image formed on a sheet of printing paper that has been printed and output by the print processing unit 301 and outputs read data. The reading device 400 is, for example, a line scanner installed in a conveyance path inside the inspection device 4 for printing paper output by the print processing unit 301. The scanning device 400 scans the paper surface of the printing paper to be conveyed on the paper surface. Read the formed image.

読取装置400によって生成された読取画像が検査装置4による検査の対象となる。読取画像は、画像形成出力によって出力された用紙の紙面を読み取って生成された画像であるため、出力結果を示す画像となる。また、本実施形態に係る検査装置4において、読取画像は画像形成出力に用いられた用紙の種類(以降、「紙種」とする)を判別するためにも用いられる。   The read image generated by the reading device 400 is an inspection target by the inspection device 4. Since the read image is an image generated by reading the paper surface of the paper output by the image forming output, the read image is an image indicating the output result. In the inspection apparatus 4 according to the present embodiment, the read image is also used to determine the type of paper used for image formation output (hereinafter referred to as “paper type”).

読取画像取得部401は、印刷用紙の紙面が読取装置400によって読み取られて生成された読取画像の情報を取得する。読取画像取得部401が取得した読取画像の情報は、上述した紙種の判定のためや、比較検査のために検査制御部403に入力される。尚、比較検査部404への読取画像の入力は検査制御部403の制御によって実行される。その際、検査制御部403が読取画像を取得してから比較検査部404に入力する。   The read image acquisition unit 401 acquires information of a read image generated by reading the paper surface of the printing paper by the reading device 400. The information of the read image acquired by the read image acquisition unit 401 is input to the inspection control unit 403 for the above-described paper type determination and comparison inspection. Note that the input of the read image to the comparison inspection unit 404 is executed under the control of the inspection control unit 403. At that time, the inspection control unit 403 obtains the read image and inputs it to the comparison inspection unit 404.

マスター画像処理部402は、上述したようにエンジンコントローラ2から入力されたビットマップデータを取得し、上記検査対象の画像と比較するための検査用画像であるマスター画像を生成する。即ち、マスター画像処理部402が、読取画像の検査を行うための検査用画像であるマスター画像を出力対象画像に基づいて生成する検査用画像生成部として機能する。   The master image processing unit 402 acquires the bitmap data input from the engine controller 2 as described above, and generates a master image that is an inspection image for comparison with the inspection target image. That is, the master image processing unit 402 functions as an inspection image generation unit that generates a master image, which is an inspection image for inspecting the read image, based on the output target image.

また、本実施形態に係るマスター画像処理部402は、上述したようなマスター画像の生成に際して、検査制御部403による用紙の判定結果に応じた色調の補正を行う。この処理が、本実施形態の要旨に係る処理の1つである。詳細については後述する。   In addition, the master image processing unit 402 according to the present embodiment corrects the color tone according to the determination result of the sheet by the inspection control unit 403 when generating the master image as described above. This process is one of the processes according to the gist of the present embodiment. Details will be described later.

検査制御部403は、検査装置4全体の動作を制御する制御部であり、検査装置4に含まれる各構成は検査制御部403の制御に従って動作する。また、検査制御部403は、本実施形態の要旨に係る処理として、読取画像取得部401から取得した読取画像を解析し、その解析結果に基づいてマスター画像を補正するための補正値の情報をマスター画像処理部402に入力する。   The inspection control unit 403 is a control unit that controls the operation of the entire inspection apparatus 4, and each component included in the inspection apparatus 4 operates according to the control of the inspection control unit 403. In addition, as a process according to the gist of the present embodiment, the inspection control unit 403 analyzes the read image acquired from the read image acquisition unit 401, and provides correction value information for correcting the master image based on the analysis result. Input to the master image processing unit 402.

比較検査部404は、検査制御部403の制御に従って読取画像取得部401から入力される読取画像とマスター画像処理部402が生成したマスター画像とを比較し、意図した通りの画像形成出力が実行されているか否かを判断する。比較検査部404は、膨大な計算量を迅速に処理するために上述したようなASICによって構成される。   The comparison inspection unit 404 compares the read image input from the read image acquisition unit 401 with the master image generated by the master image processing unit 402 according to the control of the inspection control unit 403, and the intended image formation output is executed. Judge whether or not. The comparison inspection unit 404 is configured by an ASIC as described above in order to quickly process a huge amount of calculation.

比較検査部404においては、上述したようにRGB各色8bitで表現された200dpiの読取画像及びマスター画像を対応する画素毎に比較し、夫々の画素毎に上述したRGB各色8bitの画素値の差分値を算出する。そのようにして算出した差分値と閾値との大小関係に基づき、検査制御部403は、読取画像における欠陥の有無を判断する。   In the comparison inspection unit 404, as described above, the 200 dpi read image and the master image expressed in 8 bits for each RGB color are compared for each corresponding pixel, and the difference value of the 8 pixel values for each RGB color described above for each pixel. Is calculated. Based on the magnitude relationship between the difference value thus calculated and the threshold value, the inspection control unit 403 determines the presence or absence of a defect in the read image.

尚、読取画像とマスター画像との比較に際して、比較検査部404は、図4に示すように、所定範囲毎に分割されたマスター画像を、分割された範囲に対応する読取画像に重ね合わせて各画素の画素値、即ち濃度の差分算出を行う。さらに、分割された範囲を読取画像に重ね合わせる位置を縦横にずらしながら、算出される差分値が最も小さくなる位置を正確な重ね合わせの位置として決定すると共に、その際に算出された差分値を比較結果として採用する。このような処理により、読取画像とマスター画像とが位置合わせされた上で差分値が算出される。   When comparing the read image and the master image, the comparison inspection unit 404 superimposes the master image divided for each predetermined range on the read image corresponding to the divided range, as shown in FIG. The pixel value of the pixel, that is, the density difference is calculated. Further, while shifting the position where the divided range is superimposed on the read image vertically and horizontally, the position where the calculated difference value is the smallest is determined as the accurate overlapping position, and the difference value calculated at that time is determined. Adopted as a comparison result. By such processing, the difference value is calculated after the read image and the master image are aligned.

また、マスター画像全体を読取画像に重ね合わせて差分値を算出するのではなく、分割された範囲毎に差分値を算出することにより、全体として計算量を減らすことができる。更に、マスター画像全体と読取画像全体とで縮尺に差異があったとしても、図4に示すように範囲毎に分割して位置合わせを行うことにより、縮尺の差異による影響を低減することが可能である。   In addition, instead of calculating the difference value by superimposing the entire master image on the read image, the calculation amount can be reduced as a whole by calculating the difference value for each divided range. Furthermore, even if there is a difference in scale between the entire master image and the entire read image, it is possible to reduce the influence of the difference in scale by dividing and positioning for each range as shown in FIG. It is.

尚、差分値と閾値との大小関係の比較方法として、本実施形態に係る検査制御部403は、夫々の画素について比較検査部404によって算出された差分値を、予め設定された閾値と比較する。これにより、検査制御部403は、比較結果として、夫々の画素毎にマスター画像と読取画像との差異が所定の閾値を超えたか否かを示す情報を取得する。即ち、読取画像を構成する各画素について、欠陥であるか否かを検査することができる。また、図4に示す夫々の分割範囲のサイズは、例えば、上述したようにASICによって構成される比較検査部404が一度に画素値の比較を行うことが可能な範囲に基づいて決定される。   As a comparison method of the magnitude relationship between the difference value and the threshold value, the inspection control unit 403 according to the present embodiment compares the difference value calculated by the comparison inspection unit 404 for each pixel with a preset threshold value. . As a result, the inspection control unit 403 acquires information indicating whether the difference between the master image and the read image exceeds a predetermined threshold for each pixel. That is, it is possible to inspect whether each pixel constituting the read image is a defect. In addition, the size of each division range illustrated in FIG. 4 is determined based on a range in which the comparison / inspection unit 404 configured by the ASIC can compare pixel values at a time as described above, for example.

また、上記実施形態においては、比較検査部404がマスター画像を構成する画素と読取画像を構成する画素との差分値を算出して出力し、検査制御部403において差分値と閾値との比較を行う場合を例としている。この他、比較検査部404において差分値と閾値との比較を行い、その比較結果、即ち、読取画像を構成する各画素について、マスター画像において対応する画素との差異が所定の閾値を超えたか否かを示す情報を、検査制御部403が取得するようにしても良い。   In the above embodiment, the comparison inspection unit 404 calculates and outputs a difference value between the pixels constituting the master image and the pixels constituting the read image, and the inspection control unit 403 compares the difference value with the threshold value. The case of doing is taken as an example. In addition, the comparison / inspection unit 404 compares the difference value with the threshold value, and the comparison result, that is, for each pixel constituting the read image, whether or not the difference from the corresponding pixel in the master image exceeds a predetermined threshold value. Such information may be acquired by the inspection control unit 403.

次に、プリントエンジン3及び検査装置4の機械的な構成及び用紙の搬送経路について、図5を参照して説明する。図5に示すように、本実施形態に係るプリントエンジン3に含まれる印刷処理部301は、無端状移動手段である搬送ベルト101に沿って各色の感光体ドラム102Y、102M、102C、102K(以降、総じて感光体ドラム102とする)が並べられた構成を備えるものであり、所謂タンデムタイプといわれるものである。すなわち、給紙トレイ103から給紙される用紙(記録媒体の一例)に転写するための中間転写画像が形成される中間転写ベルトである搬送ベルト101に沿って、この搬送ベルト101の搬送方向の上流側から順に、複数の感光体ドラム102Y、102M、102C、102Kが配列されている。   Next, the mechanical configuration of the print engine 3 and the inspection apparatus 4 and the paper conveyance path will be described with reference to FIG. As shown in FIG. 5, the print processing unit 301 included in the print engine 3 according to this embodiment includes photosensitive drums 102 </ b> Y, 102 </ b> M, 102 </ b> C, and 102 </ b> K (hereinafter referred to as “photosensitive drums”) along the conveying belt 101 that is an endless moving unit. In general, the photosensitive drum 102 is arranged in a line, and is called a so-called tandem type. That is, along the conveyance belt 101 which is an intermediate transfer belt on which an intermediate transfer image to be transferred to a sheet (an example of a recording medium) fed from the sheet feed tray 103 is formed, A plurality of photosensitive drums 102Y, 102M, 102C, and 102K are arranged in order from the upstream side.

各色の感光体ドラム102の表面においてトナーにより現像された各色の画像が、搬送ベルト101に重ね合わせられて転写されることによりフルカラーの画像が形成される。そのようにして搬送ベルト101上に形成されたフルカラー画像は、図中に破線で示す用紙の搬送経路と最も接近する位置において、転写ローラ104の機能により、経路上を搬送されてきた用紙の紙面上に転写される。   Each color image developed with toner on the surface of the photosensitive drum 102 of each color is superimposed on the conveyor belt 101 and transferred to form a full color image. The full-color image formed on the conveyance belt 101 in this manner is the surface of the sheet conveyed on the path by the function of the transfer roller 104 at a position closest to the sheet conveyance path indicated by a broken line in the drawing. Transcribed above.

紙面上に画像が形成された用紙は更に搬送され、定着ローラ105にて画像を定着された後、検査装置4に搬送される。また、両面印刷の場合、片面上に画像が形成されて定着された用紙は反転パス106に搬送され、反転された上で再度転写ローラ104の転写位置に搬送される。   The paper on which the image is formed on the paper surface is further transported, the image is fixed by the fixing roller 105, and then transported to the inspection device 4. In the case of duplex printing, the sheet on which an image is formed and fixed on one side is conveyed to the reversing path 106, reversed, and conveyed again to the transfer position of the transfer roller 104.

読取装置400は、検査装置4内部における用紙の搬送経路において、印刷処理部301から搬送された用紙の夫々の面を読み取り、読取画像を生成して検査装置4内部の情報処理装置によって構成される読取画像取得部401に出力する。また、読取装置400によって紙面が読み取られた用紙は検査装置4内部を更に搬送され、排紙トレイ410に排出される。尚、図5においては、検査装置4における用紙の搬送経路において、用紙の片面側にのみ読取装置400が設けられている場合を例としているが、用紙の両面の検査を可能とするため、用紙の両面側に夫々読取装置400を配置しても良い。   The reading device 400 is configured by an information processing device inside the inspection device 4 by reading each surface of the paper conveyed from the print processing unit 301 in the paper conveyance path inside the inspection device 4 and generating a read image. The image is output to the read image acquisition unit 401. Further, the paper whose surface is read by the reading device 400 is further conveyed through the inside of the inspection device 4 and discharged to the paper discharge tray 410. 5 shows an example in which the reading device 400 is provided only on one side of the paper in the paper transport path in the inspection device 4, but in order to enable inspection of both sides of the paper, The reading device 400 may be arranged on each of both sides.

このような構成において、本実施形態に係る要旨は、読取画像に基づいて判定された用紙の種類に応じたマスター画像の補正処理にある。本実施形態の要旨に係る構成として、まず本実施形態に係る検査制御部403の機能構成について説明する。図6は、本実施形態に係る検査制御部403の機能構成を示すブロック図である。図6に示すように、本実施形態に係る検査制御部403は、無地領域判定部431、補正値DB432、基準点抽出部433、位置合わせ部434、欠陥判定部435及びプリンタ連動部436を含む。   In such a configuration, the gist of the present embodiment resides in a master image correction process corresponding to the type of paper determined based on the read image. As a configuration related to the gist of the present embodiment, first, a functional configuration of the inspection control unit 403 according to the present embodiment will be described. FIG. 6 is a block diagram illustrating a functional configuration of the inspection control unit 403 according to the present embodiment. As shown in FIG. 6, the inspection control unit 403 according to the present embodiment includes a plain area determination unit 431, a correction value DB 432, a reference point extraction unit 433, an alignment unit 434, a defect determination unit 435, and a printer interlocking unit 436. .

無地領域判定部431は、読取画像取得部401から入力される読取画像の無地部分、即ち、顕色剤が定着されていない、用紙面が露出した部分を判定し、その判定結果に対応する情報を補正値DB432から取得する。無地領域判定部431が取得した情報は、マスター画像処理部402において上述した色調を補正するための情報(以降、「色調補正情報」とする)として、マスター画像処理部402に入力される。   The plain area determination unit 431 determines a plain part of the scanned image input from the scanned image acquisition unit 401, that is, a part where the developer is not fixed and the sheet surface is exposed, and information corresponding to the determination result. Is obtained from the correction value DB 432. The information acquired by the plain area determination unit 431 is input to the master image processing unit 402 as information for correcting the above-described color tone in the master image processing unit 402 (hereinafter referred to as “tone correction information”).

補正値DB432は、無地領域判定部431による判定結果と、上述した色調補正情報とを関連付けて記憶している。図7に、補正値DB432が記憶している情報の例を示す。図7に示すように、補正値DB432は、用紙の種類を識別するための“紙種ID”、夫々の用紙の無地部分の読み取り値の平均値である“無地領域平均値”、夫々の用紙の無地部分の標準偏差を示す“無地領域標準偏差”、夫々の用紙毎に生成された色調補正情報である紙種色変換テーブルを識別する“色変換テーブルID”が関連付けられた情報を記憶している。図7に示す情報が、補正値関連付け情報として用いられる。   The correction value DB 432 stores the determination result by the plain area determination unit 431 and the above-described color tone correction information in association with each other. FIG. 7 shows an example of information stored in the correction value DB 432. As shown in FIG. 7, the correction value DB 432 includes a “paper type ID” for identifying the type of paper, a “plain region average value” that is an average value of reading values of the plain portion of each paper, and each paper. Information associated with “color conversion table ID” for identifying a paper color conversion table, which is color tone correction information generated for each sheet, is stored. ing. The information shown in FIG. 7 is used as correction value association information.

図7に示すように“無地領域平均値”及び“無地領域標準偏差”は「(Rm001,Gm001,Bm001)」、「(Rs001,Gs001,Bs001)」のように、RGB夫々の値によって特定される値である。“無地領域平均値”であれば、用紙に何ら画像が形成されていない状態で読み取った読取画像を構成する各画素の画素値の平均値が用いられる。また、“無地領域標準偏差”であれば、用紙に何ら画像が形成されていない状態で読み取った読取画像を構成する各画素の画素値の標準偏差が用いられる。 As shown in FIG. 7, “plain area average value” and “plain area standard deviation” are RGB as “(Rm 001 , Gm 001 , Bm 001 )” and “(Rs 001 , Gs 001 , Bs 001 )”. It is a value specified by each value. If it is “plain area average value”, the average value of the pixel values of each pixel constituting the read image read in a state where no image is formed on the paper is used. If it is “plain area standard deviation”, the standard deviation of the pixel values of each pixel constituting the read image read in a state where no image is formed on the paper is used.

要旨をスキャナにより読み取って生成される読取画像は、スキャナによる露光強度や受光感度、外光の影響などにより濃度が変化することが考えられる。換言すると、読取画像を構成する画素の画素値は、読取条件によって変動することが考えられる。これに対して、“無地領域平均値”及び“無地領域標準偏差”のうち、“無地領域標準偏差”は、無地領域全体の標準偏差、即ち、濃度のバラつきを示す値であるため、読取条件による変動量が弱められる。即ち、“無地領域標準偏差”は、読取条件に左右されることなく、種類に応じた用紙の無地領域の特徴値として考えることができる。   It is conceivable that the density of the read image generated by reading the gist by the scanner changes due to the exposure intensity, light receiving sensitivity, and the influence of external light. In other words, it is conceivable that the pixel values of the pixels constituting the read image vary depending on the reading conditions. On the other hand, among the “plain region average value” and the “plain region standard deviation”, the “plain region standard deviation” is a standard deviation of the whole plain region, that is, a value indicating variation in density. The fluctuation amount due to is reduced. In other words, the “plain area standard deviation” can be considered as a feature value of the plain area of the paper according to the type without depending on the reading condition.

他方、“無地領域平均値”は、無地領域全体の平均値であるため、読取条件による変動量がそのまま反映された値となるため、種類に応じた用紙の無地領域の特徴値として単独で用いることは困難である。これに対して、“無地領域標準偏差”のみでは、類似した値を示す用紙が複数存在する可能性もあるが、“無地領域標準偏差”と“無地領域平均値”との組み合わせによって用紙種類を絞り込むことにより、読取画像から取得された情報に基づいて好適に用紙種類を絞り込むことが可能となる。   On the other hand, since the “plain area average value” is an average value of the entire plain area, it is a value that directly reflects the amount of variation due to the reading conditions, and is therefore used alone as a feature value of the plain area of the paper according to the type. It is difficult. On the other hand, there is a possibility that there are multiple papers showing similar values when only “plain area standard deviation” is used, but the paper type is determined by the combination of “plain area standard deviation” and “plain area average value”. By narrowing down, it is possible to suitably narrow down the paper type based on information acquired from the read image.

このような判定を可能とするため、本実施形態に係る無地領域判定部431は、読取画像取得部401から入力された読取画像を構成する各画素を解析し、夫々の画素が無地部分であるか否かを判定する機能と、無地部分であると判定した画素の画素値に基づいて平均値及び標準偏差を算出する機能とを有する。即ち、本実施形態に係る無地領域判定部431は、バラつき値算出部及び平均値算出部として機能する。   In order to enable such determination, the plain area determination unit 431 according to the present embodiment analyzes each pixel constituting the read image input from the read image acquisition unit 401, and each pixel is a plain part. And a function of calculating an average value and a standard deviation based on a pixel value of a pixel determined to be a plain part. That is, the plain area determination unit 431 according to the present embodiment functions as a variation value calculation unit and an average value calculation unit.

そして、無地領域判定部431は、そのようにして読取画像に基づいて算出した平均値と“無地領域平均値”との差異を求めると共に、同じく算出した標準偏差と“無地領域標準偏差”との差異を求め、夫々の差異に基づいて図7に複数格納されているレコードから1つを選択する。このレコードの選択に際しては、例えば、最初に算出した標準偏差と“無地領域標準偏差”との差異に基づいて上位のいくつかのレコードや、差異が所定の閾値未満であるレコードを絞り込み、その絞り込み結果のレコードについて、算出した平均値と“無地領域平均値”との差異が最も小さいレコードを選択する、即ち紙種を判定することが出来る。   Then, the plain area determination unit 431 obtains a difference between the average value calculated based on the read image and the “plain area average value” in this way, and calculates the difference between the calculated standard deviation and the “plain area standard deviation”. The difference is obtained, and one of the records stored in FIG. 7 is selected based on each difference. When selecting this record, for example, based on the difference between the standard deviation calculated first and the “plain area standard deviation”, the top several records or the records whose difference is less than a predetermined threshold are narrowed down For the resulting record, the record with the smallest difference between the calculated average value and the “plain area average value” can be selected, that is, the paper type can be determined.

また、算出した平均値と“無地領域平均値”との差異及び算出した標準偏差と“無地領域標準偏差”との差異の合計値が最も小さいレコードを選択しても良い。尚、本実施形態においては、“無地領域平均値”及び“無地領域標準偏差”に基づいて紙種を判定する場合を例としているが、上述したように、“無地領域標準偏差”は、読取条件に左右されることなく、種類に応じた用紙の無地領域の特徴値として考えることができる。従って、算出した標準偏差と“無地領域標準偏差”との差異のみに基づいて紙種を判定しても良い。   Alternatively, a record having the smallest difference between the calculated average value and the “plain region average value” and the difference between the calculated standard deviation and the “plain region standard deviation” may be selected. In this embodiment, the paper type is determined based on the “plain area average value” and the “plain area standard deviation”, but as described above, the “plain area standard deviation” is read. Regardless of the conditions, it can be considered as a feature value of the plain area of the paper according to the type. Accordingly, the paper type may be determined based only on the difference between the calculated standard deviation and the “plain area standard deviation”.

このようにして図7に示す複数のレコードから1つを選択すると、無地領域判定部431は、そのレコードにおいて関連付けられている“色変換テーブルID”を参照し、それによって識別される紙種色変換テーブルを取得する。即ち、無地領域判定部431が補正値取得部として機能する。本実施形態において、夫々の紙種に応じた紙種色変換テーブルは、図7に示す情報と共に補正値DB432が記憶している。図8を参照して、本実施形態に係る紙種色変換テーブルの例を示す。図8は、本実施形態に係る紙種色変換テーブルの例を示す図である。図8に示すように、本実施形態に係る紙種色変換テーブルは、変換前の階調値を示す“入力”と、変換後の階調値を示す“出力”との対応関係を色毎に示すテーブルである。   When one of the plurality of records shown in FIG. 7 is selected in this way, the plain area determination unit 431 refers to the “color conversion table ID” associated with the record and identifies the paper type color identified thereby. Get conversion table. That is, the plain area determination unit 431 functions as a correction value acquisition unit. In the present embodiment, the correction value DB 432 stores the paper type color conversion table corresponding to each paper type together with the information shown in FIG. With reference to FIG. 8, an example of a paper type color conversion table according to the present embodiment is shown. FIG. 8 is a diagram illustrating an example of a paper type color conversion table according to the present embodiment. As shown in FIG. 8, the paper type color conversion table according to the present embodiment shows the correspondence between “input” indicating the gradation value before conversion and “output” indicating the gradation value after conversion for each color. It is a table shown in FIG.

上述したように、本実施形態に係る紙種色変換テーブルは、マスター画像処理部402が、ビットマップデータに基づいて生成したマスター画像の色調を、印刷に用いられた用紙の地色に応じて補正するために用いられる。この用紙の地色による画像の色調への影響は、出力画像において濃度が高い程、即ち黒に近い程小さくなり、濃度が低い程、即ち白に近い程大きくなる。   As described above, in the paper type color conversion table according to the present embodiment, the master image processing unit 402 changes the color tone of the master image generated based on the bitmap data according to the ground color of the paper used for printing. Used to correct. The influence of the background color of the paper on the color tone of the image becomes smaller as the density of the output image is higher, that is, closer to black, and becomes smaller as the density is lower, that is, closer to white.

従って、本実施形態に係る紙種色変換テーブルは、図8に示すように、RGB夫々の色毎に、元々のビットマップデータの階調値と、補正後の階調値とが関連付けられたテーブルとして生成される。本実施形態に係るマスター画像処理部402は、図8に示すような紙種色変換テーブルに基づき、ビットマップデータから生成したマスター画像の色味を補正する。ここで、本実施形態に係るマスター画像処理部402に含まれる機能の詳細について図9を参照して説明する。   Therefore, in the paper type color conversion table according to the present embodiment, as shown in FIG. 8, the gradation value of the original bitmap data and the gradation value after correction are associated for each color of RGB. Generated as a table. The master image processing unit 402 according to the present embodiment corrects the color of the master image generated from the bitmap data based on the paper type color conversion table as shown in FIG. Details of functions included in the master image processing unit 402 according to the present embodiment will be described with reference to FIG.

図9は、マスター画像処理部402内部の構成を示すブロック図である。図6に示すように、マスター画像処理部402は、少値多値変換処理部421、解像度変換処理部422、色変換処理部423及び画像出力部424を含む。尚、本実施形態に係るマスター画像処理部402は、図2において説明した専用デバイス80、即ち、ハードウェアと、それを制御するソフトウェアとによって実現される。   FIG. 9 is a block diagram illustrating an internal configuration of the master image processing unit 402. As shown in FIG. 6, the master image processing unit 402 includes a small-value / multi-value conversion processing unit 421, a resolution conversion processing unit 422, a color conversion processing unit 423, and an image output unit 424. Note that the master image processing unit 402 according to the present embodiment is realized by the dedicated device 80 described in FIG. 2, that is, hardware and software that controls the hardware.

少値多値変換処理部421は、有色/無色で表現された二値画像に対して少値/多値変換処理を実行して多値画像を生成する。本実施形態に係る可変データは、プリントエンジン3に入力するための情報であり、プリントエンジン3はCMYK(Cyan,Magenta,Yellow,blacK)各色二値の画像に基づいて画像形成出力を実行する。これに対して検査対象の画像である読取画像は、RGB(Red,Green,Blue)各色多階調の多値画像であるため、少値多値変換処理部421により先ず二値画像が多値画像に変換される。多値画像としては、例えばCMYK各8bitで表現された画像を用いることができる。   The low-value / multi-value conversion processing unit 421 generates a multi-value image by performing low-value / multi-value conversion processing on a binary image expressed in colored / colorless. The variable data according to the present embodiment is information to be input to the print engine 3, and the print engine 3 executes image formation output based on CMYK (Cyan, Magenta, Yellow, blackK) color binary images. On the other hand, the read image, which is the image to be inspected, is a multi-valued image of RGB (Red, Green, Blue) multi-gradation, so that the binary image is first converted into a multi-value by the low-value multi-value conversion processing unit 421. Converted to an image. As the multivalued image, for example, an image expressed by 8 bits for each of CMYK can be used.

尚、本実施形態においては、プリントエンジン3がCMYK各色二値の画像に基づいて画像形成出力を実行する場合を例とし、マスター画像処理部402に少値多値変換処理部421が含まれる場合を例とするが、これは一例である。即ち、プリントエンジン3が多値画像に基づいて画像形成出力を実行する場合は、少値多値変換処理部421は省略可能である。   In this embodiment, the print engine 3 executes image formation output based on CMYK binary images, and the master image processing unit 402 includes a low-value multi-value conversion processing unit 421. Is an example. That is, when the print engine 3 executes image formation output based on a multi-value image, the low-value multi-value conversion processing unit 421 can be omitted.

解像度変換処理部422は、少値多値変換処理部421によって生成された多値画像の解像度を、検査対象の画像である読取画像の解像度に合わせるように解像度変換を行う。本実施形態においては、読取装置400は200dpiの読取画像を生成するため、解像度変換処理部422は、少値多値変換処理部421によって生成された多値画像の解像度を200dpiに変換する。   The resolution conversion processing unit 422 performs resolution conversion so that the resolution of the multi-value image generated by the small-value multi-value conversion processing unit 421 matches the resolution of the read image that is the image to be inspected. In the present embodiment, since the reading device 400 generates a 200 dpi read image, the resolution conversion processing unit 422 converts the resolution of the multi-valued image generated by the small-value multi-value conversion processing unit 421 to 200 dpi.

色変換処理部423は、解像度変換処理部422によって解像度が変換された画像を取得して色変換を行う。上述したように、本実施形態に係る読取画像はRGB形式の画像であるため、色変換処理部423は、解像度変換処理部422によって解像度変換された後のCMYK形式の画像をRGB形式に変換する。これにより、画素毎にRGB各色8bit(合計24bit)で表現された200dpiの多値画像が生成され、この画像が可変データのマスター画像として用いられる。   The color conversion processing unit 423 acquires the image whose resolution has been converted by the resolution conversion processing unit 422 and performs color conversion. As described above, since the read image according to the present embodiment is an RGB format image, the color conversion processing unit 423 converts the CMYK format image after the resolution conversion by the resolution conversion processing unit 422 into the RGB format. . As a result, a 200 dpi multi-valued image expressed in 8 bits (total 24 bits) for each color of RGB is generated for each pixel, and this image is used as a master image of variable data.

また、色変換処理部423は、デジタルデータである可変データの色味を、読取装置400によって紙面上が読み取られて生成される画像の色味に合わせるための色味の調整を行う。この色味の調整処理は、入力である可変データのRGB値と、読取装置400によって生成される画像の色味に応じたRGB値とが関連付けられたテーブルを参照することにより、上述したようにCMYKからRGBに変換された可変データの画素値を変換することによって実行される。このテーブルも、図8において説明したような紙種色変換テーブルと同様の構成を有する。   In addition, the color conversion processing unit 423 adjusts the color to match the color of the variable data that is digital data with the color of the image generated by reading the paper surface by the reading device 400. As described above, this color adjustment processing is performed by referring to a table in which RGB values of variable data as input are associated with RGB values corresponding to the color of an image generated by the reading device 400. This is executed by converting pixel values of variable data converted from CMYK to RGB. This table also has the same configuration as the paper type color conversion table as described in FIG.

上述したテーブル、即ち、入力である可変データのRGB値と、読取装置400によって生成される画像の色味に応じたRGB値とが関連付けられたテーブル(以降、「通常色変換テーブル」)は、例えば、様々な色、即ち濃度の異なる複数のカラーパッチを含む階調補正用画像を印刷処理部301が用紙に対して出力し、階調補正用画像が形成された用紙の紙面上を読取装置400が読み取り、それにより生成されたカラーパッチの読取画像である階調補正用読取画像における夫々のカラーパッチの位置の画素値と、夫々のカラーパッチの前提となる画素値とを関連付けて保存することにより生成される。このような処理は、検査制御部403によって実行される。即ち、検査制御部403が色変換情報生成部として機能する。   The table described above, that is, the table in which the RGB values of the variable data as input and the RGB values according to the color of the image generated by the reading device 400 are associated (hereinafter, “normal color conversion table”) For example, a gradation correction image including a plurality of color patches having various colors, that is, different densities, is output to the paper by the print processing unit 301, and a reading device is provided on the surface of the paper on which the gradation correction image is formed. The pixel value at the position of each color patch in the read image for gradation correction, which is the read image of the color patch generated by 400, and the pixel value that is the premise of each color patch are stored in association with each other. Is generated. Such processing is executed by the inspection control unit 403. That is, the inspection control unit 403 functions as a color conversion information generation unit.

尚、上述した紙種色変換テーブルの生成動作も、通常色変換テーブルの生成動作、即ち、カラーパッチを含む階調補正用画像を登録対象の用紙に出力し、その出力結果を読み取った読取画像を解析することによって行われる。図8に示す紙種色変換テーブルは、上述した通常色変換テーブルの生成動作と同様の処理により生成される。また、図7に示すテーブルは、階調補正用画像が形成された用紙を読み取った読取画像から抽出された無地部分の平均値及び標準偏差を、その読取画像に基づいて生成された紙種色変換テーブルを識別する色変換テーブルIDと関連付けて格納することにより生成される。   The paper color conversion table generation operation described above is also a normal color conversion table generation operation, that is, a read image obtained by outputting a gradation correction image including a color patch to a registration target paper and reading the output result. This is done by analyzing The paper type color conversion table shown in FIG. 8 is generated by the same processing as the normal color conversion table generation operation described above. Further, the table shown in FIG. 7 shows the average value and standard deviation of the plain portion extracted from the read image obtained by reading the paper on which the gradation correction image is formed, and the paper type color generated based on the read image. It is generated by storing in association with a color conversion table ID for identifying a conversion table.

このようなカラーパッチによる通常色変換テーブルの生成動作は、例えば1回の印刷ジョブが開始される際に実行される。これにより、印刷ジョブ実行時の印刷条件及び読取条件が反映されたテーブルが生成される。また、上述した階調補正用読取画像には、パッチが表示されていない無地の部分が含まれる。階調補正用読取画像における無地の部分の画素値は、後述する無地判定の処理において用いられる。   The normal color conversion table generation operation using such color patches is executed, for example, when a single print job is started. As a result, a table reflecting the printing conditions and reading conditions when the print job is executed is generated. Further, the above-described gradation correction read image includes a solid portion where no patch is displayed. The pixel value of the plain portion in the read image for gradation correction is used in the plain determination process described later.

更に、本実施形態に係る色変換処理部423は、上記カラーパッチに基づいて生成されたテーブルに基づく色変換に加えて、図8において説明した紙種色変換テーブルに基づく色味の補正、即ち、用紙の種類に応じた色味の補正処理を行う。即ち、色変換処理部423が、検査用画像補正部としても機能する。そのため、色変換処理部423には、無地領域判定部431によって補正値DB432から取得された紙種色変換テーブルが入力される。   Furthermore, the color conversion processing unit 423 according to the present embodiment performs color correction based on the paper type color conversion table described with reference to FIG. 8 in addition to color conversion based on the table generated based on the color patch, that is, Then, color correction processing according to the type of paper is performed. That is, the color conversion processing unit 423 also functions as an inspection image correction unit. Therefore, the paper type color conversion table acquired from the correction value DB 432 by the plain area determination unit 431 is input to the color conversion processing unit 423.

尚、上述したカラーパッチに基づいて生成されたテーブルに基づく色変換(以降、「通常色変換」とする)が好適に行われ、且つその際に用いられた用紙と検査対象のページに用いられた用紙とが同種の用紙であれば、通常色変換によって用紙の地色に応じた色味の補正も行われることとなる。従って、図8に示すような紙種色変換テーブルを用いた色調補正は不要である。これに対して、カラーパッチの形成に用いられた用紙の種類と、検査対象のページに用いられた用紙の種類とが異なる場合、通常色変換ではマスター画像の色味を読取画像の色味に対応させることが出来ないため、本実施形態に係る紙種毎の色変換が必要となる。   Note that color conversion based on the table generated based on the color patch described above (hereinafter referred to as “normal color conversion”) is suitably performed, and is used for the paper used at that time and the page to be inspected. If the printed paper is the same type of paper, the color correction corresponding to the ground color of the paper is also performed by normal color conversion. Therefore, color tone correction using the paper type color conversion table as shown in FIG. 8 is not necessary. On the other hand, if the type of paper used to form the color patch is different from the type of paper used for the page to be inspected, the color of the master image is changed to the color of the read image in normal color conversion. Since it cannot be made to correspond, color conversion for each paper type according to the present embodiment is required.

このような態様を可能とするため、本実施形態に係る検査制御部403は、上述したカラーパッチの読み取りにおいても、無地領域判定部431による紙種判定を行い、その判定結果として選択された図7に示すいずれかのレコードを示す“紙種ID”を基準となる紙種の情報として記憶しておく。そして、実際の読取画像の検査における紙種の判定結果と、基準となる紙種の情報とが異なる場合にのみ図8に示す紙種色変換テーブルに基づく色変換を行うように、マスター画像処理部402を制御する。このような処理により、1つの印刷ジョブにおいて異なる複数種類の用紙が混在して用いられる場合であっても、マスター画像の色味を、検査対象のページに用いられた用紙の色味に応じて補正することが可能となる。   In order to enable such an aspect, the inspection control unit 403 according to the present embodiment performs paper type determination by the plain area determination unit 431 even in the above-described color patch reading, and is selected as the determination result. The “paper type ID” indicating one of the records shown in FIG. 7 is stored as reference paper type information. Then, the master image processing is performed so that the color conversion based on the paper type color conversion table shown in FIG. 8 is performed only when the paper type determination result in the actual scanned image inspection and the reference paper type information are different. The unit 402 is controlled. With such a process, even when a plurality of different types of paper are used together in one print job, the color of the master image is set according to the color of the paper used for the page to be inspected. It becomes possible to correct.

画像出力部424は、色変換処理部423までの処理によって生成されたマスター画像を、検査制御部403の基準点抽出部433に入力する。基準点抽出部433は、マスター画像処理部402から入力されたマスター画像から、位置合わせの基準となる基準点を抽出する。ここでいう基準点とは、画像形成出力対象の原稿内部の領域の四隅に表示されているマーキングである。尚、このようなマーキングがない場合であっても、コーナー抽出フィルタ等の画像フィルタを用いて、画像中からマーキングとなり得るような画素を抽出しても良い。   The image output unit 424 inputs the master image generated by the processing up to the color conversion processing unit 423 to the reference point extraction unit 433 of the inspection control unit 403. The reference point extraction unit 433 extracts a reference point serving as a reference for alignment from the master image input from the master image processing unit 402. The reference points here are markings displayed at the four corners of the area inside the document to be imaged and output. Even if there is no such marking, pixels that can be marked may be extracted from the image using an image filter such as a corner extraction filter.

位置合わせ部434は、基準点抽出部433から入力されるマスター画像及び基準点と、読取画像取得部401から入力される読取画像との位置合わせを行い、読取画像とマスター画像との位置ずれ量を求める。位置合わせ部434は、マスター画像から抽出された基準点の周囲の画像を、図4において説明したような所定範囲分抽出すると共に、マスター画像から抽出した所定範囲の画像に対応する位置の画像を読取画像から抽出して比較検査部404に入力することにより、図4において説明したように両者の画素値の差分値を取得する。   The alignment unit 434 performs alignment between the master image and the reference point input from the reference point extraction unit 433 and the read image input from the read image acquisition unit 401, and the amount of positional deviation between the read image and the master image Ask for. The alignment unit 434 extracts an image around the reference point extracted from the master image for a predetermined range as described in FIG. 4 and also extracts an image at a position corresponding to the image in the predetermined range extracted from the master image. By extracting from the read image and inputting it to the comparison inspection unit 404, the difference value between the two pixel values is acquired as described in FIG.

位置合わせ部434は、読取画像から抽出する画像の範囲を縦横にずらしながら、比較検査部404による差分値の算出結果の取得処理を複数回繰り返し、最も差分値の合計値が小さかった際の読取画像の抽出範囲を、マスター画像の抽出範囲に対応する位置として決定する。そのようにして決定した読取画像の抽出範囲とマスター画像の抽出範囲との位置ずれ量を、その画像に対応する基準点の位置ずれ量として決定する。   The alignment unit 434 repeats the difference value calculation result acquisition processing by the comparison inspection unit 404 a plurality of times while shifting the range of the image extracted from the read image vertically and horizontally, and reads when the sum of the difference values is the smallest. The image extraction range is determined as a position corresponding to the master image extraction range. The misregistration amount between the read image extraction range and the master image extraction range determined as described above is determined as the misregistration amount of the reference point corresponding to the image.

位置合わせ部434は、マスター画像から抽出された複数の基準点について同様の処理を繰り返し、夫々の基準点毎に算出された位置ずれ量に基づいてマスター画像と読取画像との最終的な位置ずれ量を求める。最終的な位置ずれ量を求める処理としては、例えば夫々の基準点毎に算出された位置ずれ量の平均値を採用する態様や、夫々の基準点毎に算出された位置ずれ量に基づいて画像各部の位置ずれ量を線形的に求めるような態様を用いることができる。   The alignment unit 434 repeats the same processing for a plurality of reference points extracted from the master image, and the final displacement between the master image and the read image based on the amount of displacement calculated for each reference point. Find the amount. As a process for obtaining the final misregistration amount, for example, an aspect that employs an average value of misregistration amounts calculated for each reference point, or an image based on the misregistration amount calculated for each reference point is used. A mode in which the amount of positional deviation of each part is obtained linearly can be used.

欠陥判定部435は、位置合わせ部434から入力されるマスター画像と読取画像とを比較検査部404に入力し、図4において説明したような処理により欠陥判定を行う。即ち、欠陥判定部435が、検査結果取得部として機能する。尚、欠陥判定部435は、マスター画像及び読取画像から夫々検査範囲の画像を抽出して比較検査部404に入力する際に、位置合わせ部434によって求められた位置ずれ量を考慮して、マスター画像及び読取画像から検査範囲の画像を抽出する。   The defect determination unit 435 inputs the master image and the read image input from the alignment unit 434 to the comparison inspection unit 404, and performs defect determination by the process described with reference to FIG. That is, the defect determination unit 435 functions as an inspection result acquisition unit. It should be noted that the defect determination unit 435 considers the amount of misalignment obtained by the alignment unit 434 when extracting the images in the inspection range from the master image and the read image and inputting them to the comparison inspection unit 404. An inspection range image is extracted from the image and the read image.

即ち、本実施形態に係る欠陥判定部435は、図4に示すように分割されたマスター画像の1つの検査範囲に対応する読取画像の範囲を抽出する際、位置合わせ部434によって求められた位置ずれ量を考慮して、読取画像から画像を抽出する。これにより、図4において説明したような、抽出範囲を縦横にずらしながら比較検査を行う際に、マスター画像と読取画像との位置合わせが既にされた状態で比較検査を開始するため、比較的少ない計算回数で、適切な位置合わせ状態での計算を行うことが可能となる。   That is, when the defect determination unit 435 according to the present embodiment extracts a read image range corresponding to one inspection range of the divided master image as illustrated in FIG. 4, the position obtained by the alignment unit 434 is obtained. An image is extracted from the read image in consideration of the shift amount. Accordingly, when performing the comparative inspection while shifting the extraction range vertically and horizontally as described in FIG. 4, the comparative inspection is started in a state where the alignment between the master image and the read image has already been performed. It is possible to perform calculation in an appropriate alignment state by the number of calculations.

プリンタ連動部436は、検査対象のページが欠陥判定部435によって欠陥判定された場合に、印刷ジョブ停止や再印刷の判断を行ってエンジンコントローラ2のエンジン制御部202に対して印刷ジョブ停止要求や、再印刷要求を送信する。再印刷要求を送信する際、プリンタ連動部436は、再印刷するべきページのページ数や、印刷ジョブを示すジョブ識別番号を通知する。これにより、エンジン制御部202において、再印刷のための処理が実行される。即ち、プリンタ連動部436が、再印刷命令部として機能する。   When the page to be inspected is determined to be defective by the defect determination unit 435, the printer interlocking unit 436 determines whether to stop the print job or reprint, and sends a print job stop request to the engine control unit 202 of the engine controller 2. Send a reprint request. When transmitting a reprint request, the printer interlocking unit 436 notifies the number of pages to be reprinted and a job identification number indicating a print job. Thereby, the engine control unit 202 executes processing for reprinting. That is, the printer interlocking unit 436 functions as a reprint command unit.

次に、本実施形態に係る画像検査システムにおいて1つの印刷ジョブが実行される場合の検査装置4全体の動作について説明する。図10は、本実施形態に係る検査装置4全体の動作を示すフローチャートである。図10に示すように、1つの印刷ジョブの実行に際して、まずは上述したカラーパッチの出力及び読み取りが実行される(S1001)。   Next, the operation of the entire inspection apparatus 4 when one print job is executed in the image inspection system according to the present embodiment will be described. FIG. 10 is a flowchart showing the operation of the entire inspection apparatus 4 according to this embodiment. As shown in FIG. 10, when executing one print job, first, the above-described output and reading of the color patch are executed (S1001).

これにより、読取画像取得部401が、カラーパッチが形成された用紙を読み取った読取画像を取得し、検査制御部403に入力する。検査制御部403においては、無地領域判定部431がカラーパッチの読取画像に基づいて上述したような紙種判定処理を行い、図7において説明したテーブルから“紙種ID”を取得して記憶する(S1002)。この“紙種ID”が基準用紙識別子として機能する。また、無地領域判定部431は、カラーパッチの読取画像に基づき、上述した紙種色変換テーブルを生成する(S1003)   As a result, the read image acquisition unit 401 acquires a read image obtained by reading a sheet on which a color patch is formed, and inputs the read image to the inspection control unit 403. In the inspection control unit 403, the plain area determination unit 431 performs the paper type determination process as described above based on the read image of the color patch, and acquires and stores the “paper type ID” from the table described in FIG. (S1002). This “paper type ID” functions as a reference paper identifier. The plain area determination unit 431 generates the above-described paper type color conversion table based on the read image of the color patch (S1003).

続いて、印刷ジョブに含まれる各ページの画像形成出力が開始され、ビットマップ送信部203が送信したビットマップデータをマスター画像処理部402が取得し(S1004)、図9において説明したように、少値多値変換処理部421、解像度変換処理部422及び色変換処理部423によるマスター画像の生成処理が実行される(S1005)。   Subsequently, image formation output of each page included in the print job is started, and the master image processing unit 402 acquires the bitmap data transmitted by the bitmap transmission unit 203 (S1004), and as described in FIG. A master image generation process is executed by the small-value / multi-value conversion processing unit 421, the resolution conversion processing unit 422, and the color conversion processing unit 423 (S1005).

他方、エンジン制御部202によってプリントエンジン3の印刷処理部301が制御され、用紙に対して画像形成出力が実行されると、その用紙の紙面が読取装置400によって読み取られて読取画像が生成される。読取画像取得部401は、夫々のページについての読取画像を取得するまで待機し(S1006/NO)、読取画像を取得すると(S1006/YES)、取得した読取画像を検査制御部403に入力する。これにより、無地領域判定部431が、読取画像に基づいて上述したように紙種判定を行い(S1007)、そのレコードに関連付けられている“紙種ID”を検査対象用紙識別子として取得する。   On the other hand, when the print processing unit 301 of the print engine 3 is controlled by the engine control unit 202 and image formation output is executed on the paper, the paper surface of the paper is read by the reading device 400 to generate a read image. . The read image acquisition unit 401 waits until a read image for each page is acquired (S1006 / NO). When the read image is acquired (S1006 / YES), the acquired read image is input to the inspection control unit 403. As a result, the plain area determination unit 431 performs the paper type determination based on the read image as described above (S1007), and acquires the “paper type ID” associated with the record as the inspection target paper identifier.

S1007の判定の結果、取得した紙種IDが、S1002において記憶された紙種IDと同一であれば(S1008/YES)、通常色変換によって用紙の地色に応じた色味の補正も行われることとなる。従って、図8に示すような紙種色変換テーブルを用いた色調補正は不要であるため、検査制御部403は、通常色変換によって生成されたマスター画像をマスター画像処理部402に出力させる(S1009)。これにより、基準点抽出部433が、上述したようにマスター画像から位置合わせの基準となる基準点を抽出する。   As a result of the determination in S1007, if the acquired paper type ID is the same as the paper type ID stored in S1002 (S1008 / YES), the color correction corresponding to the ground color of the paper is also performed by the normal color conversion. It will be. Therefore, since the tone correction using the paper type color conversion table as shown in FIG. 8 is unnecessary, the inspection control unit 403 causes the master image processing unit 402 to output the master image generated by the normal color conversion (S1009). ). As a result, the reference point extraction unit 433 extracts a reference point serving as a reference for alignment from the master image as described above.

他方、S1007の判定の結果、取得した紙種IDが、S1002において記憶された紙種IDと異なる場合(S1008/NO)、通常色変換では、用紙の種類に応じた色調補正は行われないため、無地領域判定部431は、判定された紙種に関連付けられている紙種色変換テーブルを補正値DB432から取得し、マスター画像処理部402に入力する(S1013)。   On the other hand, as a result of the determination in S1007, if the acquired paper type ID is different from the paper type ID stored in S1002 (S1008 / NO), the color correction according to the paper type is not performed in the normal color conversion. The plain area determination unit 431 acquires the paper type color conversion table associated with the determined paper type from the correction value DB 432 and inputs it to the master image processing unit 402 (S1013).

無地領域判定部431から紙種色変換テーブルを取得したマスター画像処理部402は、取得した紙種色変換テーブルに基づいてマスター画像の色調補正を行う(S1014)。紙種色変換テーブルに基づいた色調補正が完了すると、マスター画像処理部402は、検査制御部403の制御に従い、色調変換の完了したマスター画像を出力する(S1009)。これにより、基準点抽出部433が、上述したようにマスター画像から位置合わせの基準となる基準点を抽出する。   The master image processing unit 402 that has acquired the paper type color conversion table from the plain area determination unit 431 performs color tone correction of the master image based on the acquired paper type color conversion table (S1014). When the color tone correction based on the paper type color conversion table is completed, the master image processing unit 402 outputs a master image whose color tone conversion has been completed in accordance with the control of the inspection control unit 403 (S1009). As a result, the reference point extraction unit 433 extracts a reference point serving as a reference for alignment from the master image as described above.

続いて、位置合わせ部434が、基準点抽出部433から入力されたマスター画像及び基準点並びに読取画像取得部401から入力された読取画像に基づき、上述したような位置合わせ処理を実行する(S1010)。そして、欠陥判定部435が、位置合わせ部434による位置合わせ処理の結果に基づいてマスター画像及び読取画像から抽出した検査範囲の画像を比較検査部404に入力し、欠陥判定を行う(S1011)。これにより、欠陥判定部435は、欠陥判定の結果に応じてプリンタ連動部436に印刷の中止や再印刷要求等の制御を実行させる。   Subsequently, the alignment unit 434 executes the alignment process as described above based on the master image and the reference point input from the reference point extraction unit 433 and the read image input from the read image acquisition unit 401 (S1010). ). Then, the defect determination unit 435 inputs the inspection range image extracted from the master image and the read image based on the result of the alignment process by the alignment unit 434 to the comparison inspection unit 404, and performs defect determination (S1011). As a result, the defect determination unit 435 causes the printer interlocking unit 436 to execute control such as print stop or reprint request according to the result of the defect determination.

検査制御部403は、1つの印刷ジョブについて、全てのページの出力が終わるまでS1004からの処理を繰り返し(S1012/NO)、全ページの出力および検査が完了したら(S1012/YES)、処理を終了する。このような処理により、本実施形態に係る検査装置4全体の動作が完了する。   The inspection control unit 403 repeats the processing from S1004 until output of all pages is completed for one print job (S1012 / NO), and ends output when all pages are output and inspected (S1012 / YES). To do. By such processing, the operation of the entire inspection apparatus 4 according to the present embodiment is completed.

このように、本実施形態に係る検査装置4においては、図7において説明したような、紙種毎に無地部分の画素値の標準偏差と紙種に応じた色調の補正値である紙種色変換テーブルとが関連付けられた情報を用意し、読取画像から抽出された無地部分の画素値の標準偏差に基づいて紙種を判定して適正な補正値を選択する。そして、そのように選択された補正値によってマスター画像を補正することにより、画像形成出力において用いられた用紙の種類に応じた色調での比較検査が可能となり、欠陥の誤検知を低減することが可能となる。   As described above, in the inspection apparatus 4 according to the present embodiment, the paper type color which is the standard deviation of the pixel value of the plain portion and the color tone correction value corresponding to the paper type for each paper type as described in FIG. Information associated with the conversion table is prepared, the paper type is determined based on the standard deviation of the pixel value of the plain portion extracted from the read image, and an appropriate correction value is selected. Then, by correcting the master image with the correction value thus selected, it is possible to perform a comparative inspection with a color tone according to the type of paper used in the image forming output, and to reduce erroneous detection of defects. It becomes possible.

標準偏差は、無地部分の画素値のバラつきを示す値であるため、読取装置400において原稿を読み取る際の読取条件による値の変動が小さい。従って、無地部分の標準偏差の値に基づいて紙種を判定することにより、読取条件に左右されずに好適に紙種判定を行うことが可能となる。   Since the standard deviation is a value indicating the variation in the pixel value of the plain portion, the value variation due to the reading condition when the reading device 400 reads the document is small. Therefore, by determining the paper type based on the standard deviation value of the plain portion, it is possible to appropriately perform the paper type determination regardless of the reading conditions.

また、本実施形態においては、無地部分の画素値の標準偏差に加えて、無地部分の画素値の平均値が、夫々の紙種色変換テーブルに関連付けられている。そして、紙種判定に際して、無地部分の標準偏差に加えて無地部分の平均値を参照する。これにより、異なる紙種であって無地部分の標準偏差の値が類似している用紙が存在したとしても、無地部分の階調値に基づいて識別し、好適に紙種判定を行うことが可能となる。   In this embodiment, in addition to the standard deviation of the pixel values of the plain portion, the average value of the pixel values of the plain portion is associated with each paper color conversion table. In determining the paper type, the average value of the plain portion is referred to in addition to the standard deviation of the plain portion. As a result, even if there are papers with different paper types and similar standard deviation values for the plain part, it is possible to identify the paper based on the gradation value of the plain part and perform the paper type determination appropriately. It becomes.

尚、上記実施形態においては、S1007において紙種判定が成功することを前提として説明した。しかしながら、画像形成出力に用いられた用紙に関する情報が必ずしも図7に示すように補正値DB432に登録されているとは限らない。そのような場合において、無地領域標準偏差及び無地領域平均値夫々の差分値が最も小さいレコードを選択すると、誤った紙種色変換テーブルが選択されてしまうこととなる。   Note that the above embodiment has been described on the assumption that the paper type determination is successful in S1007. However, information about the paper used for image formation output is not necessarily registered in the correction value DB 432 as shown in FIG. In such a case, if a record having the smallest difference value between the plain area standard deviation and the plain area average value is selected, an incorrect paper type color conversion table is selected.

そのような弊害を回避するため、無地領域判定部431による紙種判定処理においては、無地領域標準偏差及び無地領域平均値夫々の差分値について閾値を設けておくことが好ましい。即ち、無地領域判定部431は、読取画像から抽出した無地部分の画素値に基づいて算出した標準偏差及び平均値と、図7に示す“無地領域標準偏差”及び“無地領域平均値”夫々の差分値を算出した結果、いずれのレコードについても、算出した差分値が所定の閾値よりも大きい、若しくは閾値以上であった場合、検査対象のページに用いられている用紙は補正値DB432に登録されていないと判断して、エラーにより処理を終了する。   In order to avoid such an adverse effect, in the paper type determination processing by the plain area determination unit 431, it is preferable to provide a threshold for the difference values of the plain area standard deviation and the plain area average value. That is, the plain area determination unit 431 calculates the standard deviation and the average value calculated based on the pixel value of the plain part extracted from the read image, and the “plain area standard deviation” and “plain area average value” shown in FIG. As a result of calculating the difference value, if the calculated difference value is greater than or equal to the predetermined threshold value for any record, the paper used for the page to be inspected is registered in the correction value DB 432. If it is not determined, the process ends due to an error.

このようにエラーにより処理を終了した場合、用紙登録モード、即ち、上述したように、カラーパッチを含む階調補正用画像を対象の用紙に出力し、その出力結果を読み取った読取画像を解析するモードにより、その用紙についての紙種色変換テーブルの登録を促すメッセージを表示装置に表示することが好ましい。   When the process is terminated due to an error in this way, the gradation correction image including the color patch is output to the target sheet in the sheet registration mode, that is, as described above, and the read image obtained by reading the output result is analyzed. It is preferable to display a message prompting registration of the paper type color conversion table for the paper on the display device depending on the mode.

尚、このような、用紙が登録済みであるか否かの判断は、図10のS1002において行うことも可能である。即ち、S1002においても、無地領域判定部431は、読取画像から抽出した無地部分の画素値に基づく紙種判定を行う。その結果、算出した平均値と図7に示す“無地領域平均値”との差分値や、算出した標準偏差と図7に示す“無地領域標準偏差”との差分値が所定の閾値を超えている場合、未登録の用紙であると判断する。   Note that such a determination as to whether or not a sheet has been registered can also be made in S1002 of FIG. That is, also in S1002, the plain area determination unit 431 performs paper type determination based on the pixel value of the plain part extracted from the read image. As a result, the difference value between the calculated average value and the “plain region average value” shown in FIG. 7 or the difference value between the calculated standard deviation and the “plain region standard deviation” shown in FIG. 7 exceeds a predetermined threshold. If it is, it is determined that the sheet is unregistered.

この場合、その際に算出された平均値及び標準偏差を、夫々“無地領域平均値”及び“無地領域標準偏差”として登録すると共に、S1003において生成される通常色変換テーブルを、紙種色変換テーブルとして登録することにより、別途用紙の登録処理を行うことなく、補正値DB432に新たなデータを登録することが可能である。   In this case, the average value and the standard deviation calculated at that time are registered as “solid color area average value” and “solid color area standard deviation”, respectively, and the normal color conversion table generated in S1003 is converted to paper type color conversion. By registering as a table, new data can be registered in the correction value DB 432 without performing a separate paper registration process.

また、上記実施形態においては、“無地領域平均値”や“無地領域標準偏差”について、RGB値を用いることを例として説明した。これは読取画像の色空間が一般的にRGB空間であるため、その値を直接用いることが可能であるという点で有効である。しかしながらこれは一例であり、他の色空間を用いて紙種を判定しても良い。   Further, in the above-described embodiment, the description has been made by using the RGB value as an example for the “plain area average value” and the “plain area standard deviation”. This is effective in that the value space can be directly used because the color space of the read image is generally an RGB space. However, this is an example, and the paper type may be determined using another color space.

例えば、RGB色空間で読み取られた読取画像を構成する画素値を、Lab色空間、CIE1976色空間、マンセル表色系等の他の色空間の値に変換し、その値を用いても良い。この場合、無地判定に用いる値としては、人間の視覚において最も影響の大きいとされている輝度の値を用いて、上述したような標準偏差や平均値による判断をすることが考えられる。   For example, the pixel values constituting the read image read in the RGB color space may be converted into values of other color spaces such as the Lab color space, the CIE 1976 color space, the Munsell color system, and the values may be used. In this case, as a value used for the plain color determination, it is conceivable to make a determination based on the standard deviation or the average value as described above by using a luminance value that is considered to have the greatest influence on human vision.

また、上記実施形態においては、図7において説明したように、夫々の紙種毎に1つのレコードが生成される場合を例としている。本実施形態においては、読取条件の影響を可能な限り低減した紙種判断を可能とするために、無地部分の画素値の標準偏差を計算するが、読取画像の色調は読取条件に左右されるため、紙種が好適に判断されたとしても、読取条件によっては、その紙種に関連付けられた紙種色変換テーブルによる色変換が適切でない場合があり得る。   In the above embodiment, as described with reference to FIG. 7, a case where one record is generated for each paper type is taken as an example. In this embodiment, the standard deviation of the pixel value of the plain portion is calculated in order to enable the paper type determination with the influence of the reading condition reduced as much as possible, but the color tone of the read image depends on the reading condition. Therefore, even if the paper type is suitably determined, depending on the reading conditions, there may be cases where color conversion using the paper type color conversion table associated with the paper type is not appropriate.

そして、読取条件による色調の差異は、“無地領域標準偏差”よりも“無地領域平均値”に現れる。従って、同一の用紙であっても、読取装置400によるスキャン時の露光強度や受光感度を変えて図7に示すレコードの登録を行うことにより、特に“無地領域平均値”が異なるレコードが生成されると共に、図8に示す紙種色変換テーブルとしても、値の対応関係の異なるテーブルが生成される。   The difference in color tone depending on the reading condition appears in the “plain area average value” rather than the “plain area standard deviation”. Therefore, even if the same sheet is used, by registering the record shown in FIG. 7 while changing the exposure intensity and light receiving sensitivity at the time of scanning by the reading device 400, a record having a different “plain area average value” is generated. At the same time, as the paper type color conversion table shown in FIG.

このように、同一の用紙であっても異なる読取条件で複数のレコードを登録しておくことにより、図10のS1007による判定結果としては、紙種の判定のみならず、読取条件まで含めた判定、即ち、どの紙種をどのような読取条件で読み取ったか、までを判定することが可能となり、その判定結果に応じた紙種色変換テーブルを取得することが可能とする。結果的に、紙種のみならず、検査対象のページの読取画像の読取条件まで含めて、マスター画像を補正することが可能となる。   As described above, by registering a plurality of records under different reading conditions even for the same sheet, the determination result in S1007 of FIG. 10 includes not only the determination of the paper type but also the determination including the reading conditions. That is, it is possible to determine which paper type is read under what reading condition, and it is possible to acquire a paper type color conversion table corresponding to the determination result. As a result, it is possible to correct the master image including not only the paper type but also the reading condition of the read image of the page to be inspected.

また、上記実施形態においては、マスター画像処理部402が、無地領域判定部431から取得した紙種色変換テーブルに基づいてマスター画像の色調を補正する場合を例として説明した。これは、元々マスター画像処理部402に含まれている色変換処理部423の機能をそのまま利用することが可能であり、紙種色変換テーブルに基づいた色調補正のためのモジュールを新たに構成する必要が無い点で有効である。   In the above embodiment, the case where the master image processing unit 402 corrects the color tone of the master image based on the paper type color conversion table acquired from the plain area determination unit 431 has been described as an example. In this case, the function of the color conversion processing unit 423 originally included in the master image processing unit 402 can be used as it is, and a module for color tone correction based on the paper type color conversion table is newly configured. It is effective in that it is not necessary.

しかしながら、本件の要旨は、検査対象のページに用いられている用紙の種類に応じてマスター画像と読取画像との色調を合わせることである。従って、マスター画像を補正する場合のみならず、読取画像を補正しても良い。この場合、図8に示す“入力”及び“出力”の値を逆に適用することによって容易に実現可能である。   However, the gist of the present case is to match the color tone of the master image and the read image in accordance with the type of paper used for the page to be inspected. Therefore, the read image may be corrected not only when the master image is corrected. In this case, it can be easily realized by applying the values of “input” and “output” shown in FIG. 8 in reverse.

また、上記実施形態においては、読取条件によらずに用紙の種類を特定するための情報として、無地領域の画素値の標準偏差を用いた。しかしながら、標準偏差を用いる趣旨は、無地部分の濃度のバラつきを示す値であって、且つ夫々の濃度の値の大小の影響を抑制した値を用いることにある。従って、用いる値としては標準偏差に限らず、そのような趣旨に合致した値であれば、他の値であっても良い。   In the above embodiment, the standard deviation of the pixel value of the plain area is used as information for specifying the paper type regardless of the reading conditions. However, the purpose of using the standard deviation is to use a value that indicates the variation in density of the plain portion and that suppresses the influence of the magnitude of each density value. Therefore, the value to be used is not limited to the standard deviation, and any other value may be used as long as the value meets such a purpose.

無地部分の濃度のバラつきを示す値であって、且つ夫々の濃度の値の大小の影響を抑制した値の他の例としては、例えば、分散の値を用いることが可能である。また、夫々の濃度の値の大小の影響を抑制する手法として、分散や標準偏差の値を、平均値で割ることが考えられる。   As another example of the value indicating the variation in density of the plain portion and suppressing the influence of the magnitude of each density value, for example, a dispersion value can be used. Further, as a technique for suppressing the influence of the magnitude value of each density, it is conceivable to divide the value of variance or standard deviation by the average value.

また、上記実施形態においては、図10のS1005において、色変換処理部423による通常色変換の処理も含めてマスター画像を生成する場合を例として説明した。しかしながら、紙種色変換テーブルによる色変換処理を、通常色変換に代わりに行うような態様も可能である。従って、図10のS1005においては、解像度変換処理部422までの処理を行っても良い。   In the above embodiment, the case where the master image is generated including the normal color conversion processing by the color conversion processing unit 423 in S1005 of FIG. 10 has been described as an example. However, a mode in which the color conversion process using the paper type color conversion table is performed instead of the normal color conversion is also possible. Therefore, in S1005 of FIG. 10, the processing up to the resolution conversion processing unit 422 may be performed.

1 DFE
2 エンジンコントローラ
3 プリントエンジン
4 検査装置
10 CPU
20 RAM
30 ROM
40 HDD
50 I/F
60 LCD
70 操作部
80 専用デバイス
90 バス
101 搬送ベルト
102、102Y、102M、102C、102K 感光体ドラム
103 給紙トレイ
104 転写ローラ
105 定着ローラ
106 反転パス
201データ取得部
202 エンジン制御部
203 ビットマップ送信部
301 印刷処理部
400 読取装置
401 読取画像取得部
402 マスター画像処理部
403 検査制御部
404 比較検査部
410 排紙トレイ
421 少値多値変換処理部
422 解像度変換処理部
423 色変換処理部
424 画像処理部
431 無地領域判定部
432 補正値DB
433 基準点抽出部
434 位置合わせ部
435 欠陥判定部
436 プリンタ連動部
1 DFE
2 Engine controller 3 Print engine 4 Inspection device 10 CPU
20 RAM
30 ROM
40 HDD
50 I / F
60 LCD
70 Operation Unit 80 Dedicated Device 90 Bus 101 Conveying Belts 102, 102Y, 102M, 102C, 102K Photosensitive Drum 103 Paper Feed Tray 104 Transfer Roller 105 Fixing Roller 106 Reverse Path 201 Data Acquisition Unit 202 Engine Control Unit 203 Bitmap Transmission Unit 301 Print processing unit 400 Reading device 401 Read image acquisition unit 402 Master image processing unit 403 Inspection control unit 404 Comparison inspection unit 410 Paper discharge tray 421 Small value multi-value conversion processing unit 422 Resolution conversion processing unit 423 Color conversion processing unit 424 Image processing unit 431 Solid region determination unit 432 Correction value DB
433 Reference point extraction unit 434 Position alignment unit 435 Defect determination unit 436 Printer interlocking unit

特開2011−114574号公報JP 2011-114574 A 特開2005−205703号広報Japanese Laid-Open Patent Publication No. 2005-205703

Claims (9)

紙面上に印刷された画像を読み取った読取画像の検査を行う画像検査装置であって、
前記紙面上に印刷された画像が読み取られて生成された読取画像を取得する読取画像取得部と、
印刷するべき画像の情報に基づいて前記読取画像の検査を行うための検査用画像を生成する検査用画像生成部と、
前記検査用画像と前記読取画像との差分に基づいて前記読取画像の欠陥を判定した検査結果を取得する検査結果取得部と、
取得された前記読取画像から、前記紙面上において顕色剤が付加されていない用紙の地色の領域を抽出する無地領域判定部と、
抽出された複数の前記地色の領域の画素の濃度のバラつきを示す値を算出するバラつき値算出部と、
用紙毎に前記地色の領域の濃度による色調への影響を補正するための補正値と前記地色の領域の画素の濃度のバラつきを示す値とが関連付けられた補正値関連付け情報を参照し、算出された前記バラつきを示す値に対応する補正値を取得する補正値取得部と、
生成された前記検査用画像及び前記読取画像のいずれか一方を取得された前記補正値に基づいて補正する色調補正部とを含むことを特徴とする画像検査装置。
An image inspection apparatus for inspecting a read image obtained by reading an image printed on a paper surface,
A read image acquisition unit that acquires a read image generated by reading an image printed on the paper;
An inspection image generation unit for generating an inspection image for inspecting the read image based on information of an image to be printed;
An inspection result acquisition unit for acquiring an inspection result obtained by determining a defect of the read image based on a difference between the image for inspection and the read image;
A plain area determination unit that extracts a ground color area of the paper to which no developer is added on the paper surface from the acquired read image;
A variation value calculation unit that calculates a value indicating a variation in density of pixels of the plurality of extracted ground color regions;
Refer to correction value association information in which a correction value for correcting the influence on the color tone due to the density of the background color area for each sheet is associated with a value indicating a variation in density of pixels in the background color area, A correction value acquisition unit that acquires a correction value corresponding to the calculated value indicating the variation;
An image inspection apparatus comprising: a color correction unit that corrects one of the generated image for inspection and the read image based on the acquired correction value.
抽出された複数の前記地色の領域の画素の濃度の平均値を算出する平均値算出部を含み、
前記補正値関連付け情報は、前記地色の領域の画素の濃度のバラつきを示す値と前記地色の領域の画素の濃度の平均値との組み合わせが前記補正値に関連付けられた情報であり、
前記補正値取得部は、算出された前記バラつき値と前記平均値との組み合わせに対応する補正値を取得することを特徴とする請求項1に記載の画像検査装置。
An average value calculating unit that calculates an average value of the density of pixels of the plurality of extracted ground color regions;
The correction value association information is information in which a combination of a value indicating a variation in density of pixels in the ground color region and an average value of the density of pixels in the ground color region is associated with the correction value,
The image inspection apparatus according to claim 1, wherein the correction value acquisition unit acquires a correction value corresponding to a combination of the calculated variation value and the average value.
前記補正値関連付け情報は、夫々の種類の用紙について、異なる読取条件毎に前記地色の領域の画素の濃度のバラつきを示す値と前記地色の領域の画素の濃度の平均値との組み合わせが前記補正値に関連付けられた情報であることを特徴とする請求項2に記載の画像検査装置。   The correction value association information includes, for each type of paper, a combination of a value indicating a variation in density of pixels in the background color area and an average value of the density of pixels in the background color area for each different reading condition. The image inspection apparatus according to claim 2, wherein the image inspection apparatus is information associated with the correction value. 前記補正値取得部は、前記補正値関連付け情報に含まれる前記バラつきを示す値と、算出された前記バラつきを示す値との差分値に基づき、算出された前記バラつきを示す値に対応する補正値を取得することを特徴とする請求項1乃至3いずれか1項に記載の画像検査装置。   The correction value acquisition unit, based on a difference value between a value indicating the variation included in the correction value association information and a value indicating the calculated variation, a correction value corresponding to the calculated value indicating the variation The image inspection apparatus according to claim 1, further comprising: 前記補正値取得部は、前記補正値関連付け情報に含まれるすべての前記バラつきを示す値について、算出された前記バラつきを示す値との差分値が所定の閾値以上である場合、前記読取画像の検査を中断することを特徴とする請求項1乃至4いずれか1項に記載の画像検査装置。   The correction value acquisition unit is configured to inspect the read image when a difference value between the calculated value indicating variation and a value indicating the variation included in the correction value association information is equal to or greater than a predetermined threshold. The image inspection apparatus according to claim 1, wherein the image inspection apparatus is interrupted. 検査の開始前に、濃度の異なる複数のカラーパッチが紙面上に印刷された用紙を読み取ったカラーパッチ読取画像を取得し、前記複数のカラーパッチ夫々の読取画像における濃度の値と、前記複数のカラーパッチを印刷するために用いられた濃度の値とを関連付けることにより、色変換情報を生成する色変換情報生成部を含み、
前記色調補正部は、生成された前記色変換情報を用いて前記検査用画像及び前記読取画像のいずれか一方を生成し、
前記無地領域判定部は、前記カラーパッチ読取画像から前記用紙の地色の領域を抽出し、
前記バラつき値算出部は、前記カラーパッチ読取画像から抽出された地色の領域の画素の濃度のバラつきを示す値を算出し、
前記補正値取得部は、前記カラーパッチ読取画像から抽出された地色の領域の画素の濃度のバラつきを示す値に対応する用紙の識別子を基準用紙識別子として前記補正値関連付け情報から取得して記憶媒体に格納すると共に、検査対象の読取画像から抽出された地色の領域の画素の濃度のバラつきを示す値に対応する用紙の識別子を検査対象用紙識別子として前記補正値関連付け情報から取得し、前記基準用紙識別子と前記検査対象用紙識別子とが異なる場合に、前記読取画像について算出された前記バラつきを示す値に対応する補正値を取得することを特徴とする請求項1乃至5いずれか1項に記載の画像検査装置、
Before the start of the inspection, a color patch read image obtained by reading a sheet on which a plurality of color patches having different densities are printed on a paper surface is obtained, and a density value in each read image of each of the plurality of color patches and the plurality of the plurality of color patches are read. Including a color conversion information generation unit that generates color conversion information by associating with the density value used for printing the color patch;
The color tone correction unit generates one of the inspection image and the read image using the generated color conversion information,
The plain area determination unit extracts a background color area of the paper from the color patch read image,
The variation value calculation unit calculates a value indicating variation in density of pixels in a ground color region extracted from the color patch read image;
The correction value acquisition unit acquires and stores from the correction value association information, as a reference sheet identifier, a sheet identifier corresponding to a value indicating the density variation of the pixels in the ground color region extracted from the color patch read image. And storing the identifier of the sheet corresponding to the value indicating the density variation of the pixel of the ground color area extracted from the read image to be inspected from the correction value association information as the inspection target sheet identifier, 6. The correction value corresponding to a value indicating the variation calculated for the read image is acquired when a reference sheet identifier and the inspection target sheet identifier are different from each other. The image inspection apparatus according to the description,
前記補正値取得部は、前記補正値関連付け情報に含まれるすべての前記バラつきを示す値について、前記カラーパッチ読取画像から抽出された地色の領域の画素の濃度のバラつきを示す値との差分値が所定の閾値以上である場合、生成された前記色変換情報を前記地色の領域の濃度による色調への影響を補正するための補正値として、前記カラーパッチ読取画像から抽出された地色の領域の画素の濃度のバラつきを示す値と関連付けて前記補正値関連付け情報を生成することを特徴とする請求項6に記載の画像検査装置。   The correction value acquisition unit, for all values indicating the variation included in the correction value association information, a difference value from a value indicating a variation in density of pixels in the ground color region extracted from the color patch read image Is equal to or greater than a predetermined threshold value, the generated color conversion information is used as a correction value for correcting the influence on the color tone due to the density of the background color region. The image inspection apparatus according to claim 6, wherein the correction value association information is generated in association with a value indicating variation in density of pixels in a region. 紙面上に印刷された画像を読み取った読取画像の検査を行う画像検査方法であって、
前記紙面上に印刷された画像が読み取られて生成された読取画像を取得し、
印刷するべき画像の情報に基づいて前記読取画像の検査を行うための検査用画像を生成し、
前記検査用画像と前記読取画像との差分に基づいて前記読取画像の欠陥を判定した検査結果を取得し、
取得された前記読取画像から、前記紙面上において顕色剤が付加されていない用紙の地色の領域を抽出し、
抽出された複数の前記地色の領域の画素の濃度のバラつきを示す値を算出し、
用紙毎に前記地色の領域の濃度による色調への影響を補正するための補正値と前記地色の領域の画素の濃度のバラつきを示す値とが関連付けられた補正値関連付け情報を参照し、算出された前記バラつきを示す値に対応する補正値を取得し、
生成された前記検査用画像及び前記読取画像のいずれか一方を取得された前記補正値に基づいて補正することを特徴とする画像検査方法。
An image inspection method for inspecting a read image obtained by reading an image printed on a paper surface,
Obtaining a read image generated by reading an image printed on the paper;
Generating an inspection image for inspecting the read image based on information of an image to be printed;
Obtaining an inspection result for determining a defect in the read image based on a difference between the image for inspection and the read image;
From the acquired read image, a ground color region of the paper to which no developer is added is extracted on the paper surface,
Calculating a value indicating a variation in density of pixels of the plurality of extracted ground color regions;
Refer to correction value association information in which a correction value for correcting the influence on the color tone due to the density of the background color area for each sheet is associated with a value indicating a variation in density of pixels in the background color area, Obtain a correction value corresponding to the calculated value indicating the variation,
An image inspection method, wherein either one of the generated inspection image and the read image is corrected based on the acquired correction value.
紙面上に印刷された画像を読み取った読取画像の検査を行う画像検査プログラムであって、
前記紙面上に印刷された画像が読み取られて生成された読取画像を取得するステップと、
印刷するべき画像の情報に基づいて前記読取画像の検査を行うための検査用画像を生成するステップと、
前記検査用画像と前記読取画像との差分に基づいて前記読取画像の欠陥を判定した検査結果を取得するステップと、
取得された前記読取画像から、前記紙面上において顕色剤が付加されていない用紙の地色の領域を抽出するステップと、
抽出された複数の前記地色の領域の画素の濃度のバラつきを示す値を算出するステップと、
用紙毎に前記地色の領域の濃度による色調への影響を補正するための補正値と前記地色の領域の画素の濃度のバラつきを示す値とが関連付けられた補正値関連付け情報を参照し、算出された前記バラつきを示す値に対応する補正値を取得するステップと、
生成された前記検査用画像及び前記読取画像のいずれか一方を取得された前記補正値に基づいて補正するステップとを情報処理装置に実行させることを特徴とする画像検査プログラム。
An image inspection program for inspecting a read image obtained by reading an image printed on a paper surface,
Obtaining a read image generated by reading an image printed on the paper;
Generating an inspection image for inspecting the read image based on information of an image to be printed;
Obtaining an inspection result in which a defect of the read image is determined based on a difference between the inspection image and the read image;
Extracting from the acquired read image a ground color region of the paper to which no developer is added on the paper surface;
Calculating a value indicating a variation in density of pixels of the plurality of extracted ground color regions;
Refer to correction value association information in which a correction value for correcting the influence on the color tone due to the density of the background color area for each sheet is associated with a value indicating a variation in density of pixels in the background color area, Obtaining a correction value corresponding to the calculated value indicating the variation;
An image inspection program that causes an information processing apparatus to execute a step of correcting one of the generated image for inspection and the read image based on the acquired correction value.
JP2013175830A 2013-08-27 2013-08-27 Image inspection apparatus, image inspection method, and image inspection program Active JP6171730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013175830A JP6171730B2 (en) 2013-08-27 2013-08-27 Image inspection apparatus, image inspection method, and image inspection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013175830A JP6171730B2 (en) 2013-08-27 2013-08-27 Image inspection apparatus, image inspection method, and image inspection program

Publications (2)

Publication Number Publication Date
JP2015046703A JP2015046703A (en) 2015-03-12
JP6171730B2 true JP6171730B2 (en) 2017-08-02

Family

ID=52671909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013175830A Active JP6171730B2 (en) 2013-08-27 2013-08-27 Image inspection apparatus, image inspection method, and image inspection program

Country Status (1)

Country Link
JP (1) JP6171730B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6575475B2 (en) * 2016-09-28 2019-09-18 京セラドキュメントソリューションズ株式会社 Image reading apparatus and image forming apparatus
JP6800743B2 (en) * 2016-12-27 2020-12-16 リコーエレメックス株式会社 Master image data creation device
JP6852430B2 (en) * 2017-02-07 2021-03-31 株式会社リコー Inspection equipment, inspection methods and programs
JP7010131B2 (en) * 2018-04-24 2022-01-26 株式会社リコー Color inspection equipment, image forming equipment, color inspection methods and programs
JP7145768B2 (en) * 2019-01-18 2022-10-03 コニカミノルタ株式会社 Inspection device, image forming system, inspection program, and inspection method
JP7363231B2 (en) * 2019-09-10 2023-10-18 コニカミノルタ株式会社 Image inspection device, image forming device, image inspection method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004320160A (en) * 2003-04-11 2004-11-11 Sharp Corp Device, method and program for image processing image reading apparatus provided with the processing device, image processing program, and recording medium
JP2008066923A (en) * 2006-09-06 2008-03-21 Seiko Epson Corp Calibration method and image forming apparatus
JP4725636B2 (en) * 2008-11-19 2011-07-13 富士ゼロックス株式会社 Image processing apparatus and program

Also Published As

Publication number Publication date
JP2015046703A (en) 2015-03-12

Similar Documents

Publication Publication Date Title
KR101730693B1 (en) Image inspection apparatus, image inspection system and image inspection method
JP6455016B2 (en) Image inspection apparatus, image forming system, and image inspection method
JP6318489B2 (en) Image inspection system and image inspection method
JP6295561B2 (en) Image inspection result determination apparatus, image inspection system, and image inspection result determination method
JP6241121B2 (en) Image inspection apparatus, image inspection system, and image inspection method
US10402961B2 (en) Inspection apparatus, inspection system, inspection method, and recording medium
US8780378B2 (en) Inspection apparatus, inspection method, inspection system, and storage medium
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
US10326916B2 (en) Inspection apparatus, inspection method and storage medium
JP6171730B2 (en) Image inspection apparatus, image inspection method, and image inspection program
JP2013057929A (en) Image inspection device, image formation device, control method for image inspection device, and image formation system
JP2013196587A (en) Image inspection apparatus and image inspection method
JP6007690B2 (en) Image inspection apparatus, image processing system, and image inspection method
JP2021107947A (en) Printed matter inspection equipment, printed matter inspection method, and printed matter inspection program
JP2016178477A (en) Color patch defect determination device, color processing apparatus, image inspection device, color patch defect determination program and color patch defect determination method
JP6705305B2 (en) Inspection device, inspection method and program
JP6635335B2 (en) Image inspection device and image forming system
JP2014153553A (en) Image inspection device, image inspection system, and image inspection method
JP6337541B2 (en) Image inspection apparatus, image forming system, and image inspection method
JP6447691B2 (en) Image inspection system and image inspection method
JP6326768B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6064645B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6070310B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6287379B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP2015166897A (en) Image inspection apparatus, image inspection system, and image inspection program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170407

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170619

R151 Written notification of patent or utility model registration

Ref document number: 6171730

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151