[go: up one dir, main page]

JP2013009116A - Image processor, image reader, image forming apparatus, image processing method, program and recording medium - Google Patents

Image processor, image reader, image forming apparatus, image processing method, program and recording medium Download PDF

Info

Publication number
JP2013009116A
JP2013009116A JP2011139894A JP2011139894A JP2013009116A JP 2013009116 A JP2013009116 A JP 2013009116A JP 2011139894 A JP2011139894 A JP 2011139894A JP 2011139894 A JP2011139894 A JP 2011139894A JP 2013009116 A JP2013009116 A JP 2013009116A
Authority
JP
Japan
Prior art keywords
streak
pixel
image
unit
document
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.)
Withdrawn
Application number
JP2011139894A
Other languages
Japanese (ja)
Inventor
Kazuhisa Kubota
和久 久保田
Makio Goto
牧生 後藤
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2011139894A priority Critical patent/JP2013009116A/en
Publication of JP2013009116A publication Critical patent/JP2013009116A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

【課題】原稿には存在しないスジ画像を精度よく検出できるようにする。
【解決手段】スジ検知処理部129は、原稿の読取画像データに設定された判定領域に含まれるエッジ画素を検出し、エッジ画素について、立ち上りエッジ画素か立ち下りエッジ画素かを判定する隣接画素濃度差算出部202および立ち上り/立ち下りエッジ検出部203と、判定領域の各画素を注目画素とし、注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、注目画素がエッジ画素である第1の条件、ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素とが1組存在する第2の条件、およびブロックにおける副走査方向の全てのラインにエッジ画素が存在しない第3の条件が全て満たされる場合に、注目画素をスジ画素と判定するスジ画素判定部204とを備える。
【選択図】図3
A streak image that does not exist in a document can be accurately detected.
A streak detection processing unit 129 detects an edge pixel included in a determination region set in read image data of a document, and determines whether the edge pixel is a rising edge pixel or a falling edge pixel. The difference calculation unit 202, the rising / falling edge detection unit 203, and each pixel in the determination region are set as the target pixel, and a block including a plurality of pixels in the main scanning direction and the sub-scanning direction is set around the target pixel. The first condition that is an edge pixel, the second condition that there is one pair of rising edge pixel and falling edge pixel for each line in the main scanning direction in the block, and the edge in all lines in the sub scanning direction in the block A streak pixel determination unit 204 that determines a target pixel as a streak pixel when all the third conditions in which no pixel exists is satisfied.
[Selection] Figure 3

Description

本発明は、原稿の読取画像データにおけるスジ画像を検知する画像処理装置、画像読取装置、画像形成装置、画像処理方法、プログラムおよび記録媒体関する。   The present invention relates to an image processing apparatus, an image reading apparatus, an image forming apparatus, an image processing method, a program, and a recording medium that detect a streak image in read image data of a document.

従来のコピー機やファクシミリ装置は、原稿画像の読取の際に、シートスルータイプの自動原稿送り装置(ADF: Automatic Document Feeder)によって原稿を移動させる一方、固定された光学系にて原稿画像を読み取る画像読取装置を備えている。このような画像読取装置では、ADFの給紙部に配置された原稿が順次自動的にコンタクトガラス上に搬送されるので、ユーザーが一枚一枚原稿をコンタクトガラス上において載せ替えるといった煩わしさを解消することができる。また、読み取り光学系が副走査方向に往復運動しないので、多数枚の原稿を読み取る場合であっても、全ての原稿を読み取るまでの時間が短縮されるという利点がある。   In a conventional copying machine or facsimile machine, when reading a document image, the document is moved by a sheet-through type automatic document feeder (ADF), and the document image is read by a fixed optical system. An image reading device is provided. In such an image reading apparatus, since the documents placed on the ADF paper feeding unit are automatically and sequentially conveyed onto the contact glass, the user is troublesome to transfer the documents one by one on the contact glass. Can be resolved. Further, since the reading optical system does not reciprocate in the sub-scanning direction, there is an advantage that even when a large number of documents are read, the time until all the documents are read is shortened.

しかしながら、ADFを利用した上記画像読取装置では、光路上に塵や埃が存在すると、原稿に照射される光が遮られるので、読取画像に縦スジが発生するという問題がある。この場合には、印刷された画像にも原稿にはないスジが現れることになる。   However, in the image reading apparatus using ADF, if dust or dirt is present on the optical path, there is a problem in that vertical stripes occur in the read image because light applied to the document is blocked. In this case, streaks that do not exist in the original also appear in the printed image.

このような問題を解決するためのものとして、例えば特許文献1には、読取画像におけるスジ画像を検知する構成が開示されている。具体的には、画像読取部が互いに異なる色に対して反応のピークを有するCCDを備え、この画像読取部が読み取った画像の各々について、スジ画像検知部がスジピーク画素を抽出する。さらに、1つのCCDのみでスジピーク画素と判定された画素をスジ画像候補とし、それが副走査線方向に所定の数以上続いたものをスジ画像として検知する。   In order to solve such a problem, for example, Patent Document 1 discloses a configuration for detecting a streak image in a read image. Specifically, the image reading unit includes a CCD having a peak of response to different colors, and the streak image detecting unit extracts a streak peak pixel for each of the images read by the image reading unit. Further, a pixel determined to be a streak peak pixel by only one CCD is set as a streak image candidate, and a pixel in which a predetermined number or more continues in the sub-scanning line direction is detected as a streak image.

特開2008−028684号公報(2008年02月07日公開)JP 2008-028864 A (published on Feb. 07, 2008) 特開2004−289496号公報(2004年10月14日公開)Japanese Patent Application Laid-Open No. 2004-289496 (released on October 14, 2004)

ところが、特許文献1に記載の技術では、1つのCCDのみでスジピーク画素と判定された画素をスジ画像候補としているため、互いに異なる色に対して反応のピークを有する3つのラインCCDのうち、複数のラインCCDにおいて複数の色に反応のピークが発生した場合には、スジ画像を検出できないという問題がある。   However, in the technique described in Patent Document 1, pixels that are determined to be streak-peak pixels with only one CCD are used as streak image candidates, and therefore, a plurality of line CCDs out of three line CCDs that have reaction peaks for different colors. In the case of the line CCD, when reaction peaks occur in a plurality of colors, there is a problem that a streak image cannot be detected.

一方、スジ画像は、CCDに至る光路上のゴミが原因となって発生するだけではなく、ADFの使用時に原稿のインクやトナー、あるいは汚れなどがコンタクトガラス上に付着することが原因となることも多い。そして、後者がスジ画像の原因となる場合には、各CCDにおいて反応のピークが発生するため、スジ画素候補すなわちスジ画像を検出できないという問題もある。   On the other hand, streaked images are not only caused by dust on the optical path to the CCD, but also when ink, toner, or dirt on the document adheres to the contact glass when the ADF is used. There are also many. When the latter causes a streak image, a reaction peak occurs in each CCD, so that there is a problem that a streak pixel candidate, that is, a streak image cannot be detected.

したがって、本発明は、例えば原稿を移動させながら画像を読み取る画像読取装置(ADFを利用した画像読取装置)の使用時における塵や埃の存在により、原稿の読取画像データにおける、原稿には存在しないスジ画像の発生を精度よく検知することができる画像処理装置、画像読取装置、画像形成装置、画像処理方法、プログラムおよび記録媒体の提供を目的としている。   Therefore, the present invention does not exist in the original in the read image data of the original due to the presence of dust or dust when using an image reading apparatus (an image reading apparatus using ADF) that reads an image while moving the original, for example. An object of the present invention is to provide an image processing apparatus, an image reading apparatus, an image forming apparatus, an image processing method, a program, and a recording medium that can accurately detect the occurrence of a streak image.

上記の課題を解決するために、本発明の画像処理装置は、原稿から読み取られた読取画像データについて、スジ画像を含む読取画像データを検知するスジ検知処理部を備えた画像処理装置において、前記スジ検知処理部は、原稿から読み取られた読取画像データに設定された判定領域について、この判定領域に含まれるエッジ画素を検出し、かつ検出したエッジ画素について、画素の濃度が原稿の読み取りにおける主走査方向に向かって高くなる立ち上りエッジ画素か、画素の濃度が原稿の読み取りにおける主走査方向に向かって低くなる立ち下りエッジ画素かを判定するエッジ画素検出部と、前記判定領域の各画素を注目画素とし、その注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、前記注目画素がエッジ画素である第1の条件、前記ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素とが1組存在する第2の条件、および前記ブロックにおける副走査方向の全てのラインにエッジ画素が存在しない第3の条件が全て満たされる場合に、前記注目画素をスジ画素と判定するスジ画素判定部とを備えていることを特徴としている。   In order to solve the above-described problem, an image processing apparatus according to the present invention includes an image processing apparatus including a streak detection processing unit that detects read image data including a streak image with respect to read image data read from a document. The streak detection processing unit detects edge pixels included in the determination region set in the read image data read from the document, and the pixel density of the detected edge pixel is the main pixel in reading the document. Pay attention to the edge pixel detection unit that determines whether the rising edge pixel increases in the scanning direction or the falling edge pixel in which the pixel density decreases in the main scanning direction during document reading, and each pixel in the determination area A block including a plurality of pixels in the main scanning direction and the sub-scanning direction around the target pixel is set as the pixel. A first condition that is a wedge pixel, a second condition in which a pair of rising edge pixels and falling edge pixels exist for each line in the main scanning direction in the block, and all of the sub scanning direction in the block A streak pixel determining unit that determines that the target pixel is a streak pixel when all the third conditions in which no edge pixel exists in the line is satisfied is provided.

また、本発明の画像処理方法は、原稿から読み取られた読取画像データについて、スジ画像を含む読取画像データを検知するスジ検知処理を行う画像処理方法において、前記スジ検知処理は、原稿から読み取られた読取画像データに設定された判定領域について、この判定領域に含まれるエッジ画素を検出し、かつ検出したエッジ画素について、画素の濃度が原稿の読み取りにおける主走査方向に向かって高くなる立ち上りエッジ画素か、画素の濃度が原稿の読み取りにおける主走査方向に向かって低くなる立ち下りエッジ画素かを判定するエッジ画素検出工程と、前記判定領域の各画素を注目画素とし、その注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、前記注目画素がエッジ画素である第1の条件、前記ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素とが1組存在する第2の条件、および前記ブロックにおける副走査方向の全てのラインにエッジ画素が存在しない第3の条件が全て満たされる場合に、前記注目画素をスジ画素と判定するスジ画素判定工程とを備えていることを特徴としている。   The image processing method of the present invention is an image processing method for performing a streak detection process for detecting read image data including a streak image with respect to read image data read from a document, wherein the streak detection process is read from a document. For the determination region set in the read image data, the edge pixel included in the determination region is detected, and the rising edge pixel in which the pixel density of the detected edge pixel becomes higher in the main scanning direction in reading the document. Or an edge pixel detection step for determining whether the pixel density is a falling edge pixel that decreases in the main scanning direction during document reading, and each pixel in the determination area is a pixel of interest, and the pixel of interest is the center of the pixel of interest. A first condition in which a block including a plurality of pixels is set in the scanning direction and the sub-scanning direction, and the target pixel is an edge pixel A second condition in which one set of rising edge pixels and falling edge pixels exists for each line in the main scanning direction in the block, and a third condition in which no edge pixels exist in all lines in the sub scanning direction in the block. And a streak pixel determining step of determining the target pixel as a streak pixel when all the conditions are satisfied.

上記の構成によれば、スジ検知処理部は(スジ検知処理工程では)、原稿から読み取られた読取画像データについて、スジ画像を含む読取画像データを検知する。この場合に、エッジ画素検出部は(エッジ画素検出工程では)、原稿から読み取られた読取画像データに設定された判定領域について、この判定領域に含まれるエッジ画素を検出し、かつ検出したエッジ画素について、画素の濃度が主走査方向に向かって高くなる立ち上りエッジ画素か、画素の濃度が主走査方向に向かって低くなる立ち下りエッジ画素かを判定する。スジ画素判定部は(スジ画素判定工程では)、前記判定領域の各画素を注目画素とし、その注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、前記注目画素がエッジ画素である第1の条件、前記ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素とが1組存在する第2の条件、および前記ブロックにおける副走査方向の全てのラインにエッジ画素が存在しない第3の条件が全て満たされる場合に、前記注目画素をスジ画素と判定する。   According to the above configuration, the streak detection processing unit (in the streak detection processing step) detects read image data including a streak image from the read image data read from the document. In this case, the edge pixel detection unit (in the edge pixel detection step) detects the edge pixel included in the determination area for the determination area set in the read image data read from the document, and detects the detected edge pixel. Is determined whether it is a rising edge pixel whose pixel density increases in the main scanning direction or a falling edge pixel whose pixel density decreases in the main scanning direction. The streak pixel determination unit (in the streak pixel determination step) sets each pixel in the determination region as a target pixel, sets a block including a plurality of pixels in the main scanning direction and the sub-scanning direction around the target pixel, and sets the target pixel Are the first condition, the second condition that there is one set of rising edge pixels and falling edge pixels for each line in the main scanning direction in the block, and all the sub scanning directions in the block The pixel of interest is determined to be a streak pixel when all the third conditions in which no edge pixel exists in the line are satisfied.

