JP6561732B2 - Reader and program - Google Patents

Reader and program Download PDF

Info

Publication number
JP6561732B2
JP6561732B2 JP2015192722A JP2015192722A JP6561732B2 JP 6561732 B2 JP6561732 B2 JP 6561732B2 JP 2015192722 A JP2015192722 A JP 2015192722A JP 2015192722 A JP2015192722 A JP 2015192722A JP 6561732 B2 JP6561732 B2 JP 6561732B2
Authority
JP
Japan
Prior art keywords
reading
document
size
scanning direction
determined
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
JP2015192722A
Other languages
Japanese (ja)
Other versions
JP2017069743A (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 JP2015192722A priority Critical patent/JP6561732B2/en
Publication of JP2017069743A publication Critical patent/JP2017069743A/en
Application granted granted Critical
Publication of JP6561732B2 publication Critical patent/JP6561732B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Holders For Sensitive Materials And Originals (AREA)
  • Optical Systems Of Projection Type Copiers (AREA)
  • Control Or Security For Electrophotography (AREA)

Description

本発明は,読取装置およびプログラムに関する。さらに詳細には,原稿台にセットされた原稿の読み取り範囲を特定する技術に関するものである。   The present invention relates to a reading apparatus and a program. More specifically, the present invention relates to a technique for specifying a reading range of a document set on a document table.

従来から,原稿の画像を読み取る読取装置であって,原稿台にセットされた原稿のサイズを自動的に判別する技術が知られている。例えば,特許文献1には,複写機であって,複数のセンサを用いて原稿台上の原稿の有無を検出し,検出結果から原稿のサイズを特定し,原稿のサイズが特定できない場合には,原稿台にセットし得る原稿のサイズの候補を推定する技術が開示されている。   2. Description of the Related Art Conventionally, there is known a reading apparatus that reads an image of a document and automatically determines the size of a document set on a document table. For example, Patent Document 1 discloses a copying machine that detects the presence / absence of a document on a document table using a plurality of sensors, specifies the size of the document from the detection result, and cannot determine the size of the document. A technique for estimating a document size candidate that can be set on a document table is disclosed.

特開2012−85203号公報JP 2012-85203 A

しかしながら,前記した従来の技術には,次のような問題があった。すなわち,本等の見開き原稿を1ページずつ読み取る場合において,原稿台に読み取り対象のページに加え,対となっている他のページまでセットされることがある。この場合に,読み取り範囲を誤って適切な画像を読み取れないことがある。従来の技術では,見開き原稿の読み取りについては考慮されていないことから,改善の余地がある。   However, the conventional technique described above has the following problems. That is, when reading a two-page spread document such as a book one page at a time, in addition to the page to be read, other pages in pairs may be set on the document table. In this case, an appropriate image may not be read due to an incorrect reading range. In the conventional technology, there is room for improvement because reading of a spread document is not considered.

本発明は,前記した従来の技術が有する問題点を解決するためになされたものである。すなわちその課題とするところは,見開き原稿を読み取る読取装置であって,適切な読み取り範囲となる可能性を高める技術を提供することにある。   The present invention has been made to solve the above-described problems of the prior art. That is, an object of the present invention is to provide a reading device that reads a spread original and increases the possibility of an appropriate reading range.

この課題の解決を目的としてなされた読取装置は,原稿台と,読取部と,制御部と,を備え,前記制御部は,前記原稿台にセットされた原稿の画像を,前記読取部を副走査方向に移動させて読み取らせる読取処理と,前記読取処理での読取結果に基づいて,原稿の画像を出力する出力処理と,前記読取処理が実行される前に,前記原稿台にセットされた原稿の画像の一部を,前記読取部を副走査方向に移動させて読み取らせる一部読取処理と,前記原稿台にセットされた原稿の主走査方向の長さを検知する長さ検知処理と,出力サイズの設定と倍率の設定とに基づいて決められる原稿のサイズである推定サイズが定型サイズの1つである特定サイズであり,かつ前記長さ検知処理にて検知された長さが前記特定サイズの長辺以上であること,とする特定条件を満たすか否かを判断するサイズ判断処理と,前記一部読取処理での読取結果に基づいて,前記原稿の画像の主走査方向の範囲内に見開き原稿の綴じ部に相当する綴じ部領域が有るか否かを判断する綴じ部判断処理と,前記サイズ判断処理にて前記特定条件を満たすと判断され,さらに前記綴じ部判断処理にて前記綴じ部領域が有ると判断された場合,前記読取処理での読み取り範囲を,前記推定サイズの長辺を副走査方向として,前記推定サイズの範囲に決定する決定処理と,を実行することを特徴としている。   In order to solve this problem, a reading device includes a document table, a reading unit, and a control unit, and the control unit outputs an image of a document set on the document table to the reading unit. A reading process that moves in the scanning direction for reading, an output process that outputs an image of a document based on a reading result in the reading process, and a document set on the document table before the reading process is executed. A partial reading process for reading a part of an image of a document by moving the reading unit in the sub-scanning direction; a length detection process for detecting the length of the document set on the document table in the main scanning direction; The estimated size, which is the document size determined based on the output size setting and the magnification setting, is a specific size that is one of the standard sizes, and the length detected in the length detection process is Be longer than the long side of a specific size, A size determination process for determining whether or not a specific condition to be satisfied is satisfied, and a binding corresponding to a binding portion of a spread original within a range in the main scanning direction of the image of the original based on a reading result in the partial reading process When it is determined that the specific condition is satisfied in the binding part determination process for determining whether or not there is a partial area, and in the size determination process, and the binding part determination process determines that the binding part area is present , And a determination process for determining a reading range in the reading process within the estimated size range with a long side of the estimated size as a sub-scanning direction.

本明細書に開示される読取装置は,原稿の画像の一部を読み取り,その読取結果に基づいて,原稿の画像に綴じ部領域が有るか否かを判断する。また,読取装置は,出力サイズの設定と倍率の設定とに基づいて,原稿の推定サイズを得る。そして,読取装置は,推定サイズが定型サイズの1つであって,原稿の主走査方向の長さが推定サイズの長辺以上であり,綴じ部領域が有ると判断した場合,読み取り範囲を,推定サイズの長辺を副走査方向として,推定サイズの範囲に決定する。   The reading device disclosed in this specification reads a part of an image of a document, and determines whether or not a binding area is included in the image of the document based on the reading result. Further, the reading device obtains the estimated size of the document based on the output size setting and the magnification setting. When the reading device determines that the estimated size is one of the standard sizes, the length of the document in the main scanning direction is equal to or longer than the long side of the estimated size, and the binding area is present, The long side of the estimated size is determined in the estimated size range with the sub-scanning direction.

すなわち,本明細書に開示される読取装置は,事前に検知された原稿の主走査方向の長さが,定型サイズの1つである特定サイズの長辺以上であった場合,原稿が主走査方向に長辺を配置した状態か,副走査方向に見開き原稿の1ページの長辺を配置した状態かを判別し難い。一方で,後者の場合,読み取った画像から綴じ部領域を検出できる可能性が高い。このことから,主走査方向の範囲内の綴じ部領域の有無によって両者を判別することで,より適切な読み取り範囲となる可能性が高い。   In other words, the reading device disclosed in this specification is configured such that when the length of a document detected in advance in the main scanning direction is equal to or longer than the long side of a specific size, which is one of the standard sizes, the document is scanned in the main scanning direction. It is difficult to determine whether the long side is arranged in the direction or the long side of one page of the spread original is arranged in the sub-scanning direction. On the other hand, in the latter case, there is a high possibility that the binding area can be detected from the read image. Therefore, there is a high possibility that a more appropriate reading range is obtained by discriminating both based on the presence or absence of the binding area within the range in the main scanning direction.

上記読取装置の機能を実現するための制御方法,コンピュータプログラム,および当該コンピュータプログラムを格納するコンピュータにて読取可能な記憶媒体も,新規で有用である。   A control method, a computer program, and a computer-readable storage medium storing the computer program for realizing the function of the reading device are also novel and useful.

本発明によれば,見開き原稿を読み取る読取装置であって,適切な読み取り範囲となる可能性を高める技術が実現される。   According to the present invention, a reading apparatus that reads a spread original and realizes a technique that increases the possibility of an appropriate reading range.

実施の形態にかかるMFPの概略外観図である。1 is a schematic external view of an MFP according to an embodiment. ADFを閉じた状態のMFPの概略外観図である。1 is a schematic external view of an MFP with an ADF closed. FIG. MFPの電気的構成を示すブロック図である。2 is a block diagram illustrating an electrical configuration of the MFP. FIG. A4サイズの原稿の配置の例を示す説明図である。FIG. 6 is an explanatory diagram illustrating an example of an arrangement of A4 size documents. A4サイズの原稿の配置の例を示す説明図である。FIG. 6 is an explanatory diagram illustrating an example of an arrangement of A4 size documents. 見開き原稿をセットする場合の例を示す説明図である。FIG. 6 is an explanatory diagram illustrating an example of setting a facing document. 見開き原稿読取処理の手順を示すフローチャートである。10 is a flowchart illustrating a procedure of a spread document reading process. 原稿検知処理の手順を示すフローチャートである。6 is a flowchart illustrating a procedure of document detection processing. 範囲決定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a range determination process. 一部画像の例を示す説明図である。It is explanatory drawing which shows the example of a partial image.

以下,本発明にかかる読取装置を具体化した実施の形態について,添付図面を参照しつつ詳細に説明する。本形態は,画像読取機能を備えた複合機(MFP:Multi Function Peripheral)に本発明を適用したものである。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments embodying a reading apparatus according to the present invention will be described below in detail with reference to the accompanying drawings. In the present embodiment, the present invention is applied to a multi function peripheral (MFP) having an image reading function.

本形態のMFP100は,図1に示すように,用紙に画像を印刷する画像形成部1と,原稿の画像を読み取る画像読取部2とを備えている。画像形成部1の画像形成方式は,電子写真方式であっても,インクジェット方式であってもよい。また,カラー画像の形成が可能であっても,モノクロ画像専用であってもよい。また,画像読取部2は,カラー読み取りが可能であっても,モノクロ読み取りのみであってもよい。   As shown in FIG. 1, MFP 100 of this embodiment includes an image forming unit 1 that prints an image on a sheet and an image reading unit 2 that reads an image of a document. The image forming method of the image forming unit 1 may be an electrophotographic method or an ink jet method. Further, even if a color image can be formed, it may be dedicated to a monochrome image. Further, the image reading unit 2 may be capable of color reading or only monochrome reading.

MFP100の前面側には,入力部41と表示部42とを備えた操作パネル40が設けられている。入力部41は,例えば,スタートキー,ストップキー,テンキー等の各種のボタンによって構成され,ユーザによる入力を受け付ける。また,表示部42は,例えば,液晶ディスプレイからなり,各種の情報を表示する。   An operation panel 40 including an input unit 41 and a display unit 42 is provided on the front side of the MFP 100. The input unit 41 includes, for example, various buttons such as a start key, a stop key, and a numeric keypad, and receives input from the user. Moreover, the display part 42 consists of a liquid crystal display, for example, and displays various information.

さらに,画像形成部1の下部には,複数の用紙トレイ45及び手差し口46が設けられている。それぞれの用紙トレイ45には,画像形成に用いるための用紙が収容される。MFP100は,例えば,ユーザの指示に基づいて,これらの用紙トレイ45または手差し口46から用紙を給紙して,画像形成部1にて画像を形成する。MFP100は,各用紙トレイ45に収容されている用紙のサイズを記憶している。MFP100は,各用紙トレイ45の用紙サイズを,自装置にて検知して取得してもよいし,ユーザ設定に基づいて記憶してもよい。   Further, a plurality of paper trays 45 and a manual feed port 46 are provided in the lower part of the image forming unit 1. Each paper tray 45 accommodates paper for use in image formation. For example, the MFP 100 feeds paper from the paper tray 45 or the manual feed port 46 based on a user instruction, and forms an image in the image forming unit 1. The MFP 100 stores the size of the paper stored in each paper tray 45. The MFP 100 may detect and acquire the paper size of each paper tray 45 by its own device, or may store it based on user settings.

画像読取部2は,本体部10と,ADF(自動原稿搬送装置)20とを有している。本体部10は,コンタクトガラス11,12と,イメージセンサ15とを備えている。コンタクトガラス11,12は,透明ガラスであり,図1では,コンタクトガラス11の下部にイメージセンサ15が配置されている。イメージセンサ15は,主走査方向に並ぶ複数の光学素子を有し,副走査方向へ移動可能に設けられている。イメージセンサ15は,読取部の一例である。   The image reading unit 2 includes a main body unit 10 and an ADF (automatic document feeder) 20. The main body 10 includes contact glasses 11 and 12 and an image sensor 15. The contact glasses 11 and 12 are transparent glasses, and an image sensor 15 is disposed below the contact glass 11 in FIG. The image sensor 15 includes a plurality of optical elements arranged in the main scanning direction, and is provided so as to be movable in the sub scanning direction. The image sensor 15 is an example of a reading unit.

ADF20は,図1中に白矢印で示すように,本体部10に対して開閉可能に設けられている。ADF20を開状態とすると,コンタクトガラス11の上面が開放され,その上に原稿をセットできる。つまり,ADF20の下面22は,コンタクトガラス11の上面を覆うフラットベッドカバーとして機能する。コンタクトガラス11は,原稿台の一例であり,ADF20の下面22は,カバー部の一例である。ADF20の下面22には,ADF20の下面22の開状態と閉状態とで異なる信号を出力するセンサ21が設けられている。   The ADF 20 is provided so as to be openable and closable with respect to the main body 10 as indicated by white arrows in FIG. When the ADF 20 is opened, the upper surface of the contact glass 11 is opened, and a document can be set thereon. That is, the lower surface 22 of the ADF 20 functions as a flat bed cover that covers the upper surface of the contact glass 11. The contact glass 11 is an example of a document table, and the lower surface 22 of the ADF 20 is an example of a cover part. The lower surface 22 of the ADF 20 is provided with a sensor 21 that outputs different signals depending on whether the lower surface 22 of the ADF 20 is open or closed.

ADF20は,図2に示すように,閉状態とした場合,原稿のセットが可能である。MFP100は,ADF20に原稿がセットされた状態で,読み取りの指示を受け付けた場合,イメージセンサ15をコンタクトガラス12の下部に固定して,ADF20にて原稿を搬送しつつ,原稿の画像を光学的に読み取る。ADF20は,セットされた原稿を1枚ずつ搬送して,イメージセンサ15に対向する位置を通過させる。   As shown in FIG. 2, the ADF 20 can set a document when it is in a closed state. When the MFP 100 receives a reading instruction in a state where the document is set on the ADF 20, the image sensor 15 is fixed to the lower part of the contact glass 12, and the document is optically transferred while the document is conveyed by the ADF 20. Read on. The ADF 20 conveys the set originals one by one, and passes through the position facing the image sensor 15.

一方,読み取り開始の指示を受け付けた際にADF20に原稿がセットされていない場合,MFP100は,イメージセンサ15を副走査方向へ移動させ,コンタクトガラス11上にセットされた原稿の画像を光学的に読み取る。なお,MFP100は,イメージセンサ15を移動させつつ読み取る場合,コンタクトガラス11の図1中で左下の一列から右上に向かって読み進む。つまり,MFP100は,読み取り時にイメージセンサ15を副走査方向の右向きに移動させる。   On the other hand, if a document is not set on the ADF 20 when an instruction to start reading is received, the MFP 100 moves the image sensor 15 in the sub-scanning direction to optically convert the image of the document set on the contact glass 11. read. When the MFP 100 reads the image sensor 15 while moving it, the MFP 100 reads the contact glass 11 from the lower left row in FIG. That is, the MFP 100 moves the image sensor 15 to the right in the sub-scanning direction at the time of reading.

なお,厚さの大きい見開き原稿や,コンタクトガラス11の範囲から一部がはみ出す原稿を,コンタクトガラス11にセットした場合,ADF20の下面22を確実に閉状態とすることができない。ADF20の下面22が確実に閉状態となっていない場合,センサ21は,開状態の信号を出力する。つまり,センサ21が開状態で読み取り開始の指示を受け付けた場合,コンタクトガラス11上に見開き原稿がセットされている可能性が高い。   In addition, when a spread document with a large thickness or a document partially protruding from the range of the contact glass 11 is set on the contact glass 11, the lower surface 22 of the ADF 20 cannot be reliably closed. If the lower surface 22 of the ADF 20 is not reliably closed, the sensor 21 outputs an open signal. That is, when the sensor 21 is in the open state and receives an instruction to start reading, there is a high possibility that a spread document is set on the contact glass 11.

続いて,MFP100の電気的構成について説明する。MFP100は,図3に示すように,CPU31と,ROM32と,RAM33と,NVRAM(不揮発性RAM)34と,を含むコントローラ30を備えている。CPU31は,制御部の一例である。コントローラ30が制御部であってもよい。なお,図3中のコントローラ30は,CPU31等,MFP100の制御に利用されるハードウェアを纏めた総称であって,実際にMFP100に存在する単一のハードウェアを表すとは限らない。   Next, the electrical configuration of the MFP 100 will be described. As illustrated in FIG. 3, the MFP 100 includes a controller 30 including a CPU 31, a ROM 32, a RAM 33, and an NVRAM (nonvolatile RAM) 34. The CPU 31 is an example of a control unit. The controller 30 may be a control unit. Note that the controller 30 in FIG. 3 is a collective term for the hardware used for controlling the MFP 100 such as the CPU 31, and does not necessarily represent a single piece of hardware that actually exists in the MFP 100.

ROM32には,MFP100を制御するための各種制御プログラムや各種設定,初期値等が記憶されている。RAM33は,各種制御プログラムが読み出される作業領域として,あるいは,データを一時的に記憶する記憶領域として利用される。CPU31は,ROM32から読み出した制御プログラムに従って,その処理結果をRAM33またはNVRAM34に記憶させながら,MFP100の各構成要素を制御する。   The ROM 32 stores various control programs for controlling the MFP 100, various settings, initial values, and the like. The RAM 33 is used as a work area from which various control programs are read, or as a storage area for temporarily storing data. The CPU 31 controls each component of the MFP 100 according to the control program read from the ROM 32 while storing the processing result in the RAM 33 or the NVRAM 34.

また,MFP100は,画像形成部1と,画像読取部2と,センサ21と,ネットワークインターフェース37と,USBインターフェース38と,操作パネル40とを備え,これらがコントローラ30に電気的に接続されている。ネットワークインターフェース37は,有線LAN,無線LAN等を用いてネットワークを介して接続された装置と通信を行うためのハードウェアである。USBインターフェース38は,USBケーブル等を介して接続された装置と通信を行うためのハードウェアである。   The MFP 100 includes an image forming unit 1, an image reading unit 2, a sensor 21, a network interface 37, a USB interface 38, and an operation panel 40, which are electrically connected to the controller 30. . The network interface 37 is hardware for communicating with a device connected via a network using a wired LAN, a wireless LAN, or the like. The USB interface 38 is hardware for communicating with a device connected via a USB cable or the like.

続いて,本形態のMFP100において,イメージセンサ15を移動させつつコンタクトガラス11上の原稿を読み取る際の読取動作について説明する。本形態のMFP100は,A3サイズの原稿を読取可能な装置である。つまり,コンタクトガラス11の大きさは,A3サイズ以上である。また,イメージセンサ15の主走査方向の読取可能な長さは,A3短辺の長さ以上であり,イメージセンサ15の副走査方向への移動可能な範囲は,A3長辺の長さ以上の範囲である。   Next, in the MFP 100 of the present embodiment, a reading operation when reading a document on the contact glass 11 while moving the image sensor 15 will be described. The MFP 100 according to this embodiment is an apparatus that can read an A3 size document. That is, the size of the contact glass 11 is A3 size or more. Further, the readable length of the image sensor 15 in the main scanning direction is equal to or longer than the length of the A3 short side, and the movable range of the image sensor 15 in the sub-scanning direction is equal to or longer than the length of the A3 long side. It is a range.

MFP100のコンタクトガラス11にA4サイズの原稿Gをセットする場合,図4に示すA位置の配置と図5に示すB位置の配置との2通りの配置が可能である。図4に示すA位置は,主走査方向に原稿Gの長辺をセットした配置であり,図5に示すB位置は,主走査方向に原稿Gの短辺をセットした配置である。図4と図5では,図中に矢印で示すように,上下方向が主走査方向であり,左右方向が副走査方向である。   When an A4 size document G is set on the contact glass 11 of the MFP 100, two types of arrangements are possible: an A position arrangement shown in FIG. 4 and a B position arrangement shown in FIG. The position A shown in FIG. 4 is an arrangement in which the long side of the original G is set in the main scanning direction, and the position B shown in FIG. 5 is an arrangement in which the short side of the original G is set in the main scanning direction. 4 and 5, the vertical direction is the main scanning direction and the horizontal direction is the sub-scanning direction, as indicated by arrows in the drawings.

なお,図4と図5でコンタクトガラス11の左上の角部に示した基準位置Pは,MFP100の読み取りの開始点である。MFP100は,基準位置Pを含む主走査方向の1ラインから読み取りを開始し,副走査方向へ読み進む。そのため,例えばA4サイズの原稿では,基準位置Pに一隅が接するようにセットされることが推奨される。図4と図5に示した例では,いずれも原稿の角部を基準位置Pに配置している。   Note that the reference position P shown in the upper left corner of the contact glass 11 in FIGS. 4 and 5 is the reading start point of the MFP 100. The MFP 100 starts reading from one line in the main scanning direction including the reference position P and proceeds to read in the sub scanning direction. Therefore, for example, in an A4 size document, it is recommended that the corner be in contact with the reference position P. In both the examples shown in FIGS. 4 and 5, the corner of the document is arranged at the reference position P.

MFP100は,A4サイズの原稿を読み取る場合,原稿の配置がA位置であるかB位置であるかによって,副走査方向の読み取り範囲が異なる。具体的には,原稿がA位置の場合の副走査方向の読み取り範囲は,基準位置PからA4短辺の長さに相当する位置までである。また,原稿がB位置の場合の副走査方向の読み取り範囲は,基準位置PからA4長辺の長さに相当する位置までである。   When the MFP 100 reads an A4 size document, the reading range in the sub-scanning direction differs depending on whether the document is placed at the A position or the B position. Specifically, the reading range in the sub-scanning direction when the document is at the A position is from the reference position P to a position corresponding to the length of the A4 short side. Further, when the document is at the B position, the reading range in the sub-scanning direction is from the reference position P to a position corresponding to the length of the A4 long side.

本形態のMFP100では,読み取り対象の原稿のサイズを指定する入力は不要である。MFP100は,読み取り対象の原稿のサイズを,出力に関する設定に基づいて推定する。例えば,コピーの指示では,MFP100は,出力に関する設定として,出力する用紙のサイズの設定と,拡大または縮小の倍率の設定とを受け付ける。そして,MFP100は,受け付けた出力に関する設定に基づいて,原稿のサイズを推定する。例えば,100%コピーの指示であって,出力用紙のサイズがA4であれば,MFP100は,原稿のサイズがA4であると推定する。   In MFP 100 of the present embodiment, an input for specifying the size of a document to be read is not necessary. The MFP 100 estimates the size of the document to be read based on the output setting. For example, in the copy instruction, the MFP 100 accepts a setting for the output paper size and a setting for enlargement or reduction as the settings relating to output. Then, MFP 100 estimates the size of the document based on the received output setting. For example, if the instruction is 100% copy and the output paper size is A4, the MFP 100 estimates that the document size is A4.

なお,出力用紙のサイズについては,MFP100は,直接,用紙サイズの指定を受け付けてもよいし,出力する用紙を給紙する用紙トレイ45の指定を受け付けて,当該用紙トレイ45に収容されている用紙のサイズを読み出して使用してもよい。また,MFP100は,読み取り対象の原稿のサイズの入力を受け付けてもよく,その場合,受け付けたサイズを原稿のサイズとする。   As for the size of the output paper, the MFP 100 may directly accept the designation of the paper size, or accept the designation of the paper tray 45 that feeds the paper to be output, and is accommodated in the paper tray 45. The paper size may be read and used. Further, MFP 100 may accept input of the size of a document to be read. In this case, the received size is set as the size of the document.

さらに,MFP100は,MFP100は,原稿の主走査方向の長さを取得する。MFP100は,イメージセンサ15を基準位置Pから副走査方向に少し動かし,主走査方向に読取可能な全範囲であって副走査方向に一部の範囲を読み取る。そして,MFP100は,読み取った一部の画像に基づいて,原稿の主走査方向の長さを検知する。   Further, the MFP 100 acquires the length of the document in the main scanning direction. The MFP 100 moves the image sensor 15 slightly from the reference position P in the sub-scanning direction, and reads the entire range that can be read in the main scanning direction and a part of the range in the sub-scanning direction. Then, MFP 100 detects the length of the document in the main scanning direction based on the read partial image.

そして,MFP100は,推定した原稿のサイズと,検知した原稿の主走査方向の長さとから,原稿の配置を判断する。例えば,読み取り対象の原稿のサイズがA4であると推定した場合,MFP100は,原稿の主走査方向の長さがA4長辺の長さ以上であれば,A位置であると判断し,原稿の主走査方向の長さがA4長辺の長さより短ければ,B位置であると判断する。このように,MFP100は,原稿の配置がA位置であるかB位置であるかを自動判断する。   Then, MFP 100 determines the placement of the document from the estimated size of the document and the detected length of the document in the main scanning direction. For example, when it is estimated that the size of the document to be read is A4, the MFP 100 determines that the document is at the A position if the length of the document in the main scanning direction is equal to or longer than the length of the A4 long side. If the length in the main scanning direction is shorter than the length of the A4 long side, it is determined as the B position. As described above, the MFP 100 automatically determines whether the document layout is at the A position or the B position.

また,読み取り対象の原稿Gは,本や冊子のように,中央に綴じ部を有する見開き原稿の1ページである場合もある。見開き原稿の中の1ページをコピーしたいユーザは,見開き原稿を見開き状態に開いて,コンタクトガラス11上に伏せて置く。コピーの指示に応じて,MFP100は,前述したように,原稿のサイズと原稿の配置とを推定する。例えば,1ページがA4サイズの見開き原稿の1ページ分のコピー指示であった場合,MFP100は,原稿のサイズをA4サイズと推定し,主走査方向の長さを検知する。   Further, the document G to be read may be one page of a spread document having a binding portion at the center, such as a book or a booklet. A user who wants to copy one page of a spread document opens the spread document in a spread state and places it face down on the contact glass 11. In response to the copy instruction, MFP 100 estimates the size of the document and the placement of the document as described above. For example, if one page is a copy instruction for one page of an A4 size spread original, the MFP 100 estimates the size of the original as an A4 size and detects the length in the main scanning direction.

読み取り対象のページを,前述したA位置となるように原稿がセットされている場合,原稿の主走査方向の長さは,A4長辺の長さ以上であり,MFP100は,A位置であると判断する。そして,MFP100は,読み取り範囲を,主走査方向にA4長辺の長さであり,副走査方向にA4短辺の長さの範囲と決定する。   When the original is set so that the page to be read is at the A position described above, the length of the original in the main scanning direction is equal to or longer than the length of the A4 long side, and the MFP 100 is at the A position. to decide. Then, the MFP 100 determines the reading range as the length of the A4 long side in the main scanning direction and the length of the A4 short side in the sub scanning direction.

一方,読み取り対象のページを,前述したB位置となるように原稿がセットされている場合,図6に示すように,読み取り対象ではないページの一部がコンタクトガラス11上に載る。つまり,見かけ上,原稿の主走査方向の長さは,A4長辺の長さ以上である。そのため,図6に示すようにセットされた見開き原稿に対し,前述したように主走査方向の長さに基づいて原稿の配置を判断した場合,A位置と判断してしまう可能性がある。   On the other hand, when the document is set so that the page to be read is in the above-described B position, a part of the page that is not to be read is placed on the contact glass 11 as shown in FIG. That is, apparently, the length of the document in the main scanning direction is equal to or longer than the length of the A4 long side. For this reason, when the arrangement of the original is determined based on the length in the main scanning direction as described above with respect to the spread original set as shown in FIG. 6, there is a possibility that it is determined as the A position.

本形態のMFP100は,上述したような自装置による読み取り範囲の誤認を抑制するために,出力用の読み取りに先立って原稿の一部を読み取り,その読取結果に基づいて原稿の読み取り範囲を決定する。決定方法の詳細は後述する。そして,MFP100は,決定した読み取り範囲の読み取りを実行して,指定された出力形式にて出力する。   MFP 100 according to the present embodiment reads a part of a document before reading for output and determines the reading range of the document based on the reading result in order to suppress the above-described misperception of the reading range by the own apparatus. . Details of the determination method will be described later. Then, the MFP 100 reads the determined reading range and outputs it in the designated output format.

続いて,本形態のMFP100にて前述した見開き原稿の読み取り動作を実現するための処理である見開き原稿読取処理の手順について,図7のフローチャートを参照して説明する。この見開き原稿読取処理は,原稿のサイズが設定されていない状態で,読み取りを含む動作モードの開始指示を受け付けたことを契機に,CPU31にて実行される。読み取りを含む動作モードとしては,例えば,スキャン,コピーが該当する。   Next, a procedure of a spread document reading process that is a process for realizing the above-described spread document reading operation in the MFP 100 according to the present embodiment will be described with reference to a flowchart of FIG. This spread document reading process is executed by the CPU 31 when an instruction to start an operation mode including reading is received in a state where the document size is not set. As an operation mode including reading, for example, scanning and copying are applicable.

見開き原稿読取処理では,CPU31は,まず,デフォルトの出力設定に基づいて,デフォルトの原稿のサイズを推定し,推定サイズとする(S101)。具体的には,CPU31は,設定されている出力サイズと倍率とに基づいて逆算することで,原稿のサイズを推定する。さらに,CPU31は,動作開始の指示を受け付けたか否かを判断する(S102)。   In the spread document reading process, the CPU 31 first estimates the size of the default document based on the default output setting and sets it as the estimated size (S101). Specifically, the CPU 31 estimates the size of the document by performing a reverse calculation based on the set output size and magnification. Further, the CPU 31 determines whether or not an operation start instruction has been received (S102).

動作開始の指示を受け付けていないと判断した場合(S102:NO),CPU31は,ADF20の下面22が開閉されたか否かを判断する(S103)。具体的には,CPU31は,センサ21の出力信号に基づいて,ADF20の下面22,すなわち,コンタクトガラス11のカバーの状態が,開状態から閉状態へ,または,閉状態から開状態へと変化したか否かを判断する。なお,S103では,CPU31は,閉状態から開状態へと変化した場合にYESと判断し,開状態から閉状態へと変化した場合にはNOと判断するとしてもよい。   When determining that the operation start instruction has not been received (S102: NO), the CPU 31 determines whether or not the lower surface 22 of the ADF 20 has been opened and closed (S103). Specifically, the CPU 31 changes the state of the lower surface 22 of the ADF 20, that is, the cover of the contact glass 11 from the open state to the closed state, or from the closed state to the open state based on the output signal of the sensor 21. Determine whether or not. In S103, the CPU 31 may determine YES when the state changes from the closed state to the open state, and may determine NO when the state changes from the open state to the closed state.

ADF20の下面22が開閉されていないと判断した場合(S103:NO),CPU31は,出力設定が変更されたか否かを判断する(S104)。S104では,CPU31は,出力サイズの設定と,倍率の設定との少なくとも一方の設定が変更された場合に,出力設定が変更されたと判断する。出力サイズと倍率以外の設定が変更された場合には,CPU31は,S104にてNOと判断する。そして,出力設定が変更されていないと判断した場合(S104:NO),CPU31は,S102に戻り,開始指示の受け付け,ADF20の下面22の開閉,設定変更のいずれかとなるまで待機する。   When determining that the lower surface 22 of the ADF 20 is not opened or closed (S103: NO), the CPU 31 determines whether or not the output setting has been changed (S104). In S104, the CPU 31 determines that the output setting has been changed when at least one of the output size setting and the magnification setting has been changed. If settings other than the output size and magnification have been changed, the CPU 31 determines NO in S104. If it is determined that the output setting has not been changed (S104: NO), the CPU 31 returns to S102 and waits until either the start instruction is accepted, the lower surface 22 of the ADF 20 is opened or closed, or the setting is changed.

出力設定が変更されたと判断した場合(S104:YES),CPU31は,新たな設定による原稿の推定サイズを取得する(S105)。そして,S105の後,または,ADF20の下面22が開閉されたと判断した場合(S103:YES),CPU31は,原稿の主走査方向の長さを取得する処理である原稿検知処理を実行する(S106)。なお,ADF20の下面22が閉状態から開状態へと変化したことで原稿検知処理を実行する場合には,原稿のセットに必要と推定される所定の待ち時間の経過を待ってから原稿検知処理を実行してもよい。   If it is determined that the output setting has been changed (S104: YES), the CPU 31 acquires the estimated size of the original document based on the new setting (S105). Then, after S105 or when it is determined that the lower surface 22 of the ADF 20 has been opened and closed (S103: YES), the CPU 31 executes a document detection process that is a process for acquiring the length of the document in the main scanning direction (S106). ). When the document detection process is executed because the lower surface 22 of the ADF 20 is changed from the closed state to the open state, the document detection process is performed after a predetermined waiting time estimated to be required for the document setting has elapsed. May be executed.

