JP5617502B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP5617502B2
JP5617502B2 JP2010221930A JP2010221930A JP5617502B2 JP 5617502 B2 JP5617502 B2 JP 5617502B2 JP 2010221930 A JP2010221930 A JP 2010221930A JP 2010221930 A JP2010221930 A JP 2010221930A JP 5617502 B2 JP5617502 B2 JP 5617502B2
Authority
JP
Japan
Prior art keywords
image
unit
image processing
read data
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010221930A
Other languages
Japanese (ja)
Other versions
JP2012080233A (en
Inventor
享嗣 山田
享嗣 山田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2010221930A priority Critical patent/JP5617502B2/en
Publication of JP2012080233A publication Critical patent/JP2012080233A/en
Application granted granted Critical
Publication of JP5617502B2 publication Critical patent/JP5617502B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)

Description

本発明は、原稿の画像を読み取る画像読取装置に関し、詳しくは、原稿が白紙である場合に検知可能な画像読取装置に関する。   The present invention relates to an image reading apparatus that reads an image of an original, and more particularly to an image reading apparatus that can be detected when the original is a blank sheet.

従来、原稿の画像を読み取る画像読取装置では、白紙原稿を読み取った場合、そのことを検知することが提案されている。例えば、予め設定された所定濃度以上の画素の数が閾値未満の場合にその原稿を白紙と判断するのである。その場合、上記閾値を適切に設定する必要がある。そこで、使用者が白紙として検知したくない原稿を画像読取装置に読み取らせ、その読取データに基づいて当該画像読取装置が上記閾値を設定することが提案されている(例えば、特許文献1参照)。   Conventionally, it has been proposed that an image reading apparatus that reads an image of a document detects that when a blank document is read. For example, when the number of pixels having a predetermined density or higher that is set in advance is less than a threshold value, the document is determined to be blank. In that case, it is necessary to appropriately set the threshold value. In view of this, it has been proposed that the user scans an original that the user does not want to detect as a blank sheet, and the image reading apparatus sets the threshold based on the read data (see, for example, Patent Document 1). .

特開2008−22275号公報JP 2008-22275 A

一方、従来の画像読取装置では、原稿が適切な明るさやコントラストで読み取られるように、使用者がガンマ補正等の画像処理に関するパラメータを設定することがなされている。しかしながら、上記特許文献1では、原稿が白紙でないと判断された場合にのみガンマ補正等の画像処理を実行しており(例えば段落0023)、白紙検知には使用者の上記設定が反映されない。   On the other hand, in a conventional image reading apparatus, a user sets parameters related to image processing such as gamma correction so that an original can be read with appropriate brightness and contrast. However, in Patent Document 1, image processing such as gamma correction is executed only when it is determined that the document is not blank (for example, paragraph 0023), and the above settings of the user are not reflected in blank page detection.

そこで、本発明は、使用者による画像処理の設定を白紙検知に反映させることにより、適切に白紙検知を行うことのできる画像読取装置の提供を目的としてなされた。   In view of the above, an object of the present invention is to provide an image reading apparatus capable of appropriately detecting a blank page by reflecting the setting of image processing by the user to the blank page detection.

上記目的を達するためになされた本発明は、原稿の画像を読み取る読取部と、該読取部が読み取った読取データから、所定濃度以上の画素の数を計数する計数部と、該計数部の計数値が、予め記憶された白紙検知用の閾値未満であるとき、上記原稿が白紙であると判断する白紙検知部と、を備えた画像読取装置であって、上記読取部が読み取った読取データに、画質に関わる画像処理を行う画像処理部と、使用者の操作に応じて上記画像処理部による画像処理の設定を行う画像処理設定部と、上記画像処理部による画像処理後の読取データを出力する出力部と、上記画像処理設定部によってなされた設定が、画素の濃度を低下させるものであるか否かを判断する判断部と、を備え、上記判断部が上記低下させるものであると判断した場合、上記計数部は、上記画像処理部による画像処理前の読取データから上記画素の数を計数し、上記白紙検知部は、その計数値に基づいて上記判断を行い、上記判断部が上記低下させるものではないと判断した場合、上記計数部は、上記画像処理部による画像処理後の読取データから上記画素の数を計数し、上記白紙検知部は、その計数値に基づいて上記判断を行うことを特徴としている。 In order to achieve the above object, the present invention includes a reading unit that reads an image of a document, a counting unit that counts the number of pixels having a predetermined density or more from the reading data read by the reading unit, and a total of the counting unit. When the numerical value is less than a threshold value for blank sheet detection stored in advance, the image reading apparatus includes a blank sheet detection unit that determines that the document is blank. An image processing unit that performs image processing related to image quality, an image processing setting unit that sets image processing by the image processing unit in response to a user's operation, and outputs read data after image processing by the image processing unit And a determination unit that determines whether or not the setting made by the image processing setting unit is to reduce the density of a pixel, and the determination unit determines that the reduction is performed If you The counting unit counts the number of pixels from the read data before image processing by the image processing unit, the blank sheet detection unit makes the determination based on the counted value, and the determination unit does not reduce the value. If it is determined that there is not, the counting unit counts the number of pixels from the read data after the image processing by the image processing unit, and the blank sheet detection unit makes the determination based on the count value. It is said.