上記のように、スジ画素判定部は(スジ画素判定工程では)、第1から第3の条件が全て満たされる場合に注目画素をスジ画素と判定するので、スジ画素の判定を高精度に行うことができる。すなわち、第1から第3の条件が全て満たされる場合、主走査方向には濃度差のあるエッジの組合せが1組ずつ存在し、副走査方向には濃度差が存在するエッジが存在しないことになり、副走査方向に1本の縦スジが存在すると判定することができる。したがって、例えば原稿を移動させながら画像を読み取る画像読取装置(ADFを利用した画像読取装置)の使用時における塵や埃の存在により、原稿の読取画像データにおける、原稿には存在しないスジ画像の発生を精度よく検出することができる。また、この場合、スジ画像の検知のために特別な作業を行う必要がなく、通常の読取画像データから精度よくスジ画像を検知することができる。   As described above, the streak pixel determination unit (in the streak pixel determination step) determines the target pixel as a streak pixel when all of the first to third conditions are satisfied, so that the streak pixel is determined with high accuracy. be able to. That is, when all of the first to third conditions are satisfied, there is one edge combination having a density difference in the main scanning direction, and there is no edge having a density difference in the sub-scanning direction. Thus, it can be determined that one vertical stripe exists in the sub-scanning direction. Therefore, for example, due to the presence of dust or dust when using an image reading apparatus (an image reading apparatus using ADF) that reads an image while moving the original, a streak image that does not exist in the original is generated in the read image data of the original. Can be detected with high accuracy. In this case, it is not necessary to perform a special operation for detecting the streak image, and the streak image can be detected with high accuracy from the normal read image data.

上記の画像処理装置において、前記スジ検知処理部は、前記読取画像データにおける原稿の読取先端側あるいは読取後端側の領域を前記判定領域として設定する判定領域抽出部と、前記エッジ画素検出部にて検出された、前記判定領域に含まれるエッジ画素の数を計数するエッジ画素数計数部と、前記判定領域を無地領域か否か判定するためのエッジ画素数を設定した無地領域判定閾値と前記エッジ画素数計数部にて計数されたエッジ画素数とを比較し、前記判定領域が無地領域か否かを判定する無地領域判定部と、前記無地領域判定部にて前記判定領域が無地領域と判定された場合に、前記判定領域にスジ画像が含まれているか否かを判定するスジ有無判定部とを備えている構成としてもよい。   In the image processing apparatus, the streak detection processing unit includes: a determination region extraction unit that sets a region on the reading front end side or reading rear end side of the read image data as the determination region; and the edge pixel detection unit. An edge pixel number counting unit that counts the number of edge pixels included in the determination region, and a plain region determination threshold that sets the number of edge pixels for determining whether or not the determination region is a plain region; The number of edge pixels counted by the edge pixel number counting unit is compared to determine whether the determination region is a plain region or not, and the determination region is determined to be a plain region by the plain region determination unit. It may be configured to include a streak presence / absence determining unit that determines whether or not a streak image is included in the determination region when it is determined.

上記の構成によれば、判定領域抽出部は、読取画像データにおける原稿の読取先端側あるいは読取後端側の領域を前記判定領域として設定する。エッジ画素数計数部は、エッジ画素検出部にて検出された、判定領域に含まれるエッジ画素の数を計数する。無地領域判定部は、判定領域を無地領域か否か判定するためのエッジ画素数を設定した無地領域判定閾値とエッジ画素数計数部にて計数されたエッジ画素数とを比較し、判定領域が無地領域か否かを判定する。スジ有無判定部は、無地領域判定部にて判定領域が無地領域と判定された場合に、判定領域にスジ画像が含まれているか否かを判定する。   According to the above configuration, the determination area extraction unit sets an area on the reading front end side or the reading rear end side of the read image data as the determination area. The edge pixel number counting unit counts the number of edge pixels included in the determination region detected by the edge pixel detection unit. The plain region determination unit compares the plain region determination threshold value that sets the number of edge pixels for determining whether or not the determination region is a plain region with the number of edge pixels counted by the edge pixel number counter, and the determination region is It is determined whether it is a plain area. The streak presence / absence determination unit determines whether or not a streak image is included in the determination region when the determination region is determined to be a plain region by the plain region determination unit.

上記のように、読取画像データにスジ画像が含まれているか否かを判定する判定領域は、通常において原稿画像が描かれていない、読取画像データにおける原稿の読取先端側あるいは読取後端側の領域が設定されている。さらに、判定領域が無地領域と判定された場合に、判定領域にスジ画像が含まれているか否かを判定している。したがって、スジ画像の有無の判定は、誤判定の生じ難い、最適な領域のみで行われる。これにより、読取画像データにおけるスジ画像の検知精度を向上することができる。   As described above, the determination area for determining whether or not a streak image is included in the read image data is usually on the reading front end side or the reading rear end side of the original in the read image data where the original image is not drawn. The area is set. Further, when the determination area is determined to be a plain area, it is determined whether or not a streak image is included in the determination area. Therefore, the presence / absence of the streak image is determined only in the optimum region where erroneous determination is unlikely to occur. Thereby, the detection accuracy of the streak image in the read image data can be improved.

上記の画像処理装置において、前記スジ検知処理部は、前記スジ画素判定部にてスジ画素と判定された画素数を計数するスジ画素数計数部を備え、前記スジ有無判定部は、前記判定領域にスジ画像が含まれていると判定するためのスジ画素数を設定したスジ有無判定閾値と前記スジ画素数計数部にて計数されたスジ画素数とを比較し、前記判定領域にスジ画像が含まれているか否かを判定する構成としてもよい。   In the image processing apparatus, the streak detection processing unit includes a streak pixel number counting unit that counts the number of pixels determined to be streak pixels by the streak pixel determination unit, and the streak presence determination unit includes the determination region The streak presence / absence determination threshold in which the number of streak pixels for determining that a streak image is included is compared with the number of streak pixels counted by the streak pixel number counting unit, and the streak image is found in the determination region. It is good also as a structure which determines whether it is contained.

上記の構成によれば、スジ有無判定部は、判定領域にスジ画像が含まれていると判定するためのスジ画素数を設定したスジ有無判定閾値とスジ画素数計数部にて計数されたスジ画素数とを比較し、判定領域にスジ画像が含まれているか否かを判定する。これにより、読取画像データの判定領域でのスジ画像の有無の検知を高精度にて行うことができる。   According to the above configuration, the streak presence / absence determination unit sets a streak presence / absence determination threshold in which the number of streak pixels for determining that a streak image is included in the determination region, and the streak count counted by the streak pixel number counting unit. The number of pixels is compared to determine whether a streak image is included in the determination area. As a result, the presence / absence of a streak image in the determination area of the read image data can be detected with high accuracy.

例えば、判定領域に副走査方向に3画素よりなる縦スジが存在する場合、スジ画素は、通常、各縦スジについて主走査方向において立ち上り画素および立ち下り画素の2画素ずつ検出される。一方、3画素よりなる縦スジのうち、中央の縦スジの画素については、両隣の縦スジの画素との濃度差により、エッジ画素と判定されない場合がある。そこで、スジ有無判定閾値は、スジ画素が主走査方向において立ち上り画素および立ち下り画素の少なくとも2画素存在することを考慮し、判定領域における副走査方向の画素数(主走査方向のライン数)を2倍にした値とする。このスジ有無判定閾値とスジ画素数計数部にて計数されたスジ画素数とを比較し、スジ画素数がスジ有無判定閾値よりも大きい場合に、判定領域にはスジ画像が存在すると判定する。   For example, when a vertical streak composed of three pixels in the sub-scanning direction exists in the determination region, two streak pixels are normally detected for each vertical streak in the main scanning direction, that is, two rising pixels and one falling pixel. On the other hand, among the vertical stripes composed of three pixels, the central vertical stripe pixel may not be determined as an edge pixel due to the density difference between the adjacent vertical stripe pixels. Accordingly, the streak presence / absence determination threshold value is determined by taking into account that there are at least two streaked pixels in the main scanning direction, that is, a rising pixel and a falling pixel, and the number of pixels in the sub-scanning direction (number of lines in the main scanning direction) in the determination region. The value is doubled. The streak presence / absence determination threshold value is compared with the streak pixel number counted by the streak pixel number counting unit, and when the streak pixel number is larger than the streak presence / absence determination threshold value, it is determined that a streak image exists in the determination region.

上記のように、スジ有無判定閾値は、判定領域における副走査方向の画素数(主走査方向のライン数)に、判定領域の主走査方向の1ラインにおいて発生が想定されるスジ画素数の最低値を乗じた値に設定されるのが好ましい。   As described above, the streak presence / absence determination threshold value is the minimum of the number of streak pixels expected to be generated in one line in the main scanning direction of the determination region, compared to the number of pixels in the sub scanning direction (number of lines in the main scanning direction) It is preferable to set the value multiplied by the value.

上記の画像処理装置は、読取画像データにスジ画像が発生していることを知らせるスジ発生警告を行うスジ発生警告装置と、前記スジ有無判定部により、連続する複数の前記読取画像データについてスジ画像が含まれていると判定された場合に、前記スジ発生警告装置によりスジ発生警告を行わせる制御部とを備えている構成としてもよい。   The image processing apparatus includes a streak generation warning device that issues a streak generation warning for notifying that a streak image has occurred in the read image data, and the streak presence / absence determination unit to detect a streak image for a plurality of continuous read image data. When it is determined that a streak generation warning device is included, a control unit that causes the streak generation warning device to perform a streak generation warning may be provided.

上記の構成によれば、制御部は、スジ有無判定部により、連続する複数の前記読取画像データについてスジ画像が含まれていると判定された場合に、スジ発生警告装置によりスジ発生警告を行わせる。   According to the above configuration, the control unit issues a streak generation warning by the streak generation warning device when the streak presence / absence determination unit determines that a plurality of continuous read image data includes a streak image. Make it.

これにより、画像処理装置の操作者は、スジ発生警告により、原稿の読取画像データにスジ画像が発生していることを知ることができ、原稿の読取位置において、スジ画像の発生原因となる塵や埃などを除去することができる。また、スジ有無判定部の誤判定や、例えば1回のみスジ画像が検知され、その後にスジ画像が解消された場合など、不要なスジ発生警告を回避することができる。   As a result, the operator of the image processing apparatus can know from the streak generation warning that a streak image has occurred in the read image data of the document, and the dust causing the generation of the streak image at the document reading position. And dust can be removed. In addition, it is possible to avoid an unnecessary streak occurrence warning, for example, when the streak presence / absence determination unit makes an erroneous determination or when a streak image is detected only once and then the streak image is eliminated.

上記の画像処理装置において、前記制御部は、前記スジ有無判定部によりスジ画像が含まれていると判定された読取画像データであるスジ発生原稿データの連続数を計数し、この連続数がスジ発生警告閾値を超えた場合に、前記スジ発生警告装置によりスジ発生警告を行わせるものであり、複数の読取画像データの処理を含む第1のジョブにおいてスジ発生原稿データが発生し、かつスジ発生原稿データの連続数が前記スジ発生警告閾値以下である場合に、第1のジョブでのスジ発生原稿データの連続数を保持し、複数の読取画像データの処理を含む第2のジョブにおいて第1のジョブからのスジ発生原稿データの連続数が前記スジ発生警告閾値を超えた場合に、前記スジ発生警告装置によりスジ発生警告を行わせる構成としてもよい。   In the image processing apparatus, the control unit counts the continuous number of streaked document data that is read image data determined by the streak presence / absence determining unit to include a streak image, and the continuous number is a streak. When the occurrence warning threshold value is exceeded, the stripe occurrence warning device causes the occurrence of a stripe occurrence warning, streak generation document data is generated in the first job including processing of a plurality of read image data, and When the continuous number of document data is equal to or less than the streak occurrence warning threshold, the continuous number of streaked document data in the first job is held, and the first job in the second job including processing of a plurality of read image data The streak generation warning device may be configured to issue a streak generation warning device when the number of continuous line generation document data from the job exceeds the streak generation warning threshold.

上記の構成によれば、複数の読取画像データの処理を含む第1のジョブにおいてスジ発生原稿データが発生し、かつスジ発生原稿データの連続数が前記スジ発生警告閾値以下である場合に、第1のジョブでのスジ発生原稿データの連続数を保持する。また、複数の読取画像データの処理を含む第2のジョブにおいて第1のジョブからのスジ発生原稿データの連続数がスジ発生警告閾値を超えた場合に、スジ発生警告装置によりスジ発生警告を行わせる。   According to the above configuration, when streak-generated document data is generated in the first job including processing of a plurality of read image data, and the continuous number of streak-generated document data is equal to or less than the streak generation warning threshold, The continuous number of streaked document data in one job is held. In the second job including processing of a plurality of read image data, a streak generation warning device performs a streak generation warning device when the continuous number of streak generation original data from the first job exceeds a streak generation warning threshold. Make it.

したがって、原稿の読取画像データにスジ画像が発生している場合に、迅速にスジ発生警告を行うことができる。   Therefore, when a streak image is generated in the read image data of the document, a streak generation warning can be promptly performed.

本発明の画像読取装置は、上記のいずれかの画像処理装置を備え、原稿を読取位置に搬送しながら原稿の画像を読み取り、前記読取画像データを取得する構成である。   An image reading apparatus according to the present invention includes any one of the above-described image processing apparatuses, and reads an image of a document while acquiring the read image data while conveying the document to a reading position.

原稿を読取位置に搬送しながら原稿の画像を読み取り、読取画像データを取得する画像読取装置では、原稿を読み取る光路上の塵や埃により、読取画像データにスジ画像が発生し易くなっている。このような画像読取装置が上記のいずれかの画像処理装置を備えることにより、読取画像データにおけるスジ画像を精度良く検知できる画像読取装置を提供することができる。   In an image reading apparatus that reads an image of an original while conveying the original to a reading position and acquires read image data, a streak image is likely to be generated in the read image data due to dust or dirt on an optical path for reading the original. When such an image reading apparatus includes any one of the image processing apparatuses described above, it is possible to provide an image reading apparatus that can accurately detect a streak image in the read image data.

