JP2017073750A - Image processing apparatus, image inspection apparatus, image processing method, and image processing program - Google Patents

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

Info

Publication number
JP2017073750A
JP2017073750A JP2015201437A JP2015201437A JP2017073750A JP 2017073750 A JP2017073750 A JP 2017073750A JP 2015201437 A JP2015201437 A JP 2015201437A JP 2015201437 A JP2015201437 A JP 2015201437A JP 2017073750 A JP2017073750 A JP 2017073750A
Authority
JP
Japan
Prior art keywords
image
value
adjacent
analysis unit
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015201437A
Other languages
Japanese (ja)
Other versions
JP6565575B2 (en
Inventor
寛美 石崎
Hiromi Ishizaki
寛美 石崎
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 JP2015201437A priority Critical patent/JP6565575B2/en
Publication of JP2017073750A publication Critical patent/JP2017073750A/en
Application granted granted Critical
Publication of JP6565575B2 publication Critical patent/JP6565575B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To accurately determine gradation characteristics of an apparatus based upon an output result even when printed matter which is output principally includes line drawings.SOLUTION: An image processing method comprises: acquiring, as an analysis unit, an image within a predetermined range of a master image; calculating a contiguity value by counting the number of pixels which adjoin a pixel determined to be colored and are determined to be plain; acquiring, as analysis units, an image within a predetermined range of an analysis unit having a continuity value calculated and an image within a predetermined range of a positioned read image; generating a density value as information associated with a density of an analysis unit based upon pixel values of pixels included in the analysis unit; acquiring pairs of contiguity values and density values respectively for a plurality of images within the predetermined range included in the master image; and estimating variation in gradation characteristics based upon pairs of contiguity values and density values using information showing correlation between both.SELECTED DRAWING: Figure 9

Description

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

従来、印字品質を評価することにより、装置の階調特性の経時変化を判断する方法が用いられている(例えば、特許文献1参照)。特許文献1に開示された技術においては、印刷物の撮像結果における各画素の反射強度を三段階以上の濃淡階調に分類し、各反射濃度に対する画素数のヒストグラムに基づいて印刷品質を評価している。   Conventionally, a method of determining a change with time in gradation characteristics of an apparatus by evaluating print quality has been used (see, for example, Patent Document 1). In the technique disclosed in Patent Document 1, the reflection intensity of each pixel in the printed image is classified into three or more gradation levels, and the print quality is evaluated based on the histogram of the number of pixels for each reflection density. Yes.

特許文献1に開示された技術においては、網点画像であるパッチが複数配置されて構成される所定パターンの印刷された対象物に対して光線を照射し、その反射光の受光強度に基づいて処理を行っている。このような構成は、網点画像によって構成されたパッチが光線の露光スポットよりも広い範囲を有し、網点画像の濃淡階調を取得することが前提となっている。   In the technique disclosed in Patent Document 1, light is irradiated to a printed object having a predetermined pattern configured by arranging a plurality of patches that are halftone images, and based on the received light intensity of the reflected light. Processing is in progress. Such a configuration is premised on that the patch formed by the halftone image has a wider range than the exposure spot of the light beam and obtains the grayscale of the halftone image.

従って、画像形成装置を通常動作させている場合において、出力される印刷物に描画される画像が、線によって描画された図形や文字等のまとまった印字範囲の狭い線画が主となる場合には、露光スポットが網点画像の印字範囲を超えてしまう場合が多くなる。その結果、印字範囲の反射光強度を適切に取得することができず、網点画像の濃淡階調を取得することができない。その結果、装置の階調特性を正確に判断することができない。   Accordingly, when the image forming apparatus is normally operated, when the image drawn on the printed matter to be output is mainly a line drawing with a narrow print range such as a figure or a character drawn by a line, In many cases, the exposure spot exceeds the printing range of the halftone image. As a result, the reflected light intensity in the printing range cannot be acquired appropriately, and the grayscale of the halftone image cannot be acquired. As a result, the gradation characteristics of the apparatus cannot be accurately determined.

本発明は上記実情に鑑みてなされたものであり、出力される印刷物が線画主体の場合であっても、出力結果に基づいて装置の階調特性を正確に推定することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to accurately estimate the gradation characteristics of an apparatus based on an output result even when a printed matter to be output is mainly a line drawing.

上記課題を解決するために、本発明の一態様は、画像形成出力を実行する画像形成装置の状態を、記録媒体上に画像形成出力された画像を読み取った読取画像に基づいて判断する画像処理装置であって、前記読取画像及び前記読取画像に対応する確認用画像を取得する情報取得部と、前記確認用画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素のうち、有色と判定された画素に隣接していて且つ無地と判定された画素の数をカウントして有色画素に隣接する無地画素の数に応じた値である隣接値を算出する隣接値算出部と、前記隣接値の算出された解析単位の所定範囲の画像と位置合わせされた読取画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素の画素値に基づいて前記解析単位における濃度に関する情報である濃度値を生成する濃度値算出部と、前記確認用画像に含まれる複数の前記所定範囲の画像について、前記隣接値及び濃度値の組を夫々取得する解析値取得部と、網点階調を解析可能な画像を含む所定の画像についての網点階調の解析結果による階調特性の変化と、上述した前記隣接値及び濃度値の組における前記濃度値の変化との相関関係を示す情報に基づき、前記隣接値及び濃度値の組に基づいて階調特性の変化を推定する状態変化推定部とを含むことを特徴とする。   In order to solve the above-described problem, according to one embodiment of the present invention, image processing for determining a state of an image forming apparatus that performs image formation output based on a read image obtained by reading an image formed and output on a recording medium. An information acquisition unit that acquires the read image and a confirmation image corresponding to the read image; and an image in a predetermined range in the confirmation image is acquired as an analysis unit, and the pixels included in the analysis unit Of these, an adjacent value calculation unit that counts the number of pixels that are adjacent to pixels that are determined to be colored and that is determined to be plain and calculates an adjacent value that is a value according to the number of plain pixels that are adjacent to the colored pixels And an image of a predetermined range in the read image aligned with the image of the predetermined range of the analysis unit for which the adjacent value is calculated as an analysis unit, and based on the pixel value of the pixel included in the analysis unit A density value calculation unit that generates a density value that is information about density in an analysis unit, and an analysis value acquisition that acquires a set of adjacent values and density values for each of the plurality of images in the predetermined range included in the confirmation image And a change in tone characteristics according to a result of halftone dot analysis for a predetermined image including an image whose halftone tone can be analyzed, and a change in the density value in the set of the adjacent value and the density value described above And a state change estimator for estimating a change in gradation characteristics based on the set of the adjacent value and the density value based on the information indicating the correlation with.

本発明によれば、出力される印刷物が線画主体の場合であっても、出力結果に基づいて装置の階調特性を正確に推定することができる。   According to the present invention, even when the printed matter to be output is mainly a line drawing, the gradation characteristics of the apparatus can be accurately estimated based on the output result.

本発明の実施形態に係る検査装置を含む画像形成システムの構成を示す図である。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. 本発明の実施形態に係るDFE、エンジンコントローラ、プリントエンジン、検査装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of DFE which concerns on embodiment of this invention, an engine controller, a print engine, and an inspection 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 master image process part which concerns on embodiment of this invention. 本発明の実施形態に係る検査制御部の機能構成を示す図である。It is a figure which shows the function structure of the test | inspection control part which concerns on embodiment of this invention. 本発明の実施形態に係る検査動作を示すフローチャートである。It is a flowchart which shows the test | inspection operation | movement which concerns on embodiment of this invention. 本発明の実施形態に係る階調特性判定部の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the gradation characteristic determination part which concerns on embodiment of this invention. 本発明の実施形態に係る隣接率算出処理の態様を示す図である。It is a figure which shows the aspect of the adjacent rate calculation process which concerns on embodiment of this invention. 本発明の実施形態に係る隣接率算出処理の態様を示す図である。It is a figure which shows the aspect of the adjacent rate calculation process which concerns on embodiment of this invention. 本発明の実施形態に係る隣接率算出処理の態様を示す図である。It is a figure which shows the aspect of the adjacent rate calculation process which concerns on embodiment of this invention. 本発明の実施形態に係る擬似階調パラメータの算出動作を示すフローチャートである。It is a flowchart which shows the calculation operation | movement of the pseudo gradation parameter which concerns on embodiment of this invention. 網点階調値及び擬似階調値の経時変化態様を示す図である。It is a figure which shows the time-dependent change aspect of a halftone dot gradation value and a pseudo | simulation gradation value. 網点階調値及び擬似階調値の経時変化態様を示す図である。It is a figure which shows the time-dependent change aspect of a halftone dot gradation value and a pseudo | simulation gradation value. 網点階調値、疑似階調値の相関関係を示す図である。It is a figure which shows the correlation of a halftone dot value and a pseudo tone value.

以下、図面を参照して、本発明の実施形態を詳細に説明する。本実施形態においては、画像形成出力による出力結果を読み取った読取画像とマスター画像とを比較することにより出力結果を検査する検査装置を含む画像検査システムを例として説明する。そのようなシステムにおいて、出力される画像が線画主体の場合であっても、印刷出力の結果に基づいて装置の階調特性の経時変化を推定することが本実施形態に係る特徴である。図1は、本実施形態に係る画像形成システムの全体構成を示す図である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiment, an image inspection system including an inspection apparatus that inspects an output result by comparing a read image obtained by reading an output result by image formation output with a master image will be described as an example. In such a system, even when the output image is mainly a line drawing, it is a feature according to the present embodiment that the time-dependent change in the gradation characteristics of the apparatus is estimated based on the result of the print output. FIG. 1 is a diagram illustrating an overall configuration of an image forming system according to the present embodiment.

図1に示すように、本実施形態に係る画像形成システムは、DFE(Digital Front End)1、エンジンコントローラ2、プリントエンジン3、検査装置4及びインタフェース端末5を含む。DFE1は、受信した印刷ジョブに基づいて印刷出力するべき画像データ、即ち出力対象画像であるビットマップデータを生成し、生成したビットマップデータをエンジンコントローラ2に出力する画像処理装置である。   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, an inspection device 4, and an interface terminal 5. The DFE 1 is an image processing apparatus that generates image data to be printed based on a received print job, that is, bitmap data that is an output target image, and outputs the generated bitmap data to the engine controller 2.

エンジンコントローラ2は、DFE1から受信したビットマップデータに基づいてプリントエンジン3を制御して画像形成出力を実行させる。また、エンジンコントローラ2は、DFE1から受信したビットマップデータを、プリントエンジン3による画像形成出力の結果を検査装置4が検査する際に参照するための検査用画像の元となる情報として検査装置4に送信する。   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 uses the bitmap data received from the DFE 1 as information serving as a basis of an inspection image to be referred to when the inspection device 4 inspects the result of image formation output by the print engine 3. Send to.

プリントエンジン3は、エンジンコントローラ2の制御に従い、ビットマップデータに基づいて記録媒体である用紙に対して画像形成出力を実行する画像形成装置である。尚、記録媒体としては、上述した用紙の他、フィルム、プラスチック等のシート状の材料で、画像形成出力の対象物となるものであれば採用可能である。   The print engine 3 is an image forming apparatus that executes image formation output on a sheet as a recording medium based on bitmap data in accordance with control of the engine controller 2. As the recording medium, in addition to the above-described paper, a sheet-like material such as a film or plastic can be used as long as it is an object for image formation output.

検査装置4は、エンジンコントローラ2から入力されたビットマップデータに基づいてマスター画像を生成する。そして、検査装置4は、プリントエンジン3が出力した用紙を読取装置で読み取って生成した読取画像を上記生成したマスター画像と比較することにより、出力結果の検査を行う画像検査装置である。   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, the inspection device 4 notifies the engine controller 2 of information indicating the page determined as defective. Thereby, reprint control of the defective page is executed by the engine controller 2.

また、本実施形態に係る検査装置4は、読取画像を解析することにより、プリントエンジン3によって記録媒体上に形成される画像の階調特性を判断する機能を有する。そのような階調特性の判断機能において、プリントエンジン3によって出力される画像が線によって描画された図形や文字等、まとまった印字範囲の狭い線画が主となる場合に対応した機能が、本実施形態に係る要旨の1つである。   In addition, the inspection apparatus 4 according to the present embodiment has a function of determining gradation characteristics of an image formed on the recording medium by the print engine 3 by analyzing the read image. In such a gradation characteristic determination function, the function corresponding to the case where the image output by the print engine 3 is mainly a line drawing with a narrow print range such as a figure or a character drawn by a line is implemented in this embodiment. It is one of the gist which concerns on a form.

インタフェース端末5は、検査装置4による欠陥判定結果を確認するためのGUI(Graphical User Interface)や、検査におけるパラメータを設定するためのGUIを表示するための情報処理端末であり、PC(Personal Computer)等の一般的な情報処理端末によって実現される。   The interface terminal 5 is an information processing terminal for displaying a GUI (Graphical User Interface) for confirming a defect determination result by the inspection apparatus 4 and a GUI for setting parameters in the inspection, and is a PC (Personal Computer). This is realized by a general information processing terminal such as.

ここで、本実施形態に係るDFE1、エンジンコントローラ2、プリントエンジン3、検査装置4及びインタフェース端末5を構成するハードウェアについて、図2を参照して説明する。図2は、本実施形態に係る検査装置4のハードウェア構成を示すブロック図である。図2においては、検査装置4のハードウェア構成を示すが、他の装置についても同様である。   Here, hardware constituting the DFE 1, the engine controller 2, the print engine 3, the inspection apparatus 4, and the interface terminal 5 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 other apparatuses.

図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)として構成される。また、紙面上に出力された画像を読み取る読取装置も、専用デバイス80によって実現される。   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. A reading device that reads an image output on a paper surface is also realized by the dedicated device 80.

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

