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

Image inspection equipment and image inspection system Download PDF

Info

Publication number
JP7367461B2
JP7367461B2 JP2019196051A JP2019196051A JP7367461B2 JP 7367461 B2 JP7367461 B2 JP 7367461B2 JP 2019196051 A JP2019196051 A JP 2019196051A JP 2019196051 A JP2019196051 A JP 2019196051A JP 7367461 B2 JP7367461 B2 JP 7367461B2
Authority
JP
Japan
Prior art keywords
image
pixel
classification
pixels
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019196051A
Other languages
Japanese (ja)
Other versions
JP2021071300A (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 JP2019196051A priority Critical patent/JP7367461B2/en
Publication of JP2021071300A publication Critical patent/JP2021071300A/en
Application granted granted Critical
Publication of JP7367461B2 publication Critical patent/JP7367461B2/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 a read image is compared with an output target image, an image defect 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

スジは様々な要因により、用紙に形成された画像の副走査方向又は主走査方向に現れる。例えば、画像形成装置が備える帯電極がトナーなどによって汚れている場合、汚れた箇所の帯電がうまくいかず、結果として、画像の副走査方向にスジとして現れることがある。また、感光体ドラムなどの回転体に不良が生じた場合には、回転体が回転する周期に同期して主走査方向にスジが現れる。 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.

図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 the sheet coincides with the main scanning direction, but the same applies when the printing direction coincides with the sub-scanning direction. Assume that the read image shown in FIG. 1 has two streaks in the sub-scanning direction.

印刷物に連続して発生するスジは目立ちやすく、オペレーターが視認しやすい。しかし、スジがある箇所と、スジがない箇所では、画像の画素値の差分が非常に小さいことが多い。このため、読取画像にスジが存在していても、副走査方向に平均化された画素値の変動は、スジがない他の位置で濃度ムラにより生じた画素値の変動とほとんど変わらなかった。特許文献1に開示された技術は、第1の差分画像において、所定の画素数離れた画素と差分を取った第2の差分画像を生成したものであったが、オペレーターが視認できるようなスジを検出することができなかった。 Streaks that occur continuously on printed matter are easily noticeable and easy for operators to see. However, the difference in pixel values of an image is often very small between areas where there are streaks and areas where there are no streaks. Therefore, even if there were streaks in the read image, the fluctuations in pixel values averaged in the sub-scanning direction were almost the same as the fluctuations in pixel values caused by density unevenness at other positions where there were no streaks. The technique disclosed in Patent Document 1 generates a second difference image by taking the difference between the first difference image and a pixel that is a predetermined number of pixels apart, but it does not create a second difference image that is visible to the operator. could not be detected.

本発明はこのような状況に鑑みて成されたものであり、読取画像に生じるスジ状欠陥を検出できるようにすることを目的とする。 The present invention has been made in view of this situation, and it is an object of the present invention to make it possible to detect streak-like defects that occur in read images.

上述した目的のうち少なくとも一つを実現するために、本発明の一側面を反映した画像検査装置は、画像が形成された記録材から読み取られた読取画像に含まれる複数の画素のうち、注目画素の画素値に対する、注目画素を基準として第1の方向に第1画素数だけ離れた比較画素の画素値の差分値を算出し、差分値を分類閾値で第1及び第2の分類値に分類した分類結果を画素値の変化量として算出する変化量算出部と、分類結果の第1の方向に対して交差する第2の方向ごとに同じ第1の分類値の個数をカウントした第1のカウント結果、及び第2の分類値の個数をカウントした第2のカウント結果を得て、注目画素の位置における第1のカウント結果に含まれる第1の分類値の個数と、第1の方向とは逆方向に第2画素数だけ離れた、比較画素の位置における第2のカウント結果に含まれる第2の分類値の個数とを加算した値を記録材に形成された画像に発生するスジ状欠陥の第2特徴量として抽出し、注目画素の位置における第2のカウント結果に含まれる第1の分類値の個数と、第1の方向とは逆方向に第2画素数だけ離れた、比較画素の位置における第1のカウント結果に含まれる第2の分類値の個数とを加算した値を、記録材に形成された画像に発生するスジ状欠陥の第1特徴量として抽出する特徴量抽出部と、第1の方向の同じ位置ごとに第2特徴量に対する第1特徴量の比率を算出し、予め設定された欠陥検出閾値以上である比率が算出された位置でスジ状欠陥を検出し、記録材に形成された画像の品質を判断する品質判断部と、を備える。
なお、上記の画像検査装置は本発明の一態様であり、本発明の一側面を反映した画像検査システムについても、上記の画像検査装置と同様に構成される。
In order to achieve at least one of the above-mentioned objects, an image inspection apparatus that reflects one aspect of the present invention detects attention among a plurality of pixels included in a read image read from a recording material on which an image is formed. Calculate the difference value between the pixel value of the pixel and 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, and convert the difference value into first and second classification values using a classification threshold. a change amount calculation unit that calculates the classified results as a change amount of pixel values; and a first unit that counts the number of the same first classification values in each second direction that intersects with the first direction of the classification results. and a second count result of counting the number of second classification values, and calculate the number of first classification values included in the first count result at the position of the pixel of interest and the first direction. The value obtained by adding the number of second classification values included in the second count result at the position of the comparison pixel , which is separated by the second number of pixels in the opposite direction from The number of first classification values extracted as the second feature quantity of the defect and included in the second count result at the position of the pixel of interest and the second number of pixels in the opposite direction to the first direction. A feature quantity that is obtained by adding the number of second classification values included in the first count result at the position of the comparison pixel as a first feature quantity of a streak-like defect occurring in an image formed on a recording material. The extraction unit calculates the ratio of the first feature amount to the second feature amount for each same position in the first direction, and detects a streak -like defect at a position where the ratio is equal to or higher than a preset defect detection threshold. and a quality determining section that determines the quality of the image formed on the recording material.
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, since the presence or absence of a visible streak-like defect is detected with high accuracy using the characteristics of the streak, it is possible to improve the quality of an image formed on a recording material.
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の実施の形態に係る画像検査システムの概要構成図である。1 is a schematic configuration diagram of an image inspection system according to a first embodiment of the present invention. 本発明の第1の実施の形態に係る画像形成装置の制御系の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of a control system of an image forming apparatus according to a first embodiment of the present invention. FIG. 本発明の第1の実施の形態に係る画像検査装置の制御系の構成例を示すブロック図である。1 is a block diagram showing a configuration example of a control system of an image inspection apparatus according to a first embodiment of the present invention. FIG. 本発明の第1の実施の形態に係る読取画像の例を示す図である。FIG. 3 is a diagram showing an example of a read image according to the first embodiment of the present invention. 本発明の第1の実施の形態に係る差分画像の例を示す図である。FIG. 3 is a diagram showing an example of a difference image according to the first embodiment of the present invention. 本発明の第1の実施の形態に係る分類結果の例を示す図である。It is a figure showing an example of a classification result concerning a 1st embodiment of the present invention. 本発明の第1の実施の形態に係る欠陥特徴量抽出部がスジ特徴量を抽出する処理の様子を示す図である。FIG. 3 is a diagram illustrating a process in which the defect feature amount extracting unit according to the first embodiment of the present invention extracts a streak feature amount. 本発明の第1の実施の形態に係る検査処理装置で行われる処理の例を示すフローチャートである。3 is a flowchart illustrating an example of processing performed by the inspection processing device according to the first embodiment of the present invention. 本発明の第1の実施の形態の変形例に係る差分画像に含まれる特定の画素値の画素数を垂直方向にカウントした様子、並びに第1及び第2特徴量について示す図である。FIG. 7 is a diagram illustrating how the number of pixels of a specific pixel value included in a difference image according to a modification of the first embodiment of the present invention is counted in the vertical direction, and the first and second feature amounts. 本発明の第2の実施の形態に係る画像検査装置の制御系の構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a control system of an image inspection apparatus according to a second embodiment of the present invention. 本発明の第2の実施の形態に係る読取画像の平坦領域と非平坦領域における画素の画素値と差分値、及び分類閾値の例を示すグラフである。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 the second embodiment of the present invention, and a classification threshold. 本発明の第2の実施の形態に係る検査処理装置で行われる処理の例を示すフローチャートである。It is a flowchart which shows the example of the process performed by the test|inspection processing apparatus based on the 2nd Embodiment of this 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の実施の形態]
<画像検査システムの構成>
本発明者は、読取画像に含まれる注目画素と、注目画素の近くにある比較画素との差分を取ることで、オペレーターが視認可能なスジを検出する画像検査装置を発明した。以下に、第1の実施の形態に係る、読取画像からスジを検出可能な画像検査装置を含む画像検査システムの構成例及び動作例について、図2~図9を参照して説明する。
[First embodiment]
<Configuration of image inspection system>
The present inventor has invented an image inspection device that detects streaks that are visible to an operator by taking the difference between a pixel of interest included in a read image and a comparison pixel located near the pixel of interest. 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 first embodiment will be described with reference to FIGS. 2 to 9.

