JP7443719B2 - Image inspection equipment and image inspection system - Google Patents

Image inspection equipment and image inspection system Download PDF

Info

Publication number
JP7443719B2
JP7443719B2 JP2019196050A JP2019196050A JP7443719B2 JP 7443719 B2 JP7443719 B2 JP 7443719B2 JP 2019196050 A JP2019196050 A JP 2019196050A JP 2019196050 A JP2019196050 A JP 2019196050A JP 7443719 B2 JP7443719 B2 JP 7443719B2
Authority
JP
Japan
Prior art keywords
image
pixel
read
unit
difference
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
JP2019196050A
Other languages
Japanese (ja)
Other versions
JP2021071299A (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 JP2019196050A priority Critical patent/JP7443719B2/en
Publication of JP2021071299A publication Critical patent/JP2021071299A/en
Application granted granted Critical
Publication of JP7443719B2 publication Critical patent/JP7443719B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像検査装置及び画像検査システムに関する。 The present invention relates to an image inspection apparatus and an image inspection system.

大量の印刷を行う場合、通常、オペレーターが何度か試し印刷を行って各種の調整を行い、印刷内容に問題のないことを見本により確認できたら本印刷を開始する。しかし、本印刷された用紙の画像において、何らかの要因で、見本に対する色ズレが生じたり、歪みが生じたりすることがある。そこで、近年は、画像形成装置の後段の搬送路上にスキャナ等の読取装置を設け、印刷出力される各用紙の画像を読み取って得た読取画像を画像検査装置が検査する検査システムが提供されるようになった。この検査では、用紙に形成される画像の元となる画像を出力対象画像として保存しておく。そして、画像検査装置は、本印刷で印刷した用紙をスキャナで読み取って得た画像(読取画像)と、保存してある出力対象画像とを比較する。 When printing in large quantities, the operator usually performs several trial prints and makes various adjustments, and then starts actual printing after confirming from the sample that there are no problems with the printed content. However, for some reason, color misregistration or distortion may occur in the image of the actual printed paper with respect to the sample. Therefore, in recent years, an inspection system has been provided in which a reading device such as a scanner is provided on the conveyance path after the image forming device, and an image inspection device inspects the read image obtained by reading the image of each sheet to be printed out. It became so. In this inspection, the original image of the image formed on the paper is saved as the output target image. Then, the image inspection device compares an image (read image) obtained by reading the paper printed in the actual printing with a scanner and a saved output target image.

読取画像と出力対象画像とを比較すると、読取画像から画像欠陥が検出されることがある。画像欠陥の種類としては、例えば、所定方向に連続し、又は所定方向に途切れながら現れる幅の細いスジや帯等がある。このような画像欠陥は、スジ状欠陥と総称される。ただし、以下の説明では、スジ状欠陥を、「スジ」とも略記する。スジは、画像形成装置やスキャナなどの読取装置が備えるドラムやローラなどのキズや汚れが原因で生じる欠陥であり、オペレーターが意図していない画素値(輝度値ともいう)の階調差(「スジ強度」ともいう)や濃度ムラとして現れる。スジとしては、例えば、元の画像より薄い白スジ、元の画像より濃い黒スジ等がある。スジは繰り返し生じやすく、オペレーターや顧客が認識しやすい欠陥であるため、本印刷の途中であってもスジを確実に検出することが求められる。 When the read image and the output target image are compared, image defects may be detected from the read image. Types of image defects include, for example, narrow stripes or bands that appear continuously in a predetermined direction or that appear discontinuously in a predetermined direction. Such image defects are collectively referred to as streak defects. However, in the following description, the streak-like defect is also abbreviated as "streak." Streaks are defects caused by scratches or dirt on the drums and rollers of image forming devices, scanners, and other reading devices. It appears as "streak intensity") and density unevenness. Examples of the streaks include white streaks that are thinner than the original image, black streaks that are darker than the original image, and the like. Because streaks tend to occur repeatedly and are easily recognized by operators and customers, it is necessary to reliably detect streaks even during actual printing.

スジを検出するために、特許文献1に開示された技術が知られている。この特許文献1には、出力対象画像と読み取り画像との第1の差分画像に対して、所定の画素数離れた画素と差分を取った第2の差分画像を生成し、第2の差分画像に対して、画素値が第1の閾値よりも大きい画素の第1の画素数と、画素値が第1の閾値よりも小さい画素の第2の画素数を算出して、画素列毎の第1の画素数と第2の画素数との比率に基づいてスジを判断する技術が開示されている。 A technique disclosed in Patent Document 1 is known for detecting streaks. In this Patent Document 1, a second difference image is generated by taking a difference between a first difference image between an output target image and a read image, and a pixel separated by a predetermined number of pixels, and , the first number of pixels whose pixel value is larger than the first threshold value and the second number of pixels whose pixel value is smaller than the first threshold value are calculated, and the number of pixels whose pixel value is smaller than the first threshold value is calculated. A technique for determining streaks based on the ratio between the number of pixels of 1 and the number of pixels of a second type has been disclosed.

特開2017-173000号公報Unexamined Japanese Patent Publication No. 2017-173000

スジは様々な要因により、用紙に形成された画像の副走査方向又は主走査方向に現れる。例えば、画像形成装置が備える帯電極がトナーなどによって汚れている場合、汚れた箇所の帯電がうまくいかず、結果として、画像の副走査方向にスジとして現れることがある。また、感光体ドラムなどの回転体に不良が生じた場合には、回転体が回転する周期に同期して主走査方向にスジが現れる。ここで、読取画像に現れるスジについて、図1を参照して説明する。 Lines appear in the sub-scanning direction or the main-scanning direction of an image formed on paper due to various factors. For example, if a charging electrode provided in an image forming apparatus is soiled with toner or the like, charging of the soiled area may not be successful, and as a result, streaks may appear in the sub-scanning direction of the image. Further, when a defect occurs in a rotating body such as a photosensitive drum, streaks appear in the main scanning direction in synchronization with the rotation period of the rotating body. Here, the streaks appearing in the read image will be explained with reference to FIG. 1.

図1は、副走査方向(FD:Feed direction)に画素値を平均化したデータの一例を示すグラフである。このグラフの横軸は、主走査方向(CD:Cross direction)における読取画像の主走査位置を表し、縦軸は、G-ch(緑チャンネル)で読み取られた読取画像の画素毎の画素値を表す。このグラフは、スキャナ等の読取装置が平坦な画像を読み取った結果に基づき、主走査方向に同じ位置にある副走査方向の画素の画素値を平均化したものである。以下の例では、用紙に画像や字が形成される印字方向が主走査方向に一致するものとして説明するが、印字方向が副走査方向に一致する場合も同様である。ここで、図1に示す読取画像には、副走査方向へ2本のスジが生じていたとする。 FIG. 1 is a graph showing an example of data obtained by averaging pixel values in the sub-scanning direction (FD: Feed direction). The horizontal axis of this graph represents the main scanning position of the read image in the main scanning direction (CD: Cross direction), and the vertical axis represents the pixel value of each pixel of the read image read in G-ch (green channel). represent. This graph is obtained by averaging the pixel values of pixels in the sub-scanning direction at the same position in the main-scanning direction, based on the results of reading a flat image by a reading device such as a scanner. The following example will be described assuming that the printing direction in which images and characters are formed on paper coincides with the main scanning direction, but the same applies when the printing direction matches the sub-scanning direction. Here, it is assumed that the read image shown in FIG. 1 has two streaks in the sub-scanning direction.

従来、読取画像のスジを検出するために、読取画像と出力対象画像との差分を求める方法が用いられていた。読取画像と出力対象画像とが一致していれば差分はないが、読取画像にスジが生じると、スジが生じた箇所の付近で差分が生じるので、スジを検出することができる。しかし、用紙がわずかに傾いた状態で画像が形成されると、この用紙から読み取られた読取画像と、出力対象画像とで位置ズレが生じてしまう。このため、実際には読取画像にスジが生じていないにも関わらずスジを誤検出する恐れがあった。 Conventionally, in order to detect streaks in a read image, a method of determining the difference between the read image and the output target image has been used. If the read image and the output target image match, there is no difference, but if a streak occurs in the read image, a difference occurs near the location where the streak occurs, so the streak can be detected. However, if an image is formed with the paper slightly tilted, a positional shift will occur between the read image read from the paper and the output target image. For this reason, there is a risk that a stripe may be erroneously detected even though no stripe actually occurs in the read image.

また、特許文献1に開示された技術を用いても、出力対象画像と読取画像には色変換等の誤差があるため、直接差分を求めると誤差の影響が大きくなり、スジを誤検出する恐れがあった。また、特許文献1に開示された技術では、出力対象画像と読取画像を比較して差分画像を生成する際、位置合わせによるズレが考慮されていなかった。このため、出力対象画像と読取画像の位置合わせによるズレが生じた場合に、実際にはスジがない領域からスジを誤検出する恐れがあった。 Furthermore, even if the technology disclosed in Patent Document 1 is used, there are errors such as color conversion between the output target image and the read image, so if the difference is directly calculated, the influence of the error will be large, and there is a risk of erroneously detecting streaks. was there. Further, in the technique disclosed in Patent Document 1, when comparing the output target image and the read image to generate a difference image, the shift due to alignment is not taken into account. Therefore, if a misalignment occurs due to alignment between the output target image and the read image, there is a risk that a stripe may be erroneously detected from an area where there is actually no stripe.

本発明はこのような状況に鑑みて成されたものであり、出力対象画像と読取画像とで位置合わせのズレが生じても、読取画像からスジ状欠陥を検出して、画像の品質を判断できるようにすることを目的とする。 The present invention was developed in view of this situation, and even if there is a misalignment between the output target image and the read image, it is possible to detect streak-like defects from the read image and judge the quality of the image. The purpose is to make it possible.

上述した目的のうち少なくとも一つを実現するために、本発明の一側面を反映した画像検査装置は、画像形成装置が記録材に形成する画像の元となる出力対象画像と、画像が形成された記録材から読み取られた読取画像との位置を合わせる位置合わせ部と、読取画像を水平又は垂直方向に所定画素数だけシフトして得たシフト画像と、シフト前の読取画像との差分をとって生成した差分画像を分類するための分類閾値に基づいて、読取画像から選択した注目画素の画素値に対する、注目画素を基準として第1の方向に第1画素数だけ離れた比較画素の画素値の変化量を分類する変化量算出部と、第1の方向に対して交差する第2の方向にある複数の画素に基づいて分類された変化量に基づいて、記録材に形成された画像に発生するスジ状欠陥の特徴量を抽出する特徴量抽出部と、第1の方向に沿って、特徴量と、予め設定された欠陥検出閾値とを比較してスジ状欠陥を検出し、記録材に形成された画像の品質を判断する品質判断部と、を備える。
なお、上記の画像検査装置は本発明の一態様であり、本発明の一側面を反映した画像検査システムについても、上記の画像検査装置と同様に構成される。
In order to achieve at least one of the above objects, an image inspection apparatus that reflects one aspect of the present invention includes an output target image that is the source of an image that an image forming apparatus forms on a recording material, and an image that is formed on a recording material. a positioning unit that aligns the read image read from the recording material, and a positioning unit that takes the difference between the shifted image obtained by shifting the read image horizontally or vertically by a predetermined number of pixels and the read image before shifting; Based on the classification threshold for classifying the difference image generated by and a change amount calculation unit that classifies the amount of change in the image formed on the recording material based on the amount of change classified based on the plurality of pixels in a second direction intersecting the first direction. A feature extracting unit extracts the feature of the streak-like defect that occurs, and detects the streak-like defect by comparing the feature with a preset defect detection threshold along the first direction. and a quality determination unit that determines the quality of the image formed on the image.
Note that the above image inspection apparatus is one aspect of the present invention, and an image inspection system that reflects one aspect of the present invention is also configured in the same manner as the above image inspection apparatus.

本発明によれば、出力対象画像と読取画像とで位置合わせのズレが生じても、読取画像からスジ状欠陥を検出して、画像の品質を判断できるため、記録材に形成される画像の品質が向上する。
上記した以外の課題、構成及び効果は、以下の実施の形態の説明により明らかにされる。
According to the present invention, even if there is a misalignment between the output target image and the read image, it is possible to detect streak-like defects from the read image and judge the quality of the image. Quality improves.
Problems, configurations, and effects other than those described above will be made clear by the following description of the embodiments.

副走査方向に画素値を平均化したデータの一例を示すグラフである。It is a graph showing an example of data obtained by averaging pixel values in the sub-scanning direction. 本発明の一実施の形態に係る画像検査システムの概要構成図である。1 is a schematic configuration diagram of an image inspection system according to an embodiment of the present invention. 本発明の一実施の形態に係る画像形成装置の制御系の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of a control system of an image forming apparatus according to an embodiment of the present invention. 本発明の一実施の形態に係る画像検査装置の制御系の構成例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of a control system of an image inspection apparatus according to an embodiment of the present invention. 本発明の一実施の形態に係る検出対象とするスジが含まれる読取画像及び分類結果の例を示す図である。FIG. 3 is a diagram illustrating an example of a read image including streaks to be detected and a classification result according to an embodiment of the present invention. 本発明の一実施の形態に係る分類結果からスジ特徴量を抽出する様子を示す図である。FIG. 3 is a diagram showing how a streak feature is extracted from classification results according to an embodiment of the present invention. 本発明の一実施の形態に係る読取画像の平坦領域と非平坦領域における画素の画素値と差分値、及び分類閾値の例を示すグラフである。7 is a graph showing an example of pixel values and difference values of pixels in a flat region and a non-flat region of a read image according to an embodiment of the present invention, and a classification threshold. 本発明の一実施の形態に係る位置合わせにズレが生じたときの差分値を表すグラフの変化の例を示す図である。FIG. 7 is a diagram showing an example of a change in a graph representing a difference value when a shift occurs in alignment according to an embodiment of the present invention. 本発明の一実施の形態に係る分類閾値を変動させた例を示す図である。FIG. 3 is a diagram illustrating an example in which classification thresholds are varied according to an embodiment of the present invention. 本発明の一実施の形態に係る検査処理装置で行われる処理の例を示すフローチャートである。3 is a flowchart illustrating an example of processing performed by the inspection processing device according to an embodiment of the present invention. 本発明の一実施の形態の変形例に係る分類閾値の範囲を二次元的に拡大する様子を示す図である。FIG. 7 is a diagram illustrating how the range of classification thresholds is two-dimensionally expanded according to a modification of the embodiment of the present invention.

以下、本発明を実施するための形態について、添付図面を参照して説明する。本明細書及び図面において、実質的に同一の機能又は構成を有する構成要素については、同一の符号を付することにより重複する説明を省略する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functions or configurations are designated by the same reference numerals and redundant explanations will be omitted.