上記の画像読取装置は、表面のみに画像が形成されている片面原稿の画像を読み取る際に、原稿の表面および裏面の読み取りを行い、前記画像処理装置は、原稿の裏面の読取画像データについてのスジ画像の検知を行う構成としてもよい。   The above-described image reading apparatus reads the front and back surfaces of a document when reading an image of a single-sided document having an image formed only on the front surface. It is good also as a structure which detects a streak image.

上記の構成によれば、画像読取装置は、表面のみに画像が形成されている片面原稿の画像を読み取る際に、原稿の表面および裏面の読み取りを行い、画像処理装置は、原稿の裏面の読取画像データについてのスジ画像の検知を行う。   According to the above configuration, when reading an image of a single-sided document having an image formed only on the front surface, the image reading device reads the front and back surfaces of the document, and the image processing device reads the back surface of the document. A streak image is detected for image data.

これにより、片面原稿の画像を読み取る場合であっても、裏面の読取画像データによりスジ画像の検知を行うことができ、画像読取装置についてスジ画像が発生する状態であるかどうかを把握することができる。   As a result, even when reading an image of a single-sided original, a streak image can be detected from the read image data on the back side, and it is possible to grasp whether or not a streak image is generated in the image reading apparatus. it can.

本発明の画像形成装置は、上記の画像読取装置を備え、前記画像処理装置にて処理された前記読取画像データに基づいて画像を印刷する構成である。   An image forming apparatus according to the present invention includes the above-described image reading apparatus and prints an image based on the read image data processed by the image processing apparatus.

したがって、読取画像データについてスジ画像の検知が行われ、スジ画像を含む画像を印刷する事態を防止することができる。   Therefore, a streak image is detected for the read image data, and a situation in which an image including a streak image is printed can be prevented.

以上のように、本発明の構成によれば、例えば原稿を移動させながら画像を読み取る画像読取装置(ADFを利用した画像読取装置)の使用時における塵や埃の存在により、原稿の読取画像データにおける、原稿には存在しないスジ画像の発生を精度よく検出することができる。また、この場合、スジ画像の検知のために特別な作業を行う必要がなく、通常の読取画像データから精度よくスジ画像を検知することができる。   As described above, according to the configuration of the present invention, for example, read image data of a document due to the presence of dust or dust when using an image reading device (an image reading device using ADF) that reads an image while moving the document. The generation of streak images that do not exist in the original can be detected with high accuracy. In this case, it is not necessary to perform a special operation for detecting the streak image, and the streak image can be detected with high accuracy from the normal read image data.

本発明の実施の形態における画像形成装置の構成の概略を示すブロック図である。1 is a block diagram illustrating an outline of a configuration of an image forming apparatus according to an embodiment of the present invention. 図1に示した、自動原稿送り装置を備えた画像読取装置としての画像入力装置の構造を示す縦断面図である。FIG. 2 is a longitudinal sectional view showing a structure of an image input apparatus as an image reading apparatus provided with an automatic document feeder shown in FIG. 1. 図1に示したスジ検知処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the stripe detection process part shown in FIG. 図3に示したスジ検知処理部におけるスジ検知動作を示すフローチャートである。It is a flowchart which shows the stripe detection operation | movement in the stripe detection process part shown in FIG. 図1に示した画像形成装置における、スジ発生原稿データを検出した場合に警告を行う動作を示すフローチャートである。3 is a flowchart showing an operation for giving a warning when streaked document data is detected in the image forming apparatus shown in FIG. 1. 本発明の実施の形態の画像形成装置におけるハードウェア構成の例を示すブロック図である。2 is a block diagram illustrating an example of a hardware configuration in the image forming apparatus according to the embodiment of the present invention. 図3に示した判定領域抽出部にて抽出された、読取画像データの判定領域において、副走査方向に1本の縦スジが存在する状態を示す説明図である。FIG. 4 is an explanatory diagram showing a state in which one vertical streak exists in the sub-scanning direction in a determination region of read image data extracted by a determination region extraction unit illustrated in FIG. 3.

本発明の実施の形態を図面に基づいて以下に説明する。
図1は、本発明の実施の形態における画像形成装置の構成の概略を示すブロック図である。画像形成装置は、図1に示すように、画像入力装置111、画像処理装置112、画像出力装置113、画像表示装置114、送受信部/記憶部115、制御部116および操作部117を有する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing an outline of the configuration of an image forming apparatus according to an embodiment of the present invention. As shown in FIG. 1, the image forming apparatus includes an image input device 111, an image processing device 112, an image output device 113, an image display device 114, a transmission / reception unit / storage unit 115, a control unit 116, and an operation unit 117.

画像処理装置112は、画像入力装置111または送受信部/記憶部115から取得する画像データを処理し、画像出力装置113または画像表示装置114に出力する。   The image processing device 112 processes image data acquired from the image input device 111 or the transmission / reception unit / storage unit 115 and outputs the processed image data to the image output device 113 or the image display device 114.

画像入力装置111は、スキャナとしての機能を有し、原稿上に形成されている画像を光学的に読み取って画像データを生成する。このために、画像入力装置111は、図示しないCCD(Charge Coupled Device)ラインセンサを備え、原稿から反射してきた光を、R,G,B(R:赤、G:緑、B:青)に色分解された電気信号に変換する。画像入力装置111の詳細については後述する。   The image input device 111 has a function as a scanner, and optically reads an image formed on a document and generates image data. For this purpose, the image input device 111 includes a CCD (Charge Coupled Device) line sensor (not shown), and converts the light reflected from the original to R, G, B (R: red, G: green, B: blue). Convert to color-separated electrical signals. Details of the image input device 111 will be described later.

画像出力装置113は、プリンタとしての機能を有し、画像処理装置112が処理した画像データを、紙等の媒体上に印刷する。したがって、画像出力装置113は、例えば電子写真方式プリンタまたはインクジェット方式プリンタ等の画像を再現する印刷装置となっている。   The image output device 113 has a function as a printer, and prints image data processed by the image processing device 112 on a medium such as paper. Accordingly, the image output device 113 is a printing device that reproduces an image, such as an electrophotographic printer or an inkjet printer.

画像表示装置114は、画像形成装置において行う処理(操作)の内容を表示したり、画像処理装置112が処理した画像データの画像、または画像処理装置112が処理する際の中間画像データの画像を表示したりする。したがって、画像表示装置114は、例えば複写機または複合機の操作パネルに設置された液晶ディスプレイ等の画像を表示する装置となっている。   The image display device 114 displays the contents of the processing (operation) performed in the image forming device, the image of the image data processed by the image processing device 112, or the image of the intermediate image data when the image processing device 112 processes. Or display. Therefore, the image display device 114 is a device that displays an image such as a liquid crystal display installed on an operation panel of a copying machine or a multifunction machine.

送受信部/記憶部115は、ネットワークを介して画像処理装置112に入力され、または画像処理装置112から出力される画像データ、および制御信号を送受信する。また、送受信部/記憶部115は、画像処理装置112が処理する画像データを格納する。送受信部/記憶部115が格納する画像データは、画像入力装置111から入力される画像データ、および送受信部/記憶部115が送受信する画像データである。また、送受信部/記憶部115は、制御部116が制御処理を実行する際のワークメモリとしての機能を有していてもよい。   The transmission / reception unit / storage unit 115 transmits / receives image data and control signals input to or output from the image processing apparatus 112 via the network. The transmission / reception unit / storage unit 115 stores image data processed by the image processing apparatus 112. The image data stored in the transmission / reception unit / storage unit 115 is image data input from the image input device 111 and image data transmitted / received by the transmission / reception unit / storage unit 115. Further, the transmission / reception unit / storage unit 115 may have a function as a work memory when the control unit 116 executes control processing.

制御部116は、画像処理装置112が実行する各種の画像処理に対する設定、および画像処理装置112が有する各部の制御を行う。また、制御部116は、画像入力装置111および画像出力装置113を制御し、画像表示装置114が表示する画像を生成する。また、制御部116は、送受信部/記憶部115を制御して、画像データの送受信を行わせ、さらに送受信部/記憶部115が備えるHDD等の記録装置に対する画像データの格納および読み出しを行わせる。操作部117は、画像形成装置にて行われるジョブに対しての設定情報を操作者が入力する入力部となっている。操作部117は、液晶ディスプレイよりなる表示部と設定を行うボタンなどを備えている。   The control unit 116 performs settings for various types of image processing executed by the image processing apparatus 112 and controls each unit included in the image processing apparatus 112. The control unit 116 also controls the image input device 111 and the image output device 113 to generate an image to be displayed by the image display device 114. Further, the control unit 116 controls the transmission / reception unit / storage unit 115 to perform transmission / reception of image data, and further causes the recording / reception unit / storage unit 115 to store and read image data from / to a recording device such as an HDD. . The operation unit 117 is an input unit through which an operator inputs setting information for a job performed in the image forming apparatus. The operation unit 117 includes a display unit including a liquid crystal display, a button for setting, and the like.

画像処理装置112は、アナログ・デジタル変換部(以下、「A/D変換部」という。)121、シェーディング補正部122、入力処理部123、領域分離処理部124、色補正部125、黒生成/下色除去部126、空間フィルタ部127、中間調生成部128、スジ検知処理部129および表示制御部130を有する。   The image processing apparatus 112 includes an analog / digital conversion unit (hereinafter referred to as “A / D conversion unit”) 121, a shading correction unit 122, an input processing unit 123, an area separation processing unit 124, a color correction unit 125, a black generation / The undercolor removal unit 126, the spatial filter unit 127, the halftone generation unit 128, the streak detection processing unit 129, and the display control unit 130 are included.

A/D変換部121は、画像入力装置111が備えるCCDラインセンサから入力されたカラー画像信号(RGBアナログ信号)を、デジタル信号に変換する。シェーディング補正部122は、デジタル信号に含まれている、画像入力装置111の照明系、結像系および撮像系で生じる各種の歪みを取り除く。   The A / D converter 121 converts a color image signal (RGB analog signal) input from a CCD line sensor included in the image input device 111 into a digital signal. The shading correction unit 122 removes various distortions generated in the illumination system, the imaging system, and the imaging system of the image input device 111, which are included in the digital signal.

入力処理部123は、シェーディング補正部122により処理されたRGBデジタル信号に対してγ補正を行う。なお、以下の説明では、RGBデジタル信号による画像をRGB画像と称する。   The input processing unit 123 performs γ correction on the RGB digital signal processed by the shading correction unit 122. In the following description, an image using RGB digital signals is referred to as an RGB image.

表示制御部130は、画像表示装置114に表示する画面を生成し、画像表示装置114の表示動作を制御する。表示制御部130により表示される情報は、画像処理装置112が実行する処理の状況、および処理に対する設定情報である。また、スジ検知処理部129においてスジなどが検知された場合には、操作者に注意を促す情報なども表示される。   The display control unit 130 generates a screen to be displayed on the image display device 114 and controls the display operation of the image display device 114. Information displayed by the display control unit 130 is the status of processing executed by the image processing apparatus 112 and setting information for the processing. In addition, when a streak or the like is detected by the streak detection processing unit 129, information for prompting the operator to pay attention is also displayed.

色補正部125は、RGB画像をCMY(C:シアン、M:マゼンタ、Y:イエロー)画像に色空間変換し、さらに、色再現性を高める処理を行う。   The color correction unit 125 performs color space conversion of the RGB image into a CMY (C: cyan, M: magenta, Y: yellow) image, and further performs processing for improving color reproducibility.

領域分離処理部124は、RGB画像の各画素が、黒文字、色文字、網点および印画紙写真(連続階調領域)等の複数種類の領域のうちの、何れの領域に属する画素かを判定する。また、領域分離処理部124は、判定した結果を各画素が属する領域の種類を表す領域分離データとして、黒生成/下色除去部126、空間フィルタ部127および中間調生成部128に出力する。領域分離データが入力される各部では、領域の種類に対応した処理が実行される。   The region separation processing unit 124 determines whether each pixel of the RGB image belongs to one of a plurality of types of regions such as black characters, color characters, halftone dots, and photographic paper photographs (continuous tone regions). To do. In addition, the region separation processing unit 124 outputs the determination result to the black generation / undercolor removal unit 126, the spatial filter unit 127, and the halftone generation unit 128 as region separation data representing the type of region to which each pixel belongs. In each unit to which the region separation data is input, processing corresponding to the type of region is executed.

黒生成/下色除去部126は、3色のトナーにて表現することのできるCMY画像を、4色のトナーにて表現するCMYK(K:黒)画像に変換する。空間フィルタ部127は、CMYK画像に対し、強調処理および平滑処理を行う。中間調生成部128は、CMYK画像を印刷出力するために、階調再現処理を行う。   The black generation / under color removal unit 126 converts a CMY image that can be expressed with three colors of toner into a CMYK (K: black) image expressed with four colors of toner. The spatial filter unit 127 performs enhancement processing and smoothing processing on the CMYK image. The halftone generation unit 128 performs gradation reproduction processing to print out the CMYK image.