始めに、図2を参照して、本発明の第1の実施の形態に係る画像検査システムの構成例について説明する。
図2は、本発明の第1の実施の形態に係る画像検査システム1の概要構成図である。なお、図2には、本発明の説明に必要と考える要素又はその関連要素を記載しており、本発明の画像検査システムは図2に示す例に限定されない。
First, with reference to FIG. 2, a configuration example of an image inspection system according to the first embodiment of the present invention will be described.
FIG. 2 is a schematic configuration diagram of the image inspection system 1 according to the first 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 of paper using, for example, 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 processing 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 section 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 explained.
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 device 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 image data acquired from a document read by the image input unit 11 with the ADF 12 or image data acquired from an external source, 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の画像データを「読取画像」と呼ぶ。 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".

読取部45が、画像が形成された用紙Shから読み取った画像は、読取画像603aとして、制御部60のRAM603に保存される。また、検査処理装置5が、画像形成装置2から受け取ったRIP処理済みの印刷用画像データが、出力対象画像603bとしてRAM603に保存される。後述する第2の実施の形態にて説明するように、出力対象画像603bについても、読取画像603aの検査に使用されることがある。なお、読取画像603a及び出力対象画像603bは、大容量のHDD等で構成される記憶部63に保存されてもよい。また、測色計46から画像検査装置3に出力される色濃度の情報が、読取画像603a及び出力対象画像603bに含まれてもよい。 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. As explained in the second embodiment described later, the output target image 603b may also be used for inspecting the read image 603a. Note that 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を備える。 The control unit 60 includes a CPU 601, a ROM 602, a RAM 603, a change amount calculation unit 611, a defect feature amount extraction unit 612, and a quality determination unit 613.

CPU601は、ROM602に保存されたプログラムを読み出すことにより、画像検査装置3を構成する各部の制御を行う。CPU601がROM602から読み出したプログラムを実行することで、変化量算出部611、欠陥特徴量抽出部612及び品質判断部613の各機能が実現される。 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 change amount calculation section 611, the defect feature amount extraction section 612, and the quality judgment section 613 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、分類結果603d及びパラメータ603eも保存される。 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 image 603c1, the classification result 603d, and the parameter 603e are also stored in the RAM 603.

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

変化量算出部611は、読取画像603aに含まれる複数の画素のうち、注目画素の画素値に対する、注目画素を基準として第1の方向に第1画素数だけ離れた比較画素の画素値の差分値を算出し、差分値を分類閾値で第1及び第2の分類値に分類した分類結果603dを画素値の変化量として算出する。以下、第1の方向を主走査方向、第2の方向を副走査方向として説明する。ただし、検出対象とするスジの方向が主走査方向であれば、第1の方向を副走査方向、第2の方向を主走査方向としてもよい。つまり、第1の方向は、印字方向に平行な水平方向、又は印字方向に垂直な垂直方向のいずれかである。また、本実施の形態では、第1画素数を“3”とする。 The change amount calculation unit 611 calculates the difference between the pixel value of a pixel of interest among a plurality of pixels included in the read image 603a and the pixel value of a comparison pixel that is separated by a first number of pixels in a first direction with respect to the pixel of interest as a reference. A classification result 603d in which the difference value is classified into first and second classification values using a classification threshold is calculated as the amount of change in pixel value. 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".

例えば、変化量算出部611は、読取画像603aに含まれる複数の画素から選択した注目画素の画素値と、比較画素の画素値との差分値を算出する。そして、変化量算出部611は、読取画像603aの他の画素に対しても同様の処理を行って算出した差分値を含む差分画像603c1を生成する。このとき、変化量算出部611は、読取画像603aを水平又は垂直方向に所定画素数だけシフトして得たシフト画像(不図示)と、シフト前の読取画像603aとの差分をとって差分画像603c1を生成することが可能である。シフトとは、注目画素に対して比較画素を決定するための画素間の距離を表す。差分画像603c1の詳細については、後述する図6にて説明する。 For example, the change amount calculation unit 611 calculates a difference value between the pixel value of a pixel of interest selected from a plurality of pixels included in the read image 603a and the pixel value of a comparison pixel. Then, the change amount calculating unit 611 generates a difference image 603c1 including difference values calculated by performing similar processing on other pixels of the read image 603a. At this time, the change amount calculation unit 611 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 a comparison pixel with respect to the pixel of interest. Details of the difference image 603c1 will be explained later with reference to FIG. 6.

また、変化量算出部611は、差分画像603c1に含まれる各画素の差分値の大きさ及び符号に基づいて、画素毎に複数に分類した分類結果603dを変化量として生成する。上述したように分類結果603dは、変化量算出部611が、差分画像603c1に含まれる複数の画素ごとに、差分値を分類閾値で分類(3値化)した結果として表される。分類閾値は、パラメータ603eに設定される値である。 Further, the change amount calculation unit 611 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. As described above, the classification result 603d is expressed as a result of the change amount calculation unit 611 classifying (ternarizing) the difference value using the classification threshold for each of the plurality of pixels included in the difference image 603c1. The classification threshold is a value set in the parameter 603e.

本実施の形態では、変化量算出部611が分類閾値を参照して、差分画像603c1に含まれる各画素の差分値を、画素ごとに3値化する処理を「多値化」という。分類閾値によっては、変化量算出部611が差分画像603c1の差分値を2値化、4値化等に多値化してもよい。また、分類閾値は、画像検査の開始前に、予め設定される値であり、読取画像603aの解像度、用紙Shに形成された画像の種類等によって異なる値が設定されることがある。分類結果603dの詳細については、後述する図7にて説明する。 In this embodiment, the process in which the change amount calculation unit 611 converts the difference value of each pixel included in the difference image 603c1 into three values for each pixel by referring to the classification threshold value is referred to as "multi-value conversion". Depending on the classification threshold value, the change amount calculation unit 611 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 may be set to a different value depending on the resolution of the read image 603a, the type of image formed on the paper Sh, etc. Details of the classification result 603d will be explained later with reference to FIG.

欠陥特徴量抽出部612は、副走査方向にある複数の画素に基づいて算出された変化量に基づいて、用紙Shに形成された画像に発生するスジ状欠陥の特徴量(「スジ特徴量」と呼ぶ)を抽出する。例えば、欠陥特徴量抽出部612は、スジが発生する方向が副走査方向である場合に、主走査方向の所定位置ごとに分類結果603dを副走査方向に参照して、平均化結果(3値化平均化結果)からスジ特徴量を抽出する。3値化平均化結果は、変化量算出部611が分類閾値で分類して多値化した差分値を、欠陥特徴量抽出部612が平均化して得る結果であり、後述する図8の中段に示す3値化平均値で表すグラフで示される。スジ特徴量の詳細については、後述する図8にて説明する。 The defect feature amount extraction unit 612 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 calculated 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 612 refers to the classification result 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 612 averaging the difference values that the change amount calculating unit 611 classifies using the classification threshold value and converts into multivalued values. It is shown in a graph expressed by the ternary average value shown below. Details of the streak feature amount will be explained later with reference to FIG. 8.