図3は、本実施形態に係るDFE1、エンジンコントローラ2、プリントエンジン3及び検査装置4の機能構成を示すブロック図である。図3においては、データの送受信を実線で、用紙の流れを破線で示している。図3に示すように、本実施形態に係るDFE1は、ジョブ情報処理部101及びRIP処理部102を含む。また、エンジンコントローラ2は、データ取得部201、エンジン制御部202、ビットマップ送信部203を含む。また、プリントエンジン3は、印刷処理部301を含む。また、検査装置4は、読取装置400、読取画像取得部401、マスター画像処理部402、検査制御部403及び比較検査部404を含む。   FIG. 3 is a block diagram illustrating functional configurations of the DFE 1, the engine controller 2, the print engine 3, and the inspection device 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 illustrated in FIG. 3, the DFE 1 according to the present embodiment includes a job information processing unit 101 and a RIP processing unit 102. The engine controller 2 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.

ジョブ情報処理部101は、DFE1外部からネットワークを介して入力される印刷ジョブや、オペレータの操作によりDFE1内部に格納された画像データに基づいて生成される印刷ジョブに基づき、画像形成出力の実行を制御する。画像形成出力の実行に際して、ジョブ情報処理部101は、印刷ジョブに含まれる画像データに基づき、RIP処理部102にビットマップデータを生成させる。   The job information processing unit 101 executes image formation output based on a print job input from outside the DFE 1 via a network or a print job generated based on image data stored in the DFE 1 by an operator's operation. Control. When executing the image formation output, the job information processing unit 101 causes the RIP processing unit 102 to generate bitmap data based on the image data included in the print job.

RIP処理部102は、ジョブ情報処理部101の制御に従い、印刷ジョブに含まれる画像データに基づいてプリントエンジン3が画像形成出力を実行するためのビットマップデータを生成する。ビットマップデータは、画像形成出力するべき画像を構成する各画素の情報である。   The RIP processing unit 102 generates bitmap data for the print engine 3 to execute image formation output based on the image data included in the print job, under the control of the job information processing unit 101. Bitmap data is information of each pixel constituting an image to be imaged and output.

本実施形態に係るプリントエンジン3は、CMYK(Cyan,Magenta,Yellow,blacK)各色二値の画像に基づいて画像形成出力を実行する。これに対して、一般的に、印刷ジョブに含まれる画像のデータは、一画素が256階調等の多階調で表現された多値画像である。そのため、RIP処理部102は、印刷ジョブに含まれる画像データを多値画像から少値画像に変換して、CMYK各色二値のビットマップデータを生成し、エンジンコントローラ2に送信する。   The print engine 3 according to the present embodiment executes image formation output based on binary images of CMYK (Cyan, Magenta, Yellow, blackK). On the other hand, generally, image data included in a print job is a multi-valued image in which one pixel is expressed by multi-gradation such as 256 gradations. Therefore, the RIP processing unit 102 converts the image data included in the print job from a multi-valued image to a small-valued image, generates CMYK binary data for each color, and transmits it to the engine controller 2.

データ取得部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. 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 output by printing performed by the print processing unit 301 and outputs a read image. 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による検査の対象となる。読取画像は、画像形成出力によって出力された用紙の紙面を読み取って生成された画像であるため、出力結果を示す画像となる。読取画像取得部401は、印刷用紙の紙面が読取装置400によって読み取られて生成された読取画像の情報を取得する。読取画像取得部401が取得した読取画像の情報は、比較検査のために比較検査部404に入力される。尚、比較検査部404への読取画像の入力は検査制御部403の制御によって実行される。その際、検査制御部403が読取画像を取得してから比較検査部404に入力する。   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. 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 comparison inspection unit 404 for 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が、読取画像の検査を行うための確認用画像であるマスター画像を出力対象画像に基づいて生成する検査用画像生成部として機能する。マスター画像処理部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 a confirmation image for performing inspection of a read image, based on an output target image. The master image generation processing by the master image processing unit 402 will be described in detail later.

検査制御部403は、検査装置4全体の動作を制御する制御部であり、検査装置4に含まれる各構成は検査制御部403の制御に従って動作する。比較検査部404は、読取画像取得部401から入力される読取画像とマスター画像処理部402が生成したマスター画像とを比較し、意図した通りの画像形成出力が実行されているか否かを判断する。比較検査部404は、膨大な計算量を迅速に処理するために上述したASICによって構成される。本実施形態においては、検査制御部403が、比較検査部404を制御することによって画像検査部として機能すると共に、比較検査部404による検査結果を取得する検査結果取得部として機能する。   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. 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, and determines whether or not the intended image formation output is being executed. . The comparison inspection unit 404 is configured by the ASIC described above in order to quickly process a huge amount of calculation. In the present embodiment, the inspection control unit 403 functions as an image inspection unit by controlling the comparative inspection unit 404 and also functions as an inspection result acquisition unit that acquires an inspection result by the comparative inspection unit 404.

比較検査部404においては、上述したようにRGB各色8bitで表現された200dpiの読取画像及びマスター画像を対応する画素毎に比較し、夫々の画素毎に上述したRGB各色8bitの画素値の差分値を算出する。そのようにして算出した差分値と閾値との大小関係に基づき、検査制御部403は、読取画像における欠陥の有無を判断する。即ち、検査制御部403が検査装置4に含まれる各部を制御することにより画像検査部として機能する。   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 between the 8 bit 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. That is, the inspection control unit 403 functions as an image inspection unit by controlling each unit included in the inspection apparatus 4.

尚、読取画像とマスター画像との比較に際して、比較検査部404は、図4に示すように、所定範囲毎に分割されたマスター画像を、分割された範囲に対応する読取画像に重ね合わせて各画素の画素値、即ち濃度の差分算出を行う。このような処理は、検査制御部403が、重ね合わせる範囲の画像をマスター画像及び読取画像夫々から取得し、比較検査部404に入力することによって実現される。   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. Such processing is realized by the inspection control unit 403 acquiring images in the overlapping range from the master image and the read image and inputting them to the comparison inspection unit 404.

更に、検査制御部403は、分割された範囲を読取画像に重ね合わせる位置を縦横にずらしながら、即ち、読取画像から取得する画像の範囲を縦横にずらしながら、算出される差分値の合計値が最も小さくなる位置を正確な重ね合わせの位置として決定すると共に、その際に算出された各画素の差分値を比較結果として採用する。そのため、比較検査部404は、各画素の差分値と共に、位置合わせの位置として決定した際の縦横のずれ量を出力することが可能である。   Further, the inspection control unit 403 shifts the position where the divided range is superimposed on the read image vertically, that is, while shifting the range of the image acquired from the read image vertically and horizontally, the total difference value calculated is calculated. The smallest position is determined as an accurate overlay position, and the difference value of each pixel calculated at that time is adopted as a comparison result. Therefore, the comparison inspection unit 404 can output the vertical and horizontal deviation amounts when determined as the alignment position together with the difference value of each pixel.

