JP2014146981A - Image reading device, image forming apparatus, and image reading method - Google Patents

Image reading device, image forming apparatus, and image reading method Download PDF

Info

Publication number
JP2014146981A
JP2014146981A JP2013014591A JP2013014591A JP2014146981A JP 2014146981 A JP2014146981 A JP 2014146981A JP 2013014591 A JP2013014591 A JP 2013014591A JP 2013014591 A JP2013014591 A JP 2013014591A JP 2014146981 A JP2014146981 A JP 2014146981A
Authority
JP
Japan
Prior art keywords
image
white
line
main scanning
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013014591A
Other languages
Japanese (ja)
Other versions
JP5883805B2 (en
Inventor
Kunihiko Tanaka
邦彦 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2013014591A priority Critical patent/JP5883805B2/en
Publication of JP2014146981A publication Critical patent/JP2014146981A/en
Application granted granted Critical
Publication of JP5883805B2 publication Critical patent/JP5883805B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image reading device capable of determining whether or not an input image is a blank image even when the input image includes information continuing in a relatively long span in a single direction.SOLUTION: An image forming apparatus according to the present invention includes an image reading unit and a control unit. The image reading unit reads a document to obtain an input image. The input image is formed of a plurality of pixels arranged along a main scanning direction and a sub scanning direction of the document. The control unit determines whether or not the input image is a blank image on the basis of a main scanning maximum consecutive number that is the maximum value of the consecutive number of non-white lines in the main scanning direction, and a sub scanning maximum consecutive number that is the maximum value of the consecutive number of non-white lines in the sub scanning direction.

Description

本発明は、画像読取装置、画像形成装置および画像読取方法に関する。   The present invention relates to an image reading apparatus, an image forming apparatus, and an image reading method.

原稿の画像を読み取る画像読取装置の技術の一つに白紙原稿を検知する技術がある。白紙原稿を検知したあと、白紙の画像データをそのまま出力することなく、出力用紙の無駄を低減している。特に画像読取装置がADF(Auto Document Feeder:自動原稿送り装置)を備える場合、複数の原稿を一度に取り扱うため、白紙が混入する可能性が高くなるため白紙原稿を検知する効果がより得られる。特許文献1には、原稿を読み取って得られた画像データの色の濃度が所定の範囲内にある画素をカウントし、その画素数と閾値とを比較することによって読み取った原稿が白紙であるか否かを検知する技術が開示されている。閾値の設定によって原稿上のゴミやノイズに対応することが可能である。   One technique of an image reading apparatus that reads an image of an original is a technique for detecting a blank original. After detecting a blank original, the output paper is reduced without outputting the blank image data as it is. In particular, when the image reading apparatus includes an ADF (Auto Document Feeder: automatic document feeder), since a plurality of documents are handled at a time, there is a high possibility that a blank sheet is mixed, and thus an effect of detecting a blank document can be further obtained. Japanese Patent Application Laid-Open No. 2005-228561 counts pixels in which the color density of image data obtained by reading an original is within a predetermined range, and compares the number of pixels with a threshold value to determine whether the read original is blank. Techniques for detecting whether or not are disclosed. It is possible to deal with dust and noise on the original by setting the threshold value.

特開2003−198777号公報JP 2003-198777 A

しかしながら、特許文献1に記載の白紙検知技術が白紙として検知できるのは原稿中に文字や線画、イメージなどの情報がない紙のみである。原稿として使用される用紙の中にはノートやレポート用紙、ルーズリーフなどのように原稿中に文字や線画、イメージなどが何も記入されていなくても横あるいは縦方向に罫線が存在するものがある。特許文献1に記載の技術にこのような原稿を使用した場合、仮に何も記入されていなくても画像として読み取られた罫線が情報としてとらえられ、白紙として検知されなくなってしまう。このように特許文献1に記載の技術では閾値の設定によって原稿上のゴミやノイズに対応することは可能だが、ノート等の罫線に対応することはできない。   However, the blank sheet detection technique described in Patent Document 1 can detect only blank sheets of paper that have no information such as characters, line drawings, and images in the document. Some types of paper used as manuscripts have ruled lines in the horizontal or vertical direction, such as notebooks, report papers, and loose leaves, even if there are no characters, line drawings, or images in the manuscript. . When such a manuscript is used in the technique described in Patent Document 1, even if nothing is entered, the ruled line read as an image is captured as information and is not detected as blank paper. As described above, the technique disclosed in Patent Document 1 can deal with dust and noise on a document by setting a threshold value, but cannot deal with ruled lines such as notes.

本発明は上記課題を鑑みてなされたものであり、その目的は、入力画像が、一方向に比較的長く連続する情報を含む場合でも、白紙画像であると判定することができる画像読取装置、画像形成装置および画像読取方法を提供することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to provide an image reading apparatus that can determine that an input image is a blank image even when the input image includes information that is relatively long and continuous in one direction. An object of the present invention is to provide an image forming apparatus and an image reading method.

本発明による画像読取装置は、原稿を読み取って入力画像を得る画像読取部と、制御部とを備え、前記入力画像は前記原稿の主走査方向と副走査方向とに沿って配列される複数の画素によって形成され、前記制御部は、前記主走査方向の非白ラインの連続数の最大値である主走査最大連続数と前記副走査方向の非白ラインの連続数の最大値である副走査最大連続数とに基づいて、前記入力画像が白紙画像であるか否かを判定する。   An image reading apparatus according to the present invention includes an image reading unit that reads an original and obtains an input image, and a control unit, and the input image is arranged along a main scanning direction and a sub-scanning direction of the original. The control unit is formed of pixels, and the control unit performs sub-scanning that is the maximum value of the main scanning maximum continuous number that is the maximum number of consecutive non-white lines in the main scanning direction and the maximum value of the number of consecutive non-white lines in the sub-scanning direction. Based on the maximum continuous number, it is determined whether or not the input image is a blank image.

ある実施形態において、前記制御部は、前記入力画像が白紙画像であるか否かを判定する際に、前記主走査最大連続数および前記副走査最大連続数のうちの小さい方の値と所定の閾値とを比較する。   In one embodiment, when the control unit determines whether or not the input image is a blank image, a smaller value of the main scanning maximum continuous number and the sub-scanning maximum continuous number is set to a predetermined value. Compare with the threshold.

ある実施形態において、前記制御部は、前記入力画像の前記複数の画素のそれぞれが非白画素か否かを判定し、前記主走査方向と前記副走査方向とのそれぞれに沿ったそれぞれのラインが、前記非白画素と判定された少なくとも1つの画素を含む非白ラインであるか否かを判定し、前記非白ラインの連続数をカウントすることにより、前記主走査最大連続数と前記副走査最大連続数とを算出する。   In one embodiment, the control unit determines whether or not each of the plurality of pixels of the input image is a non-white pixel, and each line along each of the main scanning direction and the sub-scanning direction is determined. Determining whether or not the non-white line includes at least one pixel determined as the non-white pixel, and counting the continuous number of the non-white line, whereby the main scanning maximum continuous number and the sub-scanning line are counted. Calculate the maximum number of consecutive.

ある実施形態において、前記制御部は、前記非白ラインであるか否かを判定する際に、前記主走査方向と前記副走査方向とのそれぞれに沿ったそれぞれのライン内に含まれる前記非白画素の数をカウントし、前記非白画素の数のカウント結果と所定の閾値とを比較する。   In one embodiment, when the control unit determines whether or not the line is the non-white line, the non-white line included in each line along each of the main scanning direction and the sub-scanning direction. The number of pixels is counted, and the result of counting the number of non-white pixels is compared with a predetermined threshold value.

ある実施形態において、前記制御部は、前記複数の画素のそれぞれが前記非白画素か否かを判定する際に、前記入力画像の前記複数の画素のそれぞれの濃度データまたは輝度データと、所定の閾値とを比較する。   In one embodiment, when the control unit determines whether each of the plurality of pixels is the non-white pixel, density data or luminance data of each of the plurality of pixels of the input image, and a predetermined value Compare with the threshold.

ある実施形態において、前記制御部は、前記主走査方向1ラインごとに前記非白画素の数のカウント結果と所定の閾値とを比較することにより、前記主走査方向に沿ったそれぞれのラインが、前記非白ラインであるか否かを判定した結果、前記主走査方向に沿ったそれぞれのラインを前記非白ラインであると判定した場合、連続数カウンタをインクリメントし、前記非白ラインでないと判定した場合、前記連続数カウンタをリセットする。   In one embodiment, the control unit compares the count result of the number of non-white pixels for each line in the main scanning direction with a predetermined threshold, so that each line along the main scanning direction is As a result of determining whether or not the line is the non-white line, if it is determined that each line along the main scanning direction is the non-white line, the continuous number counter is incremented and it is determined that the line is not the non-white line. If so, the continuous number counter is reset.

ある実施形態において、前記制御部は、前記入力画像のページ内非白画素をカウントすることにより、ページ内非白画素カウント値を求め、前記ページ内非白画素カウント値と所定の閾値とを比較することにより、前記入力画像が白紙画像であるか否かを判定する。   In one embodiment, the control unit obtains an in-page non-white pixel count value by counting non-white pixels in the page of the input image, and compares the in-page non-white pixel count value with a predetermined threshold value. By doing so, it is determined whether or not the input image is a blank image.

ある実施形態において、前記制御部は、前記入力画像が所定のエリア内で白紙画像であるか否かを判定する。   In one embodiment, the control unit determines whether or not the input image is a blank image within a predetermined area.

本発明による画像形成装置は、上記に記載の画像読取装置と、印刷部とを備える。   An image forming apparatus according to the present invention includes the image reading apparatus described above and a printing unit.

ある実施形態において、前記印刷部は、前記白紙画像を除いた前記入力画像に対応する前記原稿を印刷する。   In one embodiment, the printing unit prints the document corresponding to the input image excluding the blank image.

本発明による画像読取方法は、原稿を読み取って主走査方向と副走査方向とに沿って配列される複数の画素によって形成される入力画像を得る画像読取工程と、前記主走査方向の非白ラインの連続数の最大値である主走査最大連続数と前記副走査方向の非白ラインの連続数の最大値である副走査最大連続数とに基づいて、前記入力画像が白紙画像であるか否かを判定する白紙画像判定工程とを包含する。   An image reading method according to the present invention includes an image reading step of reading an original to obtain an input image formed by a plurality of pixels arranged along a main scanning direction and a sub-scanning direction, and a non-white line in the main scanning direction Whether or not the input image is a blank image based on the maximum number of consecutive main scans that is the maximum value of the number of consecutive scans and the maximum number of consecutive subscans that is the maximum value of the number of consecutive non-white lines in the sub-scanning direction. Including a blank image determination step.

本発明の画像読取装置は、主走査方向の非白ラインの連続数の最大値である主走査最大連続数と副走査方向の非白ラインの連続数の最大値である副走査最大連続数とに基づき入力画像が白紙画像であるか否かを判定する。したがって、入力画像が、一方向に短くて他方に長く伸びている線を含む場合でも、白紙画像であると判定することができる。その結果、例えば、ノート罫線のみのノートやルーズリーフやレポート用紙を、白紙と判定する事ができる。   The image reading apparatus of the present invention includes a main scanning maximum continuous number that is the maximum value of the number of consecutive non-white lines in the main scanning direction and a sub-scan maximum number of consecutive values that is the maximum value of the number of consecutive non-white lines in the sub-scanning direction. Based on the above, it is determined whether or not the input image is a blank image. Therefore, even when the input image includes a line that is short in one direction and long in the other direction, it can be determined that the image is a blank image. As a result, it is possible to determine, for example, a notebook, a loose leaf, or a report sheet having only a notebook ruled line as a blank sheet.

本発明の実施形態に係る画像読取装置を示す模式図である。1 is a schematic diagram illustrating an image reading apparatus according to an embodiment of the present invention. 本発明の実施形態に係る画像読取装置の動作を示すフローチャートである。4 is a flowchart illustrating an operation of the image reading apparatus according to the embodiment of the present invention. 本発明の実施形態に係る画像読取装置の動作を示すフローチャートである。4 is a flowchart illustrating an operation of the image reading apparatus according to the embodiment of the present invention. (a)および(b)は入力画像を示す模式図である。(A) And (b) is a schematic diagram which shows an input image. (a)および(b)は入力画像と非白ラインの判定結果とを示す模式図である。(A) And (b) is a schematic diagram which shows the determination result of an input image and a non-white line. 本発明の他の実施形態に係る画像読取装置を示す模式図である。It is a schematic diagram which shows the image reading apparatus which concerns on other embodiment of this invention. 本発明の実施形態に係る画像形成装置を示す模式図である。1 is a schematic diagram illustrating an image forming apparatus according to an embodiment of the present invention. 本発明の他の実施形態に係る画像読取装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of an image reading apparatus according to another embodiment of the present invention. 本発明の他の実施形態に係る画像読取装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of an image reading apparatus according to another embodiment of the present invention. (a)は、主走査方向非白画素カウント値を示す模式図であり、(b)は(a)に示された点線で囲ったラインの拡大図である。(A) is a schematic diagram which shows a main scanning direction non-white pixel count value, (b) is an enlarged view of the line enclosed by the dotted line shown by (a). (a)は、副走査方向非白画素カウント値を示す模式図であり、(b)は(a)に示された点線で囲ったラインの拡大図である。(A) is a schematic diagram which shows sub-scanning direction non-white pixel count value, (b) is an enlarged view of the line enclosed by the dotted line shown by (a). 本発明の更に他の実施形態に係る画像読取装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of an image reading apparatus according to still another embodiment of the present invention. 本発明の更に他の実施形態に係る画像読取装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of an image reading apparatus according to still another embodiment of the present invention. 本発明の更に他の実施形態に係る画像読取装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of an image reading apparatus according to still another embodiment of the present invention. ヘッダー付きの入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of the input image with a header.

以下、図面を参照して本発明による画像読取装置、画像形成装置および画像読取方法の実施形態を説明する。ただし、本発明は以下の実施形態に限定されない。   Embodiments of an image reading apparatus, an image forming apparatus, and an image reading method according to the present invention will be described below with reference to the drawings. However, the present invention is not limited to the following embodiments.

[基本原理:画像読取装置]
図1を参照して本発明による画像読取装置10の実施形態を説明する。図1は、本発明の実施形態に係る画像読取装置10を示す模式図である。
[Basic principle: Image reading device]
An embodiment of an image reading apparatus 10 according to the present invention will be described with reference to FIG. FIG. 1 is a schematic diagram showing an image reading apparatus 10 according to an embodiment of the present invention.

画像読取装置10は、画像読取部20と制御部30とを備える。典型的に画像読取装置10は、原稿台11をさらに備える。画像読取装置10は、原稿台11の上に載置された原稿Mを読み取って入力画像を得る。画像読取装置10は、例えば、スキャナである。原稿Mは、例えば、紙であるが紙に限定されない。例えば、布や厚みのある立体物でもあり得る。   The image reading apparatus 10 includes an image reading unit 20 and a control unit 30. Typically, the image reading apparatus 10 further includes a document table 11. The image reading device 10 reads the document M placed on the document table 11 and obtains an input image. The image reading device 10 is a scanner, for example. The document M is, for example, paper, but is not limited to paper. For example, it may be a cloth or a thick three-dimensional object.

画像読取部20は、光源21と光学系26と撮像部27とを備える。画像読取部20は、原稿台11の下方に設けられている。光学系26は、複数の反射ミラー(反射ミラー24a、反射ミラー24bおよび反射ミラー24c)とレンズ25とを有している。光源21と反射ミラー24aとは、第1キャリッジ23aに取り付けられている。第1キャリッジ23aには、スリット22が設けられている。反射ミラー24bと反射ミラー24cとは、第2キャリッジ23bに取り付けられている。   The image reading unit 20 includes a light source 21, an optical system 26, and an imaging unit 27. The image reading unit 20 is provided below the document table 11. The optical system 26 includes a plurality of reflection mirrors (reflection mirror 24a, reflection mirror 24b, and reflection mirror 24c) and a lens 25. The light source 21 and the reflection mirror 24a are attached to the first carriage 23a. A slit 22 is provided in the first carriage 23a. The reflection mirror 24b and the reflection mirror 24c are attached to the second carriage 23b.

光源21から照射した光は、光学系26を経て撮像部27に到達する。以下、光源21から照射した光が撮像部27に到達する過程を説明する。主走査方向に延びた光源21は、原稿台11を下方から照射する。なお、ここでは主走査方向は図1の奥行方向(図示せず)であり、副走査方向はY方向である。光源21から照射された光は、原稿Mで反射して、スリット22を通り反射ミラー24aに到達する。反射ミラー24aに到達した光は反射ミラー24aで反射し、反射ミラー24bおよび反射ミラー24cによって導かれ、レンズ25を通り撮像部27に到達する。   The light emitted from the light source 21 reaches the imaging unit 27 via the optical system 26. Hereinafter, a process in which light emitted from the light source 21 reaches the imaging unit 27 will be described. A light source 21 extending in the main scanning direction irradiates the document table 11 from below. Here, the main scanning direction is the depth direction (not shown) in FIG. 1, and the sub-scanning direction is the Y direction. The light emitted from the light source 21 is reflected by the original M, passes through the slit 22, and reaches the reflection mirror 24a. The light that reaches the reflection mirror 24 a is reflected by the reflection mirror 24 a, guided by the reflection mirror 24 b and the reflection mirror 24 c, passes through the lens 25, and reaches the imaging unit 27.

画像読取部20が、原稿Mを読み取る場合は、第1キャリッジ23aは、発光している光源21と共に副走査方向Yに移動する。第2キャリッジ23bは、光源21から撮像部27までの光路長が一定になるように移動する。   When the image reading unit 20 reads the document M, the first carriage 23 a moves in the sub-scanning direction Y together with the light source 21 that emits light. The second carriage 23b moves so that the optical path length from the light source 21 to the imaging unit 27 is constant.

撮像部27は、例えば、CCD(Charage Coupled Device)である。撮像部27は、撮像部27に到達した光からアナログ電気信号を生成する。その後、A/D変換部(図示せず)において、アナログ電気信号は、デジタル電気信号に変換される。そしてデジタル電気信号は制御部30へと入力される。   The imaging unit 27 is, for example, a CCD (Charge Coupled Device). The imaging unit 27 generates an analog electrical signal from the light that has reached the imaging unit 27. Thereafter, an analog electric signal is converted into a digital electric signal in an A / D converter (not shown). The digital electrical signal is input to the control unit 30.

制御部30は、CPU(Central Processing Unit)とROM(Read Only Memory)とRAM(Random Access Memory)とHDD(Hard Disk Drive)とを備える。CPUがROMやHDDに格納されているプログラムを実行することで、各判定処理を実施し、最終的に入力画像が白紙画像であるか否かを判定する。RAMは、CPUがプログラムを実行する際に作業領域として使用される。   The control unit 30 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and an HDD (Hard Disk Drive). Each determination process is performed by the CPU executing a program stored in the ROM or HDD, and finally it is determined whether or not the input image is a blank image. The RAM is used as a work area when the CPU executes a program.

[基本原理:画像読取方法]
図2、図3、図4および図5を参照して本発明による画像読取装置10の実施形態を説明する。図2および図3は、本発明の実施形態に係る画像読取装置10の動作を示すフローチャートである。図4(a)および図4(b)は、入力画像を示す模式図である。図5(a)および図5(b)は、入力画像と非白ラインの判定結果とを示す模式図である。
[Basic principle: Image reading method]
An embodiment of the image reading apparatus 10 according to the present invention will be described with reference to FIGS. 2, 3, 4 and 5. 2 and 3 are flowcharts showing the operation of the image reading apparatus 10 according to the embodiment of the present invention. FIG. 4A and FIG. 4B are schematic diagrams showing input images. FIG. 5A and FIG. 5B are schematic diagrams illustrating an input image and a determination result of a non-white line.

図2と図3に示されたS100〜S124によって入力画像が白紙画像であるか否かを判定する白紙画像判定工程が実行される。まず、S100にて、画像読取部20は原稿Mを読み取り、入力画像を取得する。図4(a)で示す入力画像Sは、原稿Mを読み取って得られた入力画像の一例であり、図4(b)で示す入力画像Tは、別の原稿Mを読み取って得られた入力画像の一例である。入力画像Sと入力画像Tとは、長手方向(横方向)と長手方向に直交する短手方向(縦方向)とに沿って配列される複数の画素によって形成される。例えば、入力画像Sと入力画像Tとは、それぞれ横7000画素×縦5000画素の画像である。   A blank image determination process is performed in S100 to S124 shown in FIGS. 2 and 3 to determine whether or not the input image is a blank image. First, in S100, the image reading unit 20 reads the document M and obtains an input image. An input image S shown in FIG. 4A is an example of an input image obtained by reading an original M, and an input image T shown in FIG. 4B is an input obtained by reading another original M. It is an example of an image. The input image S and the input image T are formed by a plurality of pixels arranged along a longitudinal direction (lateral direction) and a short direction (vertical direction) orthogonal to the longitudinal direction. For example, the input image S and the input image T are images of 7000 pixels wide × 5000 pixels long, respectively.

入力画像Sは、文字「A」を示す画像、文字「b」を示す画像および文字「C」を示す画像を含んでいる。ここでは入力画像Sは文字を示す画像を含んでいるが、入力画像は、文字の他に写真を示す画像や模様を示す画像なども含むことができる。   The input image S includes an image indicating the character “A”, an image indicating the character “b”, and an image indicating the character “C”. Here, the input image S includes an image indicating a character, but the input image may include an image indicating a photograph or an image indicating a pattern in addition to the characters.

一方、入力画像Tは、一方向に長く延びており他方の方向にはそれほど延びてない線を示す画像を含んでいる。この様な入力画像として読み込まれる原稿としては、例えば、ノート罫線が表示されたノートやルーズリーフやレポート用紙などがある。原稿がこれらのノート罫線のみのノートやルーズリーフやレポート用紙である場合、典型的にノート罫線の間隔は等間隔である。なお、入力画像Tは、縦罫線を示す画像であるが、横罫線を示す画像でもあり得る。   On the other hand, the input image T includes an image showing a line that extends long in one direction and does not extend so much in the other direction. Examples of the original read as such an input image include a notebook displaying a ruled line, a loose leaf, and a report sheet. When the original is a note, a loose leaf, or a report sheet having only these note ruled lines, the interval between the note ruled lines is typically equal. The input image T is an image showing a vertical ruled line, but may be an image showing a horizontal ruled line.

次に白紙画像判定工程はS102に進み、制御部30は、入力画像を形成する全ての画素のうちのそれぞれの画素に対して非白画素判定を行う。ここでは、制御部30は、入力画像の長手方向(横方向)には左の画素から右の画素へ、長手方向に直交する短手方向(縦方向)には上の画素から下の画素へと順番に非白画素判定を行う。制御部30は、非白画素判定において、入力画像が有する複数の画素のそれぞれが非白画素か否かを判定する。制御部30は、画素値と非白画素判定閾値Twとを比較することにより非白画素判定を行う。入力画像がモノクロの8bit濃度データ(0(白)→255(黒))である場合、制御部30は、判定する画素値が非白画素判定閾値Twよりも大きければ、画素を非白画素と判定する。一方、制御部30は、判定する画素値が非白画素判定閾値Twよりも大きくなければ、画素を白画素と判定する。また、制御部30は、入力画像がモノクロの8bit輝度データ(0(黒)→255(白))である場合、判定する画素値が非白画素判定閾値Twよりも小さければ、画素を非白画素と判定する。判定する画素値が非白画素判定閾値Twよりも小さくなければ、画素を白画素と判定する。   Next, the blank image determination process proceeds to S102, and the control unit 30 performs non-white pixel determination for each pixel of all the pixels forming the input image. Here, the control unit 30 shifts from the left pixel to the right pixel in the longitudinal direction (lateral direction) of the input image, and from the upper pixel to the lower pixel in the lateral direction (vertical direction) orthogonal to the longitudinal direction. The non-white pixel determination is performed in order. In the non-white pixel determination, the control unit 30 determines whether each of the plurality of pixels included in the input image is a non-white pixel. The control unit 30 performs non-white pixel determination by comparing the pixel value with the non-white pixel determination threshold value Tw. When the input image is monochrome 8-bit density data (0 (white) → 255 (black)), the control unit 30 determines that the pixel is a non-white pixel if the pixel value to be determined is larger than the non-white pixel determination threshold value Tw. judge. On the other hand, if the pixel value to be determined is not larger than the non-white pixel determination threshold value Tw, the control unit 30 determines the pixel as a white pixel. In addition, when the input image is monochrome 8-bit luminance data (0 (black) → 255 (white)), the control unit 30 determines that the pixel is non-white if the pixel value to be determined is smaller than the non-white pixel determination threshold value Tw. It is determined as a pixel. If the pixel value to be determined is not smaller than the non-white pixel determination threshold value Tw, the pixel is determined to be a white pixel.

また、入力画像がRGB各色8bitカラーデータである場合、制御部30は、RGBの輝度値のうちの最小値と非白画素判定閾値Twとを比較し、RGBの輝度値のうちの最小値が非白画素判定閾値Twよりも小さければ、画素を非白画素と判定する。RGBの輝度値の最小値を選択する理由は、白画素であればRGBの輝度値がいずれも高い値を示すが、白以外の画素(色画素や黒画素)ではRGBの輝度値の少なくともいずれか1色の値が小さくなるためである。   When the input image is RGB 8-bit color data, the control unit 30 compares the minimum value of the RGB luminance values with the non-white pixel determination threshold value Tw, and the minimum value of the RGB luminance values is If it is smaller than the non-white pixel determination threshold value Tw, the pixel is determined as a non-white pixel. The reason for selecting the minimum RGB luminance value is that if the pixel is a white pixel, the RGB luminance value will be high, but if it is a non-white pixel (color pixel or black pixel), at least one of the RGB luminance values will be selected. This is because the value of one color becomes smaller.

次に、白紙画像判定工程はS104に進み、制御部30は、非白画素判定を実施した画素の入力画像に対する位置がラインの終端か否かを判定する。非白画素判定を実施した画素の入力画像に対する位置がラインの終端で無い場合(S104:N)、白紙画像判定工程はS106に進み、白画素判定を実施する画素の位置が次の画素(ここでは1つ右隣の画素)へ移動する。そして白紙画像判定工程はS102に戻り、制御部30は、次の画素(ここでは1つ右隣の画素)に対して非白画素判定を行う。白画素判定を実施した画素の入力画像に対する位置がラインの終端である場合(S104:Y)、白紙画像判定工程はS108に進む。   Next, the blank image determination process proceeds to S104, and the control unit 30 determines whether or not the position of the pixel for which the non-white pixel determination is performed with respect to the input image is the end of the line. When the position of the pixel for which the non-white pixel determination is performed is not the end of the line (S104: N), the blank image determination process proceeds to S106, and the position of the pixel for which the white pixel determination is performed is the next pixel (here Now move to the next pixel to the right. Then, the blank image determination process returns to S102, and the control unit 30 performs the non-white pixel determination for the next pixel (here, the pixel immediately adjacent to the right). When the position of the pixel subjected to the white pixel determination with respect to the input image is the end of the line (S104: Y), the blank image determination process proceeds to S108.

S108では、制御部30は、非白画素判定を実施した画素の入力画像に対する位置がページの終端か否かを判定する。非白画素判定を実施した画素の入力画像に対する位置がページの終端で無い場合(S108:N)、非白画素判定工程はS110に進み、白画素判定を実施する画素の位置が次のラインへ移動する。そして白画素判定工程はS102に戻り、制御部30は、次のラインの先頭の画素に対して非白画素判定を行う。   In S108, the control unit 30 determines whether the position of the pixel for which the non-white pixel determination is performed with respect to the input image is the end of the page. If the position of the pixel for which the non-white pixel determination has been performed is not at the end of the page (S108: N), the non-white pixel determination process proceeds to S110, and the position of the pixel for which the white pixel determination is performed moves to the next line. Moving. Then, the white pixel determination step returns to S102, and the control unit 30 performs non-white pixel determination on the first pixel of the next line.

S102からS110を繰りかえすことにより、制御部30は、入力画像の全ての画素に対して、非白画素判定を行う。ページの全ての画素の非白画素判定が完了し、白画素判定を実施した画素の入力画像に対する位置がページの終端である場合(S108:Y)、白紙画像判定工程は図3に示されたS112に進む。   By repeating S <b> 102 to S <b> 110, the control unit 30 performs non-white pixel determination for all pixels of the input image. When the non-white pixel determination of all the pixels of the page is completed and the position of the pixel for which the white pixel determination is performed with respect to the input image is the end of the page (S108: Y), the blank image determination process is shown in FIG. Proceed to S112.

S112では、制御部30は、入力画像のそれぞれのラインに対して非白ライン判定を行う。図5を参照して非白ライン判定について説明する。図5においては図4で示した入力画像Sと入力画像Tに非白ラインの判定結果を追加している。判定結果SHは、入力画像Sの主走査ラインの非白ラインを示し、判定結果SVは、入力画像Sの副走査ラインの非白ラインを示す。図5に示された入力画像Sと入力画像Tとにおいて、入力画像の長手方向(横方向)が主走査方向Xであり、長手方向に直交する短手方向(縦方向)が副走査方向Yである。   In S112, the control unit 30 performs non-white line determination for each line of the input image. Non-white line determination will be described with reference to FIG. In FIG. 5, the non-white line determination result is added to the input image S and the input image T shown in FIG. The determination result SH indicates a non-white line of the main scanning line of the input image S, and the determination result SV indicates a non-white line of the sub-scanning line of the input image S. In the input image S and the input image T shown in FIG. 5, the longitudinal direction (lateral direction) of the input image is the main scanning direction X, and the short direction (vertical direction) orthogonal to the longitudinal direction is the sub-scanning direction Y. It is.

制御部30は、非白ライン判定において、主走査方向Xと副走査方向Yとのそれぞれに沿ったそれぞれのラインが、非白画素と判定された少なくとも1つの画素を含む非白ラインであるか否かを判定する。判定結果SHにおいて斜線で示した箇所は、制御部30が非白ラインと判定した主走査ライン(主走査非白ライン群H1と主走査非白ライン群H2)を示している。一方、判定結果SVにおいて斜線で示した箇所は、制御部30が非白ラインと判定した副走査ライン(副査非白ライン群V1、副走査非白ライン群V2および副走査非白ライン群V3)を示している。   In the non-white line determination, the control unit 30 determines whether each line along each of the main scanning direction X and the sub-scanning direction Y is a non-white line including at least one pixel determined as a non-white pixel. Determine whether or not. The hatched portions in the determination result SH indicate main scanning lines (the main scanning non-white line group H1 and the main scanning non-white line group H2) that the control unit 30 determines as non-white lines. On the other hand, the hatched portions in the determination result SV indicate the sub-scanning lines (the sub-inspection non-white line group V1, the sub-scanning non-white line group V2, and the sub-scanning non-white line group V3) determined by the control unit 30 as non-white lines. ).

主走査非白ライン群H1と主走査非白ライン群H2とは、主走査ラインの非白ラインの判定結果のうち非白ラインと判定された領域を示す。文字「A」と文字「C」を示している画素を含む主走査ラインは非白ラインとなる。主走査非白ライン群H1は、文字「A」と文字「C」とに対応している主走査方向の非白ラインと判定された箇所である。文字「A」に対応する主走査非白ラインと文字「C」に対応する主走査非白ラインとは一部が重複しているため、主走査非白ラインは、副走査方向に連続している。このため文字「A」の上端から文字「C」の下端に対応した主走査方向のラインが非白ラインと判定される。また、主走査非白ライン群H2は、文字「b」に対応している主走査方向の非白ラインと判定された箇所である。文字「b」を示している画素を含む主走査ラインは非白ラインと判定される。文字「b」の上端から文字「b」の下端に対応した主走査方向のラインが非白ラインと判定される。   The main scanning non-white line group H1 and the main scanning non-white line group H2 indicate regions determined as non-white lines among the determination results of the non-white lines of the main scanning lines. The main scanning line including the pixels indicating the character “A” and the character “C” is a non-white line. The main scanning non-white line group H1 is a portion determined as a non-white line in the main scanning direction corresponding to the character “A” and the character “C”. Since the main scanning non-white line corresponding to the character “A” and the main scanning non-white line corresponding to the character “C” partially overlap, the main scanning non-white line continues in the sub-scanning direction. Yes. Therefore, the line in the main scanning direction corresponding to the lower end of the character “C” from the upper end of the character “A” is determined as a non-white line. The main scanning non-white line group H2 is a portion determined as a non-white line in the main scanning direction corresponding to the character “b”. The main scanning line including the pixel indicating the character “b” is determined as a non-white line. A line in the main scanning direction corresponding to the lower end of the character “b” from the upper end of the character “b” is determined as a non-white line.

副査非白ライン群V1と副走査非白ライン群V2と副走査非白ライン群V3とは、副走査ラインの非白ラインの判定結果のうち非白ラインと判定された領域を示す。副走査非白ライン群V1は、文字「A」に対応している副走査方向の非白ラインと判定された箇所である。文字「A」を示している画素を含む副走査ラインは非白ラインと判定される。文字「A」の左端から文字「A」の右端に対応した副走査方向のラインが非白ラインと判定される。また、副走査非白ライン群V2は、文字「b」に対応している副走査方向の非白ラインと判定された箇所である。文字「b」を示している画素を含む副走査ラインは非白ラインと判定される。文字「b」の左端から文字「b」の右端に対応した副走査方向のラインが非白ラインと判定される。また、副走査非白ライン群V3は、文字「C」に対応している副走査方向の非白ラインと判定された箇所である。文字「C」を示している画素を含む副走査ラインは非白ラインと判定される。文字「C」の左端から文字「C」の右端に対応した副走査方向のラインが非白ラインと判定される。   The sub-inspection non-white line group V1, the sub-scanning non-white line group V2, and the sub-scanning non-white line group V3 indicate areas determined as non-white lines among the determination results of the non-white lines of the sub-scanning lines. The sub-scanning non-white line group V1 is a portion determined to be a non-white line in the sub-scanning direction corresponding to the character “A”. The sub-scanning line including the pixel indicating the character “A” is determined as a non-white line. A line in the sub-scanning direction corresponding to the right end of the character “A” from the left end of the character “A” is determined as a non-white line. Further, the sub-scanning non-white line group V2 is a portion determined as a non-white line in the sub-scanning direction corresponding to the character “b”. The sub-scan line including the pixel indicating the character “b” is determined as a non-white line. A line in the sub-scanning direction corresponding to the right end of the character “b” from the left end of the character “b” is determined as a non-white line. Further, the sub-scanning non-white line group V3 is a portion determined as a non-white line in the sub-scanning direction corresponding to the character “C”. The sub-scanning line including the pixel indicating the character “C” is determined as a non-white line. A line in the sub-scanning direction corresponding to the right end of the character “C” from the left end of the character “C” is determined as a non-white line.

引き続き図3〜図5を参照して、白紙画像判定工程の説明を続ける。白紙画像判定工程は図3に示されたS114に進み、制御部30は、主走査方向の非白ラインの最大連続数である主走査最大連続数Hmaxを検出する。入力画像が入力画像Sの場合、主走査最大連続数Hmaxは、主走査非白ライン群H1で示す箇所における副走査方向の非白ラインの連続数である。入力画像が入力画像Tの場合、主走査最大連続数Hmaxは、入力画像Sのノート罫線の長さ分の画素数と等しい数である。   The description of the blank image determination process will be continued with reference to FIGS. The blank image determination process proceeds to S114 shown in FIG. 3, and the control unit 30 detects the main scanning maximum continuous number Hmax, which is the maximum continuous number of non-white lines in the main scanning direction. When the input image is the input image S, the main scanning maximum continuous number Hmax is the number of continuous non-white lines in the sub-scanning direction at the position indicated by the main scanning non-white line group H1. When the input image is the input image T, the main scanning maximum continuous number Hmax is equal to the number of pixels corresponding to the length of the note ruled line of the input image S.

次に、白紙画像判定工程はS116に進み、制御部30は、副走査方向の非白ラインの最大連続数である副走査最大連続数Vmaxを検出する。入力画像が入力画像Sの場合、副走査最大連続数Vmaxは、副走査非白ライン群V1で示す箇所における主走査方向の非白ラインの連続数である。入力画像が入力画像Tの場合、副走査最大連続数Vmaxは、入力画像Sのノート罫線の幅分の画素数と等しい数である。   Next, the blank image determination process proceeds to S116, and the control unit 30 detects the sub-scanning maximum continuous number Vmax, which is the maximum number of non-white lines in the sub-scanning direction. When the input image is the input image S, the sub-scanning maximum continuous number Vmax is the number of continuous non-white lines in the main scanning direction at the position indicated by the sub-scanning non-white line group V1. When the input image is the input image T, the sub-scanning maximum continuous number Vmax is equal to the number of pixels corresponding to the width of the note ruled line of the input image S.

次に、白紙画像判定工程はS118に進み、制御部30は、主走査最大連続数Hmaxと副走査最大連続数Vmaxとを比較し、主走査最大連続数Hmaxと副走査最大連続数Vmaxとのうち小さい方を最大連続数Nmaxとする。入力画像が入力画像Sの場合、最大連続数Nmaxは、副走査最大連続数Vmaxである。入力画像が入力画像Tの場合、最大連続数Nmaxは、副走査最大連続数Vmaxであり、入力画像Sのノート罫線の幅分の画素数と等しい数である。   Next, the blank image determination step proceeds to S118, and the control unit 30 compares the main scanning maximum continuous number Hmax with the sub-scanning maximum continuous number Vmax, and determines the main scanning maximum continuous number Hmax and the sub-scanning maximum continuous number Vmax. The smaller one is set as the maximum continuous number Nmax. When the input image is the input image S, the maximum continuous number Nmax is the sub-scanning maximum continuous number Vmax. When the input image is the input image T, the maximum continuous number Nmax is the sub-scanning maximum continuous number Vmax, which is a number equal to the number of pixels corresponding to the width of the note ruled line of the input image S.

次に、白紙画像判定工程はS120に進み、制御部30は、最大連続数Nmaxが幅閾値Twidthよりも大きいか否かを判定する。最大連続数Nmaxが幅閾値Twidthよりも大きい場合(S120:Y)、白紙画像判定工程はS122に進み、制御部30は、入力画像が白紙画像ではないと判定する。最大連続数Nmaxが幅閾値Twidthよりも大きくない場合(S120:N)、白紙画像判定工程はS124に進み、制御部30は、入力画像が白紙画像であると判定する。   Next, the blank image determination process proceeds to S120, and the control unit 30 determines whether or not the maximum continuous number Nmax is larger than the width threshold value Twidth. When the maximum continuous number Nmax is larger than the width threshold value Twidth (S120: Y), the blank image determination process proceeds to S122, and the control unit 30 determines that the input image is not a blank image. If the maximum continuous number Nmax is not greater than the width threshold value Twidth (S120: N), the blank image determination process proceeds to S124, and the control unit 30 determines that the input image is a blank image.

入力画像が入力画像Sの場合、最大連続数Nmaxは幅閾値Twidthよりも大きくなり、制御部30は、入力画像Sが白紙画像ではないと判定する。入力画像が入力画像Tの場合、最大連続数Nmaxは幅閾値Twidthよりも小さくなり、制御部30は、入力画像Tが白紙画像であると判定する。   When the input image is the input image S, the maximum continuous number Nmax is larger than the width threshold value Twidth, and the control unit 30 determines that the input image S is not a blank image. When the input image is the input image T, the maximum continuous number Nmax is smaller than the width threshold value Twidth, and the control unit 30 determines that the input image T is a blank image.

以上、図2〜図5を参照してS100〜S124によって実行される白紙画像判定工程を説明した。   The blank image determination process executed in steps S100 to S124 has been described above with reference to FIGS.

図2〜図5を参照して説明したように、画像読取装置10は、主走査最大連続数Hmaxと副走査最大連続数Vmaxに基づき入力画像が白紙画像であるか否かを判定する。したがって、入力画像が入力画像Tで示すように、一方向に短く、他方に長く伸びている線を含む場合でも、入力画像を白紙画像と判定することができる。その結果、例えば、ノート罫線のみのノートやルーズリーフやレポート用紙を白紙と判定する事ができる。   As described with reference to FIGS. 2 to 5, the image reading apparatus 10 determines whether or not the input image is a blank image based on the main scanning maximum continuous number Hmax and the sub-scanning maximum continuous number Vmax. Accordingly, even when the input image includes a line that is short in one direction and long in the other direction as indicated by the input image T, the input image can be determined as a blank image. As a result, it is possible to determine, for example, a notebook, a loose leaf, or a report sheet having only a notebook ruled line as a blank sheet.

[自動原稿送り装置付き画像読取装置]
図6を参照して、本発明による画像読取装置40の他の実施形態を説明する。図6は、本発明の他の実施形態に係る画像読取装置40を示す模式図である。画像読取装置40は、画像読取部20と制御部30と自動原稿送り装置41とを備える。画像読取装置40は、自動原稿送り装置41を更に備える点を除いて図1を参照して説明した画像読取装置10と同様な構成を有するため、重複部分については説明を省略する。
[Image reading device with automatic document feeder]
With reference to FIG. 6, another embodiment of the image reading apparatus 40 according to the present invention will be described. FIG. 6 is a schematic diagram showing an image reading apparatus 40 according to another embodiment of the present invention. The image reading device 40 includes an image reading unit 20, a control unit 30, and an automatic document feeder 41. Since the image reading apparatus 40 has the same configuration as the image reading apparatus 10 described with reference to FIG. 1 except that the image reading apparatus 40 further includes an automatic document feeder 41, the description of overlapping portions is omitted.

自動原稿送り装置41は、ADF(Auto Document Feeder)と呼ばれている。自動原稿送り装置41は、載置台42とピックアップローラ43と搬送ローラ44aと搬送ローラ44bと排紙台46とを備える。原稿搬送路45は、載置台42から、画像読取部20にて読み取りが行われる読取位置Qを経由して、排紙台46に通じる原稿Mの搬送路である。   The automatic document feeder 41 is called an ADF (Auto Document Feeder). The automatic document feeder 41 includes a placement table 42, a pickup roller 43, a conveyance roller 44 a, a conveyance roller 44 b, and a paper discharge table 46. The document conveyance path 45 is a conveyance path of the document M that leads from the mounting table 42 to the paper discharge table 46 via the reading position Q where the image reading unit 20 performs reading.

載置台42の上に複数枚の原稿Mを載置することにより、複数枚の原稿Mを一度に処理することができる。自動原稿送り装置41を用いて原稿Mを読み込む場合、ピックアップローラ43は、載置台42の上に載置された原稿Mを1枚ずつ原稿搬送路45内に引き出し、原稿Mを搬送ローラ44aと搬送ローラ44bとに送る。搬送ローラ44aと搬送ローラ44bとは原稿Mを引き出し、原稿Mが読取位置Qを通過するときに、画像読取部20は、原稿Mを読み取る。   By placing a plurality of documents M on the mounting table 42, a plurality of documents M can be processed at a time. When reading the document M using the automatic document feeder 41, the pickup roller 43 pulls out the document M placed on the mounting table 42 one by one into the document transport path 45, and the document M is transported to the transport roller 44a. It is sent to the conveyance roller 44b. The conveyance roller 44a and the conveyance roller 44b pull out the document M, and when the document M passes the reading position Q, the image reading unit 20 reads the document M.

図6を参照して説明したように、画像読取装置40は、複数枚の原稿Mを一度に処理することができるため大変便利である。しかし複数の原稿Mを一度に取り扱う場合、画像読取を望まない白紙が原稿Mに混入するおそれが増加する。そのため本発明の白紙検出の効果がより顕著になる。   As described with reference to FIG. 6, the image reading apparatus 40 is very convenient because it can process a plurality of documents M at a time. However, when handling a plurality of originals M at a time, there is an increased risk that white paper that does not require image reading will be mixed into the original M. For this reason, the effect of the blank paper detection of the present invention becomes more remarkable.

[画像形成装置]
図7を参照して本発明による画像形成装置50の実施形態を説明する。図7は、本発明の実施形態に係る画像形成装置50を示す模式図である。画像形成装置50は、画像読取部20と制御部30と自動原稿送り装置41と印刷部57とを備える。画像形成装置50は、印刷部57を更に有する点を除いて図6を参照して説明した画像読取装置40と同様な構成を有するため、重複部分については説明を省略する。
[Image forming apparatus]
An embodiment of the image forming apparatus 50 according to the present invention will be described with reference to FIG. FIG. 7 is a schematic diagram showing an image forming apparatus 50 according to the embodiment of the present invention. The image forming apparatus 50 includes an image reading unit 20, a control unit 30, an automatic document feeder 41, and a printing unit 57. Since the image forming apparatus 50 has the same configuration as that of the image reading apparatus 40 described with reference to FIG. 6 except that the image forming apparatus 50 further includes a printing unit 57, the description of overlapping portions is omitted.

印刷部57は、感光ドラム51と現像部52と転写部53と給紙部54と搬送ベルト55と排紙部56とを有する。印刷部57は、画像読取部20の下方に設けられる。印刷部57は、画像読取部20で読み取った原稿Mを印刷する。原稿Mを印刷する場合、まず感光ドラム51を帯電器(図示せず)により帯電させる。その後、露光部(図示せず)は、帯電された感光ドラム51の表面に、入力画像に基づいてレーザーを照射し、静電潜像を形成する。その後、現像部52は静電潜像にトナーを付着させてトナー像を形成する。その後、転写部53は、現像部52で形成されたトナー像を給紙部54から搬送された用紙に転写する。その後、転写された用紙は搬送ベルト55により搬送され、排紙部56に排紙される。   The printing unit 57 includes a photosensitive drum 51, a developing unit 52, a transfer unit 53, a paper feeding unit 54, a conveyance belt 55, and a paper discharging unit 56. The printing unit 57 is provided below the image reading unit 20. The printing unit 57 prints the document M read by the image reading unit 20. When printing the document M, the photosensitive drum 51 is first charged by a charger (not shown). Thereafter, the exposure unit (not shown) irradiates the charged surface of the photosensitive drum 51 with a laser based on the input image to form an electrostatic latent image. Thereafter, the developing unit 52 forms a toner image by attaching toner to the electrostatic latent image. Thereafter, the transfer unit 53 transfers the toner image formed by the developing unit 52 onto the paper conveyed from the paper supply unit 54. Thereafter, the transferred paper is transported by the transport belt 55 and discharged to the paper discharge unit 56.

図7を参照して説明したように、画像形成装置50は、画像読取部20で読み取った原稿Mを印刷部57で印刷することができる。なお、画像形成装置50は、図2〜図5を参照して説明した白紙画像を除いた入力画像に対応する原稿を印刷することができる。したがって、白紙の原稿を間違って印刷することを抑制することができる。   As described with reference to FIG. 7, the image forming apparatus 50 can print the document M read by the image reading unit 20 by the printing unit 57. The image forming apparatus 50 can print a document corresponding to the input image excluding the blank image described with reference to FIGS. Accordingly, it is possible to suppress erroneous printing of a blank document.

[画像読取方法の実施形態2]
図8、図9、図10および図11を参照して本発明による画像読取装置10の他の実施形態を説明する。図8および図9は、本発明の他の実施形態に係る画像読取装置10の動作を示すフローチャートである。図10は、主走査方向非白画素カウント値を示す模式図であり、図11は、副走査方向非白画素カウント値を示す模式図である。図2および図3のフローチャートを用いた説明と重複する内容については、詳細な説明を省略する。
[Second Embodiment of Image Reading Method]
Another embodiment of the image reading apparatus 10 according to the present invention will be described with reference to FIG. 8, FIG. 9, FIG. 10, and FIG. 8 and 9 are flowcharts showing the operation of the image reading apparatus 10 according to another embodiment of the present invention. FIG. 10 is a schematic diagram showing the non-white pixel count value in the main scanning direction, and FIG. 11 is a schematic diagram showing the non-white pixel count value in the sub-scanning direction. Detailed description of the same contents as those described using the flowcharts of FIGS. 2 and 3 will be omitted.

図8と図9に示されたS200〜S240によって入力画像が白紙画像であるか否かを判定する白紙画像判定工程が実行される。まず、S200にて、画像読取部20は、原稿Mを読み取り入力画像を取得する(図2に示されたS100に対応)。図2および図3のフローチャートと同様に、原稿Mを読み取って得られた入力画像の一例は、図4(a)で示す入力画像Sと、図4(b)で示す入力画像Tである。   A blank image determination process for determining whether or not the input image is a blank image is performed in S200 to S240 shown in FIGS. First, in S200, the image reading unit 20 reads the document M and acquires an input image (corresponding to S100 shown in FIG. 2). Similar to the flowcharts of FIGS. 2 and 3, examples of input images obtained by reading the document M are an input image S shown in FIG. 4A and an input image T shown in FIG. 4B.

次に白紙画像判定工程はS202に進み、制御部30は、非白画素判定を行う(図2に示されたS102に対応)。   Next, the blank paper image determination process proceeds to S202, and the control unit 30 performs non-white pixel determination (corresponding to S102 shown in FIG. 2).

次に、白紙画像判定工程はS204に進み、非白画素判定を行った画素が非白画素で無い場合(S204:N)、白紙画像判定工程はS212に進む。非白画素判定を行った画素が非白画素である場合(S204:Y)、白紙画像判定工程はS206に進む。   Next, the blank image determination process proceeds to S204, and if the pixel for which the non-white pixel determination has been performed is not a non-white pixel (S204: N), the blank image determination process proceeds to S212. If the pixel that has been subjected to the non-white pixel determination is a non-white pixel (S204: Y), the blank paper image determination step proceeds to S206.

S206では、ページ内非白画素カウント値をインクリメントする。ページ内非白画素カウント値は、入力画像全体で非白画素と判定された画素の数を示す。ページ内非白画素カウント値は、後述する入力画像が白紙画像であるか否かを判定するとき(図9に示されたS234)に用いられる。   In S206, the in-page non-white pixel count value is incremented. The in-page non-white pixel count value indicates the number of pixels determined to be non-white pixels in the entire input image. The in-page non-white pixel count value is used when determining whether or not an input image to be described later is a blank image (S234 shown in FIG. 9).

次に、白紙画像判定工程はS208に進み、制御部30は、主走査非白画素カウント値hcntをインクリメントし、主走査非白画素カウント値hcntをメモリ(RAM)に保持する。以下、図10を参照して主走査非白画素カウント値hcntについて説明する。図10は主走査非白画素カウント値hcntを示す模式図である。図10(a)は、入力画像の模式図である。図10(b)は、図10(a)に示された点線で囲まれたラインの拡大図である。図10(b)において、斜線で示した箇所は非白画素Nであり、白で示した箇所は白画素Wである。   Next, the blank image determination process proceeds to S208, and the control unit 30 increments the main scanning non-white pixel count value hcnt and holds the main scanning non-white pixel count value hcnt in the memory (RAM). Hereinafter, the main scanning non-white pixel count value hcnt will be described with reference to FIG. FIG. 10 is a schematic diagram showing the main scanning non-white pixel count value hcnt. FIG. 10A is a schematic diagram of an input image. FIG. 10B is an enlarged view of a line surrounded by a dotted line shown in FIG. In FIG. 10B, the shaded portion is the non-white pixel N, and the white portion is the white pixel W.

主走査非白画素カウント値hcntは、主走査方向(横方向)1ライン中で非白画素と判定された画素の数を示す。例えば、図10(b)の場合、1ライン分の非白画素の判定が終わったとき、主走査非白画素カウント値hcntは「8」である。主走査非白画素カウント値hcntは、主走査方向のラインのそれぞれに対応したメモリ(RAM)の領域に保持される。例えば、画像サイズが横7000×縦5000画素であれば、制御部30は、5000個の主走査非白画素カウント値hcntをメモリ(RAM)に保持する。   The main scanning non-white pixel count value hcnt indicates the number of pixels determined as non-white pixels in one line in the main scanning direction (horizontal direction). For example, in the case of FIG. 10B, when the determination of non-white pixels for one line is completed, the main scanning non-white pixel count value hcnt is “8”. The main scanning non-white pixel count value hcnt is held in a memory (RAM) area corresponding to each line in the main scanning direction. For example, if the image size is 7000 × 5000 pixels, the control unit 30 holds 5000 main scanning non-white pixel count values hcnt in a memory (RAM).

S202に示された非白画素判定によって非白画素判定を行った画素が非白画素であると判定されると(S204:Y)、制御部30は、対応する主走査非白画素カウント値hcntをインクリメントし、主走査非白画素カウント値hcntをメモリ(RAM)に保持する(S208)。主走査非白画素カウント値hcntは、必ずしも主走査方向1ライン分の全ての画素数まで数えられる必要は無く、後述する図9に示されたS222の「各カウント値を閾値Thcntで2値化」するために必要と思われる値までカウントできればよい。例えば最大255までカウントする場合、必要なメモリ容量は、8bit×5000で済み、メモリの容量を削減できる。   When it is determined by the non-white pixel determination shown in S202 that the pixel for which the non-white pixel determination has been performed is a non-white pixel (S204: Y), the control unit 30 selects the corresponding main scanning non-white pixel count value hcnt. Is incremented, and the main scanning non-white pixel count value hcnt is held in the memory (RAM) (S208). The main scanning non-white pixel count value hcnt does not necessarily need to be counted up to the total number of pixels for one line in the main scanning direction, and “each count value is binarized with a threshold Thcnt” in S222 shown in FIG. It is only necessary to be able to count to a value that seems to be necessary for For example, when counting up to 255, the required memory capacity is 8 bits × 5000, and the memory capacity can be reduced.

S208が完了すると、次に白紙画像判定工程はS210に進み、制御部30は、副走査非白画素カウント値vcntをインクリメントし、副走査非白画素カウント値vcntをメモリ(RAM)に保持する。以下、図11を参照して副走査非白画素カウント値vcntについて説明する。図11は副走査非白画素カウント値vcntを示す模式図である。図11(a)は、入力画像の模式図である。図11(b)は、図11(a)で示された点線で囲まれたラインの拡大図である。図11(b)において、斜線で示した箇所は非白画素Nであり、白で示した箇所は白画素Wである。   When S208 is completed, the blank image determination process proceeds to S210, and the control unit 30 increments the sub-scanning non-white pixel count value vcnt and holds the sub-scanning non-white pixel count value vcnt in the memory (RAM). Hereinafter, the sub-scanning non-white pixel count value vcnt will be described with reference to FIG. FIG. 11 is a schematic diagram showing the sub-scanning non-white pixel count value vcnt. FIG. 11A is a schematic diagram of an input image. FIG. 11B is an enlarged view of a line surrounded by a dotted line shown in FIG. In FIG. 11B, the shaded portion is a non-white pixel N, and the white portion is a white pixel W.

副走査非白画素カウント値vcntは、副走査方向(縦方向)1ライン中で非白画素と判定された画素の数を示す。例えば、図11(b)の場合、1ライン分の非白画素の判定が終わったとき副走査非白画素カウント値vcntは「5」である。副走査非白画素カウント値vcntは、副走査方向のラインのそれぞれに対応したメモリ(RAM)の領域に保持される。例えば、画像サイズが横7000×縦5000画素であれば、制御部30は、7000個の副走査非白画素カウント値vcntをメモリ(RAM)に保持する。S202に示された非白画素判定で非白画素判定を行った画素が非白画素であると判定されると(S204:Y)、制御部30は、対応する副走査非白画素カウント値vcntをインクリメントし、副走査非白画素カウント値vcntをメモリ(RAM)に保持する(S210)。   The sub-scanning non-white pixel count value vcnt indicates the number of pixels determined as non-white pixels in one line in the sub-scanning direction (vertical direction). For example, in the case of FIG. 11B, the sub-scanning non-white pixel count value vcnt is “5” when the determination of non-white pixels for one line is completed. The sub-scanning non-white pixel count value vcnt is held in a memory (RAM) area corresponding to each line in the sub-scanning direction. For example, if the image size is 7000 × 5000 pixels, the control unit 30 holds 7000 sub-scanning non-white pixel count values vcnt in a memory (RAM). When it is determined that the non-white pixel determination in the non-white pixel determination shown in S202 is a non-white pixel (S204: Y), the control unit 30 selects the corresponding sub-scanning non-white pixel count value vcnt. Is incremented, and the sub-scanning non-white pixel count value vcnt is held in the memory (RAM) (S210).

副走査非白画素カウント値vcntは、必ずしも副走査方向1ライン分の全ての画素数まで数えられる必要は無く、後述する図9に示されたS228の「各カウント値を閾値Tvcntで2値化」するために必要と思われる値までカウントできればよい。例えば最大255までカウントする場合、必要なメモリ容量は、8bit×7000で済み、メモリの容量を削減できる。   The sub-scanning non-white pixel count value vcnt does not necessarily have to be counted up to the total number of pixels for one line in the sub-scanning direction, and “each count value is binarized with a threshold value Tvcnt” in S228 shown in FIG. It is only necessary to be able to count to a value that seems to be necessary for For example, when counting up to 255, the required memory capacity is 8 bits × 7000, and the memory capacity can be reduced.

S210が完了すると、次に白紙画像判定工程はS212に進み、制御部30は、白画素判定を実施した画素の入力画像に対する位置がラインの終端か否かを判定する。白画素判定を実施した画素の入力画像に対する位置がラインの終端で無い場合(S212:N)、白紙画像判定工程はS214に進み、白画素判定を実施する画素の位置が次の画素(ここでは1つ右隣の画素)へ移動する(図2に示されたS104に対応)。白紙画像判定工程はS202に戻り、制御部30は、次の画素(ここでは1つ右隣の画素)に対して非白画素判定を行う。白画素判定を実施した画素の入力画像に対する位置がラインの終端である場合(S212:Y)、白紙画像判定工程はS216に進む。   When S210 is completed, the blank image determination process proceeds to S212, and the control unit 30 determines whether the position of the pixel for which the white pixel determination has been performed is the end of the line. If the position of the pixel for which white pixel determination has been performed is not the end of the line (S212: N), the blank image determination step proceeds to S214, and the position of the pixel for which white pixel determination is to be performed is the next pixel (here, 1 pixel to the right) (corresponding to S104 shown in FIG. 2). The blank image determination process returns to S202, and the control unit 30 performs the non-white pixel determination for the next pixel (here, the pixel immediately adjacent to the right). When the position of the pixel subjected to the white pixel determination with respect to the input image is the end of the line (S212: Y), the blank image determination process proceeds to S216.

S216では、制御部30は、白画素判定を実施した画素の入力画像に対する位置がページの終端か否かを判定する(図2に示されたS108に対応)。白画素判定を実施した画素の入力画像に対する位置がページの終端で無い場合(S216:N)、白紙画像判定工程はS218に進み、白画素判定を実施する画素の位置が次のラインへ移動する。そして白紙画像判定工程はS202に戻り、制御部30は、次のラインの先頭の画素に対して非白画素判定を行う。   In S216, the control unit 30 determines whether or not the position of the pixel for which the white pixel determination is performed with respect to the input image is the end of the page (corresponding to S108 illustrated in FIG. 2). If the position of the pixel for which white pixel determination has been performed is not at the end of the page (S216: N), the blank image determination step proceeds to S218, and the position of the pixel for which white pixel determination is to be performed moves to the next line. . Then, the blank image determination process returns to S202, and the control unit 30 performs non-white pixel determination on the first pixel of the next line.

S202からS218を繰りかえすことにより、制御部30は、入力画像の全ての画素に対して非白画素判定を行う。ページの全ての画素の非白画素判定が完了し、白画素判定を実施した画素の入力画像に対する位置がページの終端である場合(S216:Y)、白紙画像判定工程は図9に示されたS220に進む。ページの全ての画素の非白画素判定が完了すると、全ての主走査方向のラインに対応する主走査非白画素カウント値hcntが、主走査方向のラインのそれぞれに対応したメモリ(RAM)の領域に保持される。また、全ての副走査方向のラインに対応する副走査非白画素カウント値vcntが、副走査方向のラインのそれぞれに対応したメモリ(RAM)の領域に保持される。   By repeating S202 to S218, the control unit 30 performs non-white pixel determination for all the pixels of the input image. When the non-white pixel determination of all the pixels of the page is completed and the position of the pixel for which the white pixel determination is performed with respect to the input image is the end of the page (S216: Y), the blank image determination process is shown in FIG. Proceed to S220. When the non-white pixel determination of all the pixels on the page is completed, the main scanning non-white pixel count value hcnt corresponding to all the lines in the main scanning direction is the memory (RAM) area corresponding to each line in the main scanning direction. Retained. Further, the sub-scanning non-white pixel count value vcnt corresponding to all the lines in the sub-scanning direction is held in a memory (RAM) area corresponding to each line in the sub-scanning direction.

次に、白紙画像判定工程は図9に示されたS220に進み、制御部30は、メモリ(RAM)に保持された主走査非白画素カウント値hcntを読み出す。例えば、画像サイズが横7000×縦5000画素であれば、制御部30は、5000個の主走査非白画素カウント値hcntの値を読み出す。   Next, the blank image determination process proceeds to S220 shown in FIG. 9, and the control unit 30 reads the main scanning non-white pixel count value hcnt held in the memory (RAM). For example, if the image size is 7000 × 5000 pixels, the control unit 30 reads 5000 main scanning non-white pixel count values hcnt.

次に、白紙画像判定工程はS222に進み、制御部30は、各主走査ラインの主走査非白画素カウント値hcntを2値化する。制御部30は、各主走査ラインの主走査非白画素カウント値hcntと主走査カウント閾値Thcntとを比較して各主走査ラインの主走査非白画素カウント値hcntを2値化する。制御部30は、主走査カウント閾値Thcntよりも主走査非白画素カウント値hcntが大きければ「1」、大きくなければ「0」をメモリ(RAM)に上書きする。非白画素カウント値の2値化の結果が「1」である主走査ラインは、非白ラインであり、非白画素カウント値の2値化の結果が「0」である主走査ラインは、非白ラインでない。   Next, the blank page image determination process proceeds to S222, and the control unit 30 binarizes the main scanning non-white pixel count value hcnt of each main scanning line. The control unit 30 compares the main scanning non-white pixel count value hcnt of each main scanning line with the main scanning count threshold Thcnt and binarizes the main scanning non-white pixel count value hcnt of each main scanning line. The control unit 30 overwrites “1” in the memory (RAM) if the main scanning non-white pixel count value hcnt is larger than the main scanning count threshold Thcnt, and “0” if not larger. The main scan line whose binarization result of the non-white pixel count value is “1” is a non-white line, and the main scan line whose binarization result of the non-white pixel count value is “0” is It is not a non-white line.

上述したように、入力画像の主走査ラインを対象とした非白ラインの判定は、非白画素カウント値の2値化を行うことにより実施される。例えば図5(a)において、入力画像Sの主走査ラインを対象とした非白ラインの判定結果SHは、非白画素カウント値の2値化の結果を示している。入力画像Sの主走査ラインを対象とした非白ラインの判定結果SHにおいて斜線で示した箇所は、非白画素カウント値の2値化の結果が「1」である箇所、すなわち非白ラインを示している。一方、入力画像Sの主走査ラインを対象とした非白ラインの判定結果SHにおいて白で示した箇所は、非白画素カウント値の2値化の結果が「0」である箇所、すなわち非白ラインでないラインを示している。   As described above, the determination of the non-white line for the main scanning line of the input image is performed by binarizing the non-white pixel count value. For example, in FIG. 5A, the non-white line determination result SH for the main scanning line of the input image S indicates the binarization result of the non-white pixel count value. In the non-white line determination result SH for the main scanning line of the input image S, the hatched portion is a portion where the result of binarization of the non-white pixel count value is “1”, that is, a non-white line. Show. On the other hand, in the determination result SH of the non-white line for the main scanning line of the input image S, the portion shown in white is the portion where the binarization result of the non-white pixel count value is “0”, that is, non-white. Indicates a line that is not a line.

引き続き図9を参照して、白紙画像判定工程の説明を続ける。白紙画像判定工程は、S222からS224へ進み、制御部30は、非白画素カウント値の2値化の結果が「1」であるラインの主走査最大連続数Hmaxを検出する。入力画像が入力画像Sの場合、主走査最大連続数Hmaxは、主走査非白ライン群H1で示す箇所における副走査方向の非白ラインの連続数である。入力画像が入力画像Tの場合、主走査最大連続数Hmaxは、入力画像Sのノート罫線の長さ分の画素数と等しい数である。   With continuing reference to FIG. 9, the description of the blank image determination process will be continued. The blank image determination process proceeds from S222 to S224, and the control unit 30 detects the main scanning maximum continuous number Hmax of a line whose binarization result of the non-white pixel count value is “1”. When the input image is the input image S, the main scanning maximum continuous number Hmax is the number of continuous non-white lines in the sub-scanning direction at the position indicated by the main scanning non-white line group H1. When the input image is the input image T, the main scanning maximum continuous number Hmax is equal to the number of pixels corresponding to the length of the note ruled line of the input image S.

次に、白紙画像判定工程は、S226に進み、制御部30は、メモリ(RAM)に保持された副走査非白画素カウント値vcntを読み出す。例えば、画像サイズが横7000×縦5000画素であれば、制御部30は、7000個の副走査非白画素カウント値vcntの値を読み出す。   Next, the blank image determination process proceeds to S226, and the control unit 30 reads the sub-scanning non-white pixel count value vcnt held in the memory (RAM). For example, if the image size is 7000 × 5000 pixels, the control unit 30 reads 7000 sub-scanning non-white pixel count values vcnt.

次に、白紙画像判定工程は、S228に進み、制御部30は、各副走査ラインの副走査非白画素カウント値vcntを2値化する。制御部30は、各副走査ラインの副走査非白画素カウント値vcntと副走査カウント閾値Tvcntとを比較して各副走査ラインの副走査非白画素カウント値vcntを2値化する。制御部30は、副走査カウント閾値Tvcntより副走査非白画素カウント値vcntが大きければ「1」、大きくなければ「0」をメモリ(RAM)に上書きする。非白画素カウント値の2値化の結果が「1」の副走査ラインは、非白ラインであり、非白画素カウント値の2値化の結果が「0」の副走査ラインは、非白ラインでない。   Next, the blank image determination process proceeds to S228, and the control unit 30 binarizes the sub-scanning non-white pixel count value vcnt of each sub-scanning line. The control unit 30 compares the sub-scanning non-white pixel count value vcnt of each sub-scanning line with the sub-scanning count threshold value Tvcnt and binarizes the sub-scanning non-white pixel count value vcnt of each sub-scanning line. The control unit 30 overwrites “1” in the memory (RAM) if the sub-scanning non-white pixel count value vcnt is larger than the sub-scanning count threshold Tvcnt, and “0” if it is not larger. A sub-scan line having a non-white pixel count value of “1” is a non-white line, and a sub-scan line having a non-white pixel count value of “0” is a non-white line. Not a line.

上述したように、入力画像の副走査ラインを対象とした非白ラインの判定は、非白画素カウント値の2値化を行うことにより実施される。例えば図5(a)において、入力画像Sの副走査ラインを対象とした非白ラインの非白画素カウント値の2値化の結果SVは、非白画素カウント値の2値化の結果を示している。入力画像Sの副走査ラインを対象とした非白ラインの判定結果SVにおいて斜線で示した箇所は、非白画素カウント値の2値化の結果が「1」である箇所、すなわち非白ラインを示している。一方、入力画像Sの副走査ラインを対象とした非白ラインの判定結果SVにおいて白で示した箇所は、非白画素カウント値の2値化の結果が「0」である箇所、すなわち非白ラインでないラインを示している。   As described above, the determination of the non-white line for the sub-scan line of the input image is performed by binarizing the non-white pixel count value. For example, in FIG. 5A, the binarization result SV of the non-white pixel count value of the non-white line for the sub-scan line of the input image S indicates the binarization result of the non-white pixel count value. ing. In the non-white line determination result SV for the sub-scan line of the input image S, the hatched portion indicates a portion where the binarization result of the non-white pixel count value is “1”, that is, a non-white line. Show. On the other hand, in the determination result SV of the non-white line for the sub-scan line of the input image S, the portion shown in white is a portion where the binarization result of the non-white pixel count value is “0”, that is, non-white. Indicates a line that is not a line.

引き続き図9を参照して、白紙画像判定工程の説明を続ける。白紙画像判定工程は、S228からS230へ進み、制御部30は、非白画素カウント値の2値化の結果が「1」であるラインの副走査最大連続数Vmaxを検出する。入力画像が入力画像Sの場合、副走査最大連続数Vmaxは、副走査最大連続数Vmaxは、副走査非白ライン群V1で示す箇所における主走査方向の非白ラインの連続数である。入力画像が入力画像Tの場合、副走査最大連続数Vmaxは、入力画像Sのノート罫線の幅分の画素数と等しい数である。   With continuing reference to FIG. 9, the description of the blank image determination process will be continued. The blank image determination process proceeds from S228 to S230, and the control unit 30 detects the maximum sub-scanning continuous number Vmax of the line whose binarization result of the non-white pixel count value is “1”. When the input image is the input image S, the maximum number of consecutive subscans Vmax is the maximum number of consecutive subscans Vmax, which is the number of consecutive nonwhite lines in the main scanning direction at the position indicated by the subscanned nonwhite line group V1. When the input image is the input image T, the sub-scanning maximum continuous number Vmax is equal to the number of pixels corresponding to the width of the note ruled line of the input image S.

次に、白紙画像判定工程はS232に進み、制御部30は、主走査最大連続数Hmaxと副走査最大連続数Vmaxとを比較し、主走査最大連続数Hmaxと副走査最大連続数Vmaxとのうち小さい方を最大連続数Nmaxとする(図3に示されたS120に対応)。   Next, the blank image determination step proceeds to S232, and the control unit 30 compares the main scanning maximum continuous number Hmax and the sub-scanning maximum continuous number Vmax, and determines the main scanning maximum continuous number Hmax and the sub-scanning maximum continuous number Vmax. The smaller one is set as the maximum continuous number Nmax (corresponding to S120 shown in FIG. 3).

次に、白紙画像判定工程はS234に進み、制御部30は、ページ内非白画素カウント値がページ閾値Tpageよりも大きいか否かを判定する。ページ内非白画素カウント値がページ閾値Tpageよりも大きい場合(S234:Y)、白紙画像判定工程はS236に進む。ページ内非白画素カウント値がページ閾値Tpageよりも大きくない場合(S234:N)、白紙画像判定工程はS240に進み、制御部30は、入力画像が白紙画像であると判定する。   Next, the blank image determination process proceeds to S234, and the control unit 30 determines whether or not the in-page non-white pixel count value is larger than the page threshold value Tpage. When the in-page non-white pixel count value is larger than the page threshold Tpage (S234: Y), the blank image determination process proceeds to S236. When the in-page non-white pixel count value is not larger than the page threshold value Tpage (S234: N), the blank image determination process proceeds to S240, and the control unit 30 determines that the input image is a blank image.

S236において、制御部30は、最大連続数Nmaxが幅閾値Twidthよりも大きいか否かを判定する。最大連続数Nmaxが幅閾値Twidthよりも大きい場合(S236:Y)、白紙画像判定工程はS238に進み、制御部30は、入力画像が白紙画像ではないと判定する。最大連続数Nmaxが幅閾値Twidthよりも大きくない場合(S236:N)、白紙画像判定工程はS240に進み、制御部30は、入力画像が白紙画像であると判定する。   In S236, the control unit 30 determines whether or not the maximum continuous number Nmax is greater than the width threshold value Twidth. When the maximum continuous number Nmax is larger than the width threshold value Twidth (S236: Y), the blank image determination process proceeds to S238, and the control unit 30 determines that the input image is not a blank image. If the maximum continuous number Nmax is not greater than the width threshold value Twidth (S236: N), the blank image determination process proceeds to S240, and the control unit 30 determines that the input image is a blank image.

以上、図8〜図11を参照してS200〜S240によって実行される白紙画像判定工程を説明した。   The blank image determination process executed in steps S200 to S240 has been described above with reference to FIGS.

図5および図8〜図11を参照して説明したように、画像読取装置10は、非白ラインであるか否かを判定する際に、主走査方向Xと副走査方向Yとのそれぞれに沿ったそれぞれのライン内に含まれる非白画素の数をカウントし(図8に示されたS208およびS210)、非白画素の数のカウント結果(主走査非白画素カウント値hcnt、副走査非白画素カウント値vcnt)と所定の閾値(主走査カウント閾値Thcnt、副走査カウント閾値Tvcnt)とを比較する(図9に示されたS222)。したがって、原稿Mや原稿台11などに付着したゴミなどの異物に起因する入力画像の汚れ(ノイズ)があった場合でも、所定の閾値(主走査カウント閾値Thcnt、副走査カウント閾値Tvcnt)の設定により白ラインであると判定することができる。その結果、入力画像の汚れ(ノイズ)があった場合に、白紙画像である入力画像を誤って白紙画像ではないと誤判定することを抑制することができる。   As described with reference to FIGS. 5 and 8 to 11, the image reading apparatus 10 determines whether the line is a non-white line in each of the main scanning direction X and the sub-scanning direction Y. The number of non-white pixels included in each line along the line is counted (S208 and S210 shown in FIG. 8), and the count result of the number of non-white pixels (main scanning non-white pixel count value hcnt, sub-scanning non- The white pixel count value vcnt) is compared with predetermined threshold values (main scanning count threshold value Thcnt, sub-scanning count threshold value Tvcnt) (S222 shown in FIG. 9). Therefore, even when there is dirt (noise) in the input image due to foreign matter such as dust attached to the document M or the document table 11, predetermined threshold values (main scanning count threshold value Thcnt, sub-scanning count threshold value Tvcnt) are set. Thus, it can be determined that the line is a white line. As a result, when there is dirt (noise) in the input image, it is possible to suppress erroneously determining that the input image, which is a blank image, is not a blank image.

また、制御部30は、入力画像のページ内非白画素をカウントすることにより、ページ内の非白画素カウント値を求め(図8に示されたS206)、ページ内非白画素カウント値と所定の閾値(ページ閾値Tpage)とを比較することにより、入力画像が白紙画像であるか否かを判定する(図9に示されたS234)。したがって、原稿Mや原稿台11などに付着したゴミなどの異物に起因する入力画像の汚れ(ノイズ)があった場合でも、所定の閾値(ページ閾値Tpage)の設定により入力画像を白紙画像と判定することができる。また、図9に示されたS236の判定の前に、ページ内の非白画素の数が少ない入力画像を白紙画像と判定することができる。   Further, the control unit 30 obtains the non-white pixel count value in the page by counting the non-white pixels in the page of the input image (S206 shown in FIG. 8), and determines the non-white pixel count value in the page and the predetermined value. Is compared with the threshold value (page threshold value Tpage) to determine whether or not the input image is a blank image (S234 shown in FIG. 9). Therefore, even when there is dirt (noise) in the input image due to foreign matter such as dust attached to the document M or the document table 11, the input image is determined to be a blank image by setting the predetermined threshold (page threshold Tpage). can do. Further, before the determination of S236 shown in FIG. 9, an input image with a small number of non-white pixels in the page can be determined as a blank image.

[画像読取方法の実施形態3]
図12〜図14を参照して本発明による画像読取装置10の更に他の実施形態を説明する。図12〜図14は、本発明の更に他の実施形態に係る画像読取装置10の動作を示すフローチャートである。図2および図3ならびに図8および図9に示されたフローチャートを用いた説明と重複する内容については詳細な説明を省略する。
[Embodiment 3 of Image Reading Method]
Still another embodiment of the image reading apparatus 10 according to the present invention will be described with reference to FIGS. 12 to 14 are flowcharts showing the operation of the image reading apparatus 10 according to still another embodiment of the present invention. Detailed description of the same contents as those described with reference to the flowcharts shown in FIGS. 2 and 3 and FIGS. 8 and 9 will be omitted.

図12に示されたS300〜S314は、図8に示されたS200〜S214に対応する。S300において、画像読取部20は、原稿Mを読み取り入力画像を取得する(図8に示されたS200に対応)。その後、S302において制御部30は非白画素判定を行う(図8に示されたS202に対応)。非白画素判定を行った画素が非白画素であれば(S304:Y)(図8に示されたS204:Yに対応)、S306において制御部30はページ内非白画素カウント値をインクリメントし(図8に示されたS206に対応)、S308において制御部30は主走査非白画素カウント値hcntをインクリメントし、S310において制御部30は副走査非白画素カウント値vcntをインクリメントし、副走査非白画素カウント値vcntをメモリに保持する(図8に示されたS210に対応)。非白画素判定を実施した画素の入力画像に対する位置がラインの終端でない場合(S312:N)、白紙画像判定工程はS314に進み、白画素判定を実施する画素の位置が次の画素へ移動する。白紙画像判定工程はS302に戻る。S302〜S314を繰り返すことにより制御部30は1ライン分の非白画素判定を行う。非白画素判定を実施した画素の入力画像に対する位置がラインの終端である場合(S312:Y)、白紙画像判定工程は図13に示されたS316に進む。   S300 to S314 illustrated in FIG. 12 correspond to S200 to S214 illustrated in FIG. In S300, the image reading unit 20 reads the document M and acquires an input image (corresponding to S200 shown in FIG. 8). Thereafter, in S302, the control unit 30 performs non-white pixel determination (corresponding to S202 illustrated in FIG. 8). If the pixel subjected to the non-white pixel determination is a non-white pixel (S304: Y) (corresponding to S204: Y shown in FIG. 8), the control unit 30 increments the non-white pixel count value in the page in S306. (Corresponding to S206 shown in FIG. 8), in S308, the control unit 30 increments the main scanning non-white pixel count value hcnt, and in S310, the control unit 30 increments the sub-scanning non-white pixel count value vcnt and performs sub-scanning. The non-white pixel count value vcnt is held in the memory (corresponding to S210 shown in FIG. 8). If the position of the pixel for which the non-white pixel determination is performed is not the end of the line (S312: N), the blank image determination process proceeds to S314, and the position of the pixel for which the white pixel determination is performed moves to the next pixel. . The blank paper image determination process returns to S302. By repeating S302 to S314, the control unit 30 performs non-white pixel determination for one line. When the position of the pixel for which the non-white pixel determination is performed with respect to the input image is the end of the line (S312: Y), the blank image determination process proceeds to S316 illustrated in FIG.

図13に示されたS316では、制御部30は、主走査ラインの主走査非白画素カウント値hcntを2値化する。例えば制御部30は、主走査非白画素カウント値hcntと主走査カウント閾値Thcntとを比較して主走査ラインの主走査非白画素カウント値hcntを2値化する。制御部30は、主走査カウント閾値Thcntよりも主走査非白画素カウント値hcntが大きければ「1」、大きくなければ「0」とする。   In S316 illustrated in FIG. 13, the control unit 30 binarizes the main scanning non-white pixel count value hcnt of the main scanning line. For example, the control unit 30 compares the main scanning non-white pixel count value hcnt with the main scanning count threshold Thcnt and binarizes the main scanning non-white pixel count value hcnt of the main scanning line. The control unit 30 sets “1” if the main scanning non-white pixel count value hcnt is larger than the main scanning count threshold Thcnt, and “0” if it is not larger.

次に、白紙画像判定工程はS318に進み、制御部30は、2値化の結果が「1」であるか否かを判定する。2値化の結果が「1」で無い場合(S318:N)、白紙画像判定工程はS322に進み、制御部30は、連続数カウンタをリセットする。2値化の結果が「1」である場合(S318:Y)、白紙画像判定工程はS320に進み、制御部30は、連続数カウンタをインクリメントする。   Next, the blank image determination process proceeds to S318, and the control unit 30 determines whether or not the binarization result is “1”. When the binarization result is not “1” (S318: N), the blank image determination process proceeds to S322, and the control unit 30 resets the continuous number counter. When the binarization result is “1” (S318: Y), the blank image determination process proceeds to S320, and the control unit 30 increments the continuous number counter.

S320が完了すると白紙画像判定工程はS324に進み、制御部30は、主走査非白ラインの連続数が最大値Hmaxを超えていれば最大値Hmaxを更新する。主走査非白ラインの連続数が最大値Hmaxを超えていなければ最大値Hmaxは変化しない。連続数カウンタの値の初期値は「0」であり、最大値Hmaxの初期値は「0」である。   When S320 is completed, the blank image determination process proceeds to S324, and the control unit 30 updates the maximum value Hmax if the number of continuous main scanning non-white lines exceeds the maximum value Hmax. If the number of continuous main scanning non-white lines does not exceed the maximum value Hmax, the maximum value Hmax does not change. The initial value of the continuous number counter value is “0”, and the initial value of the maximum value Hmax is “0”.

図5に示された入力画像Sの場合、最初連続数カウンタの値は「0」であり、最大値Hmaxは「0」である。最初のラインから主走査非白ライン群H1までは2値化の結果が「0」であるので、連続数カウンタの値は「0」のままであり、最大値Hmaxも「0」のままである。2値化の結果が「1」である主走査非白ライン群H1の領域の最初のラインに2値化の処理が到達すると、制御部30は、連続数のカウンタを1ライン毎にインクリメントし、最大値Hmaxを1ライン毎に更新する。主走査非白ライン群H1の領域の最後のラインまで、制御部30は、連続数カウンタのインクリメントと最大値Hmaxの更新を繰り返し実行する。2値化の処理が主走査非白ライン群H1の領域を過ぎると、2値化の結果が「0」となり、制御部30は、連続数カウンタをリセットし連続数カウンタの値は「0」となる。再び2値化の結果が「1」である主走査非白ライン群H2の領域の最初のラインに2値化の処理が到達すると、制御部30は、再び連続数カウンタを1ライン毎にインクリメントする。主走査非白ライン群H2の領域の最後のラインまで、制御部30は、連続数カウンタのインクリメントを繰り返す。しかし、連続数カウンタの値は最大値Hmaxを超えないため、制御部30は、最大値Hmaxを更新しない。最終ラインまで処理が完了すると、最終的な最大値Hmaxが決定する。   In the case of the input image S shown in FIG. 5, the value of the initial continuous number counter is “0”, and the maximum value Hmax is “0”. Since the binarization result is “0” from the first line to the main scanning non-white line group H1, the value of the continuous number counter remains “0” and the maximum value Hmax also remains “0”. is there. When the binarization process reaches the first line in the region of the main scanning non-white line group H1 whose binarization result is “1”, the control unit 30 increments the continuous number counter for each line. The maximum value Hmax is updated for each line. Until the last line of the main scanning non-white line group H1, the control unit 30 repeatedly executes increment of the continuous number counter and update of the maximum value Hmax. When the binarization process passes the region of the main scanning non-white line group H1, the binarization result becomes “0”, the control unit 30 resets the continuous number counter, and the value of the continuous number counter is “0”. It becomes. When the binarization process arrives at the first line of the main scanning non-white line group H2 where the binarization result is “1” again, the control unit 30 increments the continuous number counter again for each line. To do. The control unit 30 repeats incrementing the continuous number counter until the last line in the region of the main scanning non-white line group H2. However, since the value of the continuous number counter does not exceed the maximum value Hmax, the control unit 30 does not update the maximum value Hmax. When the process is completed up to the final line, the final maximum value Hmax is determined.

引き続き図13を参照して、白紙画像判定工程を説明する。S322が完了またはS324が完了すると白紙画像判定工程はS326に進み、制御部30は、主走査非白画素カウント値hcntをクリアする。   With reference to FIG. 13, the blank image determination process will be described. When S322 is completed or S324 is completed, the blank image determination process proceeds to S326, and the control unit 30 clears the main scanning non-white pixel count value hcnt.

S326が完了すると白紙画像判定工程はS328に進み、制御部30は、非白画素判定を実施した画素の入力画像に対する位置がページの終端か否かを判定する(図2に示されたS108に対応)。非白画素判定を実施した画素の入力画像に対する位置がページの終端で無い場合(S328:N)、白紙画像判定工程はS330に進み、白画素判定を実施する画素の位置が次のラインへ移動する。そして白紙画像判定工程は図12に示されたS302に戻り、制御部30は、次のラインの先頭の画素に対して非白画素判定を行う。非白画素判定を実施した画素の入力画像に対する位置がページの終端である場合(S328:Y)、白紙画像判定工程は図14に示されたS332に進む。   When S326 is completed, the blank image determination process proceeds to S328, and the control unit 30 determines whether or not the position of the pixel for which the non-white pixel determination is performed with respect to the input image is the end of the page (in S108 shown in FIG. 2). Correspondence). If the position of the pixel for which the non-white pixel determination has been performed is not at the end of the page (S328: N), the blank image determination process proceeds to S330, and the position of the pixel for which the white pixel determination is performed moves to the next line. To do. Then, the blank image determination process returns to S302 shown in FIG. 12, and the control unit 30 performs the non-white pixel determination for the head pixel of the next line. When the position of the pixel for which the non-white pixel determination is performed with respect to the input image is the end of the page (S328: Y), the blank page image determination process proceeds to S332 shown in FIG.

