JP2021071298A - Image inspection device and image inspection system - Google Patents

Image inspection device and image inspection system Download PDF

Info

Publication number
JP2021071298A
JP2021071298A JP2019196049A JP2019196049A JP2021071298A JP 2021071298 A JP2021071298 A JP 2021071298A JP 2019196049 A JP2019196049 A JP 2019196049A JP 2019196049 A JP2019196049 A JP 2019196049A JP 2021071298 A JP2021071298 A JP 2021071298A
Authority
JP
Japan
Prior art keywords
image
pixel
value
unit
streak
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019196049A
Other languages
Japanese (ja)
Other versions
JP7367460B2 (en
Inventor
禎宏 江角
Sadahiro Esumi
禎宏 江角
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 JP2019196049A priority Critical patent/JP7367460B2/en
Publication of JP2021071298A publication Critical patent/JP2021071298A/en
Application granted granted Critical
Publication of JP7367460B2 publication Critical patent/JP7367460B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Facsimiles In General (AREA)

Abstract

To solve the problem in inspecting an image in which streak-like defects and noise cannot be separated.SOLUTION: An image inspection device 3 comprises: a change amount calculation unit 611 for calculating, for each pixel of interest in a main scan direction, a difference value between the pixel value of the pixel of interest and the pixel value of a comparison pixel separate from the pixel of interest by a first number of pixels in the main scan direction, among a plurality of pixels included in a read image having been read from a recording material on which an image is formed, then combining a difference value separate by a second number of pixels in the main scan direction, and taking, as a change amount of pixel values, a classification result obtained by classifying the combined value of the difference values into a plurality of classified values by a classification threshold; a feature quantity extraction unit 612 for extracting the feature quantity of a steak-like defect occurring in the image formed on the recording material, on the basis of an equalization result obtained by equalizing the classified value of classification result in a sub-scan direction; and a quality determination unit 613 for comparing the feature quantity with a preset defect detection threshold to detect the steak-like defect, and determining the quality of the image formed on the recording material.SELECTED DRAWING: Figure 4

Description

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

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

読取画像と出力対象画像とを比較すると、読取画像から画像欠陥が検出されることがある。画像欠陥の種類としては、例えば、所定方向に連続し、又は所定方向に途切れながら現れる幅の細いスジや帯等がある。このような画像欠陥は、スジ状欠陥と総称される。ただし、以下の説明では、スジ状欠陥を、「スジ」とも略記する。スジは、画像形成装置やスキャナなどの読取装置が備えるドラムやローラなどのキズや汚れが原因で生じる欠陥であり、オペレーターが意図していない画素値(輝度値ともいう)の階調差(「スジ強度」ともいう)や濃度ムラとして現れる。スジとしては、例えば、元の画像より薄い白スジ、元の画像より濃い黒スジ等がある。スジは繰り返し生じやすく、オペレーターや顧客が認識しやすい欠陥であるため、本印刷の途中であってもスジを確実に検出することが求められる。 Comparing the scanned image with the output target image, image defects may be detected in the scanned image. Examples of the types of image defects include narrow streaks and bands that appear continuously in a predetermined direction or interrupted in a predetermined direction. Such image defects are collectively referred to as streak-like defects. However, in the following description, the streak-like defect is also abbreviated as "streak". A streak is a defect caused by scratches or stains on a drum or roller of a reading device such as an image forming device or a scanner, and is a gradation difference (also referred to as a brightness value) of a pixel value (also referred to as a brightness value) not intended by the operator. It also appears as "streak strength") or uneven density. Examples of the streaks include white streaks that are lighter than the original image, black streaks that are darker than the original image, and the like. Since streaks are likely to occur repeatedly and are easily recognized by operators and customers, it is required to reliably detect streaks even during the main 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 obtained by taking a difference from a pixel separated by a predetermined number of pixels from the first difference image between the output target image and the read image is generated, and the second difference image is generated. On the other hand, the number of the first pixel of the pixel whose pixel value is larger than the first threshold value and the number of the second pixel of the pixel whose pixel value is smaller than the first threshold value are calculated, and the second pixel number for each pixel string is calculated. A technique for determining a streak based on the ratio of the number of pixels of 1 to the number of pixels of 2 is disclosed.

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

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

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

図1に示す読取画像は、平坦な画像であるので、画素値を平均化すると、画素値がほぼ一定になると予想される。ただし、実際には、破線に示す主走査位置に、副走査方向へ2本のスジが生じていたとする。印刷物の品質を向上するためには、2本のスジが正しく検出される必要がある。しかし、用紙を読み取って生成される読取画像の副走査方向に細いスジ(例えば、読取画素の幅程度しかないスジ)が発生した場合、主走査方向に隣接する数画素の幅でスジがまたがってしまうことがある。この場合、スジがまたがった画素の画素値は、背景となる画素の画素値の影響を受けるので、本来の画素値よりも少ない値となり、スジの発生を精度よく検出することができなかった。特許文献1に開示された技術を用いても、主走査方向に隣接する数画素の幅でスジがまたがると、副走査方向に発生したスジを精度よく検出することができなかった。 Since the scanned image shown in FIG. 1 is a flat image, it is expected that the pixel values will be substantially constant when the pixel values are averaged. However, in reality, it is assumed that two streaks are generated in the sub-scanning direction at the main scanning position shown by the broken line. In order to improve the quality of printed matter, it is necessary to correctly detect two streaks. However, when thin streaks (for example, streaks that are only about the width of the scanned pixel) occur in the sub-scanning direction of the scanned image generated by scanning the paper, the streaks straddle the width of several pixels adjacent to the main scanning direction. It may end up. In this case, since the pixel value of the pixel straddling the streaks is affected by the pixel value of the background pixel, the value is smaller than the original pixel value, and the occurrence of the streaks cannot be detected accurately. Even if the technique disclosed in Patent Document 1 is used, if the streaks straddle the width of several pixels adjacent to the main scanning direction, the streaks generated in the sub-scanning direction cannot be detected accurately.

本発明はこのような状況に鑑みて成されたものであり、隣接する数画素の幅でまたがるようなスジ状欠陥を検出して、画像の品質を判断できるようにすることを目的とする。 The present invention has been made in view of such a situation, and an object of the present invention is to detect streak-like defects that straddle a width of several adjacent pixels so that the quality of an image can be judged.

上述した目的のうち少なくとも一つを実現するために、本発明の一側面を反映した画像検査装置は、画像が形成された記録材から読み取られた読取画像に含まれる複数の画素のうち、注目画素の画素値と、注目画素から第1の方向に第1画素数だけ離れた比較画素の画素値との差分値を第1の方向に注目画素ごとに算出した後、第1の方向に第2画素数だけ離れた差分値を連結し、差分値を連結した値を分類閾値で複数の分類値に分類した分類結果を、画素値の変化量として算出する変化量算出部と、分類結果の分類値を、第1の方向に交差する第2の方向に平均化した平均化結果に基づいて、記録材に形成された画像に発生するスジ状欠陥の特徴量を抽出する特徴量抽出部と、特徴量と、予め設定された欠陥検出閾値とを比較してスジ状欠陥を検出し、記録材に形成された画像の品質を判断する品質判断部と、を備える。
なお、上記の画像検査装置は本発明の一態様であり、本発明の一側面を反映した画像検査システムについても、上記の画像検査装置と同様に構成される。
In order to achieve at least one of the above-mentioned objects, an image inspection apparatus reflecting one aspect of the present invention is noted among a plurality of pixels included in a scanned image read from a recording material on which an image is formed. After calculating the difference value between the pixel value of the pixel and the pixel value of the comparison pixel separated by the number of first pixels in the first direction from the pixel of interest for each pixel of interest in the first direction, the first is in the first direction. The change amount calculation unit that concatenates the difference values separated by the number of pixels by two pixels and classifies the concatenated values into multiple classification values by the classification threshold, and the change amount calculation unit that calculates the change amount of the pixel value, and the classification result A feature amount extraction unit that extracts the feature amount of streak-like defects generated in the image formed on the recording material based on the averaging result obtained by averaging the classification values in the second direction intersecting the first direction. The feature amount is compared with a preset defect detection threshold to detect streaky defects, and a quality determination unit for determining the quality of an image formed on a recording material is provided.
The above-mentioned image inspection apparatus is one aspect of the present invention, and an image inspection system reflecting one aspect of the present invention is configured in the same manner as the above-mentioned image inspection apparatus.

