Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5857427B2 - Image reading device - Google Patents
[go: Go Back, main page]

JP5857427B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP5857427B2
JP5857427B2 JP2011073214A JP2011073214A JP5857427B2 JP 5857427 B2 JP5857427 B2 JP 5857427B2 JP 2011073214 A JP2011073214 A JP 2011073214A JP 2011073214 A JP2011073214 A JP 2011073214A JP 5857427 B2 JP5857427 B2 JP 5857427B2
Authority
JP
Japan
Prior art keywords
blank
data
page
unit
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011073214A
Other languages
Japanese (ja)
Other versions
JP2012209714A (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 JP2011073214A priority Critical patent/JP5857427B2/en
Publication of JP2012209714A publication Critical patent/JP2012209714A/en
Application granted granted Critical
Publication of JP5857427B2 publication Critical patent/JP5857427B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Storing Facsimile Image Data (AREA)

Description

本発明は、画像読取装置に関する。   The present invention relates to an image reading apparatus.

下記特許文献1には、原稿の読取データが白紙かどうかをページ毎に判定し、原稿を全ページ読み取った後に白紙判定されたページの画像を表示して、ユーザに削除するべき画像を選択させる技術が開示されている。   In Patent Document 1 below, it is determined for each page whether or not the read data of the document is blank, and the image of the page determined to be blank after displaying all pages of the document is displayed to allow the user to select an image to be deleted. Technology is disclosed.

特開2004−289476号公報JP 2004-289476 A

しかしながら、上記のものは、メモリに対して白紙データを含む原稿の読取データを全て記憶するので、原稿読取中に、メモリの使用量が限界量を超えて、メモリエラーを起こす恐れがあった。
本発明は上記のような事情に基づいて完成されたものであって、メモリエラーの発生を抑制することにより、読取処理のスループットが低下するのを抑制することを目的とする。
However, since the above-described device stores all read data of the original including blank data in the memory, there is a possibility that the memory usage exceeds the limit amount and a memory error occurs during the reading of the original.
The present invention has been completed based on the above-described circumstances, and an object thereof is to suppress a decrease in throughput of reading processing by suppressing occurrence of a memory error.

本明細書によって開示される画像読取装置は、原稿の画像を読み取る読取部と、前記読取部の読み取った読取データを記憶する記憶部と、前記記憶部に記憶された読取データから白紙データを判定する白紙判定処理を実行する白紙判定部と、前記記憶部の使用量が限界量以上になる場合に、前記白紙判定部にて判定された白紙データを前記記憶部から削除する削除部と、前記白紙データの削除後、画像の読み取りを継続するように前記読取部を制御する制御部と、を備える。この構成によれば、画像読取中に記憶部の使用量が一時的に限界量を超えても、白紙データの削除により、使用量を限界量以下に下げられる。そのため、読取処理を継続することが可能となり、読取処理のスループットが低下することを抑制できる。   An image reading device disclosed in this specification includes a reading unit that reads an image of a document, a storage unit that stores read data read by the reading unit, and blank data from the read data stored in the storage unit. A blank page determination unit that executes blank page determination processing; a deletion unit that deletes blank page data determined by the blank page determination unit from the storage unit when the usage amount of the storage unit exceeds a limit amount; A control unit that controls the reading unit so as to continue reading the image after the blank page data is deleted. According to this configuration, even when the usage amount of the storage unit temporarily exceeds the limit amount during image reading, the usage amount can be lowered to the limit amount or less by deleting the blank data. Therefore, it is possible to continue the reading process, and it is possible to suppress a decrease in the throughput of the reading process.

また、上記画像読取装置において、原稿を搬送する搬送部を備え、前記読取部は、前記搬送部により搬送される原稿の画像を読み取るようにしてもよい。   The image reading apparatus may further include a conveyance unit that conveys the document, and the reading unit may read an image of the document conveyed by the conveyance unit.

また、上記画像読取装置において、前記制御部は前記読取部を制御する第一機能部と、前記白紙データを判定する白紙判定部として機能する第二機能部とを備え、前記記憶部の使用量が前記限界量を超えた場合に、前記白紙データを判定する処理を実行するようにしてもよい。   In the image reading apparatus, the control unit includes a first function unit that controls the reading unit, and a second function unit that functions as a blank page determination unit that determines the blank page data, and the amount of use of the storage unit When the value exceeds the limit amount, a process for determining the blank data may be executed.

また、上記画像読取装置において、前記制御部と前記白紙判定部は互いに独立して動作する異なるディバイスであり、前記白紙判定部は、前記読取部にて原稿1ページ分の画像が読み取られる度に、前記白紙判定処理を行い、前記記憶部は、前記白紙判定処理の結果である白紙判定処理情報を、判定対象の白紙データと対応させて記憶し、前記削除部は、前記白紙判定処理情報に基づいて、白紙データを削除するようにしてもよい。   In the image reading apparatus, the control unit and the blank page determination unit are different devices that operate independently of each other, and the blank page determination unit is scanned each time an image of one page of the document is read by the reading unit. The blank page determination process is performed, and the storage unit stores blank page determination process information, which is a result of the blank page determination process, in association with the blank page data to be determined, and the deletion unit stores the blank page determination process information in the blank page determination process information. Based on this, the blank page data may be deleted.

また、上記画像読取装置において、白紙データについて、より白紙に近いかどうかに基づいて、削除の優先度を決定する決定部と、前記削除部は、前記記憶部の使用量が限界量以上になった場合に、前記白紙データのうち、優先度の高い白紙データを優先して削除するようにしてもよい。   Further, in the image reading apparatus, a determination unit that determines a deletion priority based on whether or not blank data is closer to a blank page, and the deletion unit has a usage amount of the storage unit exceeding a limit amount. In this case, among the blank data, the blank data having a high priority may be deleted with priority.

また、上記画像読取装置において、前記決定部は、白紙データのうち、原稿縁部に定型画像が形成された白紙データは、削除の優先度を低くしてもよい。   In the image reading apparatus, the determination unit may lower the deletion priority of blank data in which a standard image is formed on a document edge portion of blank data.

また、上記画像読取装置において、前記白紙判定部は、所定濃度以上の画素数が第一閾値以下である読取データを白紙データと判断し、前記決定部は、前記白紙データのうち、所定濃度以上の画素数が、前記第一閾値以下の第二閾値を下回っている場合、削除の優先度を高くするようにしてもよい。   Further, in the image reading apparatus, the blank page determination unit determines that read data having a pixel number equal to or higher than a predetermined density is equal to or less than a first threshold value as blank page data, and the determination unit includes a predetermined density or more of the blank page data. If the number of pixels is less than a second threshold value that is less than or equal to the first threshold value, the priority of deletion may be increased.

また、上記画像読取装置において、前記記憶部に記憶される読取データが非白紙であり、かつ前ページの読取データが非白紙データである場合に、記憶する非白紙の読取データに対してフラグを付与するフラグ付与部を備えるようにしてもよい。   In the image reading apparatus, when the read data stored in the storage unit is non-blank paper and the read data of the previous page is non-blank data, a flag is set for the read data of the non-blank paper to be stored. You may make it provide the flag provision part to provide.

本発明によれば、メモリエラーの発生を抑制することにより、読取処理のスループットが低下するのを抑制できる。   According to the present invention, it is possible to suppress a decrease in the throughput of the reading process by suppressing the occurrence of a memory error.

実施形態1において複合機の斜視図1 is a perspective view of a multifunction machine in Embodiment 1. FIG. 画像読取ユニットの断面図Cross section of image reading unit 複合機の電気的構成を示すブロック図Block diagram showing the electrical configuration of the MFP メモリエラー回避シーケンスのフローチャート図Memory error avoidance sequence flowchart 実施形態2において複合機の電気的構成を示すブロック図FIG. 3 is a block diagram showing an electrical configuration of a multifunction machine in the second embodiment. メモリエラー回避シーケンスのフローチャート図Memory error avoidance sequence flowchart メモリエラー回避シーケンスのサブフローを示す図Diagram showing sub flow of memory error avoidance sequence RAMのデータ構成を示す図The figure which shows the data structure of RAM メモリエラー回避シーケンスのサブフローを示す図Diagram showing sub flow of memory error avoidance sequence 実施形態3においてメモリエラー回避シーケンスのサブフローを示す図態4にて、白紙ページ情報を示す図The figure which shows blank page information in the figure 4 which shows the subflow of a memory error avoidance sequence in Embodiment 3. 実施形態4において定型画像の説明図Explanatory drawing of a fixed form image in Embodiment 4. メモリエラー回避シーケンスのサブフローを示す図Diagram showing sub flow of memory error avoidance sequence 実施形態5において、白紙ページ情報の説明図Explanatory drawing of blank page information in Embodiment 5. メモリエラー回避シーケンスのサブフローを示す図Diagram showing sub flow of memory error avoidance sequence メモリエラー回避シーケンスのサブフローを示す図Diagram showing sub flow of memory error avoidance sequence

<実施形態1>
実施形態1を図1ないし図4を用いて説明する。
<Embodiment 1>
A first embodiment will be described with reference to FIGS.

1.複合機の外観構成
図1は本発明の画像形成装置、画像読取装置の一例である複合機1の外観を示す斜視図であり、図2は画像読取ユニット5の断面図である。
1. FIG. 1 is a perspective view showing an appearance of a multifunction machine 1 as an example of an image forming apparatus and an image reading apparatus according to the present invention. FIG. 2 is a cross-sectional view of an image reading unit 5.

図1に示すように、複合機1はボックス型の本体部2の上方に画像読取ユニット5を配置している。画像読取ユニット5は原稿を読み取るものであり、図2に示すように、CIS(本発明の「読取部」の一例)30、ADF40、原稿載置部50を含む。原稿載置部50は、台枠51、透明なガラス板からなる第1プラテンガラス52、第2プラテンガラス53、及びこれらのガラス52、53の中間に配置された中間枠54を含む。原稿カバー48は、原稿載置部50を覆う閉姿勢と原稿載置部50を開放する開姿勢とに回動可能であり、複合機1の本体部2の後側に連結されている。原稿カバー48上に、ADF40が設けられている。   As shown in FIG. 1, the multifunction machine 1 has an image reading unit 5 disposed above a box-type main body 2. The image reading unit 5 reads a document, and includes a CIS (an example of a “reading unit” of the present invention) 30, an ADF 40, and a document placement unit 50 as shown in FIG. The document placing unit 50 includes a frame 51, a first platen glass 52 made of a transparent glass plate, a second platen glass 53, and an intermediate frame 54 disposed between these glasses 52 and 53. The document cover 48 can be rotated between a closed posture that covers the document placement portion 50 and an open posture that opens the document placement portion 50, and is connected to the rear side of the main body portion 2 of the multifunction device 1. An ADF 40 is provided on the document cover 48.

ADF40はADFカバー41、原稿トレイ42、搬送路43、給紙ローラ44A、一対の搬送ローラ44B、一対の排紙ローラ44C等の各種ローラ、これら各種ローラを駆動するADFモータ66、排紙トレイ46、および押圧部材47を含む。ADF40は、原稿トレイ42に載置されている原稿を給紙ローラ44Aにより、一枚ずつ搬送して、第2プラテンガラス53上を通過させ、排紙トレイ46に排出する。押圧部材47は、第2プラテンガラス53上を通過する原稿が第2プラテンガラス53から浮かないように、原稿を第2プラテンガラス53に押圧する。さらに、ADF40には、原稿トレイ42にセットされた原稿を検出するための、フォトセンサ等の原稿センサ49が設けられている。尚、ADF40のうち、搬送路43、給紙ローラ44A、搬送ローラ44B、排紙ローラ44C、ADFモータ66が、本発明の「搬送部」の一例である。   The ADF 40 includes an ADF cover 41, a document tray 42, a transport path 43, various rollers such as a paper feed roller 44 </ b> A, a pair of transport rollers 44 </ b> B, a pair of paper discharge rollers 44 </ b> C, an ADF motor 66 that drives these various rollers, and a paper discharge tray 46. And a pressing member 47. The ADF 40 conveys the originals placed on the original tray 42 one by one by the paper feed roller 44 </ b> A, passes the second platen glass 53, and discharges the originals to the paper output tray 46. The pressing member 47 presses the document against the second platen glass 53 so that the document passing over the second platen glass 53 does not float from the second platen glass 53. Further, the ADF 40 is provided with a document sensor 49 such as a photo sensor for detecting a document set on the document tray 42. Of the ADF 40, the conveyance path 43, the paper feed roller 44 </ b> A, the conveyance roller 44 </ b> B, the paper discharge roller 44 </ b> C, and the ADF motor 66 are examples of the “conveyance unit” of the present invention.

CIS30は、原稿載置部50の下方に設けられている。CIS30は、複数の受光素子が図2の紙面垂直方向に直線状に配列されているリニアイメージセンサ33、RGB3色の発光ダイオードなどで構成される光源31、原稿で反射された光源31からの反射光をリニアイメージセンサ33の各受光素子に結像させるロッドレンズアレイ32、これらが搭載されるキャリッジ34、およびキャリッジ34を搬送する図示しない搬送機構を含む。リニアイメージセンサ33は、受光素子に結像した反射光の輝度や色度を検出し、原稿の画像に基づくデータを生成する。   The CIS 30 is provided below the document placement unit 50. The CIS 30 includes a linear image sensor 33 in which a plurality of light receiving elements are linearly arranged in a direction perpendicular to the paper surface of FIG. 2, a light source 31 composed of RGB three-color light emitting diodes, etc., and a reflection from the light source 31 reflected from the document. It includes a rod lens array 32 that focuses light on each light receiving element of the linear image sensor 33, a carriage 34 on which these are mounted, and a transport mechanism (not shown) that transports the carriage 34. The linear image sensor 33 detects the brightness and chromaticity of the reflected light imaged on the light receiving element, and generates data based on the image of the document.

画像読取ユニット5は、第1プラテンガラス52にセットされた原稿を読み取るときはFBモータ(図略)によってCIS30を第1プラテンガラス52に平行な副走査方向(図2中のA方向)に搬送しながら原稿を1ラインずつ読み取る。一方、ADF40によって搬送される原稿を読み取るときは、画像読取ユニット5は、FBモータによってCIS30を第2プラテンガラス53の直下に移動させ、第2プラテンガラス上の読取位置Pを通過する原稿を、イメージセンサ33によって1ラインずつ読み取る。   When reading an original set on the first platen glass 52, the image reading unit 5 conveys the CIS 30 in the sub-scanning direction (A direction in FIG. 2) parallel to the first platen glass 52 by an FB motor (not shown). While reading the original line by line. On the other hand, when reading a document conveyed by the ADF 40, the image reading unit 5 moves the CIS 30 directly below the second platen glass 53 by the FB motor, and reads the document passing the reading position P on the second platen glass. The image sensor 33 reads each line.

さらに、複合機1の前側には、各種のボタンからなり、ユーザからの操作指令を受け付ける操作部11、複合機1の状態を表示する液晶ディスプレイからなる表示部12が設けられている。   Further, on the front side of the multifunction device 1, an operation unit 11 that includes various buttons and receives an operation command from a user, and a display unit 12 that includes a liquid crystal display that displays the state of the multifunction device 1 are provided.

2.電気的構成
図3は複合機1の電気的構成を示すブロック図である。複合機1は、CPU(本発明の「白紙判定部」、「削除部」、「制御部」の一例)60Aと、ROM61と、RAM(本発明の「記憶部」の一例)63と、A/D変換器65と、モータ制御回路67と、出力装置71と、表示部12と、ボタンやセンサスイッチ類を備えている。A/D変換器65は、CIS30から出力されるアナログ値の出力信号をデジタル値の出力信号に変換する回路である。モータ制御回路67は、ADFモータ66のドライバである。
2. Electrical Configuration FIG. 3 is a block diagram showing an electrical configuration of the multifunction machine 1. The multi-function device 1 includes a CPU (an example of “blank sheet determination unit”, “deletion unit”, and “control unit” in the present invention) 60A, a ROM 61, a RAM (an example of “storage unit” in the present invention) 63, an A A / D converter 65, a motor control circuit 67, an output device 71, a display unit 12, buttons and sensor switches are provided. The A / D converter 65 is a circuit that converts an analog output signal output from the CIS 30 into a digital output signal. The motor control circuit 67 is a driver for the ADF motor 66.

CPU60Aは、次の4つの機能を担うものである。
(1)読取部制御機
(2)画像処理、白紙判定機
(3)出力処理機能
(4)メモリエラー回避機能
The CPU 60A has the following four functions.
(1) reader control Function (2) image processing, blank page determination function (3) Output processing function (4) Memory error avoidance function

読取部制御機能とは、画像読取ユニット5のADF40やCIS30を制御して、ADF40により搬送される原稿をCIS30にて自動読み取りさせる機能である。   The reading unit control function is a function of controlling the ADF 40 and the CIS 30 of the image reading unit 5 to automatically read a document conveyed by the ADF 40 with the CIS 30.

画像処理機能とは、A/D変換器65から画像データ(本発明の「読取データ」に対応)を読み出して、ガンマ補正やシェーディング補正等の画像処理を施す機能である。そして、CPU60Aは画像処理された画像データを、RAM63に記憶させるメモリ操作も併せて行う。   The image processing function is a function of reading image data (corresponding to “read data” of the present invention) from the A / D converter 65 and performing image processing such as gamma correction and shading correction. Then, the CPU 60A also performs a memory operation for storing the image processed image data in the RAM 63.

白紙判定機能とは、RAM63に記憶された画像データが、白紙データか判定する機能である。白紙データの判定は、画像データについて、1ページごとに基準濃度を超える画素数を、まず求める。そして、求めた画素数と、白紙判定の閾値として設定された第一閾値を比較し、求めた画素数が第一閾値を下回っている場合に、当該画像データが、白紙の原稿が読み取られて生成された白紙データと判断するものである。   The blank page determination function is a function for determining whether the image data stored in the RAM 63 is blank page data. In the blank data determination, first, the number of pixels exceeding the reference density for each page is obtained for the image data. Then, the calculated number of pixels is compared with the first threshold set as the blank determination threshold. If the calculated number of pixels is less than the first threshold, the image data is read as a blank document. It is determined as generated blank paper data.

また、出力処理機能とは、画像読取ユニット5にて読み取った画像データを出力する機能である。複合機1は出力装置71として通信装置と、記録装置(印刷装置)を備えており、CPU60Aはこれら通信装置や記録装置を制御することにより、画像読取ユニット5にて読み取った画像データを通信装置を用いてFAX送信し、また、読み取った画像データを被記録媒体に記録(印刷)する。   The output processing function is a function for outputting image data read by the image reading unit 5. The multi-function device 1 includes a communication device and a recording device (printing device) as the output device 71, and the CPU 60A controls the communication device and the recording device so that the image data read by the image reading unit 5 is a communication device. Is used for fax transmission, and the read image data is recorded (printed) on a recording medium.

メモリエラー回避機能とは、RAM63の使用量が限界量以上になることを自動回避する機能である。このメモリエラー回避機能については、次に説明するメモリエラー回避シーケンスにて詳しく説明を行う。   The memory error avoidance function is a function for automatically avoiding the usage amount of the RAM 63 exceeding the limit amount. This memory error avoidance function will be described in detail in the memory error avoidance sequence described below.

ROM61には、CPU60Aが実行する各種のプログラム(メモリエラー回避シーケンスを実行するためのプログラム)や、プログラムの実行に用いるデータなどを記憶している。また、RAM63は、CPU60Aが各処理を実行するための主記憶装置として用いられると共に、画像読取ユニット5で読み取った画像データを記憶する役割も兼用している。   The ROM 61 stores various programs executed by the CPU 60A (programs for executing a memory error avoidance sequence), data used for executing the programs, and the like. The RAM 63 is used as a main storage device for the CPU 60A to execute each process, and also serves to store image data read by the image reading unit 5.

3.メモリエラー回避シーケンス
本実施形態の複合機1は、RAM63の使用量が限界量以上になる場合に、RAM63に記憶された白紙データを削除することで、メモリエラーが起きることを抑制する機能を備えている。尚、ここでいう、メモリエラーというのは、RAM63の使用量が限界量を超えた場合に、画像の読み込み処理や通信、印刷処理が中止状態と制御されることを意味する。
3. Memory error avoidance sequence The MFP 1 of this embodiment has a function of suppressing the occurrence of a memory error by deleting the blank data stored in the RAM 63 when the usage amount of the RAM 63 exceeds the limit amount. ing. Here, the memory error means that when the usage amount of the RAM 63 exceeds the limit amount, the image reading process, the communication, and the printing process are controlled to be stopped.

以下、図4を参照してメモリエラー回避シーケンス処理内容を、RAM63の使用量が限界量以上にならない場合と、限界量以上になる場合に、分けて説明する。   Hereinafter, the contents of the memory error avoidance sequence process will be described separately with reference to FIG. 4 when the usage amount of the RAM 63 does not exceed the limit amount and when it exceeds the limit amount.

<RAM63の使用量が限界量以上にならない場合>
ここでは、ユーザが複合機1で2枚の原稿をメモリ送信する場合を例にとって説明する。原稿トレイ42に2枚の原稿がセットされ、ユーザにより操作部11のスタートキーが押されると、まず、原稿を読み取る処理が開始される。具体的には、ADF40の駆動により、原稿トレイ42上にセットされた1ページ目の原稿が、表面を上に向けた状態で搬送路43に送りだされる(S10)。
<When the usage amount of the RAM 63 does not exceed the limit amount>
Here, a case will be described as an example in which the user transmits two originals to the memory using the multifunction device 1. When two documents are set on the document tray 42 and the start key of the operation unit 11 is pressed by the user, first, a process of reading the document is started. Specifically, by driving the ADF 40, the first page of the document set on the document tray 42 is sent to the transport path 43 with the front side facing up (S10).

その後、送り出された原稿(ここでは、1ページ目の原稿)の先端が読取位置Pに達すると、CIS30による原稿の読み取りが行われる。具体的には、第2プラテンガラス53上の読取位置Pを通過する原稿を、イメージセンサ33が1ライン読み取る。イメージセンサ33が読み取った画像データは、その後A/D変換器65にてデジタル信号に変換される。そして、CPU60AはA/D変換器65から画像データを読み出して、ガンマ補正やシェーディング補正を行う(S20、S30)。   Thereafter, when the leading end of the sent document (here, the first page document) reaches the reading position P, the document is read by the CIS 30. Specifically, the image sensor 33 reads one line of the document passing the reading position P on the second platen glass 53. The image data read by the image sensor 33 is then converted into a digital signal by the A / D converter 65. Then, the CPU 60A reads the image data from the A / D converter 65, and performs gamma correction and shading correction (S20, S30).

CPU60AはS30にて各種補正を行うと、その後、RAM63にアクセスして、RAM63の使用量が限界量以上か判定する(S40)。尚、RAM63の使用量の判定は、RAM63に設けられたメモリカウンタ63Aのカウント値に基づいて判断する。メモリカウンタ63Aは、RAM63の空き容量が減るに従って、カウント値をカウントダウンするものであり、空き容量が全くない状態では、カウント値が「ゼロ」になる。この実施形態では、カウント値の閾値をゼロよりも大きい「CX」に設定してあり、メモリカウンタ63Aのカウント値が「CX」以下の場合には、RAM63の使用量は限界量以上であると判断し、「CX」以上の場合には、使用量は限界量以上ではないと判断する。尚、ここでは、限界量以上ではないとして説明を続ける。   After performing various corrections in S30, the CPU 60A accesses the RAM 63 and determines whether the usage amount of the RAM 63 is equal to or greater than the limit amount (S40). The usage amount of the RAM 63 is determined based on the count value of the memory counter 63A provided in the RAM 63. The memory counter 63A counts down the count value as the free capacity of the RAM 63 decreases. When there is no free capacity, the count value becomes “zero”. In this embodiment, when the threshold value of the count value is set to “CX” larger than zero and the count value of the memory counter 63A is “CX” or less, the usage amount of the RAM 63 is equal to or greater than the limit amount. If it is determined that the amount is “CX” or more, it is determined that the amount used is not greater than the limit amount. Here, the description will be continued assuming that the amount is not over the limit amount.

RAM63の使用量が限界量以上でない場合(NOの場合)、CPU60Aは、S30で補正した画像データを、RAM63へ格納する(S50)。これにて、原稿のうち1ライン目の画像データが、RAM63に格納されることになる。   When the usage amount of the RAM 63 is not equal to or greater than the limit amount (in the case of NO), the CPU 60A stores the image data corrected in S30 in the RAM 63 (S50). As a result, the image data of the first line of the document is stored in the RAM 63.

その後、全ラインの読み取りが完了するまでは、S60の判定処理でNO判定され、S10〜S50までの処理が順に実行される。そのため、CIS30により原稿の読み取り、A/D変換器65によるデータ変換、CPU60Aによる画像データの補正処理がライン単位で実行され、その後、各ラインの画像データはRAM63へ格納される。   Thereafter, until the reading of all lines is completed, NO is determined in the determination process of S60, and the processes from S10 to S50 are sequentially executed. For this reason, reading of a document by the CIS 30, data conversion by the A / D converter 65, and image data correction processing by the CPU 60 </ b> A are executed in units of lines, and then the image data of each line is stored in the RAM 63.

そして、全ラインの読み取りが完了すると、S60でYES判定され、処理はS70に移る。一方、読み取り完了後の1ページ目の原稿は、ADF40により排紙トレイ46上に排紙される。   When the reading of all lines is completed, a YES determination is made in S60, and the process proceeds to S70. On the other hand, the original of the first page after completion of reading is discharged onto the discharge tray 46 by the ADF 40.

S70では、次ページがあるか、すなわち原稿トレイ42に原稿が有るかどうかが、原稿センサ49の出力に基づいて判定される。ここではメモリ送信する2枚の原稿のうち1枚目しか読み取りを完了しておらず、原稿トレイ42には原稿が残されている。そのため、原稿センサ49の出力がオンとなり、CPU60AにてYES判定される。   In S <b> 70, it is determined based on the output of the document sensor 49 whether there is a next page, that is, whether there is a document on the document tray 42. Here, only the first of the two originals to be transmitted to the memory has been read, and the original remains on the original tray 42. Therefore, the output of the document sensor 49 is turned on, and the CPU 60A determines YES.

S70でYES判定された場合、ADF40の駆動により、原稿トレイ42上にセットされた2ページ目の原稿が、表面を上に向けた状態で搬送路43に送りだされる(S10)。その後、1ページ目の原稿と同じ手順で、2ページ目の原稿の読み取りがCIS30によりライン単位で行われ、読み取った画像データはデータ変換、補正処理が行われた後、RAM63へ格納される。   If YES is determined in S <b> 70, the second page of the document set on the document tray 42 is sent to the transport path 43 with the front side facing up by driving the ADF 40 (S <b> 10). Thereafter, the second page of the document is read in line units by the CIS 30 in the same procedure as the first page of the document, and the read image data is subjected to data conversion and correction processing and then stored in the RAM 63.

その後、2ページ目の原稿について、全ラインの読み取りが完了すると、2ページ目の原稿は排紙トレイ46上に排紙される。その後、再び、S70にて、次ページがあるか、すなわち原稿トレイ42に原稿が有るかどうか判定される。この段階では、メモリ送信する全2ページの原稿の読み取りを完了しており、原稿トレイ42に残された原稿は無いことから、S70でNO判定され、処理はS80に移行する。   Thereafter, when the reading of all the lines for the second page of the document is completed, the second page of the document is discharged onto the discharge tray 46. Thereafter, in S70 again, it is determined whether or not there is a next page, that is, whether or not there is a document on the document tray 42. At this stage, since reading of all the two pages of the document to be transmitted to the memory has been completed and there is no document left on the document tray 42, NO is determined in S70, and the process proceeds to S80.

S80では、RAM63へ格納した画像データが、白紙データかどうか判定する処理がCPU60Aにより実行される。具体的には、CPU60Aは、画像データについて、1ページごとに、基準濃度を超える画素数を求め、求めた画素数と白紙判定の閾値として設定された第一閾値と比較する。そして、求めた画素数が第一閾値を下回っている場合に、白紙と判断する。   In S80, a process for determining whether the image data stored in the RAM 63 is blank paper data is executed by the CPU 60A. Specifically, the CPU 60A obtains the number of pixels exceeding the reference density for each page of the image data, and compares the obtained number of pixels with a first threshold set as a blank page determination threshold. Then, when the obtained number of pixels is less than the first threshold value, it is determined that the page is blank.

そして、白紙データと判断された場合、CPU60Aはその画像データをRAM63から除去する(S90)。一方、白紙データでない場合には、画像データをRAM63から削除することなく、次に、全ページ分、白紙判定を行ったか判定する(S100)。そして、全ページ分白紙判定を行い、白紙データを削除する処理が完了すると、S100にてYES判定され、処理はS110に移行する。   If it is determined that the data is blank paper data, the CPU 60A removes the image data from the RAM 63 (S90). On the other hand, if it is not blank page data, it is determined whether blank page determination has been performed for all pages without deleting the image data from the RAM 63 (S100). When blank page determination is performed for all pages and the process of deleting blank page data is completed, a YES determination is made in S100, and the process proceeds to S110.

S110では、CPU60Aにより印字やFAX送信等の出力処理が実行される。ここでは、RAM63に記憶した2ページの画像データを、メモリ送信する処理が実行される。かくして、一連の処理は終了する。   In S110, the CPU 60A executes output processing such as printing and FAX transmission. Here, a process of transmitting the image data of two pages stored in the RAM 63 to the memory is executed. Thus, a series of processing ends.

<RAM63の使用量が限界量以上になる場合>
尚、ここでは5枚の原稿をメモリ送信するものとする。そして、5枚のうち4ページ目までは、RAM63の利用量が限界量以上になることなく読み取りは完了し、5ページ目の読み取り途中で、RAM63の使用量が限界量以上になったものとする。
<When the amount of RAM 63 used exceeds the limit>
Here, it is assumed that five originals are transmitted in memory. Then, reading up to the fourth page of the five sheets is completed without the usage amount of the RAM 63 exceeding the limit amount, and the usage amount of the RAM 63 exceeds the limit amount in the middle of reading the fifth page. To do.

RAM63の使用量が限界量以上になると、S40の判定処理にてYES判定され、処理はS120に移行する。S120では、CPU60Aにて、RAM63に格納した読み取り済みの画像データ(1ページ分の画像データ)に、白紙データが含まれているか判定する処理が実行される。尚、このS120の判定は、S80の判定と同様に、基準濃度を超える画素数を求め、それを白紙判定の閾値として設定された第一閾値と比較することにより行う。尚、CPU60Aの実行するS120の処理により、本発明の「白紙判定部」の機能が実現されている。   When the usage amount of the RAM 63 becomes equal to or larger than the limit amount, YES is determined in the determination process of S40, and the process proceeds to S120. In S120, the CPU 60A executes a process of determining whether the read image data (image data for one page) stored in the RAM 63 includes blank page data. The determination in S120 is performed by obtaining the number of pixels exceeding the reference density and comparing it with the first threshold value set as the blank paper determination threshold, as in the determination in S80. The function of the “blank sheet determination unit” of the present invention is realized by the processing of S120 executed by the CPU 60A.

また、白紙データの判定は、例えばRAM63への格納順(新しく順)に行われる。従って、ここでは、まず、4ページ目の画像データが、白紙データか判定される。4ページ目の画像データが白紙データでない場合には、次ページ、すなわちページ目について白紙データかどうか判定する処理が行われる。そして、3ページ目も、白紙データでない場合には、次ページ、すなわち2ページ目が白紙データかどうか判定する処理が行われる。このように、S120では、白紙データが検出されるまで、判定処理が繰り返し行われ、白紙データが検出された時点で、YES判定される。ここでは、3ページ目の画像データが白紙データと判定されたものとする。   Further, the determination of the blank data is performed in the order of storage in the RAM 63 (new order), for example. Accordingly, first, it is determined whether the image data of the fourth page is blank page data. When the image data of the fourth page is not blank data, a process for determining whether or not the next page, that is, the page, is blank data is performed. If the third page is not blank page data, a process for determining whether the next page, that is, the second page is blank page data, is performed. As described above, in S120, the determination process is repeatedly performed until blank data is detected, and YES is determined when blank data is detected. Here, it is assumed that the image data of the third page is determined to be blank paper data.

S120でYES判定された場合、処理はS130に移行する。S130では、CPU60Aにより、S120にて白紙データと判定された画像データをRAM63から削除する処理が実行される。従って、ここでは、3ページ目の画像データがRAM63から削除されることになる。そして、画像データの削除によりRAM63の使用量は下がり、限界量を下回る状態に戻る。尚、CPU60Aの実行するS130の処理により、本発明の「削除部」の機能が実現されている。   If YES is determined in S120, the process proceeds to S130. In S <b> 130, the CPU 60 </ b> A executes processing for deleting the image data determined as blank paper data in S <b> 120 from the RAM 63. Accordingly, the image data for the third page is deleted from the RAM 63 here. Then, the amount of use of the RAM 63 decreases due to the deletion of the image data, and returns to a state below the limit amount. Note that the function of the “deleting unit” of the present invention is realized by the processing of S130 executed by the CPU 60A.

S130の処理後はS50に戻ることから、その後、CPU60Aにて、読み取り途中の画像データ、すなわち5ページの画像データをRAM63に記憶させる処理が行われることになる。   Since the process returns to S50 after the process of S130, the CPU 60A performs a process of storing image data being read, that is, image data of 5 pages in the RAM 63.

その後の処理は、2枚の原稿をメモリ送信する場合を例にとって説明した場合と同様に、1ページ分の読み取りが完了していなければ、S10〜S60の処理が繰り返されることとなり、CPU60Aの制御にて、CIS30による画像の読み取りが継続される。そして、全5枚の読み取りが完了するとS70にてNO判定されて、処理はS80〜S100に移行する。尚、S130で白紙データを削除した後、S50に戻ってS10〜S60の処理をCPU60Aが実行することにより、本発明の制御部の機能が実現されている。   Subsequent processing is similar to the case described in the case where two originals are transmitted to the memory, and if the reading of one page is not completed, the processing of S10 to S60 is repeated, and the control of the CPU 60A is performed. Then, reading of the image by the CIS 30 is continued. When reading of all five sheets is completed, a NO determination is made in S70, and the process proceeds to S80 to S100. After the blank page data is deleted in S130, the process of S10 to S60 is executed by the CPU 60A after returning to S50, thereby realizing the function of the control unit of the present invention.

そして、S80〜S100では、RAM63へ格納した画像データが、白紙データかどうか判定する処理がCPU60Aにより実行され、白紙データと判定された画像データは削除されることになる。ここでは、全5枚の原稿のうち、3ページ目と4ページ目の画像データは、S120で白紙判定済みであることから、残る原稿、すなわち1ページ目、2ページ目、5ページ目の画像データについて白紙データか判定する処理が行われ、白紙データと判定された画像データは削除されることになる。ここでは、白紙データである判定された画像データはなかったものとする。   In S80 to S100, the CPU 60A executes a process for determining whether the image data stored in the RAM 63 is blank sheet data, and the image data determined to be blank sheet data is deleted. Here, among the five originals, the image data of the third and fourth pages have already been determined as blank pages in S120, so the remaining originals, that is, the images of the first, second, and fifth pages. A process for determining whether the data is blank paper data is performed, and the image data determined to be blank paper data is deleted. Here, it is assumed that there is no determined image data that is blank paper data.

その後、処理はS110に移行して出力処理が実行される。この例では、全5枚のうち、削除された3ページ目の原稿を除く、残り4枚の原稿、すなわち1ページ目、2ページ目、4ページ目、5ページ目の画像データがメモリ送信される。かくして、一連の処理は終了する。   Thereafter, the process proceeds to S110 and the output process is executed. In this example, the remaining four originals, that is, the image data of the first page, the second page, the fourth page, and the fifth page, except the deleted third page of the original, are transmitted to the memory. The Thus, a series of processing ends.

次に、S120にてNO判定される場合、すなわち、RAM63に格納した画像データに、白紙データが含まれていない場合の説明を行う。   Next, the case where NO is determined in S120, that is, the case where the blank image data is not included in the image data stored in the RAM 63 will be described.

S120でNO判定されると、その後処理はS140に移行する。S140では、CPU60Aにてメモリフル処理を実行するかどうかが、判定される。メモリフル処理は、読み取り中の画像データは破棄することにより、RAM63にそれ以上データを記憶させないようにする一方、RAM63に格納済みの画像データについては出力する処理である。   If NO is determined in S120, then the process proceeds to S140. In S140, it is determined whether or not the CPU 60A executes the memory full process. The memory full process is a process of discarding the image data being read so that no more data is stored in the RAM 63 while the image data already stored in the RAM 63 is output.

メモリフル処理の実行の可否は、ユーザ設定することが出来、メモリフル処理を実行しない設定の場合、S140でNO判定され、処理はそこで終了する。この場合、読み取り済みの4ページ分の画像データはメモリ送信されることなく、処理が終了することになる。   Whether or not the memory full process can be executed can be set by the user. If the memory full process is not executed, a NO determination is made in S140, and the process ends there. In this case, the read image data for four pages is not transmitted to the memory, and the process ends.

一方、ユーザがメモリフル処理を実行する設定にしている場合、S140でYES判定され、S150に移行する。S150では、メモリフル処理が実行される。すなわち、5ページの原稿はCIS30にて画像を読み取られることなく、搬送路43を送られて、排紙トレイ46に排紙されることになる。   On the other hand, if the user is set to execute the memory full process, YES is determined in S140, and the process proceeds to S150. In S150, a memory full process is executed. That is, the five-page document is fed through the transport path 43 without being read by the CIS 30 and discharged onto the discharge tray 46.

その後、処理はS110に以降して、画像の読み取りを中止した5ページ目の原稿を除く、1ページ目〜4ページ目の画像データをメモリ送信する処理が実行される。   Thereafter, after S110, the process of transmitting the image data of the first page to the fourth page, excluding the fifth page of the document whose reading is stopped, is executed.

以上説明したように、画像の読取中にRAM63の使用量が一時的に限界量を超えても、白紙データの削除により、使用量を限界量以下に下げられる。そのため、CIS30による原稿の読取処理を継続することが可能となり、読取処理のスループットが低下することを抑制できる。   As described above, even when the amount of use of the RAM 63 temporarily exceeds the limit amount during image reading, the amount of use can be lowered to the limit amount or less by deleting blank paper data. Therefore, it is possible to continue the document reading process by the CIS 30, and it is possible to suppress a decrease in the throughput of the reading process.

また、特に一度の読み取り処理で複数枚の原稿を読み取るADFでは、RAM63の使用量が限界量を超え易い。この点本技術の適用により、使用量が限界量を超えることを抑制できるので、読取処理のスループットの低下を抑制できる。   In particular, in the ADF that reads a plurality of documents in one reading process, the usage amount of the RAM 63 tends to exceed the limit amount. In this regard, application of the present technology can suppress the usage amount from exceeding the limit amount, so that a decrease in throughput of the reading process can be suppressed.

本構成では、CPU60Aが読取部制御機能と白紙判定機能を兼用するので、両処理を並行処理できない。そこで、RAM63の使用量が限界量以上になった場合に、白紙データの判定処理(S120の処理)を実行することにより、画像を読み取る毎に白紙データの判定処理を実行する場合に比べて、読取処理のスループットが低下することを抑制できる。   In this configuration, since the CPU 60A combines the reading unit control function and the blank page determination function, both processes cannot be performed in parallel. Therefore, when the usage amount of the RAM 63 exceeds the limit amount, the blank data determination process (the process of S120) is executed, so that the blank data determination process is executed each time an image is read. It can suppress that the throughput of a reading process falls.

<実施形態2>
次に、本発明の実施形態2を図5ないし図9によって説明する。実施形態1では、CPU60Aに対して、(1)読取部制御機能、(2)画像処理、白紙判定機能、(3)出力処理機能、(4)メモリエラー回避機能の4つの機能を負担させるものを説明した。
<Embodiment 2>
Next, a second embodiment of the present invention will be described with reference to FIGS. In the first embodiment, the CPU 60A is burdened with four functions: (1) reading unit control function, (2) image processing, blank page determination function, (3) output processing function, and (4) memory error avoidance function. Explained.

実施形態2は、上記4機能のうち、(2)画像処理、白紙判定機能を、画像処理回路83に実行させるようにしたものであり、図5にて示すように、実施形態1に対して画像処理回路83とダイレクトメモリコントローラ81が追加された構成となっている。   In the second embodiment, among the above four functions, (2) the image processing and blank page determination function are executed by the image processing circuit 83. As shown in FIG. An image processing circuit 83 and a direct memory controller 81 are added.

尚、ダイレクトメモリコントローラ81は、画像処理回路83にてガンマ補正やシェーディング補正を行った画像データを、RAM63に書き込む機能を担うものである。また、CPU60Bと画像処理回路83が本発明の異なるディバイスに対応する。すなわち、CPU60Bが本発明の「制御部、削除部」に対応するディバイスであり、画像処理回路83が本発明の「白紙判定部」に対応するディバイスである。   The direct memory controller 81 has a function of writing the image data that has been subjected to gamma correction and shading correction by the image processing circuit 83 to the RAM 63. The CPU 60B and the image processing circuit 83 correspond to different devices of the present invention. That is, the CPU 60B is a device corresponding to the “control unit, deletion unit” of the present invention, and the image processing circuit 83 is a device corresponding to the “blank sheet determination unit” of the present invention.

実施形態2は、画像処理回路83が、CIS30による原稿の読み取りと同時並行的に、読み取った画像データの白紙判定を行っていることから、実施形態1のメモリエラー回避シーケンスに対してS65の処理を新たに加えて、原稿を1ページ読み取る度に、画像処理回路83が判定した白紙判定結果をRAM63に書き込むようにしている。   In the second embodiment, since the image processing circuit 83 performs blank page determination of the read image data simultaneously with the reading of the original by the CIS 30, the process of S65 is performed for the memory error avoidance sequence of the first embodiment. Is added, and the blank sheet determination result determined by the image processing circuit 83 is written in the RAM 63 every time one page of the document is read.

以下、実施形態2のメモリエラー回避シーケンス(図6参照)の処理内容を、RAM63の使用量が限界量以上にならない場合と、限界量以上になる場合に、分けて説明する。   Hereinafter, the processing content of the memory error avoidance sequence (see FIG. 6) according to the second embodiment will be described separately when the usage amount of the RAM 63 does not exceed the limit amount and when it exceeds the limit amount.

<RAM63の使用量が限界量以上にならない場合>
ここでは、ユーザが複合機1で2枚の原稿をメモリ送信する場合を例にとって説明する。原稿トレイ42に2枚の原稿がセットされ、ユーザにより操作部11のスタートキーが押されると、まず、原稿を読み取る処理が開始される。具体的には、ADF40の駆動により、原稿トレイ42上にセットされた一枚目の原稿が、表面を上に向けた状態で搬送路43に送りだされる(S10)。
<When the usage amount of the RAM 63 does not exceed the limit amount>
Here, a case will be described as an example in which the user transmits two originals to the memory using the multifunction device 1. When two documents are set on the document tray 42 and the start key of the operation unit 11 is pressed by the user, first, a process of reading the document is started. Specifically, by driving the ADF 40, the first document set on the document tray 42 is sent to the transport path 43 with the front side facing up (S10).

その後、送り出された原稿(ここでは、1ページ目の原稿)の先端が読取位置Pに達すると、CIS30による原稿の読み取りが行われる。具体的には、第2プラテンガラス53上の読取位置Pを通過する原稿を、イメージセンサ33が1ライン読み取る。イメージセンサ33が読み取った画像データは、その後A/D変換器65にてデジタル信号に変換される。そして、画像処理回路83はA/D変換器65から画像データを読み出して、ガンマ補正やシェーディング補正を行う(S20、S30)。   Thereafter, when the leading end of the sent document (here, the first page document) reaches the reading position P, the document is read by the CIS 30. Specifically, the image sensor 33 reads one line of the document passing the reading position P on the second platen glass 53. The image data read by the image sensor 33 is then converted into a digital signal by the A / D converter 65. The image processing circuit 83 reads the image data from the A / D converter 65 and performs gamma correction and shading correction (S20, S30).

その後、メモリコントローラ81はRAM63にアクセスして、RAM63の使用量が限界量以上か判定する(S40)。尚、このS40の判定は、実施形態1と同様に、メモリカウンタ63Aのカウント値を閾値「CX」と比較することにより行う。   Thereafter, the memory controller 81 accesses the RAM 63 and determines whether the usage amount of the RAM 63 is equal to or larger than the limit amount (S40). Note that the determination in S40 is performed by comparing the count value of the memory counter 63A with the threshold “CX”, as in the first embodiment.

RAM63の使用量が限界量以上でない場合、メモリコントローラ81は、S30で補正した画像データを画像処理回路83から読み出してRAM63へ格納する(S50)。これにて、1ライン目の画像データがRAM63に格納されることになる。   If the usage amount of the RAM 63 is not equal to or greater than the limit amount, the memory controller 81 reads the image data corrected in S30 from the image processing circuit 83 and stores it in the RAM 63 (S50). As a result, the image data of the first line is stored in the RAM 63.

その後、全ラインの読み取りが完了するまでは、S60の判定処理でNO判定され、S10〜S50までの処理が順に実行される。そのため、CIS30により原稿の読み取り、A/D変換器65によるデータ変換、CPU60Bによる画像データの補正処理がライン単位で実行され、その後、各ラインの画像データはRAM63へ格納される。   Thereafter, until the reading of all lines is completed, NO is determined in the determination process of S60, and the processes from S10 to S50 are sequentially executed. Therefore, the reading of the original by the CIS 30, the data conversion by the A / D converter 65, and the image data correction processing by the CPU 60 </ b> B are executed for each line, and then the image data of each line is stored in the RAM 63.

画像処理回路83は、S10〜S50の処理が繰り返される間、CIS30から読み出した画像データの濃度を検出し、基準濃度を超える画素数を検出する。そして、画像処理回路83は、全ラインの読み取りが完了した時点で、画像データが白紙データかページ単位で判定する。すなわち、基準濃度を超える画素数を第一閾値と比較し、その大小関係により、そのページが白紙データか判定する。   The image processing circuit 83 detects the density of the image data read from the CIS 30 while the processes of S10 to S50 are repeated, and detects the number of pixels exceeding the reference density. Then, the image processing circuit 83 determines whether the image data is blank paper data or page units when reading of all lines is completed. That is, the number of pixels exceeding the reference density is compared with the first threshold value, and it is determined whether the page is blank data based on the magnitude relationship.

一方、メモリエラー回避シーケンスは、全ラインの読み取りが完了すると、S60にてYES判定され、処理はS65に移行する。S65では、画像処理回路83から白紙判定結果を読み出してRAM63に対して書き込む処理がCPU60Bにより実行される。   On the other hand, in the memory error avoidance sequence, when all the lines have been read, a YES determination is made in S60, and the process proceeds to S65. In S <b> 65, the CPU 60 </ b> B executes a process of reading the blank sheet determination result from the image processing circuit 83 and writing it to the RAM 63.

具体的には、S65の処理は、図7に示すS151〜S153と処理から構成されていて、画像処理回路83から白紙判定結果を読み出す処理がまず実行され、その後、読み出した白紙判定結果に応じて、メタ情報部に白紙ページ情報が書き込まれる。   Specifically, the process of S65 includes S151 to S153 and the process shown in FIG. 7, and a process of reading a blank page determination result from the image processing circuit 83 is first executed, and then, according to the read blank page determination result. Thus, blank page information is written in the meta information portion.

図8を参照して詳しく説明すると、RAM63には、画像データを記憶させる領域と、メタ情報を書き込むためのメタ情報部とが設けられている。メタ情報は画像データの要約情報であり、各画像データについてページ番号、開始アドレス、サイズ、白紙ページ情報、前ページのメタ情報アドレス、次ページのメタ情報アドレスを含む。 Describing in detail with reference to FIG. 8, the RAM 63 is provided with an area for storing image data and a meta information part for writing meta information. The meta information is summary information of the image data, and includes page number, start address, size, blank page information, meta information address of the previous page, and meta information address of the next page for each image data.

この例では、画像処理回路83から白紙判定結果が「白紙でない」場合には、「白紙ページ情報」として「00」が書き込まれることになる。一方、読み出した白紙判定結果が「白紙データ」の場合には、「白紙ページ情報」として「01」が書き込まれることになる。尚、白紙ページ情報が本発明の「白紙判定処理情報」に対応する。また、RAM63が、メタ情報として白紙ページ情報を記憶する。 In this example, when the blank page determination result is “not blank” from the image processing circuit 83, “00” is written as “blank page information”. On the other hand, when the read blank page determination result is “blank page data”, “01” is written as “blank page information”. The blank page information corresponds to “blank page determination processing information” of the present invention. In addition, RAM63 is, it stores a blank page information as meta information.

図6に戻って説明を続けると、S65に続く、S70では、実施形態1と同様に、CPU60Bにて次ページがあるか判定される。ここではメモリ送信する2枚の原稿のうち1ページ目しか読み取りを完了しておらず、原稿トレイ42には2ページ目の原稿が残されている。そのため、S70では、CPU60BにてYES判定される。   Returning to FIG. 6 and continuing the description, in S70 following S65, the CPU 60B determines whether there is a next page, as in the first embodiment. Here, only the first page of the two originals to be transmitted to the memory has been read, and the original for the second page remains on the original tray 42. Therefore, in S70, the CPU 60B determines YES.

S70でYES判定された場合には、ADF40の駆動により、原稿トレイ42上にセットされた2ページ目の原稿が、表面を上に向けた状態で搬送路43に送りだされる。   If YES is determined in S <b> 70, the second page of the document set on the document tray 42 is sent to the conveyance path 43 with the front side facing up by driving the ADF 40.

その後、2ページ目の原稿について全ラインの読み取りが完了するまでは、1ページ目と同様にS10〜S50までの処理が順に実行され、CIS30による原稿の読み取り、A/D変換器65によるデータ変換、画像処理回路83による補正処理、メモリコントローラ81による画像データのRAM63へ格納が、ライン単位で実行されることになる。   Thereafter, until the reading of all lines for the second page of the document is completed, the processes from S10 to S50 are executed in order as in the first page, the document is read by the CIS 30, and the data is converted by the A / D converter 65. Then, correction processing by the image processing circuit 83 and storage of the image data in the RAM 63 by the memory controller 81 are executed in line units.

そして、画像処理回路83は、S10〜S50の処理が繰り返される間、CIS30から読み出した画像データの濃度を検出し、基準濃度を超える画素数を検出する。そして、画像処理回路83は、2ページ目について、全ラインの読み取りが完了した時点で、2ページ目の画像データが白紙データか判定する。   Then, the image processing circuit 83 detects the density of the image data read from the CIS 30 while the processes of S10 to S50 are repeated, and detects the number of pixels exceeding the reference density. Then, the image processing circuit 83 determines whether the image data of the second page is blank page data when reading of all lines is completed for the second page.

一方、メモリエラー回避シーケンスは、全ラインの読み取りが完了すると、S60にてYES判定され、処理はS65に移行する。そして、S65では、白紙判定結果をRAM63に対して書き込む処理がCPU60Bにて実行される。   On the other hand, in the memory error avoidance sequence, when all the lines have been read, a YES determination is made in S60, and the process proceeds to S65. In S65, the CPU 60B executes a process of writing the blank sheet determination result to the RAM 63.

すなわち、画像処理回路83から白紙判定結果をまず読み出し、読み出した白紙判定結果が「白紙でない」場合、RAM63のメタ情報部に、白紙ページ情報として「00」の情報を書き込む。一方、読み出した白紙判定結果が「白紙データ」の場合には、「白紙ページ情報」として「01」を書き込む。   That is, the blank page determination result is first read from the image processing circuit 83, and when the read blank page determination result is “not blank”, information “00” is written in the meta information portion of the RAM 63 as blank page information. On the other hand, when the read blank page determination result is “blank page data”, “01” is written as “blank page information”.

S65の処理が終了すると、次にS70にて、次ページがあるか判定される。この段階では、メモリ送信する全2枚の原稿の読み取りを完了しており、原稿トレイ42に残された原稿は無いことから、S70でNO判定され、処理はS90に移行する。   When the processing of S65 ends, it is next determined in S70 whether there is a next page. At this stage, since reading of all the two originals to be transmitted to the memory has been completed and there is no original left on the original tray 42, a NO determination is made in S70, and the process proceeds to S90.

S90では、CPU60Bにより、白紙データを削除する処理が行われる。具体的には、RAM63のメタ情報部から各画像データについて白紙ページ情報を読み取り、白紙ページ情報として「01」の情報が登録されている画像データを削除する。   In S90, the CPU 60B performs a process of deleting blank data. Specifically, the blank page information is read for each image data from the meta information portion of the RAM 63, and the image data in which “01” information is registered as the blank page information is deleted.

その後、処理はS110に移行して出力処理が実行される。これにより、RAM63に記憶された画像データ(ただし、S90で削除された画像データを除く)をメモリ送信する処理が実行される。かくして、一連の処理は終了する。   Thereafter, the process proceeds to S110 and the output process is executed. As a result, the process of transmitting the image data stored in the RAM 63 (however, excluding the image data deleted in S90) to the memory is executed. Thus, a series of processing ends.

<RAM63の使用量が限界量以上になる場合>
尚、ここでは5枚の原稿をメモリ送信するものとする。そして、5枚のうち4ページ目までは、RAM63の使用量が限界量以上になることなく原稿の読み取りとRAM63に対するメタ情報の書き込みは完了し、5ページ目の原稿を読み取る途中でRAM63の使用量が限界量以上になり、S40でYES判定されたのとする。
<When the amount of RAM 63 used exceeds the limit>
Here, it is assumed that five originals are transmitted in memory. For the fourth page of the five sheets, the reading of the original and the writing of the meta information to the RAM 63 are completed without the amount of use of the RAM 63 exceeding the limit amount, and the use of the RAM 63 is being performed while the original of the fifth page is being read. It is assumed that the amount exceeds the limit amount and YES is determined in S40.

S40でYES判定された場合、CPU60Bにて図9に示すS171〜S183の処理が実行され、着目ページを1ページ目から順に更新しながら白紙ページ情報を判定する処理が行われることになる。すなわち、まずS171では、メタ情報部の着目ページが1ページ目に設定される。続く、S173では、着目ページである1ページ目の白紙ページ情報が「01」か、判定される。   If YES is determined in S40, the CPU 60B executes the processes of S171 to S183 shown in FIG. 9, and the process of determining blank page information while sequentially updating the page of interest from the first page. That is, first in S171, the page of interest in the meta information section is set to the first page. In step S173, it is determined whether the blank page information of the first page that is the page of interest is “01”.

例えば、着目ページである1ページ目の白紙ページ情報が「00」、すなわち白紙でない場合、S173でNO判定され、処理はS175に移行する。S175では次ページがあれば、NO判定されることから、次にS177に移行して着目ページを次ページに設定する処理が実行される。このように、着目ページの白紙ページ情報が「01」でない場合には、着目ページが1ページから順に更新されることになる。   For example, if the blank page information of the first page, which is the page of interest, is “00”, that is, it is not blank, a NO determination is made in S173, and the process proceeds to S175. If there is a next page in S175, a NO determination is made. Therefore, the process proceeds to S177, and a process of setting the page of interest as the next page is executed. As described above, when the blank page information of the page of interest is not “01”, the page of interest is updated in order from the first page.

着目ページが更新されると、その後処理はS173に戻り、更新された着目ページの白紙ページ情報が「01」か、判定される。そして、更新されたページの白紙ページ情報が「01」であれば、S173にてYES判定され、処理はS181へ移行する。ここでは、2ページ目の白紙情報が「01」であるものとする。   When the page of interest is updated, the process thereafter returns to S173, and it is determined whether the blank page information of the updated page of interest is “01”. If the updated blank page information is “01”, a YES determination is made in S173, and the process proceeds to S181. Here, it is assumed that the blank page information on the second page is “01”.

S181では、白紙ページ情報が「01」である画像データを開放、すなわち削除する処理がCPU60Bにて実行されることになる。従って、S181では、2ページ目の画像データが開放される。具体的には、2ページ目のメタ情報を全削除することにより、画像データを開放する。続く、S183では、ページのつなぎ処理が実行される。尚、CPU60Bにて実行されるS171、S173、S175、S177、S181の処理、すなわち白紙ページ情報が「01」であるページを検索してそのページの画像データを削除する。 In S181, the CPU 60B executes a process of releasing, that is, deleting, image data whose blank page information is “01”. Accordingly, in S181, the image data of the second page is released. Specifically, the image data is released by deleting all the meta information of the second page. In step S183, page linkage processing is executed. Incidentally, S171 is executed by CPU60B, S173, S175, S177, the processing of S181, namely to delete the image data of the page to find the page blank page information is "01".

このように、S181にて、画像データを開放して削除することにより、RAM63の使用量は下がり、限界量を下回る状態に戻る。その後、処理は、図6のS50に戻ることから、読み取り途中の画像データ、すなわち5ページ目の画像データをRAM63に記憶させる処理が行われることになる。   As described above, by releasing and deleting the image data in S181, the usage amount of the RAM 63 decreases and returns to a state below the limit amount. Thereafter, the process returns to S50 in FIG. 6, so that the process of storing the image data being read, that is, the image data of the fifth page in the RAM 63 is performed.

その後の処理は、2枚の原稿をメモリ送信する場合を例にとって説明した場合と同様に処理が進められる。すなわち、全5ページの読み取りが完了するとS70にてNO判定されて、処理はS90に移行する。   Subsequent processing proceeds in the same manner as described in the case where two originals are transmitted in memory. That is, when reading of all five pages is completed, NO is determined in S70, and the process proceeds to S90.

S90では、CPU60Bにより、白紙データを削除する処理が行われる。具体的には、RAM63のメタ情報部から各画像データについて白紙ページ情報を読み取り、白紙ページ情報として「01」の情報が登録されている画像データはメタ情報を開放して削除する。   In S90, the CPU 60B performs a process of deleting blank data. Specifically, blank page information is read for each image data from the meta information portion of the RAM 63, and image data in which “01” information is registered as blank page information is released and deleted.

その後、処理はS110に移行して出力処理が実行される。S110では、全5枚の画像データのうち、削除されなかった画像データをメモリ送信する処理が実行される。従って、2枚目以外に削除されたデータがない場合には、全5枚のうち、残り4枚の原稿、すなわち1ページ目、3ページ目、4ページ目、5ページ目の原稿がメモリ送信されることとなる。かくして、一連の処理は終了する。   Thereafter, the process proceeds to S110 and the output process is executed. In S110, a process of transmitting image data that has not been deleted among all the five pieces of image data to the memory is executed. Therefore, if there is no deleted data other than the second page, the remaining 4 originals out of all 5 pages, that is, the first page, the third page, the fourth page, and the fifth page are transmitted to the memory. Will be. Thus, a series of processing ends.

尚、RAM63の使用量が限界量になるまでに読み取った全4ページ中に白紙データが含まれていない場合は、S173にて、4ページ目の白紙ページ情報を判定した後、S175では、次のページが無く、「次ページは現在読み取り中」の状態となるので、YES判定されることになる。そして、S175でYES判定されると、処理はそこで終了する。従って、この場合、読み取り済みの画像データ、すなわち1ページ目〜4ページ目までの画像データは、メモリ送信されないことになる。また、この場合、複合機1は読み取り済みの画像データを削除したり、ユーザに報知したりするなどのエラー対応を実行する。   If no blank page data is included in all four pages read until the usage amount of the RAM 63 reaches the limit amount, the blank page information for the fourth page is determined in S173, and then in S175 There is no page, and the “next page is currently being read” state is entered, so a YES determination is made. If YES is determined in S175, the process ends there. Therefore, in this case, the read image data, that is, the image data from the first page to the fourth page is not transmitted to the memory. In this case, the multifunction device 1 executes error handling such as deleting the read image data or notifying the user.

以上説明したように、画像読取中にRAM63の使用量が一時的に限界量を超えても、白紙データの削除により、使用量を限界量以下に下げられる。そのため、CIS30による原稿の読取処理を継続することが可能となり、読取処理のスループットが低下することを抑制できる。   As described above, even if the amount of use of the RAM 63 temporarily exceeds the limit amount during image reading, the amount of use can be lowered to the limit amount or less by deleting blank paper data. Therefore, it is possible to continue the document reading process by the CIS 30, and it is possible to suppress a decrease in the throughput of the reading process.

また、本構成では、1ページごと白紙判定処理を行って、白紙ページ情報をRAM63のメタ情報部に記憶している。そのため、RAM63にアクセスして白紙ページ情報をチェックすることで白紙ページを特定することが可能であり、RAM63の使用量を下げるにあたり、RAM63に記憶された各画像データの白紙判定を行う必要がない。そのため、RAM63の使用量を下げる処理を短時間で行うことが可能となることから、読取処理のスループットが低下することを抑制できる。   In this configuration, blank page determination processing is performed for each page, and blank page information is stored in the meta information portion of the RAM 63. Therefore, it is possible to specify a blank page by accessing the RAM 63 and checking blank page information, and it is not necessary to perform blank page determination for each image data stored in the RAM 63 when reducing the amount of use of the RAM 63. . Therefore, it is possible to perform the process of reducing the usage amount of the RAM 63 in a short time, and it is possible to suppress a decrease in the throughput of the reading process.

<実施形態3>
次に、本発明の実施形態3を図10によって説明する。実施形態2では、RAM63の使用量が限界量以上になる場合、S171〜S183の処理を実行して白紙データを開放して削除することでRAM63の使用量を下げるようにした。
<Embodiment 3>
Next, Embodiment 3 of the present invention will be described with reference to FIG. In the second embodiment, when the usage amount of the RAM 63 exceeds the limit amount, the usage amount of the RAM 63 is reduced by executing the processing of S171 to S183 to release and delete the blank paper data.

実施形態3は、RAM63の使用量が限界量以上になる場合に、白紙データを開放して削除することでRAM63の使用量を下げる点は共通している。相違点は、実施形態2が白紙データを1ページだけ削除するのに対して、実施形態3はRAM63に記憶された白紙データを全て削除する点にある。   The third embodiment is common in that when the usage amount of the RAM 63 exceeds the limit amount, the usage amount of the RAM 63 is reduced by releasing and deleting the blank paper data. The difference is that the second embodiment deletes only one page of blank paper data, whereas the third embodiment deletes all blank data stored in the RAM 63.

尚、具体的な処理の違いとしては、上記変更に伴って、図10に示すようにS183の処理後、S175に移行する点と、S185の処理を新たに設けている点が相違している。   Note that the specific difference between the processes is that the process shifts to S175 after the process of S183 as shown in FIG. 10 and the process of S185 is newly provided in accordance with the above change. .

このように、実施形態3では、RAM63の使用量が限界量以上になる場合、RAM63に記憶された白紙データを全て削除するので、白紙データを1ページ分だけ削除する場合に比べて、RAM63の使用量について限界量に対する余裕ができる。そのため、それ以降の読み取り中に、RAM63の使用量が限界量を超える可能性が少なくなるので、読取処理のスループットが低下することを抑制できる。   As described above, in the third embodiment, when the usage amount of the RAM 63 exceeds the limit amount, all the blank paper data stored in the RAM 63 is deleted. There is room for the limit amount of usage. Therefore, since the possibility that the usage amount of the RAM 63 exceeds the limit amount during the subsequent reading is reduced, it is possible to suppress a reduction in the throughput of the reading process.

<実施形態4>
次に、本発明の実施形態4を図11〜図12によって説明する。実施形態2では、白紙ページ情報を、白紙でない「00」と、白紙データ「01」の2パターンの情報から構成した。
<Embodiment 4>
Next, a fourth embodiment of the present invention will be described with reference to FIGS. In the second embodiment, the blank page information is composed of two patterns of information “00” that is not blank and blank data “01”.

実施形態4は、白紙ページ情報のパターンを2パターンから3パターンに拡張した点が、実施形態2と相違しており、実施形態4では、白紙ページ情報を、白紙でない「00」と、定型画像を含まない白紙データ「01」と、定型画像を含む白紙データ「02」から構成している。   The fourth embodiment is different from the second embodiment in that the pattern of blank page information is expanded from two patterns to three patterns. In the fourth embodiment, the blank page information is “00” which is not a blank page, and a standard image. The blank page data “01” does not include the blank page data and the blank page data “02” includes the standard image.

ここで、定型画像とは、原稿縁部にあたる上部や下部(図11中に点線枠で示す)に、年月日やファイル名など定型的に用いられる画像を意味する。そして、定型画像を含む白紙データとは、定型画像だけを含み、それ以外の画像は含まない画像データを意味する。また、定型画像を含まない白紙データは、定型画像を含めて画像が全く含まない画像データを意味する。   Here, the standard image means an image that is used in a fixed manner such as a date and a file name on the upper and lower portions (indicated by a dotted frame in FIG. 11) corresponding to the document edge. The blank page data including the standard image means image data including only the standard image and not including other images. Blank paper data that does not include a standard image means image data that does not include any image including a standard image.

尚、CIS30で読み取った画像データを、これら3パターンに分類するには、まず、原稿のうち上下を除く中央領域(図11の斜線で示す領域)を対象として、基準濃度を超える画素数を求めて、それを白紙判定の閾値として設定された第一閾値と比較する。これにより判定対象の画像データが白紙データか、非白紙か判定できる。   In order to classify the image data read by the CIS 30 into these three patterns, first, the number of pixels exceeding the reference density is obtained for the central area (area shown by hatching in FIG. 11) except the top and bottom of the document. Then, it is compared with a first threshold value set as a blank page determination threshold value. Thereby, it can be determined whether the image data to be determined is blank paper data or non-blank paper.

そして、次に白紙データを対象として、今度は上部又は下部に定型画像が印字されているかどうかを、光学文字認識(OCR)の技術や画素の濃度から判別することにより、そのデータが定型画像を含む白紙データか、定型画像を含まない白紙データか再分類できる。   Next, for blank paper data, this time, by determining whether or not a standard image is printed at the top or bottom from the optical character recognition (OCR) technology and pixel density, the data is converted into a standard image. It can be reclassified whether it contains blank paper data or blank paper data that does not contain a standard image.

尚、これら白紙データ情報の判定(分類)は、実施形態2と同様に画像処理回路83が実行し、その結果をCPU60BがRAM63のメタ情報部に白紙ページ情報として書き込むようになっている(図7のS151とS153)。   Note that the determination (classification) of these blank page data information is executed by the image processing circuit 83 as in the second embodiment, and the CPU 60B writes the result as blank page information in the meta information portion of the RAM 63 (see FIG. 7 S151 and S153).

そして、実施形態4は、実施形態2のメモリエラー回避シーケンス(図6、図7、図9)に対してS40でYES判定された後の処理が相違していて、RAM63の使用量が限界量以上になる場合に、白紙データのうち、定型画像を含まない白紙データを優先的に削除し、定型画像を含まない白紙データが存在しない場合に、定型画像を含む白紙データを削除する。   The fourth embodiment differs from the memory error avoidance sequence (FIG. 6, FIG. 7, FIG. 9) of the second embodiment in the processing after YES is determined in S40, and the usage amount of the RAM 63 is the limit amount. In such a case, blank data that does not include the standard image is preferentially deleted from the blank data, and if there is no blank data that does not include the standard image, the blank data that includes the standard image is deleted.

具体的に説明すると、実施形態4では、図6のS40でYES判定された場合、図12に示すS201に移行し、CPU60Bにより、「target」が「01」に設定される。続く、S203では、CPU60Bにより、着目ページが「1ページ目」に設定される。続く、S205では、着目ページについて、白紙ページ情報が「target」か判定される。ここでは、着目ページは1ページであり、「target」が「01」であることから、1ページ目の白紙データ情報が「01」、すなわち定型画像を含まない白紙データかどうか、CPU60Bにより判定されることになる。   More specifically, in the fourth embodiment, if YES is determined in S40 of FIG. 6, the process proceeds to S201 illustrated in FIG. 12, and “target” is set to “01” by the CPU 60B. In step S203, the CPU 60B sets the page of interest to “first page”. In step S205, it is determined whether the blank page information is “target” for the page of interest. Here, since the page of interest is one page and “target” is “01”, the CPU 60B determines whether the blank page data information of the first page is “01”, that is, blank page data not including a standard image. Will be.

ここで、1ページ目の白紙データ情報が「01」でない場合には、S207の判定処理後、S210に移行して着目ページを次ページに更新する処理がCPU60Bにて実行される。その後、処理はS205に戻り、更新された着目ページについて白紙ページ情報が「target」、すなわち「01」か判定される。このような処理が繰り返されることで、着目ページを更新しながら、そのページの白紙ページ情報が「target」、すなわち「01」か判定される。   Here, when the blank page data information of the first page is not “01”, after the determination process of S207, the CPU 60B executes a process of moving to S210 and updating the page of interest to the next page. Thereafter, the process returns to S205, and it is determined whether the blank page information is “target”, that is, “01” for the updated page of interest. By repeating such processing, it is determined whether the blank page information of the page is “target”, that is, “01” while updating the page of interest.

そして、白紙データ情報が「01」である着目ページが現れれば、S205でYES判定されることから、その後、処理はS213に移行して画像データを開放する処理がCPU60Bにより実行され、続くS215ではページのつなぎ処理が、CPU60Bにより実行される。そして、ページのつなぎ処理が完了すると、処理は図6のS50に戻ることになる。これらS213、S215の処理は、図9のS181、S183と同じ処理である。   Then, if a page of interest whose blank paper data information is “01” appears, a YES determination is made in S205. Thereafter, the process proceeds to S213, and the CPU 60B executes a process of releasing the image data, and in the subsequent S215, The page linkage process is executed by the CPU 60B. When the page joining process is completed, the process returns to S50 of FIG. The processes in S213 and S215 are the same as S181 and S183 in FIG.

一方、白紙データ情報が「01」である着目ページが無ければ、最後のページについてS205の判定処理が行われた後、S207、S209ではいずれもYES判定されることから、S211にて、CPU60Bにより「target」が「02」に設定される。   On the other hand, if there is no page of interest whose blank page data information is “01”, the determination processing of S205 is performed for the last page, and then YES is determined in S207 and S209. “Target” is set to “02”.

その後、処理はS203に戻ることから、今度は、着目ページを更新しながら、そのページの白紙ページ情報が「02」か、すなわち定型画像を含む画像データか判定される。そして、白紙データ情報が「02」である着目ページが現れれば、S205でYES判定されることから、その後、処理はS213に移行して画像データを開放する処理が実行され、続くS215ではページのつなぎ処理が実行される。そして、ページのつなぎ処理が完了すると、処理は図6のS50に戻ることになる。   Thereafter, the process returns to S203, and it is determined whether the blank page information of the page is “02”, that is, image data including a standard image, while updating the page of interest. If a target page whose blank page data information is “02” appears, a YES determination is made in S205. Thereafter, the process proceeds to S213 to execute a process of releasing the image data. The splicing process is executed. When the page joining process is completed, the process returns to S50 of FIG.

一方、白紙データ情報が「02」である着目ページが無ければ、最後のページについてS205の判定処理が行われた後、S207でYES判定、S209でN0判定されることから、その時点で処理は終了する。   On the other hand, if there is no page of interest whose blank page data information is “02”, the determination process of S205 is performed for the last page, and then a YES determination is made in S207 and a NO determination is made in S209. finish.

このように、実施形態4では、RAM63の使用量が限界量以上になる場合に、白紙データのうち、定型画像を含まない白紙データを優先的に削除するようにしている。従って、読取処理のスループットが低下することを抑制しつつも、定型画像を含む白紙データを極力削除せず、残しておくことが可能となる。尚、実施形態4において、CPU60Bが実行するS201〜211の処理、すなわち削除対象となる画像データの白紙ページ情報を、まず「01」に設定し、該当するページがない場合には、「02」に再設定する処理により、本発明の「決定部」の機能が実現されている。   As described above, in the fourth embodiment, when the usage amount of the RAM 63 is equal to or larger than the limit amount, blank data that does not include the standard image is preferentially deleted from the blank data. Therefore, it is possible to leave the blank data including the standard image as much as possible while keeping the throughput of the reading process from decreasing. In the fourth embodiment, the processing of S201 to 211 executed by the CPU 60B, that is, the blank page information of the image data to be deleted is first set to “01”. If there is no corresponding page, “02” is set. The function of the “determination unit” of the present invention is realized by the resetting process.

<実施形態5>
次に、本発明の実施形態5を図13〜図15によって説明する。実施形態2では、白紙ページ情報を、白紙でない「00」と、白紙データ「01」の2パターンの情報から構成した。
<Embodiment 5>
Next, a fifth embodiment of the present invention will be described with reference to FIGS. In the second embodiment, the blank page information is composed of two patterns of information “00” that is not blank and blank data “01”.

実施形態5は、白紙ページ情報のパターンを2パターンから3パターンに拡張した点が、実施形態2と相違しており、実施形態5では、白紙ページ情報を、白紙でない「00」と、白紙データ「01」と、白紙でなく、これより前のページにも白紙なし「03」の3パターンとしている。   The fifth embodiment is different from the second embodiment in that the pattern of the blank page information is expanded from two patterns to three patterns. In the fifth embodiment, the blank page information is “00” which is not a blank page, and blank page data. “01” is not a blank sheet, and there are three patterns “03” with no blank sheet on the previous page.

ここで、具体例を挙げると、例えば、図13に示すように全5ページの原稿を読み取った場合に、4ページ目のみ白紙で、それ以外が全て白紙でない場合には、1ページ目から3ページまでが、「白紙でなく、これより前のページにも白紙なし」となり、白紙ページ情報は「03」になる。そして、4ページ目は白紙データであるから、白紙ページ情報は「01」になる。また、5ページ目は白紙でないから、白紙ページ情報は「00」になる。   Here, as a specific example, for example, as shown in FIG. 13, when all five pages of originals are read, only the fourth page is blank, and all other pages are not blank. The pages up to the page are “no blank pages and no blank pages before this page”, and the blank page information is “03”. Since the fourth page is blank page data, the blank page information is “01”. Also, since the fifth page is not blank, blank page information is “00”.

このように、白紙ページ情報として、「白紙でなく、これより前のページにも白紙なし」の情報を追加しておけば、RAM63から白紙データをサーチする際の手間が、幾らか省けるというメリットがある。   In this way, if information of “no blank page and no blank page is added to the previous page” is added as blank page information, there is a merit that the trouble of searching blank data from the RAM 63 can be saved somewhat. There is.

というのも、着目ページの更新順を、RAM63に対する記憶の若い順に定めておけば、図13の例では、5ページ〜3ページの白紙ページ情報から白紙データの有無をサーチすればよく、少なくとも、1ページ目と2ページ目については、サーチの対象から除外することが可能となるからである。   This is because if the update order of the page of interest is determined in ascending order of storage in the RAM 63, in the example of FIG. 13, it is only necessary to search for the presence or absence of blank page data from blank page information of 5 to 3 pages. This is because the first page and the second page can be excluded from the search target.

そして、実施形態5は実施形態2のメモリエラー回避シーケンス(図6、図7、図9)に対してS65の処理と、S40でYES判定された後の処理が相違しており、以下、実施形態2に対して処理が異なる箇所について説明を行う。   The fifth embodiment is different from the memory error avoidance sequence (FIGS. 6, 7, and 9) of the second embodiment in that the processing in S65 is different from the processing after YES is determined in S40. A description will be given of places where the processing differs from that of the second embodiment.

図14は、図6のS65の詳細を説明したものであり、S251からS265の処理をCPU60Bが実行することで、画像処理回路83の白紙判定結果から上記した「00」、「01」、「03」の3パターンの情報を、RAM63のメタ情報部に書き込むことができる。   FIG. 14 illustrates the details of S65 in FIG. 6, and the CPU 60B executes the processing from S251 to S265, so that “00”, “01”, “ Three patterns of information “03” can be written in the meta information portion of the RAM 63.

具体的に説明すると、S251では、画像処理回路83の白紙判定結果を読み込み、それが白紙データであれば、処理はS255に移行する。S255では、そのページについて、メタ情報部の白紙ページ情報が「01」に設定される。   More specifically, in S251, the blank page determination result of the image processing circuit 83 is read, and if it is blank page data, the process proceeds to S255. In S255, the blank page information in the meta information section is set to “01” for the page.

一方、白紙でない場合、処理はS253に移行する。S253では、画像データのメタ情報部の白紙ページ情報が「00」に設定される。その後、処理はS261に移行する。S261では、一番先頭のページかどうか判定される。一番先頭のページであれば、S261ではYES判定され、その後、処理はS265に移行する。S265では、そのページについて、メタ情報部の白紙ページ情報が「03」に設定される。すなわち、そのページの白紙ページ情報が、S253にて設定した「00」から「03」に再設定される。   On the other hand, if it is not blank, the process proceeds to S253. In S253, the blank page information in the meta information part of the image data is set to “00”. Thereafter, the process proceeds to S261. In S261, it is determined whether the page is the first page. If it is the first page, a YES determination is made in S261, and then the process proceeds to S265. In S265, the blank page information in the meta information section is set to “03” for the page. That is, the blank page information of the page is reset from “00” set in S253 to “03”.

一方、一番先頭のページでない場合、S261ではNO判定され、その後、処理はS263に移行する。S263では、前ページのメタ情報部の白紙ページ情報は「03」か判定される。「03」であれば、S265に移行して先の処理を行い、「03」でない場合は、処理は終了することになる。   On the other hand, if it is not the first page, a NO determination is made in S261, and then the process proceeds to S263. In S263, it is determined whether the blank page information in the meta information portion of the previous page is “03”. If it is “03”, the process proceeds to S265 and the previous process is performed. If it is not “03”, the process is terminated.

図15は、図6のS40でYES判定された場合、すなわちRAM63の使用量が限界量以上になる場合に、CPU60Bにて実行される処理である。まず、S301では、CPU60Bにより着目ページが「最終ページ」に設定される。続く、S303では、着目ページについて、白紙ページ情報を判定する処理がCPU60Bにより行われる。   FIG. 15 is a process executed by the CPU 60B when YES is determined in S40 of FIG. 6, that is, when the usage amount of the RAM 63 exceeds the limit amount. First, in S301, the CPU 60B sets the page of interest to “last page”. In S303, the CPU 60B performs a process of determining blank page information for the page of interest.

白紙ページ情報が「01」の場合、その後、処理はS313に移行して画像データを開放する処理が実行され、続くS315ではページのつなぎ処理が実行される。そして、ページのつなぎ処理が完了すると、処理は図6のS50に戻ることになる。これらS315、S315の処理は、図9のS181、S183と同じ処理である。   If the blank page information is “01”, then the process proceeds to S313 to execute a process of releasing the image data, and in the subsequent S315, a page joining process is executed. When the page joining process is completed, the process returns to S50 of FIG. These processes of S315 and S315 are the same processes as S181 and S183 of FIG.

次に、白紙データ情報が「03」である場合、その時点で処理は終了する。   Next, when the blank page data information is “03”, the process ends at that time.

そして、白紙データ情報が「00」である場合、その後、S305にて判定処理を行い、次にS307にて着目ページを更新、すなわち最終ページの前ページに更新する処理が実行される。その後、処理はS303に戻ることになる。尚、実施形態5の白紙データ情報「03」が本発明の「フラグ」に対応する。また、CPU60Bにより実行されるS251、S253、S261、S265の処理により、本発明の「フラグ付与部」の機能が実現されている。   If the blank page data information is “00”, then a determination process is performed in S305, and then in S307, the page of interest is updated, that is, a process of updating to the previous page of the last page is executed. Thereafter, the process returns to S303. The blank page data information “03” in the fifth embodiment corresponds to the “flag” of the present invention. Further, the function of the “flag assignment unit” of the present invention is realized by the processing of S251, S253, S261, and S265 executed by the CPU 60B.

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

(1)上記実施形態1〜実施形態5では、RAM63の使用量が限界量以上になる場合に、RAM63から白紙データを削除するようにしたが、限界量に一定の幅を持たせて使用量が限界量の設定範囲に含まれる状態になった段階(すなわち、限界レベルに近いニアフル状態)で、白紙データを削除することも可能である。   (1) In the first to fifth embodiments, when the usage amount of the RAM 63 is equal to or greater than the limit amount, the blank data is deleted from the RAM 63. However, the limit amount is used with a certain width. It is also possible to delete the blank page data at a stage where the value is included in the limit amount setting range (that is, a near-full state close to the limit level).

(2)上記実施形態4では、白紙データについて、定型画像を含まない白紙データと、定型画像を含む白紙データの2パターンを設けて、定型画像を含まない白紙データを優先的に削除する例を示した。削除の優先度は、実施形態4にて開示した方法に限られるものではなく、より白紙に近いかどうかに基づいて、削除の優先度を決定してやればよい。   (2) In the fourth embodiment, with respect to the blank page data, two patterns of blank page data that does not include the standard image and blank page data that includes the standard image are provided, and the blank page data that does not include the standard image is preferentially deleted. Indicated. The deletion priority is not limited to the method disclosed in the fourth embodiment, and the deletion priority may be determined based on whether or not the deletion priority is closer.

例えば、白紙判定の閾値として設定された第一閾値に加えて、第一閾値以下の第二閾値を設定し、白紙データのうち、所定濃度以上の画素数が第二閾値を下回っている白紙データについて削除の優先度を高くするようにCPU60Bにて決定すればよい。   For example, in addition to the first threshold value set as the blank page determination threshold value, a second threshold value less than or equal to the first threshold value is set, and among the blank page data, blank page data in which the number of pixels having a predetermined density or more is less than the second threshold value. The CPU 60B may determine that the deletion priority is increased.

1…複合機(本発明の「画像読取装置」一例)
5…画像読取ユニット
30…CIS(本発明の「読取部」の一例)
40…ADF(本発明の「搬送部」の一例)
43…搬送路
60A…CPU(本発明の「制御部」、「白紙判定部」、「削除部」の一例)
60B…CPU(本発明の「制御部」、「削除部」、「決定部」、「フラグ付与部」の一例)
61…ROM
63…RAM(本発明の「記憶部」の一例)
65…A/D変換器
71…出力装置
81…ダイレクトメモリコントローラ
83…画像処理回路(本発明の「白紙判定部」の一例)
1. Multifunction machine (an example of an “image reading apparatus” according to the present invention)
5... Image reading unit 30... CIS (an example of the “reading unit” of the present invention)
40... ADF (an example of the “conveying unit” of the present invention)
43 ... conveying path 60A ... CPU (an example of "control unit", "blank sheet determination unit", "deletion unit" of the present invention)
60B ... CPU (an example of the “control unit”, “deletion unit”, “determination unit”, and “flag assignment unit” of the present invention)
61 ... ROM
63... RAM (an example of the “storage unit” of the present invention)
65 ... A / D converter 71 ... Output device 81 ... Direct memory controller 83 ... Image processing circuit (an example of "blank sheet determination unit" of the present invention)

Claims (3)

原稿を搬送する搬送部と、
前記搬送部により搬送される原稿の画像を読み取る読取部と、
前記読取部の読み取った読取データを記憶する記憶部と、
前記読取部にて原稿1ページ分の画像が読み取られる度に、前記読取データに対して白紙データを判定すると共に、白紙データがある場合に白紙データのパターンを分類する白紙判定処理を実行する白紙判定部と、
前記白紙判定処理の結果であり、前記パターンを示す白紙判定処理情報を、判定対象の前記読取データと対応させて前記記憶部に記憶する白紙判定処理情報記憶処理部と、
前記白紙判定処理情報によって特定される前記白紙データのパターンに対して、削除の優先度を決定する決定部と、
前記記憶部の使用量が限界量以上になる場合に、前記決定部による削除の優先度の決定に基づいて、優先度の高い白紙判定処理情報が対応付けられた前記読取データを前記記憶部から削除する削除部と、
前記削除部による前記読取データの削除後、画像の読み取りを継続するように前記読取部を制御する制御部と、を備え
前記制御部と前記白紙判定部は互いに独立して動作する異なるディバイスであり、
前記白紙判定部は、原稿縁部にあたる原稿の上部及び下部を除く中央領域を対象として白紙データを判定し、前記白紙データのパターンとして、前記中央領域が白紙データであって前記原稿縁部に定型画像を含む白紙データである第一パターンと、前記中央領域が白紙データであって前記原稿縁部に定型画像を含まない白紙データである第二パターンとを分類可能であり、
前記決定部は、前記第一パターンの削除の優先度を前記第二パターンの優先度よりも低くすることを特徴とする画像読取装置。
A transport section for transporting a document;
A reading unit for reading an image of a document conveyed by the conveyance unit ;
A storage unit for storing read data read by the reading unit;
Each time an image for one page of a document is read by the reading unit, blank data is determined for the read data, and when there is blank data, a blank page determination process for classifying a blank data pattern is performed. A determination unit;
A blank page determination process information storage processing unit that stores the blank page determination process information indicating the pattern in the storage unit in association with the read data to be determined;
A determination unit that determines a deletion priority for the blank data pattern specified by the blank page determination processing information;
When the usage amount of the storage unit is equal to or greater than the limit amount, the read data associated with the blank page determination processing information with high priority is read from the storage unit based on the determination of the deletion priority by the determination unit. A deletion part to be deleted;
A controller that controls the reading unit so as to continue reading an image after the deletion of the read data by the deletion unit ;
The control unit and the blank page determination unit are different devices that operate independently of each other.
The blank page determination unit determines blank data for a central area excluding an upper part and a lower part of a document corresponding to a document edge, and, as the blank data pattern, the center area is blank data, and a fixed pattern is formed on the document edge. It is possible to classify a first pattern that is blank data including an image and a second pattern that is blank data in which the central region is blank data and the document edge does not include a standard image,
The image reading apparatus according to claim 1, wherein the determination unit sets the priority of deletion of the first pattern to be lower than the priority of the second pattern .
前記記憶部に記憶される読取データが非白紙データであり、かつ前ページの読取データが非白紙データである場合に、記憶する前記非白紙データの読取データに対してフラグを付与するフラグ付与部を備える請求項1に記載の画像読取装置。 A flag adding unit that gives a flag to the read data of the non-blank data to be stored when the read data stored in the storage unit is non-blank data and the read data of the previous page is non-blank data. the image reading apparatus according to claim 1 comprising a. 原稿を搬送する搬送部と、
前記搬送部により搬送される原稿の画像を読み取る読取部と、
前記読取部の読み取った読取データを記憶する記憶部と、
前記記憶部に記憶された前記読取データから白紙データを判定する白紙判定処理を実行する白紙判定部と、
前記記憶部の使用量が限界量以上になる場合に、前記白紙判定部にて白紙データと判定された読取データを前記記憶部から削除する削除部と、
前記削除部による前記読取データの削除後、画像の読み取りを継続するように前記読取部を制御する制御部と、
前記記憶部に記憶される読取データが非白紙データであり、かつ前ページの読取データが非白紙データである場合に、記憶する前記非白紙データの読取データに対してフラグを付与するフラグ付与部と、を備える画像読取装置。
A transport section for transporting a document;
A reading unit for reading an image of a document conveyed by the conveyance unit;
A storage unit for storing read data read by the reading unit;
A blank page determination unit that executes blank page determination processing for determining blank page data from the read data stored in the storage unit;
A deletion unit that deletes, from the storage unit, read data that is determined to be blank page data by the blank page determination unit when the usage amount of the storage unit is equal to or greater than a limit amount;
A controller that controls the reading unit to continue reading an image after the deletion unit deletes the read data;
A flag adding unit that gives a flag to the read data of the non-blank data to be stored when the read data stored in the storage unit is non-blank data and the read data of the previous page is non-blank data. An image reading apparatus.
JP2011073214A 2011-03-29 2011-03-29 Image reading device Active JP5857427B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011073214A JP5857427B2 (en) 2011-03-29 2011-03-29 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011073214A JP5857427B2 (en) 2011-03-29 2011-03-29 Image reading device

Publications (2)

Publication Number Publication Date
JP2012209714A JP2012209714A (en) 2012-10-25
JP5857427B2 true JP5857427B2 (en) 2016-02-10

Family

ID=47189127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011073214A Active JP5857427B2 (en) 2011-03-29 2011-03-29 Image reading device

Country Status (1)

Country Link
JP (1) JP5857427B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5883805B2 (en) * 2013-01-29 2016-03-15 京セラドキュメントソリューションズ株式会社 Image reading apparatus, image forming apparatus, and image reading method
JP6150761B2 (en) * 2014-04-23 2017-06-21 京セラドキュメントソリューションズ株式会社 Image reading device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0973530A (en) * 1995-09-01 1997-03-18 Sharp Corp Image filing equipment
JP2010074510A (en) * 2008-09-18 2010-04-02 Kyocera Mita Corp Data processing apparatus

Also Published As

Publication number Publication date
JP2012209714A (en) 2012-10-25

Similar Documents

Publication Publication Date Title
US9369599B2 (en) Image reading device, image forming apparatus, and method for controlling image reading device to remove blank sheet image data
JP4942832B2 (en) Image display apparatus, image forming apparatus, image display method, computer program, and recording medium
US8494393B2 (en) Information processing apparatus, information processing method and computer readable medium
US10165142B2 (en) Image reading apparatus including multi-crop function
US8390896B2 (en) Image reading method, image reading apparatus, and program recording medium
JP5585552B2 (en) Image reading apparatus and reading control program
JP5510075B2 (en) Image reading apparatus, information processing apparatus, program, and reading system
US10681244B2 (en) Image forming apparatus cropping a plurality of image data
US20140288677A1 (en) Control device and method for electronic apparatus, electronic apparatus, and non-transitory computer readable medium
US12022039B2 (en) Image reading apparatus and control method for determining a blank page
JP5857427B2 (en) Image reading device
US10754590B2 (en) Electronic device and display control program
US20190327375A1 (en) Image reading apparatus
EP4007249B1 (en) Image reading device and image reading method
JP5847687B2 (en) Image processing setting method, program, recording medium, and information processing apparatus
US12003685B2 (en) Image processing apparatus, control method, and non-transitory computer-readable medium
US20110292441A1 (en) Image reading apparatus and setting automation method
JP6081874B2 (en) Image reading device
JP5474222B2 (en) Image processing apparatus, image processing method, and program
JP2009124422A (en) Image reading device
JP2018207159A (en) Image reading apparatus and image forming apparatus
JP2017208626A (en) Image processing apparatus and image reading device and image reading system
JP6045459B2 (en) Image forming apparatus
JP2022067264A (en) Image reader and image reading control method
JP2018019370A (en) Image reading device 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: 20140305

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20140407

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150416

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151130

R150 Certificate of patent or registration of utility model

Ref document number: 5857427

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150