図14に示されたS332において、制御部30は、メモリ(RAM)に保持された副走査非白画素カウント値vcntを読み出す(図9に示されたS226に対応)。例えば、画像サイズが横7000×縦5000画素であれば、制御部30は、7000個の副走査非白画素カウント値vcntの値を読み出す。   In S332 illustrated in FIG. 14, the control unit 30 reads the sub-scanning non-white pixel count value vcnt held in the memory (RAM) (corresponding to S226 illustrated in FIG. 9). For example, if the image size is 7000 × 5000 pixels, the control unit 30 reads 7000 sub-scanning non-white pixel count values vcnt.

次に、白紙画像判定工程がS334に進み、制御部30は、各副走査ラインの副走査非白画素カウント値vcntを2値化する。制御部30は、各副走査ラインの副走査非白画素カウント値vcntと副走査カウント閾値Tvcntとを比較して各副走査ラインの副走査非白画素カウント値vcntを2値化する。制御部30は、副走査カウント閾値Tvcntよりも副走査非白画素カウント値vcntが大きければ「1」、大きくなければ「0」をメモリ(RAM)に上書きする(図9に示されたS228に対応)。   Next, the blank page image determination process proceeds to S334, and the control unit 30 binarizes the sub-scanning non-white pixel count value vcnt of each sub-scanning line. The control unit 30 compares the sub-scanning non-white pixel count value vcnt of each sub-scanning line with the sub-scanning count threshold value Tvcnt and binarizes the sub-scanning non-white pixel count value vcnt of each sub-scanning line. The control unit 30 overwrites “1” in the memory (RAM) if the sub-scanning non-white pixel count value vcnt is larger than the sub-scanning count threshold Tvcnt, and “0” if it is not larger (S228 shown in FIG. 9). Correspondence).