ADF20の下面22が開閉された場合,コンタクトガラス11上に原稿がセットされた可能性が高い。また,出力サイズの設定や倍率の設定が変更された場合,変更後の設定から算出される推定サイズの原稿がセットされる可能性が高い。そのため,これらの場合には,原稿検知処理を読み取り動作開始の指示の受け付けに先立って実行することで,読み取り範囲を早期に決定でき,読み取りを早期に開始できる可能性が高まる。   When the lower surface 22 of the ADF 20 is opened and closed, there is a high possibility that a document is set on the contact glass 11. In addition, when the output size setting or the magnification setting is changed, there is a high possibility that a document of an estimated size calculated from the changed setting is set. Therefore, in these cases, by executing the document detection process prior to receiving the instruction to start the reading operation, the reading range can be determined at an early stage, and the possibility that the reading can be started at an early stage increases.

次に,原稿検知処理の手順について,図8のフローチャートを参照して説明する。原稿検知処理では,CPU31は,画像読取部2に原稿の一部の画像を読み取らせる(S201)。S201は,一部読取処理の一例である。   Next, the procedure of document detection processing will be described with reference to the flowchart of FIG. In the document detection process, the CPU 31 causes the image reading unit 2 to read a partial image of the document (S201). S201 is an example of a partial reading process.

