JP7059819B2 - Image forming device and inspection standard image generation method - Google Patents

Image forming device and inspection standard image generation method Download PDF

Info

Publication number
JP7059819B2
JP7059819B2 JP2018113252A JP2018113252A JP7059819B2 JP 7059819 B2 JP7059819 B2 JP 7059819B2 JP 2018113252 A JP2018113252 A JP 2018113252A JP 2018113252 A JP2018113252 A JP 2018113252A JP 7059819 B2 JP7059819 B2 JP 7059819B2
Authority
JP
Japan
Prior art keywords
abnormality
repair
image
reference image
inspection reference
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
JP2018113252A
Other languages
Japanese (ja)
Other versions
JP2019215284A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2018113252A priority Critical patent/JP7059819B2/en
Publication of JP2019215284A publication Critical patent/JP2019215284A/en
Application granted granted Critical
Publication of JP7059819B2 publication Critical patent/JP7059819B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、画像形成装置及び検査基準画像生成方法に関する。 The present invention relates to an image forming apparatus and an inspection reference image generation method.

従来、被検査物を撮像した画像を基準画像と比較してパターン検査する検査装置において、基準画像の作成時に、被検査物を撮像した仮基準画像と被検査物の設計データの相違点をユーザーに修正させて基準画像として登録する技術が知られている(例えば、特許文献1参照) Conventionally, in an inspection device that inspects a pattern by comparing an image of an image to be inspected with a reference image, when creating a reference image, the user finds out the difference between the provisional reference image of the image to be inspected and the design data of the inspected object. There is known a technique of modifying the image and registering it as a reference image (see, for example, Patent Document 1).

特開2006-234554号公報Japanese Unexamined Patent Publication No. 2006-234554

しかしながら、修正すべき個所が多い、修正すべき個所が複雑なパターンである等、仮基準画像の修復難度が高い場合は、ユーザーによる手動修正では時間がかかるため、基準画像の生成に時間がかかるという問題がある。 However, if the temporary reference image is difficult to repair, such as when there are many points to be corrected or the part to be corrected is a complicated pattern, it takes time to manually correct the temporary reference image, so it takes time to generate the reference image. There is a problem.

本発明の課題は、検査基準画像を迅速に生成できるようにすることである。 An object of the present invention is to be able to quickly generate an inspection reference image.

上記課題を解決するため、請求項1に記載の発明の画像形成装置は、
ラスタ画像に基づいて用紙に画像を形成する画像形成手段と、
前記画像形成手段により画像が形成された用紙を読み取って、ジョブにおいて前記ラスタ画像に基づいて前記画像形成手段により形成される画像の検査基準画像の候補となる検査基準画像候補を生成する画像読取手段と、
前記ラスタ画像と前記検査基準画像候補の比較に基づいて、前記検査基準画像候補の異常検出を行う異常検出手段と、
前記検査基準画像候補から異常が検出された場合に、前記検出された異常に基づいて、前記検査基準画像候補の異常修復難度を算出する異常修復難度算出手段と、
前記検査基準画像候補における異常修復方法を設定する設定手段と、
前記設定手段により設定された異常修復方法に基づいて前記検査基準画像候補の異常の修復を行う修復手段と、を備え、
前記設定手段は、前記算出された異常修復難度が予め定められた閾値を超えている場合に、前記異常修復方法として、前記ラスタ画像に基づく検査基準画像候補の再生成を設定する。
In order to solve the above problems, the image forming apparatus of the invention according to claim 1 is used.
An image forming means for forming an image on paper based on a raster image,
An image reading means that reads a sheet on which an image is formed by the image forming means and generates an inspection reference image candidate that is a candidate for an inspection reference image of an image formed by the image forming means based on the raster image in a job. When,
An abnormality detecting means for detecting an abnormality of the inspection reference image candidate based on a comparison between the raster image and the inspection reference image candidate, and an abnormality detecting means.
When an abnormality is detected from the inspection reference image candidate, an abnormality repair difficulty calculation means for calculating the abnormality repair difficulty of the inspection reference image candidate based on the detected abnormality, and an abnormality repair difficulty calculation means.
A setting means for setting an abnormality repair method in the inspection reference image candidate, and
A repair means for repairing an abnormality of the inspection reference image candidate based on the abnormality repair method set by the setting means is provided.
When the calculated abnormality repair difficulty exceeds a predetermined threshold value, the setting means sets the regeneration of the inspection reference image candidate based on the raster image as the abnormality repair method.

請求項2に記載の発明は、請求項1に記載の発明において、
前記異常修復難度算出手段は、前記異常検出手段により検出された異常個所の数に基づいて、前記異常修復難度を算出する。
The invention according to claim 2 is the invention according to claim 1.
The abnormality repair difficulty calculation means calculates the abnormality repair difficulty based on the number of abnormality locations detected by the abnormality detection means.

請求項3に記載の発明は、請求項1又は2に記載の発明において、
前記異常修復難度算出手段は、前記異常検出手段により検出された異常個所のパターンの複雑度に基づいて、前記異常修復難度を算出する。
The invention according to claim 3 is the invention according to claim 1 or 2.
The abnormality repair difficulty calculation means calculates the abnormality repair difficulty based on the complexity of the pattern of the abnormality portion detected by the abnormality detection means.

請求項4に記載の発明は、請求項1~3のいずれか一項に記載の発明において、
前記異常検出手段は、前記修復手段により異常修復が行われた前記検査基準画像候補に対して再度異常検出を行う。
The invention according to claim 4 is the invention according to any one of claims 1 to 3.
The abnormality detecting means again detects an abnormality in the inspection reference image candidate whose abnormality has been repaired by the repairing means.

請求項5に記載の発明は、請求項1~4のいずれか一項に記載の発明において、
前記設定手段は、前記ラスタ画像に基づく前記検査基準画像候補の再生成を含む予め定められた複数の異常修復方法の中からいずれかを設定する。
The invention according to claim 5 is the invention according to any one of claims 1 to 4.
The setting means sets any one from a plurality of predetermined abnormality repair methods including regeneration of the inspection reference image candidate based on the raster image.

請求項6に記載の発明は、請求項5に記載の発明において、
前記複数の異常修復方法の一つは、前記検査基準画像候補の異常個所を自動的に修復する自動修復である。
The invention according to claim 6 is the invention according to claim 5.
One of the plurality of abnormality repair methods is an automatic repair that automatically repairs an abnormal portion of the inspection reference image candidate.

請求項7に記載の発明は、請求項6に記載の発明において、
前記検査基準画像候補における異常個所を表示してユーザーに自動修復する異常個所を選択させる自動修復個所選択画面を表示手段に表示させる手段を備える。
The invention according to claim 7 is the invention according to claim 6.
A means for displaying an automatic repair location selection screen for displaying an abnormal portion in the inspection reference image candidate and allowing the user to select an abnormal portion to be automatically repaired is provided.

請求項8に記載の発明は、請求項5に記載の発明において、
前記複数の異常修復方法の一つは、前記検査基準画像候補の異常個所をユーザーの編集に応じて修復する手動修復である。
The invention according to claim 8 is the invention according to claim 5.
One of the plurality of abnormality repair methods is manual repair in which the abnormality portion of the inspection reference image candidate is repaired according to the user's editing.

請求項9に記載の発明は、請求項8に記載の発明において、
前記異常検出手段は、前記修復手段により手動修復が行われた場合に、前記検査基準画像候補においてユーザーの編集が行われた個所にのみ再度異常検出を行う。
The invention according to claim 9 is the invention according to claim 8.
When the manual repair is performed by the repair means, the abnormality detecting means re-detects the abnormality only in the place where the user has edited the inspection reference image candidate.

請求項10に記載の発明は、請求項9に記載の発明において、
前記異常検出手段によりユーザーの編集による修復後に異常が検出された場合に、検出された異常個所を表示手段に表示させる手段を備える。
The invention according to claim 10 is the invention according to claim 9.
When an abnormality is detected by the abnormality detecting means after repair by editing by the user, the display means is provided with the detected abnormality location.

請求項11に記載の発明は、請求項8~10のいずれか一項に記載の発明において、
前記検査基準画像候補の異常個所とは異なる個所がユーザーにより編集された場合に、警告を行う警告手段を備える。
The invention according to claim 11 is the invention according to any one of claims 8 to 10.
A warning means for giving a warning is provided when a part different from the abnormal part of the inspection reference image candidate is edited by the user.

請求項12に記載の発明は、請求項5~11のいずれか一項に記載の発明において、
前記異常修復方法の選択肢を表示手段に表示させる手段を備え、
前記設定手段は、前記選択肢のうち選択された異常修復方法を最終的に前記修復手段において実施する異常修復方法として設定する。
The invention according to claim 12 is the invention according to any one of claims 5 to 11.
A means for displaying the option of the abnormality repair method on the display means is provided.
The setting means sets the abnormality repair method selected from the options as the abnormality repair method finally carried out in the repair means.

請求項13に記載の発明は、請求項1~12のいずれか一項に記載の発明において、
前記修復手段により再度前記ラスタ画像に基づいて検査基準画像候補が生成し直された場合であって、前記生成し直された検査基準画像候補から前記異常検出手段により異常が検出された場合、前記修復手段は、生成し直す前の検査基準画像候補と前記生成し直した後の検査基準画像候補の正常領域を組み合わせて検査基準画像を生成する。
The invention according to claim 13 is the invention according to any one of claims 1 to 12.
When the inspection reference image candidate is regenerated based on the raster image by the repair means, and the abnormality is detected by the abnormality detecting means from the regenerated inspection reference image candidate, the above-mentioned The repair means generates an inspection reference image by combining the normal region of the inspection reference image candidate before being regenerated and the inspection reference image candidate after being regenerated.

請求項14に記載の発明は、請求項1~13のいずれか一項に記載の発明において、
前記検査基準画像候補に検査対象外領域を設定する検査対象外領域設定手段を備え、
前記異常検出手段は、前記検査基準画像候補における前記検査対象外領域として設定された領域を異常検出の対象外とする。
The invention according to claim 14 is the invention according to any one of claims 1 to 13.
The inspection reference image candidate is provided with a non-inspection area setting means for setting a non-inspection area.
The abnormality detecting means excludes a region set as the non-inspection target region in the inspection reference image candidate from the abnormality detection target.

請求項15に記載の発明は、請求項14に記載の発明において、
前記異常検出手段により検出された異常個所を前記検査対象外領域として設定するか否かをユーザーに確認するための確認手段を備える。
The invention according to claim 15 is the invention according to claim 14.
Provided is a confirmation means for asking the user whether or not to set the abnormality portion detected by the abnormality detection means as the non-inspection target area.