次に、白紙画像判定工程はS336へ進み、制御部30は、非白画素カウント値の2値化の結果が「1」であるラインの副走査最大連続数Vmaxを検出する(図9のS230に対応)。   Next, the blank image determination process proceeds to S336, and the control unit 30 detects the maximum sub-scanning continuous number Vmax of a line whose binarization result of the non-white pixel count value is “1” (S230 in FIG. 9). Corresponding).

次に、白紙画像判定工程はS338に進み、制御部30は、主走査最大連続数Hmaxと副走査最大連続数Vmaxとを比較し、主走査最大連続数Hmaxと副走査最大連続数Vmaxとのうち小さい方を最大連続数Nmaxとする(図3に示されたS120に対応)。   Next, the blank image determination step proceeds to S338, and the control unit 30 compares the main scanning maximum continuous number Hmax and the sub-scanning maximum continuous number Vmax, and calculates the main-scanning maximum continuous number Hmax and the sub-scanning maximum continuous number Vmax. The smaller one is set as the maximum continuous number Nmax (corresponding to S120 shown in FIG. 3).

次に、白紙画像判定工程はS340に進み、制御部30は、ページ内非白画素カウント値がページ閾値Tpageよりも大きいか否かを判定する(図9に示されたS234に対応)。最大連続数Nmaxがページ閾値Tpageよりも大きい場合(S340:Y)、白紙画像判定工程はS344に進む。ページ内非白画素カウント値がページ閾値Tpageよりも大きくない場合(S340:N)、白紙画像判定工程はS346に進み、制御部30は、入力画像が白紙画像であると判定する(図9に示されたS240に対応)。   Next, the blank image determination process proceeds to S340, and the control unit 30 determines whether or not the in-page non-white pixel count value is larger than the page threshold value Tpage (corresponding to S234 shown in FIG. 9). When the maximum continuous number Nmax is larger than the page threshold Tpage (S340: Y), the blank page image determination process proceeds to S344. When the in-page non-white pixel count value is not larger than the page threshold value Tpage (S340: N), the blank image determination process proceeds to S346, and the control unit 30 determines that the input image is a blank image (see FIG. 9). Corresponding to indicated S240).