[一実施の形態]
<画像検査システムの構成>
本発明者は、読取画像に含まれる注目画素と、注目画素の近くにある比較画素との差分を取ることで、図1に示したようなノイズと分離不能であって、オペレーターが視認可能なスジについて、濃度ムラの影響を小さくしつつ、検出する画像検査装置を発明した。以下に、本実施の形態に係る、読取画像からスジを検出可能な画像検査装置を含む画像検査システムの構成例及び動作例について、図2~図10を参照して説明する。
[One embodiment]
<Configuration of image inspection system>
By taking the difference between a pixel of interest included in a read image and a comparison pixel located near the pixel of interest, the present inventor has discovered that noise that cannot be separated from noise as shown in FIG. We have invented an image inspection device that detects streaks while minimizing the effects of density unevenness. Below, a configuration example and an operation example of an image inspection system including an image inspection apparatus capable of detecting streaks from a read image according to the present embodiment will be described with reference to FIGS. 2 to 10.

始めに、図2を参照して、本発明の一実施の形態に係る画像検査システムの構成例について説明する。
図2は、本発明の一実施の形態に係る画像検査システム1の概要構成図である。なお、図2には、本発明の説明に必要と考える要素又はその関連要素を記載しており、本発明の画像検査システムは図2に示す例に限定されない。
First, with reference to FIG. 2, a configuration example of an image inspection system according to an embodiment of the present invention will be described.
FIG. 2 is a schematic configuration diagram of an image inspection system 1 according to an embodiment of the present invention. Note that FIG. 2 shows elements considered necessary for explaining the present invention or related elements thereof, and the image inspection system of the present invention is not limited to the example shown in FIG. 2.

画像検査システム1は、画像形成装置2及び画像検査装置3を備える。画像形成装置2は、静電気を用いて画像の形成を行う電子写真方式によって用紙に画像を形成する画像形成装置の一例である。画像形成装置2は、例えば、イエロー(Y)、マゼンタ(M)、シアン(C)及びブラック(K)の4色のトナー画像を重ね合わせるタンデム形式によって、用紙上にカラー画像を形成する。画像形成装置2には、不図示のLAN(Local Area Network)を介して、オペレーターによって操作されるPC(Personal Computer)6(後述する図3を参照)等が接続されている。そして、PC6からLANを介して画像形成装置2にジョブが投入される。画像形成装置2は、投入されたジョブに従って、画像形成処理等の各種の処理を行う。 The image inspection system 1 includes an image forming device 2 and an image inspection device 3. The image forming apparatus 2 is an example of an image forming apparatus that forms an image on paper using an electrophotographic method that uses static electricity to form an image. The image forming apparatus 2 forms a color image on a sheet, for example, in a tandem format in which toner images of four colors, yellow (Y), magenta (M), cyan (C), and black (K) are superimposed. A PC (Personal Computer) 6 (see FIG. 3 described below) operated by an operator is connected to the image forming apparatus 2 via a LAN (Local Area Network) not shown. Then, a job is input from the PC 6 to the image forming apparatus 2 via the LAN. The image forming apparatus 2 performs various processes such as image forming process according to the submitted job.

始めに、画像形成装置2の構成例について説明する。
画像形成装置2は、自動原稿給送装置(ADF:Auto Document Feeder)12を有する画像入力部11、操作表示部13を備える。また、画像形成装置2は、給紙トレイ20及び画像形成部30を有するプリンター部10を備える。
First, a configuration example of the image forming apparatus 2 will be described.
The image forming apparatus 2 includes an image input section 11 having an automatic document feeder (ADF) 12 and an operation display section 13 . The image forming apparatus 2 also includes a printer section 10 having a paper feed tray 20 and an image forming section 30.

画像入力部11は、ADF12の原稿台上の原稿から画像を光学的に読み取り、読み取った画像をA/D変換して画像データを生成する。なお、画像入力部11は、プラテンガラス上で原稿から画像を読み込むこともできる。 The image input unit 11 optically reads an image from a document on the document table of the ADF 12, performs A/D conversion on the read image, and generates image data. Note that the image input unit 11 can also read an image from a document on a platen glass.

操作表示部13は、液晶パネル等からなる表示部、及び、タッチセンサ等からなる操作部で構成される。表示部及び操作部は、例えばタッチパネルとして一体に形成される。操作表示部13は、操作部に入力されたオペレーターからの操作内容を表す操作信号を生成し、該操作信号を制御部50(後述する図3を参照)に供給する。また、操作表示部13は、制御部50から供給される表示信号に基づいて、表示部に、オペレーターによる操作内容や設定情報等を表示する。なお、操作部をマウスやタブレットなどで構成し、表示部とは別体で構成することも可能である。 The operation display unit 13 includes a display unit such as a liquid crystal panel, and an operation unit such as a touch sensor. The display section and the operation section are integrally formed as a touch panel, for example. The operation display unit 13 generates an operation signal representing the content of the operator's operation input to the operation unit, and supplies the operation signal to the control unit 50 (see FIG. 3, which will be described later). Further, the operation display section 13 displays the contents of the operation by the operator, setting information, etc. on the display section based on the display signal supplied from the control section 50. Note that it is also possible to configure the operation unit with a mouse, a tablet, etc., and to configure it separately from the display unit.

給紙トレイ20は、画像形成部30で画像形成が行われる用紙Shを収容する容器である。給紙トレイ20には、それぞれ、紙種や坪量等が異なる用紙が収容される。用紙Shは、記録材の一例である。画像形成装置2は、記録材の一例である樹脂製のシートにも画像を形成することが可能である。なお、本実施形態では、2つの給紙トレイ20を設けた例を挙げたが、給紙トレイ20の個数は1つであってもよく、3個以上であってもよい。 The paper feed tray 20 is a container that accommodates paper Sh on which image formation is performed in the image forming section 30. The paper feed trays 20 accommodate sheets of paper having different paper types, basis weights, and the like. The paper Sh is an example of a recording material. The image forming apparatus 2 can also form an image on a resin sheet, which is an example of a recording material. Note that in this embodiment, an example is given in which two paper feed trays 20 are provided, but the number of paper feed trays 20 may be one, or may be three or more.

画像形成装置2には、給紙トレイ20から給紙された用紙Shを画像検査装置3まで搬送する搬送路21が設けられる。搬送路21には、用紙Shを搬送するための複数の搬送ローラが設けられる。 The image forming apparatus 2 is provided with a conveyance path 21 that conveys the paper Sh fed from the paper feed tray 20 to the image inspection apparatus 3. The transport path 21 is provided with a plurality of transport rollers for transporting the paper Sh.

定着部36の下流側では、搬送路21が伸長して画像検査装置3の搬送路41に接続されている。また、搬送路21は、定着部36の下流側で分岐する。分岐した搬送路21の一端には、プリンター部10の上流側の搬送路21に合流する反転搬送路22が接続されている。反転搬送路22には、用紙Shを反転させる反転部23が設けられている。反転部23で反転された用紙Shは、反転搬送路22を通して搬送路21の上流側に返される。また、経路の切り替えによって反転した用紙Shが、定着部36の下流側の搬送路21に戻された後、画像検査装置3に搬送されることもある。 On the downstream side of the fixing unit 36 , the conveyance path 21 extends and is connected to the conveyance path 41 of the image inspection device 3 . Furthermore, the conveyance path 21 branches on the downstream side of the fixing section 36. A reversing conveyance path 22 that joins the conveyance path 21 on the upstream side of the printer section 10 is connected to one end of the branched conveyance path 21 . The reversing conveyance path 22 is provided with a reversing section 23 for reversing the paper Sh. The sheet Sh reversed by the reversing unit 23 is returned to the upstream side of the transport path 21 through the reversing transport path 22 . Further, the sheet Sh that has been reversed due to the switching of the path may be returned to the conveyance path 21 on the downstream side of the fixing section 36 and then conveyed to the image inspection apparatus 3.

画像形成部30は、Y、M、C及びKの各色のトナー画像を形成するための、4つの画像形成ユニット31Y,31M,31C及び31Kを備え、用紙Shに画像を形成する。画像形成ユニット31Y,31M,31C及び31Kはそれぞれ、帯電部、露光部(いずれも不図示)、像担持体としての感光体ドラム32Y,32M,32C,32K、及び、現像部33Y,33M,33C,33Kを備える。 The image forming section 30 includes four image forming units 31Y, 31M, 31C, and 31K for forming toner images of each color of Y, M, C, and K, and forms images on paper Sh. The image forming units 31Y, 31M, 31C, and 31K each include a charging section, an exposure section (all not shown), photosensitive drums 32Y, 32M, 32C, and 32K as image carriers, and developing sections 33Y, 33M, and 33C. , 33K.

現像部33Y,33M,33C,33Kは、感光体ドラム32Y,32M,32C,32Kの各表面(外周部)に、画像に応じた光を照射することにより、各感光ドラムの周上に静電潜像を形成させる。そして、現像部33Y,33M,33C,33Kは、該静電潜像にトナーを付着させることにより、感光体ドラム32Y,32M,32C,32K上にトナー画像を形成する。 The developing sections 33Y, 33M, 33C, and 33K generate electrostatic charges on the periphery of each photosensitive drum by irradiating each surface (outer periphery) of the photosensitive drums 32Y, 32M, 32C, and 32K with light according to the image. Form a latent image. The developing units 33Y, 33M, 33C, and 33K form toner images on the photoreceptor drums 32Y, 32M, 32C, and 32K by attaching toner to the electrostatic latent images.

また、画像形成部30は、中間転写ベルト34、2次転写部35及び定着部36を備える。中間転写ベルト34は、感光体ドラム32Y,32M,32C,32Kに形成された画像が1次転写されるベルトである。2次転写部35は、中間転写ベルト34上に1次転写された各色のトナー画像を、搬送路21を搬送された用紙Shに2次転写するローラである。 The image forming section 30 also includes an intermediate transfer belt 34, a secondary transfer section 35, and a fixing section 36. The intermediate transfer belt 34 is a belt to which images formed on the photoreceptor drums 32Y, 32M, 32C, and 32K are primarily transferred. The secondary transfer unit 35 is a roller that secondarily transfers the toner images of each color that have been primarily transferred onto the intermediate transfer belt 34 onto the paper Sh that has been conveyed through the conveyance path 21 .

定着部36は、2次転写部35の用紙搬送方向の下流側に配置されて、画像形成部30から供給されるカラーのトナー画像が形成された用紙Shに対して、定着処理を施す。定着部36は、搬送された用紙Shを加熱及び加圧することにより用紙Shの表面側に、画像形成部30により転写された画像を定着する。定着部36により画像が定着した用紙Shは、搬送路21によって画像検査装置3に搬送されるか、反転搬送路22を通して反転部23により表裏が反転された後、プリンター部10の上流側で搬送路21に返される。表裏反転された用紙Shは、プリンター部10によって裏面への画像形成が行われる。その後、定着部36によって定着処理が施された用紙Shは、画像検査装置3に搬送される。 The fixing unit 36 is disposed downstream of the secondary transfer unit 35 in the paper transport direction, and performs a fixing process on the paper Sh supplied from the image forming unit 30 and on which a color toner image has been formed. The fixing unit 36 fixes the image transferred by the image forming unit 30 on the front side of the paper Sh by heating and pressurizing the transported paper Sh. The paper Sh on which the image has been fixed by the fixing section 36 is transported to the image inspection device 3 through the transport path 21, or is transported upstream of the printer section 10 after passing through the reversing transport path 22 and being turned upside down by the reversing section 23. It is returned to Route 21. The printer section 10 forms an image on the back side of the sheet Sh, which has been turned upside down. Thereafter, the sheet Sh subjected to the fixing process by the fixing unit 36 is conveyed to the image inspection device 3.

次に、画像検査装置3の構成例について説明する。
画像検査装置3は、画像形成装置2から搬送された用紙Shに形成(印刷)された画像に発生したスジを検出する画像検査を行う。用紙Shに形成された画像に対する処理、すなわち画像検査装置3による画像の検査は、主に画像検査装置3に取付けられた検査処理装置5によって行われる。
Next, a configuration example of the image inspection apparatus 3 will be described.
The image inspection device 3 performs an image inspection to detect streaks generated in the image formed (printed) on the paper Sh conveyed from the image forming device 2. The processing of the image formed on the paper Sh, that is, the inspection of the image by the image inspection device 3 is mainly performed by the inspection processing device 5 attached to the image inspection device 3.

画像検査装置3は、画像形成装置2から搬送されてきた用紙Shを搬送する搬送路41,42,43、切替え部44、読取部45a,45b、測色計46、搬送路41上を搬送された用紙Shが排紙される排紙トレイ47,48を有する。 The image inspection device 3 includes conveyance paths 41, 42, and 43, a switching section 44, reading sections 45a and 45b, a colorimeter 46, and conveyance paths 41, 42, and 43 for conveying the sheet Sh conveyed from the image forming apparatus 2. It has paper ejection trays 47 and 48 from which the paper sheets Sh are ejected.

読取部45a,45bは、それぞれイメージセンサー等の画像入力装置の一例である。読取部45a,45bは、例えば、用紙Shの表面に光を投射し、用紙Shからの反射光を画像データとして取り込む。このように読取部45a,45bが用紙Shの画像データを取り込むことを「読取る」と呼ぶ。読取部45aは、搬送路41を搬送される用紙Shを搬送路41の下方から読取り、読取部45bは、搬送路41を搬送される用紙Shを搬送路41の上方から読取る。以降の説明では、読取部45a,45bを区別しないため、「読取部45」と総称する。そして、読取部45は、取り込んだ画像データを検査処理装置5に出力する。 The reading units 45a and 45b are each an example of an image input device such as an image sensor. The reading units 45a and 45b, for example, project light onto the surface of the paper Sh and capture reflected light from the paper Sh as image data. The reading of the image data of the paper Sh by the reading units 45a and 45b in this manner is called "reading". The reading section 45a reads the paper Sh conveyed through the conveyance path 41 from below the conveyance path 41, and the reading section 45b reads the sheet Sh conveyed through the conveyance path 41 from above the conveyance path 41. In the following description, the reading sections 45a and 45b will not be distinguished, and will be collectively referred to as "reading section 45." The reading unit 45 then outputs the captured image data to the inspection processing device 5.

測色計46は、搬送路41を搬送される用紙Shの上面に形成された画像を読み取り、読み取って得た画像情報に基づいて、該画像の色濃度(反射濃度)を測定する色濃度測定装置の一例である。測色計46は、例えば、光の波長ごとの反射光の強度(スペクトル)を計測可能な測色器であり、測定した色の濃度(反射濃度)や、L*a*b*値などを出力する。測色計46には、例えば、不図示の複数のセンサ(光電変換素子)を用紙幅方向(用紙搬送方向と直交する方向)の全域にわたる1次元上に配列したスキャナ(ラインセンサ)が使用される。測色計46をスキャナで構成した場合、画像の読み取りは、スキャナをその配置方向と直交する方向(用紙搬送方向)に移動させながら行われる。そして、測色計46は、画像の読み取りが行われる領域をメッシュ状に分割して得られる各領域を対象として、用紙Sh上に形成された画像の色濃度を測定する。測色計46は、測定した色濃度の情報を、検査処理装置5に出力する。 The colorimeter 46 reads an image formed on the upper surface of the paper sheet Sh being transported through the transport path 41, and measures the color density (reflection density) of the image based on the image information obtained by reading the image. This is an example of a device. The colorimeter 46 is, for example, a colorimeter that can measure the intensity (spectrum) of reflected light for each wavelength of light, and measures the measured color density (reflection density), L*a*b* value, etc. Output. The colorimeter 46 uses, for example, a scanner (line sensor) in which a plurality of sensors (photoelectric conversion elements) (not shown) are arranged one-dimensionally over the entire paper width direction (direction orthogonal to the paper conveyance direction). Ru. When the colorimeter 46 is configured with a scanner, the image is read while moving the scanner in a direction (paper conveyance direction) perpendicular to the direction in which the scanner is arranged. Then, the colorimeter 46 measures the color density of the image formed on the paper Sh for each area obtained by dividing the area where the image is read into a mesh shape. The colorimeter 46 outputs information on the measured color density to the inspection processing device 5.