そして、欠陥特徴量抽出部612は、主走査方向の所定位置ごとに副走査方向にある分類結果603dを参照して、分類結果603dの分類ごとに画素数をカウントしたカウント結果を得る(後述する図10を参照)。欠陥特徴量抽出部612は、スジが発生する方向が副走査方向である場合に、比較画素がある方向とは反対方向に、注目画素から第1画素数だけ離れた位置で得られたカウント結果を参照して特徴量を抽出することができる。 Then, the defect feature extraction unit 612 refers to the classification result 603d in the sub-scanning direction for each predetermined position in the main-scanning direction, and obtains a count result of counting the number of pixels for each classification of the classification result 603d (described later). (see Figure 10). The defect feature extraction unit 612 extracts the count result obtained at a position that is a first number of pixels away from the pixel of interest in the opposite direction to the direction in which the comparison pixel is located when the direction in which streaks occur is the sub-scanning direction. Features can be extracted by referring to .

品質判断部613は、主走査方向の同じ位置ごとに、複数のスジ特徴量から算出した値と、予め設定された欠陥検出閾値とを比較してスジ状欠陥を検出し、用紙Shに形成された画像の品質を判断する。この際、品質判断部613は、主走査方向における注目画素の所定位置でのカウント結果と、注目画素から離れた位置で参照したカウント結果との比率に基づいてスジ状欠陥を検出する(後述する図10を参照)。 The quality determining unit 613 detects streak-like defects by comparing values calculated from a plurality of streak feature amounts with a preset defect detection threshold for each same position in the main scanning direction, and detects streak-like defects formed on the paper Sh. judge the quality of the image. At this time, the quality judgment unit 613 detects a streak-like defect based on the ratio between the count result at a predetermined position of the pixel of interest in the main scanning direction and the count result referenced at a position away from the pixel of interest (described later). (see Figure 10).

品質判断部613は、スジ特徴量からスジを検出しなければ読取画像603aを正常と判断する。一方、品質判断部613は、スジ特徴量からスジを検出すれば読取画像603aを異常と判断する。そして、品質判断部613は、読取画像603aの元となったページのページ番号等を含むスジ検出結果631を記憶部63に保存する。 The quality determining unit 613 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 613 detects streaks from the streak feature amount, it determines that the read image 603a is abnormal. The quality determining unit 613 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にて自動的に、又はオペレーターの手動により実施される。 The control unit 60 also instructs the image forming apparatus 2 through the communication I/F unit 61 to reprint the page corresponding to the read image 603a written as having streaks in the streak detection result 631 (referred to as “recovery processing”). 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は、読取画像603aの例を示す図である。読取画像603aは、R,G,Bのいずれかのチャンネルの画素値を、図中に1マスで表す画素毎に示したものである。
Next, examples of read images, image shifts, difference images, classification results, and streak detection will be explained in order.
FIG. 5 is a diagram showing an example of a read image 603a. The read image 603a shows the pixel value of one of the R, G, and B channels for each pixel represented by one square in the figure.

画素値は、R,G,Bのチャンネルごとに“0”~“255”の間の数字をとる。図中には、注目画素と比較画素の例を示した。比較画素は、注目画素から見て水平方向に1画素数(例えば、3画素)だけシフトした位置の画素である。なお、比較画素は、注目画素から見て水平方向に1画素だけシフトした位置の画素としてもよい。注目画素と比較画素の関係は、他の画素についても成り立つ。 The pixel value takes a number between "0" and "255" for each R, G, and B channel. In the figure, an example of a pixel of interest and a comparison pixel is shown. The comparison pixel is a pixel at a position shifted by one pixel (for example, three pixels) in the horizontal direction when viewed from the pixel of interest. Note that the comparison pixel may be a pixel at a position shifted by one pixel in the horizontal direction when viewed from the pixel of interest. The relationship between the pixel of interest and the comparison pixel also holds true for other pixels.

変化量算出部611は、注目画素の画素値から比較画素の画素値を減じて差分値を得る。
図6は、差分画像603c1の例を示す図である。
The change amount calculation unit 611 subtracts the pixel value of the comparison pixel from the pixel value of the pixel of interest to obtain a difference value.
FIG. 6 is a diagram showing an example of the difference image 603c1.

上述したように変化量算出部611が生成した差分画像603c1は、注目画素と比較画素との差分値を、注目画素の位置に格納したものとなる。例えば、図5に示した読取画像603aの注目画素の画素値が“79”、比較画素の画素値が“90”であるので、差分値は、“-11”(=79-90)となる。このような計算が、読取画像603aに含まれる他の画素においても行われ、差分画像603c1が生成される。 The difference image 603c1 generated by the change amount calculation unit 611 as described above is an image in which the difference value between the pixel of interest and the comparison pixel is stored at the position of the pixel of interest. For example, since the pixel value of the target pixel in the read image 603a shown in FIG. 5 is "79" and the pixel value of the comparison pixel is "90", the difference value is "-11" (=79-90). . Such calculations are performed on other pixels included in the read image 603a, and a difference image 603c1 is generated.

上述したように差分画像603c1には、注目画素ごとに差分値が格納される。しかし、差分値のままでは、読取画像603aにスジがある箇所と、スジがない箇所との差が小さいので、スジを検出しにくい。そこで、パラメータ603eに2つの閾値を設定し、変化量算出部611が、2つの閾値を用いて、各画素の差分値を3種類に分類した分類結果603dを得るための3値化処理を行う。
図7は、分類結果603dの例を示す図である。
As described above, the difference image 603c1 stores a difference value for each pixel of interest. However, if the difference value remains unchanged, it is difficult to detect the streak because the difference between the area where there is a line in the read image 603a and the area where there is no line is small. Therefore, two threshold values are set for the parameter 603e, and the change amount calculation unit 611 uses the two threshold values to perform ternarization processing to obtain a classification result 603d in which the difference value of each pixel is classified into three types. .
FIG. 7 is a diagram showing an example of the classification result 603d.

本実施の形態では、パラメータ603eに、第1分類閾値として“+8”、第2分類閾値として“-8”が設定されている。変化量算出部611は、差分値が第1分類閾値より大きい画素の差分値を“255”に置き換え、差分値が第2分類閾値より小さい画素の差分値を“0”に置き換える。また、変化量算出部611は、差分値が第2分類閾値以上、かつ第1分類閾値以下である画素の差分値を“128”に置き換える。図7より、差分画像603c1に含まれる各画素の差分値は、“0”、“128”、“255”のいずれかに置き換わったことが示される。 In this embodiment, "+8" is set as the first classification threshold and "-8" is set as the second classification threshold in the parameter 603e. The change amount calculation unit 611 replaces the difference value of a pixel whose difference value is larger than the first classification threshold value with "255", and replaces the difference value of a pixel with a difference value smaller than the second classification threshold value with "0". Further, the change amount calculation unit 611 replaces the difference value of a pixel whose difference value is greater than or equal to the second classification threshold and less than or equal to the first classification threshold to “128”. FIG. 7 shows that the difference value of each pixel included in the difference image 603c1 has been replaced with one of "0", "128", and "255".

なお、第1分類閾値及び第2分類閾値は、品質判断部613が検出対象とするスジの濃さ(画素値の階調差)に基づいて調整される。例えば、スジのない領域では、大半の画素の差分値が“128”に置き換えられるような閾値が設定されるとよい。 Note that the first classification threshold and the second classification threshold are adjusted based on the density of the streak (gradation difference in pixel values) that the quality determination unit 613 detects. For example, in an area without streaks, a threshold value may be set such that the difference values of most pixels are replaced with "128".

ここで、スジ特徴量の抽出処理について、図8を参照して説明する。
図8は、欠陥特徴量抽出部612がスジ特徴量を抽出する処理の様子を示す図である。
Here, the extraction process of the streak feature amount will be explained with reference to FIG. 8.
FIG. 8 is a diagram showing how the defect feature extraction unit 612 extracts the streak feature.

図8の上段には、読取画像603aの中で事前に判明している平坦な画像の領域(「平坦領域」と呼ぶ)を主走査位置で示される特定の位置毎に、画素値を副走査方向で平均化した平均化結果のグラフが示される。
画素値の平均化結果を示すグラフより、主走査位置が“14”である箇所にスジがあることが示される。スジがある位置の画素値は、周辺の画素値と比較して、少し変動が大きいことが分かる。しかし、この変動が、ノイズ又はスジのいずれが影響して生じたのかは明確でない。
In the upper part of FIG. 8, pixel values are sub-scanned for each specific position indicated by the main-scanning position in a flat image area (referred to as a "flat area") that is known in advance in the read image 603a. A graph of the averaged results averaged by direction is shown.
The graph showing the averaged pixel values shows that there is a streak at the main scanning position "14". It can be seen that the pixel values at the position where the stripe is located vary a little more than the surrounding pixel values. However, it is not clear whether this variation is caused by noise or streaks.