S342において、制御部30は、最大連続数Nmaxが幅閾値Twidthよりも大きいか否かを判定する(図9に示されたS236に対応)。最大連続数Nmaxが幅閾値Twidthよりも大きい場合(S342:Y)、白紙画像判定工程はS344に進み、制御部30は、入力画像が白紙画像ではないと判定する。最大連続数Nmaxが幅閾値Twidthよりも大きくない場合(S342:N)、白紙画像判定工程はS346に進み、制御部30は、入力画像が白紙画像であると判定する。   In S342, the control unit 30 determines whether or not the maximum continuous number Nmax is larger than the width threshold value Twidth (corresponding to S236 illustrated in FIG. 9). When the maximum continuous number Nmax is larger than the width threshold value Twidth (S342: Y), the blank image determination process proceeds to S344, and the control unit 30 determines that the input image is not a blank image. When the maximum continuous number Nmax is not greater than the width threshold value Twidth (S342: N), the blank image determination process proceeds to S346, and the control unit 30 determines that the input image is a blank image.

図13に示されたS316〜S326を参照して説明したように、制御部30は、主走査方向1ラインごとに主走査非白画素カウント値の2値化および主走査非白ラインの連続数の検出を行い、主走査最大連続数を更新していく。したがって、主走査非白画素カウント値をメモリに保持しておく必要が無い。その結果、メモリを削減することができる。   As described with reference to S316 to S326 shown in FIG. 13, the control unit 30 binarizes the main scanning non-white pixel count value for each line in the main scanning direction and the number of consecutive main scanning non-white lines. And the maximum number of continuous main scans is updated. Therefore, it is not necessary to store the main scanning non-white pixel count value in the memory. As a result, the memory can be reduced.