請求項16に記載の発明は、請求項1~15のいずれか一項に記載の発明において、
前記異常検出手段により異常が検出されなかった場合に、前記検査基準画像候補を検査基準画像として登録する登録手段を備える。
The invention according to claim 16 is the invention according to any one of claims 1 to 15.
When the abnormality is not detected by the abnormality detecting means, the registration means for registering the inspection reference image candidate as an inspection reference image is provided.

請求項17に記載の発明は、請求項16に記載の発明において、
前記登録手段は、前記検査基準画像候補を前記ジョブの検査基準画像として登録する。
The invention according to claim 17 is the invention according to claim 16.
The registration means registers the inspection reference image candidate as an inspection reference image for the job.

請求項18に記載の発明は、請求項16に記載の発明において、
前記登録手段は、前記検査基準画像候補を前記ジョブを複製した別のジョブの検査基準画像として登録する。
The invention according to claim 18 is the invention according to claim 16.
The registration means registers the inspection reference image candidate as an inspection reference image of another job that duplicates the job.

請求項19に記載の発明は、
ラスタ画像に基づいて用紙に画像を形成する画像形成手段を備える画像形成装置における検査基準画像生成方法であって、
前記画像形成手段により画像が形成された用紙を読み取って、ジョブにおいて前記ラスタ画像に基づいて前記画像形成手段により形成される画像の検査基準画像の候補となる検査基準画像候補を生成する画像読取工程と、
前記ラスタ画像と前記検査基準画像候補の比較に基づいて、前記検査基準画像候補の異常検出を行う異常検出工程と、
前記検査基準画像候補から異常が検出された場合に、前記検出された異常に基づいて、前記検査基準画像候補の異常修復難度を算出する異常修復難度算出工程と、
前記検査基準画像候補の異常修復方法を設定する設定工程と、
前記設定工程において設定された異常修復方法に基づいて前記検査基準画像候補の異常の修復を行う修復工程と、を含み、
前記設定工程は、前記算出された異常修復難度が予め定められた閾値を超えている場合に、前記異常修復方法として、前記ラスタ画像に基づく前記検査基準画像候補の再生成を設定する。
The invention according to claim 19
An inspection reference image generation method in an image forming apparatus provided with an image forming means for forming an image on paper based on a raster image.
An image reading step of reading a paper on which an image is formed by the image forming means and generating an inspection reference image candidate which is a candidate for an inspection reference image of an image formed by the image forming means based on the raster image in a job. When,
An abnormality detection step of detecting an abnormality in the inspection reference image candidate based on a comparison between the raster image and the inspection reference image candidate, and an abnormality detection step.
When an abnormality is detected from the inspection reference image candidate, an abnormality repair difficulty calculation step for calculating the abnormality repair difficulty of the inspection reference image candidate based on the detected abnormality, and an abnormality repair difficulty calculation step.
A setting process for setting an abnormality repair method for the inspection reference image candidate, and
Including a repair step of repairing an abnormality of the inspection reference image candidate based on the abnormality repair method set in the setting step.
In the setting step, when the calculated abnormality repair difficulty exceeds a predetermined threshold value, the regeneration of the inspection reference image candidate based on the raster image is set as the abnormality repair method.

本発明によれば、検査基準画像を迅速に生成することが可能となる。 According to the present invention, it is possible to quickly generate an inspection reference image.

画像形成装置の概略構成を示す図である。It is a figure which shows the schematic structure of the image forming apparatus. 画像形成装置の主要な機能構成を示すブロック図である。It is a block diagram which shows the main functional composition of an image forming apparatus. 画像複雑度決定テーブルのデータ格納例を示す図である。It is a figure which shows the data storage example of the image complexity determination table. 異常修復方法切替テーブルのデータ格納例を示す図である。It is a figure which shows the data storage example of the abnormality repair method switching table. ジョブ管理画面の一例を示す図である。It is a figure which shows an example of a job management screen. 図2の制御部により実行される検査基準画像生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the inspection reference image generation processing executed by the control part of FIG. 図2の制御部により実行される検査基準画像生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the inspection reference image generation processing executed by the control part of FIG. 異常修復方法選択画面の一例を示す図である。It is a figure which shows an example of an abnormality repair method selection screen. 読取画像の合成による自動修復を説明するための図である。It is a figure for demonstrating automatic restoration by composition of the scanned image. 自動修復個所選択画面の一例を示す図である。It is a figure which shows an example of the automatic repair part selection screen. 自動修復結果確認画面の一例を示す図である。It is a figure which shows an example of the automatic repair result confirmation screen. 未修復警告画面の一例を示す図である。It is a figure which shows an example of the unrepaired warning screen. 手動修復画面の一例を示す図である。It is a figure which shows an example of the manual repair screen. 修復個所警告画面の一例を示す図である。It is a figure which shows an example of the repair part warning screen. 検査基準画像登録画面の一例を示す図である。It is a figure which shows an example of the inspection reference image registration screen.

以下、本実施形態を図面に基づいて詳細に説明する。ただし、発明の範囲は図示例に限定されない。 Hereinafter, the present embodiment will be described in detail with reference to the drawings. However, the scope of the invention is not limited to the illustrated examples.

[画像形成装置1の構成]
まず、本実施形態の構成について説明する。
図1は、本発明の実施形態に係る画像形成装置1の概略構成を示す図である。図2は、画像形成装置1の主要な機能構成を示すブロック図である。
[Structure of image forming apparatus 1]
First, the configuration of this embodiment will be described.
FIG. 1 is a diagram showing a schematic configuration of an image forming apparatus 1 according to an embodiment of the present invention. FIG. 2 is a block diagram showing a main functional configuration of the image forming apparatus 1.

画像形成装置1は、CPU101(Central Processing Unit)、RAM102(Random Access Memory)及びROM103(Read Only Memory)を有する制御部10、記憶部11、操作部12、表示部13、通信部14、画像処理部16、画像形成部17、定着部18、搬送部19、画像読取部20等を備える。制御部10は、バス21を介して記憶部11、操作部12、表示部13、通信部14、画像処理部16、画像形成部17、定着部18、搬送部19、画像読取部20と接続されている。 The image forming apparatus 1 includes a control unit 10, a storage unit 11, an operation unit 12, a display unit 13, a communication unit 14, and an image processing unit having a CPU 101 (Central Processing Unit), a RAM 102 (Random Access Memory), and a ROM 103 (Read Only Memory). A unit 16, an image forming unit 17, a fixing unit 18, a transport unit 19, an image reading unit 20, and the like are provided. The control unit 10 is connected to the storage unit 11, the operation unit 12, the display unit 13, the communication unit 14, the image processing unit 16, the image forming unit 17, the fixing unit 18, the transport unit 19, and the image reading unit 20 via the bus 21. Has been done.

CPU101は、ROM103又は記憶部11に記憶されている制御用プログラムを読み出して実行し、各種演算処理を行う。 The CPU 101 reads and executes a control program stored in the ROM 103 or the storage unit 11 to perform various arithmetic processes.

RAM102は、CPU101に作業用のメモリー空間を提供し、一時データを記憶する。 The RAM 102 provides a working memory space for the CPU 101 and stores temporary data.

ROM103は、CPU101により実行される各種制御用のプログラムや設定データ等を格納する。なお、ROM103に代えてEEPROM(Electrically Erasable Programmable Read Only Memory)やフラッシュメモリー等の書き換え可能な不揮発性メモリーが用いられても良い。 The ROM 103 stores various control programs, setting data, and the like executed by the CPU 101. Instead of the ROM 103, a rewritable non-volatile memory such as an EEPROM (Electrically Erasable Programmable Read Only Memory) or a flash memory may be used.

これらのCPU101、RAM102及びROM103を備える制御部10は、ROM103に記憶されているプログラムと協働して図2に示す画像形成装置1の各ブロックの動作を集中制御する。
また、制御部10は、後述する検査基準画像生成処理を実行することにより、異常検出手段、異常修復難度算出手段、設定手段、修復手段、警告手段、検査対象外領域設定手段、確認手段、登録手段として機能する。
The control unit 10 including the CPU 101, RAM 102, and ROM 103 centrally controls the operation of each block of the image forming apparatus 1 shown in FIG. 2 in cooperation with the program stored in the ROM 103.
Further, the control unit 10 executes the inspection reference image generation process described later, so that the abnormality detecting means, the abnormality repair difficulty calculation means, the setting means, the repair means, the warning means, the non-inspection area setting means, the confirmation means, and the registration are performed. Functions as a means.

記憶部11は、DRAM(Dynamic Random Access Memory)等で構成され、通信部14を介して外部のPC(Personal Computer)等から入力されたジョブ(ジョブの設定情報や画像データ)や、ジョブに対応する検査基準画像の画像データ等が記憶される。なお、これらのデータはRAM102に記憶されても良い。
また、記憶部11には、画像複雑度決定テーブル111及び異常修復方法切替テーブル112が記憶されている。画像複雑度決定テーブル111は、図3に示すように、異常個所の領域に対するエッジの割合と、画像複雑度とを対応付けて格納したテーブルである。異常修復方法切替テーブル112は、図4に示すように、読取画像の異常修復方法を自動修復と判定する異常修復難度閾値(自動修復可能閾値)と、手動修復と判定する異常修復難度閾値(手動修復可能閾値)を格納したテーブルである。
The storage unit 11 is composed of a DRAM (Dynamic Random Access Memory) or the like, and corresponds to a job (job setting information or image data) input from an external PC (Personal Computer) or the like via the communication unit 14 or a job. Image data and the like of the inspection reference image to be performed are stored. In addition, these data may be stored in RAM 102.
Further, the storage unit 11 stores an image complexity determination table 111 and an abnormality repair method switching table 112. As shown in FIG. 3, the image complexity determination table 111 is a table in which the ratio of edges to the region of the abnormal portion and the image complexity are stored in association with each other. As shown in FIG. 4, the abnormality repair method switching table 112 has an abnormality repair difficulty threshold (automatic repair possible threshold) for determining the abnormality repair method of the scanned image as automatic repair and an abnormality repair difficulty threshold (manual) for determining manual repair. It is a table that stores the repairable threshold value).

操作部12は、操作キーや表示部13の画面に重ねられて配置されたタッチパネル等の入力デバイスを備え、これらの入力デバイスに対する入力操作を操作信号に変換して制御部10に出力する。 The operation unit 12 includes input devices such as an operation key and a touch panel arranged so as to be superimposed on the screen of the display unit 13, and converts input operations for these input devices into operation signals and outputs them to the control unit 10.