なお、測色計46を単一のセンサで構成し、該センサを2次元的に移動させることにより、用紙Shに形成された画像の色の濃度を測定してもよい。または、測色計46を2次元上(マトリクス状)に配置した複数のセンサで構成し、該複数のセンサで1回の測定により用紙上の全画素の色の濃度を読み取ってもよい。 Note that the colorimeter 46 may be configured with a single sensor, and the color density of the image formed on the paper Sh may be measured by moving the sensor two-dimensionally. Alternatively, the colorimeter 46 may be configured with a plurality of sensors arranged two-dimensionally (in a matrix), and the color density of all pixels on the paper may be read by one measurement using the plurality of sensors.

画像検査装置3は、搬送路41に接続される搬送路42,43を備える。
搬送路42は、搬送路41の途中から分岐する経路であり、検査処理装置5により検査された用紙Shを、排紙トレイ47(排紙部の一例)に排紙する。排紙トレイ47には、検査処理装置5によって画像が正常と判断された用紙Sh(「正常用紙」とも呼ぶ)が排紙される。
The image inspection apparatus 3 includes transport paths 42 and 43 connected to a transport path 41.
The conveyance path 42 is a path that branches off from the middle of the conveyance path 41, and discharges the paper Sh inspected by the inspection processing device 5 to a paper discharge tray 47 (an example of a paper discharge section). A sheet Sh (also referred to as "normal sheet") whose image is determined to be normal by the inspection processing device 5 is discharged to the sheet discharge tray 47 .

搬送路43も搬送路41の途中から分岐する経路であり、検査処理装置5により検査された用紙Shを、排紙トレイ48(排紙部の一例)に排紙する。排紙トレイ48には、検査処理装置5によって画像が異常と判断された用紙Sh(「異常用紙」とも呼ぶ)が排紙される。 The conveyance path 43 is also a path that branches off from the middle of the conveyance path 41, and discharges the paper Sh inspected by the inspection processing device 5 to a paper discharge tray 48 (an example of a paper discharge section). A sheet Sh whose image is determined to be abnormal by the inspection processing device 5 (also referred to as “abnormal sheet”) is discharged to the sheet discharge tray 48 .

切替え部44は、搬送路42,43のいずれかに用紙Shが搬送されるよう、用紙Shの搬送方向を切替える。なお、画像検査装置3に一つの排紙トレイ47しかない場合、正常用紙と異常用紙が混在して排紙される。この場合、正常用紙と異常用紙は、例えば、それぞれ排紙される方向に直交する方向に少しずらして排紙される。 The switching unit 44 switches the conveyance direction of the paper Sh so that the paper Sh is conveyed to either of the conveyance paths 42 and 43. Note that if the image inspection apparatus 3 has only one paper ejection tray 47, normal sheets and abnormal sheets are mixed and ejected. In this case, the normal paper and the abnormal paper are ejected, for example, with a slight shift in the direction perpendicular to the ejecting direction.

画像検査装置3に搬送される用紙Shは、両面又は片面に画像が形成された印刷物である。画像検査装置3は、画像形成装置2が用紙Shの両面又は片面に形成した画像を読取り、検査処理装置5が所定の検査を行う。 The paper Sh conveyed to the image inspection device 3 is a printed matter with images formed on both sides or one side. The image inspection device 3 reads the images formed on both sides or one side of the paper Sh by the image forming device 2, and the inspection processing device 5 performs a predetermined inspection.

なお、本実施の形態では、画像形成装置2が用紙Shの両面に画像を形成可能であるため、検査処理装置5が用紙Shの両面を検査する例を挙げた。しかし、検査処理装置5は、用紙Shの片面だけに画像を形成可能な画像形成装置から搬送された用紙Shの片面だけを検査するように構成してもよい。 In this embodiment, since the image forming apparatus 2 is capable of forming images on both sides of the paper Sh, an example is given in which the inspection processing apparatus 5 inspects both sides of the paper Sh. However, the inspection processing device 5 may be configured to inspect only one side of the paper Sh transported from an image forming apparatus capable of forming an image on only one side of the paper Sh.

[画像形成装置の制御系の構成]
次に、図3を参照して、画像形成装置2の制御系の構成例について説明する。
図3は、画像形成装置2の制御系の構成例を示すブロック図である。
画像形成装置2は、主要な構成として、通信I/F部51、用紙搬送部24、画像入力部11、画像形成部30、制御部50、記憶部52、定着部36及び操作表示部13を備える。
[Configuration of control system of image forming apparatus]
Next, a configuration example of the control system of the image forming apparatus 2 will be described with reference to FIG.
FIG. 3 is a block diagram showing a configuration example of a control system of the image forming apparatus 2. As shown in FIG.
The image forming apparatus 2 mainly includes a communication I/F section 51, a paper transport section 24, an image input section 11, an image forming section 30, a control section 50, a storage section 52, a fixing section 36, and an operation display section 13. Be prepared.

通信I/F部51は、ネットワーク又は専用線を介して、オペレーターが操作する端末であるPC6との間でデータを送受信するインターフェースである。通信I/F部51として、例えばNIC(Network Interface Card)が用いられる。 The communication I/F unit 51 is an interface that transmits and receives data to and from the PC 6, which is a terminal operated by an operator, via a network or a dedicated line. As the communication I/F unit 51, for example, a NIC (Network Interface Card) is used.

用紙搬送部24は、制御部50による制御に基づいて、図2に示した搬送路21、反転搬送路22上に設けられた搬送ローラ(図示略)、及び反転部23を駆動する。 The paper conveyance section 24 drives the conveyance path 21 shown in FIG. 2, conveyance rollers (not shown) provided on the reversal conveyance path 22, and the reversal section 23 under the control of the control section 50.

制御部50は、CPU(Central Processing Unit)501、ROM(Read Only Memory)502、RAM(Random Access Memory)503及び入力画像処理部504を備える。
ROM502には、制御部50のCPU501が実行するプログラム、又はプログラムの実行時に使用するデータ等が保存される。CPU501は、ROM502に保存されたプログラムを読み出すことにより、画像形成装置2を構成する各部の制御を行う。
RAM503には、CPU501の演算処理の途中に発生した変数やパラメータなどが一時的に書き込まれる。
The control unit 50 includes a CPU (Central Processing Unit) 501, a ROM (Read Only Memory) 502, a RAM (Random Access Memory) 503, and an input image processing unit 504.
The ROM 502 stores programs executed by the CPU 501 of the control unit 50 or data used when executing the programs. The CPU 501 controls each part of the image forming apparatus 2 by reading a program stored in the ROM 502.
In the RAM 503, variables and parameters generated during arithmetic processing by the CPU 501 are temporarily written.

入力画像処理部504は、PC6から通信I/F部51を介して入力したジョブに含まれる入力画像に所定の画像処理(例えば、ラスタライズ処理)を施し、印刷用画像データを作成する。また、入力画像処理部504は、画像入力部11がADF12で読み取った原稿から取得した画像データ、又は、外部から取得した画像データについても画像処理を施し、印刷用画像データを作成する。この印刷用画像データは、画像形成部30及び画像検査装置3に送られる。画像検査装置3では、印刷用画像データが、出力対象画像603b(後述する図4を参照)として保存される。 The input image processing unit 504 performs predetermined image processing (for example, rasterization processing) on the input image included in the job input from the PC 6 via the communication I/F unit 51 to create print image data. The input image processing unit 504 also performs image processing on the image data acquired from the document read by the image input unit 11 with the ADF 12 or on the image data acquired from the outside, and creates image data for printing. This printing image data is sent to the image forming section 30 and the image inspection device 3. In the image inspection apparatus 3, the print image data is saved as an output target image 603b (see FIG. 4, which will be described later).

制御部50は、用紙搬送部24を制御して搬送ローラを駆動させ、用紙Shを搬送路21上で搬送させる。また、制御部50は、入力画像処理部504が作成した印刷用画像データを画像形成部30に出力する。また、制御部50は、画像形成部30を制御して、用紙Shに画像を形成させる。また、制御部50は、定着部36を制御して、画像を用紙Shに定着させる。 The control unit 50 controls the paper transport unit 24 to drive the transport rollers and transport the paper Sh on the transport path 21. Further, the control unit 50 outputs the print image data created by the input image processing unit 504 to the image forming unit 30. The control unit 50 also controls the image forming unit 30 to form an image on the paper Sh. The control unit 50 also controls the fixing unit 36 to fix the image on the paper Sh.

また、制御部50は、操作表示部13から操作信号を受信し、該操作信号に応じた制御を行う。さらに、制御部50は、操作表示部13に表示信号を出力し、操作表示部13が、各種操作指示や設定情報を入力するための各種設定画面や各種処理結果等を表示する操作画面を表示パネルに表示する。操作表示部13に表示される情報としては、画像検査装置3から出力される、スジ検出結果631(後述する図4を参照)も含まれる。 Further, the control unit 50 receives an operation signal from the operation display unit 13 and performs control according to the operation signal. Further, the control unit 50 outputs a display signal to the operation display unit 13, and the operation display unit 13 displays various setting screens for inputting various operation instructions and setting information, and an operation screen for displaying various processing results. Display on panel. The information displayed on the operation display section 13 also includes a streak detection result 631 (see FIG. 4 described later) output from the image inspection device 3.

記憶部52には、制御部50のCPU501がプログラムを実行する際に使用するパラメータや、プログラムを実行して得られたデータなどが保存される。例えば、記憶部52には、各濃度レベルの画像形成条件等の情報が保存される。なお、記憶部52に、CPU501が実行するプログラムを記憶させてもよい。 The storage unit 52 stores parameters used when the CPU 501 of the control unit 50 executes a program, data obtained by executing the program, and the like. For example, the storage unit 52 stores information such as image forming conditions for each density level. Note that the storage unit 52 may store a program executed by the CPU 501.

[画像検査装置の制御系の構成]
次に、図4を参照して、画像検査装置3の制御系の構成例について説明する。
図4は、画像検査装置3の制御系の構成例を示すブロック図である。
[Configuration of control system of image inspection device]
Next, a configuration example of the control system of the image inspection apparatus 3 will be described with reference to FIG. 4.
FIG. 4 is a block diagram showing a configuration example of a control system of the image inspection apparatus 3. As shown in FIG.

画像検査装置3は、主要な構成として、通信I/F部61、用紙搬送部62、読取部45、測色計46を備える。また、画像検査装置3に取り付けられた検査処理装置5は、制御部60及び記憶部63を備える。また、検査処理装置5には、記憶装置4が取り付けられる。 The image inspection apparatus 3 includes a communication I/F section 61, a paper transport section 62, a reading section 45, and a colorimeter 46 as main components. Further, the inspection processing device 5 attached to the image inspection device 3 includes a control section 60 and a storage section 63. Furthermore, a storage device 4 is attached to the inspection processing device 5 .

通信I/F部61は、ネットワークを介して、画像形成装置2との間でデータを送受信するインターフェースである。通信I/F部61として、例えばNICが用いられる。
用紙搬送部62は、制御部60による制御に基づいて、図2に示した搬送路41上に設けられた搬送ローラ(不図示)を駆動する。
The communication I/F section 61 is an interface that transmits and receives data to and from the image forming apparatus 2 via a network. As the communication I/F unit 61, for example, a NIC is used.
The paper conveyance section 62 drives a conveyance roller (not shown) provided on the conveyance path 41 shown in FIG. 2 under the control of the control section 60.

上述したように読取部45は、搬送路41を搬送される用紙Shの上面及び下面に形成された画像を読取る。本実施の形態では、読取部45a,45bで読取られた用紙Shの画像データを「読取画像」と呼ぶ。読取部45が、画像が形成された用紙Shから読み取った画像は、読取画像603aとして、制御部60のRAM603に保存される。また、検査処理装置5が、画像形成装置2から受け取ったRIP処理済みの印刷用画像データが、出力対象画像603bとしてRAM603に保存される。 As described above, the reading unit 45 reads the images formed on the top and bottom surfaces of the paper Sh being conveyed through the conveyance path 41. In this embodiment, the image data of the paper Sh read by the reading units 45a and 45b is referred to as a "read image". The image read by the reading unit 45 from the paper Sh on which the image is formed is stored in the RAM 603 of the control unit 60 as a read image 603a. Furthermore, the RIP-processed printing image data that the inspection processing device 5 receives from the image forming device 2 is stored in the RAM 603 as an output target image 603b.

本実施の形態では、読取画像603aと比較される基準となる画像を「出力対象画像」と呼ぶ。出力対象画像603bは、事前に画像形成装置2の制御部50でラスタライズ処理(RIP処理)が施されたビットマップ形式の画像である。この出力対象画像603bは、画像形成装置2が用紙Shに形成する画像の元となる。出力対象画像603bは、画像形成装置2で用紙Shに画像形成するために用いられるのでCMYKのカラーモードが設定されている。なお、オペレーターにより事前に正しいと判断された画像であって、読取部45によって予め読取られた画像が出力対象画像603bとして用いられてもよい。また、読取画像603a及び出力対象画像603bは、大容量のHDD等で構成される記憶部63に保存されてもよい。また、測色計46から画像検査装置3に出力される色濃度の情報が、読取画像603a及び出力対象画像603bに含まれてもよい。 In this embodiment, the reference image to be compared with the read image 603a is referred to as an "output target image." The output target image 603b is a bitmap-format image that has been subjected to rasterization processing (RIP processing) by the control unit 50 of the image forming apparatus 2 in advance. This output target image 603b becomes the source of the image that the image forming apparatus 2 forms on the paper Sh. Since the output target image 603b is used to form an image on the paper Sh by the image forming apparatus 2, the CMYK color mode is set. Note that an image determined in advance to be correct by the operator and read in advance by the reading unit 45 may be used as the output target image 603b. Further, the read image 603a and the output target image 603b may be stored in the storage unit 63 configured with a large-capacity HDD or the like. Furthermore, the color density information output from the colorimeter 46 to the image inspection apparatus 3 may be included in the read image 603a and the output target image 603b.

制御部60は、CPU601、ROM602、RAM603、画像変換部611、位置合わせ部612、変化量算出部613、欠陥特徴量抽出部614及び品質判断部615を備える。 The control unit 60 includes a CPU 601 , a ROM 602 , a RAM 603 , an image conversion unit 611 , a position alignment unit 612 , a change amount calculation unit 613 , a defect feature amount extraction unit 614 , and a quality determination unit 615 .