図15は、ヘッダー付きの入力画像Uの一例を示す模式図である。入力画像Uは、右上のヘッダー部分に、「No.」を示すデータや「Date」を示すデータ等の文字を示すデータを含んでいる。入力画像Uを白紙画像として検出するためには、「No.」や「Date」等の文字を示すデータの幅分の画素よりも、幅閾値Twidthを大きく設定すればよい。もしくは、ヘッダー部分を除くエリアのみで、白紙画像であるか否かを判定するようにしてもよい。   FIG. 15 is a schematic diagram illustrating an example of an input image U with a header. The input image U includes data indicating characters such as data indicating “No.” and data indicating “Date” in the upper right header portion. In order to detect the input image U as a blank image, the width threshold value Twidth may be set larger than the pixels corresponding to the width of the data indicating characters such as “No.” and “Date”. Alternatively, it may be determined whether or not the image is a blank image only in the area excluding the header portion.

本発明の画像読取装置は、白紙検出機能を備えた画像読取装置に好適に用いられる。   The image reading apparatus of the present invention is suitably used for an image reading apparatus having a blank sheet detection function.

M 原稿
S、T、U 入力画像
X 主走査方向
Y 副走査方向
N 非白画素
W 白画素
SH、TH 主走査ラインの非白ラインの判定結果
SV、TV 副走査ラインの非白ラインの判定結果
H1、H2 主走査非白ライン群
V1、V2、V3 副走査非白ライン群
hcnt 主走査非白画素カウント値
vcnt 副走査非白画素カウント値
Hmax 主走査最大連続数
Vmax 副走査最大連続数
Nmax 最大連続数
Tw 非白画素判定閾値
Thcnt 主走査カウント閾値
Tvcnt 副走査カウント閾値
Tpage ページ閾値
Twidth 幅閾値
10 画像読取装置
20 画像読取部
21 光源
23a、23b、23c 反射ミラー
24a 第1キャリッジ
24b 第2キャリッジ
25 レンズ
26 光学系
27 撮像部
30 制御部
41 自動原稿送り装置
42 載置台
43 ピックアップローラ
44a、44b 搬送ローラ
45 原稿搬送路
46 排紙台
51 感光ドラム
52 現像部
53 転写部
54 給紙部
55 搬送ベルト
56 排紙部
57 印刷部
M Original S, T, U Input image X Main scanning direction Y Sub scanning direction N Non-white pixel W White pixel SH, TH Non-white line determination result SV of main scanning line, Non-white line determination result of TV sub-scanning line H1, H2 Main scan non-white line group V1, V2, V3 Sub-scan non-white line group hcnt Main-scan non-white pixel count value vcnt Sub-scan non-white pixel count value Hmax Main-scan maximum continuous number Vmax Sub-scan maximum continuous number Nmax Maximum Continuous number Tw Non-white pixel determination threshold Thcnt Main scanning count threshold Tvcnt Sub scanning count threshold Tpage Page threshold Twidth Width threshold 10 Image reading device 20 Image reading unit 21 Light sources 23a, 23b, 23c Reflection mirror 24a First carriage 24b Second carriage 25 Lens 26 Optical system 27 Imaging unit 30 Control unit 41 Automatic document feeder 42 Placement table 43 Click-up roller 44a, 44b feeding roller 45 the document feed path 46 discharge tray 51 and the photosensitive drum 52 the developing unit 53 transfer section 54 sheet feeding unit 55 the conveyor belt 56 the paper output unit 57 the printing unit

