JP6717286B2 - Image inspection apparatus, image inspection method, and image inspection apparatus control program - Google Patents

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

Info

Publication number
JP6717286B2
JP6717286B2 JP2017216632A JP2017216632A JP6717286B2 JP 6717286 B2 JP6717286 B2 JP 6717286B2 JP 2017216632 A JP2017216632 A JP 2017216632A JP 2017216632 A JP2017216632 A JP 2017216632A JP 6717286 B2 JP6717286 B2 JP 6717286B2
Authority
JP
Japan
Prior art keywords
image
threshold value
defect
inspection
recording medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017216632A
Other languages
Japanese (ja)
Other versions
JP2018036279A (en
JP2018036279A5 (en
Inventor
正 北井
正 北井
徳貴 増田
徳貴 増田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Publication of JP2018036279A publication Critical patent/JP2018036279A/en
Publication of JP2018036279A5 publication Critical patent/JP2018036279A5/ja
Application granted granted Critical
Publication of JP6717286B2 publication Critical patent/JP6717286B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、画像検査装置、画像検査方法及び画像検査装置の制御プログラムに関し、特に、画像を検査する際に画像の欠陥を判断するための閾値の設定に関する。 The present invention relates to an image inspection device, an image inspection method, and a control program for the image inspection device, and more particularly, to setting a threshold for determining a defect in an image when inspecting the image.

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

しかし、近年普及が進んでいる電子写真などの無版印刷装置は少部印刷を得意としており、バリアブル印刷など毎ページ印刷内容の異なるケースも多く、オフセット印刷機のように印刷物からマスター画像を生成して比較対象とすることは非効率である。この問題に対応するため、印刷データからマスター画像を生成することが考えられる。これにより、バリアブル印刷に効率的に対応可能である。 However, plateless printing devices such as electrophotography, which have become widespread in recent years, are good at printing a small number of prints, and in many cases, different pages have different print contents, such as variable printing. Then, it is inefficient to make a comparison. In order to deal with this problem, it is possible to generate a master image from print data. This makes it possible to efficiently handle variable printing.

このような画像の検査処理に際しては、上述した差分の程度、即ち、出力された用紙を読み取った画像と、印刷データから生成されたマスター画像との位置合わせ及びサイズ合わせを行った上で、両画像を画素毎に比較した結果に対して所定の閾値を設定することにより、印刷物が欠陥であるか否かを判別する。 In such an image inspection process, the degree of the difference described above, that is, the position of the image read from the output paper and the master image generated from the print data are aligned and the size is adjusted. By setting a predetermined threshold value for the result of comparing the images for each pixel, it is determined whether or not the printed matter is defective.

このような画像検査において検査精度を検証するための技術として、インクジェットプリンタを使用する際に発生し易い欠陥を疑似的に印刷し、その疑似的な欠陥が印刷された用紙についての検査結果を検証することにより、適正な検査ができたか否かを検証する方法が提案されている(例えば、特許文献1参照)。 As a technique for verifying the inspection accuracy in such image inspection, defects that are likely to occur when using an inkjet printer are pseudo-printed, and the inspection results of the paper on which the pseudo-defects are printed are verified. By doing so, a method of verifying whether or not an appropriate inspection has been proposed has been proposed (for example, refer to Patent Document 1).

上述した画像の比較結果に対する閾値の設定は検査の精度に係るものであるため、高精度な検査を行うためには適正な閾値を設定する必要がある。特許文献1に開示された技術は、既に設定されている閾値も含めて、検査が適正に行われているか否かを判断するためのものである。そのため、適正な閾値の設定を行うためには、ユーザが閾値を変えて何度も検査を行うことにより、検査が適正に行われているかを確認する必要がある。 Since the setting of the threshold value for the image comparison result described above relates to the accuracy of the inspection, it is necessary to set an appropriate threshold value in order to perform the highly accurate inspection. The technique disclosed in Patent Document 1 is for determining whether or not the inspection is properly performed, including the threshold value that has already been set. Therefore, in order to set an appropriate threshold value, it is necessary for the user to change the threshold value and perform inspection many times to confirm whether the inspection is properly performed.

本発明は上記実情に鑑みてなされたものであり、画像形成出力による出力結果を読み取った画像とマスター画像とを比較することによる画像の検査において、比較結果に基づいて欠陥を判定するための閾値の設定を容易且つ好適に行うことを目的とする。 The present invention has been made in view of the above circumstances, in the inspection of the image by comparing the image read the output result of the image forming output and the master image, the threshold value for determining the defect based on the comparison result. The purpose is to easily and suitably set.

上記課題を解決するために、本発明の一態様は読取装置を備え、前記読取装置で記録媒体上に画像形成出力された画像を読み取って生成した読取画像に基づいて、前記記録媒体上に形成された画像の欠陥の検査をする画像検査部を有する画像検査装置であって、基準パターンを含む画像であって、所定の方向と、当該所定の方向に直交する方向と、のそれぞれに配置された複数のマークに疑似的な欠陥を付加した画像が形成された前記記録媒体を前記読取装置が読み取った読取画像に基づいて、前記記録媒体上に形成された前記基準パターンを含む画像とは異なる画像に対し前記画像検査部が前記検査を行う際に使用する閾値を決定する閾値決定部を備え、前記擬似的な欠陥は、前記所定の方向、又は、前記直交する方向の少なくとも一方の方向において幅を有し、前記幅は、前記所定の方向、又は、前記直交する方向のそれぞれに配置された前記マークごとに異なる、ことを特徴とする。 In order to solve the above problems, one embodiment of the present invention includes a reading device, and forms on the recording medium based on a read image generated by reading an image formed and output on the recording medium by the reading device. An image inspection apparatus having an image inspection unit for inspecting a defect of the formed image, the image including a reference pattern, and the image is arranged in each of a predetermined direction and a direction orthogonal to the predetermined direction. Different from the image including the reference pattern formed on the recording medium based on the read image obtained by reading the recording medium on which the image in which the pseudo defect is added to the plurality of marks is formed by the reading device. comprising a threshold determiner, wherein the image inspecting unit against the image to determine the threshold used when performing the test, the pseudo-defect, the predetermined direction, or in at least one direction of the direction the perpendicular A width is provided, and the width is different for each of the marks arranged in each of the predetermined direction or the orthogonal direction .

また、本発明の他の態様は、読取装置を備え、前記読取装置で記録媒体上に画像形成出力された画像を読み取って生成した読取画像に基づいて、前記記録媒体上に形成された画像の欠陥の検査をする画像検査部と閾値決定部を有する画像検査装置において実行される画像検査方法であって、前記閾値決定部が、基準パターンを含む画像であって、所定の方向と、当該所定の方向に直交する方向と、のそれぞれに配置された複数のマークに疑似的な欠陥を付加した画像が形成された前記記録媒体を前記読取装置が読み取った読取画像に基づいて、前記記録媒体上に形成された前記基準パターンを含む画像とは異なる画像に対し前記画像検査部が前記検査を行う際に使用する閾値を決定し、前記擬似的な欠陥は、前記所定の方向、又は、前記直交する方向の少なくとも一方の方向において幅を有し、前記幅は、前記所定の方向、又は、前記直交する方向のそれぞれに配置された前記マークごとに異なる、ことを特徴とする。 Further, another aspect of the present invention includes a reading device, and based on a read image generated by reading an image formed and output on the recording medium by the reading device, an image formed on the recording medium is displayed. An image inspection method executed in an image inspection apparatus having an image inspection unit for inspecting a defect and a threshold determination unit, wherein the threshold determination unit is an image including a reference pattern, and has a predetermined direction and a predetermined direction. based on the a direction orthogonal to the direction of the scanned image placed multiple marks pseudo defects the said recording medium on which an image is formed by adding a reader to have read to each, on the recording medium The image inspection unit determines a threshold value used when performing the inspection on an image different from the image including the reference pattern , and the pseudo defect is the predetermined direction or the orthogonal direction. It has a width in at least one of the directions, and the width is different for each of the marks arranged in the predetermined direction or the orthogonal direction .

また、本発明の更に他の態様は、読取装置を備え、前記読取装置で記録媒体上に画像形成出力された画像を読み取って生成した読取画像に基づいて、前記記録媒体上に形成された画像の欠陥の検査をする画像検査部を有する画像検査装置の制御プログラムであって、基準パターンを含む画像であって、所定の方向と、当該所定の方向に直交する方向と、のそれぞれに配置された複数のマークに疑似的な欠陥を付加した画像が形成された前記記録媒体を前記読取装置が読み取った読取画像に基づいて、前記記録媒体上に形成された前記基準パターンを含む画像とは異なる画像に対し前記画像検査部が前記検査を行う際に使用する閾値を決定するステップを前記画像検査装置に実行させ、前記擬似的な欠陥は、前記所定の方向、又は、前記直交する方向の少なくとも一方の方向において幅を有し、前記幅は、前記所定の方向、又は、前記直交する方向のそれぞれに配置された前記マークごとに異なる、ことを特徴とする。
Still another aspect of the present invention includes a reading device, and an image formed on the recording medium based on a read image generated by reading an image image-outputted on the recording medium by the reading device. Is a control program of an image inspection apparatus having an image inspection unit for inspecting defects, and is an image including a reference pattern , and is arranged in each of a predetermined direction and a direction orthogonal to the predetermined direction. Different from the image including the reference pattern formed on the recording medium based on the read image obtained by reading the recording medium on which the image in which the pseudo defect is added to the plurality of marks is formed by the reading device. The image inspection apparatus is caused to execute a step of determining a threshold value used when the image inspection unit performs the inspection on the image, and the pseudo defect is at least in the predetermined direction or in the orthogonal direction. It has a width in one direction, and the width is different for each of the marks arranged in each of the predetermined direction or the orthogonal direction .

本発明によれば、画像形成出力による出力結果を読み取った画像とマスター画像とを比較することによる画像の検査において、比較結果に基づいて欠陥を判定するための閾値の設定を容易且つ好適に行うことができる。 According to the present invention, in the image inspection by comparing the image obtained by reading the output result of the image forming output with the master image, the threshold value for judging the defect based on the comparison result is easily and suitably set. be able to.

本発明の実施形態に係る検査装置を含む画像形成システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of an image forming system including an inspection device according to an embodiment of the present invention. 本発明の実施形態に係る検査装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the inspection apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るエンジンコントローラ、プリントエンジン及び検査装置の機能構成を示すブロック図である。It is a block diagram showing functional composition of an engine controller, a print engine, and an inspection device concerning an embodiment of the present invention. 本発明の実施形態に係る印刷処理部の機械的構成を示す図である。It is a figure which shows the mechanical structure of the print processing part which concerns on embodiment of this invention. 本発明の実施形態に係るマスター画像処理部の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the master image processing part which concerns on embodiment of this invention. 本発明の実施形態に係る閾値決定動作を示すフローチャートである。6 is a flowchart showing a threshold value determining operation according to the embodiment of the present invention. 本発明の実施形態に係る閾値決定動作において出力される画像の例を示す図である。It is a figure which shows the example of the image output in the threshold value determination operation which concerns on embodiment of this invention. 本発明の実施形態に係る疑似的な欠陥の設定態様を示す図である。It is a figure which shows the setting aspect of the pseudo defect which concerns on embodiment of this invention. 本発明の実施形態に係る複数の疑似的な欠陥夫々について算出された個別閾値の例を示す図である。It is a figure which shows the example of the individual threshold value calculated about each of the some pseudo defect which concerns on embodiment of this invention. 本発明の実施形態に係る個別閾値の算出動作を示すフローチャートである。6 is a flowchart showing an operation of calculating an individual threshold value according to the embodiment of the present invention. 本発明の実施形態に係る閾値選択画面の例を示す図である。It is a figure which shows the example of the threshold value selection screen which concerns on embodiment of this invention. 本発明の実施形態に係る閾値選択画面の他の例を示す図である。It is a figure which shows the other example of the threshold value selection screen which concerns on embodiment of this invention. 本発明の他の実施形態に係るシステムの構成を示す図である。It is a figure which shows the structure of the system which concerns on other embodiment of this invention. 本発明の他の実施形態に係るシステムの構成を示す図である。チャートである。It is a figure which shows the structure of the system which concerns on other embodiment of this invention. It is a chart. 本発明の実施形態に係る画像の比較検査の態様を示す図である。It is a figure which shows the aspect of the comparison inspection of the image which concerns on embodiment of this invention. 本発明の実施形態に係る閾値設定の例を示す図である。It is a figure which shows the example of the threshold value setting which concerns on embodiment of this invention.

以下、図面を参照して、本発明の実施形態を詳細に説明する。本実施形態においては、画像形成出力による出力結果を読み取った画像とマスター画像とを比較することにより出力結果を検査する検査装置を含む画像形成システムにおいて、比較結果により画像の欠陥を判定するための閾値の設定を、ユーザの意図する検査精度に従って容易且つ好適に行う
ための処理を特徴として説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiment, in the image forming system including the inspection device that inspects the output result by comparing the image obtained by reading the output result of the image forming output and the master image, in order to determine the defect of the image based on the comparison result. A process for easily and preferably setting the threshold according to the inspection accuracy intended by the user will be described as a feature.

図1は、本実施形態に係る画像形成システムの全体構成を示す図である。図1に示すように、本実施形態に係る画像形成システムは、DFE(Digital Front End)1、エンジンコントローラ2、プリントエンジン3及び検査装置4を含む。DFE1は、受信した印刷ジョブに基づいて印刷出力するべき画像データ、即ち出力対象画像であるビットマップデータを生成し、生成したビットマップデータをエンジンコントローラ2に出力する。 FIG. 1 is a diagram showing an overall configuration of an image forming system according to this embodiment. As shown in FIG. 1, the image forming system according to the present embodiment includes a DFE (Digital Front End) 1, an engine controller 2, a print engine 3, and an inspection device 4. The DFE 1 generates image data to be printed out based on the received print job, that is, bitmap data that is an output target image, and outputs the generated bitmap data to the engine controller 2.

エンジンコントローラ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 forming output. Further, the engine controller 2 according to the present embodiment serves as a source of an inspection image for referring to the bitmap data received from the DFE 1 when the inspection device 4 inspects the result of the image forming output by the print engine 3. The information is transmitted to the inspection device 4.

プリントエンジン3は、エンジンコントローラ2の制御に従い、ビットマップデータに基づいて記録媒体である用紙に対して画像形成出力を実行すると共に、出力した用紙を読取装置で読み取って生成した読取画像データを検査装置4に入力する。尚、記録媒体としては、上述した用紙の他、フィルム、プラスチック等のシート状の材料で、画像形成出力の対象物となるものであれば採用可能である。検査装置4は、エンジンコントローラ2から入力されたビットマップデータに基づいてマスター画像を生成する。そして、検査装置4は、プリントエンジン3から入力された読取画像を上記生成したマスター画像と比較することにより、出力結果の検査を行う画像検査装置である。 Under the control of the engine controller 2, the print engine 3 performs image forming output on a sheet that is a recording medium based on the bit map data, and inspects the read image data generated by reading the output sheet with a reading device. Input to the device 4. Incidentally, as the recording medium, in addition to the above-described paper, a sheet-shaped material such as a film or plastic, which is an object of image forming output, can be adopted. 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 the output result by comparing the read image input from the print engine 3 with the generated master image.

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

図2に示すように、本実施形態に係る検査装置4は、一般的なPC(Personal Computer)やサーバ等の情報処理装置と同様の構成を有する。即ち、本実施形態に係る検査装置4は、CPU(Central Processing Unit)10、RAM(Random Access Memory)20、ROM(Read Only Memory)30、HDD(Hard Disk Drive)40及びI/F50がバス90を介して接続されている。また、I/F50にはLCD(Liquid Crystal Display)60、操作部70及び専用デバイス80が接続されている。 As shown in FIG. 2, the inspection device 4 according to the present embodiment has the same configuration as an information processing device such as a general PC (Personal Computer) or a server. That is, in the inspection device 4 according to the present embodiment, 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 are a bus 90. 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 inspection device 4 as a whole. The RAM 20 is a volatile storage medium that can read and write information at high speed, and is used as a work area when the CPU 10 processes information. The ROM 30 is a read-only non-volatile storage medium, and stores programs such as firmware. The HDD 40 is a non-volatile storage medium capable of reading and writing 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 confirm the state of the inspection device 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 device 4.

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

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

図3は、本実施形態に係るエンジンコントローラ2、プリントエンジン3及び検査装置4の機能構成を示すブロック図である。図3に示すように、本実施形態に係るエンジンコントローラ2は、データ取得部201、エンジン制御部202、ビットマップ送信部203を含む。また、プリントエンジン3は、印刷処理部301及び読取装置302を含む。また、検査装置4は、読取画像取得部401、マスター画像処理部402、検査制御部403及び比較検査部404を含む。 FIG. 3 is a block diagram showing a functional configuration of the engine controller 2, the print engine 3, and the inspection device 4 according to this embodiment. As shown in FIG. 3, the engine controller 2 according to this embodiment includes a data acquisition unit 201, an engine control unit 202, and a bitmap transmission unit 203. The print engine 3 also includes a print processing unit 301 and a reading device 302. The inspection device 4 also includes a read image acquisition unit 401, a master image processing unit 402, an inspection control unit 403, and a comparison inspection unit 404.

データ取得部201は、DFE1から入力されるビットマップデータを取得し、エンジン制御部202及びビットマップ送信部203夫々を動作させる。ビットマップデータは、画像形成出力するべき画像を構成する各画素の情報であり、データ取得部201が画素情報取得部として機能する。エンジン制御部202は、データ取得部201から転送されたビットマップデータに基づき、プリントエンジン3に画像形成出力を実行させる出力実行制御部である。ビットマップ送信部203は、データ取得部201が取得したビットマップデータを検査装置4に送信する。 The data acquisition unit 201 acquires the bitmap data input from the DFE 1 and operates the engine control unit 202 and the bitmap transmission unit 203, respectively. The bitmap data is information on each pixel that forms an image to be image-formed and output, and the data acquisition unit 201 functions as a pixel information acquisition unit. The engine control unit 202 is an output execution control unit that 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 device 4.

印刷処理部301は、エンジンコントローラ2から入力されるビットマップデータを取得し、印刷用紙に対して画像形成出力を実行し、印刷済みの用紙を出力する。即ち、印刷処理部301が画像形成装置として機能する。本実施形態に係る印刷処理部301は、電子写真方式の一般的な画像形成機構によって実現されるが、インクジェット方式等、他の画像形成機構を用いることも可能である。読取装置302は、印刷処理部301によって印刷が実行されて出力された印刷用紙の紙面上に形成された画像を読み取り、読取データを検査装置4に出力する。読取装置302は、例えば印刷処理部301によって出力された印刷用紙の搬送経路に設置されたラインスキャナであり、搬送される印刷用紙の紙面上を走査することによって紙面上に形成された画像を読み取る。 The print processing unit 301 acquires the bitmap data input from the engine controller 2, executes image forming output on the print paper, and outputs the printed paper. That is, the print processing unit 301 functions as an image forming apparatus. The print processing unit 301 according to the present embodiment is realized by a general electrophotographic image forming mechanism, but it is also possible to use another image forming mechanism such as an inkjet system. The reading device 302 reads the image formed on the paper surface of the printing paper that is printed by the print processing unit 301 and is output, and outputs the read data to the inspection device 4. The reading device 302 is, for example, a line scanner installed in a conveyance path of the printing paper output by the print processing unit 301, and scans the paper surface of the conveyed printing paper to read an image formed on the paper surface. ..

ここで、印刷処理部301及び読取装置302の機械的な構成について、図4を参照して説明する。図4に示すように、本実施形態に係る印刷処理部301は、無端状移動手段である搬送ベルト105に沿って各色の画像形成部106が並べられた構成を備えるものであり、所謂タンデムタイプといわれるものである。すなわち、給紙トレイ101から給紙ローラ102と分離ローラ103とにより分離給紙される用紙(記録媒体の一例)104に転写するための中間転写画像が形成される中間転写ベルトである搬送ベルト105に沿って、この搬送ベルト105の搬送方向の上流側から順に、複数の画像形成部(電子写真プロセス部)106BK、106M、106C、106Yが配列されている。 Here, the mechanical configurations of the print processing unit 301 and the reading device 302 will be described with reference to FIG. As shown in FIG. 4, the print processing unit 301 according to the present embodiment has a configuration in which the image forming units 106 of respective colors are arranged along the conveyor belt 105 that is an endless moving unit, and is a so-called tandem type. It is said to be. That is, a conveyor belt 105, which is an intermediate transfer belt on which an intermediate transfer image is formed for transfer onto a sheet (an example of a recording medium) 104 that is separated and fed from a sheet feed tray 101 by a sheet feed roller 102 and a separation roller 103. A plurality of image forming units (electrophotographic process units) 106BK, 106M, 106C, and 106Y are arranged in this order from the upstream side in the transport direction of the transport belt 105.

これら複数の画像形成部106BK、106M、106C、106Yは、形成するトナー画像の色が異なるだけで内部構成は共通である。画像形成部106BKはブラックの画像を、画像形成部106Mはマゼンタの画像を、画像形成部106Cはシアンの画像を、画像形成部106Yはイエローの画像をそれぞれ形成する。尚、以下の説明においては、画像形成部106BKについて具体的に説明するが、他の画像形成部106M、106C、106Yは画像形成部106BKと同様であるので、その画像形成部106M、106C、106Yの各構成要素については、画像形成部106BKの各構成要素に付したBK
に替えて、M、C、Yによって区別した符号を図に表示するにとどめ、説明を省略する。
The plurality of image forming units 106BK, 106M, 106C, and 106Y have the same internal configuration except that the colors of toner images to be formed are different. The image forming unit 106BK forms a black image, the image forming unit 106M forms a magenta image, the image forming unit 106C forms a cyan image, and the image forming unit 106Y forms a yellow image. In the following description, the image forming unit 106BK will be specifically described, but the other image forming units 106M, 106C, and 106Y are the same as the image forming unit 106BK, and therefore the image forming units 106M, 106C, and 106Y. For each constituent element of BK, BK attached to each constituent element of the image forming unit 106BK
Instead of the above, the symbols distinguished by M, C, and Y are only shown in the drawing, and the description thereof is omitted.

搬送ベルト105は、回転駆動される駆動ローラ107と従動ローラ108とに架け渡されたエンドレスのベルト、即ち無端状ベルトである。この駆動ローラ107は、不図示の駆動モータにより回転駆動させられ、この駆動モータと、駆動ローラ107と、従動ローラ108とが、無端状移動手段である搬送ベルト105を移動させる駆動手段として機能する。 The conveyor belt 105 is an endless belt spanned by a driving roller 107 and a driven roller 108 that are rotationally driven, that is, an endless belt. The drive roller 107 is rotationally driven by a drive motor (not shown), and the drive motor, the drive roller 107, and the driven roller 108 function as drive means for moving the conveyor belt 105, which is an endless moving means. ..

画像形成に際しては、回転駆動される搬送ベルト105に対して、最初の画像形成部106BKが、ブラックのトナー画像を転写する。画像形成部106BKは、感光体としての感光体ドラム109BK、この感光体ドラム109BKの周囲に配置された帯電器110BK、光書き込み装置200、現像器112BK、感光体クリーナ(図示せず)、除電器113BK等から構成されている。光書き込み装置200は、夫々の感光体ドラム109BK、109M、109C、109Y(以降、総じて「感光体ドラム109」という)に対して光を照射するように構成されている。 At the time of image formation, the first image forming unit 106BK transfers the black toner image to the conveyor belt 105 that is rotationally driven. The image forming unit 106BK includes a photoconductor drum 109BK as a photoconductor, a charger 110BK arranged around the photoconductor drum 109BK, an optical writing device 200, a developing device 112BK, a photoconductor cleaner (not shown), and a charge eliminator. It is composed of 113BK and the like. The optical writing device 200 is configured to irradiate each of the photoconductor drums 109BK, 109M, 109C, and 109Y (hereinafter, collectively referred to as “photoconductor drum 109”) with light.

画像形成に際し、感光体ドラム109BKの外周面は、暗中にて帯電器110BKにより一様に帯電された後、光書き込み装置200からのブラック画像に対応した光源からの光により書き込みが行われ、静電潜像が形成される。現器112BKは、この静電潜像をブラックトナーにより可視像化し、このことにより感光体ドラム109BK上にブラックのトナー画像が形成される。
During image formation, the outer peripheral surface of the photoconductor drum 109BK is uniformly charged by the charger 110BK in the dark, and then writing is performed by the light from the light source corresponding to the black image from the optical writing device 200, and the static writing is performed. A latent image is formed. Current image unit 112BK is the electrostatic latent image into a visible image by a black toner, a black toner image is formed on the photosensitive drum 109BK by this.

このトナー画像は、感光体ドラム109BKと搬送ベルト105とが当接若しくは最も接近する位置(転写位置)で、転写器115BKの働きにより搬送ベルト105上に転写される。この転写により、搬送ベルト105上にブラックのトナーによる画像が形成される。トナー画像の転写が終了した感光体ドラム109BKは、外周面に残留した不要なトナーを感光体クリーナにより払拭された後、除電器113BKにより除電され、次の画像形成のために待機する。 This toner image is transferred onto the conveyor belt 105 by the function of the transfer device 115BK at a position (transfer position) where the photosensitive drum 109BK and the conveyor belt 105 are in contact with or closest to each other (transfer position). By this transfer, an image with black toner is formed on the conveyor belt 105. After the transfer of the toner image is completed, the photoconductor drum 109BK wipes off the unnecessary toner remaining on the outer peripheral surface by the photoconductor cleaner, and then the charge is removed by the charge remover 113BK and stands by for the next image formation.

以上のようにして、画像形成部106BKにより搬送ベルト105上に転写れたブラックのトナー画像は、搬送ベルト105のローラ駆動により次の画像形成部106Mに搬送される。画像形成部106Mでは、画像形成部106BKでの画像形成プロセスと同様のプロセスにより感光体ドラム109M上にマゼンタのトナー画像が形成され、そのトナー画像が既に形成されたブラックの画像に重畳されて転写される。 As described above, the black toner image transferred onto the conveying belt 105 by the image forming unit 106BK is conveyed to the next image forming unit 106M by the roller driving of the conveying belt 105. In the image forming unit 106M, a magenta toner image is formed on the photosensitive drum 109M by a process similar to the image forming process in the image forming unit 106BK, and the toner image is transferred by being superimposed on the already formed black image. To be done.

搬送ベルト105上に転写されたブラック、マゼンタのトナー画像は、さらに次の画像形成部106C、106Yに搬送され、同様の動作により、感光体ドラム109C上に形成されたシアンのトナー画像と、感光体ドラム109Y上に形成されたイエローのトナー画像とが、既に転写されている画像上に重畳されて転写される。こうして、搬送ベルト105上にフルカラーの中間転写画像が形成される。 The black and magenta toner images transferred onto the conveyor belt 105 are further conveyed to the next image forming units 106C and 106Y, and by the same operation, the cyan toner image formed on the photosensitive drum 109C and The yellow toner image formed on the body drum 109Y is superimposed and transferred onto the already transferred image. In this way, a full-color intermediate transfer image is formed on the conveyor belt 105.

給紙トレイ101に収納された用紙104は最も上のものから順に送り出され、その搬送経路が搬送ベルト105と接触する位置若しくは最も接近する位置において、搬送ベルト105上に形成された中間転写画像がその紙面上に転写される。これにより、用紙104の紙面上に画像が形成される。紙面上に画像が形成された用紙104は更に搬送され、定着器116にて画像を定着された後、画像形成装置の外部に排紙される。 The sheets 104 stored in the sheet feed tray 101 are fed out in order from the top, and the intermediate transfer image formed on the conveyance belt 105 is formed at the position where the conveyance path contacts the conveyance belt 105 or the position closest to the conveyance belt 105. It is transferred onto the paper. As a result, an image is formed on the paper surface of the paper 104. The sheet 104 on which the image is formed is further conveyed, the image is fixed by the fixing device 116, and then the sheet is discharged to the outside of the image forming apparatus.

定着器116においては、紙面上に転写されたトナー画像が熱によって紙面に定着される。そのため、転写紙が高温の定着器116を通過することにより水分が蒸発する等して、用紙が収縮することにより転写紙上の画像が元画像よりも小さくなる。このように画像が小さくなった転写紙が読取装置302によって読み取られると、元画像よりも小さい読取画像が生成される。 In the fixing device 116, the toner image transferred on the paper surface is fixed on the paper surface by heat. Therefore, the transfer paper passes through the high-temperature fixing device 116 to evaporate water, and the paper contracts, so that the image on the transfer paper becomes smaller than the original image. When the reading paper is read by the reading device 302, a read image smaller than the original image is generated.

尚、両面印刷の場合、画像が定着された用紙は反転経路に搬送され、反転された上で再度転写位置に搬送される。片面または両面に画像が形成されて定着された用紙は、読取装置302に搬送される。これにより、読取装置302により、片面または両面が撮像され、検査対象の画像となる読取画像が生成される。 In the case of double-sided printing, the sheet on which the image is fixed is conveyed to the reversing path, is reversed, and is conveyed to the transfer position again. The sheet on which the image is formed and fixed on one side or both sides is conveyed to the reading device 302. As a result, the reading device 302 takes an image of one side or both sides and generates a read image as an image to be inspected.

次に、再度図3を参照し、検査装置4の各構成について説明する。読取画像取得部401は、プリントエンジン3において印刷用紙の紙面が読取装置302によって読み取られて生成された読取画像の情報を取得し、比較検査部404に検査対象の画像として入力する。マスター画像処理部402は、上述したようにエンジンコントローラ2から入力されたビットマップデータを取得し、上記検査対象の画像と比較するための検査用画像であるマスター画像を生成する。即ち、マスター画像処理部402が、読取画像の検査を行うための検査用画像であるマスター画像を出力対象画像に基づいて生成する検査用画像生成部として機能する。マスター画像処理部402によるマスター画像の生成処理については後に詳述する。 Next, each component of the inspection device 4 will be described with reference to FIG. 3 again. The read image acquisition unit 401 acquires information of a read image generated by the reading device 302 reading the paper surface of the printing paper in the print engine 3, and inputs the information to the comparison inspection unit 404 as an image to be inspected. The master image processing unit 402 acquires the bitmap data input from the engine controller 2 as described above, and generates a master image which is an inspection image for comparison with the inspection target image. That is, the master image processing unit 402 functions as an inspection image generation unit that generates a master image, which is an inspection image for inspecting the read image, based on the output target image. The master image generation processing by the master image processing unit 402 will be described in detail later.

検査制御部403は、検査装置4全体の動作を制御する制御部であり、検査装置4に含まれる各構成は検査制御部403の制御に従って動作する。また、検査制御部403は、本実施形態の要旨に係る構成として、閾値決定用マスター画像生成制御部403a、閾値決定用比較検査制御部403b、閾値決定処理部403c及びUI制御部403dを含む。比較検査部404は、読取画像取得部401から入力される読取画像とマスター画像処理部402が生成したマスター画像とを比較し、意図した通りの画像形成出力が実行されているか否かを判断する画像検査部であり、膨大な計算量を迅速に処理するために上述したようなASICによって構成される。 The inspection control unit 403 is a control unit that controls the operation of the entire inspection device 4, and each component included in the inspection device 4 operates according to the control of the inspection control unit 403. Further, the inspection control unit 403 includes a threshold value determination master image generation control unit 403a, a threshold value determination comparative inspection control unit 403b, a threshold value determination processing unit 403c, and a UI control unit 403d as the configuration according to the gist of the present embodiment. 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 the intended image forming output is being performed. The image inspection unit is configured by the ASIC as described above in order to quickly process a huge amount of calculation.

次に、マスター画像処理部402に含まれる機能の詳細について図5を参照して説明する。図5は、マスター画像処理部402内部の構成を示すブロック図である。図5に示すように、マスター画像処理部402は、少値多値変換処理部421、解像度変換処理部422、色変換処理部423及びマスター画像出力部424を含む。尚、本実施形態に係るマスター画像処理部402は、図2において説明した専用デバイス80、即ち、ASICとして構成されたハードウェアが、ソフトウェアの制御に従って動作することにより実現される。尚、比較検査部404及びマスター画像処理部402は、上述したようにASICによって構成されるが、CPU10によるソフトウェアモジュールによって実現することも可能である。 Next, details of the functions included in the master image processing unit 402 will be described with reference to FIG. FIG. 5 is a block diagram showing the internal configuration of the master image processing unit 402. As shown in FIG. 5, the master image processing unit 402 includes a low-value multi-value conversion processing unit 421, a resolution conversion processing unit 422, a color conversion processing unit 423, and a master image output unit 424. The master image processing unit 402 according to the present embodiment is realized by the dedicated device 80 described in FIG. 2, that is, the hardware configured as an ASIC, operating under the control of software. The comparison inspection unit 404 and the master image processing unit 402 are configured by the ASIC as described above, but can be realized by a software module by the CPU 10.

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

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

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

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

マスター画像出力部424は、少値多値変換処理部421、解像度変換処理部422及び色変換処理部423によって生成されたマスター画像を、検査制御部403に出力する。検査制御部403は、マスター画像処理部402から取得したマスター画像に基づいて比較検査部404に画像比較処理を実行させ、その比較結果を取得する。 The master image output unit 424 outputs the master image generated by the low-value multi-value conversion processing unit 421, the resolution conversion processing unit 422, and the color conversion processing unit 423 to the inspection control unit 403. The inspection control unit 403 causes the comparison inspection unit 404 to perform image comparison processing based on the master image acquired from the master image processing unit 402, and acquires the comparison result.

比較検査部404においては、上述したようにRGB各色8bitで表現された200dpiの読取画像及びマスター画像を対応する画素毎に比較し、夫々の画素毎に上述したRGB各色8bitの画素値の差分値を算出する。そのようにして算出した差分値と閾値との大小関係に基づき、比較検査部404は、読取画像における欠陥の有無を判断する。即ち、比較検査部404が、検査用画像と読取画像との差分に基づいて読取画像の欠陥を判定する画像検査部として機能する。尚、夫々の画素毎に算出された差分値が夫々の画素位置に関連付けられて画像状に構成された情報は、「差分画像」と呼ばれる。 In the comparison inspection unit 404, the read image of 200 dpi and the master image represented by 8 bits of each RGB color are compared for each corresponding pixel as described above, and the difference value of the pixel value of each 8 bits of each RGB color described above for each pixel. To calculate. Based on the magnitude relationship between the difference value calculated in this way and the threshold value, the comparison inspection unit 404 determines whether or not there is a defect in the read image. That is, the comparison inspection unit 404 functions as an image inspection unit that determines a defect in the read image based on the difference between the inspection image and the read image. Information in which the difference value calculated for each pixel is associated with each pixel position and formed in an image is called a “difference image”.

尚、差分値と閾値との大小関係の比較方法として、比較検査部404は、夫々の画素について算出された差分値を画像上の所定範囲毎に合計し、その合計値について設定された閾値と合計値とを比較する。このように各画素の差分値を合計する所定範囲としては、例えば20ドット四方の範囲である。即ち、本実施形態に係る「閾値」とは、このような差分値を合計する範囲(以降、「欠陥判定単位範囲」とする)についての差分値の合計に対して設けられている値である。従って、本実施形態に係る比較検査部404は、読取画像における欠陥の有無を示す情報として、差分値の合計が閾値を上回った欠陥判定単位範囲の画像上の位置の情報を出力する。この画像上の位置の情報としては、例えば画像上の座標の情報が用いられる。 As a comparison method of the magnitude relationship between the difference value and the threshold value, the comparison inspection unit 404 sums the difference values calculated for the respective pixels for each predetermined range on the image, and compares the difference value with the threshold value set for the total value. Compare with the total value. The predetermined range in which the difference values of the respective pixels are totaled in this manner is, for example, a 20-dot square range. That is, the “threshold value” according to the present embodiment is a value provided for the sum of the difference values for the range in which such difference values are summed up (hereinafter referred to as “defect determination unit range”). .. Therefore, the comparison inspection unit 404 according to the present embodiment outputs, as the information indicating the presence or absence of a defect in the read image, the information of the position on the image of the defect determination unit range in which the sum of the difference values exceeds the threshold. As the information on the position on the image, for example, information on the coordinates on the image is used.

読取画像とマスター画像との比較に際して、比較検査部404は、図15に示すように、所定範囲毎に分割された読取画像を、分割された範囲に対応するマスター画像に重ね合わせて各画素の画素値、即ち濃度の差分算出を行う。さらに、分割された範囲をマスター画像に重ね合わせる位置を縦横にずらしながら、算出される差分値が最も小さくなる位置を正確な重ね合わせの位置として決定すると共に、その際に算出された差分値を比較結果として採用する。図15に示すように方眼状に区切られている夫々のマスが、上述した欠陥判定単位範囲である。 When comparing the read image and the master image, as shown in FIG. 15, the comparison inspection unit 404 superimposes the read image divided for each predetermined range on the master image corresponding to the divided range, and A pixel value, that is, a difference in density is calculated. Furthermore, while shifting the position where the divided range is superimposed on the master image vertically and horizontally, the position where the calculated difference value is the smallest is determined as the position of the accurate overlay, and the difference value calculated at that time is calculated. It is adopted as the comparison result. As shown in FIG. 15, each of the squares partitioned in a grid is the defect determination unit range described above.

また、上述した「閾値」は、ASICとして構成される比較検査部404に対して、レジスタ設定によって与えられる。即ち、CPU10がプログラムに従って演算を行うことにより構成される検査制御部403が、図16に示すように設定されている閾値の値を、比較検査部404において閾値を指定するために設けられているレジスタに書き込むことにより、上述した「閾値」が設定される。 Further, the above-mentioned "threshold value" is given to the comparison inspection unit 404 configured as an ASIC by register setting. That is, the inspection control unit 403 configured by the CPU 10 performing the calculation according to the program is provided for designating the threshold value set in the comparison inspection unit 404 as shown in FIG. By writing in the register, the above-mentioned "threshold value" is set.

また、他の方法として、夫々の画素について算出された差分値と閾値との比較結果に基づいてまず夫々の画素が正常か欠陥かを判断し、欠陥と判断された画素数のカウント値とそれについて設定された閾値とを比較する方法がある。 As another method, first, it is determined whether each pixel is normal or defective based on the comparison result between the difference value calculated for each pixel and the threshold value, and the count value of the number of pixels determined to be defective and that There is a method of comparing with the threshold value set for.

このようなシステムにおいて、本実施形態に係る要旨は、比較検査部404が上述した比較処理において用いる閾値の設定に際して、ユーザの意図した通りの検査精度に応じた閾値の設定を容易に実現することにある。そのため、本実施形態においては、検査制御部403に含まれる夫々のモジュールが、検査装置4各部の機能を用いる事により、上記閾値を決定する。以下、本実施形態に係る閾値の設定動作について説明する。 In such a system, the gist of the present embodiment is to easily realize the setting of the threshold value according to the inspection accuracy intended by the user when the comparison inspection unit 404 sets the threshold value used in the above-described comparison processing. It is in. Therefore, in the present embodiment, each module included in the inspection control unit 403 determines the threshold value by using the function of each unit of the inspection device 4. The threshold setting operation according to this embodiment will be described below.

図6は、本実施形態に係る閾値の設定動作を示すフローチャートである。図6に示すように、本実施形態に係る閾値の設定動作においては、まずエンジンコントローラ2の制御に従ってプリントエンジン3が閾値決定用画像の印刷を実行する(S601)。図7(a)〜(c)は、本実施形態に係る閾値決定用画像の例を示す図である。図7(a)は、本実施形態に係る閾値決定用画像のうち、疑似的な欠陥が付加されていない基準パターン701、即ち、閾値を決定するための画像の正常な状態が表示された閾値決定用正常画像を示す図である。図7(a)に示すように、本実施形態に係る基準パターン701は、所定の色のマークが横方向、即ちX方向に4列、縦方向、即ちY方向に5行にわたって描画されて形成されている。図7(a)に示す画像がエンジンコントローラ2の制御によってプリントエンジン3から第1画像として出力される。 FIG. 6 is a flowchart showing the threshold setting operation according to the present embodiment. As shown in FIG. 6, in the threshold setting operation according to the present embodiment, the print engine 3 first prints the threshold determination image under the control of the engine controller 2 (S601). 7A to 7C are diagrams showing an example of the threshold value determination image according to the present embodiment. FIG. 7A shows a reference pattern 701 to which a pseudo defect is not added in the threshold value determination image according to the present embodiment, that is, a threshold value in which the normal state of the image for determining the threshold value is displayed. It is a figure which shows the normal image for determination. As shown in FIG. 7A, the reference pattern 701 according to this embodiment is formed by drawing marks of a predetermined color in the horizontal direction, that is, in four columns in the X direction and in the vertical direction, that is, in five rows in the Y direction. Has been done. The image shown in FIG. 7A is output from the print engine 3 as the first image under the control of the engine controller 2.

これに対して、図7(b)、(c)に示す画像は、上記閾値決定用正常画像に対して程度の異なる複数の疑似的な欠陥が付加された閾値決定用欠陥画像である。図7(b)は、本実施形態に係る閾値決定用画像のうち、上述した基準パターンに対して色の濃度の異なる疑似的な欠陥が付加された画像(以降、濃度変化欠陥パターン702とする)を示す図である。図7(b)に示すように、濃度変化欠陥パターン702には、X方向及びY方向に配列された夫々のマークについて、態様の異なる疑似欠陥が付加された画像である。図7(b)に示す画像がエンジンコントローラ2の制御によってプリントエンジン3から第2画像として出力される。 On the other hand, the images shown in FIGS. 7B and 7C are defect images for threshold determination in which a plurality of pseudo defects having different degrees are added to the normal image for threshold determination. FIG. 7B is an image in which pseudo defects having different color densities are added to the above-described reference pattern in the threshold value determination image according to the present embodiment (hereinafter referred to as density change defect pattern 702). FIG. As shown in FIG. 7B, the density change defect pattern 702 is an image in which pseudo defects having different aspects are added to the respective marks arranged in the X direction and the Y direction. The image shown in FIG. 7B is output as the second image from the print engine 3 under the control of the engine controller 2.

ここで、本実施形態に係る濃度変化欠陥パターンにおいては、X方向に配列された各マークについては、夫々異なる色の疑似欠陥が付加され、Y方向に配列された各マークについては、夫々異なる濃度の疑似欠陥が付加されている。即ち、図7(b)に示す画像は、色及び程度の異なる複数の疑似的な欠陥が付加された画像である。図8は、図7(b)に示す濃度変化欠陥パターンを出力する際に、エンジンコントローラ2のエンジン制御部202が参照する情報(以降、濃度変化欠陥パターン情報)である。尚、図8の濃度変化欠陥パターン情報は、例えば、エンジン制御部202を構成するRAM20、ROM30、HDD40等の記憶媒体や、外部の記憶媒体に格納されている。 Here, in the density variation defect pattern according to the present embodiment, pseudo defects of different colors are added to the respective marks arranged in the X direction, and different densities are applied to the respective marks arranged in the Y direction. Is added. That is, the image shown in FIG. 7B is an image to which a plurality of pseudo defects having different colors and different degrees are added. FIG. 8 is information (hereinafter, density change defect pattern information) referred to by the engine control unit 202 of the engine controller 2 when the density change defect pattern shown in FIG. 7B is output. The density change defect pattern information of FIG. 8 is stored in a storage medium such as the RAM 20, the ROM 30, the HDD 40, or the like that configures the engine control unit 202, or an external storage medium.

図8において“PC”、“PM”、“PY”、“PK”は、CMYK各色についてのパターンの色を示す値である。図8に示すように、濃度変化欠陥パターン情報においては、X方向4列、Y方向5行の夫々のパターンについて、付与するべき疑似欠陥の色の情報が設定されている。例えば、1行1列目のパターンには、“PC”に“d1”を加え、他のMYKについてはパターンと同じ値の色が疑似欠陥として付与される。そして、2列目は“PM”に、3列目は“PY”に、4列目は“PK”に、夫々値が加算されることにより、元のパターンとは異なる色の疑似欠陥が付与されることとなる。 In FIG. 8, “PC”, “PM”, “PY”, and “PK” are values indicating pattern colors for each of CMYK colors. As shown in FIG. 8, in the density change defect pattern information, information on the color of the pseudo defect to be added is set for each pattern of 4 columns in the X direction and 5 rows in the Y direction. For example, “d1” is added to “PC” for the pattern in the first row and first column, and the colors having the same values as those of the pattern are added as pseudo defects for the other MYK. Then, by adding values to "PM" in the second column, "PY" in the third column, and "PK" in the fourth column, a pseudo defect of a color different from the original pattern is added. Will be done.

また、図8に示すように、Y方向においては、“+d1”、“+d2”、“+d3”・・・のように、加算するべき値が変化していく。ここで、本実施形態においては、“dn”のnの値が大きいほど、濃度が高くなることを示す。即ち、Y方向においては、疑似欠陥として値を加算する色の濃度が濃くなる。この濃度の変化については、図7(b)においては、点線や破線等の線の態様の違いで表現している。 Further, as shown in FIG. 8, in the Y direction, the value to be added changes like “+d1”, “+d2”, “+d3”. Here, in the present embodiment, the larger the value of n of “dn”, the higher the density. That is, in the Y direction, the density of the color for which a value is added as a pseudo defect is high. In FIG. 7B, the change in the density is represented by a difference in the form of lines such as a dotted line and a broken line.

ここで、図7(b)に示すような濃度変化欠陥パターンの出力に際して、エンジン制御部202は、濃度を変化させる範囲の設定を取得し、その取得した範囲の設定に基づいて図8に示す“dn”の値を決定する。この範囲の設定は、予めエンジン制御部202に対して設定されている値であっても良いし、濃度変化欠陥パターンの出力に際してユーザが手動で設定しても良い。 Here, at the time of outputting the density change defect pattern as shown in FIG. 7B, the engine control unit 202 acquires the setting of the range in which the density is changed, and based on the acquired setting of the range, it is shown in FIG. Determine the value of "dn". The setting of this range may be a value set in advance for the engine control unit 202, or may be manually set by the user when outputting the density change defect pattern.

上記範囲の設定値の下限を“dm”、上限を“dM”とすると、“dn”は以下の式(1)によって求めることができる。
上記式(1)のような計算により、“d1”〜“d5”の5つの値によって、“dm”〜“dM”までの範囲が等分されて濃度の加算値として用いられる。
When the lower limit of the set value of the above range is “dm” and the upper limit is “dM”, “dn” can be obtained by the following formula (1).
The range from "dm" to "dM" is equally divided by the five values "d1" to "d5" by the calculation of the above formula (1) and is used as the added value of the density.

図7(c)は、本実施形態に係る閾値決定用画像のうち、上述した基準パターンに対して線の幅の異なる疑似的な欠陥が付加された画像(以降、幅変化欠陥パターン703とする)を示す図である。図7(c)に示すように、幅変化欠陥パターン703は、濃度変化欠陥パターン702と同様に、X方向及びY方向に配列された夫々のマークについて、態様の異なる疑似欠陥が付加された画像である。即ち、図7(c)に示す画像も、図7(b)と同様に、色及び程度の異なる複数の疑似的な欠陥が付加された画像である。図7(c)に示す画像がエンジンコントローラ2の制御によってプリントエンジン3から第3画像として出力される。幅変化欠陥パターン703は、濃度変化欠陥パターン702と同様に、X方向に配列された各マークについては、夫々異なる色の疑似欠陥が付加されている。Y方向に配列された各マークについては、夫々異なる幅の疑似欠陥が付加されている。 FIG. 7C is an image in which pseudo defects having different line widths are added to the above-described reference pattern in the threshold value determination image according to the present embodiment (hereinafter, referred to as width change defect pattern 703). FIG. As shown in FIG. 7C, in the width change defect pattern 703, similar to the density change defect pattern 702, an image in which pseudo defects having different aspects are added to the respective marks arranged in the X direction and the Y direction. Is. That is, the image shown in FIG. 7C is also an image to which a plurality of pseudo defects having different colors and degrees are added, as in FIG. 7B. The image shown in FIG. 7C is output as the third image from the print engine 3 under the control of the engine controller 2. In the width change defect pattern 703, similar to the density change defect pattern 702, pseudo defects of different colors are added to the respective marks arranged in the X direction. Pseudo defects having different widths are added to the respective marks arranged in the Y direction.

エンジン制御部202は、図7(c)に示すような疑似欠陥の幅の変化についても、濃度変化欠陥パターンと同様に、設定された範囲の間で疑似欠陥の幅を変化させる。そのような幅の変化は、上記式(1)と同様の計算により、“dn”として疑似欠陥の幅を求めることにより可能である。尚、エンジン制御部202は、このようにして算出した“dn”を後の処理において用いるために記憶しておく。 The engine control unit 202 also changes the width of the pseudo defect between the set ranges in the same manner as the density change defect pattern, even when the width of the pseudo defect shown in FIG. 7C is changed. Such a change in width is possible by obtaining the width of the pseudo defect as "dn" by the same calculation as in the above formula (1). The engine control unit 202 stores the “dn” calculated in this way for use in the subsequent processing.

尚、本実施形態においては、エンジン制御部202が、図7(a)〜(c)に示すようなパターンの画像形成出力を実行するためのビットマップデータを生成する場合を例とするが、DFE1にそのような機能を持たせても良い。 Note that, in the present embodiment, the case where the engine control unit 202 generates bitmap data for executing the image forming output of the patterns shown in FIGS. 7A to 7C is taken as an example. The DFE 1 may have such a function.

このようにS601の処理が実行されると、エンジンコントローラ2、プリントエンジン3及び検査装置4が上述したような夫々の処理を実行し、エンジンコントローラ2から検査装置4に対してビットマップデータが送信されると共に、プリントエンジン3においては出力された用紙の読取画像が読取装置302によって生成され、検査装置4に入力される。これに対して、閾値の設定動作における検査装置4は、エンジンコントローラ2から入力されたビットマップデータのうち、第1画像のビットマップデータに基づいてマスター画像を生成する(S602a)と共に、第2画像及び第3画像の読取画像を取得する
(S602b)。
When the process of S601 is executed in this way, the engine controller 2, the print engine 3, and the inspection device 4 execute the respective processes as described above, and the bitmap data is transmitted from the engine controller 2 to the inspection device 4. At the same time, in the print engine 3, the read image of the output sheet is generated by the reading device 302 and input to the inspection device 4. On the other hand, the inspection device 4 in the threshold setting operation generates the master image based on the bitmap data of the first image among the bitmap data input from the engine controller 2 (S602a), and the second image. The read image of the image and the third image is acquired (S602b).

S602aにおいては、検査制御部403の閾値決定用マスター画像生成制御部403aがマスター画像処理部402を制御し、エンジンコントローラ2から入力される第1画像〜第3画像のビットマップデータのうち第1画像のみについてマスター画像を生成させる。このマスター画像は、上述した閾値決定用正常画像についての検査用画像、即ち正常検査用画像である。 In S602a, the threshold determination master image generation control unit 403a of the inspection control unit 403 controls the master image processing unit 402, and the first of the bitmap data of the first image to the third image input from the engine controller 2 is input. Generate a master image for only the image. This master image is an inspection image for the normal image for threshold determination described above, that is, a normal inspection image.

また、S602bにおいて、検査制御部403の閾値決定用比較検査制御部403bは、読取画像取得部401を制御し、プリントエンジン3から入力される第1画像〜第3画像の読取画像のうち第1画像の読取画像を破棄させて第2画像及び第3画像の読取画像を取得させる。この読取画像は、上述した閾値決定用欠陥画像を読み取った欠陥読取画像である。 Further, in step S602b, the threshold determination comparative inspection control unit 403b of the inspection control unit 403 controls the read image acquisition unit 401, and the first of the read images of the first image to the third image input from the print engine 3 is input. The read image of the image is discarded and the read images of the second image and the third image are acquired. This read image is a defect read image obtained by reading the above-described threshold determination defect image.

そして、検査制御部403の閾値決定用比較検査制御部403bは、比較検査部404を制御し、上述した第1画像のマスター画像と、第2、第3画像の読取画像との比較処理を実行させて第2画像、第3画像の夫々に付いて上述したように差分値を算出させ、差分画像を取得する(S603)。S603においては、図7(b)、(c)に示すような色及び程度の異なる複数の疑似的な欠陥毎に、マスター画像と読取画像との差分が算出される。 Then, the threshold value determination comparison inspection control unit 403b of the inspection control unit 403 controls the comparison inspection unit 404 to execute the comparison processing between the master image of the first image and the read images of the second and third images described above. Then, the difference value is calculated for each of the second image and the third image as described above, and the difference image is acquired (S603). In S603, the difference between the master image and the read image is calculated for each of a plurality of pseudo defects having different colors and degrees as shown in FIGS. 7B and 7C.

第2画像、第3画像について、マスター画像との差分画像を取得すると、検査制御部403の閾値決定処理部403cは、図7(a)〜(c)において説明したように、行列上に配置された夫々のマーク毎に、疑似的に付加された欠陥を欠陥として検知するための閾値を算出する(S604)。S604の処理により、図9に示すように、X方向4列、Y方向5行の夫々のマーク毎に、“th11”、“th12”・・・のように閾値が算出される。即ち、S604においては、色及び程度の異なる複数の疑似的な欠陥毎に生成された差分について、複数の疑似的な欠陥夫々を欠陥として判定するための閾値が算出される。このようにして算出された夫々の閾値を「個別閾値」とする。尚、図9に示す情報は、検査装置4を構成するRAM20、ROM30、HDD40等の記憶媒体や、外部の記憶媒体に格納される。 When the difference image from the master image is acquired for the second image and the third image, the threshold value determination processing unit 403c of the inspection control unit 403 arranges them in a matrix as described in FIGS. 7A to 7C. A threshold value for detecting a pseudo-added defect as a defect is calculated for each of the generated marks (S604). By the processing of S604, as shown in FIG. 9, the threshold value is calculated as "th11", "th12"... For each mark of 4 columns in the X direction and 5 rows in the Y direction. That is, in S604, a threshold value for determining each of the plurality of pseudo defects as a defect is calculated with respect to the difference generated for each of the plurality of pseudo defects having different colors and degrees. The respective threshold values calculated in this way are referred to as "individual threshold values". The information shown in FIG. 9 is stored in a storage medium such as the RAM 20, the ROM 30, the HDD 40, or the like that constitutes the inspection device 4, or an external storage medium.

尚、図9において1つのテーブルを示しているが、本実施形態においては、第1画像及び第2画像に含まれる夫々のマークについて個別閾値が設定されるため、図9に示すようなテーブルが第1画像及び第2画像の夫々について生成される。 Although one table is shown in FIG. 9, in the present embodiment, since individual threshold values are set for the respective marks included in the first image and the second image, the table shown in FIG. It is generated for each of the first image and the second image.

ここで、図6のS604の処理の詳細について、図10を参照して説明する。図10に示すように、閾値決定処理部403cは、先ず初期の閾値を設定する(S1001)。この初期の閾値とは、あらゆる欠陥が欠陥として抽出されないような閾値である。即ち、上述したように欠陥判定単位範囲の差分値を全て合計した値が大きくても欠陥と判断されないような大きな値が初期閾値として設定される。 Here, details of the processing in S604 of FIG. 6 will be described with reference to FIG. As shown in FIG. 10, the threshold value determination processing unit 403c first sets an initial threshold value (S1001). This initial threshold value is a threshold value at which all defects are not extracted as defects. That is, as described above, a large value that is not judged as a defect even if the sum of all the difference values in the defect judgment unit range is large is set as the initial threshold value.

初期閾値を設定すると、閾値決定処理部403cは、設定された閾値に従って比較検査部303を制御して欠陥判別処理を実行させる(S1002)。ここで、S1002においては、図7(a)〜(c)に示す夫々のマークが表示されている領域毎に欠陥判別処理を行う。これに対して、通常の欠陥判別処理においては、画像全体について欠陥判別処理を行う。そのため、S1002の判断と通常の判断とで、対象となる画素数が異なるため、算出される差分値の母数が異なる。この母数の変化に対応するため、S1002において適用する閾値は、画像全体の画素数と夫々のマークが表示されている領域の画素数との比率に応じて調整された値を用いる。この他、S1001において設定される初期閾値を夫々のマークが表示されている領域に画素数に対応した値としても良い。 When the initial threshold value is set, the threshold value determination processing unit 403c controls the comparison inspection unit 303 according to the set threshold value to execute the defect determination processing (S1002). Here, in S1002, a defect determination process is performed for each area in which the respective marks shown in FIGS. 7A to 7C are displayed. On the other hand, in the normal defect determination process, the defect determination process is performed on the entire image. Therefore, since the number of target pixels is different between the determination of S1002 and the normal determination, the parameter of the calculated difference value is different. In order to deal with this change in the population parameter, the threshold value applied in S1002 uses a value adjusted according to the ratio of the pixel number of the entire image and the pixel number of the area where each mark is displayed. In addition, the initial threshold value set in S1001 may be a value corresponding to the number of pixels in the area where each mark is displayed.

S1002の判断の結果、夫々のマークの領域について、新たに欠陥として判定された領域があれば(S1003/YES)、閾値決定処理部403cは、現在設定されている閾値を、新たに欠陥として判定された領域についての閾値として図9に示すテーブルに設定する(S1004)。これにより、図9に示す“th11”、“th12”等の1つの閾値が設定される。 As a result of the determination in S1002, if there is a region that is newly determined as a defect for each mark region (S1003/YES), the threshold determination processing unit 403c determines the currently set threshold as a new defect. The thresholds for the selected areas are set in the table shown in FIG. 9 (S1004). As a result, one threshold value such as “th11” or “th12” shown in FIG. 9 is set.

S1004の処理の後、閾値決定処理部403cは、全ての領域について閾値を設定したか否か確認し(S1005)、図9に示すように全ての閾値が設定されていれば(S1005/YES)、そのまま処理を終了する。他方、S1002の処理の結果新たに欠陥として判定された領域がなかった場合(S1003/NO)、若しくは全閾値が設定されていない場合(S1005/NO)、閾値決定処理部403cは、欠陥として判定される可能性が上がるように閾値を変更し(S1006)、S1002からの処理を繰り返す。 After the processing of S1004, the threshold value determination processing unit 403c confirms whether or not the threshold values have been set for all areas (S1005), and if all the threshold values have been set as shown in FIG. 9 (S1005/YES). , And ends the processing as it is. On the other hand, when there is no area newly determined as a defect as a result of the process of S1002 (S1003/NO) or when all thresholds are not set (S1005/NO), the threshold value determination processing unit 403c determines as a defect. The threshold value is changed so as to increase the possibility of being performed (S1006), and the processing from S1002 is repeated.

このように、本実施形態に係る閾値決定処理部403cは、欠陥として判定される可能性が上がるように徐々に閾値を変更しながら、全ての領域が欠陥として判定されるまで欠陥判別処理を繰り返す。これにより、図7(b)、(c)において説明したように、程度の異なる様々な疑似欠陥を抽出するための閾値として、実際の欠陥判別処理に応じた閾値を決定することができる。また、本実施形態においては、そのタイミングにおいて読取装置302によって生成された読取画像に基づいて判断されるため、読取装置302のリアルタイムでの状態に応じた閾値を設定することが可能である。 As described above, the threshold value determination processing unit 403c according to the present embodiment gradually changes the threshold value so that the possibility of being determined as a defect is increased, and repeats the defect determination process until all regions are determined as defects. .. As a result, as described with reference to FIGS. 7B and 7C, it is possible to determine a threshold value according to the actual defect determination process as a threshold value for extracting various pseudo defects having different degrees. Further, in the present embodiment, since the determination is made based on the read image generated by the reading device 302 at that timing, it is possible to set the threshold value according to the state of the reading device 302 in real time.

尚、上述したように、S1002において適用される閾値は、画像全体についての欠陥を判断するための閾値とは異なる。そのため、その時点で設定されている閾値を画素数に応じて変倍した値をS1002において閾値として用いた場合、S1004においてテーブルに設定される閾値は、その時点で設定されている閾値である。これに対して、その時点で設定されている閾値をS1002において閾値として用いた場合、S1004においてテーブルに設定される閾値は、その時点で設定されている閾値を画素数に応じて変倍した値である。 Note that, as described above, the threshold applied in S1002 is different from the threshold for determining the defect in the entire image. Therefore, when a value obtained by scaling the threshold value set at that time according to the number of pixels is used as the threshold value in S1002, the threshold value set in the table in S1004 is the threshold value set at that time point. On the other hand, when the threshold set at that time is used as the threshold in S1002, the threshold set in the table in S1004 is a value obtained by scaling the threshold set at that time according to the number of pixels. Is.

尚、欠陥判別の処理として、全体の画素数に対して差分値が所定以上である画素数の割合を判断対象の情報とし、その割合、即ちパーセンテージとして閾値が設定されている場合は、判断対象とする画素の母数に関わらず同一の閾値を用いることが可能である。 As the defect determination process, the ratio of the number of pixels whose difference value is a predetermined value or more to the total number of pixels is used as the information to be determined, and if the threshold is set as the ratio, that is, a percentage, the determination target It is possible to use the same threshold value regardless of the population of the pixels.

S604の処理が完了すると、UI制御部403dは、ユーザに閾値を設定させるためのGUI(Graphical User Interface)を表示装置に表示させ、ユーザの操作に応じて選択結果を受け付ける(S605)。ここで、S605において表示されるGUI(以降、「閾値選択画面」とする)を図11(a)、(b)に示す。図11(a)、(b)に示す画面は、検査装置4に接続されているLCD60等の表示装置に表示される。図11(a)は、S605において表示されるGUIの初期画面、即ち、ユーザによる選択がされていない状態の画面を示す図である。 When the process of S604 is completed, the UI control unit 403d displays a GUI (Graphical User Interface) for allowing the user to set a threshold on the display device, and accepts the selection result according to the user's operation (S605). Here, the GUI displayed in S605 (hereinafter referred to as “threshold selection screen”) is shown in FIGS. The screens shown in FIGS. 11A and 11B are displayed on a display device such as the LCD 60 connected to the inspection device 4. FIG. 11A is a diagram showing an initial screen of the GUI displayed in S605, that is, a screen in a state where the user has not selected.

図11(a)に示すように、閾値選択画面においては、図7(b)、(c)において説明した濃度変化欠陥パターン及び幅変化欠陥パターンの画像が表示されている。このような画像は、例えば、読取画像取得部401が取得した第2画像及び第3画像により表示可能である。ユーザは、図11(a)に示すような画面において、欠陥として識別したいマークを選択する。 As shown in FIG. 11A, on the threshold selection screen, the images of the density change defect pattern and the width change defect pattern described in FIGS. 7B and 7C are displayed. Such an image can be displayed by, for example, the second image and the third image acquired by the read image acquisition unit 401. The user selects a mark to be identified as a defect on the screen as shown in FIG. 11(a).

図11(a)に示すような画面においてマークを選択する際、ユーザは画面に対して操作を行うが、マークの選択については、画面ではなく出力された用紙を見て行う。これにより、実際に紙に出力された状態の欠陥を判断することが可能となる。図11(b)は、ユーザによって欠陥として識別するべき画像が選択された状態を示す図である。図11(b)に示すように、ユーザによって選択されたマークは、枠で囲われることによって強調表示される。 When a mark is selected on the screen as shown in FIG. 11A, the user operates the screen, but the mark is selected not on the screen but on the output paper. As a result, it becomes possible to determine the defect in the state in which the paper is actually output. FIG. 11B is a diagram showing a state in which an image to be identified as a defect is selected by the user. As shown in FIG. 11B, the mark selected by the user is highlighted by being surrounded by a frame.

このようにマークが選択されると、UI制御部403dがその選択結果を取得し、閾値決定処理部403cは、図9において説明したテーブルを参照することにより、夫々のマークを欠陥として検出するための閾値を設定することが可能となる。即ち、閾値決定処理部403cは、S605においてUI制御部403dがユーザの選択を受け付けると、図11(b)に示すようにユーザによって選択されたマークに対応する個別閾値を図9に示すテーブルから抽出する。即ち、UI制御部403dは、図11(a)に示すような画面に対する操作に応じて、ユーザによって選択された欠陥を認識する。 When the marks are thus selected, the UI control unit 403d acquires the selection result, and the threshold value determination processing unit 403c detects each mark as a defect by referring to the table described in FIG. It is possible to set the threshold of. That is, when the UI control unit 403d receives the user's selection in S605, the threshold value determination processing unit 403c displays the individual threshold value corresponding to the mark selected by the user from the table shown in FIG. 9 as shown in FIG. 11B. Extract. That is, the UI control unit 403d recognizes the defect selected by the user according to the operation on the screen as illustrated in FIG.

具体的には、図11(b)に示すように欠陥が選択されると、閾値決定処理部403cは、選択された欠陥の画像上の配置位置の情報を取得し、その配置位置の情報に基づいて図9に示すテーブルの“X方向配置”、“Y方向配置”を特定する。そして、閾値決定処理部403cは、図9に示す“th11”、“th21”等、選択された欠陥の配置位置に対応する閾値の情報を抽出する。 Specifically, when a defect is selected as shown in FIG. 11B, the threshold value determination processing unit 403c acquires information on the arrangement position of the selected defect on the image, and uses it as information on the arrangement position. Based on this, the "X direction arrangement" and "Y direction arrangement" of the table shown in FIG. 9 are specified. Then, the threshold value determination processing unit 403c extracts threshold value information corresponding to the placement position of the selected defect, such as "th11" and "th21" shown in FIG.

図11(b)に示すように選択されたマークについての個別閾値を図9に示すテーブルから抽出すると、閾値決定処理部403cは、抽出した個別閾値に基づいて最終的な閾値を決定する(S606)。S606において、閾値決定処理部403cは、抽出した個別閾値、即ち、ユーザが欠陥と判定するべきとして選択したマークに対応する個別閾値のうち、最も厳しい値、即ち、より多くのマークが欠陥として判定される個別閾値を最終的な閾値とする。このようにして決定された閾値は、図16に示す閾値設定として保存され、比較検査部404による画像の比較検査の際には、検査制御部403によるレジスタ値の書き込みによって比較検査部404に与えられる。 When the individual threshold for the selected mark is extracted from the table shown in FIG. 9 as shown in FIG. 11B, the threshold determination processing unit 403c determines a final threshold based on the extracted individual threshold (S606). ). In S606, the threshold value determination processing unit 403c determines the strictest value among the extracted individual threshold values, that is, the individual threshold values corresponding to the marks selected by the user to be determined to be defective, that is, more marks are determined to be defective. The individual threshold to be set is the final threshold. The threshold value thus determined is stored as the threshold value setting shown in FIG. 16, and when the comparison inspection unit 404 performs the image comparison inspection, the inspection control unit 403 writes the register value to the comparison inspection unit 404. To be

最終的な閾値が決定されると、閾値決定処理部403cは、ユーザの操作に基づいて再調整の要否を判断する(S607)。尚、ユーザによる操作の内容は、UI制御部403によって取得される。S607において、閾値決定処理部403cは、検査装置4に接続されているLCD60等の表示装置に、再調整の要否を選択するための画面を表示させ、その画面に対するユーザの操作に従って判断を行う。 When the final threshold value is determined, the threshold value determination processing unit 403c determines whether readjustment is necessary based on the user's operation (S607). The contents of the operation by the user is acquired by the UI control unit 403 d. In S607, the threshold value determination processing unit 403c causes a display device such as the LCD 60 connected to the inspection device 4 to display a screen for selecting necessity of readjustment, and makes a determination according to a user operation on the screen. ..

再調整が不要である場合(S607/YES)、閾値決定処理部403cはそのまま処理を終了する。他方、再調整が必要である場合(S607/NO)、閾値決定処理部403cは、S601からの処理を繰り返すように、エンジンコントローラ2に対して通知を行うと共に検査装置4を制御する。この際、閾値決定処理部403cは、濃度変化欠陥パターンや幅変化欠陥パターンにおいて上述したように濃度や幅を変化させる範囲、即ちdm、dMとして、S605において抽出された夫々の個別閾値の最大値及び最小値に対応するマークの“dn”を指定する。 If the readjustment is not necessary (S607/YES), the threshold value determination processing unit 403c ends the process as it is. On the other hand, when readjustment is necessary (S607/NO), the threshold value determination processing unit 403c notifies the engine controller 2 and controls the inspection device 4 so as to repeat the processing from S601. At this time, the threshold value determination processing unit 403c determines the maximum value of each individual threshold value extracted in S605 as the range in which the density and width are changed as described above in the density change defect pattern and the width change defect pattern, that is, dm and dM. And "dn" of the mark corresponding to the minimum value.

上述したように、夫々のマークについて算出された“dn”は、エンジン制御部202を構成するRAM20、ROM30、HDD40等の記憶媒体や、外部の記憶媒体において記憶されている。従って、閾値決定処理部403cは、濃度変化欠陥パターン及び幅変化欠陥パターンの夫々について、上記最大値及び最小に対応するマークのY方向の位置を通知するのみで、エンジン制御部202に対して“dn”を指定することが可能である。 As described above, the “dn” calculated for each mark is stored in the storage medium such as the RAM 20, the ROM 30, the HDD 40, or the like forming the engine control unit 202, or an external storage medium. Therefore, the threshold value determination processing unit 403c merely notifies the engine control unit 202 of the position in the Y direction of the mark corresponding to the maximum value and the minimum value for each of the density change defect pattern and the width change defect pattern. It is possible to specify dn".

尚、S605においては、濃度変化欠陥パターン及び幅変化欠陥パターンの夫々について個別閾値が抽出される。従って、閾値決定処理部403cは、濃度変化欠陥パターン及び幅変化欠陥パターンの夫々について、S605において抽出された夫々の個別閾値の最大値及び最小値に対応するマークの“dn”を指定する。 Note that in S605, individual threshold values are extracted for each of the density change defect pattern and the width change defect pattern. Therefore, the threshold value determination processing unit 403c specifies the mark "dn" corresponding to the maximum value and the minimum value of the individual threshold values extracted in S605 for each of the density change defect pattern and the width change defect pattern.

その結果、S601の処理が繰り返される際には、既に一度実行された閾値設定動作におけるS605の処理によって抽出された個別閾値の最大値及び最小値に対応する範囲の疑似欠陥が付されたマークが濃度変化欠陥パターン及び幅変化欠陥パターンにおいて形成されることとなる。そのような第2画像及び第3画像について図6の処理を実行することにより、より詳細な閾値設定を行うことが可能となる。 As a result, when the process of S601 is repeated, the mark with the pseudo defect in the range corresponding to the maximum value and the minimum value of the individual threshold values extracted by the process of S605 in the threshold value setting operation that has already been executed once is made. It is formed in the density change defect pattern and the width change defect pattern. By performing the processing of FIG. 6 on such a second image and a third image, it becomes possible to perform more detailed threshold setting.

このように、本実施形態に係るシステムにおいては、図7(b)、(c)に示すような段階的なレベルの欠陥が表現された画像について、閾値を段階的に変化させて欠陥判定を行うことにより、段階的なレベルの欠陥夫々を検知することができる個別閾値を得る。そして、パターンが描画された用紙をユーザが目視により確認し、欠陥として判定したいマークを選択することにより、そのマークに対応した個別閾値を設定するべき閾値として用いる。このような処理により、画像形成出力による出力結果を読み取った画像とマスター画像とを比較することによる画像の検査において、比較結果に基づいて欠陥を判定するための閾値の設定を容易且つ好適に行うことが可能となる。 As described above, in the system according to the present embodiment, the threshold value is changed stepwise for the image in which the defects of stepwise levels as shown in FIGS. By doing so, an individual threshold value that can detect each level of defects is obtained. Then, the user visually confirms the paper on which the pattern is drawn, selects a mark to be determined as a defect, and uses the individual threshold corresponding to the mark as a threshold to be set. By such processing, in the image inspection by comparing the image obtained by reading the output result of the image forming output with the master image, the threshold value for determining the defect based on the comparison result is easily and preferably set. It becomes possible.

尚、上記実施形態においては、閾値の設定に際して図7(a)〜(c)に示すような画像の印刷出力を実行する場合を例として説明した。これにより、例えば図6のS607の処理のように、設定するべき閾値の範囲を変更して繰り返し処理を行うことが可能となる。これに対して、閾値の範囲を変更して繰り返し処理を実行する必要がなければ、図7(a)に示す画像のビットマップデータをマスター画像処理部402に入力すると共に、図7(b)、(c)に示すような画像が既に形成された読取用のチャート用紙をプリントエンジン3の読取装置302に読み取らせることによっても上記動作を実現することが可能
である。
It should be noted that, in the above-described embodiment, the case where the print output of the image as shown in FIGS. As a result, it becomes possible to change the range of the threshold value to be set and perform the repetitive processing, for example, like the processing of S607 in FIG. On the other hand, if it is not necessary to change the threshold value range and repeatedly execute the process, the bitmap data of the image shown in FIG. 7A is input to the master image processing unit 402, and at the same time, FIG. , (C), the above operation can also be realized by causing the reading device 302 of the print engine 3 to read the reading chart paper on which the image has already been formed.

また、上記実施形態においては、図11(a)、(b)に示すように、第2画像及び第3画像を画面上に表示させてユーザにマークを選択される場合を例として説明した。このような画面により、ユーザによるマークの選択をより直感的なものとすることができるが、図12に示すように、マークのX方向及びY方向の位置が文字情報として表示された一覧において選択するような態様も可能である。 Further, in the above embodiment, as shown in FIGS. 11A and 11B, the case where the second image and the third image are displayed on the screen and the user selects the mark has been described as an example. With such a screen, the selection of the mark by the user can be made more intuitive, but as shown in FIG. 12, the position of the mark in the X direction and the Y direction is selected in the list displayed as character information. Such a mode is also possible.

また、上記実施形態においては、図7(b)、(c)及び図11(a)、(b)に示すように、濃度変化欠陥パターン及び幅変化欠陥パターンにおいて、夫々のマークが色及び疑似的な欠陥の程度によって配列されて表示される場合を例として説明した。これにより、疑似欠陥の程度に従った許容範囲の選択を容易化することが可能となる。この他、色及び欠陥の程度をランダムに配置することも可能である。これにより、ユーザがマークを選択する際の先入観を排除することが可能である。 Further, in the above-described embodiment, as shown in FIGS. 7B, 7C, 11A, and 11B, in the density change defect pattern and the width change defect pattern, the respective marks are colored and pseudo. The case has been described as an example in which the images are arranged and displayed according to the degree of specific defects. This makes it possible to facilitate the selection of the allowable range according to the degree of the pseudo defect. In addition, it is possible to randomly arrange the color and the degree of the defect. This makes it possible to eliminate prejudice when the user selects a mark.

尚、図7(b)、(c)において説明したように、本実施形態に係る濃度変化欠陥パターン及び幅変化欠陥パターンは、CMYKの各色について、程度の異なる複数の疑似欠陥が再現される。そして、各色の人間の視認特性を考慮すると、各色によってユーザが許容すると判断する疑似欠陥の程度が異なる場合が考えられる。 As described with reference to FIGS. 7B and 7C, in the density change defect pattern and the width change defect pattern according to this embodiment, a plurality of pseudo defects having different degrees are reproduced for each color of CMYK. Considering the human visual recognition characteristics of each color, it is possible that the degree of the pseudo defect determined to be acceptable by the user is different for each color.

例えば、比較的淡く視認されるYについては、図8に示す“PY+d4”に対応するマークまでが許容された場合、即ち、“PY+d5”に対応するマークのみが選択された場合において、Kについては、図8に示す“PK+d1”に対応するマークから“PK+d5”に対応するマークまで全てが欠陥とすべきとして選択される場合があり得る。この場合、閾値としては“PK+d1”に対応するマークについての閾値が最も厳しい値となるが、この値を適用すると、Yの色の欠陥については、ユーザが許容するべきと判断した程度についても欠陥として判断されることとなる。 For example, with respect to Y which is visually recognized relatively lightly, when up to the mark corresponding to “PY+d4” shown in FIG. 8 is allowed, that is, when only the mark corresponding to “PY+d5” is selected, K is It is possible that all the marks from the mark corresponding to "PK+d1" to the mark corresponding to "PK+d5" shown in FIG. In this case, as the threshold value, the threshold value for the mark corresponding to “PK+d1” becomes the strictest value. However, when this value is applied, the defect of Y color is also defective to the extent that the user judges that the defect should be allowed. Will be judged as.

このような場合、比較検査部404は、段階的な閾値を設定することによりユーザの利便性を向上することが可能である。具体的には、最終的に設定するべき閾値として、ユーザに確認することなく欠陥として判定する第1の閾値と、欠陥とするか否かをユーザに選択させる第2の閾値とを設定する態様が考えられる。 In such a case, the comparison inspection unit 404 can improve the convenience for the user by setting a stepwise threshold value. Specifically, as the thresholds to be finally set, a first threshold value that is determined as a defect without confirming the user and a second threshold value that allows the user to select whether or not the defect is set are set. Is possible.

このような場合、閾値決定処理部403cは、図6のS605において、各色の疑似欠陥毎、即ち、図9に示すテーブルの夫々の列毎に、選択されたマークに対応する閾値として最も厳しい値を抽出する。そして、閾値決定処理部403cは、そのようにして抽出した各色の閾値のうち、最も許容範囲の広い値、即ち、欠陥として判定される範囲が最も狭い値を上記第1の閾値とし、最も厳しい値、即ち、欠陥として判定される範囲が最も広い値を上記第2の閾値とする。 In such a case, in S605 of FIG. 6, the threshold determination processing unit 403c sets the strictest threshold as the threshold corresponding to the selected mark for each pseudo defect of each color, that is, for each column of the table shown in FIG. To extract. Then, the threshold value determination processing unit 403c sets, as the first threshold value, a value having the widest allowable range, that is, a value having the narrowest range to be determined as a defect, among the threshold values of the respective colors thus extracted, and the strictest. A value, that is, a value having the widest range to be determined as a defect is set as the second threshold.

このような処理により、最も許容範囲の広い閾値であるにも関わらず欠陥として判定された場合にはユーザの視認上も欠陥である可能性が高く、ユーザに問い合わせることなく欠陥として判定し、最も許容範囲の狭い閾値によって欠陥として判定された場合には、それがユーザの視認上も欠陥であるかは不明であるため、ユーザに問い合わせることによって欠陥判定の精度を向上することができる。 By such a process, when it is determined as a defect even though the threshold value is the widest in the allowable range, it is highly likely that the defect is visually recognized by the user, and the defect is determined without inquiring the user. When it is determined as a defect by the threshold value having a narrow allowable range, it is not clear whether the defect is visually recognized by the user. Therefore, the accuracy of the defect determination can be improved by inquiring the user.

また、図6のS607において説明したように、閾値の設定動作を繰り返し行う場合、閾値決定処理部403cは、上述した第1の閾値及び第2の閾値に対応する“dn”の値を、dm、dMとして指定しても良い。 Further, as described in S607 of FIG. 6, when the threshold setting operation is repeatedly performed, the threshold determination processing unit 403c sets the value of “dn” corresponding to the above-described first threshold and second threshold to dm. , DM may be designated.

また、上記実施形態においては、図11(a)、(b)及び図6のS605において説明したように、ユーザが疑似欠陥を視認した上でマークを選択することにより、検査装置4においては、選択されたマークに対応する閾値に基づいて最終的な閾値を決定する場合を例として説明した。これにより、欠陥判定における許容度をユーザの視認に基づいて容易に設定することが可能である。 Further, in the above-described embodiment, as described with reference to FIGS. 11A, 11B, and S605 in FIG. 6, the user visually recognizes the pseudo defect and then selects the mark. The case where the final threshold value is determined based on the threshold value corresponding to the selected mark has been described as an example. Thereby, it is possible to easily set the tolerance in the defect determination based on the user's visual recognition.

他方、ユーザの選択という操作が無かったとしても、図7(a)に示す第1画像のような正常な画像と、図7(b)、(c)に示す第2、第3画像のような疑似的な欠陥が付された画像との差分に基づいて閾値を設定することにより、読取装置302の状態に応じた閾値を設定するという効果は得る事が可能である。従って、図6のS605の処理を省略し、正常な画像について生成されたマスター画像と、疑似的な欠陥が付された画像の読取画像との差分に基づいて自動的に閾値を設定しても良い。 On the other hand, even if there is no user's selection operation, normal images such as the first image shown in FIG. 7A and second and third images shown in FIGS. 7B and 7C are displayed. By setting the threshold value based on the difference from the image with the pseudo defect, it is possible to obtain the effect of setting the threshold value according to the state of the reading device 302. Therefore, even if the processing of S605 in FIG. 6 is omitted and the threshold value is automatically set based on the difference between the master image generated for the normal image and the read image of the image with the pseudo defect. good.

また、上記実施形態においては、図1において説明したように、DFE1、エンジンコントローラ2、プリントエンジン3及び検査装置4が夫々別々の装置として構成されている場合を例として説明した。ここで、図1に示す夫々の構成のうち、DFE1、エンジンコントローラ2及びプリントエンジン3は、商業印刷用の画像形成装置ではない一般的な画像形成装置においても相当する機能が含まれる構成である。 Further, in the above-described embodiment, as described with reference to FIG. 1, the case where the DFE 1, the engine controller 2, the print engine 3, and the inspection device 4 are respectively configured as separate devices has been described as an example. Here, among the respective configurations shown in FIG. 1, the DFE 1, the engine controller 2, and the print engine 3 have the corresponding functions even in a general image forming apparatus that is not an image forming apparatus for commercial printing. ..

従って、図13(a)に示すように、DFE1、エンジンコントローラ2及びプリントエンジン3に相当する機能が搭載された装置であるプリンタに、検査装置4を接続するような態様も可能である。また、図13(b)に示すように、DFE1、エンジンコントローラ2、プリントエンジン3及び検査装置4に相当する機能がすべて搭載された1つの装置としてプリンタを構成するような態様も可能である。 Therefore, as shown in FIG. 13A, it is possible to connect the inspection device 4 to a printer which is a device equipped with functions corresponding to the DFE 1, the engine controller 2, and the print engine 3. Further, as shown in FIG. 13B, it is also possible to configure the printer as one device equipped with all the functions corresponding to the DFE 1, the engine controller 2, the print engine 3, and the inspection device 4.

また、上記実施形態においては、DFE1、エンジンコントローラ2、プリントエンジン3及び検査装置4がUSB(Universal Serial Bus)や、PCIe(Peripheral Component Interconnect Express)等のローカルなインタフェースによって接続されてシステムが構成される場合を例として説明した。しかしながら、検査装置4はDFE1、エンジンコントローラ2及びプリントエンジン3と同一の拠点に設置されている必要はなく、例えばネットワークを介して利用可能なアプリケーションとして提供することが可能である。 Further, in the above-described embodiment, the DFE 1, the engine controller 2, the print engine 3, and the inspection device 4 are connected by a local interface such as a USB (Universal Serial Bus) or a PCIe (Peripheral Component Interconnect Express) to configure a system. The case has been described as an example. However, the inspection device 4 does not need to be installed at the same site as the DFE 1, the engine controller 2, and the print engine 3, and can be provided as an application that can be used via a network, for example.

図14は、検査装置4の機能がネットワークを介して提供される場合の例を示す図である。図14の例においては、エンジンコントローラ2及びプリントエンジン3と検査装置4とはインターネット等の公衆回線5を介して接続されている。そして、エンジンコントローラ2及びプリントエンジン3は、公衆回線5を介して検査装置4に対して必要な情報を送信する。また、検査装置4は、エンジンコントローラ2に通知するべき検査結果を、公衆回線5を介して送信する。このような態様により、ユーザの拠点に検査装置4を導入する必要がなくなり、ユーザのイニシャルコストを低減することが可能となる。 FIG. 14 is a diagram showing an example in which the function of the inspection device 4 is provided via the network. In the example of FIG. 14, the engine controller 2 and the print engine 3 are connected to the inspection device 4 via a public line 5 such as the Internet. Then, the engine controller 2 and the print engine 3 transmit necessary information to the inspection device 4 via the public line 5. The inspection device 4 also transmits the inspection result to be notified to the engine controller 2 via the public line 5. With such a mode, it is not necessary to introduce the inspection device 4 into the user's base, and the user's initial cost can be reduced.

尚、図14に示すような構成を用いる場合、検査装置4の機能がネットワークを介して提供されるため、ユーザが検査装置4を直接制御することはできない。このような場合、図11(a)、(b)及び図12に示すような画面や、その他の検査装置4を制御するための画面は、ウェブブラウザ等を介してネットワークに接続されたPC等の情報処理端末に表示させることにより、ユーザは上記と同様にシステムを利用することが可能となる。 When the configuration shown in FIG. 14 is used, the function of the inspection device 4 is provided via the network, so that the user cannot directly control the inspection device 4. In such a case, the screens shown in FIGS. 11A, 11B, and 12 and the screens for controlling the other inspection devices 4 include a PC or the like connected to the network via a web browser or the like. By displaying the information on the information processing terminal, the user can use the system as described above.

また、上記実施形態においては、第1、第2、第3の画像夫々が異なる紙面上に形成される場合を例として説明した。これに限らず、全て同一の紙面上に形成されるような態様も可能である。この場合、マスター画像処理部402は、第1の画像が表示されている範囲を抽出してマスター画像を生成する。また、読取画像取得部401は、読取画像において第2、第3の画像が表示されている範囲を抽出して検査対象の読取画像とする。 Further, in the above embodiment, the case where the first, second, and third images are formed on different paper surfaces has been described as an example. The present invention is not limited to this, and a mode in which they are all formed on the same paper surface is also possible. In this case, the master image processing unit 402 extracts the range in which the first image is displayed and generates the master image. In addition, the read image acquisition unit 401 extracts the range in which the second and third images are displayed in the read image and sets it as the read image to be inspected.

また、上記実施形態においては、疑似的な欠陥の程度として、欠陥の濃度及び欠陥の範囲(上記実施形態においては欠陥の幅)を夫々変化させる場合を例として説明した。これは一例であり、画像に関するパラメータであれば、他の様々なパラメータを変化させる態様が考えられる。また、上記実施形態のように、夫々のパラメータを個別に変化させるのではなく、様々なパラメータの変化を組み合わせても良い。 Further, in the above-described embodiment, the case where the defect density and the defect range (the defect width in the above-described embodiment) are respectively changed as the degree of the pseudo defect has been described. This is an example, and it is conceivable that various other parameters may be changed as long as they are parameters related to the image. Further, instead of individually changing each parameter as in the above embodiment, changes of various parameters may be combined.

また、上記実施形態においては、閾値決定動作が実行される際、マスター画像処理部402や、比較検査部404等、通常の画像検査において機能するモジュールが閾値決定用マスター画像生成制御部403a及び閾値決定用比較検査制御部403bによって制御されると共に、その制御によって得られた情報に基づいて閾値決定処理部403c及びUI制御部403dが動作することにより、閾値決定部として機能する場合を例として説明した。これにより、各モジュールを有効に利用して装置構成を簡略化することが可能であると共に、通常の画像検査と同様のモジュールであるため、通常の画像検査と同様の条件で
の閾値決定が可能となり、有意義である。
Further, in the above-described embodiment, when the threshold value determining operation is executed, the modules that function in the normal image inspection such as the master image processing unit 402 and the comparison inspection unit 404 are the threshold value determination master image generation control unit 403a and the threshold value determination module. An example will be described in which the threshold comparison processing unit 403c is controlled by the determination comparison inspection control unit 403b, and the threshold determination processing unit 403c and the UI control unit 403d operate based on the information obtained by the control to function as the threshold determination unit. did. This makes it possible to effectively use each module to simplify the device configuration, and because it is a module similar to a normal image inspection, it is possible to determine a threshold value under the same conditions as a normal image inspection. And is meaningful.

しかしながら、これは一例であり、閾値決定動作専用のマスター画像生成モジュールや、画像の比較検査モジュールを設けても良い。つまり、所定の閾値を決定するための画像の正常な状態が表示された閾値決定用正常画像の検査を行うための上記検査用画像である正常検査用画像を生成する正常検査用画像生成部や、上記閾値決定用正常画像に疑似的に欠陥が付加された閾値決定用欠陥画像を読み取った欠陥読取画像と上記正常検査用画像との差分を生成する閾値決定用比較検査部を設けても良い。 However, this is an example, and a master image generation module dedicated to the threshold value determination operation or an image comparison/inspection module may be provided. That is, a normal inspection image generation unit that generates a normal inspection image that is the inspection image for performing the inspection of the threshold determination normal image in which the normal state of the image for determining the predetermined threshold is displayed, A threshold determination comparison inspection unit may be provided that generates a difference between the defect read image obtained by reading the threshold determination defect image in which the defect is pseudo-added to the threshold determination normal image and the normal inspection image. ..

また、上記実施形態においては、閾値決定処理部403cやUI制御部403dが検査制御部403の一構成として設けられる場合を例として説明した。この他、検査制御部403とは別のモジュールとして閾値決定処理部403cやUI制御部403dに相当するモジュールを設けても良い。 Further, in the above embodiment, the case where the threshold value determination processing unit 403c and the UI control unit 403d are provided as one configuration of the inspection control unit 403 has been described as an example. In addition, a module corresponding to the threshold value determination processing unit 403c or the UI control unit 403d may be provided as a module different from the inspection control unit 403.

1 DFE
2 エンジンコントローラ
3 プリントエンジン
4 検査装置
10 CPU
20 RAM
30 ROM
40 HDD
50 I/F
60 LCD
70 操作部
80 専用デバイス
90 バス
101 給紙トレイ
102 給紙ローラ
103 分離ローラ
104 用紙
105 搬送ベルト
106BK、106C、106M、106Y 画像形成部
107 駆動ローラ
108 従動ローラ
109BK、109C、109M、109Y 感光体ドラム
110BK 帯電器
111光書き込み装置
112BK、112C、112M、112Y 現像器
113BK、113C、113M、113Y 除電器
115BK、115C、115M、115Y 転写器
116 定着器
201 データ取得部
202 エンジン制御部
203 ビットマップ部
301 印刷処理部
302 読取装置
401 読取画像取得部
402 マスター画像処理部
403 検査制御部
403a 閾値決定用マスター画像生成制御部
403b 閾値決定用比較検査制御部
403c 閾値決定処理部
403d UI制御部
404 比較検査部
421 少値多値変換処理部
422 解像度変換処理部
423 色変換処理部
424 マスター画像出力部
1 DFE
2 engine controller 3 print engine 4 inspection device 10 CPU
20 RAM
30 ROM
40 HDD
50 I/F
60 LCD
70 Operation Unit 80 Dedicated Device 90 Bus 101 Paper Feed Tray 102 Paper Feed Roller 103 Separation Roller 104 Paper 105 Conveyor Belt 106BK, 106C, 106M, 106Y Image Forming Unit 107 Drive Roller 108 Driven Roller 109BK, 109C, 109M, 109Y Photosensitive Drum 110BK Charging device 111 Optical writing device 112BK, 112C, 112M, 112Y Developing device 113BK, 113C, 113M, 113Y Static eliminator 115BK, 115C, 115M, 115Y Transfer device 116 Fixing device 201 Data acquisition unit 202 Engine control unit 203 Bit map unit 301 Print processing unit 302 Reading device 401 Read image acquisition unit 402 Master image processing unit 403 Inspection control unit 403a Threshold determination master image generation control unit 403b Threshold determination comparison inspection control unit 403c Threshold determination processing unit 403d UI control unit 404 Comparison inspection unit 421 low-value multi-value conversion processing unit 422 resolution conversion processing unit 423 color conversion processing unit 424 master image output unit

特開2008−003876号公報JP, 2008-003876, A

Claims (7)

読取装置を備え、前記読取装置で記録媒体上に画像形成出力された画像を読み取って生成した読取画像に基づいて、前記記録媒体上に形成された画像の欠陥の検査をする画像検査部を有する画像検査装置であって、
基準パターンを含む画像であって、所定の方向と、当該所定の方向に直交する方向と、のそれぞれに配置された複数のマークに疑似的な欠陥を付加した画像が形成された前記記録媒体を前記読取装置が読み取った読取画像に基づいて、前記記録媒体上に形成された前記基準パターンを含む画像とは異なる画像に対し前記画像検査部が前記検査を行う際に使用する閾値を決定する閾値決定部を備え
前記擬似的な欠陥は、前記所定の方向、又は、前記直交する方向の少なくとも一方の方向において幅を有し、
前記幅は、前記所定の方向、又は、前記直交する方向のそれぞれに配置された前記マークごとに異なる、
ことを特徴とする画像検査装置。
It has a reading device, and has an image inspection unit for inspecting defects of the image formed on the recording medium based on the read image generated by reading the image formed and output on the recording medium by the reading device. An image inspection device,
An image including a reference pattern , wherein the recording medium is formed with an image in which a pseudo defect is added to a plurality of marks arranged in a predetermined direction and a direction orthogonal to the predetermined direction. based on the reading device reads the read image, a threshold value by the image inspecting unit against the image different from the image including the reference pattern formed on the recording medium to determine the threshold used when performing the test Equipped with a decision unit ,
The pseudo defect has a width in at least one of the predetermined direction or the orthogonal direction,
The width is different for each of the marks arranged in each of the predetermined direction or the orthogonal direction,
An image inspection device characterized by the above.
前記画像検査装置は、前記基準パターンに疑似的な欠陥を付加した画像が形成された前記記録媒体を読み取った読取画像を選択画面に表示する表示装置を含み、
前記選択画面に表示された読取画像上の欠陥の中から、ユーザが選択した欠陥に基づいて、前記閾値を決定することを特徴とする請求項1に記載の画像検査装置。
The image inspection device includes a display device that displays a read image obtained by reading the recording medium on which an image in which a pseudo defect is added to the reference pattern is formed, on a selection screen,
The image inspection apparatus according to claim 1, wherein the threshold value is determined based on a defect selected by a user from among defects on the read image displayed on the selection screen.
前記表示装置は、
前記疑似的な欠陥の程度に対して不規則に配置されるように、前記読取画像を前記選択画面に表示する、
ことを特徴とする請求項2に記載の画像検査装置。
The display device is
The read image is displayed on the selection screen so as to be arranged irregularly with respect to the degree of the pseudo defect.
The image inspection apparatus according to claim 2, wherein:
前記疑似的な欠陥は、色及び程度の異なる複数の欠陥であり、
前記閾値決定部は、前記色及び程度の異なる複数の疑似的な欠陥夫々を欠陥として判定するための個別閾値を求め、
複数の前記疑似的な欠陥のうち、異なる色毎に選択された欠陥について求められた個別閾値を異なる色毎に抽出し、
抽出した異なる色毎の個別閾値のうち、欠陥として判定される画像が最も多くなる値を第1の閾値として設定すると共に、欠陥として判定される画像が最も少なくなる値を第2の閾値として設定し、
前記画像検査部は、前記読取画像を前記第1の閾値に基づいて欠陥として判定した場合、その判定の結果をユーザに確認させるための通知を出力することを特徴とする請求項2又は3に記載の画像検査装置。
The pseudo defect is a plurality of defects of different colors and degrees,
The threshold value determining unit obtains an individual threshold value for determining each of a plurality of pseudo defects having different colors and degrees as a defect,
Of the plurality of pseudo defects, the individual threshold value obtained for the defect selected for each different color is extracted for each different color,
Of the extracted individual threshold values for each different color, the value with the largest number of images determined as defects is set as the first threshold value, and the value with the smallest number of images determined as defects is set as the second threshold value. Then
The image inspection unit outputs a notification for allowing a user to confirm a result of the determination when the read image is determined to be a defect on the basis of the first threshold, and the image inspection unit outputs the notification. The image inspection device described.
前記閾値を決定した後、再度、閾値の決定を行う場合、記録媒体上に前記基準パターンに疑似的な欠陥を付加した画像を出力する制御を行う制御部に対して、当該閾値を決定した際に選択された前記疑似的な欠陥に基づいて、新たに、前記基準パターンに疑似的な欠陥を付加した画像を記録媒体上に出力させる、
ことを特徴とする請求項2乃至4のいずれか一項に記載の画像検査装置。
When the threshold value is determined again after determining the threshold value, when the threshold value is determined for the control unit that controls the output of the image in which the pseudo defect is added to the reference pattern on the recording medium. Based on the pseudo defect selected in, an image newly added with the pseudo defect to the reference pattern is output on a recording medium,
The image inspection apparatus according to any one of claims 2 to 4, wherein:
読取装置を備え、前記読取装置で記録媒体上に画像形成出力された画像を読み取って生成した読取画像に基づいて、前記記録媒体上に形成された画像の欠陥の検査をする画像検査部と閾値決定部を有する画像検査装置において実行される画像検査方法であって、
前記閾値決定部が、基準パターンを含む画像であって、所定の方向と、当該所定の方向に直交する方向と、のそれぞれに配置された複数のマークに疑似的な欠陥を付加した画像が形成された前記記録媒体を前記読取装置が読み取った読取画像に基づいて、前記記録媒体上に形成された前記基準パターンを含む画像とは異なる画像に対し前記画像検査部が前記検査を行う際に使用する閾値を決定し、前記擬似的な欠陥は、前記所定の方向、又は、前記直交する方向の少なくとも一方の方向において幅を有し、前記幅は、前記所定の方向、又は、前記直交する方向のそれぞれに配置された前記マークごとに異なる、
することを特徴とする画像検査方法。
An image inspection unit including a reading device and a threshold for inspecting a defect of an image formed on the recording medium based on a read image generated by reading an image formed and output on the recording medium by the reading device. An image inspection method executed in an image inspection apparatus having a determination unit, comprising:
The threshold value determining unit is an image including a reference pattern, and an image in which a pseudo defect is added to a plurality of marks arranged in each of a predetermined direction and a direction orthogonal to the predetermined direction is formed. Used when the image inspection unit performs the inspection on an image different from the image including the reference pattern formed on the recording medium based on the read image obtained by reading the recorded recording medium by the reading device. Determining the threshold value, the pseudo defect has a width in at least one of the predetermined direction or the orthogonal direction, the width is the predetermined direction or the orthogonal direction. Different for each of the marks placed on each of the
An image inspection method characterized by:
読取装置を備え、前記読取装置で記録媒体上に画像形成出力された画像を読み取って生成した読取画像に基づいて、前記記録媒体上に形成された画像の欠陥の検査をする画像検査部を有する画像検査装置の制御プログラムであって、
基準パターンを含む画像であって、所定の方向と、当該所定の方向に直交する方向と、のそれぞれに配置された複数のマークに疑似的な欠陥を付加した画像が形成された前記記録媒体を前記読取装置が読み取った読取画像に基づいて、前記記録媒体上に形成された前記基準パターンを含む画像とは異なる画像に対し前記画像検査部が前記検査を行う際に使用する閾値を決定するステップを前記画像検査装置に実行させ、前記擬似的な欠陥は、前記所定の方向、又は、前記直交する方向の少なくとも一方の方向において幅を有し、前記幅は、前記所定の方向、又は、前記直交する方向のそれぞれに配置された前記マークごとに異なる、
ことを特徴とする画像検査装置の制御プログラム。
It has a reading device, and has an image inspection unit for inspecting defects of the image formed on the recording medium based on the read image generated by reading the image formed and output on the recording medium by the reading device. A control program for an image inspection device,
An image including a reference pattern , wherein the recording medium is formed with an image in which a pseudo defect is added to a plurality of marks arranged in a predetermined direction and a direction orthogonal to the predetermined direction. Determining a threshold value used when the image inspection unit performs the inspection on an image different from the image including the reference pattern formed on the recording medium , based on the read image read by the reading device The image inspection apparatus is executed, the pseudo defect has a width in at least one direction of the predetermined direction or the orthogonal direction, the width is the predetermined direction, or the Different for each of the marks arranged in each of the orthogonal directions,
A control program for an image inspection device characterized by the above.
JP2017216632A 2012-09-14 2017-11-09 Image inspection apparatus, image inspection method, and image inspection apparatus control program Active JP6717286B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012203583 2012-09-14
JP2012203583 2012-09-14

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013165585A Division JP6241120B2 (en) 2012-09-14 2013-08-08 Image inspection apparatus, image inspection method, and control program for image inspection apparatus

Publications (3)

Publication Number Publication Date
JP2018036279A JP2018036279A (en) 2018-03-08
JP2018036279A5 JP2018036279A5 (en) 2018-12-27
JP6717286B2 true JP6717286B2 (en) 2020-07-01

Family

ID=61565723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017216632A Active JP6717286B2 (en) 2012-09-14 2017-11-09 Image inspection apparatus, image inspection method, and image inspection apparatus control program

Country Status (1)

Country Link
JP (1) JP6717286B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020040251A (en) * 2018-09-07 2020-03-19 コニカミノルタ株式会社 Image formation system and image formation device
JP2021004833A (en) * 2019-06-27 2021-01-14 関東グラビア協同組合 Calibration sheet of defect inspection apparatus
JP7487568B2 (en) 2020-06-04 2024-05-21 株式会社リコー Image inspection device, display method and program

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6112345A (en) * 1984-06-29 1986-01-20 Toppan Printing Co Ltd Apparatus for inspecting printed matter
US5394483A (en) * 1992-06-30 1995-02-28 Eastman Kodak Co Method and apparatus for determining visually perceptible differences between images
US5305392A (en) * 1993-01-11 1994-04-19 Philip Morris Incorporated High speed, high resolution web inspection system
JP3589756B2 (en) * 1995-10-11 2004-11-17 株式会社ヒューテック Inspection set value input display method and device for defect inspection
JP4265183B2 (en) * 2002-09-13 2009-05-20 富士ゼロックス株式会社 Image defect inspection equipment
JP4677718B2 (en) * 2004-01-23 2011-04-27 富士ゼロックス株式会社 Printed matter inspection control apparatus, printed matter inspection control method, and printed matter inspection control program
JP2007144885A (en) * 2005-11-29 2007-06-14 Seiko Epson Corp Method for judgment of presence or absence of reading of density of foreign object and method for calculation of representative value of density of test pattern
JP2008003876A (en) * 2006-06-23 2008-01-10 Dainippon Printing Co Ltd Inspection accuracy verification system
JP4711926B2 (en) * 2006-09-29 2011-06-29 株式会社日立情報制御ソリューションズ Printing inspection device
JP5521365B2 (en) * 2009-03-17 2014-06-11 凸版印刷株式会社 Performance evaluation sheet for printed material inspection equipment
JP5760310B2 (en) * 2009-12-11 2015-08-05 株式会社リコー Printed matter inspection apparatus, printed matter inspection method, program, and storage medium
JP5678595B2 (en) * 2010-11-15 2015-03-04 株式会社リコー INSPECTION DEVICE, INSPECTION METHOD, INSPECTION PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2013165585A (en) * 2012-02-10 2013-08-22 Toshiba Corp Stator coil connection device and rotary electric machine

Also Published As

Publication number Publication date
JP2018036279A (en) 2018-03-08

Similar Documents

Publication Publication Date Title
JP6241120B2 (en) Image inspection apparatus, image inspection method, and control program for image inspection apparatus
JP6318489B2 (en) Image inspection system and image inspection method
JP6241121B2 (en) Image inspection apparatus, image inspection system, and image inspection method
US9317914B2 (en) Image inspecting device, image forming system, and computer program product
JP6286921B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6135059B2 (en) Image inspection apparatus, image forming apparatus, image inspection apparatus control method, and image forming system
JP6252183B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6007690B2 (en) Image inspection apparatus, image processing system, and image inspection method
JP6273932B2 (en) Image inspection apparatus, image inspection system, and image inspection program
JP6717286B2 (en) Image inspection apparatus, image inspection method, and image inspection apparatus control program
JP2015179073A (en) Image inspection device, image inspection system and image inspection program
JP6447691B2 (en) Image inspection system and image inspection method
JP6229480B2 (en) Image inspection apparatus, image forming system, and image inspection program
JP6459190B2 (en) Image inspection apparatus, image forming system, and image inspection method
JP2016177669A (en) Image inspection device, image inspection system and image inspection method
JP6183135B2 (en) Inspection apparatus, image forming apparatus, inspection method, and program
JP6326768B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6287379B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6070310B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6064645B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP2016063368A (en) Image inspection device, image inspection system, and image inspection program
JP2015166897A (en) Image inspection apparatus, image inspection system, and image inspection program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20190108

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190507

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191001

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191129

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20191129

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200525

R151 Written notification of patent or utility model registration

Ref document number: 6717286

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151