このように構成された本発明の画像読取装置では、原稿の画像を読み取る読取部が読み取った読取データに、画像処理部が画質に関わる画像処理を行う。なお、この画像処理の設定は、使用者の操作に応じて画像処理設定部を介してなされる。そして、出力部は、上記画像処理後の読取データを出力する。また、計数部は、画像処理設定部によってなされた設定が画像の濃度を低下させるものではないと判断部が判断した場合、上記画像処理後の読取データから、所定濃度以上の画素の数を計数する。すると、その計数部の計数値が、予め記憶された白紙検知用の閾値未満であるとき、白紙検知部は、上記原稿が白紙であると判断する。従って、本発明では、使用者による画像処理の設定を白紙検知に反映させることにより、適切に白紙検知を行うことができる。 In the image reading apparatus of the present invention configured as described above, the image processing unit performs image processing related to image quality on the read data read by the reading unit that reads the image of the document. This image processing setting is made via an image processing setting unit in accordance with a user operation. The output unit outputs the read data after the image processing. The counting unit counts the number of pixels having a predetermined density or more from the read data after the image processing when the determination unit determines that the setting made by the image processing setting unit does not reduce the image density. To do. Then, when the count value of the counting unit is less than the threshold value for blank sheet detection stored in advance, the blank sheet detection unit determines that the document is blank. Therefore, according to the present invention, it is possible to appropriately detect the blank page by reflecting the setting of the image processing by the user to the blank page detection.

なお、上記出力とは、画像形成装置内部のメモリ等に記憶する処理であっても、画像形成装置の外部にデータとして出力する処理であっても、読取データに対応する画像を被記録媒体に形成する処理であっても、それ以外の処理であってもよい。   Note that the above-described output is a process of storing data in a memory or the like inside the image forming apparatus, or a process of outputting the data as data to the outside of the image forming apparatus. Even if it is a process to form, it may be other processes.

また、上記判断部が上記低下させるものであると判断した場合、上記計数部は、上記画像処理部による画像処理前の読取データから上記画素の数を計数する。 Also, if the upper Symbol decisions unit is determined to be one that reduces the, the counting unit counts the number of the pixels from the image processing before reading the data by the image processing unit.

画像の濃度を低下させる画像処理を行うと、原稿が白紙であると判断される可能性が高くなる。そして、その場合、画像が記載されている原稿として読み取らせたい原稿までも白紙と判断される可能性が生じる。そこで、上記画像処理設定部によってなされた設定が画素の濃度を低下させるものであると、判断部が判断した場合、上記計数部は、上記画像処理部による画像処理前の読取データから上記画素の数を計数する。従って、この場合、画像が記載されている原稿として読み取らせたい原稿まで白紙と判断されてしまうのを抑制することができる。なお、上記判断部が上記低下させるものではないと判断した場合は、前述のように、上記計数部は、上記画像処理部による画像処理後の読取データから上記画素の数を計数すればよい。   When image processing for reducing the image density is performed, there is a high possibility that the document is determined to be blank. In that case, there is a possibility that even a document to be read as a document on which an image is described is determined to be a blank sheet. Therefore, when the determination unit determines that the setting made by the image processing setting unit is to reduce the density of the pixel, the counting unit calculates the pixel from the read data before the image processing by the image processing unit. Count the number. Therefore, in this case, it is possible to suppress the determination that a document to be read as a document on which an image is written is blank. When the determination unit determines that the reduction is not performed, as described above, the counting unit may count the number of pixels from the read data after the image processing by the image processing unit.

上記画質に関わる画像処理としても、種々の形態が考えられる。例えば、画像の明るさを調整するガンマ補正であってもよく、画像のコントラストを調整するガンマ補正であってもよく、画像の拡大または縮小を行う処理であってもよい。   Various forms of image processing relating to the image quality can be considered. For example, it may be gamma correction for adjusting the brightness of the image, gamma correction for adjusting the contrast of the image, or processing for enlarging or reducing the image.

本発明が適用された複合機の構成を表す斜視図である。1 is a perspective view illustrating a configuration of a multifunction machine to which the present invention is applied. その複合機の制御系の構成を表すブロック図である。It is a block diagram showing the structure of the control system of the multifunction machine. その制御系で用いられるγテーブルを表す説明図である。It is explanatory drawing showing the gamma table used with the control system. 上記複合機のスキャン設定画面を表す説明図である。It is explanatory drawing showing the scan setting screen of the said multifunctional device. 上記γテーブルによるγ補正及び実施の形態の効果を表す説明図である。It is explanatory drawing showing the effect of (gamma) correction by the said (gamma) table, and embodiment. 上記制御系の画像読取処理を表すフローチャートである。It is a flowchart showing the image reading process of the said control system. その画像読取処理の画質設定処理を詳細に表すフローチャートである。It is a flowchart showing the image quality setting process of the image reading process in detail. その画質設定処理の読取γ処理を表すフローチャートである。It is a flowchart showing the reading γ process of the image quality setting process. その画質設定処理の強調フィルタ・拡大縮小処理を表すフローチャートである。It is a flowchart showing the emphasis filter / enlargement / reduction process of the image quality setting process.

[複合機の構成]
次に、本発明の実施の形態を図面と共に説明する。図1は、本発明が適用された複合機1の構成を表す斜視図である。図1に示すように、本実施の形態の複合機1は、後述の記録用エンジン51(図2参照)を内蔵したプリンタ部5の上部に、本発明の画像読取装置の一例としてのスキャナ部10を積載して構成されている。
[Configuration of MFP]
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view illustrating a configuration of a multifunction machine 1 to which the present invention is applied. As shown in FIG. 1, the multifunction device 1 according to the present embodiment includes a scanner unit as an example of an image reading apparatus according to the present invention on an upper part of a printer unit 5 including a recording engine 51 (see FIG. 2) described later. 10 is loaded.