具体的には,CPU31は,基準位置Pを含む主走査方向の1ラインから,イメージセンサ15を副走査方向へ移動させつつ画像の読み取りを開始させ,主走査方向に読取可能な全範囲であって,副走査方向へ2〜3cmの範囲を読み取らせる。なお,S201の読み取りでは,CPU31は,出力用の画像の読み取り時と同等の精度での読み取りを行わせる必要はない。例えば,出力用の読み取り時に比較して,低解像度の読み取りでもよいし,カラー読取に代えてモノクロ読取としてもよい。   Specifically, the CPU 31 starts image reading from one line in the main scanning direction including the reference position P while moving the image sensor 15 in the sub scanning direction. Thus, a range of 2 to 3 cm is read in the sub-scanning direction. Note that in the reading of S201, the CPU 31 does not need to perform reading with the same accuracy as when reading an output image. For example, it may be read at a lower resolution than when reading for output, or may be monochrome reading instead of color reading.

そして,CPU31は,読み取った一部画像の画像データをRAM33に保存する(S202)。なお,後述するように,見開き原稿読取処理では,1つの原稿に対して,原稿検知処理を複数回実行する場合がある。そこで,既に一部画像の画像データを保存済みであれば,S202では,CPU31は,上書きして保存する。   Then, the CPU 31 stores the image data of the read partial image in the RAM 33 (S202). As will be described later, in the spread document reading process, the document detection process may be executed a plurality of times for one document. Therefore, if the image data of a partial image has already been saved, in S202, the CPU 31 overwrites and saves it.