図8の中段には、3値化平均化結果のグラフが示される。
欠陥特徴量抽出部612は、副走査方向にある分類結果603dを参照し、各画素の値を平均化する。この処理により、欠陥特徴量抽出部612は、分類結果603dの各画素の値(3値化した値)を副走査方向に平均化して3値化平均値をグラフで表した3値化平均化結果を得る。読取画像603aにノイズがなければ、3値化平均値は128となる。図中に破線の円で示す主走査位置が“10”、“14”の位置が“128”に対して差分が大きい箇所である。しかし、これらの位置にある3値化平均値は、周辺にある3値化平均値との差分が小さいため、スジとして検出し、ノイズから分離することが難しい。
In the middle part of FIG. 8, a graph of the ternary averaging results is shown.
The defect feature extraction unit 612 refers to the classification result 603d in the sub-scanning direction and averages the values of each pixel. Through this process, the defect feature amount extraction unit 612 averages the values (ternarized values) of each pixel of the classification result 603d in the sub-scanning direction, and performs ternarization averaging to represent the ternary average value in a graph. Get results. If there is no noise in the read image 603a, the ternary average value will be 128. The main scanning position indicated by a broken line circle in the figure is "10", and the position "14" has a large difference from "128". However, since the difference between the ternary average values at these positions and the surrounding ternary average values is small, it is difficult to detect them as streaks and separate them from noise.

そこで、欠陥特徴量抽出部612は、3値化平均化結果からスジ特徴量を抽出する。
図8の下段には、欠陥特徴量抽出部612が算出したスジ特徴量のグラフが示される。
欠陥特徴量抽出部612は、3値化平均化結果に基づいて、ある主走査位置の3値化平均値と、この主走査位置に対して水平方向に3画素だけ異なる主走査位置の3値化平均値との差分をとり、差分値の絶対値を算出する。
Therefore, the defect feature extraction unit 612 extracts the streak feature from the ternary averaging result.
In the lower part of FIG. 8, a graph of the streak feature amount calculated by the defect feature amount extraction unit 612 is shown.
The defect feature extraction unit 612 extracts a ternary average value at a certain main scanning position and a ternary value at a main scanning position that differs by 3 pixels in the horizontal direction from this main scanning position, based on the ternary averaging result. The absolute value of the difference value is calculated by taking the difference from the average value.

品質判断部613は、スジ特徴量が、パラメータ603eから読み出した欠陥検出閾値(図中に破線で示す値)の“40”以上であれば、スジとして検出する設定がされている。そして、品質判断部613は、主走査位置が“14”の位置に大きな値があると判断する。この場合、品質判断部613は、主走査位置が“14”の位置にスジを検出することができる。そして、品質判断部613は、用紙Shに形成された画像を異常と判断する。 The quality determining unit 613 is set to detect a streak as a streak if the streak feature amount is equal to or higher than the defect detection threshold (value indicated by a broken line in the figure) of "40" read from the parameter 603e. Then, the quality determining unit 613 determines that there is a large value at the main scanning position "14". In this case, the quality determining unit 613 can detect a streak at the main scanning position "14". Then, the quality determining unit 613 determines that the image formed on the paper Sh is abnormal.

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

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

次に、変化量算出部611は、パラメータ603eから読み出した第1分類閾値及び第2分類閾値に基づいて、差分画像603c1の3値化処理を行い、各画素に3値化した値を含む分類結果603d(例えば、図7)を生成する(S3)。 Next, the change amount calculation unit 611 performs ternarization processing on the difference image 603c1 based on the first classification threshold and the second classification threshold read from the parameter 603e, and classifies the difference image 603c1 including the ternarized value for each pixel. A result 603d (eg, FIG. 7) is generated (S3).

次に、欠陥特徴量抽出部612は、分類結果603dに基づいて、スジ特徴量(例えば、図8の下段)を抽出する(S4)。そして、品質判断部613は、抽出されたスジ特徴量を、パラメータ603eから読み出した欠陥検出閾値と比較して、スジを検出し(S5)、読取画像603aの品質を判断する。品質判断部613は、スジ検出結果631を記憶部63に書き込む。その後、検査処理装置5は、本処理を終了する。 Next, the defect feature amount extracting unit 612 extracts the streak feature amount (for example, the lower part of FIG. 8) based on the classification result 603d (S4). The quality determining unit 613 then compares the extracted streak feature amount with the defect detection threshold read out from the parameter 603e to detect streaks (S5) and determines the quality of the read image 603a. The quality determination unit 613 writes the streak detection result 631 into the storage unit 63. After that, the inspection processing device 5 ends this process.

以上説明した第1の実施の形態に係る検査処理装置5では、読取画像603aを数画素分シフトして得たシフト画像と、読取画像603aとの差分をとって差分画像603c1を得た後、差分画像603c1を3値化し、スジ特徴量を抽出することで、読取画像603aにおけるスジを検出する。この検査処理装置5は、読取画像603a内でスジが発生した領域が平坦であっても、検査処理装置5がスジを検出できるので、スジの検出精度が向上する。 In the inspection processing device 5 according to the first embodiment described above, after obtaining the difference image 603c1 by calculating the difference between the shifted image obtained by shifting the read image 603a by several pixels and the read image 603a, Streaks in the read image 603a are detected by converting the difference image 603c1 into three values and extracting the streak feature amount. The inspection processing device 5 can detect the stripes even if the area where the stripes occur in the read image 603a is flat, so that the detection accuracy of the stripes is improved.

[第1の実施の形態の変形例]
なお、図8には、分類結果を平均化する例を示したが、欠陥特徴量抽出部612が、分類値をカウントした比率に基づいて、スジを検出してもよい。ここでは、本変形例に係る欠陥特徴量抽出部612及び品質判断部613の処理について説明する。
[Modification of the first embodiment]
Although FIG. 8 shows an example in which the classification results are averaged, the defect feature extraction unit 612 may detect streaks based on the ratio of the classification values counted. Here, processing by the defect feature extracting unit 612 and quality determining unit 613 according to this modification will be described.

欠陥特徴量抽出部612は、分類結果603dの主走査方向に対して交差する副走査方向ごとに同じ第1の分類値の個数をカウントした第1のカウント結果、及び第2の分類値の個数をカウントした第2のカウント結果を得て、第1のカウント結果に含まれる第1の分類値の個数と、主走査方向に第2画素数だけ離れた、第2のカウント結果に含まれる第2の分類値の個数とを加算した値を、記録材に形成された画像に発生するスジ状欠陥の複数の特徴量として抽出する。 The defect feature extraction unit 612 extracts a first count result obtained by counting the number of the same first classification values in each sub-scanning direction intersecting the main scanning direction of the classification result 603d, and the number of second classification values. The number of first classification values included in the first count result and the number of first classification values included in the second count result separated by the second number of pixels in the main scanning direction are obtained. A value obtained by adding the number of classification values of No. 2 is extracted as a plurality of feature amounts of a streak-like defect occurring in an image formed on a recording material.

そして、品質判断部613は、主走査方向に沿って、複数の特徴量から算出した値と、予め設定された欠陥検出閾値とを比較してスジ状欠陥を検出し、記録材に形成された画像の品質を判断する。この際、品質判断部613は、複数の特徴量として、主走査方向の同じ位置にある第1特徴量及び第2特徴量の比率が、欠陥検出閾値以上である場合に、スジ状欠陥を検出する。 Then, the quality judgment unit 613 detects a streak-like defect by comparing the value calculated from the plurality of feature amounts with a preset defect detection threshold along the main scanning direction, and detects a streak-like defect formed on the recording material. Determine the quality of the image. At this time, the quality judgment unit 613 detects a streak-like defect when the ratio of the first feature amount and the second feature amount at the same position in the main scanning direction as the plurality of feature amounts is equal to or higher than the defect detection threshold. do.