本発明によれば、隣接する数画素の幅でまたがるスジ状欠陥を精度よく検出して、画像の品質を判断できるため、記録材に形成される画像の品質が向上する。
上記した以外の課題、構成及び効果は、以下の実施の形態の説明により明らかにされる。
According to the present invention, it is possible to accurately detect streak-like defects straddling a width of several adjacent pixels and determine the quality of an image, so that the quality of an image formed on a recording material is improved.
Issues, configurations and effects other than those described above will be clarified by the following description of the embodiments.

副走査方向に画素値を平均化したデータの一例を示すグラフである。It is a graph which shows an example of the data which averaged the pixel value in the sub-scanning direction. 本発明の第1の実施の形態に係る画像検査システムの概要構成図である。It is a schematic block diagram of the image inspection system which concerns on 1st Embodiment of this invention. 本発明の第1の実施の形態に係る画像形成装置の制御系の構成例を示すブロック図である。It is a block diagram which shows the structural example of the control system of the image forming apparatus which concerns on 1st Embodiment of this invention. 本発明の第1の実施の形態に係る画像検査装置の制御系の構成例を示すブロック図である。It is a block diagram which shows the structural example of the control system of the image inspection apparatus which concerns on 1st Embodiment of this invention. 本発明の第1の実施の形態に係る検出対象とするスジが含まれる読取画像、及び分類結果の例を示す図である。It is a figure which shows the example of the scanned image which contains the streak to be detected which concerns on 1st Embodiment of this invention, and the classification result. 本発明の第1の実施の形態に係る分類結果からスジ特徴量を抽出する様子を示す図である。It is a figure which shows the state of extracting the streak feature amount from the classification result which concerns on 1st Embodiment of this invention. 本発明の第1の実施の形態に係る2本のスジと、走査ラインとの関係を示す図である。It is a figure which shows the relationship between the two lines which concerns on 1st Embodiment of this invention, and a scanning line. 本発明の第1の実施の形態に係る読取画像の画素毎に格納された画素値を演算する処理の例を示す図である。It is a figure which shows the example of the process which calculates the pixel value stored for each pixel of the scanned image which concerns on 1st Embodiment of this invention. 本発明の第1の実施の形態に係る検査処理装置で行われる処理の例を示すフローチャートである。It is a flowchart which shows the example of the processing performed by the inspection processing apparatus which concerns on 1st Embodiment of this invention. 図9のステップS3に示した前後値連結処理の例を示すフローチャートである。It is a flowchart which shows the example of the front-rear value concatenation processing shown in step S3 of FIG. 本発明の第2の実施の形態に係る画像検査装置の制御系の構成例を示すブロック図である。It is a block diagram which shows the structural example of the control system of the image inspection apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る読取画像の平坦領域と非平坦領域における画素の画素値と差分値、及び分類閾値の例を示すグラフである。It is a graph which shows the example of the pixel value and the difference value of the pixel in the flat region and the non-flat region of the scanned image which concerns on 2nd Embodiment of this invention, and the classification threshold value. 本発明の第2の実施の形態に係る検査処理装置で行われる処理の例を示すフローチャートである。It is a flowchart which shows the example of the processing performed by the inspection processing apparatus which concerns on 2nd Embodiment of this invention.

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

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

始めに、図2を参照して、本発明の第1の実施の形態に係る画像検査システムの構成例について説明する。
図2は、本発明の第1の実施の形態に係る画像検査システム1の概要構成図である。なお、図2には、本発明の説明に必要と考える要素又はその関連要素を記載しており、本発明の画像検査システムは図2に示す例に限定されない。
First, a configuration example of the image inspection system according to the first embodiment of the present invention will be described with reference to FIG.
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 the description of 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.

画像検査システム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 by an electrophotographic method that forms an image using static electricity. The image forming apparatus 2 forms a color image on paper in a tandem format in which toner images of four colors of yellow (Y), magenta (M), cyan (C), and black (K) are superimposed, for example. A PC (Personal Computer) 6 (see FIG. 3 to be described later) 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 an image forming process according to the submitted job.

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

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

操作表示部13は、液晶パネル等からなる表示部、及び、タッチセンサ等からなる操作部で構成される。表示部及び操作部は、例えばタッチパネルとして一体に形成される。操作表示部13は、操作部に入力されたオペレーターからの操作内容を表す操作信号を生成し、該操作信号を制御部50(後述する図3を参照)に供給する。また、操作表示部13は、制御部50から供給される表示信号に基づいて、表示部に、オペレーターによる操作内容や設定情報等を表示する。なお、操作部をマウスやタブレットなどで構成し、表示部とは別体で構成することも可能である。 The operation display unit 13 is composed of a display unit including a liquid crystal panel and the like, and an operation unit including a touch sensor and the like. The display unit and the operation unit are integrally formed as, for example, a touch panel. The operation display unit 13 generates an operation signal indicating the operation content from the operator input to the operation unit, and supplies the operation signal to the control unit 50 (see FIG. 3 to be described later). Further, the operation display unit 13 displays the operation content and setting information by the operator on the display unit based on the display signal supplied from the control unit 50. It is also possible to configure the operation unit with a mouse, tablet, or the like, 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 for accommodating the paper Sh on which the image is formed by the image forming unit 30. Papers having different paper types, basis weights, and the like are stored in the paper feed trays 20. 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. In the present embodiment, an example in which two paper feed trays 20 are provided has been given, but the number of paper feed trays 20 may be one or three or more.

画像形成装置2には、給紙トレイ20から給紙された用紙Shを画像検査装置3まで搬送する搬送路21が設けられる。搬送路21には、用紙Shを搬送するための複数の搬送ローラが設けられる。 The image forming apparatus 2 is provided with a transport path 21 for transporting the paper Sh fed from the paper feed tray 20 to the image inspection device 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 portion 36, the transport path 21 extends and is connected to the transport path 41 of the image inspection device 3. Further, the transport path 21 branches on the downstream side of the fixing portion 36. An inverted transport path 22 that joins the transport path 21 on the upstream side of the printer unit 10 is connected to one end of the branched transport path 21. The reversing transfer path 22 is provided with a reversing portion 23 for reversing the paper Sh. The paper Sh flipped by the reversing section 23 is returned to the upstream side of the transport path 21 through the reverse transport path 22. Further, the paper Sh that has been inverted due to the route switching may be returned to the transport path 21 on the downstream side of the fixing portion 36 and then transported to the image inspection device 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 unit 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 an image on paper Sh. The image forming units 31Y, 31M, 31C and 31K have a charging unit, an exposure unit (all not shown), a photoconductor drum 32Y, 32M, 32C, 32K as an image carrier, and a developing unit 33Y, 33M, 33C, respectively. , 33K.

現像部33Y,33M,33C,33Kは、感光体ドラム32Y,32M,32C,32Kの各表面(外周部)に、画像に応じた光を照射することにより、各感光ドラムの周上に静電潜像を形成させる。そして、現像部33Y,33M,33C,33Kは、該静電潜像にトナーを付着させることにより、感光体ドラム32Y,32M,32C,32K上にトナー画像を形成する。 The developing units 33Y, 33M, 33C, and 33K irradiate the surfaces (outer peripheral portions) of the photoconductor drums 32Y, 32M, 32C, and 32K with light according to the image, thereby electrostatically irradiating the peripheral portions of the photosensitizing drums. Form a latent image. Then, the developing units 33Y, 33M, 33C, 33K form a toner image on the photoconductor drums 32Y, 32M, 32C, 32K by adhering the toner to the electrostatic latent image.