次に,CPU31は,S201にて読み取った画像データに基づいて,原稿の主走査方向の長さを取得する(S203)。S203は,長さ検知処理の一例である。具体的には,CPU31は,画像データ中の原稿の地色に相当する領域の主走査方向の長さ,あるいは,原稿の主走査方向の両端に現れるエッジ画像,に基づいて原稿の主走査方向の長さを取得する。そして,CPU31は,原稿の主走査方向の長さを取得済みであることを示す,検知済みフラグをオンとして(S204),原稿検知処理を終了する。   Next, the CPU 31 acquires the length of the document in the main scanning direction based on the image data read in S201 (S203). S203 is an example of a length detection process. Specifically, the CPU 31 determines the main scanning direction of the document based on the length in the main scanning direction of the area corresponding to the background color of the document in the image data or the edge images appearing at both ends of the document in the main scanning direction. Get the length of. Then, the CPU 31 turns on a detected flag indicating that the length of the document in the main scanning direction has been acquired (S204), and ends the document detection process.

図7の見開き原稿読取処理に戻り,CPU31は,S106の原稿検知処理の後,S102に戻って動作開始の指示を受け付けたか否かを判断する。そして,動作開始の指示を受け付けたと判断した場合(S102:YES),CPU31は,ADF20に原稿がセットされているか否かを判断する(S110)。ADF20に原稿がセットされていると判断した場合(S110:YES),CPU31は,ADF20にて原稿を搬送して読み取るADF読み取りを実行する(S111)。   Returning to the double-page spread document reading process of FIG. 7, after the original detection process of S106, the CPU 31 returns to S102 and determines whether or not an operation start instruction has been accepted. If it is determined that an operation start instruction has been received (S102: YES), the CPU 31 determines whether a document is set on the ADF 20 (S110). When it is determined that a document is set on the ADF 20 (S110: YES), the CPU 31 executes ADF reading by conveying and reading the document by the ADF 20 (S111).

一方,ADF20に原稿がセットされていないと判断した場合(S110:NO),CPU31は,原稿のサイズを検知済みであるか否かを判断する(S112)。つまり,CPU31は,検知済みフラグがオンとなっているか否かを判断する。そして,検知済みフラグがオンとなっておらず,検知済みではないと判断した場合(S112:NO),CPU31は,原稿検知処理を実行する(S113)。S113の原稿検知処理は,S106の原稿検知処理と同様の処理である。   On the other hand, when it is determined that no document is set on the ADF 20 (S110: NO), the CPU 31 determines whether the size of the document has been detected (S112). That is, the CPU 31 determines whether or not the detected flag is on. If the detected flag is not on and it is determined that the detected flag is not detected (S112: NO), the CPU 31 executes document detection processing (S113). The document detection process in S113 is the same process as the document detection process in S106.