表示部13は、LCD(Liquid crystal display)等の表示装置を備え、画像形成装置1の状態や、タッチパネルへの入力操作の内容を示す操作画面等を表示する。 The display unit 13 includes a display device such as an LCD (Liquid crystal display), and displays an operation screen or the like showing the state of the image forming device 1 or the content of an input operation on the touch panel.

通信部14は、例えばLAN(Local Area Network)カード等の通信制御カードで構成され、LAN、WAN(Wide Area Network)等の通信ネットワークに接続された外部の装置(例えば、PC)との間で各種データの送受信を行う。 The communication unit 14 is composed of a communication control card such as a LAN (Local Area Network) card, and is connected to an external device (for example, a PC) connected to a communication network such as a LAN or a WAN (Wide Area Network). Send and receive various data.

画像処理部16は、例えばラスタライズ処理部、色変換部、階調補正部、ハーフトーン処理部を備え、記憶部11に記憶された画像データに各種画像処理を施して記憶部11に記憶させる。 The image processing unit 16 includes, for example, a rasterization processing unit, a color conversion unit, a gradation correction unit, and a halftone processing unit, and performs various image processing on the image data stored in the storage unit 11 and stores the image data in the storage unit 11.

画像形成部17は、C(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の色成分に各々対応する4組の露光部171、感光体172及び現像部173を備えるとともに、転写体174及び2次転写ローラー175を備え、画像処理部16で画像処理された画像データ(ラスタ画像)に基づき、電子写真方式により用紙に画像を形成する。 The image forming unit 17 includes four sets of exposed units 171, a photoconductor 172, and a developing unit 173 corresponding to the color components of C (cyan), M (magenta), Y (yellow), and K (black), respectively. A transfer body 174 and a secondary transfer roller 175 are provided, and an image is formed on paper by an electrophotographic method based on image data (raster image) image-processed by the image processing unit 16.

定着部18は、トナーが転写された用紙を加熱及び加圧してトナーを用紙に定着させる定着処理を行う。 The fixing unit 18 heats and pressurizes the paper on which the toner is transferred to perform a fixing process for fixing the toner to the paper.

搬送部19は、用紙を挟持した状態で回転することで用紙を搬送する用紙搬送ローラーを複数備え、所定の搬送経路で用紙を搬送し、画像形成及び定着済みの用紙を画像読取部20に搬送する。 The transport unit 19 includes a plurality of paper transport rollers for transporting paper by rotating while sandwiching the paper, transports the paper by a predetermined transport path, and transports the image-formed and fixed paper to the image reading unit 20. do.

画像読取部20は、リニアイメージセンサー(例えばCCDラインセンサー等)、光学系、光源等を備えて構成され、画像形成済みの用紙を読み取って、得られた読取画像を制御部10に出力する。 The image reading unit 20 includes a linear image sensor (for example, a CCD line sensor or the like), an optical system, a light source, and the like, reads the image-formed paper, and outputs the obtained scanned image to the control unit 10.

[画像形成装置1の動作]
次に、画像形成装置1の動作について説明する。
通信部14により外部のPC等からジョブを受信すると、制御部10は、ジョブに含まれる画像データ(ベクタ画像(PostScript等))を画像処理部16によりラスタ画像に変換し、ジョブに対応付けて記憶部11に記憶する。記憶部11に記憶されたジョブは、表示部13に表示されるジョブ管理画面131から確認可能である。
[Operation of image forming apparatus 1]
Next, the operation of the image forming apparatus 1 will be described.
When the communication unit 14 receives a job from an external PC or the like, the control unit 10 converts the image data (vector image (PostScript or the like)) included in the job into a raster image by the image processing unit 16 and associates it with the job. It is stored in the storage unit 11. The job stored in the storage unit 11 can be confirmed from the job management screen 131 displayed on the display unit 13.

図5は、ジョブ管理画面131の一例を示す図である。図5に示すように、ジョブ管理画面131には、ジョブ一覧131a、出力(検査あり)ボタン131b、出力(検査なし)ボタン131c、検査基準画像生成ボタン131dが表示されている。ジョブ一覧131aには、記憶部11に記憶されているジョブのファイル名、ページ数、部数、検査基準画像の登録の有無等が一覧表示されている。 FIG. 5 is a diagram showing an example of the job management screen 131. As shown in FIG. 5, the job management screen 131 displays a job list 131a, an output (with inspection) button 131b, an output (without inspection) button 131c, and an inspection reference image generation button 131d. In the job list 131a, the file name, the number of pages, the number of copies, the presence / absence of registration of the inspection reference image, and the like of the job stored in the storage unit 11 are displayed in a list.

ジョブ管理画面131において、操作部12によりジョブ一覧131aからジョブが選択され、出力(検査あり)ボタン131bが選択されると、制御部10は、選択されたジョブに対応するラスタ画像に基づいて、画像形成部17により用紙に画像形成を行わせ、定着部18により用紙上の画像を定着させる。そして、ジョブにおいて画像が形成された用紙を画像読取部20に読み取らせ、得られた読取画像と検査基準画像を比較して、用紙に形成された画像の検査を行う。検査で検査基準画像と異なる異常個所が検出された場合、制御部10は、異常個所を表示した警告画面を表示部13に表示させ、ジョブを一時停止させる。操作部12によりジョブの続行が指示された場合、制御部10は、ジョブを再開する。操作部12によりジョブの中止が指示された場合、制御部10は、ジョブを中止する。 On the job management screen 131, when a job is selected from the job list 131a by the operation unit 12 and the output (with inspection) button 131b is selected, the control unit 10 is based on the raster image corresponding to the selected job. The image forming unit 17 causes the paper to form an image, and the fixing unit 18 fixes the image on the paper. Then, the image reading unit 20 reads the paper on which the image is formed in the job, compares the obtained read image with the inspection reference image, and inspects the image formed on the paper. When an abnormal part different from the inspection reference image is detected in the inspection, the control unit 10 causes the display unit 13 to display a warning screen displaying the abnormal part, and suspends the job. When the operation unit 12 instructs to continue the job, the control unit 10 restarts the job. When the operation unit 12 instructs to cancel the job, the control unit 10 cancels the job.

ジョブ管理画面131において、操作部12によりジョブ一覧131aからジョブが選択され、出力(検査なし)ボタン131cが選択されると、制御部10は、選択されたジョブに対応するラスタ画像に基づいて、画像形成部17により用紙に画像形成を行わせ、定着部18により用紙上の画像を定着させ、そのまま画像検査を行わずに出力する。 On the job management screen 131, when a job is selected from the job list 131a by the operation unit 12 and the output (no inspection) button 131c is selected, the control unit 10 is based on the raster image corresponding to the selected job. The image forming unit 17 causes the paper to form an image, the fixing unit 18 fixes the image on the paper, and the image is output as it is without performing an image inspection.

ジョブ管理画面131において、操作部12によりジョブ一覧131aからジョブが選択され、検査基準画像生成ボタン131dが選択されると、制御部10は、後述する検査基準画像生成処理を実行して検査基準画像を生成し、選択されたジョブに対応付けて記憶部11に記憶(登録)する。 On the job management screen 131, when a job is selected from the job list 131a by the operation unit 12 and the inspection reference image generation button 131d is selected, the control unit 10 executes the inspection reference image generation process described later to execute the inspection reference image. Is generated and stored (registered) in the storage unit 11 in association with the selected job.

図6~図7は、検査基準画像生成処理の流れを示すフローチャートである。検査基準画像生成処理は、制御部10のCPU101とROM103に記憶されているプログラムとの協働により実行される。以下、図6~図7を参照して、検査基準画像生成処理について説明する。 6 to 7 are flowcharts showing the flow of the inspection reference image generation process. The inspection reference image generation process is executed in cooperation with the CPU 101 of the control unit 10 and the program stored in the ROM 103. Hereinafter, the inspection reference image generation process will be described with reference to FIGS. 6 to 7.

まず、制御部10は、選択されたジョブに対応するラスタ画像を記憶部11から読み出す(ステップS1)。 First, the control unit 10 reads the raster image corresponding to the selected job from the storage unit 11 (step S1).

次いで、制御部10は、搬送部19に用紙を給紙させ、画像形成部17により、読み出したラスタ画像に基づいて用紙上に画像を形成させる(ステップS2)。 Next, the control unit 10 feeds the paper to the transport unit 19, and the image forming unit 17 forms an image on the paper based on the raster image read out (step S2).

次いで、制御部10は、画像が形成された用紙を画像読取部20に読み取らせ、読取画像を取得する(ステップS3)。この読取画像は、ジョブにおいてステップS1で読み出されたラスタ画像に基づいて画像形成部17で用紙に形成される画像の検査基準画像の候補となる検査基準画像候補である。 Next, the control unit 10 causes the image reading unit 20 to read the paper on which the image is formed, and acquires the scanned image (step S3). This scanned image is an inspection reference image candidate that is a candidate for an inspection reference image of an image formed on paper by the image forming unit 17 based on the raster image read in step S1 in the job.

次いで、制御部10は、取得した読取画像とステップS1で読み出したラスタ画像とのレジストレーション(位置合わせ)を行った後、両画像を比較して、画素値に所定の閾値以上の差分がある領域を異常個所として検出する(ステップS4)。
なお、例えば、バリアブル印刷の可変部分や断裁を行うジョブの断裁してしまう領域等は、検査する必要がないため、制御部10は、これらの領域を検査対象外領域として設定し、検査対象外領域を異常検出対象から除外する。検査対象外領域として設定された領域は、ジョブで形成された画像を検査基準画像を用いて検査する場合においても検査対象から除外される。
Next, the control unit 10 performs registration (alignment) between the acquired scanned image and the raster image read in step S1, compares both images, and has a difference in the pixel value equal to or greater than a predetermined threshold value. The region is detected as an abnormal location (step S4).
For example, since it is not necessary to inspect the variable portion of variable printing and the area where the job to be cut is cut, the control unit 10 sets these areas as non-inspection areas and is not inspected. Exclude the area from the abnormality detection target. The area set as the non-inspection target area is excluded from the inspection target even when the image formed by the job is inspected using the inspection reference image.

次いで、制御部10は、読取画像が検査合格であるか否かを判断する(ステップS5)。ステップS5において、制御部10は、読取画像から異常個所が検出されなかった場合は検査合格と判断し、読取画像から異常個所が検出された場合は、検査不合格と判断する。 Next, the control unit 10 determines whether or not the scanned image has passed the inspection (step S5). In step S5, the control unit 10 determines that the inspection has passed if no abnormal portion is detected in the scanned image, and determines that the inspection has failed if the abnormal portion is detected in the scanned image.

読取画像が検査不合格であると判断した場合(ステップS5;NO)、制御部10は、抽出された異常個所に基づいて、読取画像における異常修復難度を算出する(ステップS6)。
ここで、異常修復難度とは、異常修復の難しさの度合いを示す値である。ステップS6においては、例えば、各異常個所に対して、エッジ検出(例えば、キャニー法、微分エッジ検出法等)を行い、画像複雑度決定テーブル111を参照して、異常個所の領域に対するエッジ領域の割合から画像複雑度を算出する。そして、各異常個所の画像複雑度の総和を異常修復難度として算出する。または、読取画像における異常個所の個数を算出し、その個数(または、個数に係数をかけたもの)を異常修復難度としてもよい。または、画像複雑度と異常個所の個数との組み合わせと、異常修復難度との対応関係を示すテーブルを記憶部11に記憶しておき、画像複雑度と異常個所の個数との組み合わせに基づいて異常修復難度を求めることとしてもよい。
なお、上記説明では、異常個所の領域に対するエッジ領域の割合に基づいて画像複雑度を算出する例を示したが、これに限定されるものではない。例えば、異常個所の色味等に基づいて画像複雑度を算出することとしてもよい。
When it is determined that the scanned image has failed the inspection (step S5; NO), the control unit 10 calculates the abnormality repair difficulty in the scanned image based on the extracted abnormal portion (step S6).
Here, the abnormality repair difficulty is a value indicating the degree of difficulty in abnormality repair. In step S6, for example, edge detection (for example, a canny method, a differential edge detection method, etc.) is performed for each abnormal portion, and the image complexity determination table 111 is referred to to determine the edge region with respect to the region of the abnormal portion. The image complexity is calculated from the ratio. Then, the sum of the image complexity of each abnormal part is calculated as the abnormality repair difficulty. Alternatively, the number of abnormal locations in the scanned image may be calculated, and the number (or the number multiplied by a coefficient) may be used as the abnormality repair difficulty. Alternatively, a table showing the correspondence between the combination of the image complexity and the number of abnormal parts and the difficulty of repairing the abnormality is stored in the storage unit 11, and the abnormality is based on the combination of the image complexity and the number of abnormal parts. You may ask for the repair difficulty.
In the above description, an example of calculating the image complexity based on the ratio of the edge region to the region of the abnormal portion is shown, but the present invention is not limited to this. For example, the image complexity may be calculated based on the color tone of the abnormal portion.

次いで、制御部10は、異常修復方法切替テーブル112を参照し、異常修復難度が自動修復可能閾値未満であるか否かを判断する(ステップS7)。
異常修復難度が自動修復可能閾値未満であると判断した場合(ステップS7;YES)、制御部10は、デフォルトの異常修復方法を自動修復に設定し(ステップS8)、ステップS12に移行する。自動修復は、制御部10が自動的に異常個所を修復する方法である。
Next, the control unit 10 refers to the abnormality repair method switching table 112, and determines whether or not the abnormality repair difficulty is less than the automatic repair possible threshold value (step S7).
When it is determined that the abnormality repair difficulty is less than the automatic repair possible threshold value (step S7; YES), the control unit 10 sets the default abnormality repair method to automatic repair (step S8), and proceeds to step S12. The automatic repair is a method in which the control unit 10 automatically repairs an abnormal part.

一方、異常修復難度が自動修復可能閾値以上であると判断した場合(ステップS7;NO)、制御部10は、異常修復方法切替テーブル112を参照し、異常修復難度が手動修復可能閾値未満であるか否かを判断する(ステップS9)。
異常修復難度が手動修復可能閾値未満であると判断した場合(ステップS9;YES)、制御部10は、デフォルトの異常修復方法を手動修復に設定し(ステップS10)、ステップS12に移行する。手動修復は、ユーザーの編集により異常個所を修復する方法である。
異常修復難度が手動修復可能閾値以上であると判断した場合(ステップS9;NO)、制御部10は、デフォルトの異常修復方法を再生成に設定し(ステップS11)、ステップS12に移行する。再生成は、ステップS1で読み出したラスタ画像に基づいて画像形成部17により用紙に画像を形成し、画像形成済みの用紙を画像読取部20により読み取って読取画像を生成し直す方法である。
On the other hand, when it is determined that the abnormality repair difficulty is equal to or higher than the automatic repair possible threshold value (step S7; NO), the control unit 10 refers to the abnormality repair method switching table 112, and the abnormality repair difficulty is less than the manual repair possible threshold value. It is determined whether or not (step S9).
When it is determined that the abnormality repair difficulty is less than the manual repair possible threshold value (step S9; YES), the control unit 10 sets the default abnormality repair method to manual repair (step S10), and proceeds to step S12. Manual repair is a method of repairing an abnormal part by editing by the user.
When it is determined that the abnormality repair difficulty is equal to or higher than the manual repair possible threshold value (step S9; NO), the control unit 10 sets the default abnormality repair method to regeneration (step S11), and proceeds to step S12. Regeneration is a method in which an image is formed on paper by the image forming unit 17 based on the raster image read in step S1, and the image-formed paper is read by the image reading unit 20 to regenerate the scanned image.

ステップS12において、制御部10は、異常修復方法選択画面132を表示部13に表示させる(ステップS12)。 In step S12, the control unit 10 causes the display unit 13 to display the abnormality repair method selection screen 132 (step S12).

図8は、異常修復方法選択画面132の一例を示す図である。図8に示すように、異常修復方法選択画面132には、読取画像を表示する画像表示領域132aと、異常修復方法として自動修復を選択するための自動修復ボタン132bと、手動修復を選択するための手動修復ボタン132cと、再生成を選択するための再生成ボタン132dと、異常修復の実行を指示するための実行ボタン132eと、異常修復の中止を指示するための中止ボタン132fと、が設けられている。 FIG. 8 is a diagram showing an example of the abnormality repair method selection screen 132. As shown in FIG. 8, on the abnormality repair method selection screen 132, an image display area 132a for displaying a scanned image, an automatic repair button 132b for selecting automatic repair as an abnormality repair method, and manual repair are selected. Manual repair button 132c, a regeneration button 132d for selecting regeneration, an execution button 132e for instructing execution of abnormal repair, and a stop button 132f for instructing cancellation of abnormal repair are provided. Has been done.

図8に示すように、画像表示領域132aにおいては、読取画像において抽出された異常個所が、例えば四角や丸等のマーカー(A1~A4)で囲んで表示される。また、自動修復ボタン132b、手動修復ボタン132c、再生成ボタン132dのうち、デフォルトの異常修復方法として設定された修復方法に対応するボタンが予め選択された状態で表示される。図8においては、再生成ボタン132dが選択された状態であることを示している。デフォルトの異常修復方法以外の方法で異常修復を行いたい場合、ユーザーは、操作部12により他のボタンを押下することで、他の異常修復方法に変更することができる。 As shown in FIG. 8, in the image display area 132a, the abnormal portion extracted in the scanned image is displayed surrounded by markers (A1 to A4) such as squares and circles. Further, among the automatic repair button 132b, the manual repair button 132c, and the regenerate button 132d, the button corresponding to the repair method set as the default abnormality repair method is displayed in a state of being selected in advance. FIG. 8 shows that the regeneration button 132d is in the selected state. When it is desired to perform anomaly repair by a method other than the default anomaly repair method, the user can change to another anomaly repair method by pressing another button on the operation unit 12.

異常修復方法選択画面132において、自動修復ボタン132b、手動修復ボタン132c、再生成ボタン132dのいずれかが選択された状態において、操作部12により実行ボタン132eが押下されると、制御部10は、ステップS13に移行する。 When any of the automatic repair button 132b, the manual repair button 132c, and the regenerate button 132d is selected on the abnormality repair method selection screen 132, when the execution button 132e is pressed by the operation unit 12, the control unit 10 causes the control unit 10. The process proceeds to step S13.

ステップS13において、制御部10は、異常修復方法として自動修復が選択されたか否かを判断する(ステップS13)。
異常修復方法として自動修復が選択されたと判断した場合(ステップS13;YES)、制御部10は、異常修復対象の読取画像が再生成された読取画像であるか否かを判断する(ステップS14)。
In step S13, the control unit 10 determines whether or not automatic repair is selected as the abnormality repair method (step S13).
When it is determined that automatic repair is selected as the abnormality repair method (step S13; YES), the control unit 10 determines whether or not the scanned image to be repaired abnormally is a regenerated scanned image (step S14). ..

異常修復対象の読取画像が再生成された読取画像であると判断した場合(ステップS14;YES)、制御部10は、再生成前の読取画像と再生成後の読取画像を合成し(ステップS15)、ステップS16に移行する。
ステップS15において、制御部10は、再生成前の読取画像と再生成後の読取画像のレジストレーション(位置合わせ)を行う。そして、図9に示すように、再生成前の読取画像から異常個所のない正常領域R1を抽出し、抽出した正常領域R1を再生成後の読取画像の正常領域R2と合成することで異常修復を行う。なお、図9において、A1-1、A1-2、A2-1、A2-2は異常個所のマーカーを示す。
異常修復対象の読取画像が再生成された読取画像ではないと判断した場合(ステップS14;NO)、制御部10は、ステップS16に移行する。
When it is determined that the scanned image to be repaired abnormally is the regenerated scanned image (step S14; YES), the control unit 10 synthesizes the scanned image before regeneration and the scanned image after regeneration (step S15). ), The process proceeds to step S16.
In step S15, the control unit 10 performs registration (alignment) between the scanned image before regeneration and the scanned image after regeneration. Then, as shown in FIG. 9, the normal region R1 having no abnormal part is extracted from the scanned image before regeneration, and the extracted normal region R1 is combined with the normal region R2 of the scanned image after regeneration to repair the abnormality. I do. In FIG. 9, A1-1, A1-2, A2-1, and A2-2 indicate markers at abnormal locations.
When it is determined that the scanned image to be repaired abnormally is not the regenerated scanned image (step S14; NO), the control unit 10 proceeds to step S16.