CPU601は、ROM602に保存されたプログラムを読み出すことにより、画像検査装置3を構成する各部の制御を行う。CPU601がROM602から読み出したプログラムを実行することで、画像変換部611、位置合わせ部612、変化量算出部613、欠陥特徴量抽出部614及び品質判断部615の各機能が実現される。 The CPU 601 controls each part of the image inspection apparatus 3 by reading a program stored in the ROM 602. When the CPU 601 executes the program read from the ROM 602, the functions of the image conversion section 611, alignment section 612, change amount calculation section 613, defect feature amount extraction section 614, and quality judgment section 615 are realized.

ROM602には、制御部60のCPU601が実行するプログラム、又はプログラムの実行時に使用するデータ等が保存される。ROM602は、CPU601によって実行されるプログラムを格納したコンピューター読取可能な非一過性の記録媒体の一例として用いられる。 The ROM 602 stores programs executed by the CPU 601 of the control unit 60 or data used when executing the programs. The ROM 602 is used as an example of a computer-readable non-transitory recording medium that stores a program executed by the CPU 601.

RAM603には、CPU601の演算処理の途中に発生した変数やパラメータなどが一時的に書き込まれる。上述したようにRAM603には、読取画像603a及び出力対象画像603b、差分画像603c1,603c2、分類結果603d、閾値画像603e及びパラメータ603fも保存される。 In the RAM 603, variables and parameters generated during arithmetic processing by the CPU 601 are temporarily written. As described above, the read image 603a, the output target image 603b, the difference images 603c1 and 603c2, the classification results 603d, the threshold image 603e, and the parameters 603f are also stored in the RAM 603.

パラメータ603fは、制御部60又はオペレーターによって設定された各種の値を含む。パラメータ603fは、例えば、後述するスジ特徴量からスジを検出するための欠陥検出閾値等を含む。画像変換部611、位置合わせ部612、変化量算出部613、欠陥特徴量抽出部614及び品質判断部615は、パラメータ603fから読み出した各種の値に基づいて各種の処理を行う。 The parameters 603f include various values set by the control unit 60 or the operator. The parameter 603f includes, for example, a defect detection threshold for detecting streaks from the streak feature amount described later. The image conversion unit 611, alignment unit 612, change amount calculation unit 613, defect feature amount extraction unit 614, and quality determination unit 615 perform various processes based on various values read from the parameter 603f.

画像変換部611は、出力対象画像603bのカラーモードを、読取画像603aのカラーモードに合わせる画像変換を行う。ここで、読取画像603aのカラーモードは、RGBである。このため、画像変換部611は、出力対象画像603bのカラーモードをCMYKからRGBに変換する。以下の説明では、出力対象画像603bを、カラーモードがRGBに変換済みであるものとして説明する。 The image conversion unit 611 performs image conversion to match the color mode of the output target image 603b to the color mode of the read image 603a. Here, the color mode of the read image 603a is RGB. Therefore, the image conversion unit 611 converts the color mode of the output target image 603b from CMYK to RGB. In the following description, the output target image 603b will be described on the assumption that the color mode has been converted to RGB.

なお、画像変換部611は、読取画像603aのカラーモードを、出力対象画像603bのカラーモードに合わせる画像変換を行ってもよい。また、読取画像603aのカラーモードを、出力対象画像603bのカラーモードが同じであれば、画像変換部611による画像変換の処理を省略してもよい。 Note that the image conversion unit 611 may perform image conversion to match the color mode of the read image 603a to the color mode of the output target image 603b. Furthermore, if the color mode of the read image 603a is the same as the color mode of the output target image 603b, the image conversion process by the image conversion unit 611 may be omitted.

位置合わせ部612は、出力対象画像603bと、画像が形成された用紙Shから読み取られた読取画像603aとの印字位置を合わせる(「位置合わせ」と呼ぶ)。例えば、位置合わせ部612は、用紙Shに形成された画像の良品検査の基準となる出力対象画像603bの印字位置と、読取画像603aの印字位置とを合わせる。この時、位置合わせ部612は、RAM603から読み出した読取画像603aを、RAM603に予め保存されている出力対象画像603bの位置に合わせる。 The alignment unit 612 aligns the printing positions of the output target image 603b and the read image 603a read from the sheet Sh on which the image is formed (referred to as "alignment"). For example, the alignment unit 612 aligns the print position of the output target image 603b, which serves as a reference for quality inspection of the image formed on the paper Sh, with the print position of the read image 603a. At this time, the alignment unit 612 aligns the read image 603a read from the RAM 603 to the position of the output target image 603b stored in the RAM 603 in advance.

変化量算出部613は、位置合わせ部612が読取画像603aに対して位置合わせした出力対象画像603bと、第1画素数だけシフトした出力対象画像603bとの差分をとって差分画像603c2を生成し、差分画像603c2をRAM603に保存する。例えば、変化量算出部613は、読取画像603aに含まれる複数の画素から選択した注目画素71の画素値と、比較画素72の画素値との差分値を変化量として、注目画素71の位置に格納する。そして、変化量算出部613は、読取画像603aの他の画素に対しても同様の差分処理を行って差分画像603c1を生成する。このとき、変化量算出部613は、読取画像603aを水平又は垂直方向に所定画素数だけシフトして得たシフト画像(不図示)と、シフト前の読取画像603aとの差分をとって差分画像603c1を生成することが可能である。シフトとは、注目画素71に対して比較画素72を決定するための画素間の距離を表す。 The change amount calculation unit 613 generates a difference image 603c2 by calculating the difference between the output target image 603b aligned with the read image 603a by the alignment unit 612 and the output target image 603b shifted by the first number of pixels. Then, the difference image 603c2 is stored in the RAM 603. For example, the change amount calculation unit 613 uses the difference value between the pixel value of the pixel of interest 71 selected from a plurality of pixels included in the read image 603a and the pixel value of the comparison pixel 72 as the amount of change, and calculates the difference value at the position of the pixel of interest 71 as the change amount. Store. Then, the change amount calculation unit 613 performs similar difference processing on other pixels of the read image 603a to generate a difference image 603c1. At this time, the change amount calculation unit 613 calculates the difference between a shifted image (not shown) obtained by shifting the read image 603a by a predetermined number of pixels in the horizontal or vertical direction and the read image 603a before the shift, and generates a difference image. It is possible to generate 603c1. The shift represents the distance between pixels for determining the comparison pixel 72 with respect to the pixel of interest 71.

また、変化量算出部613は、差分画像603c1に含まれる各画素の差分値の大きさ及び符号に基づいて、画素毎に複数に分類した分類結果603dを変化量として生成する。ここで、分類結果603dは、変化量算出部613が、差分画像603c1に含まれる複数の画素ごとに、差分値を分類閾値で分類(3値化)した結果として表される(後述する図5の下段)。分類閾値は、パラメータ603fに設定される値である。 Further, the change amount calculation unit 613 generates a classification result 603d in which each pixel is classified into a plurality of types as a change amount based on the magnitude and sign of the difference value of each pixel included in the difference image 603c1. Here, the classification result 603d is expressed as a result of the change amount calculation unit 613 classifying (ternarizing) the difference value using a classification threshold for each of a plurality of pixels included in the difference image 603c1 (see FIG. bottom row). The classification threshold is a value set in the parameter 603f.

本実施の形態に係る、変化量算出部613は、分類閾値を、出力対象画像603bと読取画像603aとの位置合わせに応じて変動させる(後述する図9を参照)。変動された分類閾値は、パラメータ603fに設定される。ただし、分類閾値は、位置合わせされた出力対象画像603bと読取画像603aとに合わせて予め設定されてもよい。 The change amount calculation unit 613 according to the present embodiment changes the classification threshold according to the alignment between the output target image 603b and the read image 603a (see FIG. 9, which will be described later). The changed classification threshold is set in the parameter 603f. However, the classification threshold may be set in advance according to the aligned output target image 603b and read image 603a.

そして、変化量算出部613は、読取画像603aに含まれる複数の画素から選択した注目画素71の画素値に対する、注目画素71を基準として第1の方向に第1画素数だけ離れた比較画素72の画素値の変化量を分類(3値化)する。画素値の変化量は、注目画素71の画素値に対する比較画素72の差分値として表される。注目画素71、比較画素72の例は、後述する図5に示す。 Then, the change amount calculation unit 613 calculates a comparison pixel 72 which is separated from the pixel of interest 71 by the first number of pixels in the first direction with respect to the pixel of interest 71 selected from the plurality of pixels included in the read image 603a. The amount of change in pixel values is classified (ternarized). The amount of change in pixel value is expressed as a difference value between the pixel value of the pixel of interest 71 and the comparison pixel 72. Examples of the pixel of interest 71 and the comparison pixel 72 are shown in FIG. 5, which will be described later.

また、変化量算出部613は、多値化の処理前に、読取画像603aに対する出力対象画像603bの位置ズレを表す位置ズレ量に合わせて変動させた分類閾値を算出する。この時、変化量算出部613は、主走査方向に発生する位置ズレ量に合わせて、分類閾値の最小値及び最大値の範囲を拡張する。 Further, before the multi-value conversion process, the change amount calculation unit 613 calculates a classification threshold that is varied in accordance with the amount of positional deviation representing the positional deviation of the output target image 603b with respect to the read image 603a. At this time, the change amount calculation unit 613 expands the range of the minimum value and maximum value of the classification threshold according to the amount of positional deviation that occurs in the main scanning direction.

以下、第1の方向を主走査方向、第2の方向を副走査方向として説明する。ただし、検出対象とするスジの方向が主走査方向であれば、第1の方向を副走査方向、第2の方向を主走査方向としてもよい。つまり、第1の方向は、印字方向に平行な水平方向、又は印字方向に垂直な垂直方向のいずれかである。また、本実施の形態では、第1画素数を“3”とする。 Hereinafter, the first direction will be described as the main scanning direction and the second direction as the sub-scanning direction. However, if the direction of the line to be detected is the main scanning direction, the first direction may be the sub-scanning direction and the second direction may be the main scanning direction. That is, the first direction is either a horizontal direction parallel to the printing direction or a vertical direction perpendicular to the printing direction. Further, in this embodiment, the first number of pixels is "3".

本実施の形態では、変化量算出部613が分類閾値を参照して、差分画像603c1に含まれる各画素の差分値を、画素ごとに3値化する処理を「多値化」という。分類閾値によっては、変化量算出部613が差分画像603c1の差分値を2値化、4値化等に多値化してもよい。また、分類閾値は、画像検査の開始前に、予め設定される値であり、読取画像603aの解像度、用紙Shに形成された画像の種類等によって異なる値が設定されることがある。 In this embodiment, the process in which the change amount calculation unit 613 refers to the classification threshold and ternarizes the difference value of each pixel included in the difference image 603c1 for each pixel is referred to as "multi-value conversion." Depending on the classification threshold value, the change amount calculation unit 613 may convert the difference value of the difference image 603c1 into a multivalued form such as binarization, quaternary value, or the like. Further, the classification threshold is a value that is set in advance before the start of the image inspection, and a different value may be set depending on the resolution of the read image 603a, the type of image formed on the paper Sh, etc.

上述した分類閾値は、変化量算出部613が、差分画像603c2に基づいて、分類結果603dを作るために参照する閾値画像603eとして生成される。変化量算出部613は、位置合わせ部612により位置合わせされた読取画像603aの画素値の変動に合わせて、分類閾値を変動させる。閾値画像603eは、後述する図7~図9に示す第1分類閾値A、第2分類閾値Bで規定される2種類の画像であり、閾値画像603eの画素毎に分類閾値を格納したものである。 The above-mentioned classification threshold is generated as a threshold image 603e that the change amount calculation unit 613 refers to in order to generate the classification result 603d based on the difference image 603c2. The change amount calculation unit 613 changes the classification threshold according to the change in the pixel value of the read image 603a aligned by the alignment unit 612. The threshold image 603e is two types of images defined by a first classification threshold A and a second classification threshold B shown in FIGS. 7 to 9, which will be described later, and a classification threshold is stored for each pixel of the threshold image 603e. be.

また、変化量算出部613は、読取画像603aにおける注目画素71の画素値と、比較画素72の画素値との差分をとって算出した差分値を、注目画素71の位置に格納した差分画像603c1を生成する。このとき、変化量算出部613は、読取画像603aを水平又は垂直方向に所定画素数だけシフトして得たシフト画像(不図示)と、シフト前の読取画像603aとの差分をとって差分画像603c1を生成し、差分画像603c1をRAM603に保存する。 Further, the change amount calculation unit 613 stores the difference value calculated by taking the difference between the pixel value of the pixel of interest 71 in the read image 603a and the pixel value of the comparison pixel 72 in the difference image 603c1 at the position of the pixel of interest 71. generate. At this time, the change amount calculation unit 613 calculates the difference between a shifted image (not shown) obtained by shifting the read image 603a by a predetermined number of pixels in the horizontal or vertical direction and the read image 603a before the shift, and generates a difference image. 603c1 is generated, and the difference image 603c1 is stored in the RAM 603.

また、変化量算出部613は、生成した閾値画像603e、すなわち第1分類閾値A及び第2分類閾値B(後述する図7~図9を参照)に基づいて、差分画像603c1を3値化して分類した分類結果603dを得る。 Further, the change amount calculation unit 613 ternarizes the difference image 603c1 based on the generated threshold image 603e, that is, the first classification threshold A and the second classification threshold B (see FIGS. 7 to 9 described later). A classified result 603d is obtained.

また、変化量算出部613は、差分画像603c1に含まれる各画素の差分値の大きさ及び符号に基づいて、画素毎に複数に分類した分類結果603dを変化量として生成する。ここで、分類結果603dは、変化量算出部613が、差分画像603c1に含まれる複数の画素ごとに、差分値を分類閾値で分類(3値化)した結果として表される(後述する図5の下段)。分類閾値は、パラメータ603fに設定される値である。 Further, the change amount calculation unit 613 generates a classification result 603d in which each pixel is classified into a plurality of types as a change amount based on the magnitude and sign of the difference value of each pixel included in the difference image 603c1. Here, the classification result 603d is expressed as a result of the change amount calculation unit 613 classifying (ternarizing) the difference value using a classification threshold for each of a plurality of pixels included in the difference image 603c1 (see FIG. bottom row). The classification threshold is a value set in the parameter 603f.