また、画像形成部30は、中間転写ベルト34、2次転写部35及び定着部36を備える。中間転写ベルト34は、感光体ドラム32Y,32M,32C,32Kに形成された画像が1次転写されるベルトである。2次転写部35は、中間転写ベルト34上に1次転写された各色のトナー画像を、搬送路21を搬送された用紙Shに2次転写するローラである。 Further, the image forming unit 30 includes an intermediate transfer belt 34, a secondary transfer unit 35, and a fixing unit 36. The intermediate transfer belt 34 is a belt on which images formed on the photoconductor 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 primary transferred onto the intermediate transfer belt 34 onto the paper Sh transported along the transport 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 arranged on the downstream side of the secondary transfer unit 35 in the paper transport direction, and performs a fixing process on the paper Sh on which the color toner image supplied from the image forming unit 30 is formed. The fixing unit 36 fixes the image transferred by the image forming unit 30 on the surface side of the paper Sh by heating and pressurizing the conveyed paper Sh. The paper Sh on which the image is fixed by the fixing section 36 is conveyed to the image inspection device 3 by the conveying path 21, or is conveyed on the upstream side of the printer section 10 after being inverted by the inversion section 23 through the inversion conveying path 22. Returned to Road 21. An image is formed on the back side of the paper Sh whose front and back sides are reversed by the printer unit 10. After that, the paper Sh that has been fixed by the fixing unit 36 is conveyed to the image inspection device 3.

次に、画像検査装置3の構成例について説明する。
画像検査装置3は、画像形成装置2から搬送された用紙Shに形成(印刷)された画像に発生したスジを検出するための画像検査を行う。用紙Shに形成された画像に対する処理、すなわち画像検査装置3による画像の検査は、主に画像検査装置3に取付けられた検査処理装置5によって行われる。
Next, a configuration example of the image inspection device 3 will be described.
The image inspection device 3 performs an image inspection for detecting streaks generated in an 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 is conveyed on the transfer paths 41, 42, 43, the switching unit 44, the reading units 45a, 45b, the colorimeter 46, and the transfer path 41 that convey the paper Sh conveyed from the image forming apparatus 2. It has paper ejection trays 47 and 48 from which the paper Sh is 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 examples of image input devices such as image sensors, respectively. The reading units 45a and 45b project light onto the surface of the paper Sh, for example, and capture the reflected light from the paper Sh as image data. The fact that the reading units 45a and 45b capture the image data of the paper Sh in this way is called "reading". The reading unit 45a reads the paper Sh transported through the transport path 41 from below the transport path 41, and the reading unit 45b reads the paper Sh conveyed through the transport path 41 from above the transport path 41. In the following description, since the reading units 45a and 45b are not distinguished, they are collectively referred to as "reading unit 45". Then, the reading unit 45 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 Sh 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 capable of measuring the intensity (spectrum) of reflected light for each wavelength of light, and measures the measured color density (reflection density), L * a * b * value, and the like. Output. For the colorimeter 46, for example, a scanner (line sensor) in which a plurality of sensors (photoelectric conversion elements) (not shown) are arranged one-dimensionally over the entire area in the paper width direction (direction orthogonal to the paper transport direction) is used. To. When the colorimeter 46 is configured by a scanner, the image is read while moving the scanner in a direction orthogonal to the arrangement direction (paper transport direction). Then, the colorimeter 46 measures the color density of the image formed on the paper Sh for each region obtained by dividing the region where the image is read into a mesh shape. The colorimeter 46 outputs the measured color density information to the inspection processing device 5.

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

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

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

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

画像検査装置3に搬送される用紙Shは、両面又は片面に画像が形成された印刷物である。画像検査装置3は、画像形成装置2が用紙Shの両面又は片面に形成した画像を読取り、検査処理装置5が所定の検査を行う。 The paper Sh conveyed to the image inspection device 3 is a printed matter having an image formed on both sides or one side. The image inspection device 3 reads the image 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 can form an image on both sides of the paper Sh, 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 conveyed from the image forming apparatus capable of forming an image on only one side of the paper Sh.