ステップS16において、制御部10は、表示部13に自動修復個所選択画面133を表示させ、修復対象の異常個所の選択を受け付ける(ステップS16)。
図10は、自動修復個所選択画面133の一例を示す図である。図10に示すように、自動修復個所選択画面133には、読取画像を表示する画像表示領域133aと、異常個所の選択欄133bと、が設けられている。画像表示領域132aには、異常個所(異常1~4)が、例えば四角や丸等のマーカーA1~A4で囲まれた読取画像が表示される。異常個所の選択欄133bには、画像表示領域133aに表示されている各異常個所に対応するチェックボックスが設けられている。ユーザーの操作部12の操作によりチェックボックスにチェックを入れることで、修復対象の異常個所を選択することができる。OKボタン133cが押下されると、制御部10は、ステップS17に移行する。
In step S16, the control unit 10 causes the display unit 13 to display the automatic repair location selection screen 133, and accepts the selection of the abnormal portion to be repaired (step S16).
FIG. 10 is a diagram showing an example of the automatic repair location selection screen 133. As shown in FIG. 10, the automatic repair location selection screen 133 is provided with an image display area 133a for displaying a scanned image and a selection field 133b for an abnormal portion. In the image display area 132a, a scanned image in which the abnormal portion (abnormality 1 to 4) is surrounded by markers A1 to A4 such as a square or a circle is displayed. In the selection field 133b of the abnormal part, a check box corresponding to each abnormal part displayed in the image display area 133a is provided. By checking the check box by the operation of the operation unit 12 of the user, it is possible to select the abnormal part to be repaired. When the OK button 133c is pressed, the control unit 10 proceeds to step S17.