Claims (11)

原稿を読み取って入力画像を得る画像読取部と、
制御部と
を備え、
前記入力画像は前記原稿の主走査方向と副走査方向とに沿って配列される複数の画素によって形成され、
前記制御部は、
前記主走査方向の非白ラインの連続数の最大値である主走査最大連続数と前記副走査方向の非白ラインの連続数の最大値である副走査最大連続数とに基づいて、前記入力画像が白紙画像であるか否かを判定する、画像読取装置。
An image reading unit that reads an original and obtains an input image;
A control unit,
The input image is formed by a plurality of pixels arranged along the main scanning direction and the sub-scanning direction of the document,
The controller is
The input based on a maximum main scanning number of continuous non-white lines in the main scanning direction and a maximum sub scanning number of continuous non-white lines in the sub-scanning direction. An image reading apparatus that determines whether an image is a blank image.
前記制御部は、前記入力画像が白紙画像であるか否かを判定する際に、
前記主走査最大連続数および前記副走査最大連続数のうちの小さい方の値と所定の閾値とを比較する、請求項1に記載の画像読取装置。
The control unit determines whether or not the input image is a blank image.
The image reading apparatus according to claim 1, wherein a smaller value of the maximum number of continuous main scans and the maximum number of continuous subscans is compared with a predetermined threshold.
前記制御部は、
前記入力画像の前記複数の画素のそれぞれが非白画素か否かを判定し、
前記主走査方向と前記副走査方向とのそれぞれに沿ったそれぞれのラインが、前記非白画素と判定された少なくとも1つの画素を含む非白ラインであるか否かを判定し、
前記非白ラインの連続数をカウントすることにより、前記主走査最大連続数と前記副走査最大連続数とを算出する、請求項1または請求項2に記載の画像読取装置。
The controller is
Determining whether each of the plurality of pixels of the input image is a non-white pixel;
Determining whether each line along each of the main scanning direction and the sub-scanning direction is a non-white line including at least one pixel determined to be the non-white pixel;
The image reading apparatus according to claim 1, wherein the main scanning maximum continuous number and the sub-scanning maximum continuous number are calculated by counting the number of continuous non-white lines.
前記制御部は、前記非白ラインであるか否かを判定する際に、
前記主走査方向と前記副走査方向とのそれぞれに沿ったそれぞれのライン内に含まれる前記非白画素の数をカウントし、
前記非白画素の数のカウント結果と所定の閾値とを比較する、請求項3に記載の画像読取装置。
When determining whether the control unit is the non-white line,
Counting the number of non-white pixels included in each line along each of the main scanning direction and the sub-scanning direction;
The image reading apparatus according to claim 3, wherein the count result of the number of non-white pixels is compared with a predetermined threshold value.
前記制御部は、前記複数の画素のそれぞれが前記非白画素か否かを判定する際に、
前記入力画像の前記複数の画素のそれぞれの濃度データまたは輝度データと、所定の閾値とを比較する、請求項3または請求項4に記載の画像読取装置。
When the controller determines whether each of the plurality of pixels is the non-white pixel,
The image reading apparatus according to claim 3, wherein density data or luminance data of each of the plurality of pixels of the input image is compared with a predetermined threshold value.
前記制御部は、
前記主走査方向1ラインごとに前記非白画素の数のカウント結果と所定の閾値とを比較することにより、前記主走査方向に沿ったそれぞれのラインが、前記非白ラインであるか否かを判定した結果、
前記主走査方向に沿ったそれぞれのラインを前記非白ラインであると判定した場合、連続数カウンタをインクリメントし、前記非白ラインでないと判定した場合、前記連続数カウンタをリセットする、請求項3から請求項5のうちのいずれか1項に記載の画像読取装置。
The controller is
By comparing the count result of the number of non-white pixels for each line in the main scanning direction with a predetermined threshold value, it is determined whether or not each line along the main scanning direction is the non-white line. Judgment result,
The continuous number counter is incremented when it is determined that each line along the main scanning direction is the non-white line, and the continuous number counter is reset when it is determined that the line is not the non-white line. The image reading apparatus according to claim 1.
前記制御部は、前記入力画像のページ内非白画素をカウントすることにより、ページ内非白画素カウント値を求め、前記ページ内非白画素カウント値と所定の閾値とを比較することにより、前記入力画像が白紙画像であるか否かを判定する、請求項3から請求項6のうちのいずれか1項に記載の画像読取装置。   The control unit obtains an in-page non-white pixel count value by counting non-white pixels in the page of the input image, and compares the in-page non-white pixel count value with a predetermined threshold value, thereby The image reading apparatus according to claim 3, wherein it is determined whether the input image is a blank image. 前記制御部は、前記入力画像が所定のエリア内で白紙画像であるか否かを判定する、請求項1から請求項7のうちのいずれか1項に記載の画像読取装置。   The image reading apparatus according to claim 1, wherein the control unit determines whether or not the input image is a blank image within a predetermined area. 請求項1から請求項8のうちの1項に記載の画像読取装置と、印刷部とを備える、画像形成装置。   An image forming apparatus comprising: the image reading apparatus according to claim 1; and a printing unit. 前記印刷部は、前記白紙画像を除いた前記入力画像に対応する前記原稿を印刷する、請求項9に記載の画像形成装置。   The image forming apparatus according to claim 9, wherein the printing unit prints the document corresponding to the input image excluding the blank image. 原稿を読み取って主走査方向と副走査方向とに沿って配列される複数の画素によって形成される入力画像を得る画像読取工程と、
前記主走査方向の非白ラインの連続数の最大値である主走査最大連続数と前記副走査方向の非白ラインの連続数の最大値である副走査最大連続数とに基づいて、前記入力画像が白紙画像であるか否かを判定する白紙画像判定工程と
を包含する、画像読取方法。
An image reading step of reading an original to obtain an input image formed by a plurality of pixels arranged along the main scanning direction and the sub-scanning direction;
The input based on a maximum main scanning number of continuous non-white lines in the main scanning direction and a maximum sub scanning number of continuous non-white lines in the sub-scanning direction. A blank image determination step of determining whether or not the image is a blank image.
JP2013014591A 2013-01-29 2013-01-29 Image reading apparatus, image forming apparatus, and image reading method Active JP5883805B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013014591A JP5883805B2 (en) 2013-01-29 2013-01-29 Image reading apparatus, image forming apparatus, and image reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013014591A JP5883805B2 (en) 2013-01-29 2013-01-29 Image reading apparatus, image forming apparatus, and image reading method