[画像形成装置の制御系の構成]
次に、図3を参照して、画像形成装置2の制御系の構成例について説明する。
図3は、画像形成装置2の制御系の構成例を示すブロック図である。
画像形成装置2は、主要な構成として、通信I/F部51、用紙搬送部24、画像入力部11、画像形成部30、制御部50、記憶部52、定着部36及び操作表示部13を備える。
[Structure 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 the control system of the image forming apparatus 2.
The image forming apparatus 2 mainly includes a communication I / F unit 51, a paper conveying unit 24, an image input unit 11, an image forming unit 30, a control unit 50, a storage unit 52, a fixing unit 36, and an operation display unit 13. Be prepared.

通信I/F部51は、ネットワーク又は専用線を介して、オペレーターが操作する端末であるPC6との間でデータを送受信するインターフェースである。通信I/F部51として、例えばNIC(Network Interface Card)が用いられる。 The communication I / F unit 51 is an interface for transmitting and receiving data to and from a 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 transport unit 24 drives a transport path 21 shown in FIG. 2, a transport roller (not shown) provided on the reverse transport path 22, and a reverse section 23 based on control by the control unit 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 a program executed by the CPU 501 of the control unit 50, data used when executing the program, and the like. The CPU 501 controls each part constituting the image forming apparatus 2 by reading the program stored in the ROM 502.
Variables and parameters generated during the arithmetic processing of the CPU 501 are temporarily written in the RAM 503.

入力画像処理部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. Further, the input image processing unit 504 also performs image processing on the image data acquired from the document read by the image input unit 11 by the ADF 12 or the image data acquired from the outside to create image data for printing. The image data for printing is sent to the image forming unit 30 and the image inspection device 3. In the image inspection apparatus 3, the image data for printing is stored as an output target image 603b (see FIG. 4 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 roller to 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. Further, the control unit 50 controls the image forming unit 30 to form an image on the paper Sh. Further, the control unit 50 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 an operation screen for displaying various setting screens for inputting various operation instructions and setting information, various processing results, and the like. Display on the panel. The information displayed on the operation display unit 13 also includes the 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 the program, data obtained by executing the program, and the like. For example, the storage unit 52 stores information such as image formation conditions for each density level. The storage unit 52 may store the program executed by the CPU 501.

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

画像検査装置3は、主要な構成として、通信I/F部61、用紙搬送部62、読取部45、測色計46を備える。また、画像検査装置3に取り付けられた検査処理装置5は、制御部60及び記憶部63を備える。また、検査処理装置5には、記憶装置4が取り付けられる。 The image inspection device 3 includes a communication I / F unit 61, a paper transport unit 62, a reading unit 45, and a colorimeter 46 as main configurations. Further, the inspection processing device 5 attached to the image inspection device 3 includes a control unit 60 and a storage unit 63. Further, 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 unit 61 is an interface for transmitting and receiving data to and from the image forming apparatus 2 via a network. For example, NIC is used as the communication I / F unit 61.
The paper transport unit 62 drives a transport roller (not shown) provided on the transport path 41 shown in FIG. 2 based on the control by the control unit 60.

上述したように読取部45は、搬送路41を搬送される用紙Shの上面及び下面に形成された画像を読取る。本実施の形態では、読取部45a,45bで読取られた用紙Shの画像データを「読取画像」と呼ぶ。 As described above, the reading unit 45 reads the images formed on the upper surface and the lower surface of the paper Sh transported through the transport path 41. In the present 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 the read image 603a. Further, the RIP-processed print image data received by the inspection processing device 5 from the image forming device 2 is stored in the RAM 603 as an output target image 603b. As will be described in the second embodiment described later, the output target image 603b may also be used for inspecting the read image 603a. The scanned image 603a and the output target image 603b may be stored in a storage unit 63 composed of a large-capacity HDD or the like. Further, the color density information output from the colorimeter 46 to the image inspection device 3 may be included in the scanned image 603a and the output target image 603b.

制御部60は、CPU601、ROM602、RAM603、変化量算出部611、欠陥特徴量抽出部612及び品質判断部613を備える。 The control unit 60 includes a CPU 601 and 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 constituting the image inspection device 3 by reading the program stored in the ROM 602. By executing the program read from the ROM 602 by the CPU 601, the functions of the change amount calculation unit 611, the defect feature amount extraction unit 612, and the quality determination unit 613 are realized.

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

RAM603には、CPU601の演算処理の途中に発生した変数やパラメータなどが一時的に書き込まれる。上述したようにRAM603には、読取画像603a及び出力対象画像603b、差分画像603c1、分類結果603d及びパラメータ603eも保存される。 Variables and parameters generated during the arithmetic processing of the CPU 601 are temporarily written in the RAM 603. 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 parameter 603e includes various values set by the control unit 60 or the operator. The parameter 603e includes, for example, a defect detection threshold value for detecting a streak from a streak feature amount described later. The change amount calculation unit 611, the defect feature amount extraction unit 612, and the quality determination unit 613 perform various processes based on various values read from the parameter 603e.

変化量算出部611は、読取画像603aに含まれる複数の画素のうち、注目画素71の画素値と、注目画素71から主走査方向に第1画素数だけ離れた比較画素72の画素値との差分値を主走査方向に注目画素71ごとに算出した後、主走査方向に第2画素数だけ離れた差分値を連結し、差分値を連結した値を分類閾値で複数の分類値に分類した分類結果603dを、画素値の変化量として算出する。注目画素71、比較画素72の例は、後述する図5に示す。以下、第1の方向を主走査方向、第2の方向を副走査方向として説明する。ただし、検出対象とするスジの方向が主走査方向であれば、第1の方向を副走査方向、第2の方向を主走査方向としてもよい。つまり、第1の方向は、印字方向に平行な水平方向、又は印字方向に垂直な垂直方向のいずれかである。また、本実施の形態では、第1画素数を“3”とする。 The change amount calculation unit 611 determines the pixel value of the attention pixel 71 and the pixel value of the comparison pixel 72 separated by the first pixel number in the main scanning direction from the attention pixel 71 among the plurality of pixels included in the scanned image 603a. After calculating the difference value for each pixel 71 of interest in the main scanning direction, the difference values separated by the number of second pixels in the main scanning direction were concatenated, and the concatenated values were classified into a plurality of classification values by the classification threshold. The classification result 603d is calculated as the amount of change in the pixel value. Examples of the attention pixel 71 and the comparison pixel 72 are shown in FIG. 5, which will be described later. Hereinafter, the first direction will be described as the main scanning direction, and the second direction will be described as the sub-scanning direction. However, if the direction of the streaks 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 the present embodiment, the number of first pixels is set to "3".

例えば、変化量算出部611は、読取画像603aに含まれる複数の画素から選択した注目画素71の画素値と、比較画素72の画素値との差分値を変化量として、注目画素71の位置に格納する。そして、変化量算出部611は、読取画像603aの他の画素に対しても同様の差分処理を行って差分画像603c1を生成する。このとき、変化量算出部611は、読取画像603aを水平又は垂直方向に所定画素数だけシフトして得たシフト画像(不図示)と、シフト前の読取画像603aとの差分をとって差分画像603c1を生成することが可能である。シフトとは、注目画素71に対して比較画素72を決定するための画素間の距離を表す。差分画像603c1の詳細については、後述する図6にて説明する。 For example, the change amount calculation unit 611 sets the position of the attention pixel 71 with the difference value between the pixel value of the attention pixel 71 selected from the plurality of pixels included in the scanned image 603a and the pixel value of the comparison pixel 72 as the change amount. Store. Then, the change amount calculation unit 611 performs the same difference processing on the other pixels of the read image 603a to generate the difference image 603c1. At this time, the change amount calculation unit 611 takes a difference between the shift image (not shown) obtained by shifting the read image 603a in the horizontal or vertical direction by a predetermined number of pixels and the read image 603a before the shift, and obtains a difference image. It is possible to generate 603c1. The shift represents the distance between the pixels for determining the comparison pixel 72 with respect to the pixel of interest 71. Details of the difference image 603c1 will be described later with reference to FIG.

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

本実施の形態では、変化量算出部611が分類閾値を参照して、差分画像603c1に含まれる各画素の差分値を、画素ごとに3値化する処理を「多値化」という。分類閾値によっては、変化量算出部611が差分画像603c1の差分値を2値化、4値化等に多値化してもよい。また、分類閾値は、画像検査の開始前に、予め設定される値であり、読取画像603aの解像度、用紙Shに形成された画像の種類等によって異なる値が設定されることがある。分類結果603dの詳細については、後述する図5にて説明する。 In the present embodiment, the process in which the change amount calculation unit 611 refers to the classification threshold value and digitizes the difference value of each pixel included in the difference image 603c1 for each pixel is referred to as “multi-valued”. Depending on the classification threshold value, the change amount calculation unit 611 may multi-value the difference value of the difference image 603c1 to binarize, quaternize, or the like. Further, the classification threshold value is a value set in advance before the start of the image inspection, and may be set to a different value depending on the resolution of the scanned image 603a, the type of the image formed on the paper Sh, and the like. Details of the classification result 603d will be described with reference to FIG. 5 described later.

欠陥特徴量抽出部612は、スジが発生する方向が副走査方向である場合に、主走査方向の所定位置ごとに分類結果603dの分類値を、検出対象とするスジ状欠陥と同じ方向(副走査方向)に平均化した平均化結果(3値化平均化結果)を算出する。そして、欠陥特徴量抽出部612は、平均化結果(3値化平均化結果)からスジ状欠陥の特徴量(「スジ特徴量」と呼ぶ)を抽出する。3値化平均化結果は、変化量算出部611が分類閾値で分類して多値化した差分値を、欠陥特徴量抽出部612が平均化して得る結果であり、後述する図6の上段及び中段に示す3値化平均値で表すグラフで示される。スジ特徴量の詳細については、後述する図8にて説明する。 When the direction in which the streaks are generated is the sub-scanning direction, the defect feature amount extraction unit 612 sets the classification value of the classification result 603d for each predetermined position in the main scanning direction in the same direction as the streak-like defect to be detected (secondary). The averaging result (ternation averaging result) averaged in the scanning direction) is calculated. Then, the defect feature amount extraction unit 612 extracts the feature amount of the streak-like defect (referred to as “streak feature amount”) from the averaging result (ternation averaging result). The ternary averaging result is a result obtained by the defect feature amount extraction unit 612 averaging the difference values classified by the classification threshold value by the change amount calculation unit 611 and multi-valued. It is shown in the graph represented by the ternary average value shown in the middle row. The details of the streak feature amount will be described with reference to FIG. 8 described later.

品質判断部613は、主走査方向に沿って、スジ特徴量と、予め設定された欠陥検出閾値とを比較して検出可能なスジ状欠陥の有無に基づいて、用紙Shに形成された画像の品質を判断する。品質判断部613は、スジ特徴量からスジを検出しなければ読取画像603aを正常と判断する。一方、品質判断部613は、スジ特徴量からスジを検出すれば読取画像603aを異常と判断する。そして、品質判断部613は、読取画像603aの元となったページのページ番号等を含むスジ検出結果631を記憶部63に保存する。 The quality determination unit 613 compares the streak feature amount with the preset defect detection threshold along the main scanning direction, and based on the presence or absence of detectable streak-like defects, the image formed on the paper Sh. Judge quality. If the quality determination unit 613 does not detect a streak from the streak feature amount, the quality determination unit 613 determines that the read image 603a is normal. On the other hand, if the quality determination unit 613 detects a streak from the streak feature amount, the quality determination unit 613 determines that the read image 603a is abnormal. Then, the quality determination unit 613 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 an external storage device 4 connected to the image inspection device 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), or the like 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 confirm the contents. The streak detection result 631 may be transferred and saved to a cloud server (not shown) or PC6 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 as necessary to the image forming apparatus 2 or the PC 6 via the communication I / F unit 61. The image forming apparatus 2 can display the streak detection result 631 on the operation display unit 13. Therefore, the operators of the image forming apparatus 2 and the image inspection apparatus 3 can confirm the contents of the streak detection result 631 from the operation display unit 13. The operator can also confirm the content 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 ejection tray (an example of a paper ejection destination) of the paper Sh to be conveyed along the conveying path 41 according to the streak detection result 631. For example, the control unit 60 operates the switching unit 44 to eject the normal paper conveyed to the transport path 42 to the output tray 47, and eject the abnormal paper conveyed to the transport path 43 to the output tray 48. Make it paper.

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

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

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

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

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

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

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

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

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

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

ところで、読取部45の読取画素サイズで1画素程度の幅しかない細いスジの場合、1つの読取画素の箇所にスジが重なるとスジを検出可能であっても、2画素にまたぐとスジの読取濃度が低下してしまい検出できなくなる。このようなスジと、読取画素との関係について、図7を参照して説明する。 By the way, in the case of a thin streak having a reading pixel size of the reading unit 45 having a width of only about one pixel, even if the streak can be detected when the streak overlaps the position of one reading pixel, the streak is read when the streak is straddled over two pixels. The concentration drops and cannot be detected. The relationship between such streaks and the reading pixels will be described with reference to FIG. 7.