具体的なスジ状欠陥の検出方法について、図10を参照して説明する。
図10は、差分画像603c1に含まれる特定の画素値の画素数を垂直方向にカウントした様子、並びに第1及び第2特徴量について示す図である。
A specific method for detecting streaky defects will be described with reference to FIG. 10.
FIG. 10 is a diagram showing how the number of pixels of a specific pixel value included in the difference image 603c1 is counted in the vertical direction, and the first and second feature amounts.

図10の上側に示すように、欠陥特徴量抽出部612は、第1及び第2のカウント結果を得る。図中に示す、“+8”は、図7にて説明した第1分類閾値を表し、“-8”は、第2分類閾値を表す。そして、図10には、欠陥特徴量抽出部612が、差分画像603c1の副走査方向に“+8”より大きい画素値を含む画素の個数をカウントした第1のカウント結果と、差分画像603c1の副走査方向に“-8”より小さい画素値を含む画素の個数をカウントした第2のカウント結果とが示される。 As shown in the upper part of FIG. 10, the defect feature extraction unit 612 obtains first and second count results. "+8" shown in the figure represents the first classification threshold explained in FIG. 7, and "-8" represents the second classification threshold. FIG. 10 shows the first count result obtained by the defect feature extraction unit 612 counting the number of pixels including a pixel value greater than "+8" in the sub-scanning direction of the difference image 603c1, and the sub-scanning result of the difference image 603c1. A second count result obtained by counting the number of pixels including a pixel value smaller than "-8" in the scanning direction is shown.

つまり、第1及び第2のカウント結果は、欠陥特徴量抽出部612が、分類結果603dに含まれる分類値の個数を副走査方向に、分類値ごと(例えば、“0”、“255”ごと)にカウントした値とも言える。このため、欠陥特徴量抽出部612は、分類結果603dに含まれる画素の分類値に対して、例えば“200”より大きい分類値を含む画素の個数をカウントした第1のカウント結果と、差分画像603c1の副走査方向に“100”より小さい分類値を含む画素の個数をカウントした第2のカウント結果とを求めてもよい。 In other words, the first and second count results are determined by the defect feature extraction unit 612, which calculates the number of classification values included in the classification result 603d for each classification value (for example, for each “0” or “255”) in the sub-scanning direction. ) can also be said to be the value counted. For this reason, the defect feature extraction unit 612 uses a first count result obtained by counting the number of pixels including a classification value larger than "200", for example, with respect to the classification value of the pixel included in the classification result 603d, and a difference image. A second count result may be obtained by counting the number of pixels including a classification value smaller than "100" in the sub-scanning direction of 603c1.

図10には、主走査位置が一致するように第1及び第2のカウント結果が並べられた様子が示される。そして、欠陥特徴量抽出部612は、カウントした結果を、水平方向に3画素(第2画素数の一例)だけ離れた比較画素列にあるカウントした結果と合算する。このとき、欠陥特徴量抽出部612は、分類結果603dの主走査方向の注目画素列の画素71の位置における第1のカウント結果と、注目画素列の画素71の位置から第2画素数(例えば、3画素)だけ離れた、第2のカウント結果とを加算した値を第1特徴量として抽出する。また、欠陥特徴量抽出部612は、分類結果603dの主走査の注目画素列の画素72の位置における第2のカウント結果と、注目画素列の画素72の位置から第2画素数だけ離れた、第1のカウント結果とを加算した値を第2特徴量として抽出する。 FIG. 10 shows how the first and second count results are arranged so that the main scanning positions match. Then, the defect feature extracting unit 612 adds the counted result to the counted result in a comparison pixel row that is horizontally separated by three pixels (an example of the second number of pixels). At this time, the defect feature extracting unit 612 uses the first count result at the position of pixel 71 of the pixel column of interest in the main scanning direction of the classification result 603d and the second number of pixels (for example, , 3 pixels) and the second count result is extracted as the first feature quantity. Furthermore, the defect feature extracting unit 612 uses the second count result at the position of the pixel 72 of the pixel column of interest in the main scan of the classification result 603d, and the second count result at the position of the pixel 72 of the pixel column of interest in the main scanning, and the second count result at the position of the pixel 72 of the pixel column of interest in the main scanning of the classification result 603d. A value obtained by adding the first count result is extracted as a second feature quantity.

欠陥特徴量抽出部612がカウントした結果の合算値は、図10の下側に示す第1特徴量及び第2特徴量として表される。第1特徴量は、注目画素列の“-8”より小さい画素のカウント結果と比較画素列の“+8”より大きい画素のカウント結果を合算した値である。例えば、注目画素列の画素72のカウント結果“9”と、比較画素列の画素81のカウント結果“9”を合算した値“18”(第1特徴量)が、第1特徴量の画素91に格納される。 The total value of the results counted by the defect feature amount extraction unit 612 is expressed as a first feature amount and a second feature amount shown in the lower part of FIG. 10 . The first feature amount is the sum of the count result of pixels smaller than "-8" in the pixel column of interest and the count result of pixels larger than "+8" in the comparison pixel column. For example, the value "18" (first feature quantity) which is the sum of the count result "9" of pixel 72 in the pixel column of interest and the count result "9" of pixel 81 in the comparison pixel column is the value "18" (first feature quantity) of pixel 91 of the first feature quantity. is stored in

また、第2特徴量は、注目画素列の“+8”より大きい画素のカウント結果と比較画素列の“-8”より小さい画素のカウント結果を合算した値である。例えば、注目画素列の画素71のカウント結果“1”と、比較画素列の画素82のカウント結果“0”を合算した値“1”(第2特徴量)が、第2特徴量の画素92に格納される。 Further, the second feature amount is the sum of the count result of pixels larger than "+8" in the pixel column of interest and the count result of pixels smaller than "-8" in the comparison pixel column. For example, the value "1" (second feature quantity) that is the sum of the count result "1" of pixel 71 in the pixel column of interest and the count result "0" of pixel 82 in the comparison pixel column is the value "1" (second feature quantity) of pixel 92 of the second feature quantity. is stored in

そして、品質判断部613は、同じ画素列ごとに、第1特徴量と第2特徴量の比率を算出する。この比率が10倍以上である場合、品質判断部613は、注目画素列の主走査位置でスジを検出する。図10では、18/1=18(倍)の比率が算出されるため、注目画素列でスジが検出される。なお、スジの検出に用いられる比率の閾値は、パラメータ603eに格納されており、オペレーターが適宜変更することが可能である。 Then, the quality determining unit 613 calculates the ratio between the first feature amount and the second feature amount for each same pixel column. If this ratio is 10 times or more, the quality determining unit 613 detects a streak at the main scanning position of the pixel column of interest. In FIG. 10, since the ratio of 18/1=18 (times) is calculated, a streak is detected in the pixel column of interest. Note that the ratio threshold used for detecting streaks is stored in the parameter 603e, and can be changed by the operator as appropriate.

また、検出が要求されるスジの濃さに合わせて、図7に示した第1分類閾値及び第2分類閾値が調整されていれば、品質判断部613は、同じ画素列ごとに、第1特徴量と第2特徴量の比率を算出せず、第1特徴量又は第2特徴量からスジを検出してもよい。 Furthermore, if the first classification threshold and the second classification threshold shown in FIG. The streaks may be detected from the first feature amount or the second feature amount without calculating the ratio between the feature amount and the second feature amount.

なお、幅の広いスジは、スジによる影響(画素値の変化)がなだらかである。このため、注目画素に対して比較画素として抽出する画素の位置が近過ぎると、比較画素との差分が小さくなってスジを検出できない。一方で、注目画素に対して比較画素が遠すぎると、狭い平坦領域に生じたスジを検出できない。 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.

そこで、変化量算出部611が差分画像603c1を得るために算出する第1画素数は、異なる複数の値(例えば、3画素、5画素、7画素、15画素)としてよい。そして、変化量算出部611は、異なる複数の値ごとに算出した差分値を注目画素の位置に格納した複数の差分画像603c1を生成してもよい。変化量算出部611が注目画素に対してシフトする比較画素のシフト数をパラメータ603eに、複数設定し、1つの注目画素に対して、異なるシフト数でシフトした比較画素との差分を求めることにより、スジの有無を並列で解析してもよい。このような処理により、欠陥特徴量抽出部612は、複数の差分画像603c1からそれぞれスジ特徴量を抽出し、品質判断部613は、抽出されたスジ特徴量からスジを検出してもよい。これにより、スジの太さによらず、読取画像603aに現れたスジを検出することができる。 Therefore, the first number of pixels calculated by the change amount calculation unit 611 to obtain the difference image 603c1 may be a plurality of different values (for example, 3 pixels, 5 pixels, 7 pixels, 15 pixels). Then, the change amount calculation unit 611 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 603e, the change amount calculation unit 611 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 612 may extract the streak feature from each of the plurality of difference images 603c1, and the quality determining unit 613 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.

