JP4873733B2 - Document color / monochrome determination method, image reading apparatus, image forming apparatus, and image transmitting apparatus - Google Patents
Document color / monochrome determination method, image reading apparatus, image forming apparatus, and image transmitting apparatus Download PDFInfo
- Publication number
- JP4873733B2 JP4873733B2 JP2007150780A JP2007150780A JP4873733B2 JP 4873733 B2 JP4873733 B2 JP 4873733B2 JP 2007150780 A JP2007150780 A JP 2007150780A JP 2007150780 A JP2007150780 A JP 2007150780A JP 4873733 B2 JP4873733 B2 JP 4873733B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- color
- scanning direction
- reading
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、原稿のカラー/白黒判定方法及び画像読取装置、画像形成装置、画像送信装置に関する。即ち、読み取る原稿のカラー/白黒判定方法と、該機能を有する画像読取装置並びにこれを備えた画像形成装置、画像送信装置に関するものである。 The present invention relates to an original color / monochrome determination method, an image reading apparatus, an image forming apparatus , and an image transmission apparatus . That is, the present invention relates to a color / monochrome determination method for an original to be read, an image reading apparatus having the function, an image forming apparatus including the same , and an image transmission apparatus .
従来のカラー複合機においては、原稿の読み取り作業においてカラー原稿か白黒原稿かの自動判定を行い、その判定結果に、記録動作や画像データ送信動作を制御するカラー複合機がある。また、ユーザが原稿読み取りモード切り替えを選択し、カラー、白黒でのコピー作業やデータ送信作業を行うカラー複合機もある。 In a conventional color multifunction peripheral, there is a color multifunction peripheral that automatically determines whether it is a color original or a black and white original in a document reading operation, and controls the recording operation and image data transmission operation based on the determination result. There is also a color multi-function peripheral in which the user selects the original reading mode switching and performs color and black-and-white copy operations and data transmission operations.
上記カラー原稿か白黒原稿かの自動判定機能である、"AUTO COLOR SELECT(以下ACSと称す)"については、種々の判定方法が提案されている。 Various determination methods have been proposed for "AUTO COLOR SELECT (hereinafter referred to as ACS)", which is an automatic determination function for whether a color document or a monochrome document.
特許文献1には、まず画素単位にカラー/白黒を判定し、次にあるブロック内のカラー画素の数からブロックのカラー/白黒を判定し、カラーと判定されたブロックの数によって原稿がカラーか白黒かを判定するACSが開示されている。 In Patent Document 1, first, color / monochrome is determined for each pixel, then the color / monochrome of the block is determined from the number of color pixels in a certain block, and whether the document is color based on the number of blocks determined to be color. An ACS for determining whether it is black and white is disclosed.
特許文献2には、各画素のRGBデータのそれぞれの差分が各閾値より大きい画素数をカウントして、かかるカウント値がカウント閾値を越える場合にカラー原稿と判定する方法が開示されている。 Patent Document 2 discloses a method of counting the number of pixels in which the difference between the RGB data of each pixel is larger than each threshold value, and determining that the original is a color document when the count value exceeds the count threshold value.
また、引用文献3では、画像の下地がカラーか白黒かを判断する回路として、下地画像領域中のカラー画素の割合を閾値と比較して、カラー下地であるか否かを判定している。 In Cited Document 3, as a circuit for determining whether the background of the image is color or black and white, the ratio of the color pixels in the background image area is compared with a threshold value to determine whether the background is a color background.
また、引用文献4では、各画素のRGBの最大値と最小値との差が、ある経験的な範囲内にある場合にカラー画素と判定し、かかるカラー画素が複数存在する場合にカラー原稿と判定する。 Further, in the cited document 4, when the difference between the maximum and minimum RGB values of each pixel is within a certain empirical range, it is determined as a color pixel, and when there are a plurality of such color pixels, judge.
更に、引用文献5では、ACS領域を設定し、かかるACS領域内において、RGBデータのうちの最小値を他の2成分の値から減じ、得られた2つの値の差の絶対値を"彩度"として得る。そして、注目画素に対して、ある閾値よりも大きい彩度を有する画素の特定の連続性を確認できた場合のみ、該注目画素はカラー画素を示すと判定する。ACSを行う領域内のかかるカラー画素と判定された画素の総数により原稿のカラー/白黒を判定する。
しかしながら、原稿のACS機能は、画像読取装置と画像処理とで成り立っており、精度の良いACS構成には多大なコストがかかってしまう。例えば、原稿全域をメモリに記憶し、一定以上のカラーピクセルを認識してACSを行う場合には、非常に大きなメモリが必要となる。A4サイズの600dpi・24ビットカラーでは、メモリ容量が100Mバイト近くになってしまう。 However, the ACS function of the document is composed of the image reading apparatus and the image processing, and a highly accurate ACS configuration is very expensive. For example, when the entire area of the original is stored in the memory and the ACS is performed by recognizing a certain color pixel or more, a very large memory is required. With A4 size 600 dpi 24-bit color, the memory capacity becomes nearly 100 Mbytes.
一方、原稿読取装置では、CCDもしくはCISによるライン毎に画情報を読み取る構成が一般的である。特に、CCDで構成された読取装置では、周知のようにRGBの各光センサが離れて実装されているため、原稿上の同一のラインを読んでいるのではなく離れたラインをそれぞれ読み取っている。そのため、自動原稿送り装置(以下ADF)による原稿搬送での移動読み取り、ブック読みによる読取機構の走査読み取りによるRGBの各ラインを合成してカラー画像を形成している。 On the other hand, a document reading apparatus generally has a configuration in which image information is read for each line by CCD or CIS. In particular, in a reading apparatus constituted by a CCD, as is well known, each of the RGB photosensors is mounted separately, so that each reading is performed not on the same line on the document but on the separate lines. . Therefore, a color image is formed by synthesizing each line of RGB by scanning reading of a document transport by an automatic document feeder (hereinafter referred to as ADF) and scanning reading of a reading mechanism by book reading.
この時に、原稿搬送による搬送ムラや走査搬送ムラによりRGBの合成不良(色ズレ)が発生してしまう。特に、黒画素と白画素の境界で発生する。かかる黒画素と白画素の境界で発生する色ズレは、図6の画像の白黒の境界が図7に示すようにカラー細線として表われるので、原稿のカラー/白黒判定の誤動作の原因になる。 At this time, RGB composition failure (color misregistration) occurs due to transport unevenness due to document transport or scanning transport unevenness. In particular, it occurs at the boundary between black and white pixels. Such a color shift occurring at the boundary between the black pixel and the white pixel causes a malfunction in the color / monochrome determination of the document because the monochrome boundary of the image in FIG. 6 appears as a color thin line as shown in FIG.
この原稿搬送ムラを軽減するため、搬送ローラを多く用いて原稿搬送の安定化を図っている。搬送ローラが増えるため当然コストが高くなり、装置の大型化にも影響が出て来てしまう。 In order to reduce this unevenness in document conveyance, a large number of conveyance rollers are used to stabilize document conveyance. Since the number of conveying rollers is increased, the cost is naturally increased and the size of the apparatus is also affected.
原理的にはRGBの光センサが同一ラインを読み取れば、搬送ムラや走査搬送ムラが発生しても色ズレは発生しない。しかし、RGBの光センサは半導体であり同一ラインにて実装することは現状難しいとされている。そこで、RGBの光センサのライン間ピッチ(離れている距離)を短くすることで近いラインをRGBの光センサが読み取ることが可能となる。現状では2ラインピッチのCCDが存在する。配置としては1ラインピッチが限界とされている。 In principle, if the RGB optical sensors read the same line, no color misregistration will occur even if uneven conveyance or uneven scanning conveyance occurs. However, since RGB optical sensors are semiconductors, it is currently difficult to mount them on the same line. Therefore, by shortening the pitch (distance away) between the lines of the RGB photosensors, the RGB photosensors can read near lines. At present, there are CCDs with a two-line pitch. One line pitch is the limit for the arrangement.
しかしながら、光センサのラインピッチによる解決は非常にコストがかかるため、オフィス機向けの高価な装置としては使用されているだけであり、一般的に廉価な装置のCCDでは12ラインピッチのものが主流である。 However, since the solution by the line pitch of the optical sensor is very costly, it is only used as an expensive device for office machines, and generally a CCD with a 12-line pitch is the mainstream in an inexpensive device. It is.
本発明は、オフィスカラー複合機で使用されていたACS機能を、コストを低減して、装置を小型化として廉価機に搭載することを可能とする。それにより、多くのユーザに実用的なACS機能を提供するための、原稿のカラー/白黒判定方法及び画像読取装置、画像形成装置、画像送信装置を提供する。 The present invention makes it possible to reduce the cost of the ACS function that has been used in office color multifunction peripherals and to mount the apparatus in a low-priced machine as a smaller device. Thus, a document color / monochrome determination method, an image reading apparatus, an image forming apparatus , and an image transmitting apparatus are provided to provide a practical ACS function to many users.
かかる課題を解決するために、本発明の画像読取装置は、原稿を供給側から排出側へ向けて搬送中に原稿の画像を読み取る読取モードと、原稿が載置されるプラテンに静止している原稿の画像を読み取る読取モードとを有する画像読取装置であって、彩度を持つ画素が原稿搬送方向と直角方向である主走査方向に連続して現われる数に注目してカラー原稿か白黒原稿かを判定する主走査方向のカラー/白黒判定手段と、彩度を持つ画素が原稿搬送方向と平行方向である副走査方向に連続して現われる数に注目してカラー原稿か白黒原稿かを判定する副走査方向のカラー/白黒判定手段とを有し、前記搬送中に原稿の画像を読み取る読取モードにおいては、前記主走査方向のカラー/白黒判定手段ではなく、前記副走査方向のカラー/白黒判定手段の判定結果に基づいて原稿がカラー原稿か白黒原稿かを判定し、前記静止している原稿の画像を読み取る読取モードにおいては、前記副走査方向のカラー/白黒判定手段又は主走査方向のカラー/白黒判定手段の判定結果に基づいて、原稿がカラー原稿か白黒原稿かを判定し、前記副走査方向のカラー/白黒判定手段は、彩度を持つ画素を主走査方向に第1閾値以上の数だけ連続して持つ画素群を、主走査方向に第2閾値以上の数だけ有する読取ラインを、彩度を有する読取ラインとして検出する第1読取ライン検出手段と、前記第1読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に第3閾値以上の数だけ連続して有する原稿をカラー原稿と判定し、前記第1読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に前記第3閾値未満の数しか連続して有しない原稿を白黒原稿と判定する第1カラー/白黒判定手段とを有し、前記主走査方向のカラー/白黒判定手段は、彩度を持つ画素を主走査方向に第4閾値以上の数だけ連続して持つ画素群を、主走査方向に第5閾値以上の数だけ有する読取ラインを、彩度を有する読取ラインとして検出する第2読取ライン検出手段と、前記第2読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に第6閾値以上の数だけ有する原稿をカラー原稿と判定し、前記第2読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に第6閾値未満の数しか有しない原稿を白黒原稿と判定する第2カラー/白黒判定手段とを有する。
In order to solve such a problem, the image reading apparatus of the present invention is stationary in a reading mode for reading an image of a document while the document is conveyed from the supply side to the discharge side, and a platen on which the document is placed. An image reading apparatus having a reading mode for reading an image of a document, and paying attention to the number of pixels having saturation continuously appearing in a main scanning direction perpendicular to the document transport direction, whether a color document or a monochrome document Focusing on the color / monochrome determination means in the main scanning direction and the number of pixels with saturation appearing continuously in the sub-scanning direction parallel to the document conveying direction and a sub-scanning direction of the color / monochrome judging means, in a reading mode for reading an image of an original in the conveying rather than the main scanning direction of the color / monochrome judging unit, the sub-scanning direction of the color / monochrome determination means of In the reading mode for determining whether the document is a color document or a monochrome document based on the determination result and reading the image of the stationary document, the color / monochrome determination means in the sub-scanning direction or the color / monochrome in the main scanning direction Based on the determination result of the determination means, it is determined whether the original is a color original or a black and white original, and the color / monochrome determination means in the sub-scanning direction has a number of pixels having a saturation equal to or greater than a first threshold in the main scanning direction. First reading line detection means for detecting as a reading line having saturation a reading line having a number of pixels having consecutive pixels in the main scanning direction by a number equal to or greater than a second threshold value is detected by the first reading line detection means. The document having the read line having the saturation in the sub-scanning direction by the number equal to or greater than the third threshold is determined as a color document, and the saturation detected by the first read line detecting unit is included. Reader A first color / monochrome determination unit that determines a document that has only a number less than the third threshold in the sub-scanning direction as a monochrome document, and the color / monochrome determination unit in the main scanning direction includes: , A reading line having a pixel group continuously having a number of pixels having saturation equal to or greater than the fourth threshold in the main scanning direction is detected as a reading line having saturation. A second reading line detecting means, and a document having the saturation detected by the second reading line detecting means in the sub scanning direction by a number equal to or more than a sixth threshold value is determined as a color original, And a second color / monochrome determination unit that determines a document having the saturation detected by the second scanning line detection unit as a monochrome document for a document having a number less than a sixth threshold in the sub-scanning direction.
ここで、前記第4閾値は50、前記第5閾値は2、前記第6閾値は30である。また、前記彩度を持つ画素は、R,G,Bの3成分の画素値の内の最小値を他の成分の値からそれぞれ減じ、得られたそれぞれの値の差の絶対値が第7閾値よりも大きい画素である。
Here, before Symbol fourth threshold 50, the fifth threshold value is 2, the sixth threshold is 30. In the pixel having the saturation, the minimum value of the pixel values of the three components R, G, and B is subtracted from the values of the other components, and the absolute value of the difference between the obtained values is the seventh value. The pixel is larger than the threshold value.
また、上記画像読取装置を有し、原稿がカラー原稿か白黒原稿かの判定結果に従って画像形成を制御することを特徴とする画像形成装置を提供する。また、上記画像読取装置を有し、原稿がカラー原稿か白黒原稿かの判定結果に従って画像送信を制御することを特徴とする画像送信装置を提供する。 Also provided is an image forming apparatus having the image reading apparatus, wherein image formation is controlled according to a determination result of whether the original is a color original or a black and white original. Also provided is an image transmission device comprising the image reading device, wherein image transmission is controlled according to a determination result of whether the document is a color document or a monochrome document .
本発明により、オフィスカラー複合機で使用されていたACS機能を、コストを低減して、装置を小型化として廉価機に搭載することを可能とした。そのため、多くのユーザに実用的なACS機能を提供するための、原稿のカラー/白黒判定方法及び画像読取装置、画像形成装置、画像送信装置を提供できる。 According to the present invention, the ACS function used in the office color multi-function machine can be reduced in cost, and can be mounted on a low-priced machine with a reduced size. Therefore, it is possible to provide a document color / monochrome determination method, an image reading apparatus, an image forming apparatus , and an image transmitting apparatus for providing a practical ACS function to many users.
以下、添付図面を参照して、本発明の実施形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
<本実施形態の画像読取装置の構成例>
本発明に係る実施形態として、コピー及びプリンタ機能、ファクシミリ機能を備えた複合機に適用した例を、図面を参照して具体的に説明する。説明の順序として、以下の順に説明する。
(1)画像読取装置の全体構成(図1,図2A)、
(2)ACSの構成(図2B〜図3B)
なお、以下の実施形態ではカラー複合機を例に説明するが、本発明は画像読取にかかる技術でありカラー複合機に限定されず、画像読取を行なう機器に適用が可能であり、これらも本発明に含まれる。また、本実施形態では、文字を構成する細線から原稿のカラー/白黒を判定する例を示すが、これは一例であって限定される必要はない。本発明は、原稿の搬送時に発生する搬送ムラのACSにおける影響を無くす、しかも廉価な構成を提供するものであればよい。
<Example of Configuration of Image Reading Apparatus of Present Embodiment>
As an embodiment according to the present invention, an example applied to a multifunction machine having a copy and printer function and a facsimile function will be specifically described with reference to the drawings. The description will be given in the following order.
(1) Overall configuration of image reading apparatus (FIGS. 1 and 2A),
(2) Configuration of ACS (FIGS. 2B to 3B)
In the following embodiments, a color multi-function peripheral will be described as an example. However, the present invention is a technology related to image reading, and is not limited to a color multi-function peripheral, and can be applied to a device that performs image reading. Included in the invention. Further, in the present embodiment, an example of determining the color / monochrome of a document from a thin line constituting a character is shown, but this is an example and it is not necessary to be limited. The present invention only needs to provide a low-cost configuration that eliminates the influence of conveyance unevenness that occurs during conveyance of a document on the ACS.
(1)画像読取装置の全体構成例
図1は、複合機中の画像読取装置の要部の断面図である。
(1) Example of Overall Configuration of Image Reading Apparatus FIG. 1 is a cross-sectional view of a main part of an image reading apparatus in a multifunction peripheral.
本実施形態による画像読取装置は、自動原稿送り装置(以下、ADFと呼ぶ)100と、リーダ部200とを有している。ADF100は、複数枚の原稿を1枚ずつ供給側から排出側へ向けて自動で搬送する。リーダ部200は、ADF100により搬送される原稿の表面を読み取る画像読取手段を有し、ブックタイプの原稿の読み取り(原稿をプラテンガラス上に固定した(静止させた)読取)にも可能である。 The image reading apparatus according to the present embodiment includes an automatic document feeder (hereinafter referred to as ADF) 100 and a reader unit 200. The ADF 100 automatically conveys a plurality of documents one by one from the supply side to the discharge side. The reader unit 200 includes an image reading unit that reads the surface of a document conveyed by the ADF 100, and is also capable of reading a book-type document (reading the document fixed on a platen glass (stationary)).
(ADF100の構成例)
本例では、ADF100は、図1に示すように、供給側から排出側へと向かうUターン型の原稿の搬送経路を有している。この搬送経路は、上側搬送経路と下側搬送経路からなっている。
(Configuration example of ADF100)
In this example, the ADF 100 has a U-turn type document transport path from the supply side to the discharge side, as shown in FIG. This transport path is composed of an upper transport path and a lower transport path.
ADF100は、原稿トレイ20に載置される原稿束Sから原稿をピックアップするピックアップローラ1と、ピックアップローラ1よりも搬送経路下流側に配置される分離ローラ2a及び分離パッド2bを有している。 The ADF 100 includes a pickup roller 1 that picks up a document from a document bundle S placed on the document tray 20, and a separation roller 2 a and a separation pad 2 b that are arranged on the downstream side of the conveyance path from the pickup roller 1.
そして、ピックアップローラ1によりピックアップされた原稿を1枚ずつ搬送経路へと導く分離部2と、分離部2よりも搬送経路下流側に搬送経路に沿って配置され、搬送ローラ3と、搬送ローラ5とを有している。本実施形態では搬送ローラを2つ設けたが、1つであっても構わない。
A separation unit 2 that guides the documents picked up by the pickup roller 1 to the conveyance path one by one, and is disposed along the conveyance path downstream of the separation unit 2 along the conveyance path. The conveyance roller 3 and the
次に、搬送ローラ5よりも搬送経路下流側に配置され原稿の通過を検知する原稿端センサ(以下DES)12と、読取位置R1よりも搬送経路下流側に配置され原稿を搬送経路に沿って搬送する搬送ローラ6、7が搬送経路に沿って配置される。また、搬送ローラ6、7よりも搬送経路下流側に配置され搬送経路から原稿を排出する排出ローラ8と、排出ローラ8により排出される原稿を載置する排出トレイ21とを有している。本実施形態では、読取位置R1よりも搬送経路下流側に搬送ローラを2つと排出ローラを設けたが、排出ローラ8のみであっても構わない。なお、搬送ローラ6、7と排出ローラ8の間の読取位置R2のCIS読取部30は、裏面読取用のCISであるが、本発明の主要部分ではないので詳細な説明はしない。
Next, a document edge sensor (hereinafter referred to as DES) 12 that is arranged on the downstream side of the conveyance path with respect to the
(リーダ部200の構成例)
次に、リーダ部200は、ADF100にて搬送される搬送中の原稿を読み取る際に用いるADF用プラテンガラス201と、ブックタイプの原稿を載置可能な原稿載置台としてのブック用プラテンガラス202とを有している。そして、このブック用プラテンガラス202の下方に、原稿を照射するランプ203と、原稿からの反射光を所定の光学経路に導くミラー204とを一体的に有するスキャナユニット209がある。そして、ミラー204により導かれる反射光を所定の光学経路に導くミラー205aとミラー205bを一体的に有するミラーユニット205、及びレンズ207がある。更に、ミラー204,ミラーユニット205、及びレンズ207により原稿からの反射光が導かれ光学像を得るCCDセンサ208を有する。このような構成により、原稿に記録された画像情報を光学的に読み取り、光電変換して画像データを得る。
(Configuration example of reader unit 200)
Next, the reader unit 200 includes an ADF platen glass 201 used when reading a document being conveyed conveyed by the ADF 100, and a
ここで、スキャナユニット209は、ブック用プラテンガラス202上に載置される原稿の画像を読み取り可能なように、ブック用プラテンガラス202の下方において所定の画像読み取り範囲を往復動可能である。この様に、ブック用プラテンガラス202上に静止している原稿を読み取る動作を原稿固定読みと称す。
Here, the scanner unit 209 can reciprocate a predetermined image reading range below the
また、スキャナユニット209は、図1に示すように、ADF100における搬送ローラ5よりも搬送経路下流側で且つ搬送ローラ6よりも搬送経路上流側に設定される読取位置R1直下へと移動可能なように配置されている。この読取位置R1直下へと移動することにより、読取位置R1を通過する際の原稿の画像読み取りが可能となっている。この様に移動中の原稿を読み取る動作を原稿流し読みと称す。
Further, as shown in FIG. 1, the scanner unit 209 can move to a position immediately below the reading position R <b> 1 set on the downstream side of the
また、ミラーユニット205も、スキャナユニット209と同様に、ブック用プラテンガラス202の下方において所定の範囲を往復動可能に配置されている。
Similarly to the scanner unit 209, the mirror unit 205 is also arranged so as to be able to reciprocate within a predetermined range below the
これらスキャナユニット209及びミラーユニット205は、移動露光走査光学系を構成している。この時、ミラーユニット205の移動速度は、スキャナユニット209の移動速度を例えばVとすると、この移動速度Vの半分である1/2Vとなるようワイヤ及びプーリ等の機構を用いて設定されている。このようにすることによって、原稿の読み取り面からCCDセンサ208までの光路長を一定に保ちながら、原稿画像の読み取り動作を行うことができる。 These scanner unit 209 and mirror unit 205 constitute a moving exposure scanning optical system. At this time, when the moving speed of the scanner unit 209 is V, for example, the moving speed of the mirror unit 205 is set using a mechanism such as a wire and a pulley so as to be 1/2 V that is half of the moving speed V. . By doing so, it is possible to perform an original image reading operation while keeping the optical path length from the original reading surface to the CCD sensor 208 constant.
本実施形態では、CCDセンサを使用したがコンタクトイメージセンサ(以下CIS)とすることもできる。また、CCDセンサを使用した一体型の縮小光学系でも構わない。本例では、CCDは廉価品を使用し、図示しないがRGBのライン間隔は12ラインピッチのものを用いている。 In this embodiment, a CCD sensor is used, but a contact image sensor (hereinafter CIS) may be used. An integrated reduction optical system using a CCD sensor may be used. In this example, a low-priced CCD is used, and although not shown, the RGB line spacing is 12-pitch pitch.
また、この画像読取装置は、この画像読取装置において原稿から読み取った画像情報に基づく画像を、不図示の記録シートに記録する画像形成手段300の上部に画像形成手段300と通信可能に接続・載置されている。そして、必要に応じて画像形成装置すなわち複写機として使用することができる。ここで、画像形成手段300としては、熱転写方式、レーザ露光方式、インクジェット方式等によるものが利用可能である。かかる画像形成手段300については、本発明の主要部分ではないので詳説しない。 Further, the image reading apparatus is connected to and mounted on the upper part of the image forming means 300 for recording an image based on image information read from the original by the image reading apparatus on a recording sheet (not shown) so as to be communicable with the image forming means 300. Is placed. If necessary, it can be used as an image forming apparatus, that is, a copying machine. Here, as the image forming unit 300, a thermal transfer method, a laser exposure method, an ink jet method, or the like can be used. The image forming unit 300 will not be described in detail because it is not a main part of the present invention.
次に、本例の画像読取装置の動作について説明する。 Next, the operation of the image reading apparatus of this example will be described.
図1において、自動原稿送り装置であるADF100は、原稿トレイ20上に原稿表面を上に向けてセットされた原稿束Sから、ピックアップローラ1により、最上位の原稿から順に分離部2へと繰り出される。具体的に、分離部2は、ピックアップローラ1より供給される原稿の上面に接触する分離ローラ2aと、この分離ローラ2aに下方から原稿を押し当てるよう圧接している分離パッド2bとから構成されている。この構成により、原稿束Sからピックアップされる原稿の最上位の原稿から一枚ずつ分離を行う。 In FIG. 1, an ADF 100, which is an automatic document feeder, is fed from a document bundle S set on a document tray 20 with the document surface facing upward to a separation unit 2 by a pickup roller 1 in order from the top document. It is. Specifically, the separation unit 2 includes a separation roller 2a that comes into contact with the upper surface of the document supplied from the pickup roller 1, and a separation pad 2b that presses against the separation roller 2a so as to press the document from below. ing. With this configuration, the originals picked up from the original bundle S are separated one by one from the uppermost original.
そして、原稿の画像を読み取る場合、分離部2にて原稿束Sから分離された原稿は、搬送ローラ3を通過し、搬送ローラ5、搬送ローラ6へと受け渡されながら搬送され、読取位置R1を搬送されている間に原稿の画像が読み取られる。そして、搬送ローラ7から排出ローラ8により、排出トレイ21上に順番に排出される。
When reading the image of the document, the document separated from the document bundle S by the separation unit 2 passes through the transport roller 3 and is transported while being transferred to the
リーダ部200において、ADF100で搬送されている原稿が読取位置R1を通過する時に原稿表面の画像を読み取る場合は、次のように動作する。リーダ部200のスキャナユニット209をADF用プラテンガラス201直下に移動させ、原稿が読取位置R1上を搬送されている間にスキャナユニット209により画像情報を読み取る。 When the reader unit 200 reads an image on the surface of the document when the document conveyed by the ADF 100 passes the reading position R1, the following operation is performed. The scanner unit 209 of the reader unit 200 is moved directly below the ADF platen glass 201, and image information is read by the scanner unit 209 while the document is being conveyed on the reading position R1.
また、ブック用プラテンガラス202上に載置された原稿の画像を読み取る場合は、次のように動作する。スキャナユニット209をブック用プラテンガラス202の下方に設定されている所定位置としての、不図示の原稿セット基準から所定の方向に移動させ、画像情報を読み取る。
Further, when reading an image of an original placed on the
スキャナユニット209における原稿の画像読み取りの際、まずランプ203が点灯し原稿を照射する。そして、原稿表面からの反射光が、ミラー204,ミラーユニット205及びレンズ207を介してCCDセンサ208に入力される。そして、CCDセンサ208に入力された原稿の反射光は、ここで光電変換等の電気処理が行われ、通常のデジタル処理が施され、原稿の画像情報を得る。 When an image of a document is read by the scanner unit 209, the lamp 203 is first turned on to irradiate the document. Then, the reflected light from the document surface is input to the CCD sensor 208 via the mirror 204, the mirror unit 205 and the lens 207. Then, the reflected light of the document input to the CCD sensor 208 is subjected to electrical processing such as photoelectric conversion and is subjected to normal digital processing to obtain image information of the document.
(画像読取装置の制御部の構成例)
図2Aは、図1の画像読取装置を制御する構成例を示すブロック図である。
(Configuration example of control unit of image reading apparatus)
FIG. 2A is a block diagram illustrating a configuration example for controlling the image reading apparatus in FIG. 1.
図2Aで400は、画像読取装置であるスキャナ全体を制御するスキャナ制御部である。スキャナ制御部400は、演算制御用のCPU410、固定プログラムやデータを格納するROM420、CPU410の動作時にワークメモリとして使用されるRAM430、プログラム及びパラメータ保存用のディスクなどの外部記憶部440を有する。
In FIG. 2A,
スキャナ制御部400は、CPU410の処理手順に従って(以下の図3A及び図3B参照)、画像読取装置の各部を制御する。
The
スキャナ制御部400は、ADF100を使用する場合は、各センサ404からの信号を認識して、ADF制御部405により図1に示した各メカニズムを制御し、原稿を搬送する。同時に、各センサ404からの信号を認識して、照明・操作制御部406を介して原稿読取動作を制御する。
When the ADF 100 is used, the
光電変換素子(CCDなど)401で読み取られたアナログデータは、アナログ補正&シェーディング補正部402で補正され、画像処理部403でデジタルデータ(RGB)として出力される。かかるデジタルデータ(RGB)は、本複合機がコピー機として機能する場合は画像形成手段300へ、ファクシミリとして機能する場合は不図示の通信制御部へ送られる。
Analog data read by a photoelectric conversion element (CCD or the like) 401 is corrected by an analog correction &
また、デジタルデータ(RGB)は、本実施形態のACS部118に送られて、原稿がカラーか白黒かが判定され、判定結果は次の処理のため、デジタルデータ(RGB)と共に出力される。
Also, the digital data (RGB) is sent to the
(2)ACS部118の構成例
ACSは、原稿画像がカラーであるか白黒であるかを判断する。従って、画素毎の彩度を求め、ある閾値以上の画素がどれだけ存在するかによって、カラー判定を行えば良い。しかしながら、例えば白黒原稿であっても、MTF等の諸処理の影響によって、ミクロ的に見るとエッジ周辺にカラー画素が多数存在するため、単純に画素単位でACS判定を行うことは一般に困難である。このため、ACS手法として、従来技術で紹介したような様々な方法が提供されている。
(2) Configuration Example of
以下、本実施形態での、ADFモードによる原稿搬送による搬送ムラの影響を受けない、廉価で安定したACS方法の説明を行う。 Hereinafter, an inexpensive and stable ACS method that is not affected by the unevenness of conveyance due to document conveyance in the ADF mode according to the present embodiment will be described.
図2Bは、ACS部118の詳細な構成例を示すブロック図である。
FIG. 2B is a block diagram illustrating a detailed configuration example of the
ACS部118は、図2Aのように、スキャナ制御部400によって制御される。
The
上述したように、白黒画像でもミクロ的に見ればカラー画素が多数存在するわけであるから、カラー画素の連続性をカウントして判定する。 As described above, since even a black and white image has a large number of color pixels when viewed microscopically, determination is made by counting the continuity of the color pixels.
図2Bで、1403は色判定部である。色判定部1403は、色判定するACS領域を決める4つのアドレスを格納するレジスタ1407〜1410に従って領域検出回路1402で生成されたACS領域信号1405を、イネーブル信号とする。なお、ACS領域とは、原稿の色判定(ACS)が行われる対象領域である。そして、ACS領域内の注目画素に対してフィルタ1401内に保持された周辺画素を参照することによって、該注目画素がカラー画素であるか白黒画素であるかを判定し、色判定信号1406を出力する。
In FIG. 2B,
具体的には、ACS領域信号1405で示されるACS領域について、まずDATA−R,DATA−G,DATA−Bのうちの最小値を他の2成分の値から減じ、得られた2つの値の差の絶対値を"彩度"として得る。ここでDATA−R,DATA−G,DATA−Bとは、それぞれ注目画素のレッド成分、グリーン成分、ブルー成分のデータである。そして、注目画素に対して、ある閾値よりも大きい彩度を有する画素の特定の連続性を確認できた場合のみに、該注目画素はカラー画素を示すとして色判定信号1406を出力する。この作業は、ACS画像処理を極力少なくする為、ライン毎に判定処理をしている。
Specifically, for the ACS region indicated by the
1404はカウンタであり、色判定部1403から出力された色判定信号1406をカウントする。そして、該カウント結果が、ACS判定信号1411として、スキャナ制御部400に送られる。
色判定部1403の設定信号1403aは、2つの信号を含む。1つは、以下に詳説する、「横細線判定」の場合のカラー画素の連続数の閾値、「縦細線判定」の場合のカラー画素の連続数の閾値を、色判定部1403に設定する信号である(図2Cの440bや440e参照)。もう1つは、各画素がカラーか白黒かを判定するための画素判定用域値である(図2Cの440a参照)。
The
なお、本実施形態では、最終的な原稿のカラー/白黒の判定は、各ラインのACS判定信号1411に基づいて、スキャナ制御部400のソフトウエアで各ラインの判定及び原稿の判定を行なう構成を示す。しかしながら、これらをハードウエアで構成してもよく、またACS部118をソフトウエアで実現することも可能である。処理速度や費用、小型化、変更の融通性などに基づいて選択されればよい。
In the present embodiment, the final color / monochrome determination of the document is configured such that the software of the
図2Cは、図2Aのスキャナ制御部400のRAM430及び外部記憶部440のACSに関する構成例を示す図である。
FIG. 2C is a diagram illustrating a configuration example regarding the ACS of the
図2Cで、RAM430には、以下の記憶領域が確保される。430aは、画像読取装置がADFモードで原稿を読み取るか、ブック読取モードで原稿を読み取るかのモードフラグである。かかるフラグは、ADFへの原稿設置のセンスや、プラテン上の原稿チェックに基づいて、あるいはオペレータの設定に従って設定される。
In FIG. 2C, the following storage areas are secured in the
430bは、現在は横細線判定を行なっていることを示す横細線判定フラグ、および横細線判定による原稿がカラーか白黒かの判定結果である。430cは、現在は縦細線判定を行なっていることを示す縦細線判定フラグ、および縦細線判定による原稿がカラーか白黒かの判定結果である。
430dは、ACS部118のカウンタ1404からACS判定信号1411として送られてきた、主走査方向の1ライン内のカラー画素群のカウント数を記憶する領域である。430eは、カラーラインの判定されたラインの副走査方向のカウント数を記憶する領域である。
430fは、ACS部118の領域検出回路1402のACS領域信号1405を生成するための色判定領域情報であり、レジスタ1407〜1410に設定されるデータである。
430f is color determination area information for generating the
430g、430hは、画像読取装置の画像読取動作を制御するための、各種センサ情報を記憶し、画像読取制御信号を出力するための記憶領域である。
更に、430iは、CPU410が実行するコンピュータプログラムを外部記憶部440からロードするプログラムロード領域である。
Further,
図3Cで、外部記憶部440には、以下のプログラム及びパラメータが格納されている。
In FIG. 3C, the
440aは、各画素のカラーか白黒かを判定するための画素判定用閾値であり、図2Bの色判定部1403に設定されて判定基準となる。
440b〜440dは、カラーの横細線を判定する横細線判定用パラメータである。その中で、440bは、主走査方向のカラー領域と判定するための、主走査方向に連続するカラー画素の数の閾値である。440cは、主走査方向の1ラインがカラーか否かを判定するための、主走査方向のカラー領域の数の閾値である。440dは、原稿がカラーか白黒かを判定するための、副走査方向のカラーと判定されたライン数の閾値である。かかる閾値の具体例は以下に示す。
440e〜440gは、カラーの縦細線を判定する縦細線判定用パラメータである。その中で、440eは、主走査方向のカラー領域と判定するための、主走査方向に連続するカラー画素の数の閾値である。440fは、主走査方向の1ラインがカラーか否かを判定するための、主走査方向のカラー領域の数の閾値である。440gは、原稿がカラーか白黒かを判定するための、副走査方向のカラーと判定された連続するライン数の閾値である。かかる閾値の具体例は以下に示す。
440hは、430fと同様の、ACS部118の領域検出回路1402のACS領域信号1405を生成するための色判定領域情報であり、レジスタ1407〜1410に設定されるデータである。
Similar to 430f, 440h is color determination area information for generating the
本例に密接なプログラムとしては、次のようなプログラムが準備される。440iは、画像読取装置の全体を制御するための画像読取制御プログラムである。440jは、図2Aの画像処理部403を制御する画像処理制御プログラムである。440kは、図2AのADF制御部405を介してADFを制御するためのADF制御プログラムである。440mは、本実施形態の特徴であるACS処理を実行するためのACS処理プログラムである。
The following program is prepared as a program closely related to this example.
<本実施形態の画像読取装置の動作例>
図3Aは、本実施形態の画像読取装置の全体の処理手順の概略を示したフローチャートである。
<Operation Example of Image Reading Apparatus of this Embodiment>
FIG. 3A is a flowchart showing an outline of the entire processing procedure of the image reading apparatus of the present embodiment.
まず、ステップS31で、スタートキーが押下されたか否かを判定する。スタートキーが押下されなければ待機する。スタートキーが押下されると、ステップS32で、ADFによる原稿搬送か否かが判定される。ADFによる原稿搬送であれば、ステップS33に進んで、ACS部118に対して縦細線判定の条件が設定される。例えば、本例では、色判定部1403に主走査方向に連続するカラー画素数の域値を設定する。ADFによる原稿搬送でなければ、ステップS34に進んで、ACS部118に対して横細線あるいは縦細線判定の条件が設定される。即ち、原稿流し読みか原稿固定読みかに応じてACSにおける判定基準を切り替えることができる。かかる選択は、オペレータが行なってもよい。ステップS33同様に、本例では、色判定部1403に主走査方向に連続するカラー画素数の域値を設定する。ステップS35で、ADFによる原稿搬送か否かに従って、原稿の読取が行われる。
First, in step S31, it is determined whether or not the start key has been pressed. If the start key is not pressed, it waits. When the start key is pressed, it is determined in step S32 whether or not the document is conveyed by ADF. If the document is transported by ADF, the process proceeds to step S 33, and the vertical thin line determination condition is set for the
次に、ステップS36で、本実施形態のACS部118を使用したカラー/白黒判定処理が実施される。なお、ステップS36の詳細は、以下に図3Bに従って説明する。
Next, in step S36, color / monochrome determination processing using the
ステップS36のカラー/白黒判定処理が終わると、ステップS37で原稿がカラーか白黒かの判定結果により分岐し、カラーであればステップS38に進んで、コピー機能が選択されていればカラー記録を画像形成手段300に指示する。一方、白黒であればステップS39に進んで、コピー機能が選択されていれば白黒記録を画像形成手段300に指示する。 When the color / monochrome determination process in step S36 is completed, the process branches in step S37 depending on whether the document is color or black and white. If color, the process proceeds to step S38. If the copy function is selected, color recording is performed on the image. The forming unit 300 is instructed. On the other hand, if it is monochrome, the process proceeds to step S39, and if the copy function is selected, monochrome recording is instructed to the image forming means 300.
(カラー/白黒判定処理例)
まず、図4及び図5を参照して、本実施形態における、横細線による判定の条件と、縦細線による判定の条件との具体的を説明する。
(Example of color / monochrome determination processing)
First, with reference to FIG.4 and FIG.5, the specifics of the determination conditions by a horizontal thin line and the determination conditions by a vertical thin line in this embodiment are demonstrated.
図4に、ACSによる横細線判定でカラー原稿と判定される例、図5にACSによる縦細線判定でカラー原稿と判定される例を示す。図4及び図5の破線矢印は主走査方向を示し、実線矢印は副走査方向を示し、各1マス毎に記載されている黒、カラーは画素を示している。黒は白であっても構わない。 FIG. 4 shows an example in which a color original is determined by horizontal fine line determination by ACS, and FIG. 5 shows an example in which a color original is determined by vertical thin line determination by ACS. The broken line arrows in FIGS. 4 and 5 indicate the main scanning direction, the solid line arrows indicate the sub-scanning direction, and black and color described for each square indicate pixels. Black may be white.
図4の例においては、横細線を検出するため、主走査方向へのカラー画素の連続性を定義しており、本実施形態では図中解り易くするため5画素としている。
ACSの第1段階:まず、主走査方向にカラー画素の連続する塊をn1個検出する。
ACSの第2段階:n1個の塊を有するラインを副走査方向にn2個カウントする。但し、副走査方向の連続性は無くてよい。
In the example of FIG. 4, the continuity of color pixels in the main scanning direction is defined in order to detect a horizontal thin line, and in this embodiment, five pixels are used for easy understanding in the drawing.
First stage of ACS: First, n1 continuous clusters of color pixels are detected in the main scanning direction.
Second stage of ACS: n2 lines having n1 chunks are counted in the sub-scanning direction. However, there is no need for continuity in the sub-scanning direction.
上記n2個が一定数以上であれば、カラー判定とする。当然ながら一定数未満であれば、白黒判定とする。こうすることで、横細線を検出することが可能となる。 If n2 is a certain number or more, color determination is made. Of course, if it is less than a certain number, it is determined as black and white. By doing so, it becomes possible to detect a horizontal thin line.
一方、図5においては、縦細線を検出するため、主走査方向へのカラー画素の連続性を定義し、かつ副走査方向へのカラーラインの連続性を定義している。本実施形態では、図中解り易くするため主走査方向の連続を5画素としている。
ACSの第1段階:まず、主走査方向に上記カラー画素の塊をm1個検出する。
ACSの第2段階:m1個の塊を有するラインが、副走査方向にm2ライン連続するのをカウントする。
On the other hand, in FIG. 5, in order to detect vertical thin lines, the continuity of color pixels in the main scanning direction is defined, and the continuity of color lines in the sub-scanning direction is defined. In this embodiment, the continuous in the main scanning direction is set to 5 pixels for easy understanding in the drawing.
First stage of ACS: First, m1 color pixel clusters are detected in the main scanning direction.
Second stage of ACS: It is counted that m2 lines continue in the sub-scanning direction.
上記m2のライン数が一定数以上であればカラー判定とする。当然ながら一定数未満であれば、白黒判定とする。こうすることで、縦細線を検出することが可能となる。 If the number of lines m2 is equal to or greater than a certain number, color determination is made. Of course, if it is less than a certain number, it is determined as black and white. By doing so, it becomes possible to detect vertical thin lines.
かかる条件を、10ポイントの明朝体の文字、アルファベット、かな文字を対象に判定する具体例を以下に示する。 A specific example in which such a condition is determined for 10-point Mincho characters, alphabets, and kana characters is shown below.
10ポイントでの文字の横線、縦線は概略以下の寸法となっている。
横線長さ:主走査3.0mm(600dpiで70ピクセル)
横線厚み(高さ):副走査0.15mm(600dpiで4ライン)
縦線幅:主走査0.3mm(600dpiで7ピクセル)
縦線長さ:副走査3.0mm(600dpiで70ライン)
そのため、上記のACSによる横細線判定と、縦細線判定の条件設定は、以下のようにしている。
The horizontal and vertical lines of the character at 10 points are roughly the following dimensions.
Horizontal line length: 3.0mm main scan (70 pixels at 600 dpi)
Horizontal line thickness (height): Sub-scan 0.15 mm (4 lines at 600 dpi)
Vertical line width: Main scan 0.3 mm (7 pixels at 600 dpi)
Vertical line length: Sub-scanning 3.0mm (70 lines at 600 dpi)
For this reason, the setting of conditions for horizontal thin line determination and vertical thin line determination by the ACS is performed as follows.
(ACSによる横細線判定:第1カラー/白黒判定)
(1) 主走査に50ピクセル連続する塊を検出する。
(2) (1)の条件を満足する塊が同一主走査方向に2個以上あることを検出する。
(3) (2)の条件を満足するラインが副走査方向全域に30ライン(非連続で可)以上あることを検出する。
(Horizontal thin line judgment by ACS: 1st color / monochrome judgment)
(1) Detect a block of 50 pixels continuous in the main scan.
(2) Detect that there are two or more clusters satisfying the condition of (1) in the same main scanning direction.
(3) It is detected that there are 30 or more lines (which can be discontinuous) over the entire sub-scanning direction that satisfy the condition (2).
(ACSによる縦細線判定:第2カラー/白黒判定)
(1) 主走査方向に5ピクセル連続する塊を検出する(第1閾値以上)。
(2) (1)の条件を満足する塊が同一主走査方向に2個以上あることを検出する(第2閾値以上)。
(3) (2)の条件を満足するラインが60ライン以上、副走査方向に連続する場合を検出する(第3閾値以上)。
(Vertical fine line judgment by ACS: 2nd color / monochrome judgment)
(1) Detect a cluster of 5 pixels in the main scanning direction (first threshold or more).
(2) It is detected that there are two or more clusters satisfying the condition of (1) in the same main scanning direction (second threshold or more).
(3) A case where 60 lines or more satisfying the condition of (2) continue in the sub-scanning direction is detected (third threshold or more).
このような条件を設定することで、ACSによる横細線判定、縦細線判定どちらでも前述した10ポイントの文字でのカラー/白黒判定が行える。 By setting such conditions, the above-described color / monochrome determination with 10-point characters can be performed in both horizontal thin line determination and vertical thin line determination by ACS.
しかしながら、複合装置として、前述ADF100での原稿Sの搬送においては、読取位置R1を原稿Sが過ぎてから、原稿Sの先端が搬送ローラ6、7、排出ローラ8へと向かう。その時に読取位置R1上にて若干の搬送ムラが生じてしまう。その搬送ムラが生じた状況にて原稿読取中に黒情報と白情報の境界があった場合には、誤判定が生じてしまうことがある。図6が原稿の画像情報とした場合に、図7に示すようにADF読取画像情報では、黒情報の直前、直後にカラー画素が発生してしまう。
However, when the document S is transported by the ADF 100 as a composite apparatus, the leading edge of the document S moves toward the
この時、前述ACSによる横線判定の誤判定に結び付いてしまい、白黒原稿であってもカラー判定してしまう恐れがある。また、搬送ムラによる境界部でのカラー画素の発生は、通常1〜4ライン(600dpiに換算すると0.15mm)程度である。 At this time, the determination of the horizontal line by the ACS is erroneously determined, and there is a risk that even a black and white document is subjected to color determination. In addition, the occurrence of color pixels at the boundary due to uneven conveyance is usually about 1 to 4 lines (0.15 mm when converted to 600 dpi).
そのため原稿流し読み時には、前述のACSによる横線判定では誤判定をしてしまう恐れがあり、本実施形態では原稿流し読み時にはACSによる縦線判定を行うことしている。 Therefore, there is a risk of erroneous determination in the above-described ACS horizontal line determination during document scanning, and in this embodiment, vertical line determination by ACS is performed during document scanning.
こうすることで、ADFに搬送ムラが生じても、副走査方向への連続ラインをカウントするACSによる縦線判定とすることで、正常なカラー判定を行うことが可能となる。そのため、ADFを廉価な構成に出来、装置を小型化にし、CCDも廉価のものを選択出来、画像メモリを少なくすることが出来るため、装置コストを抑えることが実現できる。 In this way, even if conveyance irregularity occurs in the ADF, it is possible to perform normal color determination by performing vertical line determination by ACS that counts continuous lines in the sub-scanning direction. Therefore, the ADF can be made inexpensively, the apparatus can be downsized, the inexpensive CCD can be selected, and the image memory can be reduced, so that the apparatus cost can be suppressed.
(カラー/白黒判定処理の詳細な手順例)
図3Bは、図3AのステップS36のACS部118を使ったカラー/白黒判定処理の詳細な手順例である。
(Detailed procedure example of color / monochrome determination processing)
FIG. 3B is a detailed procedure example of color / monochrome determination processing using the
まず、ステップS361で、横細線によるカラー判定か/縦細線によるカラー判定かで分岐する。図3Aにおいて、ADFによる原稿搬送の場合は、ステップS33で縦細線によるカラー判定が選択されている。 First, in step S361, the process branches depending on whether the color determination is based on the horizontal thin line or the color determination based on the vertical thin line. In FIG. 3A, in the case of document conveyance by ADF, color determination by vertical thin lines is selected in step S33.
ステップS362で副走査方向カラー領域カウント430eをゼロに初期化する。ステップS363では、1ラインのACS部118における処理結果であるカウンタ1404の出力(この場合、主走査方向の5画素以上の塊の個数)が、2以上か否かを判定する。2以上であればステップS364に進んで、副走査方向カラー領域カウント430eを1つカウントアップする。一方、2未満のラインが発生するとステップS365に進んで、副走査方向カラー領域カウント430eをゼロにリセットする。
In step S362, the sub-scanning direction
ステップS366では、副走査方向カラー領域カウント430eのカウント値が60以上か否かが判定される。60以上であればステップS369に進んで、原稿がカラー画像であると判定する。一方、60未満であればステップS367に進んで、副走査方向の判定領域が無くなったかを判断して、まだであればステップS363に戻って次のラインのカラー判定を行なう。副走査方向の判定領域が無くなった場合はステップS368に進んで、原稿が白黒画像であると判定する。
In step S366, it is determined whether or not the count value of the sub-scanning direction
ステップS361の判断で横細線判定である場合には、ステップS370に分岐する。 If the determination in step S361 is horizontal thin line determination, the process branches to step S370.
ステップS370で副走査方向カラー領域カウント430eをゼロに初期化する。ステップS371では、1ラインのACS部118における処理結果であるカウンタ1404の出力(この場合、主走査方向の50画素以上の塊の個数)が、2以上か否かを判定する。2以上であればステップS372に進んで、副走査方向カラー領域カウント430eを1つカウントアップする。一方、2未満であればステップS373に進む。
In step S370, the sub-scanning direction
ステップS373では、副走査方向カラー領域カウント430eのカウント値が30以上か否かが判定される。30以上であればステップS376に進んで、原稿がカラー画像であると判定する。一方、30未満であればステップS374に進んで、副走査方向の判定領域をすべて判定した否かを判断して、まだであればステップS371に戻って次のラインのカラー判定を行なう。副走査方向の判定領域をすべて判定した場合はステップS375に進んで、原稿が白黒画像であると判定する。
In step S373, it is determined whether the count value of the sub-scanning direction
尚、本実施形態では、RGBの色要素に基づいてACSを行なうように説明したが、色要素はYMCであってもあるいはLabであってもよく、本願発明の要旨には影響しない。 In the present embodiment, the ACS is described based on the RGB color elements. However, the color elements may be YMC or Lab, and do not affect the gist of the present invention.
また、本実施形態においてはACS結果として得られるカラーモードに基づいて画像形成を行う例について説明した。しかし、実施形態の最初にも記載した如く、本発明はこの例に限定されるものではない。例えば、リーダ部200で読み込んだ画像データとカラーモード情報とを共に、外部インターフェイスを介して他装置へ出力(画像送信)することももちろん可能である。 In the present embodiment, an example in which image formation is performed based on a color mode obtained as an ACS result has been described. However, as described at the beginning of the embodiment, the present invention is not limited to this example. For example, it is of course possible to output (image transmission) both the image data read by the reader unit 200 and the color mode information to another apparatus via the external interface.
又、本発明は、複数の機器(例えばホストコンピュータ、インターフェース機器、プリンタなど)から構成されるシステムあるいは統合装置に適用しても、ひとつの機器からなる装置に適用してもよい。 In addition, the present invention may be applied to a system or an integrated device composed of a plurality of devices (for example, a host computer, an interface device, a printer, etc.) or an apparatus composed of a single device.
又、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはu CPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。 Another object of the present invention is to supply a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus. Needless to say, this can also be achieved by the computer (or u CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
又、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではない。そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 The functions of the above-described embodiments are not only realized by executing the program code read by the computer. This includes the case where the operating system (OS) running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Needless to say.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行う。このような処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU provided in the function expansion card or function expansion unit performs part or all of the actual processing. It goes without saying that the case where the functions of the above-described embodiments are realized by such processing is also included.
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。 When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.
100 ADF
S 原稿束
1 ピックアップローラ
3、5 搬送ローラ
6、7 搬送ローラ
8 排出ローラ
12 DES
20 原稿トレイ
21 原稿排出トレイ
R1 読取位置
200 リーダ部
201 ADF用プラテンガラス
202 ブック用プラテンガラス
203 ランプ
204、205 ミラー
207 レンズ
208 CCD
209 スキャナユニット
300 画像形成手段
100 ADF
S Document Bundle 1
20
209 Scanner unit 300 Image forming means
Claims (6)
彩度を持つ画素が原稿搬送方向と直角方向である主走査方向に連続して現われる数に注目してカラー原稿か白黒原稿かを判定する主走査方向のカラー/白黒判定手段と、
彩度を持つ画素が原稿搬送方向と平行方向である副走査方向に連続して現われる数に注目してカラー原稿か白黒原稿かを判定する副走査方向のカラー/白黒判定手段と
を有し、
前記搬送中に原稿の画像を読み取る読取モードにおいては、前記主走査方向のカラー/白黒判定手段ではなく、前記副走査方向のカラー/白黒判定手段の判定結果に基づいて原稿がカラー原稿か白黒原稿かを判定し、
前記静止している原稿の画像を読み取る読取モードにおいては、前記副走査方向のカラー/白黒判定手段又は主走査方向のカラー/白黒判定手段の判定結果に基づいて、原稿がカラー原稿か白黒原稿かを判定し、
前記副走査方向のカラー/白黒判定手段は、
彩度を持つ画素を主走査方向に第1閾値以上の数だけ連続して持つ画素群を、主走査方向に第2閾値以上の数だけ有する読取ラインを、彩度を有する読取ラインとして検出する第1読取ライン検出手段と、
前記第1読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に第3閾値以上の数だけ連続して有する原稿をカラー原稿と判定し、前記第1読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に前記第3閾値未満の数しか連続して有しない原稿を白黒原稿と判定する第1カラー/白黒判定手段と
を有し、
前記主走査方向のカラー/白黒判定手段は、
彩度を持つ画素を主走査方向に第4閾値以上の数だけ連続して持つ画素群を、主走査方向に第5閾値以上の数だけ有する読取ラインを、彩度を有する読取ラインとして検出する第2読取ライン検出手段と、
前記第2読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に第6閾値以上の数だけ有する原稿をカラー原稿と判定し、前記第2読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に第6閾値未満の数しか有しない原稿を白黒原稿と判定する第2カラー/白黒判定手段と
を有する
ことを特徴とする画像読取装置。 An image reading apparatus having a reading mode for reading an image of a document while the document is being conveyed from a supply side to a discharge side, and a reading mode for reading an image of a document stationary on a platen on which the document is placed ,
Color / monochrome determination means in the main scanning direction for determining whether a color document or a black and white document is focused on the number of pixels with saturation appearing continuously in the main scanning direction perpendicular to the document transport direction;
Color / monochrome determination means in the sub-scanning direction for judging whether a color document or a black-and-white document is focused on the number of pixels with saturation appearing continuously in the sub-scanning direction parallel to the document transport direction ;
In the reading mode in which the image of the document is read during conveyance, the document is a color document or a monochrome document based on the determination result of the color / monochrome determination unit in the sub-scanning direction, not the color / monochrome determination unit in the main scanning direction. or it is determined,
In the reading mode for reading the image of the stationary document, whether the document is a color document or a monochrome document based on the determination result of the color / monochrome determination unit in the sub-scanning direction or the color / monochrome determination unit in the main scanning direction. Determine
The color / monochrome determination means in the sub-scanning direction is
A reading line having a pixel group continuously having a number equal to or greater than the first threshold in the main scanning direction in the main scanning direction is detected as a reading line having a saturation. First reading line detection means;
A document having continuously the number of reading lines having the saturation detected by the first reading line detecting means equal to or greater than a third threshold in the sub-scanning direction is determined as a color document, and the first reading line detecting means First color / monochrome determination means for determining, as a black and white document, a document having the number of read lines having the saturation detected in step S3 in the sub-scanning direction continuously less than the third threshold value;
Have
The color / monochrome determination means in the main scanning direction is
A reading line having a pixel group continuously having a number of pixels having saturation equal to or greater than the fourth threshold in the main scanning direction is detected as a reading line having saturation. Second reading line detection means;
An original having the number of reading lines having the saturation detected by the second reading line detecting means as a color original in the sub-scanning direction is determined as a color original, and is detected by the second reading line detecting means. Second color / monochrome determination means for determining a document having a number less than a sixth threshold in the sub-scanning direction as a monochrome document for the reading line having the saturation.
Have
An image reading apparatus.
主走査方向のカラー/白黒判定手段が、彩度を持つ画素が原稿搬送方向と直角方向である主走査方向に連続して現われる数に注目してカラー原稿か白黒原稿かを判定する主走査方向のカラー/白黒判定工程と、
副走査方向のカラー/白黒判定手段が、彩度を持つ画素が原稿搬送方向と平行方向である副走査方向に連続して現われる数に注目してカラー原稿か白黒原稿かを判定する副走査方向のカラー/白黒判定工程と
を有し、
前記搬送中に原稿の画像を読み取る読取モードにおいては、前記主走査方向のカラー/白黒判定工程ではなく、前記副走査方向のカラー/白黒判定工程の判定結果に基づいて原稿がカラー原稿か白黒原稿かを判定し、
前記静止している原稿の画像を読み取る読取モードにおいては、前記副走査方向のカラー/白黒判定工程又は主走査方向のカラー/白黒判定工程による判定結果に基づいて、原稿がカラー原稿か白黒原稿かを判定し、
前記副走査方向のカラー/白黒判定工程は、
第1読取ライン検出手段が、彩度を持つ画素を主走査方向に第1閾値以上の数だけ連続して持つ画素群を、主走査方向に第2閾値以上の数だけ有する読取ラインを、彩度を有する読取ラインとして検出する第1読取ライン検出工程と、
第1カラー/白黒判定手段が、前記第1読取ライン検出工程で検出された前記彩度を有する読取ラインを、副走査方向に第3閾値以上の数だけ連続して有する原稿をカラー原稿と判定し、前記第1読取ライン検出工程で検出された前記彩度を有する読取ラインを、副走査方向に前記第3閾値未満の数しか連続して有しない原稿を白黒原稿と判定する第1カラー/白黒判定工程と
を有し、
前記主走査方向のカラー/白黒判定工程は、
第2読取ライン検出手段が、彩度を持つ画素を主走査方向に第4閾値以上の数だけ連続して持つ画素群を、主走査方向に第5閾値以上の数だけ有する読取ラインを彩度を有する読取ラインとして検出する第2読取ライン検出工程と、
第2カラー/白黒判定手段が、前記第2読取ライン検出工程で検出された前記彩度を有する読取ラインを、副走査方向に第6閾値以上の数だけ有する原稿をカラー原稿と判定し、前記第2読取ライン検出手段で検出された前記彩度を有する読取ラインを、副走査方向に第6閾値未満の数しか有しない原稿を白黒原稿と判定する第2カラー/白黒判定工程と
を有する
ことを特徴とする画像読取装置における原稿のカラー/白黒判定方法。 Document reading in an image reading apparatus having a reading mode for reading an image of a document while the document is being conveyed from the supply side to the discharge side, and a reading mode for reading an image of a document stationary on a platen on which the document is placed . A color / monochrome determination method,
The main scanning direction in which the color / monochrome determination means in the main scanning direction determines whether a color document or a black and white document is focused on the number of pixels with saturation appearing continuously in the main scanning direction perpendicular to the document transport direction. Color / black and white judgment process,
The sub-scanning direction determines whether the color / monochrome document in the sub-scanning direction is a color document or a black-and-white document by paying attention to the number of pixels with saturation appearing continuously in the sub-scanning direction parallel to the document transport direction. And a color / black-and-white determination process .
In a reading mode for reading an image of a document during conveyance, the document is a color document or a monochrome document based on the determination result of the color / monochrome determination process in the sub-scanning direction, not the color / monochrome determination process in the main scanning direction. or it is determined,
In the reading mode for reading the image of the stationary document, whether the document is a color document or a monochrome document based on the determination result in the color / monochrome determination process in the sub-scanning direction or the color / monochrome determination process in the main scanning direction. Determine
The color / monochrome determination process in the sub-scanning direction is
The first reading line detection means includes a reading line having a pixel group continuously having a number of pixels having saturation in the main scanning direction by a number equal to or greater than the first threshold in the main scanning direction. A first reading line detection step of detecting as a reading line having a degree;
The first color / monochrome determination unit determines that a document having a number of reading lines having the saturation detected in the first reading line detection step in a number equal to or greater than a third threshold in the sub-scanning direction is a color document. The first color / determining the original having only the number of the read lines having the saturation detected in the first read line detecting step in the sub-scanning direction as the black and white original in the sub-scanning direction. Black and white judgment process
Have
The color / monochrome determination process in the main scanning direction includes
The second reading line detecting means has a saturation of a reading line having a pixel group continuously having a number of pixels having saturation in the main scanning direction by a number equal to or greater than the fourth threshold in the main scanning direction. A second reading line detecting step of detecting as a reading line having:
A second color / monochrome determining unit determines that a document having the number of reading lines having the saturation detected in the second reading line detecting step in the sub-scanning direction is equal to or more than a sixth threshold is a color document; A second color / black-and-white determination step for determining, as a black-and-white document, a document having a saturation line detected by the second scanning line detection means and having a number less than a sixth threshold in the sub-scanning direction;
Have
A color / monochrome determination method for a document in an image reading apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007150780A JP4873733B2 (en) | 2007-06-06 | 2007-06-06 | Document color / monochrome determination method, image reading apparatus, image forming apparatus, and image transmitting apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007150780A JP4873733B2 (en) | 2007-06-06 | 2007-06-06 | Document color / monochrome determination method, image reading apparatus, image forming apparatus, and image transmitting apparatus |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2008306396A JP2008306396A (en) | 2008-12-18 |
JP2008306396A5 JP2008306396A5 (en) | 2010-09-16 |
JP4873733B2 true JP4873733B2 (en) | 2012-02-08 |
Family
ID=40234738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007150780A Active JP4873733B2 (en) | 2007-06-06 | 2007-06-06 | Document color / monochrome determination method, image reading apparatus, image forming apparatus, and image transmitting apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4873733B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6338554B2 (en) | 2015-07-06 | 2018-06-06 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
JP6590991B2 (en) * | 2018-05-09 | 2019-10-16 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and program |
JP2021125805A (en) | 2020-02-05 | 2021-08-30 | キヤノン株式会社 | Image reading device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001119589A (en) * | 1999-10-18 | 2001-04-27 | Canon Inc | Image processing unit and method, and image processing system |
JP3804548B2 (en) * | 2002-02-26 | 2006-08-02 | 富士ゼロックス株式会社 | Image processing device |
JP4541294B2 (en) * | 2005-03-15 | 2010-09-08 | 株式会社リコー | Image processing apparatus and image forming apparatus |
-
2007
- 2007-06-06 JP JP2007150780A patent/JP4873733B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008306396A (en) | 2008-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8422086B2 (en) | Image processing apparatus and method using different scaling methods for scanning | |
JP5194885B2 (en) | Image reading apparatus and image forming apparatus | |
JP4873733B2 (en) | Document color / monochrome determination method, image reading apparatus, image forming apparatus, and image transmitting apparatus | |
US20100277777A1 (en) | Image processing apparatus and image processing method | |
US8654409B2 (en) | Image scanning apparatus and method for correcting scanned image | |
US8755093B2 (en) | Image reading apparatus and computer readable medium | |
JP4412070B2 (en) | Image reading apparatus and image data correction method | |
JPH11355570A (en) | Image reader | |
JP5857485B2 (en) | Image processing apparatus and control method thereof | |
US11196898B2 (en) | Image reading apparatus, method of controlling image reading apparatus, and storage medium | |
EP2141904B1 (en) | Image reading device, image forming apparatus, and image reading method | |
JP4465997B2 (en) | Image reading apparatus, image processing apparatus, and image processing method | |
JP4367079B2 (en) | Image reading device | |
JP2006295404A (en) | Image processing apparatus | |
JP2019057861A (en) | Image reading device | |
JP7423272B2 (en) | Document reading device, control method for document reading device, and program | |
JP4367096B2 (en) | Image reading device | |
JP2008028698A (en) | Image reading apparatus and image reading method | |
US20190342462A1 (en) | Output information generating method of an image reading device, and an image reading device | |
US20190342463A1 (en) | Output image generating method of an image reading device, and an image reading device | |
JP2005123703A (en) | Image reading apparatus | |
JP2023042893A (en) | Image processing apparatus, reading system, image formation system and feature amount detection method | |
JP4354785B2 (en) | Image reading device | |
JP2005094220A (en) | Image scanner, program, and computer-readable recording medium | |
JP2019195134A (en) | Output image generation method for image reading apparatus, and image reading apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100607 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100607 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100802 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110728 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110805 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111003 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111024 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111121 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141202 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4873733 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141202 Year of fee payment: 3 |