欠陥特徴量抽出部614は、副走査方向にある複数の画素に基づいて分類された変化量に基づいて、用紙Shに形成された画像に発生するスジ状欠陥の特徴量(「スジ特徴量」と呼ぶ)を抽出する。例えば、欠陥特徴量抽出部614は、スジが発生する方向が副走査方向である場合に、主走査方向の所定位置ごとに分類結果603dを副走査方向に参照して、平均化結果(3値化平均化結果)からスジ特徴量を抽出する。3値化平均化結果は、変化量算出部613が分類閾値で分類して多値化した差分値を、欠陥特徴量抽出部614が平均化して得る結果であり、後述する図6の上段及び中段に示す3値化平均値で表すグラフで示される。スジ特徴量の詳細については、後述する図6にて説明する。 The defect feature amount extraction unit 614 extracts the feature amount of a streak-like defect (“streak feature amount”) that occurs in the image formed on the paper Sh based on the amount of change classified based on a plurality of pixels in the sub-scanning direction. ) is extracted. For example, when the direction in which streaks occur is in the sub-scanning direction, the defect feature extracting unit 614 refers to the classification results 603d in the sub-scanning direction for each predetermined position in the main-scanning direction, and refers to the averaging result (ternary value). The line features are extracted from the averaged results). The ternary averaging result is the result obtained by the defect feature extracting unit 614 averaging the difference values that have been classified by the change amount calculation unit 613 using the classification threshold and multivalued, and is shown in the upper part of FIG. This is shown in a graph showing the ternary average value shown in the middle row. Details of the streak feature amount will be explained with reference to FIG. 6, which will be described later.

品質判断部615は、主走査方向に沿って、スジ特徴量と、予め設定された欠陥検出閾値とを比較して検出可能なスジ状欠陥の有無に基づいて、用紙Shに形成された画像の品質を判断する。この際、品質判断部615は、スジ特徴量からスジを検出しなければ読取画像603aを正常と判断する。一方、品質判断部615は、スジ特徴量からスジを検出すれば読取画像603aを異常と判断する。そして、品質判断部615は、読取画像603aの元となったページのページ番号等を含むスジ検出結果631を記憶部63に保存する。 The quality judgment unit 615 compares the line feature amount with a preset defect detection threshold along the main scanning direction and determines the quality of the image formed on the paper Sh based on the presence or absence of a detectable line-like defect. Judge quality. At this time, the quality determining unit 615 determines that the read image 603a is normal if no streaks are detected from the streak feature amount. On the other hand, if the quality determining unit 615 detects streaks from the streak feature amount, it determines that the read image 603a is abnormal. The quality determining unit 615 then stores the streak detection result 631 including the page number of the page that is the source of the read image 603a in the storage unit 63.

スジ検出結果631は、記憶部63に保存されるだけでなく、画像検査装置3に接続された外部の記憶装置4に送られる。記憶装置4は、例えば、画像検査装置3に接続されたUSB(Universal Serial Bus)メモリ、SSD(Solid State Drive)、HDD(Hard Disk Drive)等としてよい。スジ検出結果631が記憶装置4に送られることにより、オペレーターは、記憶装置4に保存されたスジ検出結果631を表示し、内容を確認することができる。なお、通信I/F部61を経由して接続するクラウドのサーバー(図示略)又はPC6にスジ検出結果631を転送し、保存してもよい。 The streak detection result 631 is not only stored in the storage unit 63 but also sent to the external storage device 4 connected to the image inspection apparatus 3. The storage device 4 may be, for example, a USB (Universal Serial Bus) memory, an SSD (Solid State Drive), an HDD (Hard Disk Drive), etc. connected to the image inspection device 3. By sending the streak detection result 631 to the storage device 4, the operator can display the streak detection result 631 stored in the storage device 4 and check the contents. Note that the streak detection result 631 may be transferred to and stored in a cloud server (not shown) or PC 6 connected via the communication I/F unit 61.

また、制御部60は、必要に応じて記憶部63から読出したスジ検出結果631を、通信I/F部61を介して画像形成装置2又はPC6に送信する。画像形成装置2は、操作表示部13にスジ検出結果631を表示することができる。このため、画像形成装置2及び画像検査装置3のオペレーターは、操作表示部13からスジ検出結果631の内容を確認することができる。また、オペレーターは、PC6からスジ検出結果631の内容を確認することもできる。 Further, the control unit 60 transmits the streak detection result 631 read from the storage unit 63 to the image forming apparatus 2 or the PC 6 via the communication I/F unit 61 as necessary. The image forming apparatus 2 can display the streak detection result 631 on the operation display section 13. Therefore, the operators of the image forming apparatus 2 and the image inspection apparatus 3 can check the contents of the streak detection result 631 from the operation display section 13. Further, the operator can also check the contents of the streak detection result 631 from the PC 6.

制御部60は、スジ検出結果631に従って、搬送路41を搬送される用紙Shの排紙トレイ(排紙先の一例)を選択する。例えば、制御部60は、切替え部44を動作して、搬送路42に搬送させた正常用紙を排紙トレイ47に排紙させ、搬送路43に搬送させた異常用紙を排紙トレイ48に排紙させる。 The control unit 60 selects a paper discharge tray (an example of a paper discharge destination) for the paper Sh conveyed through the conveyance path 41 according to the streak detection result 631. For example, the control unit 60 operates the switching unit 44 to discharge the normal paper transported to the transport path 42 to the paper ejection tray 47, and to discharge the abnormal paper transported to the transport path 43 to the paper ejection tray 48. Make paper.

また、制御部60は、スジ検出結果631にスジありと書き込まれた読取画像603aに対応するページの再印刷処理(「リカバリ処理」と呼ぶ)を、通信I/F部61を通じて画像形成装置2に指示することができる。なお、リカバリ処理は、オペレーターにより、スジの要因となった回転体のクリーニング、交換等が行われた後に、画像検査システム1にて自動的に、又はオペレーターの手動により実施される。 Further, the control unit 60 performs a reprint process (referred to as “recovery process”) of the page corresponding to the read image 603a written as having a line in the line detection result 631 to the image forming apparatus 2 through the communication I/F unit 61. can be instructed. Note that the recovery process is performed automatically in the image inspection system 1 or manually by the operator after the operator has cleaned, replaced, etc. the rotating body that caused the streaks.

次に、読取画像からスジ特徴量を抽出する手順について、図5と図6を参照して説明する。
図5は、検出対象とするスジ70が含まれる読取画像603a、及び分類結果603dの例を示す図である。
Next, a procedure for extracting a streak feature amount from a read image will be described with reference to FIGS. 5 and 6.
FIG. 5 is a diagram showing an example of a read image 603a that includes the streak 70 to be detected, and a classification result 603d.

図5の上段にある読取画像603aの拡大図(1)には、読取画像603aの真ん中、かつ、副走査方向に検出対象とするスジ70が発生していることが示される。副走査方向に画素値を平均化したデータを図1に示したように、濃度ムラの変動周期は大きいので、スジ70を確実に検出できないことがある。 An enlarged view (1) of the read image 603a in the upper part of FIG. 5 shows that a streak 70 to be detected occurs in the center of the read image 603a and in the sub-scanning direction. As shown in FIG. 1, which is data obtained by averaging pixel values in the sub-scanning direction, the variation period of density unevenness is large, so it may not be possible to reliably detect the streaks 70.

そこで、変化量算出部613は、注目画素71を選び、注目画素71の近くにある画素を比較画素72として選んで、注目画素71と比較画素72の差分をとる。この際、変化量算出部613は、読取画像603aに対して、検出対象とするスジ70と直交する方向にある比較画素72と画素値の差分を取る。この例では、注目画素71に対して主走査方向にある比較画素72と画素値の差分が取られている。比較する画素が近いほど、濃度ムラの影響を受けないが、比較する画素が近過ぎるとスジによる影響を検出できない。このため、変化量算出部613は、検出対象とするスジ70の幅の半分以上離れた画素と比較する。そして、変化量算出部613は、注目画素71の位置に差分値を格納した差分画像603c1を生成する。 Therefore, the change amount calculation unit 613 selects the pixel of interest 71, selects a pixel near the pixel of interest 71 as the comparison pixel 72, and calculates the difference between the pixel of interest 71 and the comparison pixel 72. At this time, the change amount calculation unit 613 calculates the difference between the pixel value of the read image 603a and the comparison pixel 72 in the direction orthogonal to the line 70 to be detected. In this example, the difference between the pixel values of a pixel of interest 71 and a comparison pixel 72 in the main scanning direction is calculated. The closer the pixels to be compared, the less affected by density unevenness, but if the pixels to be compared are too close, the effect of streaks cannot be detected. For this reason, the change amount calculating unit 613 compares pixels that are separated by more than half the width of the stripe 70 to be detected. Then, the change amount calculation unit 613 generates a difference image 603c1 in which the difference value is stored at the position of the pixel of interest 71.

次に、欠陥特徴量抽出部614は、変化量算出部613が生成した差分画像603c1に含まれる各画素の差分値に基づいて、スジの特徴量を抽出する。ここで、欠陥特徴量抽出部614は、スジに対して直交する方向(例えば、主走査方向)に差分値を取ると比較画素72がスジの位置に来たときと、注目画素71がスジの位置に来たときとで、符号が逆の大きな値を得ることができる(後述する図6のグラフ(3)を参照)。 Next, the defect feature amount extraction unit 614 extracts the feature amount of the streak based on the difference value of each pixel included in the difference image 603c1 generated by the change amount calculation unit 613. Here, the defect feature amount extraction unit 614 calculates the difference value in the direction perpendicular to the streak (for example, the main scanning direction), and determines when the comparison pixel 72 is at the streak position and when the pixel of interest 71 is at the streak position. It is possible to obtain a large value with the opposite sign depending on when the position is reached (see graph (3) in FIG. 6, which will be described later).

ただし、差分値から求めた欠陥特徴量の値は、スジがない箇所と比較すれば値が大きいものの、値自体は小さい。このため、変化量算出部613は、差分値を第1分類閾値Aより大きいか、または第2分類閾値Bよりも小さいかによって、値を3つの値に分類して分類結果603dを得る。なお、第1分類閾値Aは、第2分類閾値Bよりも大きい値である。以下の説明で、第1分類閾値A及び第2分類閾値Bを区別しない場合は、「分類閾値」と総称する。 However, although the value of the defect feature obtained from the difference value is large compared to a portion without streaks, the value itself is small. Therefore, the change amount calculation unit 613 classifies the difference value into three values depending on whether the difference value is larger than the first classification threshold value A or smaller than the second classification threshold value B, and obtains the classification result 603d. Note that the first classification threshold A is a larger value than the second classification threshold B. In the following description, when the first classification threshold A and the second classification threshold B are not distinguished, they are collectively referred to as "classification threshold".

図5の下段にある分類結果603dの拡大図(2)は、図5の上段にある読取画像603aの拡大図(1)を3値化した例を示す。分類結果603dは、変化量算出部613が、読取画像603aから求めた各画素の差分値を3値化して得たものである。分類結果603dは、各画素を“0”、“128”、“255”のいずれかの値に置き換えたものとして表される。ここでは、説明しやすくするために、画素毎に着色した分類結果603dの例を示す。このような分類結果603dを得るためには、適切な多値化が必要とされる。そこで、本実施の形態では、多値化処理で参照される分類閾値が、読取画像603aの領域に合わせて変動される。 The enlarged view (2) of the classification result 603d in the lower part of FIG. 5 shows an example of ternarizing the enlarged view (1) of the read image 603a in the upper part of FIG. The classification result 603d is obtained by the change amount calculation unit 613 converting the difference value of each pixel obtained from the read image 603a into three values. The classification result 603d is expressed by replacing each pixel with a value of "0", "128", or "255". Here, for ease of explanation, an example of the classification result 603d in which each pixel is colored is shown. In order to obtain such a classification result 603d, appropriate multi-value conversion is required. Therefore, in this embodiment, the classification threshold referred to in the multi-value processing is varied according to the area of the read image 603a.

図6は、分類結果603dからスジ特徴量を抽出する様子を示す図である。
図6の上段にあるグラフ(1)は、3値化平均値の例を示す。欠陥特徴量抽出部614は、分類結果603dを検出対象とするスジ方向に平均化した3値化平均値を算出する。この例では、オペレーターが検出対象とするスジ方向は、副走査方向であるとする。そして、3値化平均値は、主走査位置が“15”で山を作り、“18”で谷を作るグラフとして表される。
FIG. 6 is a diagram showing how the streak feature amount is extracted from the classification result 603d.
Graph (1) in the upper part of FIG. 6 shows an example of the ternary average value. The defect feature extraction unit 614 calculates a ternary average value obtained by averaging the classification result 603d in the direction of the line to be detected. In this example, it is assumed that the stripe direction that the operator wants to detect is the sub-scanning direction. The ternary average value is expressed as a graph with a peak at the main scanning position "15" and a valley at the main scanning position "18".

図6の中段にあるグラフ(2)についても、3値化平均値の例を示す。ただし、グラフ(2)に示す3値化平均値は、グラフ(1)に比べて3画素分(注目画素71から比較画素72までの画素数分)だけ右側にシフトした位置、すなわち図5に示した注目画素71が比較画素72の位置にシフトした状態における3値化平均値を表す。 Graph (2) in the middle of FIG. 6 also shows an example of the ternary average value. However, the ternary average value shown in graph (2) is at a position shifted to the right by three pixels (the number of pixels from target pixel 71 to comparison pixel 72) compared to graph (1), that is, in FIG. It represents the ternarized average value in a state where the pixel of interest 71 shown has been shifted to the position of the comparison pixel 72.

図6の下段にあるグラフ(3)は、グラフ(1)からグラフ(2)を減じた値の絶対値をスジ特徴量として示す。グラフ(3)より、逆符号同士の値(例えば、主走査位置が“18”)では、他の箇所の値よりも大きい値が算出されたことが示される。そして、品質判断部615は、逆符号同士の値の差分を取って算出されたスジ特徴量が、欠陥検出閾値C(例えば、“150”)よりも大きければ、この位置にスジが生じたと判断する。 Graph (3) in the lower part of FIG. 6 shows the absolute value of the value obtained by subtracting graph (2) from graph (1) as the streak feature amount. Graph (3) shows that for values with opposite signs (for example, the main scanning position is "18"), a larger value is calculated than the values at other locations. Then, the quality determining unit 615 determines that a streak has occurred at this position if the streak feature amount calculated by taking the difference between the values of opposite signs is larger than the defect detection threshold C (for example, "150"). do.

ところで、印刷物には、平坦な画像の領域(「平坦領域」と呼ぶ)だけでなく、平坦でない画像の領域(「非平坦領域」と呼ぶ)が現れる。平坦領域であれば、分類閾値は検出対象とするスジの濃さ(画素値の階調差)に応じて変動させればよい。そこで、変化量算出部613は、出力対象画像603bから平坦領域のみを抽出した後、品質判断部615が、抽出された領域だけを対象としてスジを検出すればよい。しかし、例えば、画素値の変動量が小さいグラデーションがあるような非平坦領域に乗ったスジは目立ってしまう。 By the way, not only flat image regions (referred to as "flat regions") but also uneven image regions (referred to as "non-flat regions") appear on printed matter. In the case of a flat area, the classification threshold may be changed depending on the density of the stripe to be detected (gradation difference in pixel values). Therefore, the change amount calculation unit 613 may extract only the flat area from the output target image 603b, and then the quality judgment unit 615 may detect streaks only in the extracted area. However, for example, streaks on a non-flat area where there is a gradation in which the amount of variation in pixel values is small are noticeable.