そして,原稿のサイズを検知済みであると判断した場合(S112:YES),または,S113の後,CPU31は,読み取り範囲を決定するための処理である範囲決定処理を実行する(S115)。   When it is determined that the size of the document has been detected (S112: YES), or after S113, the CPU 31 executes a range determination process that is a process for determining a reading range (S115).

次に,範囲決定処理の手順について,図9のフローチャートを参照して説明する。範囲決定処理では,CPU31は,まず,見開き原稿読取処理のS101またはS105にて取得した推定サイズが,記憶されている各種の定型サイズの1つであるか否かを判断する(S301)。MFP100は,出力サイズとして指定可能な複数種類の定型サイズについて,その長辺及び短辺の大きさを,ROM32またはNVRAM34に記憶している。なお,定型サイズは,例えば,A4等のA判サイズ,B5等のB判サイズのうちのMFP100にて印刷や読み取りが可能な大きさのものであり,さらに,L判等の写真のサイズや四六判等の書籍のサイズを含んでもよい。   Next, the procedure of the range determination process will be described with reference to the flowchart of FIG. In the range determination process, the CPU 31 first determines whether or not the estimated size acquired in S101 or S105 of the spread document reading process is one of the various standard sizes stored (S301). The MFP 100 stores the sizes of the long side and the short side in the ROM 32 or the NVRAM 34 for a plurality of types of standard sizes that can be designated as output sizes. The standard size is, for example, a size that can be printed or read by the MFP 100 among A size such as A4 and B size such as B5. It may include the size of a book, such as a 46-size book.

推定サイズが定型サイズではない場合には,原稿の主走査方向の長さに基づく原稿の配置の判断は難しい。そこで,推定サイズが定型サイズではないと判断した場合(S301:NO),CPU31は,読み取り範囲を読取可能な全範囲に決定して(S302),範囲決定処理を終了する。なお,推定サイズが定型サイズでないと判断した場合,MFP100は,原稿のサイズをユーザに確認してもよい。   When the estimated size is not the standard size, it is difficult to determine the document layout based on the length of the document in the main scanning direction. Therefore, if it is determined that the estimated size is not the standard size (S301: NO), the CPU 31 determines the reading range as the entire readable range (S302), and ends the range determination processing. If it is determined that the estimated size is not the standard size, the MFP 100 may confirm the size of the document with the user.

一方,推定サイズが定型サイズであると判断した場合(S301:YES),CPU31は,原稿検知処理にて取得した原稿の主走査方向の長さが,推定サイズの長辺の長さ以上であるか否かを判断する(S303)。S303は,サイズ判断処理の一例である。例えば,図6に示したように見開き原稿をセットされた場合には,CPU31は,S303にて,原稿の主走査方向の長さが,推定サイズの長辺の長さ以上であると判断する。   On the other hand, when it is determined that the estimated size is the standard size (S301: YES), the CPU 31 has the length of the document acquired in the document detection process in the main scanning direction equal to or longer than the length of the long side of the estimated size. Whether or not (S303). S303 is an example of a size determination process. For example, when a spread original is set as shown in FIG. 6, the CPU 31 determines in S303 that the length of the original in the main scanning direction is equal to or longer than the length of the long side of the estimated size. .

そして,原稿の主走査方向の長さが,推定サイズの長辺の長さ以上であると判断した場合(S303:YES),CPU31は,原稿に綴じ部が有るか否かを判断する(S304)。S304は,綴じ部判断処理の一例である。   When it is determined that the length of the document in the main scanning direction is equal to or longer than the long side of the estimated size (S303: YES), the CPU 31 determines whether or not the document has a binding portion (S304). ). S304 is an example of a binding portion determination process.

見開き原稿では綴じ部がコンタクトガラス11に接触しない可能性が高い。原稿がコンタクトガラス11から離れている箇所の読取画像は,原稿の影が読み取られるために高濃度の領域となる。具体的に,CPU31は,原稿検知処理のS201にて読み取りS202にて保存した画像データを解析し,綴じ部と判断できる高濃度の画像領域が有るか否かを判断する。CPU31は,例えば,主走査方向の長さが所定長よりも広い領域であって,所定濃度よりも高濃度の画像領域が有るか否かを判断する。所定長,所定濃度の値は,ROM32またはNVRAM34に記憶されている。   There is a high possibility that the binding portion does not contact the contact glass 11 in the spread document. The read image at a location where the document is separated from the contact glass 11 becomes a high density region because the shadow of the document is read. Specifically, the CPU 31 analyzes the image data read in S201 of the document detection process and stored in S202, and determines whether there is a high-density image region that can be determined as a binding portion. For example, the CPU 31 determines whether or not there is an image area whose length in the main scanning direction is wider than a predetermined length and has a density higher than a predetermined density. The values of the predetermined length and the predetermined density are stored in the ROM 32 or the NVRAM 34.

CPU31は,さらに,その高濃度の画像領域が綴じ部の影によるものと推定できるか否かを判断する。例えば,画像の上端部分には,見開き原稿の用紙端部による高濃度の領域が現れる可能性がある。一方,綴じ部は,原稿の一端から推定サイズの短辺の長さだけ離れた位置にある。高濃度の画像領域の位置が,例えば図4や図5に示した基準位置Pから主走査方向に,推定サイズの短辺の長さ程度だけ離れた位置にあれば,綴じ部による画像である可能性が高い。そこで,CPU31は,所定の大きさ以上の高濃度の領域が有る場合,綴じ部の位置が高濃度の画像領域に含まれているか否かを判断する。   The CPU 31 further determines whether or not the high-density image area can be estimated to be due to the shadow of the binding portion. For example, there is a possibility that a high density area due to the paper edge of the spread original appears in the upper end portion of the image. On the other hand, the binding portion is located at a position away from one end of the document by the length of the short side of the estimated size. If the position of the high-density image region is at a position separated from the reference position P shown in FIGS. 4 and 5 in the main scanning direction by the length of the short side of the estimated size, for example, the image is the binding portion. Probability is high. Therefore, the CPU 31 determines whether or not the position of the binding portion is included in the high density image area when there is a high density area having a predetermined size or more.

具体的に,例えば,図10に示すように,一部画像の画像データ51に高濃度の画像領域52が有る場合,主走査方向の一端から距離dの位置が,高濃度の画像領域52に含まれているか否かを判断する。距離dは,推定サイズの短辺の長さに相当する距離である。例えば,推定サイズがA4サイズであり,主走査方向にA4短辺の長さの位置が画像領域52の範囲内に含まれていれば,CPU31は,S304にて綴じ部が有ると判断する。   Specifically, for example, as shown in FIG. 10, when the image data 51 of a partial image has a high-density image region 52, the position at a distance d from one end in the main scanning direction is the high-density image region 52. Determine whether it is included. The distance d is a distance corresponding to the length of the short side of the estimated size. For example, if the estimated size is A4 size and the position of the length of the A4 short side in the main scanning direction is included in the range of the image area 52, the CPU 31 determines in S304 that the binding portion is present.

これにより,原稿の画像に高濃度の領域が含まれていても,綴じ部に相当する場所ではない場合には,綴じ部と誤認せず,高精度に綴じ部の有無の判断ができる。なお,推定サイズの短辺の長さの位置ではない場合,他の定型サイズの短辺の長さに相当する位置であるか否かを判断してもよい。そして,推定サイズではない定型サイズの短辺の長さの位置に綴じ部が有ると判断された場合,推定サイズを当該定型サイズに変更してもよい。   As a result, even if a high density area is included in the image of the document, if it is not a place corresponding to the binding portion, the presence or absence of the binding portion can be determined with high accuracy without being mistaken for the binding portion. If the position is not the position of the short side length of the estimated size, it may be determined whether the position corresponds to the length of the short side of another standard size. When it is determined that the binding portion is located at the position of the short side of the fixed size that is not the estimated size, the estimated size may be changed to the fixed size.

そして,原稿に綴じ部が有ると判断した場合(S304:YES),CPU31は,さらに見開き原稿と確定するための確定条件を満たしているか否かを判断する(S305)。確定条件として,CPU31は,以下の3つの条件のうちの少なくとも1つを備えている。3つの条件は,ユーザ回答条件,カバー開条件,見開き設定条件である。各条件の詳細は後述する。CPU31は,3つの条件のうちの1つの条件のみを備えて,その条件を満たすか否かに基づいて確定条件を満たすか否かを判断してもよい。また,CPU31は,3つの条件のうちの2つ以上の条件を備えて,それらのうちの少なくとも1つが満たされていれば確定条件を満たすと判断してもよい。   If it is determined that the document has a binding portion (S304: YES), the CPU 31 further determines whether or not a determination condition for determining that the document is a spread document is satisfied (S305). As a confirmation condition, the CPU 31 includes at least one of the following three conditions. The three conditions are a user response condition, a cover opening condition, and a spread setting condition. Details of each condition will be described later. The CPU 31 may include only one of the three conditions and determine whether or not the definite condition is satisfied based on whether or not the condition is satisfied. Further, the CPU 31 may include two or more conditions among the three conditions, and may determine that the definite condition is satisfied if at least one of them is satisfied.