Publications (2)

Publication Number Publication Date
JP2014146981A true JP2014146981A (en) 2014-08-14
JP5883805B2 JP5883805B2 (en) 2016-03-15

Family

ID=51426903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013014591A Active JP5883805B2 (en) 2013-01-29 2013-01-29 Image reading apparatus, image forming apparatus, and image reading method

Country Status (1)

Country Link
JP (1) JP5883805B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10375261B2 (en) 2016-12-02 2019-08-06 Kyocera Document Solutions, Inc. Image scanning apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61114651A (en) * 1984-11-09 1986-06-02 Fujitsu Ltd Facsimile equipment
JPH10229484A (en) * 1997-02-12 1998-08-25 Oki Data:Kk Image reader
JP2010068227A (en) * 2008-09-10 2010-03-25 Ricoh Co Ltd Image processor and image processing method
JP2012209714A (en) * 2011-03-29 2012-10-25 Brother Ind Ltd Image reader

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61114651A (en) * 1984-11-09 1986-06-02 Fujitsu Ltd Facsimile equipment
JPH10229484A (en) * 1997-02-12 1998-08-25 Oki Data:Kk Image reader
JP2010068227A (en) * 2008-09-10 2010-03-25 Ricoh Co Ltd Image processor and image processing method
JP2012209714A (en) * 2011-03-29 2012-10-25 Brother Ind Ltd Image reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10375261B2 (en) 2016-12-02 2019-08-06 Kyocera Document Solutions, Inc. Image scanning apparatus