そして、変化量算出部613は、画素値の変動量が小さい非平坦領域に対して、平坦領域に基づいて算出された分類閾値を使用して多値化処理を行うと、品質判断部615は、出力対象画像603bにあるスジと同じ形状の変動をスジと誤検出する可能性がある。そこで、変化量算出部613は、出力対象画像603bを用いて、分類閾値を動的に変動させる処理を行う。 Then, when the change amount calculating unit 613 performs multi-value processing on the non-flat area where the amount of variation in pixel values is small using the classification threshold calculated based on the flat area, the quality determining unit 615 , there is a possibility that fluctuations having the same shape as the streaks in the output target image 603b will be mistakenly detected as streaks. Therefore, the change amount calculation unit 613 performs a process of dynamically changing the classification threshold using the output target image 603b.

<分類閾値の変動処理>
ここで、分類閾値を動的に変動させる処理(「閾値変動処理」と呼ぶ)の手順について、図7~図9を参照して説明する。
<Classification threshold variation processing>
Here, the procedure for dynamically varying the classification threshold (referred to as "threshold variation processing") will be described with reference to FIGS. 7 to 9.

本手順の前提として、画像変換部611により、カラーモードが、CMYKからRGBに変換された出力対象画像603bは、位置合わせ部612により、読取画像603aと位置が合わせられる。そして、変化量算出部613は、位置合わせされた出力対象画像603bに対して、読取画像603aから検出対象とするスジと直交する方向にある画素の画素値で差分をとる。 As a premise of this procedure, the output target image 603b whose color mode has been converted from CMYK to RGB by the image conversion unit 611 is aligned with the read image 603a by the alignment unit 612. Then, the change amount calculation unit 613 calculates a difference between the aligned output target image 603b and the pixel values of pixels in the read image 603a in a direction perpendicular to the streaks to be detected.

ここで、平坦領域と非平坦領域における差分と分類閾値との関係について説明する。
図7は、RIP処理が施された出力対象画像603bの平坦領域と非平坦領域における画素の画素値と差分値、及び分類閾値の例を示すグラフである。このグラフの横軸は主走査位置を表し、縦軸は、3種類の値(画素値、差分値及び分類閾値)を表す。また、平坦領域及び非平坦領域は、図7の上側にある差分値のグラフで規定される。図中では、第1分類閾値Aを「閾値A」と記載し、第2分類閾値Bを「閾値B」と記載する。
Here, the relationship between the difference between the flat region and the non-flat region and the classification threshold will be explained.
FIG. 7 is a graph showing an example of pixel values and difference values of pixels in a flat region and a non-flat region of the output target image 603b subjected to RIP processing, and classification threshold values. The horizontal axis of this graph represents the main scanning position, and the vertical axis represents three types of values (pixel value, difference value, and classification threshold). Further, the flat region and the non-flat region are defined by the difference value graph shown in the upper part of FIG. 7 . In the figure, the first classification threshold A is described as "threshold A", and the second classification threshold B is described as "threshold B".

図7の下側にあるグラフは、RIP処理が施された出力対象画像603bの画素値の変動を表す。また、図7の上側にあるグラフは、図7の下側にあるグラフにおいて、出力対象画像603bの画素値から、出力対象画像603bを水平方向に3画素分だけシフトした画素値を引いた差分値の変動を表す。 The graph at the bottom of FIG. 7 represents fluctuations in pixel values of the output target image 603b that has been subjected to RIP processing. In addition, the graph on the upper side of FIG. 7 is the difference obtained by subtracting the pixel value obtained by shifting the output target image 603b by three pixels in the horizontal direction from the pixel value of the output target image 603b in the lower graph of FIG. Represents fluctuations in value.

出力対象画像603bの画素値は、折れ線L1のグラフで表される。折れ線L1のグラフより、主走査位置の“1”から“7”までの間は平坦領域であるので、画素値と差分値は共に変化していないことが示される。一方で、主走査位置の“7”から“33”までの間は非平坦領域であるので、画素値と差分値が変化する。例えば、非平坦領域における画素値は、主走査位置の“11”から“21”にかけて緩やかに高くなって一定値を保った後、“23”から“33”にかけて緩やかに低くなって元の値“128”に戻る。 The pixel values of the output target image 603b are represented by a graph of a polygonal line L1. The graph of the polygonal line L1 shows that the main scanning position from "1" to "7" is a flat region, so that both the pixel value and the difference value do not change. On the other hand, since the main scanning position from "7" to "33" is a non-flat region, the pixel value and the difference value change. For example, the pixel value in a non-flat area gradually increases from main scanning position "11" to "21" and maintains a constant value, then gradually decreases from "23" to "33" and returns to the original value. Return to “128”.

例えば、出力対象画像603bの画素値から、出力対象画像603bを水平方向に3画素分だけシフトした画素値を引いた差分値は、折れ線L10のグラフで表される。折れ線L10のグラフに示すように、非平坦領域における差分値は、主走査位置の“7”から“9”にかけて緩やかに低くなり、“9”から“17”にかけて一定のマイナス値をとり、“17”から“23”にかけて緩やかに高くなる。そして、主走査位置の“23”から“30”にかけて一定のプラス値をとり、“30”から“33”にかけて緩やかに低くなって元の値“0”に戻る。 For example, the difference value obtained by subtracting the pixel value obtained by shifting the output target image 603b by three pixels in the horizontal direction from the pixel value of the output target image 603b is represented by a graph of a polygonal line L10. As shown in the graph of the line L10, the difference value in the non-flat area gradually decreases from main scanning position "7" to "9", takes a constant negative value from "9" to "17", and becomes " It gradually increases from 17" to 23". Then, it takes a constant positive value from the main scanning position "23" to "30", gradually decreases from "30" to "33", and returns to the original value "0".

ここで、差分値に対して所定値(例えば、“8”)をプラスした値を、第1分類閾値Aと呼び、差分値に対して所定値(例えば、“8”)をマイナスした値を、第2分類閾値Bと呼ぶ。第1分類閾値Aは、折れ線L11のグラフで表され、第2分類閾値Bは、折れ線L12のグラフで表される。分類閾値は、パラメータ603fに記憶されている。分類閾値は、変化量算出部613が、読取画像603aの主走査位置で特定される画素を3値化するために参照される。 Here, the value obtained by adding a predetermined value (for example, "8") to the difference value is called the first classification threshold A, and the value obtained by subtracting the predetermined value (for example, "8") to the difference value is called the first classification threshold A. , is called the second classification threshold B. The first classification threshold A is represented by a graph of a line L11, and the second classification threshold B is represented by a graph of a line L12. The classification threshold is stored in parameter 603f. The classification threshold is referred to by the change amount calculation unit 613 in order to ternarize the pixel specified at the main scanning position of the read image 603a.

上述したように、変化量算出部613は、折れ線L10のグラフに示す差分値に対して、第1分類閾値Aを足した値よりも大きいか、差分値に対して第2分類閾値Bを減じた値よりも小さいか、又は差分値が、第2分類閾値B以上、かつ第1分類閾値A以下であるかによって、差分値を3つに分類(3値化)した分類結果603dを得る。このため、本発明者は、平坦領域以外の領域(非平坦領域)に対しても誤検出なくスジを検出できると考えた。 As described above, the change amount calculation unit 613 determines whether the difference value shown in the graph of the polygonal line L10 is greater than the sum of the first classification threshold A, or the difference value is subtracted by the second classification threshold B. A classification result 603d is obtained in which the difference value is classified into three (ternarized) depending on whether the difference value is smaller than the calculated value or whether the difference value is greater than or equal to the second classification threshold B and less than or equal to the first classification threshold A. For this reason, the inventor considered that it is possible to detect streaks even in areas other than flat areas (non-flat areas) without false detection.

しかし、位置合わせにズレが生じていると、非平坦領域において動的に変動する閾値A,Bの位置と、本来適用したい画素の位置とにズレが生じる。それによって、非平坦領域の分類閾値に対して差分値が上回ったり、下回ったりすることでスジの誤検出が発生することが判明した。 However, if a misalignment occurs in the alignment, a misalignment occurs between the positions of the threshold values A and B, which dynamically change in a non-flat area, and the position of the pixel to which they are originally intended. As a result, it has been found that erroneous detection of streaks occurs when the difference value exceeds or falls below the classification threshold for non-flat areas.

図8は、位置合わせにズレが生じたときの差分値を表すグラフの変化の例を示す図である。
出力対象画像603bに対する読取画像603aの位置合わせにズレが生じたことにより、差分値の変化を表す折れ線L20が、折れ線L10に対して左側にずれている。この結果、折れ線L20の一部が、主走査位置の“17”で第1分類閾値Aの変化を表す折れ線L11に接触し、差分値が第1分類閾値Aより大きくなる。このため、主走査位置の“17”にて、誤った3値化が行われてしまう。この結果として、スジがない箇所にも関わらず、スジが存在すると検出するおそれがある。
FIG. 8 is a diagram showing an example of a change in a graph representing a difference value when a misalignment occurs.
Due to a misalignment of the read image 603a with respect to the output target image 603b, the polygonal line L20 representing the change in the difference value is shifted to the left with respect to the polygonal line L10. As a result, a part of the polygonal line L20 comes into contact with the polygonal line L11 representing a change in the first classification threshold A at the main scanning position "17", and the difference value becomes larger than the first classification threshold A. Therefore, erroneous ternarization is performed at the main scanning position "17". As a result, there is a possibility that the presence of streaks may be detected even though there are no streaks.

ところで、位置合わせの処理にかかる演算コストを考慮すると、ある程度大局的にズレを補正する方法(拡大、縮小、傾き補正等)を選択するのが現実的であるので、局所的なズレをある程度許容してよい。そこで、位置ズレ分を考慮して分類閾値を設定する必要がある。具体的な方法として、位置ズレが起こりうる画素数分だけ、分類閾値がカバーする画素数を増やす方法が考えられる。 By the way, considering the calculation cost involved in alignment processing, it is realistic to select a method that corrects the deviation in a somewhat global manner (enlargement, reduction, tilt correction, etc.), so a certain degree of local deviation is allowed. You may do so. Therefore, it is necessary to set the classification threshold in consideration of the positional deviation. A specific method is to increase the number of pixels covered by the classification threshold by the number of pixels where positional deviation may occur.

図9は、分類閾値を変動させた例を示す図である。
変化量算出部613は、位置合わせにズレが生じることを考慮して、分類閾値の範囲を拡大する。例えば、変化量算出部613は、折れ線L20に示す差分値の最大値又は最小値が、本来の折れ線L10に対して位置ずれしたズレ量分だけ、分類閾値の範囲を拡大する。図中には、第1分類閾値Aの最大値の範囲が拡大され、第2分類閾値Bの最小値の範囲が拡大される様子が示される。
FIG. 9 is a diagram showing an example in which the classification threshold is varied.
The change amount calculation unit 613 expands the range of the classification threshold value, taking into consideration the occurrence of a shift in alignment. For example, the change amount calculation unit 613 expands the range of the classification threshold by the amount by which the maximum or minimum value of the difference values shown in the polygonal line L20 is shifted from the original polygonal line L10. The figure shows how the range of the maximum value of the first classification threshold A is expanded and the range of the minimum value of the second classification threshold B is expanded.

分類閾値の範囲が拡大されたことで、斜線領域80の境界が、新たな分類閾値として扱われる。このように分類閾値の範囲が拡大されたので、読取画像603aが本来の位置からズレても、読取画像603aから算出された折れ線L20に示す差分値は、分類閾値に対して上回ったり、下回ったりせず、正しく3値化が行われる。 Since the range of classification thresholds has been expanded, the boundary of the shaded area 80 is treated as a new classification threshold. Since the range of the classification threshold has been expanded in this way, even if the read image 603a deviates from its original position, the difference value shown by the polygonal line L20 calculated from the read image 603a will not exceed or fall below the classification threshold. The ternarization will be performed correctly without any error.

次に、検査処理装置5で行われる処理の例について、図10を参照して説明する。
図10は、一実施の形態に係る検査処理装置5で行われる処理の例を示すフローチャートである。
Next, an example of processing performed by the inspection processing device 5 will be described with reference to FIG. 10.
FIG. 10 is a flowchart illustrating an example of processing performed by the inspection processing device 5 according to one embodiment.

始めに、画像変換部611は、RAM603から読み出した出力対象画像603bのカラーモードを、CMYKからRGBに変換する(S1)。この処理により、画像変換部611は、画像検査装置3が画像形成装置2から受信した出力対象画像603b(RIP画像)のカラーモードを、読取画像603aのカラーモードに合わせる。 First, the image conversion unit 611 converts the color mode of the output target image 603b read from the RAM 603 from CMYK to RGB (S1). Through this process, the image conversion unit 611 adjusts the color mode of the output target image 603b (RIP image) received by the image inspection apparatus 3 from the image forming apparatus 2 to the color mode of the read image 603a.

次に、位置合わせ部612は、RGBに変換された出力対象画像603bを、読取画像603aに対して位置が合うように位置合わせ処理を行う(S2)。次に、変化量算出部613は、出力対象画像603bを第1画素数だけ画像シフトする(S3)。本実施の形態では、水平方向に3画素分だけ出力対象画像603bの画像シフトが行われる。 Next, the alignment unit 612 performs alignment processing to align the RGB-converted output target image 603b with the read image 603a (S2). Next, the change amount calculation unit 613 shifts the output target image 603b by the first number of pixels (S3). In this embodiment, the output target image 603b is shifted by three pixels in the horizontal direction.

次に、変化量算出部613は、ステップS3より得たシフト画像と、ステップS3の処理を行っていない出力対象画像603bとに基づいて差分画像603c2(例えば、図6と同様の画像)を生成する(S4)。 Next, the change amount calculation unit 613 generates a difference image 603c2 (for example, an image similar to FIG. 6) based on the shifted image obtained in step S3 and the output target image 603b that has not been processed in step S3. (S4).

次に、変化量算出部613は、差分画像603c2に含まれる各画素の画素値ごとに所定値をプラスした値を第1分類閾値Aとし、所定値をマイナスした値を第2分類閾値Bとした閾値画像603eを生成する(S5)。この時、変化量算出部613は、図8と図9に示したように出力対象画像603bに対する読取画像603aの位置合わせズレを考慮した分類閾値の最大値及び最小値の範囲を拡大する処理も行う。そして、生成された閾値画像603eは、RAM603に一時保存される。 Next, the change amount calculation unit 613 sets a value obtained by adding a predetermined value to each pixel value of each pixel included in the difference image 603c2 as a first classification threshold A, and a value obtained by subtracting the predetermined value as a second classification threshold B. A threshold image 603e is generated (S5). At this time, as shown in FIGS. 8 and 9, the change amount calculation unit 613 also performs processing to expand the range of the maximum and minimum values of the classification threshold, taking into account the misalignment of the read image 603a with respect to the output target image 603b. conduct. The generated threshold image 603e is then temporarily stored in the RAM 603.