ユーザ回答条件は,ユーザの回答に基づく条件である。ユーザ回答条件を備えるMFP100では,CPU31は,S305にて,見開き原稿か否かを問い合わせる表示を,表示部42に表示させる。そして,入力部41を介して,見開き原稿であるとのユーザの回答を受け付けた場合に,CPU31は,ユーザ回答条件を満たしたと判断する。そして,CPU31は,見開き原稿であると確定する。ユーザ回答条件によれば,最終的にユーザに確認することで,見開き原稿であることが確定し,より適切に読み取り範囲を決定できる。また,見開き原稿が図6に示した向きにセットされた可能性が高いと判断された段階でユーザ確認を行うため,読み取りの度にユーザ確認を行う場合と比較して,ユーザに煩わしさを与えない。   The user answer condition is a condition based on a user answer. In MFP 100 having user response conditions, CPU 31 causes display unit 42 to display a display asking whether or not the document is a spread document in S305. When the user's answer that the document is a spread document is received via the input unit 41, the CPU 31 determines that the user answer condition is satisfied. Then, the CPU 31 determines that the document is a spread document. According to the user response condition, by finally confirming with the user, it is determined that the document is a facing document, and the reading range can be determined more appropriately. Further, since the user confirmation is performed when it is determined that the spread document is likely to be set in the orientation shown in FIG. 6, the user is more annoyed than the case where the user confirmation is performed every time reading is performed. Don't give.

カバー開条件は,ADF20の下面22が開状態となっている条件である。カバー開条件を備えるMFP100では,S305にて,CPU31は,センサ21の出力信号に基づいて,ADF20の下面22が開状態であるか否かを判断する。そして,センサ21の出力信号がADF20の下面22の開状態に対応する信号である場合に,CPU31は,カバー開条件を満たしたと判断する。そして,CPU31は,見開き原稿であると確定する。一枚の用紙の原稿よりも分厚い見開き原稿がセットされた場合,ADF20の下面22を閉状態とし難いことから,ADF20の下面22の開閉状態に基づいて見開き原稿と判断することで,より適切に見開き原稿であることを確定でき,適切に読み取り範囲を決定できる。   The cover opening condition is a condition in which the lower surface 22 of the ADF 20 is in an open state. In MFP 100 having the cover opening condition, in S305, CPU 31 determines whether or not lower surface 22 of ADF 20 is in an open state based on the output signal of sensor 21. When the output signal of the sensor 21 is a signal corresponding to the open state of the lower surface 22 of the ADF 20, the CPU 31 determines that the cover open condition is satisfied. Then, the CPU 31 determines that the document is a spread document. When a two-page spread document thicker than one sheet of document is set, it is difficult to close the lower surface 22 of the ADF 20, so that it is more appropriate to determine a spread document based on the open / closed state of the lower surface 22 of the ADF 20. It can be determined that the original is a double-page spread, and the reading range can be determined appropriately.

見開き設定条件は,読み取りに関する設定として,見開き原稿の読み取りが設定されている条件である。見開き設定条件を備えるMFP100では,S305にて,CPU31は,原稿が見開き原稿であるとの設定がなされているか否かを判断する。読取設定として,見開き原稿の設定を受け付けるMFP100では,読み取り開始の指示を受け付けるまでに,見開き原稿の読取設定がなされていれば,CPU31は,見開き設定条件を満たしたと判断する。そして,CPU31は,見開き原稿であると確定する。   The spread setting condition is a condition in which reading of a spread document is set as a setting related to reading. In MFP 100 having the spread setting condition, in S305, CPU 31 determines whether or not the document is set to be a spread document. In MFP 100 that accepts the setting for a two-page spread as the reading setting, if the reading setting for the two-page spread is made before the reading start instruction is received, CPU 31 determines that the two-page spread setting condition is satisfied. Then, the CPU 31 determines that the document is a spread document.

なお,CPU31は,読み取り動作の開始指示を受け付けた時に設定されている読取設定をRAM33またはNVRAM34に記憶し,S305では,記憶されている読取設定を読み出す。RAM33またはNVRAM34は,記憶部の一例である。見開き原稿を読み取る旨の設定が記憶されている場合には,見開き原稿がセットされる可能性が極めて高いことから,見開き原稿と確定するための条件に見開き原稿を読み取る旨の設定の有無を加えることで,より適切に読み取り範囲を決定できる。なお,MFP100は,見開き原稿の読取設定を受け付けている場合,例えば,読み取った画像データの綴じ部や周辺部の影画像を消す処理を実行してもよい。   Note that the CPU 31 stores the reading setting set when the reading operation start instruction is received in the RAM 33 or the NVRAM 34, and reads the stored reading setting in S305. The RAM 33 or NVRAM 34 is an example of a storage unit. If the setting to read a spread document is stored, the possibility that the spread document will be set is very high. Therefore, the presence or absence of the setting to read the spread document is added to the conditions for determining the spread document. Therefore, the reading range can be determined more appropriately. Note that when the reading setting of the spread original is accepted, the MFP 100 may execute a process of deleting the binding image of the read image data and the shadow image of the peripheral portion, for example.

そして,見開き原稿に確定する確定条件を満たしたと判断した場合(S305:YES),または,原稿のサイズが推定サイズの長辺の長さ以上ではないと判断した場合(S303:NO),CPU31は,読み取り範囲をB位置の範囲(図5参照)に決定して(S306),範囲決定処理を終了する。S306は,決定処理の一例である。S306では,CPU31は,具体的に,読み取り範囲の副走査方向の長さを,推定サイズの長辺の長さとする。   When it is determined that the determination condition for determining the spread document is satisfied (S305: YES), or when it is determined that the size of the document is not longer than the length of the long side of the estimated size (S303: NO), the CPU 31 , The reading range is determined as the range of the B position (see FIG. 5) (S306), and the range determination process is terminated. S306 is an example of a determination process. In S306, specifically, the CPU 31 sets the length of the reading range in the sub-scanning direction as the length of the long side of the estimated size.

一方,原稿に綴じ部が無いと判断した場合(S304:NO),または,見開き原稿と確定できなかった場合(S305:NO),CPU31は,読み取り範囲を,A位置の範囲(図4参照)に決定して(S307),範囲決定処理を終了する。S307では,CPU31は,具体的に,読み取り範囲の副走査方向の長さを,推定サイズの短辺の長さとする。   On the other hand, when it is determined that the original does not have a binding portion (S304: NO), or when it cannot be determined to be a spread original (S305: NO), the CPU 31 determines the reading range as the range of the A position (see FIG. 4). (S307), and the range determination process is terminated. In S307, the CPU 31 specifically sets the length of the reading range in the sub-scanning direction as the length of the short side of the estimated size.

図7の見開き原稿読取処理に戻り,CPU31は,S115の範囲決定処理にて決定した読み取り範囲の原稿を読み取らせる(S120)。S120は,読取処理の一例である。さらに,S120の後,または,S111の後,CPU31は,指定された動作モードに従い,読み取った画像データに基づいて,原稿の画像を出力する(S121)。S121は,出力処理の一例である。原稿の画像の出力は,用紙への印刷であってもよいし,画像ファイルの生成であってもよい。そして,CPU31は,原稿検知処理にて使用した検知済みフラグをクリアし(S122),見開き原稿読取処理を終了する。   Returning to the two-page spread original reading process of FIG. 7, the CPU 31 causes the original in the reading range determined in the range determination process of S115 to be read (S120). S120 is an example of a reading process. Further, after S120 or after S111, the CPU 31 outputs an image of the document based on the read image data in accordance with the designated operation mode (S121). S121 is an example of output processing. The output of the original image may be printing on paper or generation of an image file. Then, the CPU 31 clears the detected flag used in the document detection process (S122), and ends the spread document reading process.

例えば,図6に示したように原稿がセットされた場合,原稿検知処理にて取得された一部画像の画像データ51には,図10に示したように綴じ部による高濃度の画像領域52が含まれる。そして,この画像領域52には,画像データ51の上端からA4短辺の長さに相当する位置が含まれる。そのため,CPU31は,範囲決定処理にて,読み取り範囲をB位置の範囲に決定する。つまり,本形態のMFP100によれば,当該原稿の読み取り範囲は,副走査方向にA4長辺の長さの範囲で,主走査方向にA4短辺の長さの範囲と決定される。   For example, when a document is set as shown in FIG. 6, the image data 51 of the partial image acquired by the document detection process includes a high-density image region 52 by the binding portion as shown in FIG. Is included. The image area 52 includes a position corresponding to the length of the A4 short side from the upper end of the image data 51. Therefore, the CPU 31 determines the reading range as the range of the B position in the range determination process. In other words, according to MFP 100 of the present embodiment, the reading range of the document is determined to be a range of A4 long sides in the sub-scanning direction and a range of A4 short sides in the main scanning direction.

以上,詳細に説明したように,本形態のMFP100は,コンタクトガラス11上にセットされた原稿の画像の一部を読み取り,読み取り結果に基づいて綴じ部領域が有るか否かを判断する。また,MFP100は,出力に関する設定に基づいて,原稿のサイズを推定する。そして,MFP100は,原稿の主走査方向の長さが推定サイズの長辺以上であり,綴じ部領域が有ると判断した場合,読み取り範囲を,推定サイズの長辺を副走査方向として,推定サイズの範囲に決定する。綴じ部領域の有無によって,原稿の向きを判断することから,より適切な読み取り範囲となることが期待できる。   As described above in detail, the MFP 100 according to the present embodiment reads a part of the image of the document set on the contact glass 11 and determines whether or not the binding area is present based on the read result. Further, MFP 100 estimates the size of the document based on the setting relating to output. When the MFP 100 determines that the length of the document in the main scanning direction is equal to or longer than the long side of the estimated size and has a binding area, the MFP 100 determines the reading range as the estimated size with the long side of the estimated size as the sub-scanning direction. Determine the range. Since the orientation of the original is determined based on the presence / absence of the binding area, a more appropriate reading range can be expected.