図7は、2本のスジ70a,70bと、走査ライン80との関係を示す図である。
図7の左側には、印刷物75の副走査方向に2本のスジ70a,70bが発生したことが示される。そして、読取部45(図2を参照)は、主走査方向に印刷物75の画素値を読み取る。読み取られた画素値は、図中に示す主走査方向に平行な走査ライン80の読取画素ごとに格納される。
FIG. 7 is a diagram showing the relationship between the two streaks 70a and 70b and the scanning line 80.
On the left side of FIG. 7, it is shown that two streaks 70a and 70b are generated in the sub-scanning direction of the printed matter 75. Then, the reading unit 45 (see FIG. 2) reads the pixel value of the printed matter 75 in the main scanning direction. The read pixel value is stored for each read pixel of the scanning line 80 parallel to the main scanning direction shown in the figure.

図7の右側には、複数の読取画素で走査ライン80が構成される様子が示される。読取画素ごとの主走査方向の幅が、スジの幅とほぼ一致すると、右側のスジ70bは、1つの読取画素の位置にスジ70bの位置が一致する。このため、スジ70bの発生による画素値の変化量が十分に大きくなり、スジ70bが存在することが検出される。 On the right side of FIG. 7, it is shown that the scanning line 80 is composed of a plurality of reading pixels. When the width of each reading pixel in the main scanning direction substantially matches the width of the streak, the streak 70b on the right side coincides with the position of one reading pixel. Therefore, the amount of change in the pixel value due to the generation of the streaks 70b becomes sufficiently large, and the presence of the streaks 70b is detected.

しかし、左側のスジ70aは、2つの読取画素にスジ70aがまたがる。この場合、スジ70aの画素値は、2つの読取画素が読み取る画素値に分散してしまう。このため、スジ70aに対応するいちの読取画素が出力する画素値が小さくなり、スジ70aが存在しないかのように判断されてしまう。 However, in the streak 70a on the left side, the streak 70a straddles the two reading pixels. In this case, the pixel values of the streaks 70a are dispersed among the pixel values read by the two reading pixels. Therefore, the pixel value output by one read pixel corresponding to the streak 70a becomes small, and it is determined as if the streak 70a does not exist.

そこで、走査ライン80に含まれる各読取画素の画素毎に格納された画素値を、隣接する画素ごとに所定の処理を行って、スジ特徴量を抽出する処理を行う。
図8は、読取画像の画素毎に格納された画素値を演算する処理の例を示す図である。ここでは、読取画像の主走査方向に1ラインの読取画素を取り出して画素値を演算する様子を示す。
Therefore, the pixel value stored for each pixel of each reading pixel included in the scanning line 80 is subjected to a predetermined process for each adjacent pixel to extract the streak feature amount.
FIG. 8 is a diagram showing an example of a process of calculating a pixel value stored for each pixel of a scanned image. Here, a state in which one line of read pixels is taken out in the main scanning direction of the read image and the pixel value is calculated is shown.

図8の上側には、走査ライン80の読取画素に格納された画素値の例が示される。
図8の中側には、変化量算出部611が、走査ライン80の読取画素について、注目画素と、注目画素に対して2画素隣りにある比較画素との差分をとって差分画像603c1が生成される様子が示される。変化量算出部611は、注目画素71に対して算出された差分値と、注目画素71の周囲にある画素に対して算出された差分値との符号が一致した場合に、注目画素71に対して算出された差分値に、注目画素71の周囲にある画素に対して算出された差分値を加算して、差分値を連結する。
An example of pixel values stored in the reading pixels of the scanning line 80 is shown on the upper side of FIG.
On the middle side of FIG. 8, the change amount calculation unit 611 calculates the difference between the pixel of interest and the comparison pixel two pixels adjacent to the pixel of interest for the reading pixel of the scanning line 80, and generates a difference image 603c1. It is shown how it is done. The change amount calculation unit 611 refers to the attention pixel 71 when the sign of the difference value calculated for the attention pixel 71 and the difference value calculated for the pixels around the attention pixel 71 match. To the difference value calculated in the above, the difference value calculated for the pixels around the pixel of interest 71 is added, and the difference value is concatenated.

例えば、走査ライン80の一番左側にある読取画像の画素値“130”に対して、2画素隣りにある比較画素の画素値“132”との差分値“−2”が、差分画像603c1の左端の画素位置に格納されることが示される。同様に、他の読取画素においても続けて処理が行われ、各画素の差分値が差分画像603c1の画素位置に格納される。 For example, the difference value "-2" from the pixel value "130" of the scanned image on the leftmost side of the scanning line 80 and the pixel value "132" of the comparison pixel two pixels adjacent to each other is the difference value "-2" of the difference image 603c1. It is shown that it is stored at the leftmost pixel position. Similarly, the processing is continuously performed on the other reading pixels, and the difference value of each pixel is stored at the pixel position of the difference image 603c1.

図8の下側には、差分画像603c1の主走査方向に前後する画素毎に差分値を演算して得た連結値を格納した連結画像81が生成される様子が示される。ここで、変化量算出部611は、隣接画素の画素値が異符号であれば加算せず、同符号であれば加算する処理を行う。例えば、図8の中側に示す差分画像603c1の左端にある画素の画素値“−2”と、この画素の右隣にある画素の画素値“1”とは異符号である。 The lower side of FIG. 8 shows a state in which a connected image 81 storing the connected values obtained by calculating the difference values for each pixel before and after the main scanning direction of the difference image 603c1 is generated. Here, the change amount calculation unit 611 performs a process of not adding if the pixel values of the adjacent pixels have different signs, and adding if they have the same sign. For example, the pixel value “-2” of the pixel at the left end of the difference image 603c1 shown in the middle of FIG. 8 and the pixel value “1” of the pixel to the right of this pixel are different symbols.

一方で、差分画像603c1の左端から3番目の画素の画素値“−10”と、この画素の右隣にある画素の画素値“−11”とは同符号であるので、連結画像81には、連結値“−21”が格納される。また、差分画像603c1の左端から5番目の画素の画素値“13”と、この画素の右隣にある画素の画素値“10”についても同符号であるので、連結画像81には、連結値“23”が格納される。このように他の差分画像603c1の差分画素においても続けて処理が行われ、各画素の連結値が連結画像81の画素位置に格納される。 On the other hand, the pixel value "-10" of the third pixel from the left end of the difference image 603c1 and the pixel value "-11" of the pixel to the right of this pixel have the same code, so that the connected image 81 has the same code. , Concatenated value "-21" is stored. Further, since the pixel value "13" of the fifth pixel from the left end of the difference image 603c1 and the pixel value "10" of the pixel to the right of this pixel have the same reference numerals, the linked image 81 has a linked value. "23" is stored. In this way, the processing is continuously performed on the difference pixels of the other difference images 603c1, and the concatenated value of each pixel is stored in the pixel position of the concatenated image 81.

このように変化量算出部611が連結画像81を生成した後、連結画像81に格納される各連結値を3つに分類した分類値を含む分類結果603dを生成する。例えば、変化量算出部611は、連結画像81に含まれる連結画素の画素値が、第1分類閾値(例えば、“10”)よりも大きい箇所を“255”、第2分類閾値(例えば、“−10”)より小さい箇所を“0”、第2閾値以上かつ第1閾値以下の箇所を“128”とする3値化処理を行う。その後、欠陥特徴量抽出部612が、分類結果603dに基づいてスジ特徴量を抽出することで、品質判断部613が、スジの発生を検出することが可能となる。 After the change amount calculation unit 611 generates the connected image 81 in this way, the classification result 603d including the classification value in which each connection value stored in the connection image 81 is classified into three is generated. For example, the change amount calculation unit 611 sets the portion where the pixel value of the connected pixel included in the connected image 81 is larger than the first classification threshold value (for example, “10”) to “255” and the second classification threshold value (for example, “10”). The ternation process is performed so that the portion smaller than -10 ") is set to" 0 "and the portion equal to or more than the second threshold value and equal to or less than the first threshold value is set to" 128 ". After that, the defect feature amount extraction unit 612 extracts the streak feature amount based on the classification result 603d, so that the quality determination unit 613 can detect the occurrence of the streak.