ステップS2~S5の処理と並行して、変化量算出部613は、ステップS11、S12の処理を行う。変化量算出部613は、RAM603から読み出して入力する読取画像603a(例えば、図5)を第1画素数(例えば、3画素)だけ画像シフトする(S11)。そして、変化量算出部613は、ステップS11より得たシフト画像と、ステップS11の処理を行っていない読取画像603aとに基づいて差分画像603c1を生成する(S12)。 In parallel with the processing in steps S2 to S5, the change amount calculation unit 613 performs the processing in steps S11 and S12. The change amount calculation unit 613 shifts the read image 603a (for example, FIG. 5) read from the RAM 603 and input by a first number of pixels (for example, 3 pixels) (S11). Then, the change amount calculation unit 613 generates a difference image 603c1 based on the shifted image obtained in step S11 and the read image 603a that has not been processed in step S11 (S12).

ステップS5、S12の処理の後、変化量算出部613は、パラメータ603fから読み出した第1分類閾値A及び第2分類閾値Bに基づいて、差分画像603c1の3値化処理を行い、各画素に3値化した値を含む分類結果603d(例えば、図5)を生成する(S13)。 After the processing in steps S5 and S12, the change amount calculation unit 613 performs ternarization processing on the difference image 603c1 based on the first classification threshold A and the second classification threshold B read out from the parameter 603f, and converts each pixel into A classification result 603d (for example, FIG. 5) including ternary values is generated (S13).

ステップS5、S13の後、欠陥特徴量抽出部614は、分類結果603dに基づいて、スジ特徴量(例えば、図6のグラフ(3))を抽出する(S14)。そして、品質判断部615は、スジ特徴量を、パラメータ603fから読み出した欠陥検出閾値と比較して、スジを検出し(S15)、読取画像603aの品質を判断する。品質判断部615は、スジ検出結果631を記憶部63に書き込む。その後、検査処理装置5は、本処理を終了する。 After steps S5 and S13, the defect feature extraction unit 614 extracts a streak feature (for example, graph (3) in FIG. 6) based on the classification result 603d (S14). The quality determining unit 615 then compares the streak feature amount with the defect detection threshold read out from the parameter 603f, detects a streak (S15), and determines the quality of the read image 603a. The quality determination unit 615 writes the streak detection result 631 into the storage unit 63. After that, the inspection processing device 5 ends this process.

以上説明した一実施の形態に係る検査処理装置5では、読取画像603aと出力対象画像603bとの差分画像603c2に含まれる差分値に対して分類閾値で規定される閾値画像603eを生成する。この際、変化量算出部613は、読取画像603aと出力対象画像603bとの位置合わせにズレが生じることを考慮して、分類閾値の範囲を拡大する。また、検査処理装置5は、読取画像603aを数画素分シフトして得たシフト画像と、読取画像603aとの差分をとって差分画像603c1を得る。このため、変化量算出部613が差分画像603c1の差分値を3値化する処理において、非平坦領域の差分値が誤って3値化されることを防げる。その後、欠陥特徴量抽出部614が抽出した特徴量に基づいて、オペレーターが印刷物を目視した際に気になるような細いスジを、品質判断部615が、非平坦領域から精度よくスジを検出できるようになる。 The inspection processing device 5 according to the embodiment described above generates a threshold image 603e defined by a classification threshold for the difference value included in the difference image 603c2 between the read image 603a and the output target image 603b. At this time, the change amount calculation unit 613 expands the range of the classification threshold value, taking into consideration the occurrence of a misalignment between the read image 603a and the output target image 603b. In addition, the inspection processing device 5 obtains a difference image 603c1 by calculating the difference between a shifted image obtained by shifting the read image 603a by several pixels and the read image 603a. Therefore, in the process of ternarizing the difference values of the difference image 603c1 by the change amount calculation unit 613, it is possible to prevent the difference values of the non-flat area from being erroneously ternarized. Then, based on the feature extracted by the defect feature extraction unit 614, the quality judgment unit 615 can accurately detect thin streaks from non-flat areas that may be noticeable when an operator visually inspects the printed matter. It becomes like this.

また、読取画像603aの非平坦領域に発生したスジについても、3値化処理により画素値が3値化されてスジ特徴量が抽出されるので、スジの検出精度を向上することができる。 Furthermore, regarding the streaks occurring in the non-flat area of the read image 603a, the pixel values are converted into three values by the ternarization process and the streak feature amount is extracted, so that the detection accuracy of the streaks can be improved.

なお、幅の広いスジは、スジによる影響(画素値の変化)がなだらかである。このため、注目画素に対して比較画素として抽出する画素の位置が近過ぎると、比較画素との差分が小さくなってスジを検出できない。一方で、注目画素に対して比較画素が遠すぎると、狭い平坦領域に生じたスジを検出できない。 Note that for wide stripes, the influence of the stripes (changes in pixel values) is gentle. Therefore, if the position of a pixel extracted as a comparison pixel is too close to the pixel of interest, the difference between the pixel and the comparison pixel becomes small, making it impossible to detect a streak. On the other hand, if the comparison pixel is too far away from the pixel of interest, streaks occurring in a narrow flat area cannot be detected.

そこで、変化量算出部613が差分画像603c1を得るために算出する第1画素数は、異なる複数の値(例えば、3画素、5画素、7画素、15画素)としてよい。そして、変化量算出部613は、異なる複数の値ごとに算出した差分値を注目画素の位置に格納した複数の差分画像603c1を生成してもよい。変化量算出部613が注目画素に対してシフトする比較画素のシフト数をパラメータ603fに、複数設定し、1つの注目画素に対して、異なるシフト数でシフトした比較画素との差分を求めることにより、スジの有無を並列で解析してもよい。このような処理により、欠陥特徴量抽出部614は、複数の差分画像603c1からそれぞれスジ特徴量を抽出し、品質判断部615は、抽出されたスジ特徴量からスジを検出してもよい。これにより、スジの太さによらず、読取画像603aに現れたスジを検出することができる。 Therefore, the first number of pixels that the change amount calculation unit 613 calculates to obtain the difference image 603c1 may be a plurality of different values (for example, 3 pixels, 5 pixels, 7 pixels, and 15 pixels). Then, the change amount calculation unit 613 may generate a plurality of difference images 603c1 in which difference values calculated for each of a plurality of different values are stored at the position of the pixel of interest. By setting a plurality of shift numbers of comparison pixels to be shifted with respect to the pixel of interest in the parameter 603f, the change amount calculation unit 613 calculates the difference between one pixel of interest and comparison pixels shifted by different shift numbers. , the presence or absence of streaks may be analyzed in parallel. Through such processing, the defect feature extracting unit 614 may extract the streak feature from each of the plurality of difference images 603c1, and the quality determining unit 615 may detect the streak from the extracted streak feature. Thereby, it is possible to detect the streaks appearing in the read image 603a, regardless of the thickness of the streaks.

[一実施の形態の変形例]
上述した実施の形態に示した読取画像603aと出力対象画像603bとの位置ズレは、主走査方向に限らず、どの方向にも起こりうる。このため、検出対象とするスジと直交する方向だけでなく平行な方向または斜め方向へも分類閾値の範囲を拡大する必要がある。したがって、本変形例に係る変化量算出部613は、品質判断部615がスジを検出する処理を行わない検出除外領域を、位置合わせ部612で許容される位置ズレ量だけ拡張する。具体的には、変化量算出部613が、分類閾値の範囲を二次元的に拡大する。
図11は、分類閾値の範囲を二次元的に拡大する様子を示す図である。
[Modification of one embodiment]
The positional deviation between the read image 603a and the output target image 603b shown in the embodiment described above can occur not only in the main scanning direction but also in any direction. Therefore, it is necessary to expand the range of classification thresholds not only in a direction perpendicular to the streaks to be detected but also in parallel or diagonal directions. Therefore, the change amount calculation unit 613 according to the present modification expands the detection exclusion region in which the quality determination unit 615 does not perform the process of detecting streaks by the amount of positional deviation allowed by the alignment unit 612. Specifically, the change amount calculation unit 613 expands the range of the classification threshold two-dimensionally.
FIG. 11 is a diagram showing how the range of classification thresholds is expanded two-dimensionally.

図11の左側には、読取画像603aに文字が1字(「あ」)だけ含まれることが示される。そして図11の右側には、文字の一部を拡大した様子が示される。従来であれば、分類閾値の範囲が拡大されないので、拡張前の分類閾値の範囲91は、文字の縁と一致する。しかし、本変形例に係る変化量算出部613は、分類閾値の範囲を二次元的に拡大する。そこで、変化量算出部613は、主走査方向及び副走査方向に発生する位置ズレ量に合わせて、分類閾値の最小値及び最大値の範囲を拡張する。 The left side of FIG. 11 shows that the read image 603a includes only one character (“a”). The right side of FIG. 11 shows an enlarged portion of the characters. Conventionally, the classification threshold range is not expanded, so the classification threshold range 91 before expansion coincides with the edge of the character. However, the change amount calculation unit 613 according to this modification expands the range of the classification threshold two-dimensionally. Therefore, the change amount calculation unit 613 expands the range of the minimum value and maximum value of the classification threshold according to the amount of positional deviation that occurs in the main scanning direction and the sub-scanning direction.

図中には、星印で注目画素92が表されている。注目画素92は、文字の縁よりも外側に2画素だけ離れた位置にある。そして、変化量算出部613は、それぞれの注目画素92を中心として上下左右に2画素分を加えた範囲をマスク93(領域の一例)とする。マスク93の大きさは、読取画像603aに位置ずれが起こりうる量(例えば、画像形成装置2のスペック、特性等)によって決まり、読取画像603aに対する出力対象画像603bの位置ズレ量に合わせて主走査方向及び副走査方向に所定の長さで設定される。図11では、マスク93の大きさが、主走査方向及び副走査方向のそれぞれに5画素分の長さで設定される。ただし、マスク93の主走査方向及び副走査方向の長さが異なってもよい。 In the figure, a pixel of interest 92 is represented by a star. The pixel of interest 92 is located two pixels outside the edge of the character. Then, the change amount calculation unit 613 sets a mask 93 (an example of a region) to be a range obtained by adding two pixels in the upper, lower, right, and left directions around each pixel of interest 92 as the center. The size of the mask 93 is determined by the amount of positional deviation that may occur in the read image 603a (for example, the specifications and characteristics of the image forming apparatus 2), and the size of the mask 93 is determined by the amount of positional deviation that may occur in the read image 603a. A predetermined length is set in the direction and the sub-scanning direction. In FIG. 11, the size of the mask 93 is set to a length of five pixels in each of the main scanning direction and the sub-scanning direction. However, the lengths of the mask 93 in the main scanning direction and the sub-scanning direction may be different.

そして、変化量算出部613は、マスク93内で画素値の最大値を取るフィルタ処理を行う。そして、マスク93内で取られた最大値に基づいて多値化が行われる。つまり、破線で示す閾値範囲94の内側に沿って注目画素92が移動可能な範囲で、注目画素92と共に移動するマスク93まで、分類閾値の範囲が拡張される。このように変化量算出部613は、マスク93に含まれる変化量の最大値を、マスク93の内部で用いられる分類閾値の最大値とする。ただし、マスク93に含まれる変化量の最小値を、マスク93の内部で用いられる分類閾値の最小値とするフィルタ処理を組み合わせてもよい。 Then, the change amount calculation unit 613 performs filter processing to obtain the maximum value of the pixel values within the mask 93. Then, multilevel conversion is performed based on the maximum value taken within the mask 93. In other words, the classification threshold range is extended to the mask 93 that moves together with the pixel of interest 92 within a range in which the pixel of interest 92 can move along the inside of the threshold range 94 indicated by the broken line. In this way, the change amount calculation unit 613 sets the maximum value of the change amount included in the mask 93 as the maximum value of the classification threshold used inside the mask 93. However, filter processing may be combined in which the minimum value of the amount of change included in the mask 93 is set as the minimum value of the classification threshold used inside the mask 93.

このように、変化量算出部613が分類閾値の範囲を二次元的に拡大した。この拡大処理により、読取画像603aと出力対象画像603bとの位置ズレが、検出対象とするスジと直交する方向だけでなく、スジと平行な方向または斜め方向に生じても、変化量算出部613が差分画像603c1の差分値を3値化できる。このため、品質判断部615が確実にスジを検出できるようになる。 In this way, the change amount calculation unit 613 expands the range of the classification threshold two-dimensionally. With this enlargement process, even if the positional deviation between the read image 603a and the output target image 603b occurs not only in a direction perpendicular to the stripes to be detected but also in a direction parallel to the stripes or in a diagonal direction, the change amount calculation unit 613 can ternarize the difference value of the difference image 603c1. Therefore, the quality determining unit 615 can reliably detect streaks.

[他の変形例]
また、変化量算出部613は、出力対象画像603bからスジ状欠陥を検出しない検出除外領域を生成することができる。この場合、品質判断部615は、検出除外領域では、スジ状欠陥を検出する処理を行わない。
[Other variations]
Further, the change amount calculation unit 613 can generate a detection exclusion area in which no streaky defects are detected from the output target image 603b. In this case, the quality determination unit 615 does not perform the process of detecting the streaky defect in the detection exclusion area.

これまで、変動量の小さい領域(例えば、グラデーション領域)について分類閾値を動的に変化させる例について説明したが、画像には階調変動量の大きい明確なエッジ(例えば、薄い背景に書かれた黒い文字等のエッジ)も存在する。この様な領域付近では、変化量算出部613が、差分計算を行うと大きな差分値を算出するため、品質判断部615がスジを検出できなくなる。そこで、スジの誤検出のリスクを考慮して、変化量算出部613は、出力対象画像603bから生成した、階調変動量の大きい明確なエッジが存在するエッジ領域を、検出除外領域とすることができる。 So far, we have described an example of dynamically changing the classification threshold for areas with small variations (e.g., gradation areas), but images with clear edges with large gradation variations (e.g., edges written on a thin background) Edges of black characters, etc.) also exist. In the vicinity of such a region, when the change amount calculation unit 613 performs difference calculation, it calculates a large difference value, so that the quality judgment unit 615 cannot detect streaks. Therefore, in consideration of the risk of erroneously detecting streaks, the change amount calculation unit 613 sets an edge region generated from the output target image 603b, in which a clear edge with a large amount of gradation variation exists, as a detection exclusion region. I can do it.

また、検出対象とするスジの発生原因が帯電極の汚れや感光体ドラムの滑剤塗布ムラである場合、トナーが付着する画像領域のみにスジが発生し、紙白領域にはスジが発生しない。また、紙白領域は読取画像603aに於いてノイズが発生しやすく、裏面に形成された画像の一部が透ける裏写りが生じる可能性もある。そこで、変化量算出部613は、出力対象画像603bから生成した、画像が形成されない紙白領域に合わせた分類閾値を算出する。変化量算出部613は、算出した分類閾値を用いることで、正確に多値化することが可能となる。 Further, if the cause of the streaks to be detected is dirt on the charging electrode or uneven coating of lubricant on the photoreceptor drum, the streaks will occur only in the image area where toner adheres, and will not occur in the white area of the paper. In addition, noise is likely to occur in the read image 603a in the white area of the paper, and there is also a possibility that show-through may occur in which a part of the image formed on the back side can be seen through. Therefore, the change amount calculation unit 613 calculates a classification threshold value that is generated from the output target image 603b and is matched to the paper white area where no image is formed. By using the calculated classification threshold, the change amount calculation unit 613 can accurately perform multi-value conversion.