スキャナ部10は、本等の厚手の原稿を読み取る際に原稿が載置されるフラットベッド部20と、そのフラットベッド部20に開閉可能に設けられ、ADF(Automatic Document Feeder )を内蔵した原稿カバー30とを備えている。また、フラットベッド部20の前端(使用者から見て手前側)には、表示部23を中心に備えると共に各種ボタンを備えた操作パネル21が設けられている。なお、原稿カバー30のADFは、同じく原稿カバー30に設けられた給紙トレイ110上の原稿を1枚ずつ搬送して、排紙トレイ130に排出する周知のものである。そして、原稿カバー30の内部の原稿搬送経路(不図示)には、上記のように搬送される原稿の画像を読み取る動作と、フラットベッド部20の表面に沿って移動しながらそこに載置された原稿の画像を読み取る動作とを実行可能なCIS140(図2参照)が設けられている。   The scanner unit 10 is provided with a flatbed unit 20 on which a document is placed when a thick document such as a book is read, and a document cover provided on the flatbed unit 20 so as to be openable and closable and incorporating an ADF (Automatic Document Feeder). 30. In addition, an operation panel 21 having a display unit 23 as a center and various buttons is provided at the front end (front side as viewed from the user) of the flat bed unit 20. The ADF of the document cover 30 is a well-known one that conveys the documents on the paper feed tray 110 provided on the document cover 30 one by one and discharges them to the paper discharge tray 130. Then, on the document transport path (not shown) inside the document cover 30, the image of the document transported as described above is read and placed along the surface of the flat bed portion 20 while moving. A CIS 140 (see FIG. 2) capable of executing an operation of reading an image of a document is provided.

図2(A)は、複合機1の制御系の構成を表すブロック図である。図2(A)に示すように、前述のCIS140(読取部の一例)は、AFE141を介してバス150に接続されている。バス150には、CPU151(計数部,白紙検知部,判断部の一例),RAM152,ROM153が接続され、更に、電子写真方式で被記録媒体としての用紙に画像を形成する前述の記録用エンジン51(出力部の一例)と、次のような画処理回路160(画像処理部の一例)とが接続されている。   FIG. 2A is a block diagram illustrating a configuration of a control system of the multifunction machine 1. As shown in FIG. 2A, the above-described CIS 140 (an example of a reading unit) is connected to the bus 150 via the AFE 141. The bus 150 is connected to a CPU 151 (an example of a counting unit, a blank page detection unit, and a determination unit), a RAM 152, and a ROM 153. Further, the recording engine 51 forms an image on a sheet as a recording medium by electrophotography. (An example of an output unit) and the following image processing circuit 160 (an example of an image processing unit) are connected.

図2(B)は、画処理回路160の構成を詳細に表すブロック図である。CIS140が読み取った読取データは、AFE141にてデジタルデータに変換されて、CPU151に送られる。更にこの読取データは、画処理回路160に送られることによって、次のような各種画像処理(画処理ともいう)を施される。すなわち、図2(B)に示すように、画処理回路160は、読取データに読取用のガンマ補正を行う読取γ処理回路161と、その補正後の読取データに各種フィルタ処理を行うフィルタ処理回路162と、その処理後の読取データに拡大・縮小処理を行う拡大縮小処理回路163と、その処理後の読取データに記録用のガンマ補正を行う記録γ処理回路164と、を備えている。   FIG. 2B is a block diagram illustrating the configuration of the image processing circuit 160 in detail. The read data read by the CIS 140 is converted into digital data by the AFE 141 and sent to the CPU 151. Further, the read data is sent to the image processing circuit 160 to be subjected to the following various image processing (also referred to as image processing). That is, as shown in FIG. 2B, the image processing circuit 160 includes a reading γ processing circuit 161 that performs gamma correction for reading on the read data, and a filter processing circuit that performs various filter processes on the read data after the correction. 162, an enlargement / reduction processing circuit 163 that performs enlargement / reduction processing on the read data after the processing, and a recording γ processing circuit 164 that performs gamma correction for recording on the read data after the processing.

図3(A),(B)は、読取γ処理回路161で用いられるγテーブルの一例を表す説明図である。図3(A)は、明るさの値を−50から+50まで変化させた場合の、入力濃度に対する出力濃度の値を表すγテーブルを表している。図3(A)に示すように、上記値をマイナス側に、すなわち明るさを暗く調整したときは、入力された読取データの中間色が濃い目に変更されて出力される。逆に、上記値をプラス側に、すなわち明るさを明るく調整したときは、入力された読取データの中間色が薄めに変更されて出力される。   3A and 3B are explanatory diagrams illustrating an example of a γ table used in the reading γ processing circuit 161. FIG. FIG. 3A shows a γ table representing the output density value with respect to the input density when the brightness value is changed from −50 to +50. As shown in FIG. 3A, when the above value is adjusted to the minus side, that is, the brightness is adjusted to be dark, the intermediate color of the input read data is changed to dark eyes and output. Conversely, when the above value is adjusted to the plus side, that is, when the brightness is adjusted to be brighter, the intermediate color of the input read data is changed to be lighter and output.

図3(B)は、コントラストの値を−50から+50まで変化させた場合の、入力濃度に対する出力濃度の値を表すγテーブルを表している。図3(B)に示すように、上記値をプラス側に調整したときは、入力された読取データの中間色は一層変化が強調されて出力される。逆に、上記値をマイナス側に調整したときは、入力された読取データの中間色は変化が抑制されて出力される。   FIG. 3B shows a γ table representing the output density value with respect to the input density when the contrast value is changed from −50 to +50. As shown in FIG. 3B, when the above value is adjusted to the plus side, the intermediate color of the input read data is output with further emphasized changes. Conversely, when the above value is adjusted to the minus side, the intermediate color of the input read data is output with the change suppressed.