なお,本実施の形態は単なる例示にすぎず,本発明を何ら限定するものではない。したがって本発明は当然に,その要旨を逸脱しない範囲内で種々の改良,変形が可能である。例えば,MFPに限らず,複写機,スキャナ,FAX装置等,画像読取機能を備えるものであれば適用可能である。   Note that this embodiment is merely an example, and does not limit the present invention. Therefore, the present invention can naturally be improved and modified in various ways without departing from the gist thereof. For example, the present invention is not limited to an MFP, and can be applied to any apparatus having an image reading function such as a copying machine, a scanner, and a FAX apparatus.

また,例えば,見開き原稿読取処理では,ADF20の下面22の開閉または出力設定の変更が行われる度に原稿検知処理を実行するとしたが,行わなくてもよい。例えば,読み取りの開始の指示を受け付けた後に,範囲決定処理を実行する前に実行してもよい。つまり,S103〜S106は無くてもよい。ただし,ADF20の下面22の開閉または出力設定の変更が行われる度に原稿検知処理を実行することで,早期に読み取りを終了できる可能性が高まる。   Further, for example, in the spread document reading process, the document detection process is executed every time the lower surface 22 of the ADF 20 is opened / closed or the output setting is changed. For example, it may be executed after receiving an instruction to start reading and before executing the range determination process. That is, S103 to S106 may be omitted. However, by performing the document detection process each time the lower surface 22 of the ADF 20 is opened / closed or the output setting is changed, there is a high possibility that the reading can be completed early.

また,読み取り開始の指示を受け付けた後,原稿検知処理を実行済みであれば,原稿検知処理を実行せずに範囲決定処理を実行するとしたが,原稿検知処理も実行してもよい。つまり,S112の判断は無くてもよい。また,原稿検知処理の実行後に,毎回,範囲決定処理も実行するとしてもよい。ただし,原稿検知処理や範囲決定処理の実行回数が少ない方が,処理がシンプルであり,省電力となる可能性が高い。   Further, if the document detection process has been executed after receiving the reading start instruction, the range determination process is executed without executing the document detection process, but the document detection process may also be executed. That is, the determination in S112 may not be performed. Further, the range determination process may be executed every time after the document detection process is executed. However, the smaller the number of times the document detection process and the range determination process are executed, the simpler the process is, and the higher the possibility of saving power.

また,例えば,原稿検知処理では,原稿の画像の一部を読み取り,読み取った画像に基づいて主走査方向の長さを取得するとしたが,原稿の主走査方向の長さを検知する方法はこれに限らない。例えば,光学センサ等の専用のセンサを備え,原稿の主走査方向の長さを取得することができるMFP100では,当該専用のセンサの出力信号に基づいて,原稿の主走査方向の長さを検知してもよい。そして,一部画像を使用せずに主走査方向の長さを取得することができる場合は,原稿検知処理にて主走査方向の長さの取得のみを行い,一部画像の読み取りは範囲決定処理の開始前に実行してもよい。   For example, in the document detection process, a part of an image of a document is read and the length in the main scanning direction is acquired based on the read image. However, this is a method for detecting the length of the document in the main scanning direction. Not limited to. For example, in MFP 100 that includes a dedicated sensor such as an optical sensor and can acquire the length of the document in the main scanning direction, the MFP 100 detects the length of the document in the main scanning direction based on the output signal of the dedicated sensor. May be. If the length in the main scanning direction can be acquired without using a partial image, only the length in the main scanning direction is acquired in the document detection process, and the range of the partial image reading is determined. You may perform before the start of a process.

さらに,S304にて,高濃度の画像領域52の位置の判断を行わないとしてもよい。例えば,所定の面積以上の高濃度の領域があれば,綴じ部が有ると判断してもよい。ただし,綴じ部の位置を確認することで,例えば,原稿に含まれる高濃度の画像を綴じ部と誤認する可能性は低い。   Further, in S304, the position of the high density image region 52 may not be determined. For example, if there is a high density region having a predetermined area or more, it may be determined that the binding portion is present. However, by checking the position of the binding portion, for example, there is a low possibility that a high-density image included in the document is mistaken for the binding portion.

また,S305の確定条件の判断は無くてもよい。つまり,S304にて綴じ部が有ると判断した場合には読み取り範囲をB位置に決定し,綴じ部が無いと判断した場合には読み取り範囲をA位置に決定してもよい。ただし,確定条件にて確認することで,見開き原稿であることがさらに確実となる。   Further, the determination of the final condition in S305 may be omitted. That is, when it is determined in S304 that the binding portion is present, the reading range may be determined as the B position, and when it is determined that there is no binding portion, the reading range may be determined as the A position. However, it is more certain that the document is a spread document by checking the final conditions.

また,実施の形態に開示されている処理は,単一のCPU,複数のCPU,ASICなどのハードウェア,またはそれらの組み合わせで実行されてもよい。また,実施の形態に開示されている処理は,その処理を実行するためのプログラムを記録した記録媒体,または方法等の種々の態様で実現することができる。   The processing disclosed in the embodiments may be executed by a single CPU, a plurality of CPUs, hardware such as an ASIC, or a combination thereof. Further, the processing disclosed in the embodiment can be realized in various modes such as a recording medium or a method recording a program for executing the processing.

15 イメージセンサ
20 ADF
21 センサ
22 下面
31 CPU
33 RAM
34 NVRAM
41 入力部
42 表示部
100 MFP
15 Image sensor 20 ADF
21 Sensor 22 Lower surface 31 CPU
33 RAM
34 NVRAM
41 Input unit 42 Display unit 100 MFP

Claims (11)