ただし、紙白領域にノイズが発生しやすく、裏写りが生じやすいのであれば、変化量算出部613は、出力対象画像603bから生成した、画像が形成されない紙白領域を検出除外領域としてもよい。具体的には、変化量算出部613は、出力対象画像603bから色材の乗らない紙白領域を検出しておき、その領域をスジ検出の除外領域として扱う。このように紙白領域を検出除外領域とすることで、品質判断部615によるスジの誤検出を回避することが可能となる。 However, if noise is likely to occur in the paper white area and show-through is likely to occur, the change amount calculation unit 613 may use the paper white area where no image is formed, which is generated from the output target image 603b, as the detection exclusion area. . Specifically, the change amount calculation unit 613 detects a paper white area on which no coloring material is applied from the output target image 603b, and treats that area as an exclusion area for streak detection. By setting the paper white area as a detection excluded area in this way, it is possible to avoid erroneous detection of streaks by the quality determining unit 615.

なお、紙白領域には、二次転写時のクリーニング不良によるスジが発生しうる。品質判断部615がこのようなスジを検出するためには、紙白領域のノイズを検出しないことが必要となる。紙白領域にスジが発生するのは、紙白領域に対してスジ状にトナーが乗ってしまう場合であり、この時、大きな差分値が算出される。そこで、変化量算出部613は、読取画像603aから検出した紙白領域の分類閾値を、差分値が大きい場合にのみ検出する設定とすれば良い。また、エッジ領域と紙白領域も位置合わせのときに生じるズレの影響を受ける。そのため、エッジ領域と紙白領域についても位置ズレ分を考慮して、検出除外領域の範囲を拡大することが望ましい。 Note that streaks may occur in the paper white area due to poor cleaning during secondary transfer. In order for the quality determination unit 615 to detect such streaks, it is necessary to not detect noise in the paper white area. Streaks occur in the paper white area when toner is placed on the paper white area in a streak-like manner, and in this case, a large difference value is calculated. Therefore, the change amount calculation unit 613 may set the classification threshold of the paper white area detected from the read image 603a to be detected only when the difference value is large. Furthermore, the edge area and the paper white area are also affected by the misalignment that occurs during alignment. Therefore, it is desirable to expand the range of the detection exclusion area also with respect to the edge area and the paper white area, taking into account the positional deviation.

上述した実施の形態では、画像検査装置3に検査処理装置5を組み合わせた構成としたが、検査処理装置5の機能を、例えば、PC6に組み込み、検査処理装置5を画像検査装置3から分離してもよい。また、画像形成装置2が、検査処理装置5の機能を有し、画像形成装置2が単体で画像検査を行ってもよい。また、検査処理装置5の機能を有するサーバーを設けて画像形成システムを構成することにより、画像検査装置3が用紙Shから読取った読取画像603a及び出力対象画像603bをサーバーが蓄積してもよい。そして、サーバーが画像検査装置3と通信することで、画像検査装置3から受信した読取画像603aのスジ検出を行い、スジ検出結果を画像検査装置3やPC6に送信してもよい。 In the embodiment described above, the image inspection apparatus 3 and the inspection processing apparatus 5 are combined. It's okay. Further, the image forming apparatus 2 may have the function of the inspection processing apparatus 5, and the image forming apparatus 2 may perform image inspection by itself. Further, by configuring an image forming system by providing a server having the function of the inspection processing device 5, the server may accumulate the read image 603a and the output target image 603b read from the paper Sh by the image inspection device 3. Then, the server may communicate with the image inspection apparatus 3 to detect streaks in the read image 603a received from the image inspection apparatus 3, and transmit the streak detection results to the image inspection apparatus 3 and the PC 6.

なお、本発明は上述した実施の形態に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りその他種々の応用例、変形例を取り得ることは勿論である。
例えば、上述した実施の形態は本発明を分かりやすく説明するために装置及びシステムの構成を詳細かつ具体的に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されない。また、ここで説明した実施の形態の構成の一部を他の実施の形態の構成に置き換えることは可能であり、さらにはある実施の形態の構成に他の実施の形態の構成を加えることも可能である。また、各実施の形態の構成の一部について、他の構成の追加、削除、置換をすることも可能である。
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。
Note that the present invention is not limited to the embodiments described above, and it goes without saying that various other applications and modifications can be made without departing from the gist of the present invention as set forth in the claims.
For example, the embodiments described above describe the configurations of devices and systems in detail and specifically in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to having all the configurations described. Furthermore, it is possible to replace a part of the configuration of the embodiment described here with the configuration of other embodiments, and it is also possible to add the configuration of another embodiment to the configuration of a certain embodiment. It is possible. Furthermore, it is also possible to add, delete, or replace some of the configurations of each embodiment with other configurations.
Further, the control lines and information lines are shown to be necessary for explanation purposes, and not all control lines and information lines are necessarily shown in the product. In reality, almost all components may be considered to be interconnected.

1…画像検査システム、2…画像形成装置、3…画像検査装置、5…検査処理装置、30…画像形成部、45…読取部、60…制御部、603a…読取画像、603b…出力対象画像、603c1,603c2…差分画像、603d…分類結果、603e…閾値画像、603f…パラメータ、611…画像変換部、612…位置合わせ部、613…変化量算出部、614…欠陥特徴量抽出部、615…品質判断部、631…スジ検出結果 DESCRIPTION OF SYMBOLS 1... Image inspection system, 2... Image forming device, 3... Image inspection device, 5... Inspection processing device, 30... Image forming section, 45... Reading section, 60... Control section, 603a... Read image, 603b... Output target image , 603c1, 603c2...difference image, 603d...classification result, 603e...threshold image, 603f...parameter, 611...image conversion unit, 612...alignment unit, 613...change amount calculation unit, 614...defect feature amount extraction unit, 615 ...Quality judgment unit, 631...Streak detection result

Claims (7)

画像形成装置が記録材に形成する画像の元となる出力対象画像と、前記画像が形成された前記記録材から読み取られた読取画像との位置を合わせる位置合わせ部と、
前記読取画像を水平又は垂直方向に所定画素数だけシフトして得たシフト画像と、シフト前の前記読取画像との差分をとって生成した差分画像を分類するための分類閾値に基づいて、前記読取画像から選択した注目画素の画素値に対する、前記注目画素を基準として第1の方向に第1画素数だけ離れた比較画素の画素値の変化量を分類する変化量算出部と、
前記第1の方向に対して交差する第2の方向にある複数の画素に基づいて分類された前記変化量に基づいて、前記記録材に形成された前記画像に発生するスジ状欠陥の特徴量を抽出する特徴量抽出部と、
前記第1の方向に沿って、前記特徴量と、予め設定された欠陥検出閾値とを比較して前記スジ状欠陥を検出し、前記記録材に形成された前記画像の品質を判断する品質判断部と、を備える
画像検査装置。
a positioning unit that aligns an output target image that is a source of an image formed on a recording material by the image forming apparatus and a read image read from the recording material on which the image is formed;
Based on a classification threshold for classifying a difference image generated by taking a difference between a shifted image obtained by shifting the read image by a predetermined number of pixels in the horizontal or vertical direction and the read image before shifting, a change amount calculation unit that classifies the amount of change in the pixel value of a comparison pixel that is separated by a first number of pixels in a first direction with the pixel of interest as a reference, with respect to the pixel value of a pixel of interest selected from the read image;
a feature amount of a streak-like defect occurring in the image formed on the recording material, based on the amount of change classified based on a plurality of pixels in a second direction intersecting the first direction; a feature extraction unit that extracts
Quality determination for detecting the streaky defect by comparing the feature amount with a preset defect detection threshold along the first direction, and determining the quality of the image formed on the recording material. An image inspection device comprising:
前記変化量算出部は、前記出力対象画像から生成した、前記画像が形成されない紙白領域に合わせた前記分類閾値を算出する
請求項1に記載の画像検査装置。
The image inspection apparatus according to claim 1, wherein the change amount calculation unit calculates the classification threshold value that is generated from the output target image and is adjusted to a paper white area where the image is not formed.
前記変化量算出部は、前記出力対象画像から前記スジ状欠陥を検出しない検出除外領域を生成し、
前記品質判断部は、前記検出除外領域では、前記スジ状欠陥を検出する処理を行わない
請求項1又は2に記載の画像検査装置。
The change amount calculation unit generates a detection exclusion area in which the streaky defect is not detected from the output target image,
The image inspection apparatus according to claim 1 or 2, wherein the quality judgment unit does not perform the process of detecting the streaky defect in the detection exclusion area.
前記変化量算出部は、前記出力対象画像から生成した、エッジ領域を前記検出除外領域とする
請求項3に記載の画像検査装置。
The image inspection apparatus according to claim 3, wherein the change amount calculation unit sets an edge region generated from the output target image as the detection exclusion region.
前記変化量算出部は、前記出力対象画像から生成した、前記画像が形成されない紙白領域を前記検出除外領域とする
請求項3に記載の画像検査装置。
The image inspection apparatus according to claim 3 , wherein the change amount calculation unit sets a paper white area in which the image is not formed, which is generated from the output target image, as the detection exclusion area.
前記記録材から前記画像を読み取って前記読取画像を生成する読取部を備える
請求項1~5のいずれか一項に記載の画像検査装置。
The image inspection apparatus according to any one of claims 1 to 5, further comprising a reading section that reads the image from the recording material and generates the read image.
記録材に画像を形成する画像形成装置と、前記記録材に形成された前記画像を検査する画像検査装置と、を備え、
前記画像検査装置は、
前記画像形成装置が前記記録材に形成する前記画像の元となる出力対象画像と、前記画像が形成された前記記録材から読み取られた読取画像との位置を合わせる位置合わせ部と、
前記読取画像を水平又は垂直方向に所定画素数だけシフトして得たシフト画像と、シフト前の前記読取画像との差分をとって生成した差分画像を分類するための分類閾値に基づいて、前記読取画像から選択した注目画素の画素値に対する、前記注目画素を基準として第1の方向に第1画素数だけ離れた比較画素の画素値の変化量を分類する変化量算出部と、
前記第1の方向に対して交差する第2の方向にある複数の画素に基づいて分類された前記変化量に基づいて、前記記録材に形成された前記画像に発生するスジ状欠陥の特徴量を抽出する特徴量抽出部と、
前記第1の方向に沿って、前記特徴量と、予め設定された欠陥検出閾値とを比較して前記スジ状欠陥を検出し、前記記録材に形成された前記画像の品質を判断する品質判断部と、を備える
画像検査システム。
An image forming apparatus that forms an image on a recording material, and an image inspection apparatus that inspects the image formed on the recording material,
The image inspection device includes:
a positioning unit that aligns an output target image that is the source of the image formed on the recording material by the image forming apparatus and a read image read from the recording material on which the image is formed;
Based on a classification threshold for classifying a difference image generated by taking a difference between a shifted image obtained by shifting the read image by a predetermined number of pixels in the horizontal or vertical direction and the read image before shifting, a change amount calculation unit that classifies the amount of change in the pixel value of a comparison pixel that is separated by a first number of pixels in a first direction with the pixel of interest as a reference, with respect to the pixel value of a pixel of interest selected from the read image;
a feature amount of a streak-like defect occurring in the image formed on the recording material, based on the amount of change classified based on a plurality of pixels in a second direction intersecting the first direction; a feature extraction unit that extracts
Quality determination for detecting the streaky defect by comparing the feature amount with a preset defect detection threshold along the first direction, and determining the quality of the image formed on the recording material. An image inspection system comprising:
JP2019196050A 2019-10-29 2019-10-29 Image inspection equipment and image inspection system Active JP7443719B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019196050A JP7443719B2 (en) 2019-10-29 2019-10-29 Image inspection equipment and image inspection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019196050A JP7443719B2 (en) 2019-10-29 2019-10-29 Image inspection equipment and image inspection system

Publications (2)

Publication Number Publication Date
JP2021071299A JP2021071299A (en) 2021-05-06
JP7443719B2 true JP7443719B2 (en) 2024-03-06

Family

ID=75712840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019196050A Active JP7443719B2 (en) 2019-10-29 2019-10-29 Image inspection equipment and image inspection system

Country Status (1)

Country Link
JP (1) JP7443719B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4685139A (en) 1985-03-14 1987-08-04 Toppan Printing Co., Ltd. Inspecting device for print
JP2015189216A (en) 2014-03-28 2015-11-02 大日本印刷株式会社 Inspection apparatus and inspection method
JP2017173000A (en) 2016-03-18 2017-09-28 株式会社リコー Inspection device, inspection method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4685139A (en) 1985-03-14 1987-08-04 Toppan Printing Co., Ltd. Inspecting device for print
JP2015189216A (en) 2014-03-28 2015-11-02 大日本印刷株式会社 Inspection apparatus and inspection method
JP2017173000A (en) 2016-03-18 2017-09-28 株式会社リコー Inspection device, inspection method, and program

Also Published As

Publication number Publication date
JP2021071299A (en) 2021-05-06

Similar Documents

Publication Publication Date Title
JP7363035B2 (en) Image inspection equipment, programs, image processing equipment, and image forming equipment
JP6232999B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6642161B2 (en) Inspection device, inspection method and program
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
CN101155251B (en) Image processing device and image processing method and image forming device
JP2015179073A (en) Image inspection device, image inspection system and image inspection program
JP6171730B2 (en) Image inspection apparatus, image inspection method, and image inspection program
JP2016035418A (en) Image processing device, output object inspection method, and program
JP2013200585A (en) Image inspection device, image inspection system, and program
US20210073966A1 (en) Image inspection device, image forming device, image inspection method and recording medium
JP2017053673A (en) Inspection device, inspection method, and program
US20200286218A1 (en) Image inspecting apparatus and image forming system
US8867094B2 (en) Printing system, image forming apparatus, and printing method for detecting image defects
JP7183636B2 (en) IMAGE INSPECTION APPARATUS, IMAGE FORMING SYSTEM, IMAGE INSPECTION METHOD, AND PROGRAM
JP7443719B2 (en) Image inspection equipment and image inspection system
JP7367460B2 (en) Image inspection equipment and image inspection system
JP7367461B2 (en) Image inspection equipment and image inspection system
JP7367462B2 (en) Image inspection equipment and image inspection system
JP6665544B2 (en) Inspection device, inspection system, inspection method and program
US10761446B2 (en) Image forming apparatus and computer-readable recording medium storing program
JP6070310B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP2021111117A (en) Image inspection device and image formation device and program
JP2021096535A (en) Image inspection device and image inspection system
JP6477076B2 (en) Image inspection apparatus, image forming system, image inspection method, and image inspection program
JP7413868B2 (en) Inspection equipment, inspection methods and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230530

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230731

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231129

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20231207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240205

R150 Certificate of patent or registration of utility model

Ref document number: 7443719

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150