ステップS17において、制御部10は、選択された異常個所に対して自動修復を実施する(ステップS17)。例えば、制御部10は、異常個所の画素の画素値を近隣画素から推測して補間する等により、異常個所を修復する。 In step S17, the control unit 10 automatically repairs the selected abnormal portion (step S17). For example, the control unit 10 repairs the abnormal portion by estimating the pixel value of the pixel at the abnormal location from neighboring pixels and interpolating the pixel value.

次いで、制御部10は、表示部13に自動修復結果確認画面134を表示させる(ステップS18)。
図11は、自動修復結果確認画面134の一例を示す図である。図11に示すように、自動修復結果確認画面134には、「自動修復が完了しました。結果に問題がないか確認してください」等のメッセージと、自動修復済みの読取画像を表示する画像表示領域134aと、OKボタン134bと、手動修復を指示するための手動修復ボタン134cが設けられている。ユーザーは、自動修復済みの読取画像を確認し、OKであればOKボタン134bを、手動修復が必要な場合には手動修復ボタン134cを押下する。
Next, the control unit 10 causes the display unit 13 to display the automatic repair result confirmation screen 134 (step S18).
FIG. 11 is a diagram showing an example of the automatic repair result confirmation screen 134. As shown in FIG. 11, on the automatic repair result confirmation screen 134, a message such as "Automatic repair is completed. Please check if there is a problem in the result" and an image displaying the scanned image that has been automatically repaired are displayed. A display area 134a, an OK button 134b, and a manual repair button 134c for instructing manual repair are provided. The user confirms the scanned image that has been automatically repaired, and presses the OK button 134b if it is OK, or presses the manual repair button 134c if manual repair is required.

操作部12によりOKボタン134bが押下されると(ステップS19;YES)、制御部10は、ステップS20に移行する。操作部12により手動修復ボタン134cが押下された場合(ステップS19;NO)、制御部10は、ステップS24に移行する。 When the OK button 134b is pressed by the operation unit 12 (step S19; YES), the control unit 10 shifts to step S20. When the manual repair button 134c is pressed by the operation unit 12 (step S19; NO), the control unit 10 shifts to step S24.

ステップS20において、制御部10は、未修復の異常個所が存在するか否かを判断する(ステップS20)。未修復の異常個所が存在しないと判断した場合(ステップS20;NO)、制御部10は、ステップS4に戻り、修復した読取画像について再検査を行う。 In step S20, the control unit 10 determines whether or not there is an unrepaired abnormal portion (step S20). When it is determined that there is no unrepaired abnormal portion (step S20; NO), the control unit 10 returns to step S4 and re-inspects the repaired scanned image.

未修復の異常個所が存在すると判断した場合(ステップS20;YES)、制御部10は、表示部13に未修復警告画面135を表示させ、手動修復するか、検査対象外領域に設定するかをユーザーに確認する(ステップS21)。 When it is determined that there is an unrepaired abnormal part (step S20; YES), the control unit 10 displays the unrepaired warning screen 135 on the display unit 13 and determines whether to manually repair or set the area to be out of inspection. Confirm with the user (step S21).

図12は、未修復警告画面135の一例を示す図である。図12に示すように、未修復警告画面135には、「未修復の異常個所があります。手動修復しますか。検査対象外領域に設定しますか。」等のメッセージと、未修復の異常個所(異常3)を示すマーカー(A3)が表示された読取画像を表示する画像表示領域135aと、手動修復を指示するための手動修復ボタン135bと、異常個所を検査対象外領域に設定することを指示するための検査対象外領域設定ボタン135cと、が設けられている。ユーザーは、手動修復を行うのであれば操作部12により手動修復ボタン135bを、検査対象外領域に設定するのであれば検査対象外領域設定ボタン135cを押下する。 FIG. 12 is a diagram showing an example of the unrepaired warning screen 135. As shown in FIG. 12, on the unrepaired warning screen 135, a message such as "There is an unrepaired abnormal part. Do you want to repair it manually? Do you want to set it in the area not to be inspected?" And an unrepaired abnormality. Set the image display area 135a for displaying the scanned image displaying the marker (A3) indicating the location (abnormality 3), the manual repair button 135b for instructing manual repair, and the abnormal location as the non-inspection target area. There is provided a non-inspection area setting button 135c for instructing. The user presses the manual repair button 135b by the operation unit 12 when performing manual repair, and presses the non-inspection area setting button 135c when setting the non-inspection target area.

操作部12により手動修復ボタン135bが押下された場合(ステップS21;手動修復)、制御部10は、ステップS24に移行する。
操作部12により検査対象外領域設定ボタン135cが押下された場合(ステップS21;検査対象外)、制御部10は、読取画像における未修復の異常個所を検査対象外領域に設定し(ステップS22)、ステップS4に戻り、修復した読取画像について再検査を行う。
When the manual repair button 135b is pressed by the operation unit 12 (step S21; manual repair), the control unit 10 shifts to step S24.
When the non-inspection area setting button 135c is pressed by the operation unit 12 (step S21; non-inspection target), the control unit 10 sets an unrepaired abnormal part in the scanned image in the non-inspection target area (step S22). , Returning to step S4, the repaired scanned image is re-inspected.

一方、ステップS13において、異常修復方法として自動修復が選択されていないと判断した場合(ステップS13;NO)、制御部10は、異常修復方法として手動修復が選択されたか否かを判断する(ステップS23)。
異常修復方法として手動修復が選択されたと判断した場合(ステップS23;YES)、制御部10は、ステップS24に移行する。
On the other hand, when it is determined in step S13 that automatic repair is not selected as the abnormality repair method (step S13; NO), the control unit 10 determines whether or not manual repair is selected as the abnormality repair method (step). S23).
When it is determined that manual repair is selected as the abnormality repair method (step S23; YES), the control unit 10 proceeds to step S24.

ステップS24において、制御部10は、表示部13に手動修復画面136を表示させ、ユーザーによる手動修復を受け付ける(ステップS24)。
図13は、手動修復画面136の一例を示す図である。図13に示すように、手動修復画面136には、異常個所を示すマーカーA1~A4が表示された読取画像を表示する画像表示領域136aと、ペン136bと、消しゴム136cと、検査対象外領域設定ボタン136dと、完了ボタン136eと、が設けられている。ユーザーは、操作部12の操作により、ペン136b、消しゴム136cを用いて、画像表示領域136aに表示されている読取画像の異常個所を編集することができる。また、検査対象外領域設定ボタン136dを押下した後、画像表示領域136aの読取画像の領域を指定することにより、指定した領域を検査対象外領域に設定することができる。完了ボタン136eを押下すると、手動修復を終了させることができる。
In step S24, the control unit 10 causes the display unit 13 to display the manual repair screen 136, and accepts the manual repair by the user (step S24).
FIG. 13 is a diagram showing an example of the manual repair screen 136. As shown in FIG. 13, on the manual repair screen 136, an image display area 136a, a pen 136b, an eraser 136c, and a non-inspection area setting for displaying a scanned image displaying markers A1 to A4 indicating abnormal locations. A button 136d and a completion button 136e are provided. By operating the operation unit 12, the user can edit the abnormal portion of the read image displayed in the image display area 136a by using the pen 136b and the eraser 136c. Further, by pressing the non-inspection area setting button 136d and then designating the area of the scanned image of the image display area 136a, the designated area can be set as the non-inspection area. When the completion button 136e is pressed, the manual repair can be completed.

手動修復が終了すると、制御部10は、異常個所以外に編集された個所があるか否かを判断する(ステップS25)。
異常個所以外に編集された個所がないと判断した場合(ステップS25;NO)、制御部10は、ステップS4に戻り、修復した読取画像について再検査を行う。
When the manual repair is completed, the control unit 10 determines whether or not there is an edited portion other than the abnormal portion (step S25).
When it is determined that there is no edited part other than the abnormal part (step S25; NO), the control unit 10 returns to step S4 and re-inspects the repaired read image.

なお、手動修復が行われた場合、制御部10は、読取画像におけるユーザーの編集が行われた個所にのみ再検査(すなわち、再度異常検出を行う)こととしてもよい。そして、再検査において異常が検出された場合、制御部10は、異常個所が表示された手動修復画面136を表示部13に表示させ、再度ユーザーに編集を行わせることとしてもよい。 When manual repair is performed, the control unit 10 may re-inspect (that is, perform abnormality detection again) only at the portion of the scanned image where the user has edited. Then, when an abnormality is detected in the re-inspection, the control unit 10 may display the manual repair screen 136 on which the abnormal part is displayed on the display unit 13 and allow the user to edit again.

異常個所以外に編集された個所があると判断した場合(ステップS25;YES)、制御部10は、表示部13に修復個所警告画面137を表示させる(ステップS26)。
図14は、修復個所警告画面137の一例を示す図である。図14に示すように、修復個所警告画面137には、異常個所以外で編集が検出された個所がマーカーW1で表示された読取画像を表示する画像表示領域137aと、OKボタン137bと、再修復ボタン137cと、が設けられている。
When it is determined that there is an edited part other than the abnormal part (step S25; YES), the control unit 10 causes the display unit 13 to display the repair part warning screen 137 (step S26).
FIG. 14 is a diagram showing an example of the repair location warning screen 137. As shown in FIG. 14, on the repair location warning screen 137, an image display area 137a displaying a read image in which edits are detected other than the abnormal location is displayed by the marker W1, an OK button 137b, and re-repair. A button 137c and the like are provided.

操作部12により再修復ボタン137cが押下されると(ステップS27;YES)、制御部10は、ステップS24に戻る。
操作部12によりOKボタン137bが押下されると(ステップS27;NO)、制御部10は、ステップS4に戻り、修復した読取画像について再検査を行う。
When the repair button 137c is pressed by the operation unit 12 (step S27; YES), the control unit 10 returns to step S24.
When the OK button 137b is pressed by the operation unit 12 (step S27; NO), the control unit 10 returns to step S4 and re-inspects the repaired scanned image.