原稿台と,
読取部と,
制御部と,
を備え,
前記制御部は,
前記原稿台にセットされた原稿の画像を,前記読取部を副走査方向に移動させて読み取らせる読取処理と,
前記読取処理での読取結果に基づいて,原稿の画像を出力する出力処理と,
前記読取処理が実行される前に,前記原稿台にセットされた原稿の画像の一部を,前記読取部を副走査方向に移動させて読み取らせる一部読取処理と,
前記原稿台にセットされた原稿の主走査方向の長さを検知する長さ検知処理と,
出力サイズの設定と倍率の設定とに基づいて決められる原稿のサイズである推定サイズが定型サイズの1つである特定サイズであり,かつ前記長さ検知処理にて検知された長さが前記特定サイズの長辺以上であること,とする特定条件を満たすか否かを判断するサイズ判断処理と,
前記一部読取処理での読取結果に基づいて,前記原稿の画像の主走査方向の範囲内に見開き原稿の綴じ部に相当する綴じ部領域が有るか否かを判断する綴じ部判断処理と,
前記サイズ判断処理にて前記特定条件を満たすと判断され,さらに前記綴じ部判断処理にて前記綴じ部領域が有ると判断された場合,前記読取処理での読み取り範囲を,前記推定サイズの長辺を副走査方向として,前記推定サイズの範囲に決定する決定処理と,
を実行することを特徴とする読取装置。
A manuscript table,
A reading unit;
A control unit;
With
The controller is
A reading process for reading the image of the document set on the document table by moving the reading unit in the sub-scanning direction;
An output process for outputting an image of a document based on a reading result in the reading process;
A partial reading process for reading a part of an image of a document set on the document table by moving the reading unit in a sub-scanning direction before the reading process is executed;
A length detection process for detecting the length of the document set on the document table in the main scanning direction;
The estimated size, which is the document size determined based on the output size setting and the magnification setting, is a specific size that is one of the standard sizes, and the length detected in the length detection process is the specific size. Size determination processing for determining whether or not a specific condition that the size is longer than the size is satisfied,
A binding portion determination process for determining whether or not there is a binding portion area corresponding to the binding portion of the spread original document within a range in the main scanning direction of the image of the original document based on a reading result in the partial reading processing;
When it is determined that the specific condition is satisfied in the size determination process and the binding portion area is determined to be present in the binding portion determination process, the reading range in the reading process is set as a long side of the estimated size. A sub-scanning direction and a determination process for determining the estimated size range;
The reading apparatus characterized by performing.
請求項1に記載する読取装置において,
前記制御部は,
前記綴じ部判断処理では,前記原稿の画像の主走査方向の範囲内に,所定長よりも広い領域であって所定濃度よりも高濃度の前記領域が有る場合に,前記綴じ部領域が有ると判断する,
ことを特徴とする読取装置。
The reading device according to claim 1,
The controller is
In the binding portion determination process, if the region of the original image in the main scanning direction is an area wider than a predetermined length and having a density higher than a predetermined density, the binding area is determined to be present. to decide,
A reading device.
請求項1または請求項2に記載する読取装置において,
前記制御部は,
前記綴じ部判断処理では,前記原稿の画像の主走査方向の範囲内のうち,主走査方向の一端から定型サイズの短辺の長さだけ離れた位置が,所定長よりも広い領域であって所定濃度よりも高濃度の前記領域に含まれる場合に,前記綴じ部領域が有ると判断する,
ことを特徴とする読取装置。
The reading device according to claim 1 or 2,
The controller is
In the binding portion determination process, a position that is separated from one end in the main scanning direction by the length of the short side of the standard size within the range of the original image in the main scanning direction is an area wider than a predetermined length. If it is included in the region having a higher density than the predetermined density, it is determined that the binding area is present;
A reading device.
請求項1または請求項2に記載する読取装置において,
前記制御部は,
前記綴じ部判断処理では,前記原稿の画像の主走査方向の範囲内のうち,主走査方向の一端から前記推定サイズの短辺の長さだけ離れた位置が,所定長よりも広い領域であって所定濃度よりも高濃度の前記領域に含まれる場合に,前記綴じ部領域が有ると判断する,
ことを特徴とする読取装置。
The reading device according to claim 1 or 2,
The controller is
In the binding portion determination process, a position that is separated from one end in the main scanning direction by the length of the short side of the estimated size within a range in the main scanning direction of the document image is an area wider than a predetermined length. And determining that the binding region is present when the region is included in the region having a concentration higher than a predetermined concentration.
A reading device.
請求項1から請求項4のいずれか1つに記載する読取装置において,
表示部と,
入力部と,
を備え,
前記制御部は,
前記決定処理では,前記サイズ判断処理にて前記特定条件を満たすと判断され,さらに前記綴じ部判断処理にて前記綴じ部領域が有ると判断された場合,見開き原稿であるか否かをユーザに問い合わせる画面を前記表示部に表示させ,見開き原稿である旨の入力を前記入力部を介して受け付けた場合に,前記読取処理での読み取り範囲を,前記推定サイズの長辺を副走査方向として,前記推定サイズの範囲に決定する,
ことを特徴とする読取装置。
In the reading device according to any one of claims 1 to 4,
A display,
An input section;
With
The controller is
In the determination process, when it is determined that the specific condition is satisfied in the size determination process and the binding part area is determined to be present in the binding part determination process, the user is asked whether the document is a spread document. When a screen for inquiring is displayed on the display unit and an input indicating that the document is a spread document is received via the input unit, the reading range in the reading process is set with the long side of the estimated size as the sub-scanning direction, Determine the range of the estimated size,
A reading device.
請求項1から請求項5のいずれか1つに記載する読取装置において,
前記原稿台を覆うカバー部と,
前記カバー部が閉状態と開状態とで異なる信号を出力するセンサと,
を備え,
前記制御部は,
前記決定処理では,前記サイズ判断処理にて前記特定条件を満たすと判断され,さらに前記綴じ部判断処理にて前記綴じ部領域が有ると判断された場合,前記センサにて開状態である旨の信号が出力されているか否かを判断し,開状態である旨の信号が出力されている場合に,前記読取処理での読み取り範囲を,前記推定サイズの長辺を副走査方向として,前記推定サイズの範囲に決定する,
ことを特徴とする読取装置。
In the reading device according to any one of claims 1 to 5,
A cover that covers the platen;
A sensor that outputs different signals depending on whether the cover is in a closed state or an open state;
With
The controller is
In the determination process, when it is determined that the specific condition is satisfied in the size determination process, and the binding part determination process determines that the binding part area exists, the sensor is in an open state. It is determined whether or not a signal is output, and when the signal indicating that the signal is in an open state is output, the reading range in the reading process is determined with the long side of the estimated size as the sub-scanning direction. Determine the size range,
A reading device.
請求項1から請求項6のいずれか1つに記載する読取装置において,
見開き原稿の読み取りを行う旨の設定を記憶する記憶部を備え,
前記制御部は,
前記決定処理では,前記サイズ判断処理にて前記特定条件を満たすと判断され,さらに前記綴じ部判断処理にて前記綴じ部領域が有ると判断された場合,前記記憶部に見開き原稿の読み取りを行う旨の設定が記憶されているか否かを判断し,見開き原稿の読み取りを行う旨の設定が記憶されている場合に,前記読取処理での読み取り範囲を,前記推定サイズの長辺を副走査方向として,前記推定サイズの範囲に決定する,
ことを特徴とする読取装置。
In the reading device according to any one of claims 1 to 6,
A storage unit is provided for storing settings for scanning a facing document.
The controller is
In the determination process, when it is determined that the specific condition is satisfied in the size determination process and the binding part area is determined to be present in the binding part determination process, the spread document is read in the storage unit. If the setting to read the spread original is stored, the reading range in the reading process is set to the long side of the estimated size in the sub-scanning direction. To determine the range of the estimated size,
A reading device.
請求項1から請求項7のいずれか1つに記載する読取装置において,
前記原稿台を覆うカバー部と,
前記カバー部が閉状態と開状態とで異なる信号を出力するセンサと,
を備え,
前記制御部は,
読み取り開始指示を受け付ける前であって,前記センサからの出力に基づいて前記カバー部の状態の変化を検知したことに応じて,前記一部読取処理と前記長さ検知処理との少なくとも一方を実行する,
ことを特徴とする読取装置。
The reading device according to any one of claims 1 to 7,
A cover that covers the platen;
A sensor that outputs different signals depending on whether the cover is in a closed state or an open state;
With
The controller is
Before accepting a reading start instruction, and executing at least one of the partial reading process and the length detection process in response to detecting a change in the state of the cover part based on an output from the sensor Do,
A reading device.
請求項1から請求項8のいずれか1つに記載する読取装置において,
前記制御部は,
読み取り開始指示を受け付ける前であって,出力サイズの設定と,倍率の設定と,の少なくとも一方が変更されたことに応じて,前記一部読取処理と前記長さ検知処理との少なくとも一方を実行する,
ことを特徴とする読取装置。
The reading device according to any one of claims 1 to 8,
The controller is
Before accepting an instruction to start reading, execute at least one of the partial reading process and the length detection process when at least one of the output size setting and the magnification setting is changed. Do,
A reading device.
請求項1から請求項9のいずれか1つに記載する読取装置において,
前記制御部は,
読み取り開始指示を受け付けたことに応じて,前記一部読取処理と前記長さ検知処理との少なくとも一方を実行する,
ことを特徴とする読取装置。
In the reading device according to any one of claims 1 to 9,
The controller is
Executing at least one of the partial reading process and the length detection process in response to receiving a reading start instruction;
A reading device.
原稿台と読取部とを備える読取装置に,
前記原稿台にセットされた原稿の画像を,前記読取部を副走査方向に移動させて読み取らせる読取処理と,
前記読取処理での読取結果に基づいて,原稿の画像を出力する出力処理と,
前記読取処理が実行される前に,前記原稿台にセットされた原稿の画像の一部を,前記読取部を副走査方向に移動させて読み取らせる一部読取処理と,
前記原稿台にセットされた原稿の主走査方向の長さを検知する長さ検知処理と,
出力サイズの設定と倍率の設定とに基づいて決められる原稿のサイズである推定サイズが定型サイズの1つである特定サイズであり,かつ前記長さ検知処理にて検知された長さが前記特定サイズの長辺以上であること,とする特定条件を満たすか否かを判断するサイズ判断処理と,
前記一部読取処理での読取結果に基づいて,前記原稿の画像の主走査方向の範囲内に見開き原稿の綴じ部に相当する綴じ部領域が有るか否かを判断する綴じ部判断処理と,
前記サイズ判断処理にて前記特定条件を満たすと判断され,さらに前記綴じ部判断処理にて前記綴じ部領域が有ると判断された場合,前記読取処理での読み取り範囲を,前記推定サイズの長辺を副走査方向として,前記推定サイズの範囲に決定する決定処理と,
を実行させることを特徴とするプログラム。
In a reading device having a document table and a reading unit,
A reading process for reading the image of the document set on the document table by moving the reading unit in the sub-scanning direction;
An output process for outputting an image of a document based on a reading result in the reading process;
A partial reading process for reading a part of an image of a document set on the document table by moving the reading unit in a sub-scanning direction before the reading process is executed;
A length detection process for detecting the length of the document set on the document table in the main scanning direction;
The estimated size, which is the document size determined based on the output size setting and the magnification setting, is a specific size that is one of the standard sizes, and the length detected in the length detection process is the specific size. Size determination processing for determining whether or not a specific condition that the size is longer than the size is satisfied,
A binding portion determination process for determining whether or not there is a binding portion area corresponding to the binding portion of the spread original document within a range in the main scanning direction of the image of the original document based on a reading result in the partial reading processing;
When it is determined that the specific condition is satisfied in the size determination process and the binding portion area is determined to be present in the binding portion determination process, the reading range in the reading process is set as a long side of the estimated size. A sub-scanning direction and a determination process for determining the estimated size range;
A program characterized by having executed.
JP2015192722A 2015-09-30 2015-09-30 Reader and program Active JP6561732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015192722A JP6561732B2 (en) 2015-09-30 2015-09-30 Reader and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015192722A JP6561732B2 (en) 2015-09-30 2015-09-30 Reader and program

Publications (2)

Publication Number Publication Date
JP2017069743A JP2017069743A (en) 2017-04-06
JP6561732B2 true JP6561732B2 (en) 2019-08-21

Family

ID=58495279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015192722A Active JP6561732B2 (en) 2015-09-30 2015-09-30 Reader and program

Country Status (1)

Country Link
JP (1) JP6561732B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6958516B2 (en) * 2018-09-03 2021-11-02 セイコーエプソン株式会社 Reader

Also Published As

Publication number Publication date
JP2017069743A (en) 2017-04-06

Similar Documents

Publication Publication Date Title
US20120081761A1 (en) Image reader capable of detecting blank document sheet
US8730530B2 (en) Image reading system and image reading apparatus
US20120194846A1 (en) Image reading system and image reading apparatus
JP5585552B2 (en) Image reading apparatus and reading control program
JP4433030B2 (en) Image processing apparatus and control program for image processing apparatus
KR20130037570A (en) Image forming apparatus, image forming method and computer-readable redord thereof
JP2012209908A (en) Reader
US20230145962A1 (en) Image reading apparatus and control method for image reading
JP5763613B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP6561732B2 (en) Reader and program
JP2016010094A (en) Image reading apparatus
JP2015198327A (en) Image reading device, image reading method, and computer program
KR101511818B1 (en) Image processing apparatus, method for controlling the same, and storage medium
JP3757761B2 (en) Document detection method and apparatus
US10659639B2 (en) Image reading apparatus
JP2022128248A (en) Image reading device and image forming apparatus
JP5768752B2 (en) Image reading apparatus and original arrangement determination program
JP4680217B2 (en) Image forming apparatus
JP2022025767A (en) Program, system, and scanner
JP5464993B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP6372392B2 (en) Document reader
JP7383936B2 (en) Image reading device and image forming device
JP4432961B2 (en) Image processing apparatus and image processing program
JP7206367B2 (en) Document reading device and document reading method
JP2019047389A (en) Image forming apparatus, display control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190607

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190708

R150 Certificate of patent or registration of utility model

Ref document number: 6561732

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150