次に、検査処理装置5で行われる処理の例について、図9を参照して説明する。
図9は、第1の実施の形態に係る検査処理装置5で行われる処理の例を示すフローチャートである。
Next, an example of the processing performed by the inspection processing apparatus 5 will be described with reference to FIG.
FIG. 9 is a flowchart showing an example of processing performed by the inspection processing apparatus 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 (for example, FIG. 5) read from the RAM 603 and inputs the image by the number of first pixels (for example, 3 pixels) (S1). Then, the change amount calculation unit 611 generates a difference image 603c1 (for example, FIG. 6) based on the shift image obtained in step S1 and the read image 603a that has not been processed in step S1 (S2).

次に、変化量算出部611は、前後値連結処理を行う(S3)。前後値連結処理については、図10を参照して後述する。 Next, the change amount calculation unit 611 performs the front-back value concatenation process (S3). The front-back value concatenation process will be described later with reference to FIG.

次に、変化量算出部611は、ステップS3の前後値連結処理によって連結された各画素の連結値を所定の閾値で3値化した値を含む分類結果603dを生成する(S4)。この際、変化量算出部611は、パラメータ603eに記憶されている分類閾値を参照して、各画素の連結値を3値化する。各画素の連結値が3値化されると、分類結果603dとして扱われる。 Next, the change amount calculation unit 611 generates a classification result 603d including a value obtained by ternating the connected value of each pixel connected by the front-back value connection process in step S3 with a predetermined threshold value (S4). At this time, the change amount calculation unit 611 digitizes the concatenated value of each pixel with reference to the classification threshold value stored in the parameter 603e. When the concatenated value of each pixel is ternaryized, it is treated as a classification result 603d.

次に、欠陥特徴量抽出部612は、分類結果603dに基づいて、スジ特徴量(例えば、図8の下段)を抽出し(S5)、読取画像603aの品質を判断する。スジ特徴量を抽出する処理は、図6に示したように、欠陥特徴量抽出部612が、2種類の3値化平均値を求め、一方の3値化平均値から他方の3値化平均値を減じることで行われる。 Next, the defect feature amount extraction unit 612 extracts the streak feature amount (for example, the lower part of FIG. 8) based on the classification result 603d (S5), and determines the quality of the read image 603a. In the process of extracting the streak feature amount, as shown in FIG. 6, the defect feature amount extraction unit 612 obtains two types of ternary average values, and one ternary average value is used as the other ternary average value. It is done by reducing the value.

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

図10は、図9のステップS3に示した前後値連結処理の例を示すフローチャートである。
始めに、変化量算出部611は、RAM603から差分画像603c1を取得する(S11)。次に、変化量算出部611は、差分画像603c1の副走査方向にある特定の画素を含む主走査方向の複数の画素について、注目画素毎に前画素の符号と一致するか否かを判断する(S12)。この処理において、前画素とは、例えば、図8の中段に示した差分画像603c1に含まれる画素から見て、左側に1画素だけ離れた画素である。
FIG. 10 is a flowchart showing an example of the front-back value concatenation process shown in step S3 of FIG.
First, the change amount calculation unit 611 acquires the difference image 603c1 from the RAM 603 (S11). Next, the change amount calculation unit 611 determines whether or not the plurality of pixels in the main scanning direction including the specific pixel in the sub-scanning direction of the difference image 603c1 match the sign of the previous pixel for each pixel of interest. (S12). In this process, the front pixel is, for example, a pixel separated by one pixel on the left side when viewed from the pixel included in the difference image 603c1 shown in the middle of FIG.

そして、変化量算出部611は、符号が一致しなければ(S12のNO)、ステップS14に進み、符号が一致すれば(S12のYES)、注目画素の画素値に前画素の画素値を加算する(S13)。 Then, if the signs do not match (NO in S12), the change amount calculation unit 611 proceeds to step S14, and if the signs match (YES in S12), the pixel value of the previous pixel is added to the pixel value of the pixel of interest. (S13).

次に、変化量算出部611は、注目画素毎に後画素の符号と一致するか否かを判断する(S14)。この処理において、後画素とは、例えば、図8の中段に示した差分画像603c1に含まれる画素から見て、右側に1画素だけ離れた画素である。 Next, the change amount calculation unit 611 determines whether or not the code of the rear pixel matches the code of the rear pixel for each pixel of interest (S14). In this process, the rear pixel is, for example, a pixel separated by one pixel on the right side when viewed from the pixel included in the difference image 603c1 shown in the middle of FIG.

そして、変化量算出部611は、符号が一致しなければ(S14のNO)、本処理を終了して、図9のステップS4に戻る。一方、変化量算出部611は、符号が一致すれば(S14のYES)、注目画素の画素値に後画素の画素値を加算して(S15)、図9のステップS4に戻る。 Then, if the signs do not match (NO in S14), the change amount calculation unit 611 ends this process and returns to step S4 in FIG. On the other hand, if the signs match (YES in S14), the change amount calculation unit 611 adds the pixel value of the rear pixel to the pixel value of the pixel of interest (S15), and returns to step S4 of FIG.

以上説明した第1の実施の形態に係る検査処理装置5では、読取画像603aを数画素分シフトして得たシフト画像と、読取画像603aとの差分をとって差分画像603c1を得た後、差分画像603c1の差分画素の前後で画素値を連結し、3値化した後、スジ特徴量を抽出する。検査処理装置5は、この抽出したスジ特徴量に基づいて、読取画像603aにおけるスジを検出する。この検査処理装置5は、読取画像603a内でスジが発生した領域が平坦であっても、検査処理装置5が隣接する数画素の幅でまたがるスジを検出できるので、スジの検出精度が向上し、用紙Shに形成される画像の品質が向上する。 In the inspection processing apparatus 5 according to the first embodiment described above, the difference image 603c1 is obtained by taking the difference between the shift image obtained by shifting the read image 603a by several pixels and the read image 603a, and then obtaining the difference image 603c1. Pixel values are concatenated before and after the difference pixel of the difference image 603c1, and after ternation, the streak feature amount is extracted. The inspection processing device 5 detects the streaks in the scanned image 603a based on the extracted streak feature amount. Even if the area where the streaks are generated in the scanned image 603a is flat, the inspection processing device 5 can detect the streaks straddling the width of several adjacent pixels, so that the streak detection accuracy is improved. , The quality of the image formed on the paper Sh is improved.

なお、幅の広いスジは、スジによる影響(画素値の変化)がなだらかである。このため、注目画素に対して比較画素として抽出する画素の位置が近過ぎると、比較画素との差分が小さくなってスジを検出できない。一方で、注目画素に対して比較画素が遠すぎると、狭い平坦領域に生じたスジを検出できない。 It should be noted that the wide streaks have a gentle effect (change in pixel value) due to the streaks. Therefore, if the positions of the pixels to be extracted as the comparison pixels are too close to the pixels of interest, the difference from the comparison pixels becomes small and the streaks cannot be detected. On the other hand, if the comparison pixel is too far from the pixel of interest, the streaks generated in the narrow flat region cannot be detected.

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

[第2の実施の形態]
<平坦画像の領域以外の領域に現れるスジの検出>
上述した実施の形態では、読取画像603aの中で事前に判明している平坦な画像の領域(「平坦領域」と呼ぶ)に現れるスジを検出する処理の例を説明した。平坦領域であれば、分類閾値は検出対象とするスジの濃さ(画素値の階調差)に応じて変動させればよい。そこで、変化量算出部611は、読取画像603aから平坦領域のみを抽出して差分画像603c1を生成した後、欠陥特徴量抽出部612がスジ特徴量を抽出し、品質判断部613が、抽出された領域だけを対象としてスジを検出すればよい。
[Second Embodiment]
<Detection of streaks appearing in areas other than the flat image area>
In the above-described embodiment, an example of a process for detecting a streak appearing in a previously known flat image region (referred to as a “flat region”) in the scanned image 603a has been described. If it is a flat region, the classification threshold value may be changed according to the density of the streaks to be detected (gradation difference of pixel values). Therefore, the change amount calculation unit 611 extracts only the flat region from the read image 603a to generate the difference image 603c1, the defect feature amount extraction unit 612 extracts the streak feature amount, and the quality determination unit 613 is extracted. It is sufficient to detect the streaks only in the area.