[第2の実施の形態]
<平坦画像の領域以外の領域に現れるスジの検出>
上述した実施の形態では、読取画像603aのうち、平坦領域に現れるスジを検出する処理の例を説明した。平坦領域であれば、分類閾値は検出対象とするスジの濃さ(画素値の階調差)に応じて変動させればよい。そこで、変化量算出部611は、読取画像603aから平坦領域のみを抽出して差分画像603c1を生成した後、欠陥特徴量抽出部612がスジ特徴量を抽出し、品質判断部613が、抽出された領域だけを対象としてスジを検出すればよい。
[Second embodiment]
<Detection of streaks appearing in areas other than flat image areas>
In the embodiment described above, an example of processing for detecting streaks appearing in a flat area in the read image 603a has been described. 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 611 extracts only the flat area from the read image 603a to generate a difference image 603c1, and then the defect feature extraction unit 612 extracts the streak feature, and the quality determination unit 613 extracts the flat area from the read image 603a. It is sufficient to detect streaks by targeting only the areas that have been detected.

しかし、実際の印刷物には、平坦領域だけでなく、平坦でない画像の領域(「非平坦領域」と呼ぶ)が現れる。例えば、画素値の変動量が小さいグラデーションがあるような非平坦領域に乗ったスジは目立ってしまう。そこで、第2の実施の形態では、検査処理装置5Aが、非平坦領域に現れるスジを検出する処理について説明する。 However, in actual printed matter, not only flat areas but also non-flat image areas (referred to as "non-flat areas") appear. 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. Therefore, in the second embodiment, a process in which the inspection processing apparatus 5A detects streaks appearing in a non-flat area will be described.

図11は、画像検査装置3の制御系の構成例を示すブロック図である。本実施の形態に係る画像検査装置3が備える検査処理装置5Aでは、用紙Shに画像を形成するために使用されるRIP画像が画像形成装置2から検査装置3Aに送られると、RIP画像から印刷物の非平坦領域における画素値の変動量を抽出し、抽出した変動量に基づいて、3値化する閾値を変動させる。 FIG. 11 is a block diagram showing a configuration example of a control system of the image inspection apparatus 3. As shown in FIG. In the inspection processing device 5A included in the image inspection device 3 according to the present embodiment, when the RIP image used to form an image on the paper Sh is sent from the image forming device 2 to the inspection device 3A, the RIP image is converted into a printed material. The amount of variation in pixel values in the non-flat region is extracted, and the threshold value for ternarization is varied based on the extracted amount of variation.

検査処理装置5Aの制御部60は、上述した第1の実施の形態に係る変化量算出部611、欠陥特徴量抽出部612及び品質判断部613に加えて、画像変換部615及び位置合わせ部616を備える。本実施の形態においても、CPU601がROM602から読み出したプログラムを実行することで、画像変換部615及び位置合わせ部616の各機能が実現される。 The control unit 60 of the inspection processing device 5A includes an image conversion unit 615 and an alignment unit 616 in addition to the change amount calculation unit 611, defect feature amount extraction unit 612, and quality determination unit 613 according to the first embodiment described above. Equipped with. Also in this embodiment, each function of the image conversion section 615 and the alignment section 616 is realized by the CPU 601 executing the program read from the ROM 602.

RAM603に保存される出力対象画像603bは、事前に画像形成装置2の制御部50でラスタライズ処理(RIP処理)が施されたビットマップ形式の画像である。この出力対象画像603bは、画像形成装置2が用紙Shに形成する画像の元となる。なお、オペレーターにより事前に正しいと判断された画像であって、読取部45によって予め読取られた画像が出力対象画像603bとして用いられてもよい。 The output target image 603b stored in the RAM 603 is a bitmap image that has been subjected to rasterization processing (RIP processing) in advance by the control unit 50 of the image forming apparatus 2. This output target image 603b becomes the source of the image that the image forming apparatus 2 forms on the paper Sh. 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.

出力対象画像603bは、画像形成装置2で用紙Shに画像形成するために用いられるのでCMYKのカラーモードが設定されている。そこで、画像変換部615は、出力対象画像603bのカラーモードを、読取画像603aのカラーモードに合わせる画像変換を行う。ここで、読取画像603aのカラーモードは、RGBである。このため、画像変換部615は、出力対象画像603bのカラーモードをCMYKからRGBに変換する。以下の説明では、出力対象画像603bを、カラーモードがRGBに変換済みであるものとして説明する。 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. Therefore, the image conversion unit 615 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 615 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.

位置合わせ部616は、出力対象画像603bと、画像が形成された用紙Shから読み取られた読取画像603aとの印字位置を合わせる(「位置合わせ」と呼ぶ)。この時、位置合わせ部616は、RAM603から読み出した読取画像603aを、RAM603に予め保存されている出力対象画像603bの位置に合わせる。 The alignment unit 616 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"). At this time, the alignment unit 616 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.

そして、変化量算出部611は、出力対象画像603bと、出力対象画像603bをシフトした画像との差分をとって差分画像603c2を生成する。差分画像603c2は、第1の実施の形態で説明した、読取画像603aのシフト画像と、シフト前の読取画像603aとの差分をとった差分画像603c1と共にRAM603に保存される。 Then, the change amount calculation unit 611 generates a difference image 603c2 by calculating the difference between the output target image 603b and an image obtained by shifting the output target image 603b . The difference image 603c2 is stored in the RAM 603 together with the difference image 603c1, which is obtained by calculating the difference between the shifted image of the read image 603a and the read image 603a before shifting, as described in the first embodiment.

また、変化量算出部611は、差分画像603c2に基づいて、分類結果603dを作るために参照する閾値画像603fを生成する。この際、変化量算出部611は、位置合わせ部616により位置合わせされた読取画像603aの画素値の変動に合わせて、分類閾値を変動させる。閾値画像603fは、後述する図12に示す第1分類閾値A、第2分類閾値Bで規定される2種類の画像であり、RAM603に保存される。変化量算出部611は、生成した閾値画像603fに基づいて、差分画像603c1を3値化して、分類結果603dを得る。 Further, the change amount calculation unit 611 generates a threshold image 603f that is referred to in order to create the classification result 603d, based on the difference image 603c2. At this time, the change amount calculation unit 611 changes the classification threshold according to the change in the pixel value of the read image 603a aligned by the alignment unit 616. The threshold images 603f are two types of images defined by a first classification threshold A and a second classification threshold B shown in FIG. 12, which will be described later, and are stored in the RAM 603. The change amount calculation unit 611 ternarizes the difference image 603c1 based on the generated threshold image 603f to obtain a classification result 603d.

図12は、RIP処理が施された出力対象画像603bの平坦領域と非平坦領域における画素の画素値と差分値、及び分類閾値の例を示すグラフである。このグラフの横軸は主走査位置を表し、縦軸は、3種類の値(画素値、差分値及び分類閾値)を表す。また、平坦領域及び非平坦領域は、図12の上側にある差分値のグラフで規定される。 FIG. 12 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. 12 .

図12の下側にあるグラフは、RIP処理が施された出力対象画像603bの画素値の変動を表す。また、図12の上側にあるグラフは、図12の下側にあるグラフにおいて、出力対象画像603bの画素値から、出力対象画像603bを水平方向に3画素分だけシフトした画素値を引いた差分値の変動を表す。図中では、第1分類閾値A、第2分類閾値Bを、それぞれ「閾値A」、「閾値B」と記載する。 The graph at the bottom of FIG. 12 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. 12 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. In the figure, the first classification threshold A and the second classification threshold B are written as "threshold A" and "threshold B", respectively.

出力対象画像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 area between main scanning positions "1" and "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”.

