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 PDFInfo
- 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
Links
Images
Landscapes
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
【課題】原稿には存在しないスジ画像を精度よく検出できるようにする。
【解決手段】スジ検知処理部129は、原稿の読取画像データに設定された判定領域に含まれるエッジ画素を検出し、エッジ画素について、立ち上りエッジ画素か立ち下りエッジ画素かを判定する隣接画素濃度差算出部202および立ち上り/立ち下りエッジ検出部203と、判定領域の各画素を注目画素とし、注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、注目画素がエッジ画素である第1の条件、ブロックにおける主走査方向のライン毎に、立ち上りエッジ画素と立ち下りエッジ画素とが1組存在する第2の条件、およびブロックにおける副走査方向の全てのラインにエッジ画素が存在しない第3の条件が全て満たされる場合に、注目画素をスジ画素と判定するスジ画素判定部204とを備える。
【選択図】図3A 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.
ところが、特許文献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は、本発明の実施の形態における画像形成装置の構成の概略を示すブロック図である。画像形成装置は、図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
画像処理装置112は、画像入力装置111または送受信部/記憶部115から取得する画像データを処理し、画像出力装置113または画像表示装置114に出力する。
The
画像入力装置111は、スキャナとしての機能を有し、原稿上に形成されている画像を光学的に読み取って画像データを生成する。このために、画像入力装置111は、図示しないCCD(Charge Coupled Device)ラインセンサを備え、原稿から反射してきた光を、R,G,B(R:赤、G:緑、B:青)に色分解された電気信号に変換する。画像入力装置111の詳細については後述する。
The
画像出力装置113は、プリンタとしての機能を有し、画像処理装置112が処理した画像データを、紙等の媒体上に印刷する。したがって、画像出力装置113は、例えば電子写真方式プリンタまたはインクジェット方式プリンタ等の画像を再現する印刷装置となっている。
The
画像表示装置114は、画像形成装置において行う処理(操作)の内容を表示したり、画像処理装置112が処理した画像データの画像、または画像処理装置112が処理する際の中間画像データの画像を表示したりする。したがって、画像表示装置114は、例えば複写機または複合機の操作パネルに設置された液晶ディスプレイ等の画像を表示する装置となっている。
The
送受信部/記憶部115は、ネットワークを介して画像処理装置112に入力され、または画像処理装置112から出力される画像データ、および制御信号を送受信する。また、送受信部/記憶部115は、画像処理装置112が処理する画像データを格納する。送受信部/記憶部115が格納する画像データは、画像入力装置111から入力される画像データ、および送受信部/記憶部115が送受信する画像データである。また、送受信部/記憶部115は、制御部116が制御処理を実行する際のワークメモリとしての機能を有していてもよい。
The transmission / reception unit /
制御部116は、画像処理装置112が実行する各種の画像処理に対する設定、および画像処理装置112が有する各部の制御を行う。また、制御部116は、画像入力装置111および画像出力装置113を制御し、画像表示装置114が表示する画像を生成する。また、制御部116は、送受信部/記憶部115を制御して、画像データの送受信を行わせ、さらに送受信部/記憶部115が備えるHDD等の記録装置に対する画像データの格納および読み出しを行わせる。操作部117は、画像形成装置にて行われるジョブに対しての設定情報を操作者が入力する入力部となっている。操作部117は、液晶ディスプレイよりなる表示部と設定を行うボタンなどを備えている。
The
画像処理装置112は、アナログ・デジタル変換部(以下、「A/D変換部」という。)121、シェーディング補正部122、入力処理部123、領域分離処理部124、色補正部125、黒生成/下色除去部126、空間フィルタ部127、中間調生成部128、スジ検知処理部129および表示制御部130を有する。
The
A/D変換部121は、画像入力装置111が備えるCCDラインセンサから入力されたカラー画像信号(RGBアナログ信号)を、デジタル信号に変換する。シェーディング補正部122は、デジタル信号に含まれている、画像入力装置111の照明系、結像系および撮像系で生じる各種の歪みを取り除く。
The A /
入力処理部123は、シェーディング補正部122により処理されたRGBデジタル信号に対してγ補正を行う。なお、以下の説明では、RGBデジタル信号による画像をRGB画像と称する。
The
表示制御部130は、画像表示装置114に表示する画面を生成し、画像表示装置114の表示動作を制御する。表示制御部130により表示される情報は、画像処理装置112が実行する処理の状況、および処理に対する設定情報である。また、スジ検知処理部129においてスジなどが検知された場合には、操作者に注意を促す情報なども表示される。
The
色補正部125は、RGB画像をCMY(C:シアン、M:マゼンタ、Y:イエロー)画像に色空間変換し、さらに、色再現性を高める処理を行う。
The
領域分離処理部124は、RGB画像の各画素が、黒文字、色文字、網点および印画紙写真(連続階調領域)等の複数種類の領域のうちの、何れの領域に属する画素かを判定する。また、領域分離処理部124は、判定した結果を各画素が属する領域の種類を表す領域分離データとして、黒生成/下色除去部126、空間フィルタ部127および中間調生成部128に出力する。領域分離データが入力される各部では、領域の種類に対応した処理が実行される。
The region
黒生成/下色除去部126は、3色のトナーにて表現することのできるCMY画像を、4色のトナーにて表現するCMYK(K:黒)画像に変換する。空間フィルタ部127は、CMYK画像に対し、強調処理および平滑処理を行う。中間調生成部128は、CMYK画像を印刷出力するために、階調再現処理を行う。
The black generation / under
図2は自動原稿送り装置(ADF: Automatic Document Feeder)を備えたスキャナとしての画像入力装置111の構造を示す縦断面図である。図2に示すように、画像入力装置111は、下部筐体1、上部筐体2および排紙トレイ3を備えている。画像入力装置111では、原稿を静止させて画像を読み取る静止読取モード、原稿を搬送しながら画像を読み取る走行読取モード、および原稿を搬送しながら原稿における両面の画像を読み取る両面読取モードにて原稿の画像読み取りを行えるようになっている。
FIG. 2 is a longitudinal sectional view showing a structure of an
読取モードの選択は、例えば操作部117において行われ、選択された読取モードは、読取モード信号として伝達として伝達される。なお、原稿セットトレイ22に原稿がセットされた状態(原稿セット検出センサで原稿が検知された状態)で、コピーボタンが押された時は、走行読取モードによって原稿画像を読み取るように設定されている。また、両面読取モードで読み取る際は、操作部117より両面読取モードの設定が行われる。
The selection of the reading mode is performed by the
画像入力装置111では、原稿台としての第1コンタクトガラス11に原稿が置かれると、下部筐体1内あるいは第1コンタクトガラス11の近傍に配置された原稿サイズセンサ(例えば、フォトセンサ)によって原稿サイズが検知され、コピーボタンが押されると、静止読取モードにて原稿の読み取りを行う。
In the
画像入力装置111は、原稿画像の読み取りを、静止読取モードでは下部筐体1内の第1読取部10によって行う一方、走行読取モードでは上部筐体2内の第2読取部23によって行うようになっている。また、両面読取モードでは、これら第1読取部10および第2読取部23の双方を同時に用いるようになっている。
The
図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
第1コンタクトガラス11は、静止読取モードで読み取る原稿を載置するための原稿台である。第1走査ユニット12は、第1コンタクトガラス11に沿って左から右に一定速度Vで移動しながら原稿を露光する。このために、第1走査ユニット12は、光源(露光ランプ)50、および原稿の反射光を第2走査ユニット13に導く第1の反射ミラー51を有している。
The
第2走査ユニット13は、第1走査ユニット12に追従してV/2の速度で移動するようになっており、第1反射ミラー51からの光を結像レンズ14およびCCD15に導く第2反射ミラー52および第3反射ミラー53を備えている。
The
結像レンズ14は、第3反射ミラー53からの反射光を、CCD15上で結像させる。CCD15は、結像レンズ14からの光をアナログの電気信号に変換する。なお、この電気信号は、画像処理装置112によってデジタルの画像データに変換される。
The
第1読取部10は、第1コンタクトガラス11上に載置された原稿画像の読み取り、および上部筐体2の部材によって搬送される原稿画像の読み取りを行う。
The
第1走査ユニット12は、第1コンタクトガラス11上の原稿を読み取る際には、図2に示すPos1の位置からPos2の位置の方向に、原稿サイズ検出手段(図示せず)にて検出された原稿サイズに応じて、所定距離だけ移動する。一方、搬送されている原稿を読み取る際には、Pos3の位置に停止している。また、使用されていない待機中には、Pos1の位置とPos3の位置との中間のPos0(図示せず)の位置であるホームポジションに、停止している。
When the
第1コンタクトガラス11の前端側位置には、原稿基準板(図示せず)が備えられている。この原稿基準板は、第1コンタクトガラス11に載置する原稿のサイズ・載置方向を示す指標となる。したがって、画像形成装置の操作者は、原稿基準板に従って、第1コンタクトガラス11に原稿を容易に載置できる。
A document reference plate (not shown) is provided at the front end side position of the
第2読取部23は、原稿セットトレイ22に載置された原稿の画像を読み取るものであり、原稿搬送部31、イメージセンサ部32、原稿搬送路33および原稿排出部34を備えている。
The
原稿搬送部31は、原稿セットトレイ22に載置された原稿を取り込み、原稿搬送路33上を搬送させるものである。イメージセンサ部32は、搬送されている原稿の画像を読み取るものである。原稿排出部34は、イメージセンサ部32によって画像を読み取られた後の原稿を、排紙トレイ3に排出するものである。
The
原稿搬送部31は、給送補助ローラ61、原稿セット検出センサ62、原稿抑え板63、摩擦パッド64、給送タイミングセンサ65、給送ローラ66および整合ローラ対67を備えている。
The
給送補助ローラ61および原稿抑え板63は、原稿セット検出センサ62に検知された原稿を、第2読取部23内部に引き入れるものである。摩擦パッド64、給送ローラ66および整合ローラ対67は、給送タイミングセンサ65の検知結果に基づいて、引き込まれた原稿を1枚毎にイメージセンサ部32に導くものである。
The
なお、整合ローラ対67は、その駆動軸に電磁クラッチ(図示せず)を備え、駆動モータ(図示せず)からの駆動力の伝達を制御できるようになっており、原稿のない状態では停止している。そして、原稿の先端が給送タイミングセンサ65に接触し、このセンサから所定の信号が伝達されたときに、原稿を下流側に搬送する方向に回動するように設定されている。
The
整合ローラ対67は、停止した状態で、摩擦パッド64および給送ローラ66により上流側より搬送されてきた原稿の先端が、整合ローラ対67のニップ部に付き当たり、原稿に所定の撓みを形成した後に、下流側に原稿を搬送するように回動する。この際に、整合ローラ対67のニップ部により、原稿の先端が搬送方向に直角となるように整合される。さらに、整合ローラ対67は、第2コンタクトガラス16との間で、原稿搬送路33の一部を形成している。
When the
原稿排出部34は、原稿排出ローラ対69および原稿排出センサ59を備えている。原稿排出ローラ対69の上側ローラは、駆動側のローラであり、上部筐体2の左側部に一体的に設けられて、上部筐体2中の駆動機構により駆動される。原稿排出ローラ対69の上側ローラは、下部筐体1側に回転自在に設けられた原稿排出ローラ対69の下側ローラ(従動ローラ)とで、原稿搬送路33を通った原稿を挟持搬送して、排紙トレイ3上に排出する。
The
また、原稿排出センサ59は、原稿排出ローラ対69の下流側に配置されており、原稿の排出を、後述する読取制御部に伝達するものである。
The
イメージセンサ部(CIS:Contact Image Sensor)32は、上部筐体2に設けられており、原稿搬送路33を走行する原稿における上側の画像を読み取る。なお、開放扉24は、イメージセンサ部32の上方の空間を開放可能となっている。
An image sensor unit (CIS: Contact Image Sensor) 32 is provided in the
次に、上記構成の画像入力装置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
The
走行読取モードでは、片面読取モードと両面読取モードの両方が選択可能となる。走行読取モードの片面読取モードでは、第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
走行読取モードの両面読取モードでは、第1読取部10およびイメージセンサ部32の双方が原稿の読み取りに用いられる。このとき、第1読取部10の第1走査ユニット12は、走行読取モードの片面読取モード時と同様に、Pos3の位置に停止される。
In the double-sided reading mode of the traveling reading mode, both the
そして、読取制御部の指示に応じて、第1読取部10が、第2コンタクトガラス16を介して、原稿搬送路33を搬送される原稿の画像を下側から読み取る。また、同様に、イメージセンサ部32が、搬送される原稿の上側の面(裏面)に形成されている画像を上側から読み取る。
Then, in response to an instruction from the reading control unit, the
このように、本読取装置における両面読取モードでは、第1読取部10およびイメージセンサ部32が、搬送原稿の表裏両面の画像を、上下方向から一度に読み取ることとなる。
As described above, in the double-sided reading mode of the present reading apparatus, the
なお、表面のみに画像が形成されている片面原稿の画像を読み取る際に、原稿の表面および裏面の読み取りを行い、原稿の裏面の読取画像データについてのスジ画像の検知を行うようにしてもよい。この場合、原稿の表面の読み取りは第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
次に、画像処理装置112が備えるスジ検知処理部129について説明する。
図3は図1に示したスジ検知処理部129の構成を示すブロック図である。
Next, the streak
FIG. 3 is a block diagram showing the configuration of the streak
スジ検知処理部129は、図3に示すように、判定領域抽出部201、隣接画素濃度差算出部(エッジ画素検出部)202、立ち上り/立ち下りエッジ検出部(エッジ画素検出部)203、スジ画素判定部204、スジ画素カウント部(スジ画素数計数部)205、エッジ画素カウント部(エッジ画素数計数部)206、無地領域判定部207、スジ有無判定部208、エッジ閾値設定部209、無地領域判定閾値設定部210およびスジ有無判定閾値設定部211を備えている。
As shown in FIG. 3, the streak
判定領域抽出部201は、原稿の読取画像データ(RGB画像)における原稿の読取先端側の数ライン分あるいは原稿の読取後端側の数ライン分を判定領域として抽出する。このように、読取画像データにおける原稿の読取先端側の数ライン分あるいは原稿の読取後端側の数ライン分を判定領域として設定するのは、一般に原稿の端部には、原稿画像が描かれた領域が少ないためである。このように判定領域を設定することにより、原稿に意図的に描かれたラインやエッジを誤ってスジと判定する誤判定を防止することができる。
The determination
スジ検知処理部129では、判定領域抽出部201により抽出された判定領域について、原稿画像データが有する画素毎に、各画素を注目画素として属性を判定する。この判定では、注目画素を中心とするn×mの画素ブロックを用いる。n・mは自然数であり、例えば7である。
The streak
隣接画素濃度差算出部202は、n×mの画素ブロックに含まれる各画素と各画素に隣接する画素との濃度差を算出する。
The adjacent pixel density
立ち上り/立ち下りエッジ検出部203は、隣接画素濃度差算出部202にて算出された濃度差とエッジ閾値(例えば10)とを比較し、各画素がエッジ画素であるか否かを判定する。また、エッジ画素と判定したものについては、隣接画素濃度差算出部202にて算出された濃度差の値から、立ち上りエッジ画素であるか、立ち下りエッジ画素であるかを判定する。この判定では、左側の画素の濃度値(画素値)からその画素の右側に隣接する画素の濃度値を引いたとき、濃度値が負になる場合を立ち上りエッジ画素、正になる場合を立ち下りエッジ画素と判定する。なお、上記エッジ閾値(例えば10)は、エッジ閾値設定部209に設定される。
The rising / falling
エッジ画素カウント部206は、n×mの画素ブロックの中心である注目画素がエッジ画素と判定されたものについてカウントする。
The edge
スジ画素判定部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
無地領域判定部207は、エッジ画素カウント部206でのエッジ画素カウント数と無地領域判定閾値とを比較することにより、判定領域抽出部201にて抽出された判定領域が原稿に意図的に描かれたラインが存在しない無地領域であるか否かを判定する。この判定において、無地領域判定閾値は、判定領域の副走査ライン数×所定値(例えば5)に設定される。そして、エッジ画素カウント数<無地領域判定閾値である場合に、判定領域を無地領域と判定する一方、エッジ画素カウント数≧無地領域判定閾値である場合に、判定領域を無地領域でないと判定する。
The plain
スジ有無判定部208は、無地領域判定部207において上記判定領域が原稿に意図的に描かれたラインが存在しない無地領域であると判定された場合に、スジ画素カウント部205でのスジ画素カウント数とスジ有無判定閾値とを比較することにより、無地領域と判定された判定領域において原稿に存在しないスジが発生しているか否かを判定する。この判定において、スジ有無判定閾値は、判定領域の副走査方向画素数×所定値(例えば2)に設定される。そして、スジ画素カウント数>スジ有無判定閾値である場合に、原稿の読取画像データすなわち判定領域には、原稿に存在しないスジが発生していると判定する。一方、スジ画素カウント数≦スジ有無判定閾値である場合に、原稿の読取画像データすなわち判定領域には、原稿に存在しないスジが発生していないと判定する。
When the plain
上記スジ有無判定閾値の設定に関し、例えば、判定領域に副走査方向に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
上記のように、スジ有無判定閾値は、判定領域における副走査方向の画素数(主走査方向のライン数)に、判定領域の主走査方向の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
判定領域抽出部201では、原稿画像データが入力されると、その先端の数ライン分あるいは後端の数ライン分を判定領域として抽出する(S11)。この判定領域は、例えば、600dpiの解像度では、原稿画像データのそれぞれ300ラインである。
When the document image data is input, the determination
次に、隣接画素濃度差算出部202は、注目画素を中心とするn×mの画素ブロックの各画素aとその隣接画素b(右側に隣接する画素)との濃度差(a−b)を算出する(S12)。
Next, the adjacent pixel density
次に、立ち上り/立ち下りエッジ検出部203は、隣接画素濃度差算出部202にて算出された隣接濃度差(a−b)の絶対値とエッジ閾値とを比較し、各画素がエッジ画素であるか否かを判定する(S13)。この判定では、隣接濃度差(a−b)の絶対値>エッジ閾値、となる場合にその画素をエッジ画素と判定する。
Next, the rising / falling
次に、エッジ画素カウント部206は、n×mの画素ブロックの中心である注目画素がエッジ画素と判定された画素をエッジ画素としてカウントする(S14)。
Next, the edge
また、立ち上り/立ち下りエッジ検出部203は、隣接濃度差(a−b)>0であるか否かを判定する(S15)。この判定において、隣接濃度差が負(a−b<0)の場合には、立ち上り画素と判定し(S16)、隣接濃度差が正(a−b>0)の場合には、立ち下り画素と判定する(S17)。立ち上り/立ち下りエッジ検出部203およびエッジ画素カウント部206では、n×mの画素ブロックにおける全ての画素について、S12〜S17の処理を行う。
Also, the rising / falling
次に、スジ画素判定部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
スジ検知処理部129では、上記S12〜S19の処理を判定領域のRGB画像における全ての画素について終了するまで繰り返し(S20)、処理が終了すればS21に進む。
The streak
次に、無地領域判定部207は、エッジ画素カウント部206でのエッジ画素カウント数と無地領域判定閾値とを比較し、スジ検出を行う判定領域がスジ以外に書き込み等がない無地領域であるか否かを判定する(S21)。
Next, the plain
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 /
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
画像処理装置112のスジ検知処理部129では、操作者により、画像入力装置111の走行読取モード(ADF機能を使用)が選択された場合に、スジ発生原稿データについての検知動作を行う。なお、スジ発生原稿データかどうかの判定は、原稿の読取画像データ全体についてではなく、上記のように、原稿の先端あるいは後端に対応する判定領域について行われる。また、例えば制御部116は、スジ検知処理部129において連続してスジ発生原稿データと判定される読取画像データの数(スジ発生原稿連続枚数)をカウントしている。さらに、制御部116は、スジ発生原稿連続枚数がスジ発生警告閾値よりも大きくなった場合に、例えば操作部117の表示部において警告表示を行うようになっている。スジ発生警告閾値は、例えば3に設定される。なお、操作者に対するスジ発生警告の方法は、操作部117の表示部(スジ発生警告装置)での警告表示の他、音声にて、あるいは表示および音声にて行ってもよい。警告を音声で行う場合は、単純に警告を鳴らす他、表示部での警告表示すべき内容を合成音声にて伝えるものでもよい。
The streak
図5に示すように、画像処理装置112では、画像入力装置111においてADF機能、すなわち走行読取モードが選択された場合(S51)、ADF機能により順次搬送されて読み取られた原稿の各読取画像データについて、スジ検知処理部129がスジ検知処理を行う(S52)。すなわち、スジ検知処理部129は、原稿の読取画像データがスジ発生原稿データであるか否かを判定する。
As shown in FIG. 5, in the
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
一方、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
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
以上の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
上記のように、本実施の形態の画像処理装置112では、スジ有無判定部208において、第1から第3の条件が全て満たされる場合に注目画素をスジ画素と判定するので、スジ画素の判定を高精度に行うことができる。これにより、画像入力装置111(ADF)の使用時における塵や埃の存在により、原稿の読取画像データにおける、原稿には存在しないスジ画像の発生を精度よく検出することができる。
As described above, in the
また、上記画像処理装置112では、原稿には存在しないスジ画像が連続して原稿の読取画像データに発生している場合に、読取画像データにスジが発生していることを操作者に警告するようになっている。これにより、操作者は、原稿には存在しないスジ画像の原因となる塵や埃を原稿の読取領域から除去し、原稿の読取画像データにおけるスジ画像の発生の問題を解消することができる。
Further, the
なお、スジ発生警告の要否をスジ発生原稿データの連続枚数で判定しているのは、第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
また、スジ発生原稿連続枚数は、画像入力装置111にセットされた一部の原稿(一連の原稿)の読取作業が終了してもリセットされることなく、送受信部/記憶部115に記憶され、次の原稿の読取時にも引き継がれる。これにより、1回の画像入力装置111(ADF)使用時のスジ発生原稿枚数のみに依存せず、読取画像データにおけるスジ画像の発生を操作者に対して早期に警告することができる。
Further, the continuous document generation number of streaks is stored in the transmission / reception unit /
また、画像入力装置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
次に、本発明の実施の形態における画像形成装置のハードウェア構成について説明する。図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
画像処理部910は、CPU901、ROM902、RAM903、画像処理ASIC904、スキャナインタフェース(以下、単にスキャナI/Fと称する)912、HDDインタフェース(以下、単にHDD−I/Fと称する)913、ドライブインタフェース(以下、単にドライブI/Fと称する)914、プリンタインタフェース(以下、単にプリンタI/Fと称する)918、および通信インタフェース(以下、単に通信I/Fと称する)919を有する。
The
CPU901は、コンピュータプログラムを実行することにより、画像処理部910の各部、および画像処理部910に接続される各部を制御する。ROM902は、例えばCPU901が実行するコンピュータプログラムを格納する。
The
CPU901は、また原稿自動判定処理、描画コマンド生成処理、および非表示コンテンツが付加されたイメージの生成処理を行う機能を有していてもよい。
The
RAM903は、画像処理ASIC904、およびCPU901がコンピュータプログラムを実行する場合に処理される画像データを格納する。なお、この画像データは、ROM902に格納されてもよい。
The
画像処理ASIC904は、画像データに対する各種処理を行う。画像処理ASIC904は、例えば、領域分離処理、下地除去処理、色補正処理、黒生成/下色除去処理、空間フィルタ処理、出力階調補正処理、および中間調生成処理の何れか一以上の処理を行うものであってもよい。
The
スキャナI/F912は、スキャナ920から入力される画像データを受け取り、スキャナ920の特性に応じた画像処理を行う。HDD−I/F913は、CPU901の制御に基づいて、HDD930に格納される画像データの入出力を行う。ドライブI/F914は、ドライブ装置940に挿入される可搬性記録媒体941に対するデータの入出力を行う。
The scanner I /
プリンタI/F918は、画像処理部910が処理した画像データを、プリンタ980に出力する際のインタフェースである。通信I/F919は、画像処理部910からネットワーク990を介して他の装置と画像データまたは制御信号を通信する際のインタフェースである。
A printer I / F 918 is an interface for outputting image data processed by the
スキャナ920は、画像が形成されている原稿を光学的に読み取って読取画像データを出力する。スキャナ920が出力する読取画像データは、アナログ信号でも、アナログ信号から変換されたデジタル信号でもよい。
The
HDD930は、画像処理部910が処理する画像データを格納する。HDD930は、例えばスキャナ920から入力される画像データ、通信I/F919から入力される画像データ、並びにCPU901および画像処理ASIC904の処理により生成される中間画像データを格納する。ドライブ装置940は、可搬性記録媒体941が挿入されることにより、可搬性記録媒体941に対するデータの書き込みおよび読み出しを行う。可搬性記録媒体941には、例えばCPU901が実行するコンピュータプログラムが格納される。
The
プリンタ980は、画像処理部910により処理された画像データを、用紙等の媒体上に形成して出力する。
The
画像形成装置の各ブロック、特に画像処理装置112は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。
Each block of the image forming apparatus, in particular, the
すなわち、画像処理装置112は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである画像処理装置112の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記画像処理装置112に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。
That is, the
上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクや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
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 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
129 Line
203 Rising / falling edge detection unit (edge pixel detection unit)
204 streak
206 Edge Pixel Counting Unit (Edge Pixel Counting Unit)
207 Solid
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.
前記画像処理装置は、原稿の裏面の読取画像データについてのスジ画像の検知を行うことを特徴とする請求項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.
前記スジ検知処理は、
原稿から読み取られた読取画像データに設定された判定領域について、この判定領域に含まれるエッジ画素を検出し、かつ検出したエッジ画素について、画素の濃度が原稿の読み取りにおける主走査方向に向かって高くなる立ち上りエッジ画素か、画素の濃度が原稿の読み取りにおける主走査方向に向かって低くなる立ち下りエッジ画素かを判定するエッジ画素検出工程と、
前記判定領域の各画素を注目画素とし、その注目画素を中心して主走査方向および副走査方向に複数画素を含むブロックを設定し、前記注目画素がエッジ画素である第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.
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)
| 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 |
-
2011
- 2011-06-23 JP JP2011139894A patent/JP2013009116A/en not_active Withdrawn
Cited By (5)
| 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 |