しかし、実際の印刷物には、平坦領域だけでなく、平坦でない画像の領域(「非平坦領域」と呼ぶ)が現れる。例えば、画素値の変動量が小さいグラデーションがあるような非平坦領域に乗ったスジは目立ってしまう。そこで、第2の実施の形態では、検査処理装置5Aが、非平坦領域に現れるスジを検出する処理について説明する。 However, in an actual printed matter, not only a flat region but also a non-flat image region (referred to as "non-flat region") appears. For example, a streak on a non-flat region where there is a gradation in which the amount of fluctuation of the pixel value is small becomes conspicuous. Therefore, in the second embodiment, the process of detecting the streaks appearing in the non-flat region by the inspection processing device 5A will be described.

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

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

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

位置合わせ部616は、出力対象画像603bと、画像が形成された用紙Shから読み取られた読取画像603aとの印字位置を合わせる(「位置合わせ」と呼ぶ)。この時、位置合わせ部616は、RAM603から読み出した読取画像603aを、RAM603に予め保存されている出力対象画像603bの位置に合わせる。 The alignment unit 616 aligns the print position of the output target image 603b with the scanned image 603a read from the paper 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 with the position of the output target image 603b stored in advance in the RAM 603.

そして、変化量算出部611は、位置合わせ部616が位置合わせした読取画像603aと出力対象画像603bとの差分をとって差分画像603c2を生成する。差分画像603c2は、第1の実施の形態で説明した、読取画像603aのシフト画像と、シフト前の読取画像603aとの差分をとった差分画像603c1と共にRAM603に保存される。 Then, the change amount calculation unit 611 generates the difference image 603c2 by taking the difference between the read image 603a aligned by the alignment unit 616 and the output target image 603b. The difference image 603c2 is stored in the RAM 603 together with the difference image 603c1 obtained by taking the difference between the shift image of the read image 603a and the read image 603a before the shift 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 to be referred to for creating the classification result 603d based on the difference image 603c2. At this time, the change amount calculation unit 611 changes the classification threshold value according to the change in the pixel value of the read image 603a aligned by the alignment unit 616. The threshold image 603f is two types of images defined by the first classification threshold A and the second classification threshold B shown in FIG. 12, which will be described later, and is stored in the RAM 603. The change amount calculation unit 611 digitizes the difference image 603c1 based on the generated threshold image 603f, and obtains the classification result 603d.

図12は、読取画像603aの平坦領域と非平坦領域における画素の画素値と差分値、及び分類閾値の例を示すグラフである。このグラフの横軸は主走査位置を表し、縦軸は、3種類の値(画素値、差分値及び分類閾値)を表す。また、平坦領域及び非平坦領域は、図12の上側にある差分値のグラフで規定される。 FIG. 12 is a graph showing an example of pixel values, difference values, and classification thresholds of pixels in the flat region and the non-flat region of the scanned image 603a. 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 value). Further, the flat region and the non-flat region are defined by the graph of the difference value on the upper side of FIG.

図12の下側にあるグラフは、RIP処理が施された出力対象画像603bの画素値の変動を表す。また、図12の上側にあるグラフは、図12の下側にあるグラフにおいて、図5と同様に、注目画素と、注目画素から水平方向(検出対象とするスジと直交方向)に3画素シフトした比較画素との差分をとって得た差分画像603c2の差分値の変動を表す。図中では、第1分類閾値A、第2分類閾値Bを、それぞれ「閾値A」、「閾値B」と記載する。 The graph on the lower side of FIG. 12 shows the fluctuation of the pixel value of the output target image 603b subjected to the RIP processing. Further, in the graph on the upper side of FIG. 12, in the graph on the lower side of FIG. 12, as in FIG. 5, the pixel of interest and the pixel of interest are shifted by 3 pixels in the horizontal direction (direction orthogonal to the streak to be detected). It represents the variation of the difference value of the difference image 603c2 obtained by taking the difference from the comparison pixel. In the figure, the first classification threshold value A and the second classification threshold value B are described as “threshold value A” and “threshold value B”, respectively.

出力対象画像603bの画素値は、折れ線L1のグラフで表される。折れ線L1のグラフより、主走査位置の“1”から“7”までの間が平坦領域であるので、画素値と差分値は共に変化していないことが示される。一方で、主走査位置の“7”から“33”までの間は非平坦領域であるので、画素値と差分値が変化する。例えば、非平坦領域における画素値は、主走査位置の“11”から“21”にかけて緩やかに高くなって一定値を保った後、“23”から“33”にかけて緩やかに低くなって元の値“128”に戻る。 The pixel value of the output target image 603b is represented by a graph of a polygonal line L1. From the graph of the polygonal line L1, it is shown that the pixel value and the difference value do not change because the flat region is between “1” and “7” of the main scanning position. On the other hand, since the area from "7" to "33" of the main scanning position is a non-flat region, the pixel value and the difference value change. For example, the pixel value in the non-flat region gradually increases from "11" to "21" of the main scanning position and keeps a constant value, and then gradually decreases from "23" to "33" 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 polygonal line L10. As shown in the graph of the polygonal line L10, the difference value in the non-flat region gradually decreases from "7" to "9" at the main scanning position, 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 "23" to "30" of the main scanning position, 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, a value obtained by adding a predetermined value (for example, "8") to the difference value is called a first classification threshold value A, and a value obtained by subtracting a predetermined value (for example, "8") from the difference value is called. , Called the second classification threshold B. The first classification threshold value A is represented by the graph of the polygonal line L11, and the second classification threshold value B is represented by the graph of the polygonal line L12.

以下の説明で、第1分類閾値A及び第2分類閾値Bを区別しない場合は、「分類閾値」と総称する。分類閾値は、パラメータ603eに記憶されている。分類閾値は、いずれも変化量算出部611が、読取画像603aの主走査位置で特定される画素を3値化するために参照される。 In the following description, when the first classification threshold value A and the second classification threshold value B are not distinguished, they are collectively referred to as “classification threshold value”. The classification threshold is stored in parameter 603e. The classification thresholds are all referred to by the change amount calculation unit 611 for ternating the pixels specified by the main scanning position of the scanned image 603a.

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

始めに、画像変換部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). By this process, the image conversion unit 615 matches the color mode of the output target image 603b (RIP image) received from the image forming device 2 by the image inspection device 3 with the color mode of the scanned image 603a.

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

次に、変化量算出部611は、ステップS23より得たシフト画像と、ステップS23の処理を行っていない出力対象画像603bとに基づいて差分画像603c2を生成する(S24)。 Next, the change amount calculation unit 611 generates a difference image 603c2 based on the shift 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 for each pixel value of each pixel included in the difference image 603c2 as the first classification threshold value A, and sets a value obtained by subtracting the predetermined value as the second classification threshold value B. The threshold image 603f is generated (S25). The threshold image 603f is temporarily stored in the RAM 603.

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

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

以上説明した第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 value with respect to the difference value. Then, the ternary processing of the connected pixels is performed based on the threshold image 603f. Therefore, even for the streaks generated in the non-flat region of the scanned image 603a, the connected pixels are quantified by the ternary processing and the streak feature amount is extracted, so that the streak detection accuracy can be improved.

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

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

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

Claims (6)