例えば、差分値は、折れ線L10のグラフで表される。折れ線L10のグラフに示すように、非平坦領域における差分値は、主走査位置の“7”から“9”にかけて緩やかに低くなり、“9”から“17”にかけて一定のマイナス値をとり、“17”から“23”にかけて緩やかに高くなる。そして、主走査位置の“23”から“30”にかけて一定のプラス値をとり、“30”から“33”にかけて緩やかに低くなって元の値“0”に戻る。 For example, the difference value is represented by a graph of a 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のグラフで表される。 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.

以下の説明で、第1分類閾値A及び第2分類閾値Bを区別しない場合は、「分類閾値」と総称する。分類閾値は、パラメータ603eに記憶されている。分類閾値は、いずれも変化量算出部611が、読取画像603aの主走査位置で特定される画素を3値化するために参照される。 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". The classification threshold is stored in parameter 603e. The classification threshold values are all referred to by the change amount calculation unit 611 in order to ternarize the pixels specified at the main scanning position of the read image 603a.

図13は、第2の実施の形態に係る検査処理装置5Aで行われる処理の例を示すフローチャートである。本処理において、ステップS11,S12の処理は、図9のステップS1、S2の処理と同様である。このため、ステップS21以降の処理について説明した後、ステップS13以降の処理を説明する。 FIG. 13 is a flowchart illustrating an example of processing performed by the inspection processing apparatus 5A according to the second embodiment. In this process, the processes in steps S11 and S12 are similar to the processes in steps S1 and S2 in FIG. Therefore, after explaining the process from step S21 onwards, the process from step S13 onwards will be explained.

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

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

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

次に、変化量算出部611は、差分画像603c2に含まれる各画素の画素値ごとに所定値をプラスした値を第1分類閾値Aとし、所定値をマイナスした値を第2分類閾値Bとした閾値画像603fを生成する(S25)。閾値画像603fは、RAM603に一時保存される。 Next, the change amount calculation unit 611 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 603f is generated (S25). The threshold image 603f is temporarily stored in the RAM 603.

ステップS12、S25の後、変化量算出部611は、RAM603から読み出した閾値画像603fに基づいて、ステップS2で生成された差分画像603c1の3値化処理を行う(S13)。次に、欠陥特徴量抽出部612は、分類結果603dに基づいて、スジ特徴量(例えば、図8)を検出する(S14)。 After steps S12 and S25, the change amount calculation unit 611 performs ternarization processing on the difference image 603c1 generated in step S2 based on the threshold image 603f read from the RAM 603 (S13). Next, the defect feature extraction unit 612 detects a streak feature (for example, FIG. 8) based on the classification result 603d (S14).

そして、品質判断部613は、スジ特徴量を、パラメータ603eから読み出した欠陥検出閾値と比較して、スジを検出する(S15)。品質判断部613は、スジ検出結果631を記憶部63に書き込む。その後、検査処理装置5Aは、本処理を終了する。 Then, the quality determining unit 613 detects a streak by comparing the streak feature amount with the defect detection threshold read out from the parameter 603e (S15). The quality determination unit 613 writes the streak detection result 631 into the storage unit 63. After that, the inspection processing device 5A ends this process.

以上説明した第2の実施の形態に係る検査処理装置5Aでは、差分値に対して分類閾値で規定される閾値画像603fを生成する。そして、閾値画像603fに基づいて3値化処理が行われる。このため、読取画像603aの非平坦領域に発生したスジについても、3値化処理により3値化されて特徴量が抽出されるので、スジの検出精度を向上することができる。 The inspection processing device 5A according to the second embodiment described above generates a threshold image 603f defined by a classification threshold for the difference value. Then, ternarization processing is performed based on the threshold image 603f. Therefore, since the streaks occurring in the non-flat area of the read image 603a are also converted into three values by the ternarization process and feature amounts are extracted, it is possible to improve the accuracy of detecting the streaks.

[変形例]
上述した各実施の形態では、画像検査装置3に検査処理装置5,5Aを組み合わせた構成としたが、検査処理装置5,5Aの機能を、例えば、PC6に組み込み、検査処理装置5,5Aを画像検査装置3から分離してもよい。また、画像形成装置2が、検査処理装置5,5Aの機能を有し、画像形成装置2が単体で画像検査を行ってもよい。また、検査処理装置5,5Aの機能を有するサーバーを設けて画像形成システムを構成することにより、画像検査装置3が用紙Shから読取った読取画像603a及び出力対象画像603bをサーバーが蓄積してもよい。そして、サーバーが画像検査装置3と通信することで、画像検査装置3から受信した読取画像603aのスジ検出を行い、スジ検出結果を画像検査装置3やPC6に送信してもよい。
[Modified example]
In each of the embodiments described above, the image inspection apparatus 3 is combined with the inspection processing apparatuses 5 and 5A, but the functions of the inspection processing apparatuses 5 and 5A are incorporated into the PC 6, and the inspection processing apparatuses 5 and 5A are combined. It may be separated from the image inspection device 3. Further, the image forming apparatus 2 may have the functions of the inspection processing apparatuses 5 and 5A, and the image forming apparatus 2 may perform image inspection by itself. Furthermore, by configuring an image forming system by providing a server having the functions of the inspection processing devices 5 and 5A, even if the server accumulates the read image 603a read from the paper Sh by the image inspection device 3 and the output target image 603b, good. 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.

また、本発明は上述した各実施の形態に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りその他種々の応用例、変形例を取り得ることは勿論である。
例えば、上述した各実施の形態は本発明を分かりやすく説明するために装置及びシステムの構成を詳細かつ具体的に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されない。また、ここで説明した実施の形態の構成の一部を他の実施の形態の構成に置き換えることは可能であり、さらにはある実施の形態の構成に他の実施の形態の構成を加えることも可能である。また、各実施の形態の構成の一部について、他の構成の追加、削除、置換をすることも可能である。
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。
Further, 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, in each of the embodiments described above, configurations of devices and systems are explained in detail and specifically in order to explain the present invention in an easy-to-understand manner, and the embodiments 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.
In addition, 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…品質判断部、615…画像変換部、616…位置合わせ部、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... Parameter, 603f... Threshold image, 611... Change amount calculation section, 612... Defect feature extraction section, 613... Quality judgment section, 615... Image conversion section, 616 ...Positioning part, 631...Stringe detection result

Claims (6)