図4に示すように方眼状に区切られている夫々のマスが、上述した各画素の差分値を合計する所定範囲である。また、図4に示す夫々の分割範囲のサイズは、例えば、上述したようにASICによって構成される比較検査部404が一度に画素値の比較を行うことが可能な範囲に基づいて決定される。   As shown in FIG. 4, each square divided into a grid is a predetermined range in which the difference values of the pixels described above are summed. 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.

このような処理により、読取画像とマスター画像とが位置合わせされた上で差分値が算出される。このように算出された差分値が所定の閾値と比較されることにより、画像の欠陥が判定される。また、例えば、読取画像全体とマスター画像全体とで縮尺に差異があったとしても、図4に示すように範囲毎に分割して位置合わせを行うことにより、縮尺の際による影響を低減することが可能となる。   By such processing, the difference value is calculated after the read image and the master image are aligned. By comparing the difference value calculated in this way with a predetermined threshold value, a defect in the image is determined. Further, for example, even if there is a difference in scale between the entire read image and the entire master image, the influence of the scale is reduced by dividing and positioning for each range as shown in FIG. Is possible.

また、図4に示すように分割された夫々の範囲において、隣接する範囲の位置ずれ量は比較的近いことが予測される。従って、分割された夫々の範囲についての比較検査を行う際、隣接する領域の比較検査によって決定された位置ずれ量を中心として上述した縦横にずらしながらの計算を行うことにより、縦横にずらしながら計算を行う回数を少なくしても、正確な重ね合わせ位置による計算が実行される可能性が高く、全体として計算量を減らすことが出来る。   Further, in each of the divided ranges as shown in FIG. 4, it is predicted that the amount of positional deviation between adjacent ranges is relatively close. Therefore, when performing the comparison inspection for each divided range, the calculation is performed while shifting the image in the vertical and horizontal directions by performing the above-described calculation while shifting the image in the vertical and horizontal directions with the positional deviation amount determined by the comparative inspection of the adjacent region as the center. Even if the number of times of performing is reduced, there is a high possibility that the calculation based on the accurate overlay position is executed, and the calculation amount as a whole can be reduced.

また、本実施形態に係る検査制御部403は、上述したように、読取画像を解析することによってプリントエンジン3の階調特性を判断する。この機能については後に詳述する。   Further, as described above, the inspection control unit 403 according to the present embodiment determines the gradation characteristics of the print engine 3 by analyzing the read image. This function will be described in detail later.

次に、プリントエンジン3及び検査装置4の機械的な構成及び用紙の搬送経路について、図5を参照して説明する。図5に示すように、本実施形態に係るプリントエンジン3に含まれる印刷処理部301は、無端状移動手段である搬送ベルト11に沿って各色の感光体ドラム12Y、12M、12C、12K(以降、総じて感光体ドラム12とする)が並べられた構成を備えるものであり、所謂タンデムタイプといわれるものである。すなわち、給紙トレイ13から給紙される用紙(記録媒体の一例)に転写するための中間転写画像が形成される中間転写ベルトである搬送ベルト11に沿って、この搬送ベルト11の搬送方向の上流側から順に、感光体ドラム12Y、12M、12C、12Kが配列されている。   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 the present embodiment includes the photosensitive drums 12 </ b> Y, 12 </ b> M, 12 </ b> C, and 12 </ b> K (hereinafter referred to as “photosensitive drums”) along the conveyance belt 11 that is an endless moving unit. In general, the photosensitive drum 12 is arranged in a row, and is called a so-called tandem type. That is, along the conveyance belt 11 that 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 13 is formed, Photosensitive drums 12Y, 12M, 12C, and 12K are arranged in order from the upstream side.

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

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

読取装置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.

次に、本実施形態に係るマスター画像処理部402の機能構成について説明する。図6は、マスター画像処理部402内部の構成を示すブロック図である。図6に示すように、マスター画像処理部402は、少値多値変換処理部421、解像度変換処理部422、色変換処理部423及び画像出力処理部424を含む。尚、本実施形態に係るマスター画像処理部402は、図2において説明した専用デバイス80、即ち、ASICとして構成されたハードウェアが、ソフトウェアの制御に従って動作することにより実現される。   Next, a functional configuration of the master image processing unit 402 according to the present embodiment will be described. FIG. 6 is a block diagram illustrating an internal configuration of the master image processing unit 402. As illustrated 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 processing unit 424. Note that the master image processing unit 402 according to the present embodiment is realized by operating the dedicated device 80 described in FIG. 2, that is, hardware configured as an ASIC, according to software control.

少値多値変換処理部421は、有色/無色で表現された二値画像に対して少値/多値変換処理を実行して多値画像を生成する。本実施形態に係るビットマップデータは、プリントエンジン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 bitmap data according to the present embodiment is information to be input to the print engine 3, and the print engine 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), which is the basic three primary colors, and is a multi-valued image. The image is converted into a multi-valued image. As the multivalued image, for example, an image expressed by 8 bits for each of CMYK can be used.

少値多値変換処理部421は、少値/多値変換処理として、8bit拡張処理、平滑化処理を行う。8bit拡張処理は、0/1の1bitであるデータを8bit化し、「0」は「0」のまま、「1」は「255」に変換する処理である。平滑処理は、8bit化されたデータに対して平滑化フィルタを適用し、画像を平滑化する処理である。   The small value / multivalue conversion processing unit 421 performs an 8-bit extension process and a smoothing process as the small value / multivalue conversion process. The 8-bit extension process is a process of converting 0/1 data, which is 1 bit, into 8 bits, converting “0” to “0” and converting “1” to “255”. The smoothing process is a process of smoothing an image by applying a smoothing filter to 8-bit data.

尚、本実施形態においては、プリントエンジン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.

また、プリントエンジン3が1bitではなく2bit等の少値の画像に基づいて画像形成出力を行う機能を有する場合もあり得る。その場合、8bit拡張処理の機能を変更することにより対応することができる。即ち、2bitの場合、階調値は0、1、2、3の4値である。従って、8bit拡張に際しては、「0」は「0」、「1」は「85」、「2」は「170」、「3」は「255」に変換する。   In addition, the print engine 3 may have a function of performing image formation output based on a low-value image such as 2 bits instead of 1 bit. In this case, it can be dealt with by changing the function of the 8-bit extension processing. That is, in the case of 2 bits, the gradation value is four values of 0, 1, 2, and 3. Therefore, in the case of 8-bit expansion, “0” is converted to “0”, “1” is converted to “85”, “2” is converted to “170”, and “3” is converted to “255”.

解像度変換処理部422は、少値多値変換処理部421によって生成された多値画像の解像度を、検査対象の画像である読取画像の解像度に合わせるように解像度変換を行う。本実施形態においては、読取装置400は200dpiの読取画像を生成するため、解像度変換処理部422は、少値多値変換処理部421によって生成された多値画像の解像度を200dpiに変換する。また、本実施形態に係る解像度変換処理部422は、解像度変換に際して、印刷処理部301によって出力される用紙の収縮等を考慮して予め定められた倍率に基づいて解像度変換後の画像のサイズを調整する。   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. In addition, the resolution conversion processing unit 422 according to the present embodiment determines the size of the image after resolution conversion based on a predetermined magnification in consideration of the shrinkage of the paper output by the print processing unit 301 during resolution conversion. adjust.

色変換処理部423は、解像度変換処理部422によって解像度が変換された画像を取得して階調変換及び色表現形式の変換を行う。階調変換処理は、印刷処理部301によって紙面上に形成される画像の色調及び読取装置400によって読み取られて生成される画像の色調に、マスター画像の色調を合わせるための色調の変換処理である。   The color conversion processing unit 423 acquires an image whose resolution has been converted by the resolution conversion processing unit 422, and performs gradation conversion and color expression format conversion. The tone conversion processing is color tone conversion processing for matching the color tone of the master image with the color tone of the image formed on the paper surface by the print processing unit 301 and the color tone of the image read and generated by the reading device 400. .

このような処理は、例えば、様々な階調色のカラーパッチを含む画像が印刷処理部301によって紙面上に形成され、その用紙を読み取って生成された読取画像における各カラーパッチの階調値と、夫々のカラーパッチを形成するための元の画像における階調値とが関連付けられた階調変換テーブルを用いて行われる。即ち、色変換処理部423は、このような階調変換テーブルに基づき、解像度変換処理部422が出力した画像の各色の階調値を変換する。   Such processing includes, for example, an image including color patches of various gradation colors formed on the paper surface by the print processing unit 301, and the gradation value of each color patch in the read image generated by reading the paper. This is performed using a gradation conversion table in which the gradation values in the original image for forming each color patch are associated with each other. That is, the color conversion processing unit 423 converts the gradation value of each color of the image output from the resolution conversion processing unit 422 based on such a gradation conversion table.

色表現形式の変換処理は、CMYK形式の画像をRGB形式の画像に変換する処理である。上述したように、本実施形態に係る読取画像はRGB形式の画像であるため、色変換処理部423は、階調変換処理のされたCMYK形式の画像をRGB形式に変換する。この色表現形式の変換処理は、RGB形式の各色の値をCMYK形式の各色の値に基づいて算出するための計算式を用いて実行される場合の他、上述した階調変換処理と同様に、CMYK形式の値とRGB形式の値とが関連付けられた変換テーブルに基づいて実行される。   The color representation format conversion process is a process for converting an image in the CMYK format into an image in the RGB format. As described above, since the read image according to this embodiment is an RGB format image, the color conversion processing unit 423 converts the CMYK format image that has been subjected to the gradation conversion processing into an RGB format. This color representation format conversion process is executed in the same manner as the above-described gradation conversion process, except that it is executed using a calculation formula for calculating the values of each color in the RGB format based on the values of each color in the CMYK format. , Based on a conversion table in which CMYK format values and RGB format values are associated with each other.