そこで、本実施の形態の複合機1は、スキャナ部10を介して原稿の画像を読み取る画像読取処理の実行時に、表示部23に図4に例示するようなスキャン設定画面230(画像処理設定部の一例)を表示する。図4に示すように、このスキャン設定画面230は、カラーまたはモノクロのモード設定を行うためのモード設定部231と、出力解像度を設定するための解像度設定部232と、拡縮率を設定するための拡縮率設定部233と、前述の明るさの値を設定するための明るさ設定部234と、前述のコントラストの値を設定するためのコントラスト設定部235と、「くっきり」,「きれい」等のオプションのフィルタを設定するためのオプション設定部236と、を備えている。また、スキャン設定画面230は、上記各種設定がなされた後で画像読取処理の開始を指示するためのスキャンボタン237と、上記各種設定を無効にするためのキャンセルボタン238とを、更に備えている。   Therefore, the multifunction device 1 according to the present embodiment, when executing an image reading process of reading an image of a document via the scanner unit 10, displays a scan setting screen 230 (image processing setting unit) illustrated in FIG. Example). As shown in FIG. 4, the scan setting screen 230 includes a mode setting unit 231 for setting a color or monochrome mode, a resolution setting unit 232 for setting an output resolution, and an enlargement / reduction ratio. An enlargement / reduction ratio setting unit 233, a brightness setting unit 234 for setting the above-described brightness value, a contrast setting unit 235 for setting the above-described contrast value, “clear”, “clean”, etc. An option setting unit 236 for setting an optional filter. The scan setting screen 230 further includes a scan button 237 for instructing start of image reading processing after the various settings are made, and a cancel button 238 for invalidating the various settings. .

ここで、例えば図5(A)に示すような薄い線の描かれた原稿Pを読み取る際は、使用者は上記明るさの値をマイナスの値に設定する。例えば、明るさの値を−50に設定した場合、図3(A)のγテーブルによる補正後の読取データは図5(B)に示すようになる。一方、明るさの値が0のままであると、読取データは図5(C)に示すように薄いままである。しかしながら、従来の画像読取装置では、このようなガンマ補正がなされる前の原稿Pの画像に基づいてその原稿Pが白紙であるか否かを判断する白紙検知を実行していた。このため、原稿Pの画像が薄目であることを使用者が認識して明るさの値を設定しても、それを白紙検知に反映できなかった。   Here, for example, when reading a document P on which a thin line is drawn as shown in FIG. 5A, the user sets the brightness value to a negative value. For example, when the brightness value is set to −50, the read data after correction according to the γ table in FIG. 3A is as shown in FIG. On the other hand, if the brightness value remains 0, the read data remains thin as shown in FIG. However, in the conventional image reading apparatus, blank sheet detection is performed to determine whether or not the document P is blank based on the image of the document P before such gamma correction is performed. For this reason, even if the user recognizes that the image of the document P is thin and sets the brightness value, it cannot be reflected in blank sheet detection.

[複合機における処理]
そこで、本実施の形態では、次のような画像読取処理を実行している。図6は、その画像読取処理を表すフローチャートである。なお、この処理は、スキャンボタン237が押下されたとき、CPU151がROM153に記憶されたプログラムに基づいて実行する処理であり、CPU151は、原稿Pの1ページ毎にこの処理を実行する。
[Processing in MFP]
Therefore, in the present embodiment, the following image reading process is executed. FIG. 6 is a flowchart showing the image reading process. This process is a process executed by the CPU 151 based on a program stored in the ROM 153 when the scan button 237 is pressed, and the CPU 151 executes this process for each page of the document P.

図6に示すように、この処理では、先ず、S0(Sはステップを表す:以下同様)にて、CPU151はモード設定部231を介して設定されたモードを読み込み、CIS140の読取モードを設定する。続くS1では、CPU151は、読取画質に関わる設定として、拡縮率設定部233,明るさ設定部234,コントラスト設定部235,オプション設定部236を介してなされた各設定を読み込み、次のような画質設定処理を行う。   As shown in FIG. 6, in this process, first, in S0 (S represents a step: the same applies hereinafter), the CPU 151 reads the mode set via the mode setting unit 231 and sets the reading mode of the CIS 140. . In the subsequent S1, the CPU 151 reads each setting made through the enlargement / reduction ratio setting unit 233, the brightness setting unit 234, the contrast setting unit 235, and the option setting unit 236 as settings relating to the read image quality. Perform the setting process.

図7は、この画質設定処理を詳細に表すフローチャートである。図7に示すように、この処理では、CPU151は、先ず、S11にて、読取γ処理回路161を設定する読取γ処理を実行する。   FIG. 7 is a flowchart showing the image quality setting process in detail. As shown in FIG. 7, in this process, the CPU 151 first executes a reading γ process for setting the reading γ processing circuit 161 in S11.

図8は、この読取γ処理を詳細に表すフローチャートである。図8に示すように、この処理では、先ず、S111にて、読取γがON、すなわち、明るさの値またはコントラストの値のいずれかが0以外に設定されているか否かを、CPU151が判断する。読取γがONの場合は(S111:Y)、S113にてCPU151は読取γ処理回路161の動作をONに設定する。続くS115では、その読取γ処理回路161にて使用されるγテーブルを、上記明るさの値に応じて変更する。更に続くS117では、読取γ処理回路161にて使用されるγテーブルをコントラストの値に応じて変更して、処理は図7のS13へ移行する。   FIG. 8 is a flowchart showing the details of the reading γ process. As shown in FIG. 8, in this process, first, in S111, the CPU 151 determines whether the reading γ is ON, that is, whether either the brightness value or the contrast value is set to a value other than 0. To do. If the reading γ is ON (S111: Y), the CPU 151 sets the operation of the reading γ processing circuit 161 to ON in S113. In subsequent S115, the γ table used in the reading γ processing circuit 161 is changed in accordance with the brightness value. In further S117, the γ table used in the reading γ processing circuit 161 is changed according to the contrast value, and the process proceeds to S13 in FIG.

すなわち、読取γ処理回路161では、デフォルトでは上記各値が0に設定されて読取データの入力濃度と出力濃度とが一致するが、上記各値が0以外に設定されたときは、それらの値に応じたガンマ補正が重ねてなされることになる。一方、上記各値が0に設定されて読取γがOFFの場合は(S111:N)、処理はS119へ移行し、CPU151は、読取γ処理回路161の動作をOFFに設定して、処理は図7のS13へ移行する。   That is, in the reading γ processing circuit 161, by default, the above values are set to 0 and the input density and output density of the read data match, but when the above values are set to other than 0, those values are set. The gamma correction corresponding to is repeated. On the other hand, when each of the above values is set to 0 and reading γ is OFF (S111: N), the process proceeds to S119, and the CPU 151 sets the operation of the reading γ processing circuit 161 to OFF, and the process is performed. The process proceeds to S13 in FIG.