ステップS23において、異常修復方法として手動修復が選択されていないと判断した場合(ステップS23;NO)、制御部10は、異常修復方法として再生成が選択されたか否かが判断される(ステップS28)。
異常修復方法として再生成が選択されたと判断した場合(ステップS28;YES)、制御部10は、ステップS2に戻り、ラスタ画像に基づいて読取画像の再生成を行わせる。すなわち、画像形成部17により用紙に画像を形成させ、画像形成済みの用紙を画像読取部20により読み取らせて読取画像を再生成させる。そして、再生成された読取画像に対して検査を行う。
異常修復方法として再生成が選択されず、異常修復方法選択画面132において中止ボタン132fが押下されたと判断した場合(ステップS28;NO)、制御部10は、検査基準画像生成処理を終了する。
When it is determined in step S23 that manual repair is not selected as the abnormality repair method (step S23; NO), the control unit 10 determines whether or not regeneration is selected as the abnormality repair method (step S28). ).
When it is determined that regeneration is selected as the abnormality repair method (step S28; YES), the control unit 10 returns to step S2 and causes the scanned image to be regenerated based on the raster image. That is, the image forming unit 17 forms an image on the paper, and the image reading unit 20 reads the image-formed paper to regenerate the scanned image. Then, the regenerated scanned image is inspected.
If regeneration is not selected as the abnormality repair method and it is determined that the stop button 132f is pressed on the abnormality repair method selection screen 132 (step S28; NO), the control unit 10 ends the inspection reference image generation process.

一方、読取画像が検査合格であると判断した場合(ステップS5;YES)、制御部10は、表示部13に検査基準画像登録画面138を表示させる(ステップS29)。
図15は、検査基準画像登録画面138の一例を示す図である。図15に示すように、検査基準画像登録画面138には、「画像検査が正常終了しました。検査基準画像の登録方法を選択してください」等のメッセージと、検査が合格した読取画像を表示する画像表示領域138aと、上書き登録ボタン138bと、複製して登録ボタン138cと、が設けられている。
上書き登録ボタン138bは、表示されている読取画像を選択されたジョブ(検査基準画像生成処理を実行するにあたって選択されたジョブ)の検査基準画像として記憶部11に記憶することを指示するためのボタンである。すでに選択されたジョブに対応付けて検査基準画像が登録されている場合には、表示されている読取画像で検査基準画像が上書きされる。
複製して登録ボタン138cは、選択されたジョブを複製し、表示されている読取画像を複製したジョブの検査基準画像として記憶部11に記憶することを指示するためのボタンである。
On the other hand, when it is determined that the scanned image has passed the inspection (step S5; YES), the control unit 10 causes the display unit 13 to display the inspection reference image registration screen 138 (step S29).
FIG. 15 is a diagram showing an example of the inspection reference image registration screen 138. As shown in FIG. 15, on the inspection standard image registration screen 138, a message such as "The image inspection has been completed normally. Please select a registration method for the inspection standard image" and a scanned image that has passed the inspection are displayed. An image display area 138a, an overwrite registration button 138b, and a duplicate registration button 138c are provided.
The overwrite registration button 138b is a button for instructing the storage unit 11 to store the displayed scanned image as the inspection reference image of the selected job (the job selected when executing the inspection reference image generation process). Is. If the inspection reference image is registered in association with the already selected job, the inspection reference image is overwritten with the displayed scanned image.
The duplicate and register button 138c is a button for instructing the storage unit 11 to duplicate the selected job and store the displayed read image as the inspection reference image of the duplicated job.

操作部12により、上書き登録ボタン138bが押下されると(ステップS30;YES)、制御部10は、表示されている読取画像を選択されたジョブの検査基準画像として記憶部11に記憶(登録)するとともに、ジョブの検査基準画像登録を「あり」に設定し(ステップS31)、検査基準画像生成処理を終了する。 When the overwrite registration button 138b is pressed by the operation unit 12 (step S30; YES), the control unit 10 stores (registers) the displayed scanned image in the storage unit 11 as an inspection reference image for the selected job. At the same time, the inspection reference image registration of the job is set to "Yes" (step S31), and the inspection reference image generation process is terminated.

操作部12により、複製して登録ボタン138cが押下されると(ステップS30;NO)、制御部10は、選択されたジョブを複製し、表示されている読取画像を複製したジョブの検査基準画像として記憶部11に記憶する(登録)とともに、複製したジョブの検査基準画像登録を「あり」に設定し(ステップS32)、検査基準画像生成処理を終了する。 When the duplicate registration button 138c is pressed by the operation unit 12 (step S30; NO), the control unit 10 duplicates the selected job and duplicates the displayed scanned image as the inspection reference image of the job. The inspection reference image registration of the duplicated job is set to "Yes" (step S32), and the inspection reference image generation process is terminated.

なお、図6~図7に示す検査基準画像生成処理は、ジョブが1ページにより構成されている場合を例にとり説明したが、複数ページにより構成されている場合は、検査基準画像生成処理において1ページ分の検査が合格すると、次ページに移行して検査基準画像生成処理を行う処理を繰り返し、最終ページの検査が合格すると、ステップS29に移行して、検査基準画像の登録を行う。 The inspection reference image generation process shown in FIGS. 6 to 7 has been described by taking the case where the job is composed of one page as an example, but when the job is composed of a plurality of pages, the inspection reference image generation process is 1 When the inspection for one page is passed, the process of moving to the next page and performing the inspection reference image generation process is repeated, and when the inspection of the final page is passed, the process proceeds to step S29 and the inspection reference image is registered.

以上説明したように、画像形成装置1の制御部10は、ジョブのラスタ画像に基づいて画像形成部17により用紙に画像を形成させ、画像形成部17により画像が形成された用紙を画像読取部20により読み取らせることにより、ジョブにおいて用紙に形成される画像の検査基準画像の候補となる読取画像(検査基準画像候補)を生成する。次いで、制御部10は、ラスタ画像と検査基準画像候補の比較に基づいて検査基準画像候補の異常検出を行い、異常が検出された場合に、検出された異常に基づいて検査基準画像候補の異常修復難度を算出する。そして、異常修復難度が予め定められた閾値を超えた場合に、異常の修復方法として、ラスタ画像に基づく検査基準画像候補の再生成を設定する。
しがたって、例えば、異常修復難度が高く自動修復が不可能な場合に、ユーザーが異常個所を修復する手間を省くことが可能となるので、検査基準画像を迅速に生成することが可能となる。
As described above, the control unit 10 of the image forming apparatus 1 causes the image forming unit 17 to form an image on the paper based on the raster image of the job, and the image reading unit reads the paper on which the image is formed by the image forming unit 17. By scanning by 20, a scanned image (inspection reference image candidate) that is a candidate for an inspection reference image of an image formed on a paper in a job is generated. Next, the control unit 10 detects an abnormality of the inspection reference image candidate based on the comparison between the raster image and the inspection reference image candidate, and when the abnormality is detected, the abnormality of the inspection reference image candidate is based on the detected abnormality. Calculate the repair difficulty. Then, when the abnormality repair difficulty exceeds a predetermined threshold value, the regeneration of the inspection reference image candidate based on the raster image is set as the abnormality repair method.
Therefore, for example, when the difficulty of repairing an abnormality is high and automatic repair is not possible, the user can save the trouble of repairing the abnormal part, so that the inspection reference image can be quickly generated. ..

例えば、制御部10は、検査基準画像候補から検出された異常個所の数に基づいて異常修復難度を算出することで、異常個所の数の多い検査基準画像候補をユーザーが修復する手間を省くことができる。 For example, the control unit 10 calculates the abnormality repair difficulty based on the number of abnormal parts detected from the inspection reference image candidates, thereby saving the user the trouble of repairing the inspection reference image candidates having a large number of abnormal parts. Can be done.

また、例えば、制御部10は、検査基準画像候補から検出された異常個所のパターンの複雑度に基づいて異常修復難度を算出することで、異常個所のパターンが複雑な検査基準画像候補をユーザーが修復する手間を省くことができる。 Further, for example, the control unit 10 calculates the abnormality repair difficulty based on the complexity of the pattern of the abnormal portion detected from the inspection reference image candidate, so that the user can select the inspection reference image candidate having a complicated pattern of the abnormal portion. You can save the trouble of repairing.

また、例えば、制御部10は、異常修復が行われた検査基準画像候補に対して再度異常検出を行うことで、異常修復によって異常がなくなったか否かを確認することが可能となる。 Further, for example, the control unit 10 can confirm whether or not the abnormality has disappeared by the abnormality repair by performing the abnormality detection again for the inspection reference image candidate for which the abnormality repair has been performed.

また、例えば、制御部10は、検査基準画像候補の再生成を含む予め定められた複数の異常修復方法の中からいずれかを異常修復方法として設定するので、複数の異常修復方法のうち好適な異常修復方法を用いて異常修復を行うことが可能となる。例えば、制御部10は、異常修復方法の選択肢を表示部13に表示させ、表示された選択肢のうちユーザーにより選択された異常修復方法を最終的に修復を実施する際の異常修復方法として設定することで、ユーザーが所望する異常修復方法で修復を行うことが可能となる。 Further, for example, since the control unit 10 sets any one of a plurality of predetermined abnormality repair methods including regeneration of the inspection reference image candidate as the abnormality repair method, it is preferable among the plurality of abnormality repair methods. It is possible to perform abnormal repair using the abnormal repair method. For example, the control unit 10 displays the options of the abnormality repair method on the display unit 13, and sets the abnormality repair method selected by the user from the displayed options as the abnormality repair method when finally performing the repair. This makes it possible to perform repair by the abnormality repair method desired by the user.

例えば、複数の異常修復方法の一つを検査基準画像候補の異常個所を自動的に修復する自動修復とすることで、迅速に修復を行うことが可能となる。また、検査基準画像候補における異常個所を表示してユーザーに自動修復する異常個所を選択させる自動修復個所選択画面を表示部13に表示することで、ユーザーが修復が必要だと判断した異常個所を迅速に修復することが可能となる。 For example, by using one of a plurality of abnormality repair methods as automatic repair for automatically repairing an abnormal part of an inspection reference image candidate, it is possible to perform repair quickly. In addition, by displaying the automatic repair location selection screen on the display unit 13 that displays the abnormal location in the inspection standard image candidate and allows the user to select the abnormal location to be automatically repaired, the abnormal location determined by the user to be repaired can be displayed. It can be repaired quickly.