図2は自動原稿送り装置(ADF: Automatic Document Feeder)を備えたスキャナとしての画像入力装置111の構造を示す縦断面図である。図2に示すように、画像入力装置111は、下部筐体1、上部筐体2および排紙トレイ3を備えている。画像入力装置111では、原稿を静止させて画像を読み取る静止読取モード、原稿を搬送しながら画像を読み取る走行読取モード、および原稿を搬送しながら原稿における両面の画像を読み取る両面読取モードにて原稿の画像読み取りを行えるようになっている。   FIG. 2 is a longitudinal sectional view showing a structure of an image input apparatus 111 as a scanner provided with an automatic document feeder (ADF). As shown in FIG. 2, the image input device 111 includes a lower housing 1, an upper housing 2, and a paper discharge tray 3. In the image input device 111, a document is read in a stationary reading mode in which an original is stopped and an image is read, a traveling reading mode in which an image is read while the original is being conveyed, and a double-sided reading mode in which an image on both sides of the original is read while being conveyed. The image can be read.

読取モードの選択は、例えば操作部117において行われ、選択された読取モードは、読取モード信号として伝達として伝達される。なお、原稿セットトレイ22に原稿がセットされた状態(原稿セット検出センサで原稿が検知された状態)で、コピーボタンが押された時は、走行読取モードによって原稿画像を読み取るように設定されている。また、両面読取モードで読み取る際は、操作部117より両面読取モードの設定が行われる。   The selection of the reading mode is performed by the operation unit 117, for example, and the selected reading mode is transmitted as a reading mode signal. When the copy button is pressed while a document is set on the document set tray 22 (a document is detected by the document set detection sensor), the document image is set to be read in the traveling reading mode. Yes. When reading in the double-sided reading mode, the double-sided reading mode is set from the operation unit 117.

画像入力装置111では、原稿台としての第1コンタクトガラス11に原稿が置かれると、下部筐体1内あるいは第1コンタクトガラス11の近傍に配置された原稿サイズセンサ(例えば、フォトセンサ)によって原稿サイズが検知され、コピーボタンが押されると、静止読取モードにて原稿の読み取りを行う。   In the image input device 111, when a document is placed on the first contact glass 11 serving as a document table, the document is detected by a document size sensor (for example, a photo sensor) disposed in the lower housing 1 or in the vicinity of the first contact glass 11. When the size is detected and the copy button is pressed, the original is read in the static reading mode.

画像入力装置111は、原稿画像の読み取りを、静止読取モードでは下部筐体1内の第1読取部10によって行う一方、走行読取モードでは上部筐体2内の第2読取部23によって行うようになっている。また、両面読取モードでは、これら第1読取部10および第2読取部23の双方を同時に用いるようになっている。   The image input device 111 reads the document image by the first reading unit 10 in the lower housing 1 in the stationary reading mode, and performs the reading by the second reading unit 23 in the upper housing 2 in the traveling reading mode. It has become. In the double-sided reading mode, both the first reading unit 10 and the second reading unit 23 are used at the same time.

図2に示すように、下部筐体1は、第1読取部10および第1コンタクトガラス11を備え、第1読取部10は、第1走査ユニット12、第2走査ユニット13、結像レンズ14、CCD(Charge Coupled Device)15および第2コンタクトガラス16を備えている。   As shown in FIG. 2, the lower housing 1 includes a first reading unit 10 and a first contact glass 11, and the first reading unit 10 includes a first scanning unit 12, a second scanning unit 13, and an imaging lens 14. A CCD (Charge Coupled Device) 15 and a second contact glass 16.

第1コンタクトガラス11は、静止読取モードで読み取る原稿を載置するための原稿台である。第1走査ユニット12は、第1コンタクトガラス11に沿って左から右に一定速度Vで移動しながら原稿を露光する。このために、第1走査ユニット12は、光源(露光ランプ)50、および原稿の反射光を第2走査ユニット13に導く第1の反射ミラー51を有している。   The first contact glass 11 is a document table on which a document to be read in the stationary reading mode is placed. The first scanning unit 12 exposes the document while moving from the left to the right along the first contact glass 11 at a constant speed V. For this purpose, the first scanning unit 12 includes a light source (exposure lamp) 50 and a first reflecting mirror 51 that guides the reflected light of the document to the second scanning unit 13.

第2走査ユニット13は、第1走査ユニット12に追従してV/2の速度で移動するようになっており、第1反射ミラー51からの光を結像レンズ14およびCCD15に導く第2反射ミラー52および第3反射ミラー53を備えている。   The second scanning unit 13 follows the first scanning unit 12 and moves at a speed of V / 2, and the second reflection that guides the light from the first reflection mirror 51 to the imaging lens 14 and the CCD 15. A mirror 52 and a third reflecting mirror 53 are provided.

結像レンズ14は、第3反射ミラー53からの反射光を、CCD15上で結像させる。CCD15は、結像レンズ14からの光をアナログの電気信号に変換する。なお、この電気信号は、画像処理装置112によってデジタルの画像データに変換される。   The imaging lens 14 images the reflected light from the third reflection mirror 53 on the CCD 15. The CCD 15 converts the light from the imaging lens 14 into an analog electric signal. This electric signal is converted into digital image data by the image processing device 112.

第1読取部10は、第1コンタクトガラス11上に載置された原稿画像の読み取り、および上部筐体2の部材によって搬送される原稿画像の読み取りを行う。   The first reading unit 10 reads a document image placed on the first contact glass 11 and reads a document image conveyed by a member of the upper housing 2.

第1走査ユニット12は、第1コンタクトガラス11上の原稿を読み取る際には、図2に示すPos1の位置からPos2の位置の方向に、原稿サイズ検出手段(図示せず)にて検出された原稿サイズに応じて、所定距離だけ移動する。一方、搬送されている原稿を読み取る際には、Pos3の位置に停止している。また、使用されていない待機中には、Pos1の位置とPos3の位置との中間のPos0(図示せず)の位置であるホームポジションに、停止している。   When the first scanning unit 12 reads a document on the first contact glass 11, it is detected by a document size detection means (not shown) from the position Pos1 to the position Pos2 shown in FIG. It moves by a predetermined distance according to the document size. On the other hand, when reading the conveyed document, it stops at the position Pos3. Further, during standby that is not in use, the vehicle is stopped at a home position that is a position of Pos0 (not shown) between the positions of Pos1 and Pos3.

第1コンタクトガラス11の前端側位置には、原稿基準板(図示せず)が備えられている。この原稿基準板は、第1コンタクトガラス11に載置する原稿のサイズ・載置方向を示す指標となる。したがって、画像形成装置の操作者は、原稿基準板に従って、第1コンタクトガラス11に原稿を容易に載置できる。   A document reference plate (not shown) is provided at the front end side position of the first contact glass 11. This document reference plate serves as an index indicating the size and placement direction of the document placed on the first contact glass 11. Therefore, the operator of the image forming apparatus can easily place the document on the first contact glass 11 according to the document reference plate.

第2読取部23は、原稿セットトレイ22に載置された原稿の画像を読み取るものであり、原稿搬送部31、イメージセンサ部32、原稿搬送路33および原稿排出部34を備えている。   The second reading unit 23 reads an image of a document placed on the document set tray 22, and includes a document conveyance unit 31, an image sensor unit 32, a document conveyance path 33, and a document discharge unit 34.

原稿搬送部31は、原稿セットトレイ22に載置された原稿を取り込み、原稿搬送路33上を搬送させるものである。イメージセンサ部32は、搬送されている原稿の画像を読み取るものである。原稿排出部34は、イメージセンサ部32によって画像を読み取られた後の原稿を、排紙トレイ3に排出するものである。   The document transport unit 31 takes in a document placed on the document set tray 22 and transports it on the document transport path 33. The image sensor unit 32 reads an image of a document being conveyed. The document discharge unit 34 discharges the document after the image is read by the image sensor unit 32 to the sheet discharge tray 3.

原稿搬送部31は、給送補助ローラ61、原稿セット検出センサ62、原稿抑え板63、摩擦パッド64、給送タイミングセンサ65、給送ローラ66および整合ローラ対67を備えている。   The document transport unit 31 includes a feeding auxiliary roller 61, a document set detection sensor 62, a document pressing plate 63, a friction pad 64, a feeding timing sensor 65, a feeding roller 66, and an alignment roller pair 67.

給送補助ローラ61および原稿抑え板63は、原稿セット検出センサ62に検知された原稿を、第2読取部23内部に引き入れるものである。摩擦パッド64、給送ローラ66および整合ローラ対67は、給送タイミングセンサ65の検知結果に基づいて、引き込まれた原稿を1枚毎にイメージセンサ部32に導くものである。   The auxiliary feeding roller 61 and the document holding plate 63 draw the document detected by the document set detection sensor 62 into the second reading unit 23. The friction pad 64, the feeding roller 66, and the alignment roller pair 67 are configured to guide the drawn originals to the image sensor unit 32 one by one based on the detection result of the feeding timing sensor 65.

なお、整合ローラ対67は、その駆動軸に電磁クラッチ(図示せず)を備え、駆動モータ(図示せず)からの駆動力の伝達を制御できるようになっており、原稿のない状態では停止している。そして、原稿の先端が給送タイミングセンサ65に接触し、このセンサから所定の信号が伝達されたときに、原稿を下流側に搬送する方向に回動するように設定されている。   The alignment roller pair 67 has an electromagnetic clutch (not shown) on its drive shaft, and can control the transmission of driving force from a drive motor (not shown), and stops when there is no document. is doing. When the leading edge of the document comes into contact with the feeding timing sensor 65 and a predetermined signal is transmitted from this sensor, the document is set to rotate in the direction of transporting the document downstream.

整合ローラ対67は、停止した状態で、摩擦パッド64および給送ローラ66により上流側より搬送されてきた原稿の先端が、整合ローラ対67のニップ部に付き当たり、原稿に所定の撓みを形成した後に、下流側に原稿を搬送するように回動する。この際に、整合ローラ対67のニップ部により、原稿の先端が搬送方向に直角となるように整合される。さらに、整合ローラ対67は、第2コンタクトガラス16との間で、原稿搬送路33の一部を形成している。   When the alignment roller pair 67 is stopped, the leading edge of the document conveyed from the upstream side by the friction pad 64 and the feeding roller 66 contacts the nip portion of the alignment roller pair 67 to form a predetermined deflection in the document. After that, the document is rotated so as to be conveyed downstream. At this time, the leading edge of the document is aligned by the nip portion of the alignment roller pair 67 so as to be perpendicular to the conveyance direction. Further, the alignment roller pair 67 forms a part of the document conveyance path 33 with the second contact glass 16.

原稿排出部34は、原稿排出ローラ対69および原稿排出センサ59を備えている。原稿排出ローラ対69の上側ローラは、駆動側のローラであり、上部筐体2の左側部に一体的に設けられて、上部筐体2中の駆動機構により駆動される。原稿排出ローラ対69の上側ローラは、下部筐体1側に回転自在に設けられた原稿排出ローラ対69の下側ローラ(従動ローラ)とで、原稿搬送路33を通った原稿を挟持搬送して、排紙トレイ3上に排出する。   The document discharge unit 34 includes a document discharge roller pair 69 and a document discharge sensor 59. The upper roller of the document discharge roller pair 69 is a driving roller, and is integrally provided on the left side of the upper housing 2 and is driven by a driving mechanism in the upper housing 2. The upper roller of the document discharge roller pair 69 sandwiches and conveys the document that has passed through the document conveyance path 33 with the lower roller (driven roller) of the document discharge roller pair 69 that is rotatably provided on the lower housing 1 side. To be discharged onto the paper discharge tray 3.

また、原稿排出センサ59は、原稿排出ローラ対69の下流側に配置されており、原稿の排出を、後述する読取制御部に伝達するものである。   The document discharge sensor 59 is disposed on the downstream side of the document discharge roller pair 69, and transmits the discharge of the document to a reading control unit described later.

イメージセンサ部(CIS:Contact Image Sensor)32は、上部筐体2に設けられており、原稿搬送路33を走行する原稿における上側の画像を読み取る。なお、開放扉24は、イメージセンサ部32の上方の空間を開放可能となっている。   An image sensor unit (CIS: Contact Image Sensor) 32 is provided in the upper housing 2 and reads an upper image in a document traveling on the document conveyance path 33. The open door 24 can open a space above the image sensor unit 32.

次に、上記構成の画像入力装置111の動作について説明する。
画像入力装置111は、静止読取モードでは、片面モードだけが選択可能となり、第1読取部10だけが原稿の読み取りに用いられる。このとき、第1読取部10の第1走査ユニット12は、まずホームポジション(図2中のPos3とPos1との間にあるPos0)に配置される。そして、読取制御部の指示に応じて、Pos1の位置から第1コンタクトガラス11上に載置された原稿を走査しながら、第2走査ユニット13とともにPos2側に移動する。これにより、CCD15に、原稿画像に応じた反射光を受光させることが可能となる。このように、第1読取部10は、静止した原稿の下側の面(表面)に形成されている画像を読み取ることとなる。
Next, the operation of the image input apparatus 111 configured as described above will be described.
The image input device 111 can select only the single-sided mode in the stationary reading mode, and only the first reading unit 10 is used for reading a document. At this time, the first scanning unit 12 of the first reading unit 10 is first arranged at the home position (Pos0 between Pos3 and Pos1 in FIG. 2). Then, in accordance with an instruction from the reading control unit, the document placed on the first contact glass 11 is moved from the position Pos1 to the Pos2 side together with the second scanning unit 13 while scanning. As a result, the CCD 15 can receive the reflected light corresponding to the document image. As described above, the first reading unit 10 reads an image formed on the lower surface (front surface) of a stationary document.