Also Published As

Publication number Publication date
JP5883805B2 (en) 2016-03-15

Similar Documents

Publication Publication Date Title
US10356252B2 (en) Image reading apparatus, image forming apparatus, image reading method, and non-transitory storage medium that generate abnormal pixel information based on received information
JP6849322B2 (en) Image reader, image forming device
US8018631B2 (en) Original reading device and image forming apparatus
JP3695163B2 (en) Image forming apparatus
JP6338469B2 (en) Image processing apparatus and image processing method
JP2011151687A (en) Image reading apparatus, method of controlling the same, and program
JP2012054816A (en) Image reading device, image formation device, and shading correction method
JP2015211446A (en) Image processing device, image reading device, image processing method and image processing program
JP3706800B2 (en) Image processing system, method, and storage medium
US8947749B2 (en) Image reading apparatus, control method of image reading apparatus, and storage medium
JP5883805B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP2015198327A (en) Image reading device, image reading method, and computer program
US9531912B2 (en) Image processing apparatus and image processing method
JP3671682B2 (en) Image recognition device
JP6123540B2 (en) Processing apparatus, document reading apparatus, and image forming apparatus
US10477071B2 (en) Image processing apparatus and image processing method in which color and monochrome images are distinguished
JP2008193553A (en) Original reader
JP2021100220A (en) Image processing device and image processing method
JP2011259008A (en) Image reading device, image processing device, image reading method and program
JP2008028698A (en) Image reading apparatus and image reading method
JP2017201755A (en) Reading device
JP2017092561A (en) Image reading device and image reading method
JP2020077959A (en) Image reading device, image reading method, and program
JP2010245688A (en) Document reader
JP2015133598A (en) Image reading apparatus, and control method and program of the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160208

R150 Certificate of patent or registration of utility model

Ref document number: 5883805

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150