また、例えば、複数の異常修復方法の一つを検査基準画像候補の異常個所をユーザーの編集に応じて修復する手動修復とすることで、ユーザーが異常個所を修復することが可能となる。また、手動修復が行われた場合に、検査基準画像候補においてユーザーの編集が行われた個所にのみ再度異常検出を行うことで、再検査を迅速に行うことが可能となる。また、ユーザーの編集による修復後に異常が検出された場合に、検出された異常個所を表示部13に表示することで、ユーザーに再度修復が必要であることを認識させることが可能となる。また、検査基準画像候補の異常個所とは異なる個所がユーザーにより編集された場合に、警告を行うことで、異常個所でない部分をユーザーが編集したことを認識させることができる。 Further, for example, by using one of the plurality of abnormality repair methods as manual repair in which the abnormality portion of the inspection reference image candidate is repaired according to the user's editing, the user can repair the abnormality portion. Further, when the manual repair is performed, the re-inspection can be performed promptly by performing the abnormality detection again only in the place where the user has edited the inspection reference image candidate. Further, when an abnormality is detected after the repair by editing by the user, the detected abnormality portion is displayed on the display unit 13, so that the user can be made to recognize that the repair is necessary again. Further, when a part different from the abnormal part of the inspection reference image candidate is edited by the user, it is possible to recognize that the user has edited the part that is not the abnormal part by issuing a warning.

また、再度ラスタ画像に基づいて検査基準画像候補が生成し直された場合であって、生成し直された検査基準画像候補から異常が検出された場合、制御部10は、生成し直す前の検査基準画像候補と生成し直した後の検査基準画像候補の正常領域を組み合わせて検査基準画像を生成する。したがって、検査基準画像候補を再生成した場合の異常個所の修復を迅速に行うことが可能となる。 Further, when the inspection reference image candidate is regenerated based on the raster image again and an abnormality is detected from the regenerated inspection reference image candidate, the control unit 10 before the generation is regenerated. An inspection reference image is generated by combining the inspection reference image candidate and the normal region of the inspection reference image candidate after re-generation. Therefore, it is possible to quickly repair the abnormal part when the inspection reference image candidate is regenerated.

また、検査基準画像候補における検査対象外領域として設定された領域を異常検出の対象外とすることで、例えば、バリアブル印刷の可変部分や断裁されてしまう部分を異常検出対象から除くことができ、効率よく異常検出を行うことが可能となる。
また、検出された異常個所を検査対象外領域として設定するか否かをユーザーに確認するための確認画面を表示部13に表示することで、必要のない個所への検査を省略することが可能となる。
Further, by excluding the area set as the non-inspection target area in the inspection reference image candidate from the target of abnormality detection, for example, the variable portion of variable printing and the portion to be cut can be excluded from the abnormality detection target. It is possible to efficiently detect abnormalities.
In addition, by displaying a confirmation screen on the display unit 13 for confirming to the user whether or not to set the detected abnormal part as a non-inspection target area, it is possible to omit the inspection to the unnecessary part. Will be.

また、制御部10は、検査基準画像候補から異常が検出されなかった場合に、検査基準画像候補を検査基準画像として登録するので、異常のない検査基準画像を登録することが可能となる。例えば、検査基準画像候補をジョブの検査基準画像として登録することができる。または、検査基準画像候補をジョブを複製した別のジョブの検査基準画像として登録することができる。 Further, since the control unit 10 registers the inspection reference image candidate as the inspection reference image when the abnormality is not detected from the inspection reference image candidates, it is possible to register the inspection reference image without any abnormality. For example, an inspection reference image candidate can be registered as an inspection reference image for a job. Alternatively, the inspection reference image candidate can be registered as an inspection reference image of another job that duplicates the job.

なお、上述の実施形態における記述内容は、本発明の好適な一例であり、これに限定されるものではない。 It should be noted that the description content in the above-described embodiment is a preferable example of the present invention, and is not limited thereto.

例えば、上記実施形態では、異常修復難度が予め定められた閾値以上である場合に、異常修復方法を検査基準画像候補の再生成に設定し、さらにユーザーによる実行指示に応じて、検査基準画像候補の再生成による異常修復を行うこととしたが、異常修復難度が予め定められた閾値以上である場合に、異常修復方法を検査基準画像候補の再生成に設定して自動的に検査基準画像候補の再生成による異常修復を行うこととしてもよい。 For example, in the above embodiment, when the abnormality repair difficulty is equal to or higher than a predetermined threshold value, the abnormality repair method is set to regenerate the inspection reference image candidate, and further, the inspection reference image candidate is set according to the execution instruction by the user. However, if the difficulty of repairing the abnormality is equal to or higher than the predetermined threshold value, the abnormality repair method is set to the regeneration of the inspection reference image candidate and the inspection reference image candidate is automatically repaired. It may be possible to repair the abnormality by regenerating the image.

また、上記の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体として、不揮発性メモリー、ハードディスク等を使用した例を開示したが、この例に限定されない。その他のコンピュータ読み取り可能な媒体として、CD-ROM等の可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も適用される。 Further, in the above description, an example in which a non-volatile memory, a hard disk, or the like is used as a computer-readable medium for the program according to the present invention has been disclosed, but the present invention is not limited to this example. As another computer-readable medium, a portable recording medium such as a CD-ROM can be applied. Further, a carrier wave is also applied as a medium for providing the data of the program according to the present invention via a communication line.

その他、画像形成装置の細部構成及び細部動作に関しても、本発明の趣旨を逸脱することのない範囲で適宜変更可能である。 In addition, the detailed configuration and detailed operation of the image forming apparatus can be appropriately changed without departing from the spirit of the present invention.

1 画像形成装置
10 制御部
11 記憶部
111 画像複雑度決定テーブル
112 異常修復方法切替テーブル
12 操作部
13 表示部
14 通信部
16 画像処理部
17 画像形成部
18 定着部
19 搬送部
20画像読取部
21 バス
70 記憶部
80 通信部
1 Image forming device 10 Control unit 11 Storage unit 111 Image complexity determination table 112 Abnormality repair method switching table 12 Operation unit 13 Display unit 14 Communication unit 16 Image processing unit 17 Image forming unit 18 Fixing unit 19 Transport unit 20 Image reading unit 21 Bus 70 Storage unit 80 Communication unit

Claims (19)