尚、CMYK形式の値とRGB形式の値とが関連付けられた変換テーブルであって、上述した階調変換が考慮された変換テーブルを用いることにより、上述した階調変換及び色表現形式の変換を同時に実行することも可能である。そのような処理により、処理負荷を低減することが可能である。   Note that the above-described gradation conversion and color expression format conversion are performed by using a conversion table in which CMYK format values and RGB format values are associated with each other and considering the above-described gradation conversion. It is also possible to execute them simultaneously. Such processing can reduce the processing load.

色変換処理部423までの処理により、画素毎にRGB各色8bit(合計24bit)で表現された200dpiの多値画像が生成される。このようにして生成された画像がマスター画像として用いられる。   Through the processing up to the color conversion processing unit 423, a 200 dpi multi-value image expressed by RGB each color 8 bits (24 bits in total) is generated for each pixel. The image generated in this way is used as a master image.

画像出力処理部424は、色変換処理部423までの処理によって生成されたマスター画像を出力する。これにより、検査制御部403が、マスター画像処理部402からマスター画像を取得する。   The image output processing unit 424 outputs the master image generated by the processing up to the color conversion processing unit 423. As a result, the inspection control unit 403 acquires a master image from the master image processing unit 402.

次に、本実施形態に係る検査制御部403の機能構成について説明する。図7は、本実施形態に係る検査制御部403の機能構成を示すブロック図である。また、図8は、本実施形態に係る検査制御部403による1ページ分の画像検査の動作を示すフローチャートである。図7に示すように、本実施形態に係る検査制御部403は、情報入力部431、差分画像取得部432、欠陥判定部433、コントローラ通信部434及び階調特性判定部500を含む。   Next, a functional configuration of the inspection control unit 403 according to the present embodiment will be described. FIG. 7 is a block diagram illustrating a functional configuration of the inspection control unit 403 according to the present embodiment. FIG. 8 is a flowchart showing an image inspection operation for one page by the inspection control unit 403 according to the present embodiment. As shown in FIG. 7, the inspection control unit 403 according to the present embodiment includes an information input unit 431, a difference image acquisition unit 432, a defect determination unit 433, a controller communication unit 434, and a gradation characteristic determination unit 500.

本実施形態に係る検査制御部403においては、図8に示すように、まず情報入力部431が、マスター画像処理部402からマスター画像を取得し(S801)、読取画像取得部401から読取画像を取得する(S802)。S801の処理とS802の処理とは前後関係に制約はないため、逆の順序で実行されても良いし並列して実行されても良い。   In the inspection control unit 403 according to the present embodiment, as illustrated in FIG. 8, first, the information input unit 431 acquires a master image from the master image processing unit 402 (S801), and acquires a read image from the read image acquisition unit 401. Obtain (S802). Since the process of S801 and the process of S802 are not restricted in context, they may be executed in the reverse order or may be executed in parallel.

マスター画像及び読取画像を取得した情報入力部431は、図4において説明したように、マスター画像及び読取画像から夫々所定範囲の画像を抽出して比較検査部404に入力することにより、比較検査部404に画像の比較検査を実行させる(S803)。   As described with reference to FIG. 4, the information input unit 431 that has acquired the master image and the read image extracts a predetermined range of images from the master image and the read image and inputs the images to the comparison inspection unit 404, thereby comparing the inspection unit. In step S <b> 803, the image is subjected to a comparison inspection 404.

S803の処理により、読取画像を構成する各画素とマスター画像を構成する各画素との差分値を示す差分画像が生成され、生成された差分画像を差分画像取得部432が取得する。差分画像取得部432が取得した差分画像に基づき、欠陥判定部433によって欠陥判定が実行される(S804)。   By the processing of S803, a difference image indicating a difference value between each pixel constituting the read image and each pixel constituting the master image is generated, and the difference image acquisition unit 432 acquires the generated difference image. Defect determination is performed by the defect determination unit 433 based on the difference image acquired by the difference image acquisition unit 432 (S804).

S804においては。欠陥判定部433が、差分画像を構成する各画素の値と予め設定された閾値とを比較することにより、夫々のページに欠陥が含まれるか否かを判定する。また、欠陥として判定された画素のラベリング処理等を行うことにより、欠陥位置の特定や、欠陥種類の特定等を行って欠陥判定の結果を示す情報を生成する。   In S804. The defect determination unit 433 determines whether each page includes a defect by comparing the value of each pixel constituting the difference image with a preset threshold value. In addition, by performing a labeling process or the like of the pixel determined as a defect, information indicating a defect determination result is generated by specifying a defect position, specifying a defect type, or the like.

また、階調特性判定部500が、情報入力部431から読取画像及びマスター画像を取得し、階調特性判定を行う(S805)。S805における階調特性判定処理については後に詳述する。尚、S803、S804の処理とS805の処理とは、逆の順番で実行されても良いし、平行して実行されても良い。欠陥判定処理及び階調特性判定処理が完了すると、コントローラ通信部434が、欠陥判定結果及び階調特性判定結果に基づいて再印刷要求や階調特性の経時変化通知等のエンジン制御を実行する(S806)。このような処理により、本実施形態に係る画像検査動作が完了する。   In addition, the gradation characteristic determination unit 500 acquires the read image and the master image from the information input unit 431, and performs gradation characteristic determination (S805). The gradation characteristic determination process in S805 will be described in detail later. Note that the processes of S803 and S804 and the process of S805 may be executed in the reverse order or may be executed in parallel. When the defect determination process and the gradation characteristic determination process are completed, the controller communication unit 434 executes engine control such as a reprint request or a gradation characteristic change with time based on the defect determination result and the gradation characteristic determination result ( S806). By such processing, the image inspection operation according to the present embodiment is completed.

次に、S805の階調特性判定動作について説明する。図9は、本実施形態に係る階調特性判定部500の詳細な機能構成を示すブロック図である。図9に示すような機能ブロックを構成するためのプログラムが、本実施形態に係る装置状態を判断するための画像処理プログラムとして用いられる。   Next, the gradation characteristic determination operation in S805 will be described. FIG. 9 is a block diagram illustrating a detailed functional configuration of the gradation characteristic determination unit 500 according to the present embodiment. A program for configuring functional blocks as shown in FIG. 9 is used as an image processing program for determining the apparatus state according to the present embodiment.

情報入力部431から階調特性判定部500に対して読取画像及びマスター画像が入力される。入力された読取画像及びマスター画像は、網点階調算出部501及び情報取得部502に夫々入力される。   A read image and a master image are input from the information input unit 431 to the gradation characteristic determination unit 500. The input read image and master image are input to the halftone gradation calculation unit 501 and the information acquisition unit 502, respectively.

網点階調算出部501は、網点階調を算出する。網点階調とは、網点率に応じた階調値である。従って、網点階調算出部501は、解析対象であるマスター画像を解析して、画像中の位置毎に夫々網点率を求めると共に、読取画像を解析して画像中の位置毎に夫々階調値を求める。そして、マスター画像から求められた網点率と、対応する読取画像中の位置から求められた階調値とを関連付けて網点階調を求める。   A halftone gradation calculator 501 calculates a halftone gradation. The halftone gradation is a gradation value corresponding to the halftone dot ratio. Accordingly, the halftone gradation calculation unit 501 analyzes the master image to be analyzed to obtain the halftone dot ratio for each position in the image, and analyzes the read image to analyze the master image for each position in the image. Find the key value. Then, the halftone dot gradation is obtained by associating the halftone dot ratio obtained from the master image with the gradation value obtained from the corresponding position in the read image.

情報取得部502は、本実施形態に係る特徴的な処理として擬似階調値の算出のための制御を行う。疑似階調値とは、有色画素に隣接する白画素の数に基づいて疑似的に網点率を表現する値である。そのため、情報取得部502は、入力されたマスター画像から所定範囲の画像を抽出して解析単位画像として隣接値算出部504に入力すると共に、その画像と位置合わせされた範囲を読み取り画像から抽出して濃度値算出部503に入力する。本実施形態に係る解析単位画像は、例えば縦横8画素、合計64画素の画像である。   The information acquisition unit 502 performs control for calculating a pseudo gradation value as characteristic processing according to the present embodiment. The pseudo gradation value is a value that represents a halftone dot rate based on the number of white pixels adjacent to a colored pixel. Therefore, the information acquisition unit 502 extracts an image of a predetermined range from the input master image, inputs the image as an analysis unit image to the adjacent value calculation unit 504, and extracts the range aligned with the image from the read image. To the density value calculation unit 503. The analysis unit image according to the present embodiment is, for example, an image of 8 pixels in the vertical and horizontal directions and a total of 64 pixels.

濃度値算出部503は、入力された読取画像を構成する各画素の画素値を合計して階調値を算出する。この階調値は、入力された読取画像の濃度に関する値であり、他に輝度値、明度値等を用いることが出来る。   The density value calculation unit 503 calculates the gradation value by summing up the pixel values of each pixel constituting the input read image. The gradation value is a value related to the density of the input read image, and a luminance value, a brightness value, or the like can be used.

隣接値算出部504は本実施形態に係る特徴的な処理を行うモジュールの1つである。隣接値算出部504は、入力されたマスター画像のうち、色の乗らない無地の画素であって且つ有色の画素に隣接している画素の数について、有色画素の数に対する割合を隣接率として求める。   The adjacent value calculation unit 504 is one of modules that perform characteristic processing according to the present embodiment. The adjacent value calculation unit 504 obtains, as an adjacent rate, the ratio of the number of pixels that are solid pixels that do not carry color and are adjacent to colored pixels in the input master image to the number of colored pixels. .

解析値取得部505は、濃度値算出部503及び隣接値算出部504から夫々算出結果を取得し、隣接率と階調値との組を1組のパラメータとして管理する。この1組のパラメータが解析値として用いられる。このパラメータが有する意味が、本実施形態に係る特徴の1つである。このパラメータが有する意味について、以下に説明する。   The analysis value acquisition unit 505 acquires the calculation results from the density value calculation unit 503 and the adjacent value calculation unit 504, respectively, and manages a set of the adjacent rate and the gradation value as one set of parameters. This set of parameters is used as an analysis value. The meaning of this parameter is one of the features according to this embodiment. The meaning of this parameter will be described below.