走行読取モードでは、片面読取モードと両面読取モードの両方が選択可能となる。走行読取モードの片面読取モードでは、第1読取部10だけが原稿の読み取りに用いられる。このモードの指示があると、第1読取部10の第1走査ユニット12は、ホームポジションPos0の位置からPos3の位置に移動して停止し、そのまま停止状態を保持して、走行する原稿の読み取りを行う。そして、読取制御部の指示に応じて、CCD15が、第2コンタクトガラス16を介して、原稿搬送路33を搬送される原稿の画像を下側から読み取る。すなわち、第1読取部10は、原稿の下側の面(表面)に形成されている画像を読み取ることとなる。   In the traveling reading mode, both the single-sided reading mode and the double-sided reading mode can be selected. In the single-sided reading mode of the traveling reading mode, only the first reading unit 10 is used for reading a document. When there is an instruction for this mode, the first scanning unit 12 of the first reading unit 10 moves from the position of the home position Pos0 to the position of Pos3 and stops. I do. Then, in response to an instruction from the reading control unit, the CCD 15 reads the image of the document conveyed on the document conveyance path 33 from the lower side through the second contact glass 16. That is, the first reading unit 10 reads an image formed on the lower surface (front surface) of the document.

走行読取モードの両面読取モードでは、第1読取部10およびイメージセンサ部32の双方が原稿の読み取りに用いられる。このとき、第1読取部10の第1走査ユニット12は、走行読取モードの片面読取モード時と同様に、Pos3の位置に停止される。   In the double-sided reading mode of the traveling reading mode, both the first reading unit 10 and the image sensor unit 32 are used for reading a document. At this time, the first scanning unit 12 of the first reading unit 10 is stopped at the position Pos3 as in the single-sided reading mode of the traveling reading mode.

そして、読取制御部の指示に応じて、第1読取部10が、第2コンタクトガラス16を介して、原稿搬送路33を搬送される原稿の画像を下側から読み取る。また、同様に、イメージセンサ部32が、搬送される原稿の上側の面(裏面)に形成されている画像を上側から読み取る。   Then, in response to an instruction from the reading control unit, the first reading unit 10 reads an image of the document conveyed through the document conveyance path 33 from the lower side through the second contact glass 16. Similarly, the image sensor unit 32 reads an image formed on the upper surface (back surface) of the conveyed document from above.

このように、本読取装置における両面読取モードでは、第1読取部10およびイメージセンサ部32が、搬送原稿の表裏両面の画像を、上下方向から一度に読み取ることとなる。   As described above, in the double-sided reading mode of the present reading apparatus, the first reading unit 10 and the image sensor unit 32 read the images on both the front and back sides of the transported document at a time from the vertical direction.

なお、表面のみに画像が形成されている片面原稿の画像を読み取る際に、原稿の表面および裏面の読み取りを行い、原稿の裏面の読取画像データについてのスジ画像の検知を行うようにしてもよい。この場合、原稿の表面の読み取りは第1読取部10によって行われ、原稿の裏面の読み取りは、第2読取部23によって行われる。   When reading an image of a single-sided document having an image formed only on the front side, the front side and the back side of the document may be read, and a streak image may be detected for the read image data on the back side of the document. . In this case, reading of the front side of the document is performed by the first reading unit 10, and reading of the back side of the document is performed by the second reading unit 23.

次に、画像処理装置112が備えるスジ検知処理部129について説明する。
図3は図1に示したスジ検知処理部129の構成を示すブロック図である。
Next, the streak detection processing unit 129 included in the image processing apparatus 112 will be described.
FIG. 3 is a block diagram showing the configuration of the streak detection processing unit 129 shown in FIG.

スジ検知処理部129は、図3に示すように、判定領域抽出部201、隣接画素濃度差算出部(エッジ画素検出部)202、立ち上り/立ち下りエッジ検出部(エッジ画素検出部)203、スジ画素判定部204、スジ画素カウント部(スジ画素数計数部)205、エッジ画素カウント部(エッジ画素数計数部)206、無地領域判定部207、スジ有無判定部208、エッジ閾値設定部209、無地領域判定閾値設定部210およびスジ有無判定閾値設定部211を備えている。   As shown in FIG. 3, the streak detection processing unit 129 includes a determination region extraction unit 201, an adjacent pixel density difference calculation unit (edge pixel detection unit) 202, a rising / falling edge detection unit (edge pixel detection unit) 203, Pixel determination unit 204, streak pixel counting unit (streaked pixel number counting unit) 205, edge pixel counting unit (edge pixel number counting unit) 206, plain region determining unit 207, streak presence / absence determining unit 208, edge threshold setting unit 209, plain An area determination threshold setting unit 210 and a streak presence / absence determination threshold setting unit 211 are provided.

判定領域抽出部201は、原稿の読取画像データ(RGB画像)における原稿の読取先端側の数ライン分あるいは原稿の読取後端側の数ライン分を判定領域として抽出する。このように、読取画像データにおける原稿の読取先端側の数ライン分あるいは原稿の読取後端側の数ライン分を判定領域として設定するのは、一般に原稿の端部には、原稿画像が描かれた領域が少ないためである。このように判定領域を設定することにより、原稿に意図的に描かれたラインやエッジを誤ってスジと判定する誤判定を防止することができる。   The determination area extraction unit 201 extracts several lines on the reading leading edge side of the original or several lines on the reading rear end side of the original reading image data (RGB image) as the determination area. As described above, the number of lines on the read leading end side of the read image data or the number of lines on the read back end side of the original is set as the determination area. Generally, the original image is drawn on the end of the original. This is because there are few areas. By setting the determination area in this way, it is possible to prevent erroneous determination that a line or an edge intentionally drawn on a document is erroneously determined as a streak.

スジ検知処理部129では、判定領域抽出部201により抽出された判定領域について、原稿画像データが有する画素毎に、各画素を注目画素として属性を判定する。この判定では、注目画素を中心とするn×mの画素ブロックを用いる。n・mは自然数であり、例えば7である。   The streak detection processing unit 129 determines the attribute of the determination region extracted by the determination region extraction unit 201 for each pixel included in the document image data with each pixel as a target pixel. In this determination, an n × m pixel block centered on the target pixel is used. n · m is a natural number, for example, 7.

隣接画素濃度差算出部202は、n×mの画素ブロックに含まれる各画素と各画素に隣接する画素との濃度差を算出する。   The adjacent pixel density difference calculation unit 202 calculates a density difference between each pixel included in the n × m pixel block and a pixel adjacent to each pixel.

立ち上り/立ち下りエッジ検出部203は、隣接画素濃度差算出部202にて算出された濃度差とエッジ閾値(例えば10)とを比較し、各画素がエッジ画素であるか否かを判定する。また、エッジ画素と判定したものについては、隣接画素濃度差算出部202にて算出された濃度差の値から、立ち上りエッジ画素であるか、立ち下りエッジ画素であるかを判定する。この判定では、左側の画素の濃度値(画素値)からその画素の右側に隣接する画素の濃度値を引いたとき、濃度値が負になる場合を立ち上りエッジ画素、正になる場合を立ち下りエッジ画素と判定する。なお、上記エッジ閾値(例えば10)は、エッジ閾値設定部209に設定される。   The rising / falling edge detection unit 203 compares the density difference calculated by the adjacent pixel density difference calculation unit 202 with an edge threshold (for example, 10), and determines whether each pixel is an edge pixel. For those determined to be edge pixels, whether the pixel is a rising edge pixel or a falling edge pixel is determined from the density difference value calculated by the adjacent pixel density difference calculating unit 202. In this determination, when the density value of the pixel adjacent to the right side of the pixel is subtracted from the density value (pixel value) of the left pixel, the rising edge pixel is set when the density value is negative, and the falling value is set when the density value is positive. It is determined as an edge pixel. The edge threshold (for example, 10) is set in the edge threshold setting unit 209.

エッジ画素カウント部206は、n×mの画素ブロックの中心である注目画素がエッジ画素と判定されたものについてカウントする。   The edge pixel counting unit 206 counts the pixel of interest that is the center of the n × m pixel block that is determined as the edge pixel.

スジ画素判定部204は、n×mの画素ブロックの中心である注目画素がスジ画素であるか否かを判定する。この判定においては、次の第1から第3の条件が全て満たされる場合に、注目画素をスジ画素と判定する。   The streak pixel determination unit 204 determines whether or not the pixel of interest at the center of the n × m pixel block is a streak pixel. In this determination, the pixel of interest is determined to be a streak pixel when all of the following first to third conditions are satisfied.

第1の条件は、n×mの画素ブロックの中心である注目画素がエッジ画素であること、第2の条件は、n×mの画素ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素が1組存在すること、第3の条件は、副走査方向のライン全てにおいて、エッジ画素(水平方向のエッジ画素)が存在しないことである。これにより、主走査方向には濃度差のあるエッジの組合せが1組ずつ存在し、副走査方向には濃度差が存在するエッジが存在しないことになり、図7に示すような副走査方向に1本の縦スジが存在すると判定することができる。なお、第1の条件および第2の条件にて検出しているのは垂直方向のエッジ画素である。   The first condition is that the pixel of interest at the center of the n × m pixel block is an edge pixel, and the second condition is that for each line in the main scanning direction in the n × m pixel block, a rising edge pixel and One set of falling edge pixels exists, and the third condition is that edge pixels (edge pixels in the horizontal direction) do not exist in all lines in the sub-scanning direction. As a result, there are one pair of edges having a density difference in the main scanning direction, and no edge having a density difference exists in the sub scanning direction. It can be determined that one vertical stripe exists. Note that the edge pixels in the vertical direction are detected under the first condition and the second condition.

スジ画素カウント部205は、n×mの画素ブロックの中心である注目画素がスジ画素判定部204においてスジ画素と判定されたものをカウントする。   The streak pixel counting unit 205 counts the pixel of interest, which is the center of the n × m pixel block, determined by the streak pixel determination unit 204 as a streak pixel.

無地領域判定部207は、エッジ画素カウント部206でのエッジ画素カウント数と無地領域判定閾値とを比較することにより、判定領域抽出部201にて抽出された判定領域が原稿に意図的に描かれたラインが存在しない無地領域であるか否かを判定する。この判定において、無地領域判定閾値は、判定領域の副走査ライン数×所定値(例えば5)に設定される。そして、エッジ画素カウント数<無地領域判定閾値である場合に、判定領域を無地領域と判定する一方、エッジ画素カウント数≧無地領域判定閾値である場合に、判定領域を無地領域でないと判定する。   The plain area determination unit 207 intentionally draws the determination area extracted by the determination area extraction unit 201 on the document by comparing the edge pixel count number in the edge pixel count unit 206 with the plain area determination threshold value. It is determined whether the line is a plain area where no line exists. In this determination, the plain area determination threshold value is set to the number of sub-scan lines in the determination area × a predetermined value (for example, 5). When the edge pixel count number <the plain area determination threshold value, the determination area is determined as a plain area. On the other hand, when the edge pixel count number ≧ the plain area determination threshold value, the determination area is determined not to be a plain area.

スジ有無判定部208は、無地領域判定部207において上記判定領域が原稿に意図的に描かれたラインが存在しない無地領域であると判定された場合に、スジ画素カウント部205でのスジ画素カウント数とスジ有無判定閾値とを比較することにより、無地領域と判定された判定領域において原稿に存在しないスジが発生しているか否かを判定する。この判定において、スジ有無判定閾値は、判定領域の副走査方向画素数×所定値(例えば2)に設定される。そして、スジ画素カウント数>スジ有無判定閾値である場合に、原稿の読取画像データすなわち判定領域には、原稿に存在しないスジが発生していると判定する。一方、スジ画素カウント数≦スジ有無判定閾値である場合に、原稿の読取画像データすなわち判定領域には、原稿に存在しないスジが発生していないと判定する。   When the plain area determination unit 207 determines that the determination area is a plain area where a line intentionally drawn on the document does not exist, the streak pixel determination unit 208 performs the streak pixel count in the streak pixel count unit 205. By comparing the number and the streak presence / absence determination threshold, it is determined whether or not a streak that does not exist in the document has occurred in the determination region determined to be a plain region. In this determination, the streak presence / absence determination threshold is set to the number of pixels in the sub-scanning direction of the determination region × a predetermined value (for example, 2). When the streak pixel count number> the streak presence / absence determination threshold value, it is determined that a streak that does not exist in the document has occurred in the read image data of the document, that is, the determination region. On the other hand, when the streak pixel count number ≦ the streak presence / absence determination threshold, it is determined that no streak that does not exist in the document has occurred in the read image data of the document, that is, the determination region.

上記スジ有無判定閾値の設定に関し、例えば、判定領域に副走査方向に3画素よりなる縦スジが存在する場合、スジ画素は、通常、各縦スジについて主走査方向において立ち上り画素および立ち下り画素の2画素ずつ検出される。一方、3画素よりなる縦スジのうち、中央の縦スジの画素については、両隣の縦スジの画素との濃度差により、エッジ画素と判定されない場合がある。そこで、スジ有無判定閾値は、スジ画素が主走査方向において立ち上り画素および立ち下り画素の少なくとも2画素存在することを考慮し、判定領域における副走査方向の画素数(副走査方向のライン数)を2倍にした値とする。このスジ有無判定閾値とスジ画素カウント部205にて計数されたスジ画素数とを比較し、スジ有無判定部208は、スジ画素数がスジ有無判定閾値よりも大きい場合に、判定領域にはスジ画像が存在すると判定する。   Regarding the setting of the streak presence / absence determination threshold value, for example, when a vertical streak composed of three pixels in the sub-scanning direction exists in the determination region, the streak pixel is usually a rising pixel and a falling pixel in the main scanning direction for each vertical streak. Two pixels are detected. On the other hand, among the vertical stripes composed of three pixels, the central vertical stripe pixel may not be determined as an edge pixel due to the density difference between the adjacent vertical stripe pixels. Accordingly, the streak presence / absence determination threshold value is determined by taking into account that there are at least two streak pixels, ie, rising and falling pixels in the main scanning direction, and the number of pixels in the sub-scanning direction (number of lines in the sub-scanning direction) in the determination region The value is doubled. The streak presence / absence determination threshold is compared with the number of streak pixels counted by the streak pixel counting unit 205, and the streak presence / absence determination unit 208 compares the streak presence / absence determination unit 208 with the streak presence / absence determination threshold. It is determined that an image exists.