画像が形成された記録材から読み取られた読取画像に含まれる複数の画素のうち、注目画素の画素値に対する、前記注目画素を基準として第1の方向に第1画素数だけ離れた比較画素の画素値の差分値を算出し、前記差分値を分類閾値で第1及び第2の分類値に分類した分類結果を前記画素値の変化量として算出する変化量算出部と、
前記分類結果の前記第1の方向に対して交差する第2の方向ごとに同じ前記第1の分類値の個数をカウントした第1のカウント結果、及び前記第2の分類値の個数をカウントした第2のカウント結果を得て、前記注目画素の位置における前記第1のカウント結果に含まれる第1の分類値の個数と、前記第1の方向とは逆方向に第2画素数だけ離れた、前記比較画素の位置における前記第2のカウント結果に含まれる第2の分類値の個数とを加算した値を前記記録材に形成された前記画像に発生するスジ状欠陥の第2特徴量として抽出し、前記注目画素の位置における前記第2のカウント結果に含まれる第1の分類値の個数と、前記第1の方向とは逆方向に前記第2画素数だけ離れた、前記比較画素の位置における前記第1のカウント結果に含まれる第2の分類値の個数とを加算した値を、前記記録材に形成された前記画像に発生するスジ状欠陥の第1特徴量として抽出する特徴量抽出部と、
前記第1の方向の同じ位置ごとに前記第2特徴量に対する前記第1特徴量の比率を算出し、予め設定された欠陥検出閾値以上である前記比率が算出された位置でスジ状欠陥を検出し、前記記録材に形成された前記画像の品質を判断する品質判断部と、を備える
画像検査装置。
Among a plurality of pixels included in a read image read from a recording material on which an image is formed, the pixel value of a pixel of interest is compared to that of a comparison pixel located a first number of pixels in a first direction with respect to the pixel of interest as a reference. a change amount calculation unit that calculates a difference value of pixel values, and calculates a classification result of classifying the difference value into first and second classification values as a change amount of the pixel value;
A first count result in which the number of the same first classification values was counted in each second direction intersecting the first direction of the classification result, and the number of the second classification values was counted. A second count result is obtained, and the number of first classification values included in the first count result at the position of the pixel of interest is separated by a second number of pixels in a direction opposite to the first direction. , and the number of second classification values included in the second count result at the position of the comparison pixel, as a second characteristic amount of the streak-like defect occurring in the image formed on the recording material. The number of first classification values extracted and included in the second count result at the position of the pixel of interest and the comparison pixel that is separated by the second number of pixels in the opposite direction to the first direction. a feature quantity that is extracted as a first feature quantity of a streak-like defect occurring in the image formed on the recording material ; a value obtained by adding the number of second classification values included in the first count result at the position; an extraction section;
A ratio of the first feature amount to the second feature amount is calculated for each same position in the first direction, and a streak-like defect is detected at a position where the ratio is calculated, which is equal to or higher than a preset defect detection threshold. and a quality determination unit that determines the quality of the image formed on the recording material.
前記変化量算出部は、前記差分値の大きさ及び符号に基づいて、前記差分値を分類した前記分類結果を生成する
請求項1に記載の画像検査装置。
The image inspection apparatus according to claim 1 , wherein the change amount calculation unit generates the classification result by classifying the difference value based on the magnitude and sign of the difference value.
前記第1の方向は、印字方向に平行な水平方向、又は前記印字方向に垂直な垂直方向のいずれかである
請求項1又は2に記載の画像検査装置。
The image inspection apparatus according to claim 1 or 2 , wherein the first direction is either a horizontal direction parallel to the printing direction or a vertical direction perpendicular to the printing direction.
画像形成装置が前記記録材に形成する画像の元となる出力対象画像のカラーモードを、前記読取画像のカラーモードに合わせて画像変換する画像変換部と、
前記画像変換部により画像変換された前記出力対象画像と、前記読取画像との位置を合わせる位置合わせ部を備え、
前記変化量算出部は、前記位置合わせ部により位置合わせされた前記読取画像の画素値の変動に合わせて、前記分類閾値を変動させる
請求項1~のいずれか一項に記載の画像検査装置。
an image conversion unit that converts a color mode of an output target image, which is a source of an image formed on the recording material by the image forming apparatus, in accordance with a color mode of the read image;
comprising a positioning unit that aligns the output target image image-converted by the image conversion unit and the read image;
The image inspection apparatus according to any one of claims 1 to 3 , wherein the change amount calculation unit changes the classification threshold according to a change in pixel values of the read image aligned by the alignment unit. .
前記記録材から前記画像を読み取って前記読取画像を生成する読取部を備える
請求項1~のいずれか一項に記載の画像検査装置。
The image inspection apparatus according to any one of claims 1 to 4, further comprising a reading section that reads the image from the recording material and generates the read image.
記録材に画像を形成する画像形成装置と、前記記録材に形成された前記画像を検査する画像検査装置と、を備え、
前記画像検査装置は、
前記記録材から読み取られた読取画像に含まれる複数の画素のうち、注目画素の画素値に対する、前記注目画素を基準として第1の方向に第1画素数だけ離れた比較画素の画素値の差分値を算出し、前記差分値を分類閾値で第1及び第2の分類値に分類した分類結果を前記画素値の変化量として算出する変化量算出部と、
前記分類結果の前記第1の方向に対して交差する第2の方向ごとに同じ前記第1の分類値の個数をカウントした第1のカウント結果、及び前記第2の分類値の個数をカウントした第2のカウント結果を得て、前記注目画素の位置における前記第1のカウント結果に含まれる第1の分類値の個数と、前記第1の方向とは逆方向に第2画素数だけ離れた、前記比較画素の位置における前記第2のカウント結果に含まれる第2の分類値の個数とを加算した値を前記記録材に形成された前記画像に発生するスジ状欠陥の第2特徴量として抽出し、前記注目画素の位置における前記第2のカウント結果に含まれる第1の分類値の個数と、前記第1の方向とは逆方向に前記第2画素数だけ離れた、前記比較画素の位置における前記第1のカウント結果に含まれる第2の分類値の個数とを加算した値を、前記記録材に形成された前記画像に発生するスジ状欠陥の第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 difference between a pixel value of a pixel of interest among a plurality of pixels included in a read image read from the recording material and a pixel value of a comparison pixel located a first number of pixels in a first direction with respect to the pixel of interest as a reference. a change amount calculation unit that calculates a classification result of classifying the difference value into first and second classification values using a classification threshold as a change amount of the pixel value;
A first count result in which the number of the same first classification values was counted in each second direction intersecting the first direction of the classification result, and the number of the second classification values was counted. A second count result is obtained, and the number of first classification values included in the first count result at the position of the pixel of interest is separated by a second number of pixels in a direction opposite to the first direction. , and the number of second classification values included in the second count result at the position of the comparison pixel, as a second characteristic amount of the streak-like defect occurring in the image formed on the recording material. The number of first classification values extracted and included in the second count result at the position of the pixel of interest and the comparison pixel that is separated by the second number of pixels in the opposite direction to the first direction. a feature quantity that is extracted as a first feature quantity of a streak-like defect occurring in the image formed on the recording material ; a value obtained by adding the number of second classification values included in the first count result at the position; an extraction section;
A ratio of the first feature amount to the second feature amount is calculated for each same position in the first direction, and a streak-like defect is detected at a position where the ratio is calculated, which is equal to or higher than a preset defect detection threshold. and a quality determination unit that determines the quality of the image formed on the recording material.
JP2019196051A 2019-10-29 2019-10-29 Image inspection equipment and image inspection system Active JP7367461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019196051A JP7367461B2 (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
JP2019196051A JP7367461B2 (en) 2019-10-29 2019-10-29 Image inspection equipment and image inspection system

Publications (2)

Publication Number Publication Date
JP2021071300A JP2021071300A (en) 2021-05-06
JP7367461B2 true JP7367461B2 (en) 2023-10-24

Family

ID=75712869

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP7367461B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004093338A (en) 2002-08-30 2004-03-25 Nec Corp Appearance inspection device and appearance inspection method
JP2011045072A (en) 2009-08-19 2011-03-03 Toshiba Corp Image reading apparatus and image reading 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
JP2004093338A (en) 2002-08-30 2004-03-25 Nec Corp Appearance inspection device and appearance inspection method
JP2011045072A (en) 2009-08-19 2011-03-03 Toshiba Corp Image reading apparatus and image reading method
JP2017173000A (en) 2016-03-18 2017-09-28 株式会社リコー Inspection device, inspection method, and program

Also Published As

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

Similar Documents

Publication Publication Date Title
JP7363035B2 (en) Image inspection equipment, programs, image processing equipment, and image forming equipment
US8208183B2 (en) Detecting image quality defects by measuring images printed on image bearing surfaces of printing devices
CN101155251B (en) Image processing device and image processing method and image forming device
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP6613641B2 (en) Inspection device, threshold changing method, and program
JP4517961B2 (en) Image reading apparatus and image reading method
JP2016178477A (en) Color patch defect determination device, color processing apparatus, image inspection device, color patch defect determination program and color patch defect determination method
JP6229480B2 (en) Image inspection apparatus, image forming system, 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
US11151705B2 (en) Image inspecting apparatus and image forming system
JP7367461B2 (en) Image inspection equipment and image inspection system
US11825038B2 (en) Reading apparatus and image forming system for outputting maintenance information
JP7367460B2 (en) Image inspection equipment and image inspection system
JP7363231B2 (en) Image inspection device, image forming device, image inspection method and program
JP7367462B2 (en) Image inspection equipment and image inspection system
JP2016177669A (en) Image inspection device, image inspection system and image inspection method
JP7443719B2 (en) Image inspection equipment and image inspection system
JP6277803B2 (en) Image inspection apparatus, image forming system, and image inspection program
JP2021096535A (en) Image inspection device and image inspection system
JP2021111117A (en) Image inspection device and image formation device and program
JP6477076B2 (en) Image inspection apparatus, image forming system, image inspection method, and image inspection program
JP7424203B2 (en) Image inspection equipment, image forming system, and control program
US10761446B2 (en) Image forming apparatus and computer-readable recording medium storing 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

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230925

R150 Certificate of patent or registration of utility model

Ref document number: 7367461

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150