図10〜図12は、本実施形態に係る隣接率の意義を説明するための図であり、情報取得部502から隣接値算出部504に入力される所定範囲の画像の例を示す図である。図10〜図12においては、斜線を付した範囲が有色画素である。本実施形態に係る大元の目的は、網点階調を算出することによりプリントエンジン3の階調特性を判断することである。   10 to 12 are diagrams for explaining the significance of the adjacent rate according to the present embodiment, and are diagrams illustrating examples of images in a predetermined range input from the information acquisition unit 502 to the adjacent value calculation unit 504. . In FIG. 10 to FIG. 12, the shaded area is a colored pixel. The main purpose of this embodiment is to determine the gradation characteristics of the print engine 3 by calculating halftone gradation.

網点階調の判断手法は、一様な網点率で形成されたことを前提とした画像の読取結果の濃度を判断する手法が一般的である。この場合、ある程度の広さに渡って一様な網点率を有するパッチを印刷出力して読み取る必要がある。従って、線によって描画された図形や文字等の線画主体の画像では、階調特性の判断が難しい。   A method for determining the halftone gradation is generally a method for determining the density of an image reading result on the assumption that the image is formed with a uniform dot ratio. In this case, it is necessary to print out and read a patch having a uniform halftone dot ratio over a certain area. Therefore, it is difficult to determine the gradation characteristics of a line drawing-based image such as a figure or a character drawn by a line.

これに対して、網点階調の階調特性は、無地画素と有色画素との境界において特に大きく影響する。従って、所定範囲の画像において無地画素と有色画素との境界に位置する画像の数と有色画素の数との割合を“隣接率”というパラメータとして、隣接率に応じた階調値を解析することにより擬似的な階調特性を判断することが本実施形態に係る要旨の1つである。   On the other hand, the tone characteristics of the halftone dot are greatly affected at the boundary between the plain pixel and the colored pixel. Therefore, the gradation value corresponding to the adjacency rate is analyzed using the ratio of the number of images located at the boundary between the plain pixels and the colored pixels and the number of color pixels in the predetermined range image as the parameter “adjacency rate”. Thus, it is one of the gist according to the present embodiment to determine the pseudo gradation characteristics.

図10は、8×8の範囲に3つの有色画素が含まれる場合の例を示す図である。この場合、図中に破線で囲って示すように、有色画素に隣接する隣接画素の数は12画素である。従って、上述した隣接率は12/3=4で、「4」となる。   FIG. 10 is a diagram illustrating an example when three colored pixels are included in an 8 × 8 range. In this case, the number of adjacent pixels adjacent to the colored pixel is 12 pixels as shown by being surrounded by a broken line in the drawing. Therefore, the adjacency rate described above is 12/3 = 4, which is “4”.

図11は、8×8の範囲に2×3で6つの有色画素が含まれる場合の例を示す図である。この場合、図中に破線で囲って示すように、有色画素に隣接する隣接画素の数は14画素である。従って、上述した隣接率は14/6≒2.33で、「2.33」となる。   FIG. 11 is a diagram illustrating an example in which 6 × 6 colored pixels are included in an 8 × 8 range. In this case, as shown by being surrounded by a broken line in the figure, the number of adjacent pixels adjacent to the colored pixel is 14 pixels. Therefore, the above-described adjacency ratio is 14 / 6≈2.33, which is “2.33”.

図12は、8×8の範囲に3×3で9つの有色画素が含まれる場合の例を示す図である。この場合、図中に破線で囲って示すように、有色画素に隣接する隣接画素の数は16画素である。従って、上述した隣接率は16/9≒1.78で、「1.78」となる。このように、本実施形態に係る“隣接率”は、解析単位画像に含まれる画素のうち、有色画素に隣接する白画素の数に応じた値である。この値が、疑似階調値における網点率に対応した値として用いられる。   FIG. 12 is a diagram illustrating an example in which 9 × 9 colored pixels are included in an 8 × 8 range. In this case, the number of adjacent pixels adjacent to the colored pixel is 16 pixels as shown by being surrounded by a broken line in the drawing. Therefore, the above-described adjacency ratio is 16 / 9≈1.78, which is “1.78”. As described above, the “adjacent rate” according to the present embodiment is a value corresponding to the number of white pixels adjacent to the colored pixel among the pixels included in the analysis unit image. This value is used as a value corresponding to the halftone dot ratio in the pseudo gradation value.

情報取得部502は、マスター画像の全範囲を解析単位画像として選択して上述した1組のパラメータの算出を繰り返し実行させる。その結果、“隣接率”が同一であるパラメータが複数算出される場合もあり得るが、同一の“隣接率”に関連付けられている階調値が同一になるとは限らない。   The information acquisition unit 502 selects the entire range of the master image as the analysis unit image, and repeatedly executes the calculation of the set of parameters described above. As a result, a plurality of parameters having the same “adjacent rate” may be calculated, but the gradation values associated with the same “adjacent rate” are not necessarily the same.

従って、解析値取得部505は、“隣接率”が同一であるパラメータに含まれる階調値を平均処理部506に入力して平均値を算出させる。これにより、複数の“隣接率”に対して夫々の階調値が関連付けられたパラメータが生成されることとなる。このようにして生成されたパラメータはページ単位管理部507に入力される。   Therefore, the analysis value acquisition unit 505 inputs the gradation value included in the parameter having the same “adjacent rate” to the average processing unit 506 and calculates the average value. As a result, a parameter in which each gradation value is associated with a plurality of “adjacent ratios” is generated. The parameters generated in this way are input to the page unit management unit 507.

ページ単位管理部507は、解析用の画像に基づいて生成されたページ単位のパラメータを相関関係解析部508に入力する。相関関係解析部508は、網点階調算出部501によって算出された網点率毎の階調値と、ページ単位の擬似階調値とを比較し、両者の相関関係を解析する。そのようにして解析された網点階調と擬似階調との相関関係は状態変化推定部509に入力され、状態変化推定部509によって保持される。   The page unit management unit 507 inputs a page unit parameter generated based on the analysis image to the correlation analysis unit 508. The correlation analysis unit 508 compares the tone value for each halftone dot rate calculated by the halftone tone calculation unit 501 with the pseudo tone value for each page, and analyzes the correlation between them. The correlation between the halftone gradation and the pseudo gradation thus analyzed is input to the state change estimation unit 509 and held by the state change estimation unit 509.

つまり、本実施形態に係る階調特性判定部500においては、解析用の画像に基づいて網点階調算出部501が、網点率に応じた階調値を算出すると共に、上述した擬似階調値のパラメータが生成される。そして、そのようにして算出された情報に基づき、網点階調値の経時変化と、疑似階調値の経時変化との相関関係が算出される。   That is, in the gradation characteristic determination unit 500 according to the present embodiment, the halftone gradation calculation unit 501 calculates the gradation value according to the halftone ratio based on the analysis image, and the above-described pseudo-level. A key value parameter is generated. Based on the information thus calculated, the correlation between the halftone dot value change with time and the pseudo tone value change with time is calculated.

上述した解析用の画像とは、少なくとも網点階調を解析可能な画像であり、そのため、同一の網点率で形成された所定範囲以上のパッチを含む画像である。そのような解析用の画像についての網点階調及び擬似階調の解析により、上述した相関関係を算出することが可能となる。   The above-described analysis image is an image that can analyze at least halftone gradation, and is therefore an image including patches in a predetermined range or more formed at the same halftone ratio. The above-described correlation can be calculated by analyzing halftone dots and pseudo gradations for such an analysis image.

ページ単位管理部507は、上述したように相関関係が解析された後の通常動作においては、ページ単位のパラメータを状態変化推定部509に入力する。状態変化推定部509は、ページ単位管理部507から入力されるページ単位の擬似階調値のパラメータに基づき、上述した相関関係の情報に応じてプリントエンジン3の階調特性を推定してその結果を出力する。   In the normal operation after the correlation is analyzed as described above, the page unit management unit 507 inputs a page unit parameter to the state change estimation unit 509. The state change estimation unit 509 estimates the tone characteristics of the print engine 3 based on the above-described correlation information based on the page-wise pseudo tone value parameter input from the page unit management unit 507, and results thereof. Is output.

次に、本実施形態に係る階調特性判定部500の動作について図13のフローチャートを参照して説明する。図13に示すように、まずは情報取得部502が、入力されたマスター画像について解析対象の8×8の枠を設定する(S1301)。設定された枠内のマスター画像の情報は、解析単位画像として隣接値算出部504に入力される。   Next, the operation of the gradation characteristic determination unit 500 according to the present embodiment will be described with reference to the flowchart of FIG. As shown in FIG. 13, first, the information acquisition unit 502 sets an 8 × 8 frame to be analyzed for the input master image (S1301). Information on the master image within the set frame is input to the adjacent value calculation unit 504 as an analysis unit image.

隣接値算出部504は、入力された解析単位画像を構成する画素を1つ、対象画素として参照し(S1302)、その画素が白画素か否か判定する(S1303)。本実施形態に係るマスター画像は、RGB各色「0」〜「255」の値を有する256階調の画像である。S1303において隣接値算出部504は、このRGB各色の階調値に基づいて白画素か否かを判断する。   The adjacent value calculation unit 504 refers to one pixel constituting the input analysis unit image as a target pixel (S1302), and determines whether the pixel is a white pixel (S1303). The master image according to the present embodiment is an image of 256 gradations having values of RGB colors “0” to “255”. In S1303, the adjacent value calculation unit 504 determines whether or not the pixel is a white pixel based on the gradation values of each RGB color.

S1303の判断においては、例えばRGBすべてが「255」である、完全に白であることを示す画素か否かを判断しても良いし、白と判断する範囲に多少の範囲を持たせても良い。白と判断する範囲に多少の範囲を持たせる場合、例えばRGBすべての値に対して閾値を設定し、RGBすべての階調値が閾値を超えていれば白画素と判断する。   In the determination in S1303, for example, it may be determined whether or not all the RGB are “255” and are pixels that are completely white, or the range that is determined to be white may have a certain range. good. In order to give a certain range to the range determined to be white, for example, a threshold is set for all RGB values, and if all the RGB gradation values exceed the threshold, it is determined to be a white pixel.