図7へ戻って、S13では、CPU151は、フィルタ処理回路162と拡大縮小処理回路163を設定する強調フィルタ・拡大縮小処理を実行する。図9は、この強調フィルタ・拡大縮小処理を詳細に表すフローチャートである。   Returning to FIG. 7, in S <b> 13, the CPU 151 executes enhancement filter / enlargement / reduction processing for setting the filter processing circuit 162 and the enlargement / reduction processing circuit 163. FIG. 9 is a flowchart showing the details of this enhancement filter / enlargement / reduction processing.

図9に示すように、この処理では、CPU151は、先ず、S131にて、オプション設定部236に何らかの設定がなされてフィルタがONにされているか否かを判断する。フィルタがONの場合は(S131:Y)、処理はS132へ移行し、CPU151は、オプション設定部236に「くっきり」が設定されているか否かを判断する。「くっきり」が設定されていない場合は(S132:N)、処理はS133へ移行し、CPU151は、オプション設定部236に「きれい」が設定されているか否かを判断する。「きれい」も設定されていない場合は(S133:N)、処理はS134へ移行し、フィルタ処理回路162の動作をOFFに設定して、処理はS137へ移行する。また、前述のS131にて、フィルタがOFFであった場合にも(S131:N)、同様にS134にてフィルタ処理回路162の動作がOFFに設定されて、処理はS137へ移行する。   As shown in FIG. 9, in this process, the CPU 151 first determines whether or not any setting is made in the option setting unit 236 and the filter is turned on in S131. When the filter is ON (S131: Y), the process proceeds to S132, and the CPU 151 determines whether “clear” is set in the option setting unit 236. If “clear” is not set (S132: N), the process proceeds to S133, and the CPU 151 determines whether “clean” is set in the option setting unit 236. If “clean” is not set (S133: N), the process proceeds to S134, the operation of the filter processing circuit 162 is set to OFF, and the process proceeds to S137. Even when the filter is OFF in S131 described above (S131: N), the operation of the filter processing circuit 162 is similarly set OFF in S134, and the process proceeds to S137.

また、S132にて「くっきり」が設定されていた場合は(S132:Y)、S138にて、CPU151はフィルタ処理回路162が内蔵した強調フィルタをONにし、処理はS137へ移行する。また、S133にて「きれい」が設定されていた場合は(S133:Y)、S139にて、CPU151はフィルタ処理回路162が内蔵した強調フィルタ及び平滑フィルタをONにし、処理はS137へ移行する。なお、これらの強調フィルタ,平滑フィルタは、周知の画像処理フィルタであるので、ここでは詳述しない。   If “clear” is set in S132 (S132: Y), in S138, the CPU 151 turns on the enhancement filter built in the filter processing circuit 162, and the process proceeds to S137. If “clean” is set in S133 (S133: Y), in S139, the CPU 151 turns on the enhancement filter and smoothing filter built in the filter processing circuit 162, and the process proceeds to S137. Note that these enhancement filters and smoothing filters are well-known image processing filters and will not be described in detail here.

S137では、CPU151は、拡縮率設定部233によって100%を上回る拡縮率が設定されているか否かを判断する。100%を上回る拡縮率が設定されていない場合は(S137:N)、CPU151は、S141にて、拡縮率が100%であるか否かを判断する。拡縮率が100%の場合は(S141:Y)、処理はS143へ移行し、CPU151は拡大縮小処理回路163の動作をOFFに設定して、処理は図7のS15へ移行する。   In S <b> 137, the CPU 151 determines whether or not an enlargement / reduction ratio exceeding 100% is set by the enlargement / reduction ratio setting unit 233. When the enlargement / reduction ratio exceeding 100% is not set (S137: N), the CPU 151 determines whether the enlargement / reduction ratio is 100% in S141. If the enlargement / reduction ratio is 100% (S141: Y), the process proceeds to S143, the CPU 151 sets the operation of the enlargement / reduction processing circuit 163 to OFF, and the process proceeds to S15 in FIG.

一方、拡縮率が100%でない場合は(S141:N)、拡縮率が100%未満の場合であるので、処理はS145へ移行し、CPU151は、拡大縮小処理回路163における縮小動作をONにして拡縮率設定部233にて設定された拡縮率を設定し、処理は図7のS15へ移行する。また、拡縮率が100を上回る場合は(S137:Y)、処理はS147へ移行し、CPU151は、拡大縮小処理回路163における拡大動作をONにして拡縮率設定部233にて設定された拡縮率を設定し、処理は図7のS15へ移行する。   On the other hand, when the enlargement / reduction ratio is not 100% (S141: N), since the enlargement / reduction ratio is less than 100%, the process proceeds to S145, and the CPU 151 turns on the reduction operation in the enlargement / reduction processing circuit 163. The enlargement / reduction ratio set by the enlargement / reduction ratio setting unit 233 is set, and the process proceeds to S15 of FIG. When the enlargement / reduction ratio exceeds 100 (S137: Y), the process proceeds to S147, and the CPU 151 turns on the enlargement operation in the enlargement / reduction processing circuit 163 and sets the enlargement / reduction ratio set by the enlargement / reduction ratio setting unit 233. Is set, and the process proceeds to S15 of FIG.