上記のように、スジ有無判定閾値は、判定領域における副走査方向の画素数(主走査方向のライン数)に、判定領域の主走査方向の1ラインにおいて発生が想定されるスジ画素数の最低値を乗じた値に設定されるのが好ましい。   As described above, the streak presence / absence determination threshold value is the minimum of the number of streak pixels expected to be generated in one line in the main scanning direction of the determination region, compared to the number of pixels in the sub scanning direction in the determination region (number of lines in the main scanning direction). It is preferable to set the value multiplied by the value.

上記の構成において、画像処理装置112のスジ検知処理部129の動作について以下に説明する。図4は、図3に示したスジ検知処理部129におけるスジ検知動作を示すフローチャートである。   In the above configuration, the operation of the streak detection processing unit 129 of the image processing apparatus 112 will be described below. FIG. 4 is a flowchart showing the streak detection operation in the streak detection processing unit 129 shown in FIG.

判定領域抽出部201では、原稿画像データが入力されると、その先端の数ライン分あるいは後端の数ライン分を判定領域として抽出する(S11)。この判定領域は、例えば、600dpiの解像度では、原稿画像データのそれぞれ300ラインである。   When the document image data is input, the determination area extraction unit 201 extracts several lines at the leading edge or several lines at the trailing edge as the determination area (S11). This determination area is, for example, 300 lines of document image data at a resolution of 600 dpi.

次に、隣接画素濃度差算出部202は、注目画素を中心とするn×mの画素ブロックの各画素aとその隣接画素b(右側に隣接する画素)との濃度差(a−b)を算出する(S12)。   Next, the adjacent pixel density difference calculating unit 202 calculates a density difference (ab) between each pixel a of the n × m pixel block centered on the target pixel and its adjacent pixel b (right adjacent pixel). Calculate (S12).

次に、立ち上り/立ち下りエッジ検出部203は、隣接画素濃度差算出部202にて算出された隣接濃度差(a−b)の絶対値とエッジ閾値とを比較し、各画素がエッジ画素であるか否かを判定する(S13)。この判定では、隣接濃度差(a−b)の絶対値>エッジ閾値、となる場合にその画素をエッジ画素と判定する。   Next, the rising / falling edge detecting unit 203 compares the absolute value of the adjacent density difference (ab) calculated by the adjacent pixel density difference calculating unit 202 with the edge threshold value, and each pixel is an edge pixel. It is determined whether or not there is (S13). In this determination, when the absolute value of the adjacent density difference (ab)> the edge threshold value, the pixel is determined as an edge pixel.

次に、エッジ画素カウント部206は、n×mの画素ブロックの中心である注目画素がエッジ画素と判定された画素をエッジ画素としてカウントする(S14)。   Next, the edge pixel counting unit 206 counts, as edge pixels, pixels in which the target pixel that is the center of the n × m pixel block is determined as the edge pixel (S14).

また、立ち上り/立ち下りエッジ検出部203は、隣接濃度差(a−b)>0であるか否かを判定する(S15)。この判定において、隣接濃度差が負(a−b<0)の場合には、立ち上り画素と判定し(S16)、隣接濃度差が正(a−b>0)の場合には、立ち下り画素と判定する(S17)。立ち上り/立ち下りエッジ検出部203およびエッジ画素カウント部206では、n×mの画素ブロックにおける全ての画素について、S12〜S17の処理を行う。   Also, the rising / falling edge detection unit 203 determines whether or not the adjacent density difference (ab)> 0 (S15). In this determination, if the adjacent density difference is negative (ab−0 <0), it is determined as a rising pixel (S16), and if the adjacent density difference is positive (ab−0), the falling pixel is determined. (S17). The rising / falling edge detection unit 203 and the edge pixel count unit 206 perform the processing of S12 to S17 for all the pixels in the n × m pixel block.

次に、スジ画素判定部204は、n×mの画素ブロックにおいて、上記第1から第3の条件が全て満たされる場合のみ、n×mの画素ブロックの中心である注目画素がスジ画素であると判定する(S18)。すなわち、n×mの画素ブロックの中心である注目画素がエッジ画素であり(第1の条件)、n×mの画素ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素が1組存在し(第2の条件)、副走査方向のライン全てにおいて、エッジ画素(水平方向のエッジ画素)が存在しない(第3の条件)場合にのみ、n×mの画素ブロックの中心である注目画素がスジ画素であると判定する(S18)。   Next, the streak pixel determination unit 204 determines that the target pixel at the center of the n × m pixel block is a streak pixel only when all of the first to third conditions are satisfied in the n × m pixel block. (S18). That is, the pixel of interest at the center of the n × m pixel block is an edge pixel (first condition), and the rising edge pixel and the falling edge pixel are determined for each line in the main scanning direction in the n × m pixel block. Only when there is one set (second condition) and no edge pixel (horizontal edge pixel) exists in all lines in the sub-scanning direction (third condition), at the center of the n × m pixel block. It is determined that a certain pixel of interest is a streak pixel (S18).

次に、スジ画素カウント部205は、n×mの画素ブロックの中心である注目画素がスジ画素であると判定されたものについて、スジ画素としてカウントする(S19)。   Next, the streak pixel counting unit 205 counts the pixel of interest that is the center of the n × m pixel block as a streak pixel as a streak pixel (S19).

スジ検知処理部129では、上記S12〜S19の処理を判定領域のRGB画像における全ての画素について終了するまで繰り返し(S20)、処理が終了すればS21に進む。   The streak detection processing unit 129 repeats the above processing of S12 to S19 until it finishes for all the pixels in the RGB image of the determination area (S20), and if the processing ends, it proceeds to S21.

次に、無地領域判定部207は、エッジ画素カウント部206でのエッジ画素カウント数と無地領域判定閾値とを比較し、スジ検出を行う判定領域がスジ以外に書き込み等がない無地領域であるか否かを判定する(S21)。   Next, the plain area determination unit 207 compares the edge pixel count number in the edge pixel count unit 206 with the plain area determination threshold value, and determines whether the determination area for performing streak detection is a plain area where there is no writing other than streak. It is determined whether or not (S21).

S21の判定において、無地領域判定閾値は、判定領域の副走査ライン数×所定値(例えば5)である。そして、S21の判定では、エッジ画素カウント数<無地領域判定閾値である場合に、判定領域を無地領域と判定する。この場合、判定領域は、RGB画像にスジが発生しているか否かの判定対象となる。   In the determination of S21, the plain area determination threshold value is the number of sub-scan lines in the determination area × a predetermined value (for example, 5). In the determination of S21, if the edge pixel count number <the plain area determination threshold value, the determination area is determined as a plain area. In this case, the determination area is a determination target of whether or not streaks are generated in the RGB image.

一方、エッジ画素カウント数≧無地領域判定閾値である場合に、判定領域を無地領域でないと判定する(S22)。この場合、判定領域内には原稿に意図的に描かれた領域(ライン等)が存在していると判断され、判定領域は、スジ発生の有無判断の対象とならない。この場合、後述のスジ発生原稿連続枚数はリセットされない。   On the other hand, when the edge pixel count number ≧ the plain area determination threshold value, it is determined that the determination area is not a plain area (S22). In this case, it is determined that an area (line or the like) intentionally drawn on the document exists in the determination area, and the determination area is not a target for determining whether or not a streak has occurred. In this case, the continuous number of originals with streaks described later is not reset.

スジ有無判定部208は、S21において判定領域が無地領域と判定された場合(エッジ画素カウント数<無地領域判定閾値である場合)に、スジ画素カウント部205でのスジ画素カウント数とスジ有無判定閾値とを比較し、判定領域に原稿に存在しないスジか発生しているか否かを判定する(S23)。   The streak presence / absence determination unit 208 determines the streak pixel count number and the streak presence / absence determination in the streak pixel count unit 205 when the determination region is determined to be a plain region in S21 (when the edge pixel count number <the plain region determination threshold value). The threshold value is compared to determine whether or not a streak that does not exist in the document has occurred in the determination area (S23).

S23の判定において、スジ有無判定閾値は、判定領域の副走査方向画素数×所定値(例えば2)である。そして、S23の判定では、スジ画素カウント数>スジ有無閾値であれば、原稿の読取画像データには原稿に存在しないスジが発生していると判定する(S25)。一方、スジ画素カウント数≦スジ有無閾値であれば、原稿の読取画像データには原稿に存在しないスジが発生していないと判定する(S24)。   In the determination of S23, the streak presence / absence determination threshold value is the number of pixels in the sub-scanning direction of the determination region × a predetermined value (for example, 2). In the determination of S23, if the streak pixel count number> the streak presence / absence threshold, it is determined that a streak that does not exist in the document has occurred in the read image data of the document (S25). On the other hand, if the streak pixel count number ≦ the streak presence / absence threshold, it is determined that no streak that does not exist in the original has occurred in the read image data of the original (S24).

次に、読取画像データに原稿には存在しないスジ画像が発生しているスジ発生原稿データを検出した場合に警告を行う画像処理装置112の動作について説明する。図5は、スジ発生原稿データを検出した場合に警告を行う画像形成装置の動作を示すフローチャートである。   Next, the operation of the image processing apparatus 112 that issues a warning when the streaked original data in which a streak image that does not exist in the original is detected in the read image data will be described. FIG. 5 is a flowchart showing the operation of the image forming apparatus that issues a warning when streaked document data is detected.

画像処理装置112のスジ検知処理部129では、操作者により、画像入力装置111の走行読取モード(ADF機能を使用)が選択された場合に、スジ発生原稿データについての検知動作を行う。なお、スジ発生原稿データかどうかの判定は、原稿の読取画像データ全体についてではなく、上記のように、原稿の先端あるいは後端に対応する判定領域について行われる。また、例えば制御部116は、スジ検知処理部129において連続してスジ発生原稿データと判定される読取画像データの数(スジ発生原稿連続枚数)をカウントしている。さらに、制御部116は、スジ発生原稿連続枚数がスジ発生警告閾値よりも大きくなった場合に、例えば操作部117の表示部において警告表示を行うようになっている。スジ発生警告閾値は、例えば3に設定される。なお、操作者に対するスジ発生警告の方法は、操作部117の表示部(スジ発生警告装置)での警告表示の他、音声にて、あるいは表示および音声にて行ってもよい。警告を音声で行う場合は、単純に警告を鳴らす他、表示部での警告表示すべき内容を合成音声にて伝えるものでもよい。   The streak detection processing unit 129 of the image processing device 112 performs a detection operation for streaked document data when the operator selects the travel reading mode (using the ADF function) of the image input device 111. The determination as to whether or not the data is streaked document data is performed not on the entire read image data of the document but on the determination region corresponding to the leading edge or the trailing edge of the document as described above. Further, for example, the control unit 116 counts the number of read image data (continuous number of streaked originals) that is continuously determined to be streaked original data in the streak detection processing part 129. Furthermore, the control unit 116 displays a warning on the display unit of the operation unit 117, for example, when the continuous number of streaked originals exceeds a streak generation warning threshold. The streak occurrence warning threshold is set to 3, for example. Note that the method of warning the streak generation for the operator may be performed by voice or by display and voice in addition to the warning display on the display unit (streaks generation warning device) of the operation unit 117. When the warning is performed by voice, the warning should be simply sounded or the contents to be displayed on the display unit may be conveyed by synthesized voice.

図5に示すように、画像処理装置112では、画像入力装置111においてADF機能、すなわち走行読取モードが選択された場合(S51)、ADF機能により順次搬送されて読み取られた原稿の各読取画像データについて、スジ検知処理部129がスジ検知処理を行う(S52)。すなわち、スジ検知処理部129は、原稿の読取画像データがスジ発生原稿データであるか否かを判定する。   As shown in FIG. 5, in the image processing apparatus 112, when the ADF function, that is, the traveling reading mode is selected in the image input apparatus 111 (S51), each read image data of the original sequentially read and read by the ADF function. The line detection processing unit 129 performs the line detection process (S52). That is, the streak detection processing unit 129 determines whether or not the read image data of the document is streaked document data.

S52でのスジ検知処理の結果、読取画像データの判定領域が無地領域でなければ(S53)、S59の処理に進む。一方、S52でのスジ検知処理の結果、読取画像データの判定領域が無地領域であれば、その読取画像データについてスジ発生原稿データであるか否かを判定する(S54)。   As a result of the streak detection process in S52, if the determination area of the read image data is not a plain area (S53), the process proceeds to S59. On the other hand, as a result of the streak detection processing in S52, if the determination area of the read image data is a plain area, it is determined whether or not the read image data is streaked document data (S54).

S54での判定の結果、読取画像データがスジ発生原稿データでなければ、制御部116はカウントしているスジ発生原稿連続枚数をリセットして(S58)、S59の処理に進む。   If the result of determination in S54 is that the read image data is not streaked document data, the control unit 116 resets the continuous streaked document count (S58), and proceeds to S59.