S1303の判断の結果、対象の画素が白画素であると判断した場合(S1303/YES)、隣接値算出部504は、次に対象画素に隣接する縦横斜め8画素を参照し、有色画素が存在するか否かを判断する(S1304)。有色画素の判断に際しては、白画素でなければ有色画素と判断しても良いし、ある程度の濃度を有する場合に有色画素と判断しても良い。   As a result of the determination in S1303, when it is determined that the target pixel is a white pixel (S1303 / YES), the adjacent value calculation unit 504 next refers to the eight pixels in the vertical and horizontal directions adjacent to the target pixel, and there is a colored pixel. It is determined whether or not to perform (S1304). When determining a colored pixel, if it is not a white pixel, it may be determined as a colored pixel, or may be determined as a colored pixel if it has a certain density.

S1304の判断の結果、隣接画素が有色であった場合(S1304/YES)、隣接値算出部504は、選択中の画素が図10〜図12において説明した解析対象の画素であると判断し、有色の画素に隣接している画素の数aの値をインクリメントしてカウントする(S1305)。他方、隣接画素が有色ではなかった場合(S1304/NO)、隣接値算出部504はそのまま次の処理に進む。   As a result of the determination in S1304, if the adjacent pixel is colored (S1304 / YES), the adjacent value calculation unit 504 determines that the selected pixel is the pixel to be analyzed described in FIGS. The value of the number a of pixels adjacent to the colored pixel is incremented and counted (S1305). On the other hand, if the adjacent pixel is not colored (S1304 / NO), the adjacent value calculation unit 504 proceeds directly to the next process.

他方、S1303において白画素ではないと判断した場合、隣接値算出部504は、有色画素数bの値をインクリメントする(S1306)。隣接値算出部504は、S1302〜S1306までの処理を、選択中の解析単位画像が終了するまで繰り返し実行する(S1307/NO)。そして、選択中の解析単位画像について処理を完了すると、a/bの値を算出する(S1308)。この値が隣接率であり、上述した擬似階調値のパラメータとして用いられる。換言すると、S1308において算出される値は、有色画素に隣接する白画素数の、有色画素に対する割合であり、隣接値として用いられる。   On the other hand, if it is determined in S1303 that the pixel is not a white pixel, the adjacent value calculation unit 504 increments the value of the number of colored pixels b (S1306). The adjacent value calculation unit 504 repeatedly executes the processing from S1302 to S1306 until the selected analysis unit image is completed (S1307 / NO). When the processing is completed for the selected analysis unit image, the value of a / b is calculated (S1308). This value is the adjacency ratio and is used as a parameter of the above-described pseudo gradation value. In other words, the value calculated in S1308 is the ratio of the number of white pixels adjacent to the colored pixel to the colored pixel, and is used as the adjacent value.

1つの解析単位画像についての計算の終了に伴い、情報取得部502は、選択中の解析単位画像に位置合わせされた位置の読取画像を濃度値算出部503に入力する。これにより、濃度値算出部503は、入力された読取画像に含まれる画素の階調値を合計した合計階調値を算出する(S1309)。このようにして生成された隣接率と合計階調値との組が、上述したパラメータとして用いられる。   Upon completion of the calculation for one analysis unit image, the information acquisition unit 502 inputs a read image at a position aligned with the currently selected analysis unit image to the density value calculation unit 503. Accordingly, the density value calculation unit 503 calculates a total gradation value obtained by summing the gradation values of the pixels included in the input read image (S1309). A set of the adjacent rate and the total gradation value generated in this way is used as the parameter described above.

情報取得部502は、入力された1ページ分のマスター画像の全範囲についてS1301からの処理が終了するまで処理を繰り返す(S1310/NO)。そして、1ページ分のマスター画像について処理が終了したら(S1310/YES)、処理を終了する。   The information acquisition unit 502 repeats the process for the entire range of the input master image for one page until the process from S1301 ends (S1310 / NO). Then, when the processing is completed for the master image for one page (S1310 / YES), the processing is terminated.

図14は、このような動作により算出されたパラメータ値について、隣接率を横軸に、疑似階調値を縦軸にとったプロットと、網点階調算出部501によって算出された網点階調について、網点率を横軸に、階調値を縦軸にとったプロットとを比較する図である。図14に示すように、プリントエンジン3による印刷出力の枚数が1枚、100枚、1000枚と増えていくにつれて、網点階調の階調値も、疑似階調値も下降していく。図14においては、1枚におけるプロットを100枚、1000枚において小さな点で示している。   FIG. 14 shows a plot of the parameter value calculated by such an operation with the adjacency rate on the horizontal axis and the pseudo gradation value on the vertical axis, and the halftone scale calculated by the halftone gradation calculation unit 501. It is a figure which compares with the plot which took the halftone dot rate on the horizontal axis, and made the gradation value the vertical axis | shaft about a tone. As shown in FIG. 14, as the number of print outputs by the print engine 3 increases to 1, 100, and 1000, both the gradation value of the halftone gradation and the pseudo gradation value decrease. In FIG. 14, the plot on one sheet is shown by small dots on 100 sheets and 1000 sheets.

相関関係解析部508は、図15に示すように、印刷出力枚数に応じた擬似階調値の変化値ΔYa1、ΔYa2・・・を算出して平均値ΔYaを求める。また、網点階調の階調値の変化値ΔYb1、ΔYb2・・・を算出して平均値ΔYbを求める。そして、相関関係解析部508は、同一の印刷出力枚数の変化量において求められたΔYa、ΔYbを1組として、印刷出力の枚数に応じて複数のΔYa、ΔYbの組を求める。   As shown in FIG. 15, the correlation analysis unit 508 calculates pseudo tone value change values ΔYa1, ΔYa2,... According to the number of printed output sheets to obtain an average value ΔYa. Also, change values ΔYb1, ΔYb2,... Of halftone values are calculated to obtain an average value ΔYb. Then, correlation analysis section 508 obtains a set of a plurality of ΔYa and ΔYb according to the number of print outputs, with ΔYa and ΔYb obtained for the change amount of the same print output number as one set.

そのようにして求められたΔYa、ΔYbの組を縦軸、横軸に夫々ΔYa、ΔYbをとった空間にプロットすると、図16に示すようなグラフが得られる。このようなプロットに対して近似式を得ることにより、ΔYaの変化に応じたΔYbの変化を推定することが可能となる。即ち、相関関係解析部508は、ΔYaの変化に対するΔYbの変化を求める近似式を、相関関係の情報として求める。このようにして得られた近似式が、状態変化推定部509によって保持される。   When the set of ΔYa and ΔYb thus obtained is plotted in a space with ΔYa and ΔYb on the vertical axis and ΔYb on the horizontal axis, respectively, a graph as shown in FIG. 16 is obtained. By obtaining an approximate expression for such a plot, it is possible to estimate a change in ΔYb corresponding to a change in ΔYa. That is, the correlation analysis unit 508 obtains an approximate expression for obtaining a change in ΔYb with respect to a change in ΔYa as correlation information. The approximate expression obtained in this way is held by the state change estimation unit 509.

以降、階調特性判定部500においては、図13において説明した動作により、ページ単位の擬似階調のパラメータを生成する。そのようにして生成されたページ単位の擬似階調のパラメータは上述したΔYaとして状態変化推定部509に入力される。状態変化推定部509が、図16に示すようなプロットの近似式に基づき、入力されたΔYaに基づいてΔYbを求めることにより、プリントエンジン3の階調特性の変化を推定する。   Thereafter, the gradation characteristic determination unit 500 generates a pseudo gradation parameter for each page by the operation described with reference to FIG. The pseudo gradation parameter generated in such a manner is input to the state change estimation unit 509 as ΔYa described above. The state change estimation unit 509 estimates the change in the gradation characteristics of the print engine 3 by obtaining ΔYb based on the input ΔYa based on the approximate expression of the plot as shown in FIG.

以上説明したように、本実施形態に係る検査装置4は、マスター画像において有色画素に隣接している白画素の数に応じて定められた“隣接率”に応じた階調値を求める機能を有する。この隣接率に応じた階調値の変化は、装置の経時変化に伴う階調特性の変化において、網点階調の階調値の変化との相関関係が強い。従って、そのような相関関係を把握することにより、隣接率に応じた階調値の変化に基づいてプリントエンジン3の階調特性を判断することが可能である。   As described above, the inspection apparatus 4 according to the present embodiment has a function of obtaining a gradation value according to the “adjacency ratio” determined according to the number of white pixels adjacent to the colored pixels in the master image. Have. The change in the gradation value according to the adjacency ratio has a strong correlation with the change in the gradation value of the halftone dot in the change in the gradation characteristics accompanying the change with time of the apparatus. Therefore, by grasping such a correlation, it is possible to determine the tone characteristics of the print engine 3 based on the change in tone value according to the adjacency ratio.

そして、網点階調の階調値を求める場合には、所定の広さ以上にわたって同一の網点率で形成されたパッチの読み取り結果が必要であるが、この隣接率に応じた階調値であれば、そのような制約がなく、線画主体の画像からでも求めることが可能である。従って、本実施形態に係る方法を用いることにより、線画主体の画像からであっても、プリントエンジン3の階調特性を求めることが可能である。   Then, when obtaining the gradation value of the halftone dot gradation, it is necessary to read a patch formed with the same halftone dot ratio over a predetermined area. If so, there is no such restriction, and it can be obtained from an image mainly composed of line drawings. Therefore, by using the method according to the present embodiment, it is possible to obtain the gradation characteristics of the print engine 3 even from an image mainly composed of line drawings.

尚、上記実施形態においては、図14等に示す擬似階調に対する横軸の値として、有色画素に隣接する白画素の数を有色画素数で割った値を用いる場合を例として説明した。しかしながらこれは一例であり、この横軸の値の趣旨は、同一の網点率で形成された所定の広さ以上の画像領域がないために網点率を求めることが困難な場合において、網点率の代わりに用いられる値である。   In the above embodiment, the case where the value obtained by dividing the number of white pixels adjacent to a colored pixel by the number of colored pixels is used as an example of the horizontal axis value for the pseudo gradation shown in FIG. However, this is only an example, and the meaning of the value on the horizontal axis is that when it is difficult to obtain the halftone dot ratio because there is no image area of a predetermined size or more formed with the same halftone dot ratio. It is a value used instead of the point rate.