図7へ戻って、このような強調フィルタ・拡大縮小処理(S13)が終了すると、続くS15にて、CPU151は、コピーモードが設定されているか否かを判断する。すなわち、このような画像読取処理は、読取データをリムーバブルディスク等の携帯型記憶媒体に記憶するモードや、読取データをパーソナルコンピュータに送信するPCスキャンモードや、読取データに基づいて記録用エンジン51を駆動するコピーモード等の過程で実行される。そこで、S15では、当該画像読取処理がコピーモードの過程で実行されたか否かをCPU151が判断するのである。   Returning to FIG. 7, when such enhancement filter / enlargement / reduction processing (S13) is completed, the CPU 151 determines in S15 whether the copy mode is set. That is, in such an image reading process, a mode in which read data is stored in a portable storage medium such as a removable disk, a PC scan mode in which read data is transmitted to a personal computer, or the recording engine 51 based on the read data is set. It is executed in a process such as a driving copy mode. Therefore, in S15, the CPU 151 determines whether or not the image reading process has been executed in the copy mode.

そして、CPU151は、コピーモードが設定されている場合は(S15:Y)、S17にて記録γ処理回路164の動作をONに設定し、コピーモードが設定されていない場合は(S15:N)、S19にて記録γ処理回路164の動作をOFFに設定する。そして、S17またはS19の処理が終了すると、処理は図6のS5へ移行する。   When the copy mode is set (S15: Y), the CPU 151 sets the operation of the recording γ processing circuit 164 to ON at S17, and when the copy mode is not set (S15: N). , The operation of the recording γ processing circuit 164 is set to OFF in S19. Then, when the process of S17 or S19 ends, the process proceeds to S5 of FIG.

図6へ戻って、S5では、CPU151は、CIS140による周知の読取動作の開始を指示し、S7(判断部の一例としての処理)にて、S1にて読み込んだ画質設定が画像を濃くする設定であるか否かを判断する。すなわち、明るさの値がマイナスまたは0に設定されているか否かを判断する。画質設定が画像を濃くする設定である場合は(S7:Y)、処理はS9へ移行し、CPU151は、画処理回路160へ読取データを送って画処理がなされた読取データを取得する画処理を実行する。すると、S5の読取開始に応じてAFE141を介して入力された読取データに、S1にて設定された内容に応じた画処理が画処理回路160によって施される。   Returning to FIG. 6, in S <b> 5, the CPU 151 instructs the start of a known reading operation by the CIS 140, and in S <b> 7 (processing as an example of a determination unit), the image quality setting read in S <b> 1 is set to darken the image. It is determined whether or not. That is, it is determined whether the brightness value is set to minus or 0. If the image quality setting is a setting to darken the image (S7: Y), the process proceeds to S9, and the CPU 151 sends the read data to the image processing circuit 160 to acquire the read data subjected to the image processing. Execute. Then, the image processing circuit 160 performs image processing according to the contents set in S1 on the read data input via the AFE 141 in response to the start of reading in S5.

続くS21では、CPU151は、S9による画処理が終了した読取データをRAM152に記憶し、続くS23にて、CPU151(計数部の一例)は、上記画処理が終了した読取データを構成する画素から、所定濃度範囲(上限の設定はなく事実上所定濃度以上)の画素の数を計数する。続くS25では、CPU151は、原稿Pの全てのラインに対して上記S9〜S23の処理が終了したか否かを判断し、終了していない場合は(S25:N)、S9〜S23の処理を繰り返す。なお、S9〜S23の処理は、必ずしも1ライン毎になされる必要はなく、数ライン毎に実行されてもよい。   In the subsequent S21, the CPU 151 stores the read data for which the image processing by S9 has been completed in the RAM 152, and in the subsequent S23, the CPU 151 (an example of a counting unit) determines from the pixels that constitute the read data for which the image processing has been completed. The number of pixels in a predetermined density range (there is no upper limit and practically a predetermined density or more) is counted. In subsequent S25, the CPU 151 determines whether or not the processing of S9 to S23 has been completed for all the lines of the document P. If not completed (S25: N), the processing of S9 to S23 is performed. repeat. Note that the processing of S9 to S23 is not necessarily performed for each line, and may be performed for every several lines.

そして、S9〜S23の処理が全てのラインに対して終了すると(S25:Y)、処理はS27(白紙検知部の一例としての処理)へ移行し、CPU151は、S23における当該原稿Pに対する総カウント値(計数値)が予め設定された閾値以上であるか否かを判断する。そして、閾値以上である場合は(S27:Y)、その原稿Pは白紙ではないと推定できるので、CPU151は、RAM152に記憶された読取データを通常データとして出力して、処理を一旦終了する。その結果、上記画処理後の読取データは、PCスキャンモードであればパーソナルコンピュータに送られ、コピーモードであれば記録用エンジン51に送られる。一方、上記総カウント値が上記閾値未満のときは(S27:N)、処理はS31へ移行し、CPU151は、当該読取データを出力することなく消去して、処理を一旦終了する。   When the processes in S9 to S23 are completed for all lines (S25: Y), the process proceeds to S27 (a process as an example of a blank sheet detection unit), and the CPU 151 counts the total number of documents P in S23. It is determined whether or not the value (count value) is greater than or equal to a preset threshold value. If it is equal to or greater than the threshold value (S27: Y), it can be estimated that the document P is not a blank sheet, so the CPU 151 outputs the read data stored in the RAM 152 as normal data and ends the process once. As a result, the read data after the image processing is sent to the personal computer in the PC scan mode, and is sent to the recording engine 51 in the copy mode. On the other hand, when the total count value is less than the threshold value (S27: N), the process proceeds to S31, and the CPU 151 erases the read data without outputting it, and ends the process once.

一方、画質設定が画像を薄くする設定である場合は(S7:N)、処理はS41(計数部の一例としての処理)へ移行し、CPU151は、上記画処理前の読取データに対して、S23と同様に所定濃度範囲の画素の数を計数する。続いて、CPU151は、S43にてS9と同様の画処理を実行し、更に、S45にて、画処理が終了した読取データをRAM152に記憶する。続くS47では、CPU151は、全てのラインに対してS41〜S45の処理が終了したか否かを判断し、終了していない場合は(S47:N)、処理は前述のS41へ、終了した場合は(S47:Y)、処理は前述のS27へ、それぞれ移行する。   On the other hand, when the image quality setting is a setting for thinning the image (S7: N), the process proceeds to S41 (a process as an example of a counting unit), and the CPU 151 determines the read data before the image process. Similar to S23, the number of pixels in the predetermined density range is counted. Subsequently, the CPU 151 executes image processing similar to S9 in S43, and further stores the read data whose image processing has been completed in the RAM 152 in S45. In subsequent S47, the CPU 151 determines whether or not the processing of S41 to S45 has been completed for all the lines. If the processing has not been completed (S47: N), the processing has been terminated to S41 described above. (S47: Y), the process proceeds to S27 described above.