ラスタ画像に基づいて用紙に画像を形成する画像形成手段と、
前記画像形成手段により画像が形成された用紙を読み取って、ジョブにおいて前記ラスタ画像に基づいて前記画像形成手段により形成される画像の検査基準画像の候補となる検査基準画像候補を生成する画像読取手段と、
前記ラスタ画像と前記検査基準画像候補の比較に基づいて、前記検査基準画像候補の異常検出を行う異常検出手段と、
前記検査基準画像候補から異常が検出された場合に、前記検出された異常に基づいて、前記検査基準画像候補の異常修復難度を算出する異常修復難度算出手段と、
前記検査基準画像候補における異常修復方法を設定する設定手段と、
前記設定手段により設定された異常修復方法に基づいて前記検査基準画像候補の異常の修復を行う修復手段と、を備え、
前記設定手段は、前記算出された異常修復難度が予め定められた閾値を超えている場合に、前記異常修復方法として、前記ラスタ画像に基づく検査基準画像候補の再生成を設定する画像形成装置。
An image forming means for forming an image on paper based on a raster image,
An image reading means that reads a sheet on which an image is formed by the image forming means and generates an inspection reference image candidate that is a candidate for an inspection reference image of an image formed by the image forming means based on the raster image in a job. When,
An abnormality detecting means for detecting an abnormality of the inspection reference image candidate based on a comparison between the raster image and the inspection reference image candidate, and an abnormality detecting means.
When an abnormality is detected from the inspection reference image candidate, an abnormality repair difficulty calculation means for calculating the abnormality repair difficulty of the inspection reference image candidate based on the detected abnormality, and an abnormality repair difficulty calculation means.
A setting means for setting an abnormality repair method in the inspection reference image candidate, and
A repair means for repairing an abnormality of the inspection reference image candidate based on the abnormality repair method set by the setting means is provided.
The setting means is an image forming apparatus that sets the regeneration of an inspection reference image candidate based on the raster image as the abnormality repair method when the calculated abnormality repair difficulty exceeds a predetermined threshold value.
前記異常修復難度算出手段は、前記異常検出手段により検出された異常個所の数に基づいて、前記異常修復難度を算出する請求項1に記載の画像形成装置。 The image forming apparatus according to claim 1, wherein the abnormality repair difficulty calculation means calculates the abnormality repair difficulty based on the number of abnormality locations detected by the abnormality detection means. 前記異常修復難度算出手段は、前記異常検出手段により検出された異常個所のパターンの複雑度に基づいて、前記異常修復難度を算出する請求項1又は2に記載の画像形成装置。 The image forming apparatus according to claim 1 or 2, wherein the abnormality repair difficulty calculation means calculates the abnormality repair difficulty based on the complexity of the pattern of the abnormality portion detected by the abnormality detection means. 前記異常検出手段は、前記修復手段により異常修復が行われた前記検査基準画像候補に対して再度異常検出を行う請求項1~3のいずれか一項に記載の画像形成装置。 The image forming apparatus according to any one of claims 1 to 3, wherein the abnormality detecting means detects an abnormality again for the inspection reference image candidate whose abnormality has been repaired by the repairing means. 前記設定手段は、前記ラスタ画像に基づく前記検査基準画像候補の再生成を含む予め定められた複数の異常修復方法の中からいずれかを設定する請求項1~4のいずれか一項に記載の画像形成装置。 The setting means according to any one of claims 1 to 4, wherein the setting means sets any one from a plurality of predetermined abnormality repair methods including regeneration of the inspection reference image candidate based on the raster image. Image forming device. 前記複数の異常修復方法の一つは、前記検査基準画像候補の異常個所を自動的に修復する自動修復である請求項5に記載の画像形成装置。 The image forming apparatus according to claim 5, wherein one of the plurality of abnormality repair methods is an automatic repair that automatically repairs an abnormal portion of the inspection reference image candidate. 前記検査基準画像候補における異常個所を表示してユーザーに自動修復する異常個所を選択させる自動修復個所選択画面を表示手段に表示させる手段を備える請求項6に記載の画像形成装置。 The image forming apparatus according to claim 6, further comprising means for displaying the automatic repair location selection screen on the display means by displaying the abnormal portion in the inspection reference image candidate and causing the user to select the abnormal portion to be automatically repaired. 前記複数の異常修復方法の一つは、前記検査基準画像候補の異常個所をユーザーの編集に応じて修復する手動修復である請求項5に記載の画像形成装置。 The image forming apparatus according to claim 5, wherein one of the plurality of abnormality repair methods is manual repair in which an abnormality portion of the inspection reference image candidate is repaired according to user editing. 前記異常検出手段は、前記修復手段により手動修復が行われた場合に、前記検査基準画像候補においてユーザーの編集が行われた個所にのみ再度異常検出を行う請求項8に記載の画像形成装置。 The image forming apparatus according to claim 8, wherein the abnormality detecting means re-detects an abnormality only at a position edited by a user in the inspection reference image candidate when manual repair is performed by the repair means. 前記異常検出手段によりユーザーの編集による修復後に異常が検出された場合に、検出された異常個所を表示手段に表示させる手段を備える請求項9に記載の画像形成装置。 The image forming apparatus according to claim 9, further comprising means for displaying the detected abnormality portion on the display means when the abnormality is detected by the abnormality detection means after the repair by editing by the user. 前記検査基準画像候補の異常個所とは異なる個所がユーザーにより編集された場合に、警告を行う警告手段を備える請求項8~10のいずれか一項に記載の画像形成装置。 The image forming apparatus according to any one of claims 8 to 10, further comprising a warning means for giving a warning when a part different from the abnormal part of the inspection reference image candidate is edited by the user. 前記異常修復方法の選択肢を表示手段に表示させる手段を備え、
前記設定手段は、前記選択肢のうち選択された異常修復方法を最終的に前記修復手段において実施する異常修復方法として設定する請求項5~11のいずれか一項に記載の画像形成装置。
A means for displaying the option of the abnormality repair method on the display means is provided.
The image forming apparatus according to any one of claims 5 to 11, wherein the setting means sets the abnormality repair method selected from the options as the abnormality repair method finally carried out in the repair means.
前記修復手段により再度前記ラスタ画像に基づいて検査基準画像候補が生成し直された場合であって、前記生成し直された検査基準画像候補から前記異常検出手段により異常が検出された場合、前記修復手段は、生成し直す前の検査基準画像候補と前記生成し直した後の検査基準画像候補の正常領域を組み合わせて検査基準画像を生成する請求項1~12のいずれか一項に記載の画像形成装置。 When the inspection reference image candidate is regenerated based on the raster image by the repair means, and the abnormality is detected by the abnormality detecting means from the regenerated inspection reference image candidate, the above-mentioned The repair means according to any one of claims 1 to 12, wherein the repair means generates an inspection reference image by combining a normal region of the inspection reference image candidate before re-generation and the inspection reference image candidate after re-generation. Image forming device. 前記検査基準画像候補に検査対象外領域を設定する検査対象外領域設定手段を備え、
前記異常検出手段は、前記検査基準画像候補における前記検査対象外領域として設定された領域を異常検出の対象外とする請求項1~13のいずれか一項に記載の画像形成装置。
The inspection reference image candidate is provided with a non-inspection area setting means for setting a non-inspection area.
The image forming apparatus according to any one of claims 1 to 13, wherein the abnormality detecting means excludes an area set as the non-inspection target area in the inspection reference image candidate from the target of abnormality detection.
前記異常検出手段により検出された異常個所を前記検査対象外領域として設定するか否かをユーザーに確認するための確認手段を備える請求項14に記載の画像形成装置。 The image forming apparatus according to claim 14, further comprising a confirmation means for confirming to the user whether or not the abnormality portion detected by the abnormality detection means is set as the non-inspection target area. 前記異常検出手段により異常が検出されなかった場合に、前記検査基準画像候補を検査基準画像として登録する登録手段を備える請求項1~15のいずれか一項に記載の画像形成装置。 The image forming apparatus according to any one of claims 1 to 15, further comprising a registration means for registering the inspection reference image candidate as an inspection reference image when an abnormality is not detected by the abnormality detecting means. 前記登録手段は、前記検査基準画像候補を前記ジョブの検査基準画像として登録する請求項16に記載の画像形成装置。 The image forming apparatus according to claim 16, wherein the registration means registers the inspection reference image candidate as an inspection reference image for the job. 前記登録手段は、前記検査基準画像候補を前記ジョブを複製した別のジョブの検査基準画像として登録する請求項16に記載の画像形成装置。 The image forming apparatus according to claim 16, wherein the registration means registers the inspection reference image candidate as an inspection reference image of another job that duplicates the job. ラスタ画像に基づいて用紙に画像を形成する画像形成手段を備える画像形成装置における検査基準画像生成方法であって、
前記画像形成手段により画像が形成された用紙を読み取って、ジョブにおいて前記ラスタ画像に基づいて前記画像形成手段により形成される画像の検査基準画像の候補となる検査基準画像候補を生成する画像読取工程と、
前記ラスタ画像と前記検査基準画像候補の比較に基づいて、前記検査基準画像候補の異常検出を行う異常検出工程と、
前記検査基準画像候補から異常が検出された場合に、前記検出された異常に基づいて、前記検査基準画像候補の異常修復難度を算出する異常修復難度算出工程と、
前記検査基準画像候補の異常修復方法を設定する設定工程と、
前記設定工程において設定された異常修復方法に基づいて前記検査基準画像候補の異常の修復を行う修復工程と、を含み、
前記設定工程は、前記算出された異常修復難度が予め定められた閾値を超えている場合に、前記異常修復方法として、前記ラスタ画像に基づく前記検査基準画像候補の再生成を設定する検査基準画像生成方法。
An inspection reference image generation method in an image forming apparatus provided with an image forming means for forming an image on paper based on a raster image.
An image reading step of reading a paper on which an image is formed by the image forming means and generating an inspection reference image candidate which is a candidate for an inspection reference image of an image formed by the image forming means based on the raster image in a job. When,
An abnormality detection step of detecting an abnormality in the inspection reference image candidate based on a comparison between the raster image and the inspection reference image candidate, and an abnormality detection step.
When an abnormality is detected from the inspection reference image candidate, an abnormality repair difficulty calculation step for calculating the abnormality repair difficulty of the inspection reference image candidate based on the detected abnormality, and an abnormality repair difficulty calculation step.
A setting process for setting an abnormality repair method for the inspection reference image candidate, and
Including a repair step of repairing an abnormality of the inspection reference image candidate based on the abnormality repair method set in the setting step.
In the setting step, when the calculated abnormality repair difficulty exceeds a predetermined threshold value, the inspection reference image for setting the regeneration of the inspection reference image candidate based on the raster image as the abnormality repair method. Generation method.
JP2018113252A 2018-06-14 2018-06-14 Image forming device and inspection standard image generation method Active JP7059819B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018113252A JP7059819B2 (en) 2018-06-14 2018-06-14 Image forming device and inspection standard image generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018113252A JP7059819B2 (en) 2018-06-14 2018-06-14 Image forming device and inspection standard image generation method

Publications (2)

Publication Number Publication Date
JP2019215284A JP2019215284A (en) 2019-12-19
JP7059819B2 true JP7059819B2 (en) 2022-04-26

Family

ID=68918609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018113252A Active JP7059819B2 (en) 2018-06-14 2018-06-14 Image forming device and inspection standard image generation method

Country Status (1)

Country Link
JP (1) JP7059819B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7471841B2 (en) 2020-02-05 2024-04-22 キヤノン株式会社 Inspection system and method
JP2023040343A (en) * 2021-09-10 2023-03-23 キヤノン株式会社 Printing system, image forming apparatus, control method
JP2023048841A (en) * 2021-09-28 2023-04-07 キヤノン株式会社 Image formation system and control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006234554A (en) 2005-02-24 2006-09-07 Dainippon Screen Mfg Co Ltd Method and device for inspecting pattern
JP2009116061A (en) 2007-11-07 2009-05-28 Konica Minolta Business Technologies Inc Image forming apparatus and system
JP2010151606A (en) 2008-12-25 2010-07-08 Ricoh Co Ltd Image inspecting apparatus, image inspection method and program
US20120114220A1 (en) 2010-11-05 2012-05-10 Hseb Dresden Gmbh Inspection method
JP2014146859A (en) 2013-01-25 2014-08-14 Konica Minolta Inc Image forming apparatus, image forming system, and image forming method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006234554A (en) 2005-02-24 2006-09-07 Dainippon Screen Mfg Co Ltd Method and device for inspecting pattern
JP2009116061A (en) 2007-11-07 2009-05-28 Konica Minolta Business Technologies Inc Image forming apparatus and system
JP2010151606A (en) 2008-12-25 2010-07-08 Ricoh Co Ltd Image inspecting apparatus, image inspection method and program
US20120114220A1 (en) 2010-11-05 2012-05-10 Hseb Dresden Gmbh Inspection method
JP2014146859A (en) 2013-01-25 2014-08-14 Konica Minolta Inc Image forming apparatus, image forming system, and image forming method

Also Published As

Publication number Publication date
JP2019215284A (en) 2019-12-19

Similar Documents

Publication Publication Date Title
US8848244B2 (en) Image inspection method, apparatus, control program overlapping inspection images to obtain positional shift
JP7468716B2 (en) Inspection system, inspection method, and inspection program
JP7059819B2 (en) Image forming device and inspection standard image generation method
JP2022058701A (en) Image formation device
US20200288030A1 (en) Image inspection apparatus, image inspection method, and image inspection program
JP2020006603A (en) Image inspection system, image inspection method and image inspection program
US8159717B2 (en) Image processing apparatus
JP6988385B2 (en) Image processing equipment, image processing methods and programs
JP2014117875A (en) Image formation apparatus, inspection device, image formation apparatus control method, inspection device control method, and program
US11936819B2 (en) Image inspection apparatus, system, method, and program product that combines a trial print and an area designated in a recording medium
WO2014073521A1 (en) Image display device, method, and program
JP6686771B2 (en) Image forming apparatus, image forming system and program
JP7183636B2 (en) IMAGE INSPECTION APPARATUS, IMAGE FORMING SYSTEM, IMAGE INSPECTION METHOD, AND PROGRAM
JP2020082421A (en) Image inspection report creation device, image inspection report creation system, and image inspection report creation method
JP2005208422A (en) Fixing roll streak inspecting device and control device
US20210082100A1 (en) Image inspection apparatus, image inspection method, and image inspection program
KR20220029514A (en) Image processing apparatus, control method thereof, and storage medium
JP6164430B2 (en) Image forming apparatus, post-processing apparatus, image forming system, and image determination method
US20240169516A1 (en) Image processing apparatus, image processing method, and storage medium
JP7163833B2 (en) Variable print image inspection system
JP7119804B2 (en) Image forming apparatus, image forming method and program
JP7428058B2 (en) Inspection equipment, programs, and inspection systems
JP4470172B2 (en) Image processing device
JP2021196202A (en) Image inspection device
JP2021184512A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220224

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220328

R150 Certificate of patent or registration of utility model

Ref document number: 7059819

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150