そして、同一の網点率における階調特性の変化は、有色画素に隣接する白画素の濃度による影響が最も大きいという趣旨に基づき、本実施形態においては有色画素に隣接する白画素の数を主として用いている。従って、最終的な横軸の値は、有色画素に隣接する白画素の数を有色画素の数で割った値に限らず、有色画素に隣接する白画素の数に応じた値であれば他の態様であっても適用可能である。   In the present embodiment, the number of white pixels adjacent to the colored pixel is mainly used in the present embodiment based on the fact that the change in the gradation characteristics at the same halftone dot ratio is most affected by the density of the white pixel adjacent to the colored pixel. Used. Therefore, the final value of the horizontal axis is not limited to the value obtained by dividing the number of white pixels adjacent to the colored pixel by the number of colored pixels, but may be any value as long as it is a value according to the number of white pixels adjacent to the colored pixel. This aspect is also applicable.

但し、解析単位画像に含まれる画素の階調値の合計値は、元の画像における有色画素の数が多い程大きくなる。従って、上述した態様とは異なる態様で図14の横軸に対応する値を求める場合であっても、有色画素の数を考慮することにより、好適な解析を行うことが可能となる。   However, the total value of the gradation values of the pixels included in the analysis unit image increases as the number of colored pixels in the original image increases. Therefore, even when a value corresponding to the horizontal axis in FIG. 14 is obtained in a manner different from the above-described manner, it is possible to perform a suitable analysis by considering the number of colored pixels.

また、上記実施形態においては、読取画像とマスター画像とを比較することにより画像が意図した通り形成されているか否かを判断する検査装置4において階調特性判定部500が設けられている場合を例として説明した。これは、上述したようにマスター画像及び読取画像を用いるという点で効率的な構成であるが必須ではなく、階調特性判定部500の機能を有する画像処理装置を検査装置4とは別個に設けても良い。その場合であっても、マスター画像及び読取画像が入力されることにより、上記と同様の機能を実現可能である。   In the above-described embodiment, a case where the gradation characteristic determination unit 500 is provided in the inspection apparatus 4 that determines whether the image is formed as intended by comparing the read image with the master image. Described as an example. This is an efficient configuration in that the master image and the read image are used as described above, but is not essential, and an image processing device having the function of the gradation characteristic determination unit 500 is provided separately from the inspection device 4. May be. Even in this case, the same function as described above can be realized by inputting the master image and the read image.

また、上記実施形態において濃度値算出部は、解析単位画像に含まれる画素の階調値を全て合計して擬似階調値を算出する態様を例として説明した。しかしながらこれは一例であり、解析単位画像に対して位置合わせされた領域における読取画像の濃度に関連する値を得られるのであれば、他の態様であっても良い。   Further, in the above embodiment, the density value calculation unit has been described as an example in which the pseudo gradation value is calculated by adding all the gradation values of the pixels included in the analysis unit image. However, this is only an example, and other modes may be used as long as a value related to the density of the read image in the region aligned with the analysis unit image can be obtained.

1 DFE
2 エンジンコントローラ
3 プリントエンジン
4 検査装置
5 インタフェース端末
10 CPU
20 RAM
30 ROM
40 HDD
50 I/F
60 LCD
70 操作部
80 専用デバイス
90 バス
11 搬送ベルト
12、12Y、12M、12C、12K 感光体ドラム
13 給紙トレイ
14 転写ローラ
15 定着ローラ
16 反転パス
101 ジョブ情報処理部
102 RIP処理部
201 データ取得部
202 エンジン制御部
203 ビットマップ送信部
301 印刷処理部
400 読取装置
401 読取画像取得部
402 マスター画像処理部
403 検査制御部
404 比較検査部
410 排紙トレイ
421 少値多値変換処理部
422 解像度変換処理部
423 色変換処理部
424 画像出力処理部
431 情報入力部
432 差分画像取得部
433 欠陥判定部
434 コントローラ通信部
500 階調特性判定部
501 網点階調算出部
502 情報取得部
503 濃度値算出部
504 隣接値算出部
505 解析値取得部
506 平均処理部
507 ページ単位管理部
508 相関関係解析部
509 状態変化推定部
1 DFE
2 Engine Controller 3 Print Engine 4 Inspection Device 5 Interface Terminal 10 CPU
20 RAM
30 ROM
40 HDD
50 I / F
60 LCD
70 Operation Unit 80 Dedicated Device 90 Bus 11 Conveyor Belt 12, 12Y, 12M, 12C, 12K Photosensitive Drum 13 Paper Tray 14 Transfer Roller 15 Fixing Roller 16 Reverse Path 101 Job Information Processing Unit 102 RIP Processing Unit 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 Low-value multi-value conversion processing unit 422 Resolution conversion processing unit 423 Color conversion processing unit 424 Image output processing unit 431 Information input unit 432 Difference image acquisition unit 433 Defect determination unit 434 Controller communication unit 500 Gradation characteristic determination unit 501 Halftone gradation calculation unit 502 Information acquisition unit 503 Density value calculation unit 504 Adjacent value calculation Output unit 505 Analysis value acquisition unit 506 Average processing unit 507 Page unit management unit 508 Correlation analysis unit 509 State change estimation unit

特開平3−44542号公報Japanese Patent Laid-Open No. 3-44542

Claims (9)