一方、S54での判定の結果、読取画像データがスジ発生原稿データであれば、制御部116はカウントしているスジ発生原稿連続枚数を1増やし(S55)、スジ発生原稿連続枚数がスジ発生警告閾値(例えば3)よりも大きくなったか否かを判定する(S56)。   On the other hand, if the result of determination in S54 is that the read image data is streak-generated document data, the control unit 116 increases the counted number of streak-generated documents by 1 (S55), and the streak-generated document continuous number is a streak generation warning. It is determined whether or not it has become larger than a threshold value (for example, 3) (S56).

S56での判定の結果、スジ発生原稿連続枚数がスジ発生警告閾値よりも大きくなければ、S59の処理に進む。一方、スジ発生原稿連続枚数がスジ発生警告閾値よりも大きければ、制御部116は、例えば操作部117の表示部において、スジ発生警告表示を行う(S57)。   If the result of determination in S56 is that the streak-generated document continuous number is not larger than the streak generation warning threshold value, the process proceeds to S59. On the other hand, if the streak occurrence document continuous number is larger than the streak occurrence warning threshold, the control unit 116 displays a streak occurrence warning on the display unit of the operation unit 117, for example (S57).

以上のS51〜S57の処理は、画像入力装置111にセットされている全ての原稿の読取画像データについての処理が終了するまで繰り返し(S59)、全ての原稿の読取画像データについての処理が終了すれば、処理を終了する。   The processes of S51 to S57 described above are repeated until the process for the read image data of all the originals set in the image input device 111 is completed (S59), and the process for the read image data of all the originals is completed. If so, the process ends.

上記のように、本実施の形態の画像処理装置112では、スジ有無判定部208において、第1から第3の条件が全て満たされる場合に注目画素をスジ画素と判定するので、スジ画素の判定を高精度に行うことができる。これにより、画像入力装置111(ADF)の使用時における塵や埃の存在により、原稿の読取画像データにおける、原稿には存在しないスジ画像の発生を精度よく検出することができる。   As described above, in the image processing apparatus 112 according to the present embodiment, the streak presence / absence determination unit 208 determines that the target pixel is a streak pixel when all of the first to third conditions are satisfied. Can be performed with high accuracy. Accordingly, it is possible to accurately detect the occurrence of a streak image that does not exist in the original in the read image data of the original due to the presence of dust or dirt when the image input device 111 (ADF) is used.

また、上記画像処理装置112では、原稿には存在しないスジ画像が連続して原稿の読取画像データに発生している場合に、読取画像データにスジが発生していることを操作者に警告するようになっている。これにより、操作者は、原稿には存在しないスジ画像の原因となる塵や埃を原稿の読取領域から除去し、原稿の読取画像データにおけるスジ画像の発生の問題を解消することができる。   Further, the image processing apparatus 112 warns the operator that a streak has occurred in the read image data when a streak image that does not exist in the original has continuously occurred in the read image data of the original. It is like that. As a result, the operator can remove the dust and dust that cause the streak image that does not exist in the document from the read region of the document, and can solve the problem of the generation of the streak image in the read image data of the document.

なお、スジ発生警告の要否をスジ発生原稿データの連続枚数で判定しているのは、第1には、原稿に意図的に描かれた線をスジと誤判定する可能性を軽減させるためである。第2には、画像入力装置111において、ADF使用時に付着した埃や汚れが原因となって読取画像データに発生するスジ画像は、埃や汚れがADF使用中に除去されてしまう可能性があり、このような場合にまでもスジ発生警告を行うことを防止するためである。   The reason for determining whether or not a streak generation warning is necessary is based on the continuous number of pieces of streak-generated document data. First, in order to reduce the possibility of erroneously determining a line intentionally drawn on a document as a streak. It is. Second, in the image input device 111, streaked images generated in the read image data due to dust and dirt attached when using the ADF may be removed while the ADF is used. This is because the streak occurrence warning is prevented even in such a case.

また、スジ発生原稿連続枚数は、画像入力装置111にセットされた一部の原稿(一連の原稿)の読取作業が終了してもリセットされることなく、送受信部/記憶部115に記憶され、次の原稿の読取時にも引き継がれる。これにより、1回の画像入力装置111(ADF)使用時のスジ発生原稿枚数のみに依存せず、読取画像データにおけるスジ画像の発生を操作者に対して早期に警告することができる。   Further, the continuous document generation number of streaks is stored in the transmission / reception unit / storage unit 115 without being reset even when the reading operation of a part of a document (a series of documents) set in the image input device 111 is completed. It is inherited when the next document is read. As a result, the operator can be warned early of the occurrence of a streak image in the read image data without depending on only the number of streaks generated when the image input device 111 (ADF) is used once.

また、画像入力装置111(ADF)が原稿の両面読み取りに対応している場合、スジ発生原稿連続枚数については、表面と裏面のそれぞれでカウントされるようになっている。また、操作者により原稿の片面の読取のみが選択された場合にも、原稿の両面の読取を行い、裏面の読取画像データについてのスジ発生原稿連続枚数のカウントを継続し、操作者により次回に原稿の両面読み取りが選択された場合に、スジ発生警告を行えるようにしてもよい。   Further, when the image input device 111 (ADF) is compatible with double-sided scanning of a document, the streak-generated document continuous count is counted on each of the front and back surfaces. Even when the operator selects only one side of the original document, both sides of the original document are read and the continuous number of streaked originals for the scanned image data on the back side is continuously counted. A streak warning may be made when double-sided scanning of a document is selected.

また、画像読取装置として画像入力装置111が画像処理装置112の機能、特にスジ検知処理部129の機能を備えていてもよい。   In addition, the image input apparatus 111 may include the function of the image processing apparatus 112, particularly the function of the streak detection processing unit 129 as an image reading apparatus.

次に、本発明の実施の形態における画像形成装置のハードウェア構成について説明する。図6は、本発明の実施の形態の画像形成装置におけるハードウェア構成の例を示すブロック図である。   Next, a hardware configuration of the image forming apparatus according to the embodiment of the present invention will be described. FIG. 6 is a block diagram illustrating an example of a hardware configuration in the image forming apparatus according to the embodiment of the present invention.