画像が形成された記録材から読み取られた読取画像に含まれる複数の画素のうち、注目画素の画素値と、前記注目画素から第1の方向に第1画素数だけ離れた比較画素の画素値との差分値を前記第1の方向に前記注目画素ごとに算出した後、前記第1の方向に第2画素数だけ離れた前記差分値を連結し、前記差分値を連結した値を分類閾値で複数の分類値に分類した分類結果を、前記画素値の変化量として算出する変化量算出部と、
前記分類結果の前記分類値を、前記第1の方向に交差する第2の方向に平均化した平均化結果に基づいて、前記記録材に形成された前記画像に発生するスジ状欠陥の特徴量を抽出する特徴量抽出部と、
前記特徴量と、予め設定された欠陥検出閾値とを比較して前記スジ状欠陥を検出し、前記記録材に形成された前記画像の品質を判断する品質判断部と、を備える
画像検査装置。
Of the plurality of pixels included in the scanned image read from the recording material on which the image is formed, the pixel value of the pixel of interest and the pixel value of the comparison pixel separated by the first pixel number in the first direction from the pixel of interest. After calculating the difference value with and from each of the attention pixels in the first direction, the difference values separated by the number of second pixels in the first direction are concatenated, and the concatenated value is the classification threshold value. A change amount calculation unit that calculates the classification results classified into a plurality of classification values as the change amount of the pixel value,
Based on the averaging result obtained by averaging the classification value of the classification result in the second direction intersecting the first direction, the feature amount of the streak-like defect generated in the image formed on the recording material. Feature extraction unit to extract
An image inspection apparatus including a quality determination unit that detects a streak-like defect by comparing the feature amount with a preset defect detection threshold value and determines the quality of the image formed on the recording material.
前記変化量算出部は、前記注目画素に対して算出された前記差分値と、前記注目画素の周囲にある画素に対して算出された前記差分値との符号が一致した場合に、前記注目画素に対して算出された前記差分値に、前記注目画素の周囲にある画素に対して算出された前記差分値を加算して、前記差分値を連結する
請求項1に記載の画像検査装置。
When the difference value calculated for the attention pixel and the difference value calculated for the pixels around the attention pixel match, the change amount calculation unit determines the attention pixel. The image inspection apparatus according to claim 1, wherein the difference value calculated for pixels around the pixel of interest is added to the difference value calculated for the above difference value, and the difference value is connected.
画像形成装置が記録材に形成する画像の元となる出力対象画像のカラーモードを、前記読取画像のカラーモードに合わせて画像変換する画像変換部と、
前記画像変換部により画像変換された前記出力対象画像と、前記読取画像との位置を合わせる位置合わせ部を備え、
前記変化量算出部は、位置合わせされた前記読取画像の画素値が変動する領域に合わせて、前記分類閾値を変動させる
請求項1又は2に記載の画像検査装置。
An image conversion unit that converts the color mode of the output target image, which is the source of the image formed by the image forming apparatus on the recording material, according to the color mode of the scanned image.
A positioning unit for aligning the position of the output target image converted by the image conversion unit with the read image is provided.
The image inspection apparatus according to claim 1 or 2, wherein the change amount calculation unit changes the classification threshold value according to a region in which the pixel value of the read image aligned is changed.
前記変化量算出部は、前記分類結果を、検出対象とする前記スジ状欠陥と同じ方向に平均化した平均化結果を得る
請求項1〜3のいずれか一項に記載の画像検査装置。
The image inspection apparatus according to any one of claims 1 to 3, wherein the change amount calculation unit obtains an averaging result obtained by averaging the classification result in the same direction as the streak-shaped defect to be detected.
前記記録材から前記画像を読み取って前記読取画像を生成する読取部を備える
請求項1〜4のいずれか一項に記載の画像検査装置。
The image inspection apparatus according to any one of claims 1 to 4, further comprising a reading unit that reads the image from the recording material and generates the read image.
記録材に画像を形成する画像形成装置と、前記記録材に形成された前記画像を検査する画像検査装置と、を備え、
前記画像検査装置は、
前記記録材から読み取られた読取画像に含まれる複数の画素のうち、注目画素の画素値と、前記注目画素から第1の方向に第1画素数だけ離れた比較画素の画素値との差分値を前記第1の方向に前記注目画素ごとに算出した後、前記第1の方向に第2画素数だけ離れた前記差分値を連結し、前記差分値を連結した値を分類閾値で複数の分類値に分類した分類結果を、前記画素値の変化量として算出する変化量算出部と、
前記分類結果の前記分類値を、前記第1の方向に交差する第2の方向に平均化した平均化結果に基づいて、前記記録材に形成された前記画像に発生するスジ状欠陥の特徴量を抽出する特徴量抽出部と、
前記特徴量と、予め設定された欠陥検出閾値とを比較して前記スジ状欠陥を検出し、前記記録材に形成された前記画像の品質を判断する品質判断部と、を備える
画像検査システム。
An image forming apparatus for forming an image on a recording material and an image inspection apparatus for inspecting the image formed on the recording material are provided.
The image inspection device is
Of the plurality of pixels included in the scanned image read from the recording material, the difference value between the pixel value of the pixel of interest and the pixel value of the comparison pixel separated by the first pixel number in the first direction from the pixel of interest. Is calculated for each pixel of interest in the first direction, then the difference values separated by the number of second pixels in the first direction are concatenated, and the concatenated values are classified into a plurality of classifications by the classification threshold. A change amount calculation unit that calculates the classification result classified into values as the change amount of the pixel value,
Based on the averaging result obtained by averaging the classification value of the classification result in the second direction intersecting the first direction, the feature amount of the streak-like defect generated in the image formed on the recording material. Feature extraction unit to extract
An image inspection system including a quality determination unit that detects a streak-like defect by comparing the feature amount with a preset defect detection threshold value and determines the quality of the image formed on the recording material.
JP2019196049A 2019-10-29 2019-10-29 Image inspection equipment and image inspection system Active JP7367460B2 (en)

Priority Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2021071298A true JP2021071298A (en) 2021-05-06
JP7367460B2 JP7367460B2 (en) 2023-10-24

Family

ID=75712833

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP7367460B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04198743A (en) * 1990-11-28 1992-07-20 Sekisui Chem Co Ltd Surface state inspecting device
JPH1074262A (en) * 1996-06-26 1998-03-17 Toshiba Eng Co Ltd Streak defect inspection method and device therefor
JP2000121569A (en) * 1998-10-16 2000-04-28 Showa Corp Apparatus for inspection of flaw on surface of rod
US6366358B1 (en) * 1996-10-09 2002-04-02 Dai Nippon Printing Co., Ltd. Method and apparatus for detecting stripe defects of printed matter
JP2017173000A (en) * 2016-03-18 2017-09-28 株式会社リコー Inspection device, inspection method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04198743A (en) * 1990-11-28 1992-07-20 Sekisui Chem Co Ltd Surface state inspecting device
JPH1074262A (en) * 1996-06-26 1998-03-17 Toshiba Eng Co Ltd Streak defect inspection method and device therefor
US6366358B1 (en) * 1996-10-09 2002-04-02 Dai Nippon Printing Co., Ltd. Method and apparatus for detecting stripe defects of printed matter
JP2000121569A (en) * 1998-10-16 2000-04-28 Showa Corp Apparatus for inspection of flaw on surface of rod
JP2017173000A (en) * 2016-03-18 2017-09-28 株式会社リコー Inspection device, inspection method, and program

Also Published As

Publication number Publication date
JP7367460B2 (en) 2023-10-24

Similar Documents

Publication Publication Date Title
US9317914B2 (en) Image inspecting device, image forming system, and computer program product
JP6642161B2 (en) Inspection device, inspection method and program
JP7363035B2 (en) Image inspection equipment, programs, image processing equipment, and image forming equipment
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
US9146516B2 (en) Image forming apparatus that performs inspection of printed matter, method of controlling the same, and storage medium
JP7230444B2 (en) IMAGE INSPECTION APPARATUS, IMAGE INSPECTION METHOD AND IMAGE INSPECTION PROGRAM
US20210073966A1 (en) Image inspection device, image forming device, image inspection method and recording medium
JP6171730B2 (en) Image inspection apparatus, image inspection method, and image inspection program
JP6229480B2 (en) Image inspection apparatus, image forming system, and image inspection program
JP6665544B2 (en) Inspection device, inspection system, inspection method and program
JP6705305B2 (en) Inspection device, inspection method and program
JP6635335B2 (en) Image inspection device and image forming system
JP6337541B2 (en) Image inspection apparatus, image forming system, and image inspection method
JP2016177669A (en) Image inspection device, image inspection system and image inspection method
JP7367460B2 (en) Image inspection equipment and image inspection system
JP7367461B2 (en) Image inspection equipment and image inspection system
JP7367462B2 (en) Image inspection equipment and image inspection system
JP7443719B2 (en) Image inspection equipment and image inspection system
JP6277803B2 (en) Image inspection apparatus, image forming system, and image inspection program
US10761446B2 (en) Image forming apparatus and computer-readable recording medium storing program
JP2021096535A (en) Image inspection device and image inspection system
JP6070310B2 (en) Image inspection apparatus, image inspection system, and image inspection method
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
US12047540B2 (en) Inspection apparatus, method, and storage medium, that correct reference image and inspect printed material based on the corrected reference image

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

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150