画像形成出力を実行する画像形成装置の状態を、記録媒体上に画像形成出力された画像を読み取った読取画像に基づいて判断する画像処理装置であって、
前記読取画像及び前記読取画像に対応する確認用画像を取得する情報取得部と、
前記確認用画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素のうち、有色と判定された画素に隣接していて且つ無地と判定された画素の数をカウントして有色画素に隣接する無地画素の数に応じた値である隣接値を算出する隣接値算出部と、
前記隣接値の算出された解析単位の所定範囲の画像と位置合わせされた読取画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素の画素値に基づいて前記解析単位における濃度に関する情報である濃度値を生成する濃度値算出部と、
前記確認用画像に含まれる複数の前記所定範囲の画像について、前記隣接値及び濃度値の組を夫々取得する解析値取得部と、
網点階調を解析可能な画像を含む所定の画像についての網点階調の解析結果による階調特性の変化と、上述した前記隣接値及び濃度値の組における前記濃度値の変化との相関関係を示す情報に基づき、前記隣接値及び濃度値の組に基づいて階調特性の変化を推定する状態変化推定部とを含むことを特徴とする画像処理装置。
An image processing apparatus that determines a state of an image forming apparatus that executes image forming output based on a read image obtained by reading an image formed and output on a recording medium,
An information acquisition unit for acquiring the read image and a confirmation image corresponding to the read image;
An image of a predetermined range in the confirmation image is acquired as an analysis unit, and among the pixels included in the analysis unit, the number of pixels that are adjacent to the pixel determined to be colored and determined to be plain is counted. An adjacent value calculation unit that calculates an adjacent value that is a value according to the number of plain pixels adjacent to the colored pixel;
An image of a predetermined range in a read image that is aligned with an image of a predetermined range of the analysis unit in which the adjacent value is calculated is acquired as an analysis unit, and the analysis unit based on a pixel value of a pixel included in the analysis unit A density value calculation unit that generates a density value that is information about the density;
An analysis value acquisition unit that acquires a set of the adjacent value and the density value for each of the plurality of images in the predetermined range included in the confirmation image;
Correlation between a change in gradation characteristics according to a result of halftone dot analysis of a predetermined image including an image that can analyze halftone gradation and a change in the density value in the above-described set of adjacent value and density value An image processing apparatus, comprising: a state change estimation unit that estimates a change in gradation characteristics based on the set of adjacent values and density values based on information indicating a relationship.
前記隣接値算出部は、有色と判定された画素に隣接していて且つ無地と判定された画素の数のカウント値と、前記解析単位に含まれる有色画素の数のカウント値とに基づいて前記隣接値を算出することを特徴とする請求項1に記載の画像処理装置。   The adjacent value calculation unit is based on the count value of the number of pixels adjacent to the pixel determined to be colored and determined to be plain and the count value of the number of colored pixels included in the analysis unit. The image processing apparatus according to claim 1, wherein an adjacent value is calculated. 前記隣接値算出部は、有色と判定された画素に隣接していて且つ無地と判定された画素の数のカウント値を、前記解析単位に含まれる有色画素の数のカウント値で割ることによって前記隣接値を算出することを特徴とする請求項2に記載の画像処理装置。   The adjacent value calculating unit divides the count value of the number of pixels adjacent to the pixel determined to be colored and determined to be plain by the count value of the number of colored pixels included in the analysis unit. The image processing apparatus according to claim 2, wherein an adjacent value is calculated. 前記濃度値算出部は、前記解析単位に含まれる画素の画素値を合計することにより前記濃度値を求めることを特徴とする請求項1乃至3いずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the density value calculation unit obtains the density value by summing pixel values of pixels included in the analysis unit. 前記相関関係を示す情報を生成する相関関係解析部を含み、
前記相関関係解析部は、
網点階調を解析可能な画像を含む所定の画像についての網点階調の解析結果による階調特性の変化として、網点率に応じた階調値の変化量を複数の網点率について平均した値を、前記画像形成装置の経時変化に応じて取得し、
上述した前記隣接値及び濃度値の組における前記濃度値の変化として、前記隣接値に応じた濃度値の変化量を複数の隣接値について平均した値を、前記画像形成装置の経時変化に応じて取得し、
夫々の経時変化の相関関係を示す情報を生成することを特徴とする請求項1乃至4いずれか1項に記載の画像処理装置。
A correlation analysis unit that generates information indicating the correlation;
The correlation analysis unit
As a change in gradation characteristics based on the result of halftone dot analysis for a predetermined image including an image that can be analyzed for halftone gradation, the amount of change in the gradation value according to the halftone dot ratio is obtained for a plurality of halftone dot ratios. An average value is obtained according to a change with time of the image forming apparatus,
As the change of the density value in the set of the adjacent value and the density value described above, a value obtained by averaging the change amount of the density value according to the adjacent value with respect to a plurality of adjacent values is obtained according to the change with time of the image forming apparatus. Acquired,
5. The image processing apparatus according to claim 1, wherein information indicating a correlation between changes with time is generated.
前記相関関係を示す情報は、網点階調を解析可能な画像を含む所定の画像についての網点階調の解析結果による階調特性の変化と、上述した前記隣接値及び濃度値の組における前記濃度値の変化との相関関係の近似式であることを特徴とする請求項1乃至5いずれか1項に記載の画像処理装置。   The information indicating the correlation includes the change in the gradation characteristics according to the analysis result of the halftone gradation of the predetermined image including the image capable of analyzing the halftone gradation, and the above-described set of the adjacent value and the density value. The image processing apparatus according to claim 1, wherein the image processing apparatus is an approximate expression of a correlation with the change in the density value. 紙面上に画像形成出力された画像を読み取った読取画像の検査を、前記読取画像に対応した画像の画像形成出力に際して画像形成装置において用いられた画像に基づいて生成された確認用画像との比較により行う画像検査装置であって、請求項1乃至6いずれか1項に記載の画像処理装置を含むことを特徴とする画像検査装置。   Comparison of the inspection of the read image obtained by reading the image formed and output on the paper with the confirmation image generated based on the image used in the image forming apparatus at the time of image formation output of the image corresponding to the read image An image inspection apparatus comprising: the image processing apparatus according to any one of claims 1 to 6. 記録媒体上に画像形成出力された画像を読み取った読取画像に基づいて画像形成出力を実行する画像形成装置の状態を判断する画像処理方法であって、
前記読取画像及び前記読取画像に対応する確認用画像を取得し、
前記確認用画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素のうち、有色と判定された画素に隣接していて且つ無地と判定された画素の数をカウントして有色画素に隣接する無地画素の数に応じた値である隣接値を算出し、
前記隣接値の算出された解析単位の所定範囲の画像と位置合わせされた読取画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素の画素値に基づいて前記解析単位における濃度に関する情報である濃度値を生成し、
前記確認用画像に含まれる複数の前記所定範囲の画像について、前記隣接値及び濃度値の組を夫々取得し、
網点階調を解析可能な画像を含む所定の画像についての網点階調の解析結果による階調特性の変化と、上述した前記隣接値及び濃度値の組における前記濃度値の変化との相関関係を示す情報に基づき、前記隣接値及び濃度値の組に基づいて階調特性の変化を推定することを特徴とする画像処理方法。
An image processing method for determining a state of an image forming apparatus that executes image formation output based on a read image obtained by reading an image formed and output on a recording medium,
Obtaining the read image and a confirmation image corresponding to the read image;
An image of a predetermined range in the confirmation image is acquired as an analysis unit, and among the pixels included in the analysis unit, the number of pixels that are adjacent to the pixel determined to be colored and determined to be plain is counted. Calculate an adjacent value that is a value according to the number of plain pixels adjacent to the colored pixel,
An image of a predetermined range in a read image that is aligned with an image of a predetermined range of the analysis unit in which the adjacent value is calculated is acquired as an analysis unit, and the analysis unit based on a pixel value of a pixel included in the analysis unit Generate density values that are information about density,
For each of the plurality of images in the predetermined range included in the confirmation image, a set of the adjacent value and the density value is acquired,
Correlation between a change in gradation characteristics according to a result of halftone dot analysis of a predetermined image including an image that can analyze halftone gradation and a change in the density value in the above-described set of adjacent value and density value An image processing method characterized by estimating a change in gradation characteristics based on a set of adjacent values and density values based on information indicating a relationship.
記録媒体上に画像形成出力された画像を読み取った読取画像に基づいて画像形成出力を実行する画像形成装置の状態を判断する画像処理プログラムであって、
前記読取画像及び前記読取画像に対応する確認用画像を取得するステップと、
前記確認用画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素のうち、有色と判定された画素に隣接していて且つ無地と判定された画素の数をカウントして有色画素に隣接する無地画素の数に応じた値である隣接値を算出するステップと、
前記隣接値の算出された解析単位の所定範囲の画像と位置合わせされた読取画像における所定範囲の画像を解析単位として取得し、前記解析単位に含まれる画素の画素値に基づいて前記解析単位における濃度に関する情報である濃度値を生成するステップと、
前記確認用画像に含まれる複数の前記所定範囲の画像について、前記隣接値及び濃度値の組を夫々取得するステップと、
網点階調を解析可能な画像を含む所定の画像についての網点階調の解析結果による階調特性の変化と、上述した前記隣接値及び濃度値の組における前記濃度値の変化との相関関係を示す情報に基づき、前記隣接値及び濃度値の組に基づいて階調特性の変化を推定するステップとを情報処理装置に実行させることを特徴とする画像処理プログラム。
An image processing program for determining a state of an image forming apparatus that executes image forming output based on a read image obtained by reading an image formed and output on a recording medium,
Obtaining the read image and a confirmation image corresponding to the read image;
An image of a predetermined range in the confirmation image is acquired as an analysis unit, and among the pixels included in the analysis unit, the number of pixels that are adjacent to the pixel determined to be colored and determined to be plain is counted. Calculating an adjacent value that is a value according to the number of plain pixels adjacent to the colored pixel;
An image of a predetermined range in a read image that is aligned with an image of a predetermined range of the analysis unit in which the adjacent value is calculated is acquired as an analysis unit, and the analysis unit based on a pixel value of a pixel included in the analysis unit Generating a density value that is information about the density;
Obtaining a set of adjacent values and density values for each of the plurality of images in the predetermined range included in the confirmation image;
Correlation between a change in gradation characteristics according to a result of halftone dot analysis of a predetermined image including an image that can analyze halftone gradation and a change in the density value in the above-described set of adjacent value and density value An image processing program that causes an information processing apparatus to execute a step of estimating a change in gradation characteristics based on a set of adjacent values and density values based on information indicating a relationship.
JP2015201437A 2015-10-09 2015-10-09 Image processing apparatus, image inspection apparatus, image processing method, and image processing program Expired - Fee Related JP6565575B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015201437A JP6565575B2 (en) 2015-10-09 2015-10-09 Image processing apparatus, image inspection apparatus, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015201437A JP6565575B2 (en) 2015-10-09 2015-10-09 Image processing apparatus, image inspection apparatus, image processing method, and image processing program

Publications (2)

Publication Number Publication Date
JP2017073750A true JP2017073750A (en) 2017-04-13
JP6565575B2 JP6565575B2 (en) 2019-08-28

Family

ID=58537587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015201437A Expired - Fee Related JP6565575B2 (en) 2015-10-09 2015-10-09 Image processing apparatus, image inspection apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP6565575B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10609251B2 (en) 2018-06-27 2020-03-31 Ricoh Company, Ltd. Image forming apparatus prioritizing gradation correction data based on recording medium characteristics or image formed
CN115561140A (en) * 2022-10-12 2023-01-03 宁波得立丰服饰有限公司 Clothing air permeability detection method and system, storage medium and intelligent terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10173930A (en) * 1996-12-06 1998-06-26 Ricoh Co Ltd Image output device
JP2008244644A (en) * 2007-03-26 2008-10-09 Ricoh Printing Systems Ltd Image forming apparatus, image forming method and image forming program
JP2013235458A (en) * 2012-05-09 2013-11-21 Canon Inc Inspection system, inspection device, inspection method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10173930A (en) * 1996-12-06 1998-06-26 Ricoh Co Ltd Image output device
JP2008244644A (en) * 2007-03-26 2008-10-09 Ricoh Printing Systems Ltd Image forming apparatus, image forming method and image forming program
JP2013235458A (en) * 2012-05-09 2013-11-21 Canon Inc Inspection system, inspection device, inspection method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10609251B2 (en) 2018-06-27 2020-03-31 Ricoh Company, Ltd. Image forming apparatus prioritizing gradation correction data based on recording medium characteristics or image formed
CN115561140A (en) * 2022-10-12 2023-01-03 宁波得立丰服饰有限公司 Clothing air permeability detection method and system, storage medium and intelligent terminal
CN115561140B (en) * 2022-10-12 2023-08-04 宁波得立丰服饰有限公司 Clothing air permeability detection method, system, storage medium and intelligent terminal

Also Published As

Publication number Publication date
JP6565575B2 (en) 2019-08-28

Similar Documents

Publication Publication Date Title
US9898814B2 (en) Image inspection apparatus, image inspection method, and control program of image inspection apparatus
US9317914B2 (en) Image inspecting device, image forming system, and computer program product
US10402961B2 (en) Inspection apparatus, inspection system, inspection method, and recording medium
JP6241121B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6163979B2 (en) Image inspection system, image inspection method, and data structure of image inspection result
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6287294B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP2015179073A (en) Image inspection device, image inspection system and image 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
JP6273932B2 (en) Image inspection apparatus, image inspection system, and image inspection program
JP6244944B2 (en) Image inspection apparatus, image forming system, and image inspection program
JP6229480B2 (en) Image inspection apparatus, image forming system, and image inspection program
JP6705305B2 (en) Inspection device, inspection method and program
JP6565575B2 (en) Image processing apparatus, image inspection apparatus, image processing method, and image processing program
JP6337541B2 (en) Image inspection apparatus, image forming system, and image inspection method
JP6326768B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP2015178971A (en) Image inspection device, image formation system and image inspection method
JP2016177669A (en) Image inspection device, image inspection system and image inspection method
JP6277803B2 (en) Image inspection apparatus, image forming system, and image inspection program
JP6070310B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6287379B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6387639B2 (en) Image inspection apparatus, image inspection method, image inspection system, and image inspection program
JP6273912B2 (en) Image inspection apparatus, image inspection system, and image inspection program
JP2015166897A (en) Image inspection apparatus, image inspection system, and image inspection program
JP2016063368A (en) Image inspection device, 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: 20180925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190621

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190715

R151 Written notification of patent or utility model registration

Ref document number: 6565575

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

LAPS Cancellation because of no payment of annual fees