図6に示すように、画像形成装置900は、画像処理部910(図1の画像処理装置112および制御部116に対応)、スキャナ920(図1の画像入力装置111に対応)、ハードディスク装置(以下、単位HDDと称する。図1の送受信部/記憶部115に対応)930、ドライブ装置940、およびプリンタ980(図1の画像出力装置113に対応)を備えている。画像処理部910は、画像処理部910に接続される各部の制御、および画像形成装置900が出力する画像データを処理する。   As shown in FIG. 6, the image forming apparatus 900 includes an image processing unit 910 (corresponding to the image processing apparatus 112 and the control unit 116 in FIG. 1), a scanner 920 (corresponding to the image input apparatus 111 in FIG. 1), and a hard disk device ( Hereinafter, it is referred to as a unit HDD (corresponding to the transmission / reception unit / storage unit 115 in FIG. 1) 930, a drive device 940, and a printer 980 (corresponding to the image output device 113 in FIG. 1). The image processing unit 910 controls each unit connected to the image processing unit 910 and processes image data output from the image forming apparatus 900.

画像処理部910は、CPU901、ROM902、RAM903、画像処理ASIC904、スキャナインタフェース(以下、単にスキャナI/Fと称する)912、HDDインタフェース(以下、単にHDD−I/Fと称する)913、ドライブインタフェース(以下、単にドライブI/Fと称する)914、プリンタインタフェース(以下、単にプリンタI/Fと称する)918、および通信インタフェース(以下、単に通信I/Fと称する)919を有する。   The image processing unit 910 includes a CPU 901, ROM 902, RAM 903, image processing ASIC 904, scanner interface (hereinafter simply referred to as scanner I / F) 912, HDD interface (hereinafter simply referred to as HDD-I / F) 913, drive interface ( Hereinafter, it has a printer interface (hereinafter simply referred to as printer I / F) 918 and a communication interface (hereinafter simply referred to as communication I / F) 919.

CPU901は、コンピュータプログラムを実行することにより、画像処理部910の各部、および画像処理部910に接続される各部を制御する。ROM902は、例えばCPU901が実行するコンピュータプログラムを格納する。   The CPU 901 controls each unit of the image processing unit 910 and each unit connected to the image processing unit 910 by executing a computer program. The ROM 902 stores a computer program executed by the CPU 901, for example.

CPU901は、また原稿自動判定処理、描画コマンド生成処理、および非表示コンテンツが付加されたイメージの生成処理を行う機能を有していてもよい。   The CPU 901 may also have a function of performing automatic document determination processing, drawing command generation processing, and image generation processing with non-display content added.

RAM903は、画像処理ASIC904、およびCPU901がコンピュータプログラムを実行する場合に処理される画像データを格納する。なお、この画像データは、ROM902に格納されてもよい。   The RAM 903 stores image data to be processed when the image processing ASIC 904 and the CPU 901 execute a computer program. Note that this image data may be stored in the ROM 902.

画像処理ASIC904は、画像データに対する各種処理を行う。画像処理ASIC904は、例えば、領域分離処理、下地除去処理、色補正処理、黒生成/下色除去処理、空間フィルタ処理、出力階調補正処理、および中間調生成処理の何れか一以上の処理を行うものであってもよい。   The image processing ASIC 904 performs various processes on the image data. The image processing ASIC 904 performs, for example, at least one of region separation processing, background removal processing, color correction processing, black generation / undercolor removal processing, spatial filter processing, output tone correction processing, and halftone generation processing. You may do it.

スキャナI/F912は、スキャナ920から入力される画像データを受け取り、スキャナ920の特性に応じた画像処理を行う。HDD−I/F913は、CPU901の制御に基づいて、HDD930に格納される画像データの入出力を行う。ドライブI/F914は、ドライブ装置940に挿入される可搬性記録媒体941に対するデータの入出力を行う。   The scanner I / F 912 receives image data input from the scanner 920 and performs image processing according to the characteristics of the scanner 920. The HDD-I / F 913 inputs and outputs image data stored in the HDD 930 based on the control of the CPU 901. The drive I / F 914 inputs / outputs data to / from the portable recording medium 941 inserted into the drive device 940.

プリンタI/F918は、画像処理部910が処理した画像データを、プリンタ980に出力する際のインタフェースである。通信I/F919は、画像処理部910からネットワーク990を介して他の装置と画像データまたは制御信号を通信する際のインタフェースである。   A printer I / F 918 is an interface for outputting image data processed by the image processing unit 910 to the printer 980. The communication I / F 919 is an interface for communicating image data or control signals with other apparatuses from the image processing unit 910 via the network 990.

スキャナ920は、画像が形成されている原稿を光学的に読み取って読取画像データを出力する。スキャナ920が出力する読取画像データは、アナログ信号でも、アナログ信号から変換されたデジタル信号でもよい。   The scanner 920 optically reads a document on which an image is formed and outputs read image data. The read image data output from the scanner 920 may be an analog signal or a digital signal converted from the analog signal.

HDD930は、画像処理部910が処理する画像データを格納する。HDD930は、例えばスキャナ920から入力される画像データ、通信I/F919から入力される画像データ、並びにCPU901および画像処理ASIC904の処理により生成される中間画像データを格納する。ドライブ装置940は、可搬性記録媒体941が挿入されることにより、可搬性記録媒体941に対するデータの書き込みおよび読み出しを行う。可搬性記録媒体941には、例えばCPU901が実行するコンピュータプログラムが格納される。   The HDD 930 stores image data processed by the image processing unit 910. The HDD 930 stores, for example, image data input from the scanner 920, image data input from the communication I / F 919, and intermediate image data generated by processing of the CPU 901 and the image processing ASIC 904. The drive device 940 writes and reads data to and from the portable recording medium 941 by inserting the portable recording medium 941. The portable recording medium 941 stores a computer program executed by the CPU 901, for example.

プリンタ980は、画像処理部910により処理された画像データを、用紙等の媒体上に形成して出力する。   The printer 980 forms and outputs the image data processed by the image processing unit 910 on a medium such as paper.

画像形成装置の各ブロック、特に画像処理装置112は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。   Each block of the image forming apparatus, in particular, the image processing apparatus 112 may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、画像処理装置112は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである画像処理装置112の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記画像処理装置112に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the image processing apparatus 112 includes a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, and a RAM (random access memory) that expands the program. And a storage device (recording medium) such as a memory for storing the program and various data. An object of the present invention is a recording medium in which program codes (execution format program, intermediate code program, source program) of a control program of the image processing apparatus 112, which is software that realizes the above-described functions, are recorded so as to be readable by a computer. This can also be achieved by supplying the image processing apparatus 112 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、画像処理装置112を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the image processing apparatus 112 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in the embodiments are also included. It is included in the technical scope of the present invention.

本発明は、スキャナ、プリンタ、画像処理装置、複写機および複合機に利用することができる。   The present invention can be used for a scanner, a printer, an image processing apparatus, a copying machine, and a multifunction machine.

111 画像入力装置(画像読取装置)
112 画像処理装置
113 画像出力装置
116 制御部
117 操作部(スジ発生警告装置)
129 スジ検知処理部
201 判定領域抽出部
202 隣接画素濃度差算出部(エッジ画素検出部)
203 立ち上り/立ち下りエッジ検出部(エッジ画素検出部)
204 スジ画素判定部
205 スジ画素カウント部(スジ画素数計数部)
206 エッジ画素カウント部(エッジ画素数計数部)
207 無地領域判定部
208 スジ有無判定部
209 エッジ閾値設定部
210 無地領域判定閾値設定部
211 スジ有無判定閾値設定部
111 Image input device (image reading device)
DESCRIPTION OF SYMBOLS 112 Image processing apparatus 113 Image output apparatus 116 Control part 117 Operation part (streaks generation | occurrence | production warning apparatus)
129 Line detection processing unit 201 Determination region extraction unit 202 Adjacent pixel density difference calculation unit (edge pixel detection unit)
203 Rising / falling edge detection unit (edge pixel detection unit)
204 streak pixel determining unit 205 streak pixel counting unit (streaked pixel number counting unit)
206 Edge Pixel Counting Unit (Edge Pixel Counting Unit)
207 Solid region determination unit 208 Line presence / absence determination unit 209 Edge threshold setting unit 210 Plain region determination threshold setting unit 211 Line presence / absence determination threshold setting unit

Claims (11)

原稿から読み取られた読取画像データについて、スジ画像を含む読取画像データを検知するスジ検知処理部を備えた画像処理装置において、
前記スジ検知処理部は、
原稿から読み取られた読取画像データに設定された判定領域について、この判定領域に含まれるエッジ画素を検出し、かつ検出したエッジ画素について、画素の濃度が原稿の読み取りにおける主走査方向に向かって高くなる立ち上りエッジ画素か、画素の濃度が原稿の読み取りにおける主走査方向に向かって低くなる立ち下りエッジ画素かを判定するエッジ画素検出部と、
前記判定領域の各画素を注目画素とし、その注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、前記注目画素がエッジ画素である第1の条件、前記ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素とが1組存在する第2の条件、および前記ブロックにおける副走査方向の全てのラインにエッジ画素が存在しない第3の条件が全て満たされる場合に、前記注目画素をスジ画素と判定するスジ画素判定部とを備えていることを特徴とする画像処理装置。
In an image processing apparatus including a streak detection processing unit that detects read image data including a streak image with respect to read image data read from a document,
The streak detection processing unit
For the determination region set in the read image data read from the document, the edge pixel included in the determination region is detected, and the pixel density of the detected edge pixel is increased toward the main scanning direction in reading the document. An edge pixel detection unit that determines whether the rising edge pixel is a falling edge pixel that has a pixel density that decreases in the main scanning direction in reading a document;
Each pixel in the determination area is set as a pixel of interest, a block including a plurality of pixels in the main scanning direction and the sub-scanning direction is set around the pixel of interest, and the first condition is that the pixel of interest is an edge pixel. For each line in the main scanning direction, there are all the second conditions in which one set of rising edge pixels and falling edge pixels exists, and the third condition in which no edge pixels exist in all lines in the sub-scanning direction in the block. An image processing apparatus comprising: a streak pixel determining unit that determines that the target pixel is a streak pixel when the target pixel is satisfied.
前記スジ検知処理部は、
前記読取画像データにおける原稿の読取先端側あるいは読取後端側の領域を前記判定領域として設定する判定領域抽出部と、
前記エッジ画素検出部にて検出された、前記判定領域に含まれるエッジ画素の数を計数するエッジ画素数計数部と、
前記判定領域を無地領域か否か判定するためのエッジ画素数を設定した無地領域判定閾値と前記エッジ画素数計数部にて計数されたエッジ画素数とを比較し、前記判定領域が無地領域か否かを判定する無地領域判定部と、
前記無地領域判定部にて前記判定領域が無地領域と判定された場合に、前記判定領域にスジ画像が含まれているか否かを判定するスジ有無判定部とを備えていることを特徴とする請求項1に記載の画像処理装置。
The streak detection processing unit
A determination area extraction unit that sets an area on the reading front end side or the reading rear end side of the document in the read image data as the determination area;
An edge pixel number counting unit that counts the number of edge pixels included in the determination region detected by the edge pixel detection unit;
A plain area determination threshold value in which the number of edge pixels for determining whether or not the determination area is a plain area is compared with the number of edge pixels counted by the edge pixel number counting unit, and whether the determination area is a plain area. A plain area determination unit for determining whether or not,
A streak presence / absence determining unit that determines whether or not a streak image is included in the determination region when the determination region is determined to be a plain region by the plain region determination unit. The image processing apparatus according to claim 1.
前記スジ検知処理部は、
前記スジ画素判定部にてスジ画素と判定された画素数を計数するスジ画素数計数部を備え、
前記スジ有無判定部は、前記判定領域にスジ画像が含まれていると判定するためのスジ画素数を設定したスジ有無判定閾値と前記スジ画素数計数部にて計数されたスジ画素数とを比較し、前記判定領域にスジ画像が含まれているか否かを判定することを特徴とする請求項2に記載の画像処理装置。
The streak detection processing unit
A streak pixel number counting unit that counts the number of pixels determined to be streak pixels by the streak pixel determination unit;
The streak presence / absence determination unit includes a streak presence / absence determination threshold value that sets the number of streak pixels for determining that a streak image is included in the determination region, and the number of streak pixels counted by the streak pixel number counting unit. The image processing apparatus according to claim 2, wherein the image processing apparatus compares and determines whether or not a streak image is included in the determination area.
読取画像データにスジ画像が発生していることを知らせるスジ発生警告を行うスジ発生警告装置と、
前記スジ有無判定部により、連続する複数の前記読取画像データについてスジ画像が含まれていると判定された場合に、前記スジ発生警告装置によりスジ発生警告を行わせる制御部とを備えていることを特徴とする請求項2または3に記載の画像処理装置。
A streak generation warning device for performing a streak generation warning notifying that a streak image has occurred in the read image data;
A control unit that causes the streak generation warning device to perform a streak generation warning device when the streak presence / absence determination unit determines that a plurality of continuous read image data includes a streak image; The image processing apparatus according to claim 2, wherein:
前記制御部は、前記スジ有無判定部によりスジ画像が含まれていると判定された読取画像データであるスジ発生原稿データの連続数を計数し、この連続数がスジ発生警告閾値を超えた場合に、前記スジ発生警告装置によりスジ発生警告を行わせるものであり、
複数の読取画像データの処理を含む第1のジョブにおいてスジ発生原稿データが発生し、かつスジ発生原稿データの連続数が前記スジ発生警告閾値以下である場合に、第1のジョブでのスジ発生原稿データの連続数を保持し、複数の読取画像データの処理を含む第2のジョブにおいて第1のジョブからのスジ発生原稿データの連続数が前記スジ発生警告閾値を超えた場合に、前記スジ発生警告装置によりスジ発生警告を行わせることを特徴とする請求項4に記載の画像処理装置。
The control unit counts the continuous number of streaked document data that is read image data determined to include a streak image by the streak presence / absence determining unit, and the continuous number exceeds a streak generation warning threshold To cause a streak occurrence warning by the streak occurrence warning device,
When a streak generation document data is generated in a first job including processing of a plurality of read image data, and a continuous number of streak generation document data is equal to or less than the streak generation warning threshold, a streak is generated in the first job. When the number of continuous streaked document data from the first job exceeds the streak generation warning threshold in a second job that holds the continuous number of document data and includes processing of a plurality of read image data, The image processing apparatus according to claim 4, wherein a streak generation warning is issued by the generation warning apparatus.
請求項1から5のいずれか1項に記載の画像処理装置を備え、原稿を読取位置に搬送しながら原稿の画像を読み取り、前記読取画像データを取得する画像読取装置。   An image reading apparatus comprising the image processing apparatus according to claim 1, wherein the image reading apparatus acquires the read image data by reading an image of the original while conveying the original to a reading position. 表面のみに画像が形成されている片面原稿の画像を読み取る際に、原稿の表面および裏面の読み取りを行い、
前記画像処理装置は、原稿の裏面の読取画像データについてのスジ画像の検知を行うことを特徴とする請求項6に記載の画像読取装置。
When reading an image of a single-sided document with an image only on the front side, scan the front and back sides of the document,
The image reading apparatus according to claim 6, wherein the image processing apparatus detects a streak image of the read image data on the back side of the document.
請求項7に記載の画像読取装置を備え、前記画像処理装置にて処理された前記読取画像データに基づいて画像を印刷することを特徴とする画像形成装置。   An image forming apparatus comprising the image reading apparatus according to claim 7, wherein an image is printed based on the read image data processed by the image processing apparatus. 原稿から読み取られた読取画像データについて、スジ画像を含む読取画像データを検知するスジ検知処理を行う画像処理方法において、
前記スジ検知処理は、
原稿から読み取られた読取画像データに設定された判定領域について、この判定領域に含まれるエッジ画素を検出し、かつ検出したエッジ画素について、画素の濃度が原稿の読み取りにおける主走査方向に向かって高くなる立ち上りエッジ画素か、画素の濃度が原稿の読み取りにおける主走査方向に向かって低くなる立ち下りエッジ画素かを判定するエッジ画素検出工程と、
前記判定領域の各画素を注目画素とし、その注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、前記注目画素がエッジ画素である第1の条件、前記ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素とが1組存在する第2の条件、および前記ブロックにおける副走査方向の全てのラインにエッジ画素が存在しない第3の条件が全て満たされる場合に、前記注目画素をスジ画素と判定するスジ画素判定工程とを備えていることを特徴とする画像処理方法。
In an image processing method for performing streak detection processing for detecting read image data including a streak image with respect to read image data read from a document,
The streak detection process
For the determination region set in the read image data read from the document, the edge pixel included in the determination region is detected, and the pixel density of the detected edge pixel is increased toward the main scanning direction in reading the document. An edge pixel detection step for determining whether the pixel is a rising edge pixel or a falling edge pixel whose pixel density decreases in the main scanning direction in reading a document;
Each pixel in the determination area is set as a pixel of interest, a block including a plurality of pixels in the main scanning direction and the sub-scanning direction is set around the pixel of interest, and the first condition is that the pixel of interest is an edge pixel. For each line in the main scanning direction, there are all the second conditions in which one set of rising edge pixels and falling edge pixels exists, and the third condition in which no edge pixels exist in all lines in the sub-scanning direction in the block. An image processing method comprising: a streak pixel determining step that determines that the target pixel is a streak pixel when the target pixel is satisfied.
請求項1から5のいずれか1項に記載の画像処理装置の前記の各部としてコンピュータを機能させるためのプログラム。   The program for functioning a computer as each said part of the image processing apparatus of any one of Claim 1 to 5. 請求項10に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 10.
JP2011139894A 2011-06-23 2011-06-23 Image processor, image reader, image forming apparatus, image processing method, program and recording medium Withdrawn JP2013009116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011139894A JP2013009116A (en) 2011-06-23 2011-06-23 Image processor, image reader, image forming apparatus, image processing method, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011139894A JP2013009116A (en) 2011-06-23 2011-06-23 Image processor, image reader, image forming apparatus, image processing method, program and recording medium

Publications (1)

Publication Number Publication Date
JP2013009116A true JP2013009116A (en) 2013-01-10

Family

ID=47676120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011139894A Withdrawn JP2013009116A (en) 2011-06-23 2011-06-23 Image processor, image reader, image forming apparatus, image processing method, program and recording medium

Country Status (1)

Country Link
JP (1) JP2013009116A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014155113A (en) * 2013-02-12 2014-08-25 Ricoh Co Ltd Image inspection device, image inspection system, and image inspection method
KR20150009850A (en) * 2013-07-17 2015-01-27 삼성전자주식회사 Image scanning apparatus and method for correcting vertical streak thereof
JP2022184098A (en) * 2021-05-31 2022-12-13 キヤノン株式会社 Image processing device, image processing method and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014155113A (en) * 2013-02-12 2014-08-25 Ricoh Co Ltd Image inspection device, image inspection system, and image inspection method
KR20150009850A (en) * 2013-07-17 2015-01-27 삼성전자주식회사 Image scanning apparatus and method for correcting vertical streak thereof
KR102037445B1 (en) * 2013-07-17 2019-10-28 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. Image scanning apparatus and method for correcting vertical streak thereof
JP2022184098A (en) * 2021-05-31 2022-12-13 キヤノン株式会社 Image processing device, image processing method and program
JP7686454B2 (en) 2021-05-31 2025-06-02 キヤノン株式会社 Image processing device, image processing method and program

Similar Documents

Publication Publication Date Title
JP4495201B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP4610644B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
JP5179559B2 (en) Control device for controlling image processing system, image forming device, image reading device, control method, image processing program, and computer-readable recording medium
US8237997B2 (en) Image reader and image forming device
JP5442701B2 (en) Image processing method, image processing apparatus, image forming apparatus including the same, image reading apparatus, program, and recording medium
CN103581470B (en) Image processing apparatus and image processing method
CN101626445B (en) Image reading apparatus, and image forming apparatus
US9406001B2 (en) Image processing apparatus, image forming apparatus, image forming method, and recording medium
US10659621B2 (en) Image processing apparatus, image processing method, and storage medium
JP5290360B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and recording medium
JP4808281B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP2013009116A (en) Image processor, image reader, image forming apparatus, image processing method, program and recording medium
US8184341B2 (en) Image reading apparatus, image reading method, and storage medium
JP5760426B2 (en) Image forming apparatus, image processing method, and program
JP2009182930A (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP6081874B2 (en) Image reading device
JP2007036732A (en) Image reading apparatus and image forming apparatus
JP2009267795A (en) Image processor, image reader, image forming device, image processing method, image processing program and recording medium
JP2009171261A (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2013009287A (en) Image processing device, image reading device, image forming device, image processing method, program, and recording medium
JP5851371B2 (en) Image forming apparatus and image reading method
JP2016163155A (en) Image reading apparatus and image forming apparatus
JP2008306459A (en) Document size correcting apparatus, document size correcting method, image processing apparatus, image reading apparatus, image forming apparatus, program, and recording medium
JP2006197438A (en) Sheet-through document reader and image forming apparatus
JP2009077160A (en) Image forming apparatus, image processing apparatus and image processing program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140902