[本実施の形態の効果及びその変形例]
このように、本実施の形態では、画像を濃くする画質設定の場合(S7:Y)、画処理後の読取データに対して、所定濃度範囲の画素数を計数して閾値と比較する白紙検知の処理(S23,S27)を実行している。このため、本実施の形態では、使用者による画処理の設定を白紙検知の処理に反映させて、適切に白紙検知を行うことができる。
[Effect of this embodiment and its modification]
As described above, in the present embodiment, in the case of image quality setting for darkening an image (S7: Y), blank page detection that counts the number of pixels in a predetermined density range and compares it with a threshold value for read data after image processing. (S23, S27) is executed. Therefore, in the present embodiment, it is possible to appropriately detect the blank page by reflecting the setting of the image processing by the user in the blank page detection process.

例えば、前述の図5の例で、明るさの値を−50に設定した場合、画像処理後は図5(B)に例示するように所定濃度範囲の画素の数(図5では黒画素と表記)が1200であれば、閾値の1000を超えて白紙でないと認識される。これに対して、画処理の設定が反映されない従来の画像読取装置では、図5(C)に例示するように、上記明るさの値の設定が反映されないために所定濃度範囲の画素の数が例えば600となり、閾値の1000を下回って白紙と認識されてしまう。   For example, in the example of FIG. 5 described above, when the brightness value is set to −50, after image processing, the number of pixels in a predetermined density range (in FIG. If the (notation) is 1200, it is recognized that the threshold value 1000 is exceeded and the page is not blank. On the other hand, in the conventional image reading apparatus in which the image processing setting is not reflected, as illustrated in FIG. 5C, the brightness value setting is not reflected, and therefore the number of pixels in the predetermined density range is small. For example, 600, which is below the threshold value of 1000, is recognized as white paper.

また、このように、読取データを適切に出力するためになされる画処理の設定は、使用者が通常一般的に行っている操作であり、白地検知の精度向上のために使用者に余分な操作を強いることもない。   In addition, in this way, the setting of image processing performed in order to appropriately output the read data is an operation that is generally performed by the user, and it is unnecessary for the user to improve the accuracy of white background detection. There is no forced operation.

また、本実施の形態では、画質設定が画像を濃くする設定である場合にのみ(S7:Y)、画処理後の読取データに対して上記白紙検知の処理を実行し、画像を薄くする設定の場合は(S7:N)、画処理前の読取データに対して白紙検知の処理を実行している。このため、次のような効果が生じる。すなわち、画像を薄くする画処理がなされると、上記総カウント値が閾値を下回って原稿Pが白紙であると判断される可能性が高くなる。その場合、使用者が画像が記載されている原稿Pとして読み取らせたい原稿Pまでも白紙と判断されるて読取データが消去される可能性が生じる。そこで、上記のように画像を濃くする設定である場合にのみ画処理後の読取データに対して白紙検知を行えば、画像が記載されている原稿Pとして読み取らせたい原稿Pまで白紙と判断されてしまうのを抑制することができる。   Further, in the present embodiment, only when the image quality setting is a setting to darken an image (S7: Y), a setting for thinning the image by executing the blank sheet detection process on the read data after image processing. In the case of (S7: N), a blank page detection process is executed on the read data before the image process. For this reason, the following effects arise. That is, when image processing for thinning the image is performed, there is a high possibility that the total count value falls below the threshold value and the document P is determined to be blank. In that case, there is a possibility that even the original P that the user wants to read as the original P on which the image is written is determined to be blank and the read data is erased. Therefore, if blank page detection is performed on the read data after image processing only when the image is set to be dark as described above, it is determined that the original P to be read as the original P on which the image is described is blank. Can be suppressed.

なお、本発明は上記実施の形態に何ら限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の形態で実施することができる。例えば、上記総カウント値が閾値を下回って白紙であると判断された原稿Pに係る読取データは必ずしも消去されなくてもよく、RAM152に一時的に保持されてもよく、所望に応じて、白紙でないと判断された読取データと同様に出力(印刷等)されてもよい。更に、本発明は、プリンタ部5等を有さないスキャナ専用機にも適用可能であることはいうまでもない。   In addition, this invention is not limited to the said embodiment at all, It can implement with a various form in the range which does not deviate from the summary of this invention. For example, the read data relating to the document P for which the total count value is less than the threshold value and is determined to be blank may not necessarily be erased, may be temporarily stored in the RAM 152, and may be blank as desired. It may be output (printed or the like) in the same manner as the read data determined not to be. Furthermore, it goes without saying that the present invention can also be applied to a scanner-dedicated machine that does not have the printer unit 5 or the like.

1…複合機 5…プリンタ部 10…スキャナ部
21…操作パネル 23…表示部 51…記録用エンジン
130…排紙トレイ 141…AFE 140…CIS
151…CPU 152…RAM 153…ROM
160…画処理回路 230…スキャン設定画面 P…原稿
DESCRIPTION OF SYMBOLS 1 ... Multifunction machine 5 ... Printer part 10 ... Scanner part 21 ... Operation panel 23 ... Display part 51 ... Recording engine 130 ... Paper discharge tray 141 ... AFE 140 ... CIS
151 ... CPU 152 ... RAM 153 ... ROM
160 ... Image processing circuit 230 ... Scan setting screen P ... Original

Claims (4)

原稿の画像を読み取る読取部と、
該読取部が読み取った読取データから、所定濃度以上の画素の数を計数する計数部と、
該計数部の計数値が、予め記憶された白紙検知用の閾値未満であるとき、上記原稿が白紙であると判断する白紙検知部と、
を備えた画像読取装置であって、
上記読取部が読み取った読取データに、画質に関わる画像処理を行う画像処理部と、
使用者の操作に応じて上記画像処理部による画像処理の設定を行う画像処理設定部と、
上記画像処理部による画像処理後の読取データを出力する出力部と、
上記画像処理設定部によってなされた設定が、画素の濃度を低下させるものであるか否かを判断する判断部と、
を備え、
上記判断部が上記低下させるものであると判断した場合、上記計数部は、上記画像処理部による画像処理前の読取データから上記画素の数を計数し、上記白紙検知部は、その計数値に基づいて上記判断を行い、上記判断部が上記低下させるものではないと判断した場合、上記計数部は、上記画像処理部による画像処理後の読取データから上記画素の数を計数し、上記白紙検知部は、その計数値に基づいて上記判断を行うことを特徴とする画像読取装置。
A reading unit for reading an image of a document;
A counting unit that counts the number of pixels having a predetermined density or more from read data read by the reading unit;
A blank sheet detection unit that determines that the document is blank when the count value of the counting unit is less than a threshold value for blank sheet detection stored in advance;
An image reading apparatus comprising:
An image processing unit that performs image processing related to image quality on the read data read by the reading unit;
An image processing setting unit for setting image processing by the image processing unit in accordance with a user operation;
An output unit for outputting read data after image processing by the image processing unit;
A determination unit that determines whether the setting made by the image processing setting unit is to reduce the density of a pixel;
With
When the determination unit determines that the decrease is made, the counting unit counts the number of pixels from the read data before image processing by the image processing unit, and the blank sheet detection unit calculates the count value. If the determination unit determines that the decrease is not to be reduced, the counting unit counts the number of pixels from the read data after image processing by the image processing unit, and detects the blank page detection. The image reading apparatus, wherein the unit makes the above determination based on the count value.
上記画質に関わる画像処理が、画像の明るさを調整するガンマ補正であることを特徴とする請求項1に記載の画像読取装置。 The image reading apparatus according to claim 1, wherein the image processing relating to the image quality is gamma correction for adjusting brightness of the image. 上記画質に関わる画像処理が、画像のコントラストを調整するガンマ補正であることを特徴とする請求項1に記載の画像読取装置。 The image reading apparatus according to claim 1, wherein the image processing relating to the image quality is gamma correction for adjusting an image contrast. 上記画質に関わる画像処理が、画像の拡大または縮小を行う処理であることを特徴とする請求項1に記載の画像読取装置。 The image reading apparatus according to claim 1, wherein the image processing related to the image quality is a process of enlarging or reducing the image.
JP2010221930A 2010-09-30 2010-09-30 Image reading device Active JP5617502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010221930A JP5617502B2 (en) 2010-09-30 2010-09-30 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010221930A JP5617502B2 (en) 2010-09-30 2010-09-30 Image reading device

Publications (2)

Publication Number Publication Date
JP2012080233A JP2012080233A (en) 2012-04-19
JP5617502B2 true JP5617502B2 (en) 2014-11-05

Family

ID=46240004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010221930A Active JP5617502B2 (en) 2010-09-30 2010-09-30 Image reading device

Country Status (1)

Country Link
JP (1) JP5617502B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6231799B2 (en) * 2013-07-18 2017-11-15 キヤノン株式会社 Image processing apparatus, image processing method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008022276A (en) * 2006-07-12 2008-01-31 Ricoh Co Ltd Image forming apparatus
JP2009021681A (en) * 2007-07-10 2009-01-29 Canon Inc Original document reader
JP4990732B2 (en) * 2007-09-27 2012-08-01 京セラドキュメントソリューションズ株式会社 Image reading apparatus and image forming apparatus
JP5023035B2 (en) * 2008-10-01 2012-09-12 シャープ株式会社 Image processing apparatus, image forming apparatus including the image processing apparatus, image processing method, image processing program, and computer-readable recording medium recording the image processing program
JP2010118992A (en) * 2008-11-14 2010-05-27 Sharp Corp Image forming apparatus and method of displaying preview

Also Published As

Publication number Publication date
JP2012080233A (en) 2012-04-19

Similar Documents

Publication Publication Date Title
JP5333400B2 (en) Image reading device
US8665497B2 (en) Image processing apparatus, image processing method and program
US10939015B2 (en) Image processing apparatus inserting image into insertion area, and image forming apparatus
US8854649B2 (en) Non-transitory computer-readable medium storing information processing program, information processing apparatus, and information processing method
JP5617502B2 (en) Image reading device
JP2016010094A (en) Image reading apparatus
JP4821547B2 (en) Data processing device
JP6270058B2 (en) Image forming apparatus
JP2004328444A (en) Image processor and method
JP6561732B2 (en) Reader and program
US10469702B2 (en) Image forming apparatus and control method of the same
JP7180363B2 (en) Control program, information processing device, and scanning system
JP5474222B2 (en) Image processing apparatus, image processing method, and program
JP5361830B2 (en) Image processing device
JP5422520B2 (en) Image processing device
JP5675867B2 (en) Image forming apparatus
JP2016175263A (en) Device, program and method
JP6409365B2 (en) Image reading device
JP6091481B2 (en) Image processing apparatus and screen display method
JP6641977B2 (en) Reader
JP5696703B2 (en) Image forming apparatus, control program for image forming apparatus, recording medium, and control method for image forming apparatus
JP4692169B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2020048233A (en) Reading apparatus
JP2012034220A (en) Image-reading device
JP2011160273A (en) Image processing apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140311

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140512

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140901

R150 Certificate of patent or registration of utility model

Ref document number: 5617502

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150