[go: up one dir, main page]

JP2019161594A - Image reading apparatus, control method thereof, and storage medium - Google Patents

Image reading apparatus, control method thereof, and storage medium Download PDF

Info

Publication number
JP2019161594A
JP2019161594A JP2018049531A JP2018049531A JP2019161594A JP 2019161594 A JP2019161594 A JP 2019161594A JP 2018049531 A JP2018049531 A JP 2018049531A JP 2018049531 A JP2018049531 A JP 2018049531A JP 2019161594 A JP2019161594 A JP 2019161594A
Authority
JP
Japan
Prior art keywords
document
reading
image
area
original
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.)
Pending
Application number
JP2018049531A
Other languages
Japanese (ja)
Inventor
砂田 秀則
Hidenori Sunada
秀則 砂田
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2018049531A priority Critical patent/JP2019161594A/en
Publication of JP2019161594A publication Critical patent/JP2019161594A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

【課題】サイズ混載モードであることを指定しないで読取動作を開始した場合、読み取り領域よりも小さい原稿画像領域を適切位置に配置した出力画像データを生成することができる画像読取装置を提供する。【解決手段】原稿トレイ30に載置した原稿束Sの大きさに従って読み取り領域を決定し(ステップS102)、原稿sを読み取った読み取り画像から原稿画像領域を抽出し(ステップS117)、原稿画像領域の主走査方向位置及び大きさと、読み取り領域を比較して(ステップS118)、読み取り画像における読み取り領域と原稿画像領域との位置関係を参照して読み取り領域と同じ大きさの出力画像データ内の適正位置に原稿画像データを配置して出力画像データとする(ステップS119)。【選択図】 図11PROBLEM TO BE SOLVED: To provide an image reading device capable of generating output image data in which a document image area smaller than a reading area is arranged at an appropriate position when a reading operation is started without designating the mixed size mode. SOLUTION: A reading area is determined according to the size of a bundle of originals S placed on an original tray 30 (step S102), and the original image area is extracted from the read image obtained by reading the original s (step S117). The position and size in the main scanning direction are compared with the reading area (step S118), and the positional relationship between the reading area and the original image area in the read image is referred to determine whether the output image data has the same size as the reading area. The document image data is arranged at the position to be output image data (step S119). [Selection diagram]

Description

本発明は、原稿サイズが異なる原稿が混載された原稿束の画像を読み取る原稿束読み取り機能を有する画像読取装置、その制御方法及び制御方法をコンピュータに実行させるためのプログラムを格納する記憶媒体に関する。   The present invention relates to an image reading apparatus having an original bundle reading function for reading an image of an original bundle in which originals of different original sizes are mixed, a control method thereof, and a storage medium storing a program for causing a computer to execute the control method.

複写機等に適用される画像読取装置においては、いわゆる自動原稿搬送装置(ADF)により、原稿トレイに載置された原稿を1枚ずつ給紙し、読取位置で、原稿画像を光学的に読み取って出力画像データに変換するスキャン動作が行われている。   In an image reading apparatus applied to a copying machine or the like, a so-called automatic document feeder (ADF) feeds documents placed on a document tray one by one and optically reads a document image at a reading position. Thus, a scanning operation for converting into output image data is performed.

原稿トレイに載置された原稿束のサイズは、トレイ上に配置された原稿の搬送方向長さを検知するためのセンサの検出結果と、原稿の幅方向を規制するガイド部材間の距離を検出するためのセンサの検出結果とに基づいて判断される。コピー動作の場合、通常、読み込み開始時に決定された原稿束サイズに従って、読み取り領域のサイズ及びコピー先の記録紙のサイズが決定される。   The size of the document stack placed on the document tray is detected from the detection result of the sensor for detecting the length of the document placed on the tray in the conveyance direction and the distance between the guide members that regulate the width direction of the document. It is judged based on the detection result of the sensor for doing. In the case of a copy operation, the size of the reading area and the size of the copy destination recording paper are usually determined according to the original bundle size determined at the start of reading.

ところで、原稿トレイに載置される原稿束の中に、サイズが異なる原稿が混載されることがある。かかる場合には、あらかじめユーザが操作部を介して、異なる原稿サイズが組み合わせられた原稿束の読み取りを行う設定として、サイズ混載モードが選択される。サイズ混載モードでの原稿読取方法としては、特許文献1に記載されているように、ラインセンサで読み取った各々の原稿画像からエッジ検知によって原稿サイズを読み取る技術が提案されている。そして、原稿サイズを読み取った後のコピー動作では、各原稿サイズに対応したサイズが異なる記録紙を逐次選択し、各原稿画像をそれぞれ対応する記録紙上に形成することによって画像形成が行われる。   By the way, documents of different sizes may be mixedly loaded in a document bundle placed on the document tray. In such a case, the size mixed loading mode is selected as a setting in which the user reads in advance a document bundle in which different document sizes are combined via the operation unit. As a document reading method in the size mixed loading mode, as described in Patent Document 1, a technique for reading a document size by edge detection from each document image read by a line sensor has been proposed. Then, in the copy operation after reading the document size, image formation is performed by sequentially selecting recording sheets having different sizes corresponding to the respective document sizes and forming each document image on the corresponding recording sheet.

しかし、サイズが異なる原稿が混載された原稿束に対して、サイズ混載モードの指定をせずにコピー動作を開始すると、原稿束の1枚目の時点で決定された原稿サイズに基づいて読み取り領域と記録紙サイズが決定される。そして、2枚目以降は原稿サイズに拘らず、全て同じサイズの読み取り領域で読み取った画像が同じサイズの記録紙上に画像形成されることになる。このとき、原稿束の幅及び長さは、原稿束を構成する原稿の中で幅及び長さがそれぞれ最も大きい原稿と同じ幅及び長さとなる。このため、原稿のサイズが原稿束のサイズよりも小さい場合は、原稿サイズよりも大きいサイズの読み取り領域で読み取られた原稿画像が原稿サイズよりも大きい出力画像データ内に配置されることになる。   However, if the copy operation is started without specifying the mixed size mode for a document bundle in which documents of different sizes are mixedly loaded, the reading area is determined based on the document size determined at the time of the first sheet of the document bundle. The recording paper size is determined. For the second and subsequent sheets, regardless of the document size, all the images read in the same size reading area are formed on the same size recording paper. At this time, the width and length of the original bundle are the same width and length as the original having the largest width and length among the originals constituting the original bundle. For this reason, when the size of the original is smaller than the size of the original bundle, the original image read in the reading area having a size larger than the original size is arranged in the output image data larger than the original size.

特開2016−197773号公報JP 2006-197773 A

上述したように、サイズが異なる原稿が混載された原稿束の画像を連続して読み取る際、ユーザがサイズ混載モードであることを指定しないでコピー動作を開始すると、原稿サイズよりも大きな読み取り領域で原稿画像が読み取られることがある。かかる場合、例えば、A3横サイズ(縦297mm×横420mm)の読み取り領域で、A4横サイズ(縦210mm×横297mm)の原稿画像を読み取った場合、A3サイズの出力画像データ上のどの位置に原稿画像を配置するかが問題となる。なお、上述したように、画像読取装置では、一般に、読み取り領域と同じ大きさの出力画像データが形成される。   As described above, when continuously reading an image of a bundle of originals in which originals of different sizes are mixedly loaded, if the user starts a copy operation without specifying the mixed size mode, the reading area larger than the original size is read. An original image may be read. In such a case, for example, when an A4 horizontal size (210 mm long × 297 mm wide) original image is read in an A3 horizontal size (vertical 297 mm × width 420 mm) reading area, the original is located at any position on the output image data of A3 size. The problem is whether to place images. As described above, the image reading apparatus generally forms output image data having the same size as the reading area.

図19は、読み取り領域と同じ大きさの出力画像データ内に、読み取り領域よりも小さいサイズの読み取り画像(原稿画像領域)を配置する際の配置例を示す図である。出力画像データの大きさはA3横サイズ、原稿画像領域の大きさは、A4横サイズである。   FIG. 19 is a diagram illustrating an arrangement example when a read image (original image area) having a size smaller than the read area is arranged in the output image data having the same size as the read area. The size of the output image data is A3 horizontal size, and the size of the document image area is A4 horizontal size.

図19において、(A)は、左上突き当て配置、(B)は、左下突き当て配置、(C)は、左突き当て中央配置、(D)は、中央配置を示す。   In FIG. 19, (A) is an upper left butting arrangement, (B) is a lower left butting arrangement, (C) is a left butting center arrangement, and (D) is a center arrangement.

ところで、出力画像データに対して原稿画像領域の配置位置を装置側で一律に、図19(D)のように中央配置に固定にすると、最終的に出力された記録紙においてメモ書き領域となる余白部分が少なくなるなど、ユーザの意図しない結果を招くこともある。また、原稿トレイ上に配置した原稿位置に応じて原稿画像領域の配置位置を決定すると、ユーザが意図しない範囲で、原稿束中の原稿の現実の配置位置がずれるか又は搬送中に原稿の位置がずれた場合、出力画像データでもずれてしまうという問題がある。   By the way, if the arrangement position of the document image area is fixed uniformly on the apparatus side with respect to the output image data, as shown in FIG. 19D, it becomes a memo writing area in the finally output recording paper. In some cases, the margin is reduced, and the result is not intended by the user. Further, when the position of the document image area is determined in accordance with the position of the document placed on the document tray, the actual placement position of the documents in the document bundle may be shifted or the position of the document during conveyance within a range not intended by the user. When there is a shift, there is a problem that the output image data is also shifted.

このように、原稿束に、読み取り領域よりも小さいサイズの原稿を混載させる際、ユーザが小さいサイズの原稿を原稿トレイ上の適正位置に配置することは困難である。特に、小さいサイズの原稿を読み取り領域の中央になるように原稿トレイ上に配置しても、ガイド部材でガイドさせることができないので、搬送中にずれてしまってユーザの意図する結果が得られないことがある。   As described above, when a document having a size smaller than the reading area is mixedly loaded on the document bundle, it is difficult for the user to place the document having a small size at an appropriate position on the document tray. In particular, even if a small-size document is placed on the document tray so as to be in the center of the reading area, it cannot be guided by the guide member, so that the result intended by the user cannot be obtained because it is displaced during conveyance. Sometimes.

本発明は、サイズ混載モードであることを指定しないで読取動作を開始した場合でも、読み取り領域より小さい原稿画像領域を適正位置に配置した出力画像データを生成できる画像読取装置、その制御方法及び記憶媒体を提供することを目的とする。   The present invention provides an image reading apparatus capable of generating output image data in which an original image area smaller than the reading area is arranged at an appropriate position even when the reading operation is started without designating the mixed size mode, its control method, and storage The purpose is to provide a medium.

上記目的を達成するために、請求項1記載の画像読取装置は、原稿を載置する原稿トレイと、前記原稿トレイ上に配置された用紙センサと、前記原稿トレイに載置された原稿を読取位置まで搬送する搬送手段と、前記読取位置で前記原稿を読み取って読み取り画像から読み取り領域の大きさで出力される画像データを生成する読取手段と、前記用紙センサの検知結果に基づいて決定される前記読み取り領域の大きさと、前記読取手段で読み取った読み取り画像とに基づいて前記読み取り領域における原稿画像領域の配置位置を決定する決定手段と、前記読取手段を制御して、前記画像データを生成する際、前記画像データにおける前記決定手段によって決定された配置位置に前記読取手段で読み取った原稿画像データを配置する制御手段と、を備えることを特徴とする。   In order to achieve the above object, an image reading apparatus according to claim 1 reads a document tray on which a document is placed, a paper sensor disposed on the document tray, and a document placed on the document tray. The position is determined based on a detection result of the sheet sensor, a conveying unit that conveys the image to a position, a reading unit that reads the original at the reading position and generates image data output from the read image in the size of the reading area, and A determination unit that determines an arrangement position of a document image region in the reading region based on a size of the reading region and a read image read by the reading unit, and the reading unit is controlled to generate the image data. A control unit that arranges the document image data read by the reading unit at the arrangement position determined by the determining unit in the image data; Characterized in that it comprises.

本発明によれば、サイズ混載モードを指定しないで読み取り領域よりも小さい原稿画像を読み取った読み取り画像における原稿画像領域の位置に応じて出力画像データ内の所定位置に原稿画像データを配置する。これによって、ユーザの意向に沿った適正位置に原稿画像領域を配置した出力画像データを生成することができるので、画像読取装置の利便性が向上する。   According to the present invention, the document image data is arranged at a predetermined position in the output image data according to the position of the document image area in the read image obtained by reading the document image smaller than the reading area without specifying the size mixed mode. Accordingly, output image data in which the document image area is arranged at an appropriate position in accordance with the user's intention can be generated, so that the convenience of the image reading apparatus is improved.

実施の形態に係る画像読取装置の概略構成を示す断面図である。1 is a cross-sectional view illustrating a schematic configuration of an image reading apparatus according to an embodiment. 図1の画像読取装置の制御構成を示すブロック図である。FIG. 2 is a block diagram illustrating a control configuration of the image reading apparatus in FIG. 1. リーダによる斜行検知を説明するための読取画像を示す図である。It is a figure which shows the read image for demonstrating the skew detection by a reader. 原稿読み取り開始時の原稿の姿勢を説明するための図である。FIG. 6 is a diagram for explaining a posture of a document at the time of starting document reading. 原稿の斜行補正を説明するための図である。It is a figure for demonstrating the skew correction of a document. 読み取り画像の端部位置と、回転補正後の画像の端部位置を示す図である。It is a figure which shows the edge part position of the read image, and the edge part position of the image after rotation correction | amendment. 原稿画像領域と白色画像データとからなる出力画像データを示す図である。It is a figure which shows the output image data which consists of a document image area | region and white image data. 読み取り領域に比べて原稿領域が小さい場合における出力画像データ内の原稿画像領域の配置位置の決定方法を説明するための図である。FIG. 10 is a diagram for explaining a method for determining an arrangement position of an original image area in output image data when an original area is smaller than a reading area. 読み取り領域に比べて原稿領域が小さい場合における出力画像データ内の原稿画像領域の配置位置の決定方法を説明するための図である。FIG. 10 is a diagram for explaining a method for determining an arrangement position of an original image area in output image data when an original area is smaller than a reading area. 読み取り領域に比べて原稿領域が小さい場合における出力画像データ内の原稿画像領域の配置位置の決定方法を説明するための図である。FIG. 10 is a diagram for explaining a method for determining an arrangement position of an original image area in output image data when an original area is smaller than a reading area. 図1の画像読取装置で実行される第1の画像読取処理の手順を示すフローチャートである。3 is a flowchart showing a procedure of first image reading processing executed by the image reading apparatus in FIG. 1. 原稿束のサイズ(読み取り領域のサイズ)を決定する方法を説明するための図である。FIG. 6 is a diagram for explaining a method of determining a size of a document bundle (a size of a reading area). 読み取り領域における原稿画像領域の配置位置決定方法を説明するための図である。FIG. 6 is a diagram for explaining a method for determining a position of an original image area in a reading area. 読み取り領域における原稿画像領域の配置位置決定方法を説明するための図である。FIG. 6 is a diagram for explaining a method for determining a position of an original image area in a reading area. 読み取り領域における原稿画像領域の配置位置決定方法を説明するための図である。FIG. 6 is a diagram for explaining a method for determining a position of an original image area in a reading area. 操作部の表示画面に表示された原稿画像領域の配置位置設定画面を示す図である。FIG. 6 is a diagram showing a document image area arrangement position setting screen displayed on a display screen of an operation unit. 第2の画像読取処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a 2nd image reading process. 図17のステップS518、S519に代わる原稿画像領域の配置位置決定処理を示すフローチャートである。18 is a flowchart showing an arrangement position determination process for a document image area in place of steps S518 and S519 in FIG. 読み取り領域よりも小さいサイズの原稿画像領域を出力画像データ内に配置する際の配置例を示す図である。FIG. 6 is a diagram illustrating an arrangement example when an original image area having a size smaller than a reading area is arranged in output image data.

以下、実施の形態について図面を参照しつつ詳細に説明する。   Hereinafter, embodiments will be described in detail with reference to the drawings.

図1は、実施の形態に係る画像読取装置の概略構成を示す断面図である。   FIG. 1 is a cross-sectional view illustrating a schematic configuration of an image reading apparatus according to an embodiment.

図1において、画像読取装置500は、画像読取部(以下、「リーダ」という。)200と、リーダ200の上部に配置された自動原稿給紙装置(ADF)100と、図示省略したコントローラ400から主として構成されている。   In FIG. 1, an image reading apparatus 500 includes an image reading unit (hereinafter referred to as “reader”) 200, an automatic document feeder (ADF) 100 disposed on the reader 200, and a controller 400 (not shown). It is mainly composed.

ADF100は、原稿トレイ30、原稿トレイ30に設けられたトレイガイド31、原稿トレイ30に載置された原稿束Sの原稿sをピックアップする給紙ローラ1、搬送路としての湾曲した搬送パス20及び排紙トレイ10を備えている。原稿トレイ30は、原稿sからなる原稿束Sを載置し、トレイガイド31は、原稿sの2辺に当接してその斜行を抑制する。   The ADF 100 includes a document tray 30, a tray guide 31 provided on the document tray 30, a paper feed roller 1 for picking up a document s in a document bundle S placed on the document tray 30, a curved transport path 20 as a transport path, and A paper discharge tray 10 is provided. The document tray 30 places a document bundle S made up of documents s, and the tray guide 31 abuts against two sides of the document s to suppress skewing.

トレイガイド31には、当該トレイガイド31が原稿トレイ30の幅方向に動く時、トレイガイド31の位置を連続的に検出する図示省略したトレイガイド幅センサが設けられている。従って、原稿束Sとトレイガイド31の間に隙間が生じないようにトレイガイド31を移動させることによって、トレイガイド幅センサの出力値に基づいて原稿束Sの幅を検知することができる。   The tray guide 31 is provided with a tray guide width sensor (not shown) that continuously detects the position of the tray guide 31 when the tray guide 31 moves in the width direction of the document tray 30. Therefore, the width of the document bundle S can be detected based on the output value of the tray guide width sensor by moving the tray guide 31 so that there is no gap between the document bundle S and the tray guide 31.

また、原稿搬送方向(以下、「副走査方向」という。)における異なる位置に用紙センサとしての原稿サイズセンサ17、18が配置されている。原稿サイズセンサ17、18の検出結果に基づいて、原稿束Sの長さが検知される。なお、この原稿長さ検知は、原稿サイズセンサ17、18が原稿の有無を検知することによって、原稿の長さが所定の長さ以上か否かを判断するだけの離散的な検知である。トレイガイド幅センサと、原稿サイズセンサ17、18の組み合わせにより、例えば、A4用紙、LTR用紙など定型の原稿サイズが検出される。   Further, document size sensors 17 and 18 as sheet sensors are arranged at different positions in the document transport direction (hereinafter referred to as “sub-scanning direction”). Based on the detection results of the document size sensors 17 and 18, the length of the document bundle S is detected. This document length detection is a discrete detection only for determining whether or not the document length is equal to or longer than a predetermined length by the document size sensors 17 and 18 detecting the presence or absence of the document. By combining the tray guide width sensor and the document size sensors 17 and 18, a standard document size such as A4 paper or LTR paper is detected.

原稿トレイ30の副走査方向の先端部の上方には、給紙ローラ1が配置されている。給紙ローラ1は、原稿トレイ30に積載された原稿束Sの原稿面に落下して回転することによって、原稿束Sの最上面の原稿sの搬送を開始する。給紙ローラ1と対向する原稿トレイ30の下方には、原稿有無センサ11が配置されている。原稿有無センサ11は、原稿トレイ30上の原稿の有無を検知する。   A paper feed roller 1 is disposed above the leading end of the document tray 30 in the sub-scanning direction. The paper feed roller 1 starts to convey the uppermost document s of the document bundle S by dropping and rotating on the document surface of the document bundle S stacked on the document tray 30. A document presence / absence sensor 11 is disposed below the document tray 30 facing the sheet feed roller 1. The document presence / absence sensor 11 detects the presence / absence of a document on the document tray 30.

搬送パス20の入り口には、分離パッド21と分離ローラ2からなる分離部が設けられている。分離部は、給紙ローラ1によって分離部へ配送された原稿束Sの最上部から原稿sを1枚ずつ分離する。分離部の下流側には、原稿サイズセンサ12、13が設けられている。原稿サイズセンサ12、13が原稿の有無を検知する検知結果を用いて、分離部で分離された原稿について1枚ずつ原稿サイズが検知される。   A separation portion including a separation pad 21 and a separation roller 2 is provided at the entrance of the conveyance path 20. The separation unit separates the documents s one by one from the top of the document bundle S delivered to the separation unit by the paper feed roller 1. Document size sensors 12 and 13 are provided on the downstream side of the separation unit. Using the detection result that the document size sensors 12 and 13 detect the presence or absence of a document, the document size is detected for each document separated by the separation unit.

搬送パス20における原稿サイズセンサ12、13の下流側には、引抜ローラ3、搬送ローラ4、表面読取搬送ローラ5、表面読取上流ローラ51、及び表面読取下流ローラ52が順に配置されている。引抜ローラ3及び搬送ローラ4は、原稿の斜め搬送を修正する。表面読取上流ローラ51と表面読取下流ローラ52との間には、表面ガラス対向部材6が配置されている。表面読取下流ローラ52の更に下流側には、裏面読取搬送ローラ7、裏面読取上流ローラ53、裏面読取下流ローラ54、及び排紙ローラ9が設けられている。   On the downstream side of the document size sensors 12 and 13 in the conveyance path 20, a drawing roller 3, a conveyance roller 4, a front surface reading and conveying roller 5, a front surface reading upstream roller 51, and a front surface reading downstream roller 52 are sequentially arranged. The drawing roller 3 and the conveyance roller 4 correct the oblique conveyance of the document. A surface glass facing member 6 is disposed between the surface reading upstream roller 51 and the surface reading downstream roller 52. On the further downstream side of the front surface reading downstream roller 52, a back surface reading conveyance roller 7, a back surface reading upstream roller 53, a back surface reading downstream roller 54, and a paper discharge roller 9 are provided.

搬送パス20を介して裏面読取上流ローラ53及び裏面読取下流ローラ54と対向するように、表面読み取り部と同様の構成の裏面読み取り部が形成されている。表面読み取り部の構成については後述する。裏面読み取り部の構成は、後述する表面読み取り部の構成と同様である。従って、その具体的な説明は省略する。   A back side reading unit having the same configuration as the front side reading unit is formed so as to face the back side reading upstream roller 53 and the back side reading downstream roller 54 via the conveyance path 20. The configuration of the surface reading unit will be described later. The configuration of the back side reading unit is the same as the configuration of the front side reading unit described later. Therefore, the specific description is abbreviate | omitted.

ADF100の下方に配置されたリーダ200は、読取ガラス209と、表面読取用CCDセンサユニット210を備えている。読取ガラス209を挟んでADF100の表面ガラス対向部材6と対向する位置に、表面読取用CCDセンサユニット210が配置されている。表面ガラス対向部材6と表面読取用CCDセンサユニット210とで原稿の表面を読み取る表面読み取り部を形成している。表面読取用CCDセンサユニット210は、光源203a及び203bと、光源から出射され原稿面で反射した反射光をミラー204a、204b、204cを介して受光するCCDセンサ211を備えている。   The reader 200 disposed below the ADF 100 includes a reading glass 209 and a surface reading CCD sensor unit 210. A surface reading CCD sensor unit 210 is arranged at a position facing the surface glass facing member 6 of the ADF 100 with the reading glass 209 interposed therebetween. The front glass facing member 6 and the front surface reading CCD sensor unit 210 form a front surface reading portion for reading the surface of the original. The front surface reading CCD sensor unit 210 includes light sources 203a and 203b, and a CCD sensor 211 that receives the reflected light emitted from the light sources and reflected by the document surface via mirrors 204a, 204b, and 204c.

読取ガラス209には、表面シェーディング白板202が組み込まれている。また、裏面読取用CCDセンサユニット110の裏面流し読みガラス101に隣接するように、裏面シェーディング白板102が配置されている。   A surface shading white plate 202 is incorporated in the reading glass 209. Further, a back-shaded white plate 102 is disposed so as to be adjacent to the back-side flow reading glass 101 of the back-side reading CCD sensor unit 110.

表面シェーディング白板202及び裏面シェーディング白板102は、シェーディングによる白レベルの基準データを作成するための白板である。原稿の読み取り前に表面シェーディング白板202及び裏面シェーディング白板102を表面読取用CCDセンサユニット210及び裏面読取用CCDセンサユニット110でそれぞれ読み取り、画像処理することによって表裏それぞれの基準データが作成される。作成した基準データを用いてシェーディング処理が実施される。   The front shading white plate 202 and the back shading white plate 102 are white plates for creating white level reference data by shading. Before reading the original, the front shading white plate 202 and the back shading white plate 102 are read by the front surface reading CCD sensor unit 210 and the back surface reading CCD sensor unit 110, respectively, and image processing is performed to create reference data for each of the front and back surfaces. Shading processing is performed using the created reference data.

裏面シェーディング白板102は、図1では図示省略されたガラスモータによって移動可能に構成された裏面流し読みガラス101に貼り付けられている。従って、裏面読取用CCDセンサユニット110の対向面に裏面シェーディング白板102が位置するように裏面流し読みガラス101を移動させることで、裏面シェーディング白板102が読み取り可能になる。   The backside shading white plate 102 is affixed to a backside reading glass 101 configured to be movable by a glass motor not shown in FIG. Therefore, the backside shading white plate 102 can be read by moving the backside flow reading glass 101 so that the backside shading white plate 102 is positioned on the opposite surface of the back side reading CCD sensor unit 110.

図2は、図1の画像読取装置500の制御構成を示すブロック図である。   FIG. 2 is a block diagram showing a control configuration of the image reading apparatus 500 of FIG.

図2には、ADF100の制御ブロック図、リーダ200の制御ブロック図、及びコントローラ400の制御ブロック図が示されている。   FIG. 2 shows a control block diagram of the ADF 100, a control block diagram of the reader 200, and a control block diagram of the controller 400.

ADF100の制御ブロック図において、ADF100は、CCDセンサ111及びCCD制御部112を内蔵する裏面読取用CCDセンサユニット110を備えている。また、ADF100は、原稿有無センサ11、搬送系センサ120、搬送系モータ121、ガラスモータ122及びサイズ用センサ130を備えている。   In the control block diagram of the ADF 100, the ADF 100 includes a CCD sensor unit 110 for back side reading that includes a CCD sensor 111 and a CCD control unit 112. The ADF 100 includes a document presence / absence sensor 11, a transport system sensor 120, a transport system motor 121, a glass motor 122, and a size sensor 130.

裏面読取用CCDセンサユニット110、原稿有無センサ11、搬送系センサ120、搬送系モータ121、ガラスモータ122及びサイズ用センサ130は、バスラインを介してリーダ200のCPU321に接続されている。ADF100は、CPUを備えていないことから、リーダ200のCPU321がADF100とリーダ200を一体として制御する。   The back surface reading CCD sensor unit 110, the document presence / absence sensor 11, the transport system sensor 120, the transport system motor 121, the glass motor 122, and the size sensor 130 are connected to the CPU 321 of the reader 200 via a bus line. Since the ADF 100 does not include a CPU, the CPU 321 of the reader 200 controls the ADF 100 and the reader 200 as a unit.

搬送系モータ121は、給紙ローラ1、分離ローラ2、引抜ローラ3、搬送ローラ4、表面読取搬送ローラ5、表面読取上流ローラ51、表面読取下流ローラ52を駆動する。また、搬送系モータ121は、裏面読取搬送ローラ7、裏面読取上流ローラ53、裏面読取下流ローラ54、及び排紙ローラ9を駆動する。   The conveyance system motor 121 drives the paper feed roller 1, the separation roller 2, the drawing roller 3, the conveyance roller 4, the surface reading conveyance roller 5, the surface reading upstream roller 51, and the surface reading downstream roller 52. Further, the conveyance system motor 121 drives the back surface reading and conveying roller 7, the back surface reading upstream roller 53, the back surface reading downstream roller 54, and the paper discharge roller 9.

ADF100の出力ポートには、搬送用ローラを駆動する搬送系モータ121、裏面流し読みガラス101を移動させるガラスモータ122が接続されている。一方、ADF100の入力ポートには、原稿有無センサ11、原稿を搬送する為のタイミング生成に用いる搬送系センサ120、原稿トレイ30において原稿の大きさを取得するサイズ用センサ130が接続されている。搬送系センサ120として、例えば、センサ12、13、14、15、16が挙げられる。また、サイズ用センサ130として、例えば、センサ17、18、及び図示省略したトレイガイド幅センサが挙げられる。   The output port of the ADF 100 is connected to a conveyance system motor 121 that drives a conveyance roller, and a glass motor 122 that moves the backside flow reading glass 101. On the other hand, an input port of the ADF 100 is connected to a document presence / absence sensor 11, a transport system sensor 120 used to generate timing for transporting a document, and a size sensor 130 for acquiring a document size in the document tray 30. Examples of the transport system sensor 120 include sensors 12, 13, 14, 15, and 16. Examples of the size sensor 130 include sensors 17 and 18 and a tray guide width sensor (not shown).

原稿の給紙、分離、搬送、表面の読み取り、裏面の読み取り、及び排紙処理は、搬送経路の各所に設けられたセンサ12〜16により原稿の有無または搬送経路上の位置を検知し、検知結果に応じて行われる。特に、リードセンサ15を用いて搬送中の原稿sの先端を検知し、リードセンサ15の原稿先端検知タイミングとリードセンサ15から表面流し読み位置までの距離に基づいて、表面流し読み位置での読み取り開始タイミングが制御される。また同様に、リードセンサ15の原稿先端検知タイミングとリードセンサ15から裏面流し読み位置までの距離に基づいて、裏面流し読み位置での読み取り開始タイミングが制御される。   Document feeding, separation, conveyance, front side reading, back side reading, and paper discharge processing are performed by detecting the presence or absence of a document or the position on the conveyance path by sensors 12 to 16 provided at various points in the conveyance path. Depending on the outcome. In particular, the leading edge of the document s being conveyed is detected using the lead sensor 15, and reading at the leading edge reading position is performed based on the leading edge detection timing of the leading sensor 15 and the distance from the leading sensor 15 to the leading edge reading position. The start timing is controlled. Similarly, the reading start timing at the backside scanning reading position is controlled based on the document leading edge detection timing of the lead sensor 15 and the distance from the lead sensor 15 to the backside scanning reading position.

なお、ADFからの原稿の給紙及び搬送動作において、原稿サイズセンサ12、13、レジセンサ14、リードセンサ15、排紙センサ16で所定の時間以上待機しても原稿有りのまま、もしくは原稿無しのままであった場合は、原稿のジャム発生と判断される。   In the document feeding and transporting operation from the ADF, even if the document size sensors 12 and 13, the registration sensor 14, the lead sensor 15, and the paper discharge sensor 16 wait for a predetermined time or longer, the document remains present or no document exists. If it remains, it is determined that the original jam has occurred.

リーダ200は、CPU321を備えている。CPU321は、バスラインを介してROM322、RAM323、紙間補正部324、光学系モータ部326、LAMP303、リーダセンサ327、バックアップ部330及び画像処理部325とそれぞれ接続されている。画像処理部325は、画像メモリ329及び表面読取用CCDセンサユニット210と接続されている。表面読取用CCDセンサユニット210は、CCDセンサ211及びCCD制御部212を内蔵している。   The reader 200 includes a CPU 321. The CPU 321 is connected to the ROM 322, the RAM 323, the paper gap correction unit 324, the optical system motor unit 326, the LAMP 303, the reader sensor 327, the backup unit 330, and the image processing unit 325 via bus lines. The image processing unit 325 is connected to the image memory 329 and the surface reading CCD sensor unit 210. The surface reading CCD sensor unit 210 includes a CCD sensor 211 and a CCD control unit 212.

CPU321は、上述したように、リーダ200だけでなくADF100をも制御する。すなわち、CPU321は、ROM322に格納された制御プログラムに従い、ADF100の出力ポート及び入力ポートを介して当該ADF100における原稿搬送を制御する。具体的に、CPU321は、搬送パス20上に設置されたセンサ11〜16をモニタし、負荷である搬送系モータ121、ガラスモータ122を駆動して用紙sを搬送する。また、CPU321は、リーダ200の光学系モータ部326を制御すると共に、画像処理部325を介して表面読取用CCDセンサユニット210を制御することによって原稿sの表面画像を読み取る。   As described above, the CPU 321 controls not only the reader 200 but also the ADF 100. That is, the CPU 321 controls document conveyance in the ADF 100 via the output port and input port of the ADF 100 according to the control program stored in the ROM 322. Specifically, the CPU 321 monitors the sensors 11 to 16 installed on the transport path 20 and drives the transport system motor 121 and the glass motor 122 which are loads to transport the paper s. The CPU 321 reads the surface image of the document s by controlling the optical system motor unit 326 of the reader 200 and controlling the surface reading CCD sensor unit 210 via the image processing unit 325.

このようにして、CPU321は、ADF100における原稿の搬送制御と、表面読取用CCDセンサユニット210及び裏面読取用CCDセンサユニット110での画像読み取り処理を同期させることによって、所望の原稿画像の読み取りを実現している。   In this manner, the CPU 321 realizes reading of a desired document image by synchronizing the document conveyance control in the ADF 100 and the image reading processing in the front surface reading CCD sensor unit 210 and the back surface reading CCD sensor unit 110. is doing.

バックアップ部330は、制御に使用する作業用データの一部や機体毎に設定された設定値等をバックアップする。光学系モータ部326は、光学系駆動モータを駆動させるためのドライバ回路である。リーダセンサ327には、リーダ200に対するADF100の開閉を検知する圧板開閉センサや、読取ガラス209に載置された原稿の長さを検知する為の圧板サイズセンサ等のセンサが含まれる。紙間補正部324は、紙間補正を行う。   The backup unit 330 backs up part of work data used for control, setting values set for each machine, and the like. The optical system motor unit 326 is a driver circuit for driving the optical system drive motor. The reader sensor 327 includes sensors such as a pressure plate opening / closing sensor that detects opening / closing of the ADF 100 with respect to the reader 200 and a pressure plate size sensor for detecting the length of a document placed on the reading glass 209. The paper gap correction unit 324 performs paper gap correction.

表面読取用CCDセンサユニット210は、ADF100の原稿トレイ30に積載された原稿の表面画像を読み取るだけではなく、読取ガラス209に載置された原稿画像も読み取ることができる。表面読取用CCDセンサユニット210上に結像された画像信号はデジタル画像データに変換される。変換された画像データは、読み取り画像データ通信線354を通して画像処理部325に転送される。画像処理部325は、画像データを用いて、シェーディング処理や画像データ上のスジ画像等のゴミ画像の検知及び補正、原稿の傾き量の検知及び補正等の各種画像処理を実施する。画像処理部325は、画像処理後の出力画像データを、順次、画像転送用クロック信号線を含むコントローラインターフェース画像通信線353を通してコントローラ400へ送信する。   The front surface reading CCD sensor unit 210 can read not only the surface image of the original document stacked on the original document tray 30 of the ADF 100 but also the original image placed on the reading glass 209. The image signal imaged on the surface reading CCD sensor unit 210 is converted into digital image data. The converted image data is transferred to the image processing unit 325 through the read image data communication line 354. The image processing unit 325 uses the image data to perform various image processing such as shading processing, detection and correction of dust images such as streak images on the image data, and detection and correction of document tilt amount. The image processing unit 325 sequentially transmits the output image data after the image processing to the controller 400 through the controller interface image communication line 353 including the image transfer clock signal line.

また、画像処理部325は、原稿画像データの先端の基準となる画先信号を、CPU321でタイミングを調整し、コントローラインターフェース制御通信線352を通してコントローラ400へ通知する。画像メモリ329は、画像処理部325が画像処理を実施する際の作業領域として機能する。   Further, the image processing unit 325 adjusts the timing of the image destination signal serving as the reference of the leading edge of the document image data by the CPU 321 and notifies the controller 400 through the controller interface control communication line 352. The image memory 329 functions as a work area when the image processing unit 325 performs image processing.

コントローラ400は、ADF100及びリーダ200を含む画像読取装置500全体を制御する制御装置であり、制御部401、回転変倍処理用制御回路402、補正回路403、画像メモリ404、及び操作部405を備えている。制御部401、回転変倍処理用制御回路402、補正回路403、画像メモリ404、及び操作部405は、それぞれリーダ200の画像処理部325と接続されており、制御部401は、リーダ200のCPU321とも接続されている。   The controller 400 is a control device that controls the entire image reading apparatus 500 including the ADF 100 and the reader 200, and includes a control unit 401, a rotation scaling process control circuit 402, a correction circuit 403, an image memory 404, and an operation unit 405. ing. The control unit 401, the rotation scaling processing control circuit 402, the correction circuit 403, the image memory 404, and the operation unit 405 are each connected to the image processing unit 325 of the reader 200, and the control unit 401 is the CPU 321 of the reader 200. Are also connected.

リーダ200の画像処理部325を経由してコントローラ400に送られてきた出力画像データは、回転変倍処理用制御回路402によって画像制御された後、補正回路403へ送信される。補正回路403は、画像信号に対して色味などの補正処理を行い、画像メモリ404に書き込む。このような処理が原稿画像領域の出力画像データに対して実施されて原稿の読み取り画像が生成される。操作部405は、ユーザからのシステム全体に対する画像読み取り動作指示や読み取られた画像の表示を行うものであり、制御部401と通信して所望の表示や入力を実現する。   The output image data sent to the controller 400 via the image processing unit 325 of the reader 200 is subjected to image control by the rotation scaling processing control circuit 402 and then sent to the correction circuit 403. The correction circuit 403 performs a color correction process on the image signal and writes the image signal in the image memory 404. Such processing is performed on the output image data in the document image area to generate a read image of the document. The operation unit 405 is for displaying an image reading operation instruction for the entire system from the user and displaying the read image, and communicates with the control unit 401 to realize a desired display and input.

次に、このような構成の画像読取装置500の動作について、先ず、ADF100を使用した片面原稿読み取り動作(片面流し読み)について説明する。   Next, regarding the operation of the image reading apparatus 500 having such a configuration, first, a single-sided document reading operation (single-sided scanning) using the ADF 100 will be described.

原稿トレイ30に載置された原稿束Sの原稿sは、給紙ローラ1によって給紙され、分離ローラ2と分離パッド21の作用によって1枚毎に分離される。分離された原稿sは、引抜ローラ3によって搬送ローラ4まで搬送される。   The documents s of the document bundle S placed on the document tray 30 are fed by the feed roller 1 and separated one by one by the action of the separation roller 2 and the separation pad 21. The separated document s is conveyed to the conveying roller 4 by the drawing roller 3.

搬送ローラ4まで搬送された原稿sは、表面読取搬送ローラ5及び表面読取上流ローラ51、表面読取下流ローラ52によって表面流し読み位置に搬送される。表面流し読みガラス201と表面ガラス対向部材6の間の表面流し読み位置を通過する原稿sに対し、光源203a、203bから光が照射され、原稿面で反射した反射光は反射ミラー204a〜204cを経てCCDセンサ211に導かれて結像する。CCDセンサ211に結像した光信号は、該CCDセンサ211によって電気信号に変換された後、画像処理される。このようにして、原稿sの表面画像が1ラインずつ読み取られる。   The document s transported to the transport roller 4 is transported to the surface flow reading position by the front surface reading transport roller 5, the front surface reading upstream roller 51, and the front surface reading downstream roller 52. Light radiated from the light sources 203a and 203b to the document s passing through the surface flow reading position between the surface flow reading glass 201 and the surface glass facing member 6, and the reflected light reflected from the document surface passes through the reflection mirrors 204a to 204c. Then, it is guided to the CCD sensor 211 to form an image. The optical signal imaged on the CCD sensor 211 is converted into an electrical signal by the CCD sensor 211 and then subjected to image processing. In this way, the surface image of the document s is read line by line.

表面画像が読み取られ、表面読取下流ローラ52によって搬送された原稿sは、裏面読取搬送ローラ7及び裏面読取上流ローラ53、裏面読取下流ローラ54によって更に搬送された後、排紙ローラ9によって排紙トレイ10に排紙される。原稿sが原稿トレイ30上に複数枚有る場合には、最終原稿の表面読み取り及び排紙トレイ10への排紙が終了するまで、上述の処理が繰り返得される。   The document s whose surface image is read and conveyed by the front surface reading downstream roller 52 is further conveyed by the back surface reading and conveying roller 7, the back surface reading upstream roller 53 and the back surface reading downstream roller 54, and then discharged by the paper discharge roller 9. The paper is discharged to the tray 10. When there are a plurality of documents s on the document tray 30, the above-described processing is repeatedly obtained until the surface reading of the final document and the discharge to the discharge tray 10 are completed.

次に、ADF100を使用した両面原稿読み取り動作(両面流し読み)について説明する。   Next, a double-sided document reading operation (double-sided scanning reading) using the ADF 100 will be described.

両面流し読みは、片面流し読みにおける原稿表面の読み取り後に、原稿裏面の読み取りを行うものである。原稿sの給紙、分離、搬送、及び表面読み取りについては上述の片面読み取り時と同様であるので、その説明を省略する。   In the double-sided scanning, the back side of the original is read after reading the front side of the original in single-sided scanning reading. Since the feeding, separation, conveyance, and front side reading of the document s are the same as in the above-described single-sided reading, the description thereof is omitted.

表面画像が読み取られた後、表面読取下流ローラ52によって搬送された原稿sは、裏面読取搬送ローラ7、裏面読取上流ローラ53及び裏面読取下流ローラ54によって裏面流し読み位置まで搬送される。原稿sが裏面流し読み位置に達するより前に、移動可能に構成された裏面流し読みガラス101は、図1に示す位置に移動する。裏面流し読みガラス101と裏面ガラス対向部材8の間の裏面流し読み位置を通過する原稿sの裏面が裏面光源ランプ103a、103bで照射される。原稿sの裏面に照射され、反射した反射光は、複数の裏面折り返しミラー104a、104b、104cで屈曲されながら、裏面読取用のCCDセンサ111に結像し、これよって原稿の裏面画像が読み取られる。裏面の画像が読み取られ、裏面読取下流ローラ54によって搬送された原稿sは、排紙ローラ9によって排紙トレイ10に排紙される。   After the surface image is read, the document s conveyed by the front surface reading downstream roller 52 is conveyed to the back surface reading position by the back surface reading and conveying roller 7, the back surface reading upstream roller 53, and the back surface reading downstream roller 54. Before the original s reaches the backside scanning reading position, the backside scanning glass 101 configured to be movable moves to the position shown in FIG. The back surface of the original s passing through the back surface scanning reading position between the back surface scanning glass 101 and the back glass facing member 8 is irradiated with back surface light source lamps 103a and 103b. The reflected light irradiated and reflected on the back surface of the document s is imaged on the back surface reading CCD sensor 111 while being bent by the plurality of back surface folding mirrors 104a, 104b, and 104c, thereby reading the back image of the document. . The document s whose image on the back side is read and conveyed by the back side reading downstream roller 54 is discharged onto the discharge tray 10 by the discharge roller 9.

原稿sが原稿トレイ30上に複数枚有る場合には、最終原稿の表面読み取り、裏面読み取り、及び排紙トレイ10への排紙が終了するまで、上述の処理が繰り返えされる。   When there are a plurality of documents s on the document tray 30, the above-described processing is repeated until the front side reading, the back side reading of the final document, and the paper discharge to the paper discharge tray 10 are completed.

次に、画像読取装置500で実行される斜行検知及び斜行補正制御について説明する。   Next, skew detection and skew correction control executed by the image reading apparatus 500 will be described.

搬送パス20を経て搬送される原稿sは、当該原稿sの先端がリードセンサ15によって検知されたことを基準として原稿画像の読み取りが開始される。従って、原稿が表面流し読みガラス201上の表面流し読み位置へ到達するよりも所定距離だけ前のタイミングから前倒しして画像の読み取りが開始される。これによって、ADF100としての斜行の許容範囲の上限まで原稿sが斜行しても読取画像が欠けないように、原稿の斜行による画像欠けが防止されている。   The document s conveyed through the conveyance path 20 starts to read the document image based on the detection of the leading edge of the document s by the lead sensor 15. Accordingly, image reading is started by moving forward from a timing a predetermined distance before the original reaches the surface flow reading position on the surface flow reading glass 201. As a result, image missing due to the skew of the document is prevented so that the read image is not chipped even when the document s skews up to the upper limit of the allowable skew of the ADF 100.

図3は、リーダ200による斜行検知を説明するための読取画像を示す図である。図3において、読み取られた画像には、原稿だけでなく、原稿の背景としての表面ガラス対向部材6を読み取った画像が含まれている。この画像に対し、画像処理部325にて原稿と表面ガラス対向部材6との境界が抽出される。具体的には原稿先端が表面ガラス対向部材6に到達した時、原稿先端はローラ等によって挟持されていないので、図4のように表面ガラス対向部材6との間に隙間がある。従って、表面読取用CCDセンサユニット210で読み取ると原稿と背景の境界部に細く影が現れる。画像処理部325では、この影に着目し、影が矩形になるように連続する位置を抽出することで原稿の四隅を決定して、読み取り画像中の原稿の位置と幅と斜行角度を検出している。   FIG. 3 is a diagram illustrating a read image for explaining skew detection by the reader 200. In FIG. 3, the read image includes not only the original but also an image obtained by reading the front glass facing member 6 as the background of the original. For this image, the image processing unit 325 extracts the boundary between the document and the front glass facing member 6. Specifically, when the leading edge of the document reaches the front glass facing member 6, there is a gap between the front glass facing member 6 as shown in FIG. Accordingly, when the surface reading CCD sensor unit 210 reads the image, a thin shadow appears at the boundary between the document and the background. The image processing unit 325 pays attention to this shadow, extracts four consecutive positions so that the shadow is rectangular, determines the four corners of the document, and detects the position, width, and skew angle of the document in the read image. is doing.

表面読取用CCDセンサユニット210によって読み取られた画像は、斜行した画像のままで読取用画像メモリ329に格納され、コントローラ400に送信される際に、画像処理部325にて原稿部分だけ抜き出されて出力画像データ上で斜行が補正される。   The image read by the surface reading CCD sensor unit 210 is stored in the reading image memory 329 as a skewed image as it is, and when it is transmitted to the controller 400, only the document portion is extracted by the image processing unit 325. Thus, the skew is corrected on the output image data.

この斜行補正方法について、図5を用いて説明する。図5は、原稿の斜行補正を説明するための図である。   This skew correction method will be described with reference to FIG. FIG. 5 is a diagram for explaining skew correction of a document.

上述の斜行検知によって、原稿の幅と斜行角度が検出できるので、原稿の出力画像データをコントローラ400に送信する時、図5に示したように、各画素データの送信順を調整することによって斜行補正が行われる。   Since the document width and skew angle can be detected by the skew detection described above, when transmitting the output image data of the document to the controller 400, as shown in FIG. The skew correction is performed by.

図5(A)は、読み取った画像そのままであり、1つの四角の領域が1画素分に相当する。この画像中の原稿の端部(太い破線)の影を検出した結果、画素単位での原稿の端部は斜線の領域の内側になる。原稿の4隅である原稿先端と原稿左端との交点、原稿先端と原稿右端との交点、原稿後端と原稿左端との交点、原稿後端と原稿右端との交点に囲われた矩形の領域が、原稿の有効な領域にある画像として扱われる。   FIG. 5A shows the read image as it is, and one square area corresponds to one pixel. As a result of detecting the shadow of the edge of the document (thick broken line) in this image, the edge of the document in pixel units is inside the shaded area. A rectangular area surrounded by the four corners of the document, the intersection of the document leading edge and the document left edge, the intersection of the document leading edge and the document right edge, the intersection of the document trailing edge and the document left edge, and the intersection of the document trailing edge and the document right edge. Is treated as an image in an effective area of the document.

原稿先端と原稿左端との交点と、原稿先端と原稿右端との交点を結ぶ線が、原稿先端に相当する。従って、コントローラ400に出力画像データを送る際には、1ページの先頭を示す副走査基準信号であるVsync信号を送信して、さらに主走査方向の先頭を示す信号であるHsync信号を送信する。その後、原稿左端側から1ライン分の画素データを順番に1画素ずつ送信する。そして、先頭の1ライン分の画像の転送が完了したら、再びHsync信号を送信した後、次の1ライン分の画像が転送される。   A line connecting the intersection between the document leading edge and the document left edge and the intersection between the document leading edge and the document right edge corresponds to the document leading edge. Therefore, when output image data is sent to the controller 400, a Vsync signal that is a sub-scanning reference signal indicating the head of one page is transmitted, and an Hsync signal that is a signal indicating the head in the main scanning direction is further transmitted. Thereafter, the pixel data for one line is sequentially transmitted pixel by pixel from the left end side of the document. When the transfer of the image for the first line is completed, the Hsync signal is transmitted again, and then the image for the next line is transferred.

図5(A)中の1−1、1−2、1−3、・・・のそれぞれ領域がコントローラ400に転送される1画素分であり、m−n(m、nは整数)の領域は先頭からm番目のラインの左端からn番目の画素であることを示す。なお、図5(A)において、1−1の画素を送った後、1−1の画素の右隣は影もしくは既に転送済みであることから、次に、1−1の画素の右隣の真下にある画素を1−2の画素としてコントローラ400に転送する。1−2の画素の次は、右隣の画素が影でもなく、既に転送済みでもないことから、そのまま1−3の画素が送られる。   In FIG. 5A, each of the areas 1-1, 1-2, 1-3,... Corresponds to one pixel transferred to the controller 400, and mn (m and n are integers). Indicates the nth pixel from the left end of the mth line from the top. In FIG. 5A, after sending the pixel 1-1, the right side of the pixel 1-1 is a shadow or has already been transferred. The pixel immediately below is transferred to the controller 400 as a pixel 1-2. Next to the pixel 1-2, since the pixel on the right is neither a shadow nor already transferred, the pixel 1-3 is sent as it is.

コントローラ400では、送られてきた画素をそのままラインごとに順次並べることによって、図5(B)に示したように斜行前の原稿画像を再現することができる。このように、読取用画像メモリ329に格納された画像データの複数画素をコントローラ400へ送信する際の順番を制御することによって、斜行補正後の画像データを得ることができる。   The controller 400 can reproduce the document image before skew as shown in FIG. 5B by sequentially arranging the sent pixels for each line. In this manner, by controlling the order in which a plurality of pixels of image data stored in the reading image memory 329 are transmitted to the controller 400, image data after skew correction can be obtained.

また、読み取り画像において、原稿画像の回転を補正した後の原稿先端位置と、回転を補正する前の主走査方向における原稿の先端と左端との交点、及び原稿の先端と右端との交点の位置から原稿読み取り時の原稿位置を求めることができる。   In the read image, the position of the document leading edge after correcting the rotation of the document image, the intersection of the leading edge and the left edge of the document in the main scanning direction before correcting the rotation, and the position of the intersection of the leading edge and the right edge of the document Thus, the position of the original when reading the original can be obtained.

図6は、読み取り画像の端部位置と、回転補正後の画像の端部位置を示す図である。図6のように、原稿の搬送方向が図中の上下方向である場合、搬送方向に直交する方向(以下、「主走査方向」という。)は、図中の左右方向となる。図6中、実線で囲まれた領域が回転補正後の原稿画像領域となる。また、図中の上側が原稿搬送方向の先端側になり、実際に読み取りを行った領域の端部からの距離が得られる。   FIG. 6 is a diagram illustrating the edge position of the read image and the edge position of the image after rotation correction. As shown in FIG. 6, when the document conveyance direction is the vertical direction in the drawing, the direction orthogonal to the conveyance direction (hereinafter referred to as “main scanning direction”) is the horizontal direction in the drawing. In FIG. 6, a region surrounded by a solid line is a document image region after rotation correction. In addition, the upper side in the drawing is the leading end side in the document transport direction, and the distance from the end of the area where the reading is actually performed can be obtained.

なお、回転補正後の原稿画像の端部と、読み取り画像における原稿画像領域の端部との距離を用いて読み取り時の原稿位置が求まる。また、表面読取用CCDセンサユニット210の読み取りは、主走査方向全幅で行うことによって、原稿が斜行しても主走査方向における読み取り画像が欠けないように広めに読み取りが行われる。   Note that the original position at the time of reading is obtained using the distance between the edge of the original image after rotation correction and the end of the original image area in the read image. Further, the reading by the front surface reading CCD sensor unit 210 is performed with the full width in the main scanning direction, so that even if the document is skewed, the reading is performed so that the read image in the main scanning direction is not lost.

次に、図1の画像読取装置500で実行される画像読取処理における出力画像データ内の原稿画像の領域の配置方法について説明する。   Next, a method for arranging the document image area in the output image data in the image reading process executed by the image reading apparatus 500 of FIG. 1 will be described.

通常、読み取りジョブにおいて、操作部から原稿の読み取りサイズを直接指定することができる。しかしながら、読み取りサイズを指定しなくても読み取りジョブの内容によっては原稿の読み取りサイズが1つに固定されることがある。   Usually, in the reading job, the reading size of the document can be directly designated from the operation unit. However, even if the reading size is not specified, the reading size of the document may be fixed to one depending on the contents of the reading job.

例えば、画像読取装置500において、操作部405から特別な設定をすることなく読み取りジョブを開始した場合、原稿トレイ30に載置された原稿束Sのサイズが読み取りサイズ、及び記録紙サイズとなる。原稿トレイ30に載置された原稿束Sのサイズは、原稿サイズセンサ17、18と、図示省略したトレイガイド幅センサとの組み合わせによって判断される。   For example, in the image reading apparatus 500, when a reading job is started without performing special settings from the operation unit 405, the size of the document bundle S placed on the document tray 30 becomes the reading size and the recording paper size. The size of the document bundle S placed on the document tray 30 is determined by a combination of document size sensors 17 and 18 and a tray guide width sensor (not shown).

画像読取装置500は、原稿画像を読み取って得られた読み取り画像から読み取り領域と同じ大きさの出力画像データを生成してコントローラ400に送信する。コントローラ400は、例えば、受信した出力画像データを、画像読取装置500を備えた複合機の画像形成部に送信して記録紙への画像形成を行う。   The image reading apparatus 500 generates output image data having the same size as the reading area from the read image obtained by reading the document image, and transmits the output image data to the controller 400. For example, the controller 400 transmits the received output image data to an image forming unit of a multifunction machine including the image reading device 500 to form an image on a recording sheet.

ところで、原稿束Sを構成する原稿sのサイズは全て同じでなく、ユーザが意図するかしないかに関わらず、異なるサイズの原稿が混入することがある。かかる場合、原稿束Sの中で最も大きいサイズの原稿sは、読み取り画像による斜行検知及び斜行補正制御の結果、読み取りサイズと同じになる可能性はある。しかしながら、原稿束Sの中で小さいサイズの原稿sの場合、読み取りサイズに比べて原稿画像領域となる原稿サイズの方が小さくなる。このため、例えば、A4横サイズの原稿をA3サイズの読み取り領域で読み取った場合、図7に示したような原稿画像領域(A4横サイズ)以外が白色領域とななっている、読み取り領域と同じ大きさの出力画像データ(A3サイズ)が形成される。   By the way, the sizes of the originals s constituting the original bundle S are not all the same, and different-size originals may be mixed regardless of whether the user intends or not. In such a case, the document s of the largest size in the document bundle S may be the same as the read size as a result of skew detection and skew correction control based on the read image. However, in the case of a document s of a small size in the document bundle S, the document size that becomes the document image area is smaller than the read size. For this reason, for example, when an A4-size original is read in an A3-size reading area, a white area other than the original image area (A4-size) as shown in FIG. 7 is the same as the reading area. Output image data having a size (A3 size) is formed.

図7には、A3の読み取りサイズと同じ大きさの読み取り領域内に、A4横サイズの原稿と同じ大きさの原稿画像領域を配置し、それ以外の領域を白色画像データとした出力画像データが示されている。図7において、出力画像データ内における原稿画像領域の配置位置は、読み取り領域となる原稿束Sの大きさと、読み取り対象の原稿画像の位置、トレイガイドの幅に基づいて決定される。   FIG. 7 shows output image data in which a document image area having the same size as the A4 landscape size document is arranged in the reading area having the same size as the reading size of A3, and the other area is white image data. It is shown. In FIG. 7, the arrangement position of the document image area in the output image data is determined based on the size of the document bundle S serving as the reading area, the position of the document image to be read, and the width of the tray guide.

図8〜図10は、読み取り領域に比べて原稿領域が小さい場合における出力画像データ内の原稿画像領域(原稿画像データ)の配置位置の決定方法を説明するための図である。   8 to 10 are diagrams for explaining a method for determining the arrangement position of the document image area (document image data) in the output image data when the document area is smaller than the reading area.

図8(A)は、原稿束における1枚目の原稿と、2枚目の原稿を示す図である。1枚目の原稿のサイズは小さく、2枚目の原稿のサイズは大きい。この組み合わせで2枚の原稿sからなる原稿束Sを原稿トレイ30に載置すると、大きな2枚目の原稿sの上に小さな1枚目の原稿sが載置された状態となる。原稿束Sの混載指定がなされておらず、原稿トレイ30上に載置した原稿束Sの大きさに従って原稿の読み取りサイズが決定される場合、1枚目の原稿の読み取りサイズは、2枚目の原稿の読み取りサイズと等しく、例えばA3サイズとなる。この場合、原稿の読み取りサイズは、原稿トレイ30に設けられた原稿サイズセンサ17,18及びトレイガイド幅センサの検出結果の組み合わせによって求められる原稿サイズと同じサイズになる。従って、1枚目の原稿の読み取りサイズは、結果として2枚目の原稿の読み取りサイズと等しくなる。   FIG. 8A is a diagram illustrating the first document and the second document in the document bundle. The size of the first document is small, and the size of the second document is large. When a document bundle S composed of two documents s is placed on the document tray 30 in this combination, a small first document s is placed on a large second document s. When the document stack S is not mixedly loaded and the reading size of the document is determined according to the size of the document bundle S placed on the document tray 30, the reading size of the first document is the second sheet. For example, it is A3 size. In this case, the document reading size is the same as the document size obtained by combining the detection results of the document size sensors 17 and 18 provided on the document tray 30 and the tray guide width sensor. Accordingly, the read size of the first original is equal to the read size of the second original.

画像読取装置500は、読み取り領域に比べて原稿サイズが小さい原稿を読み取る際の原稿の大きさ及び位置に従って、原稿から読み取った原稿画像領域を出力画像データのどの位置に配置するかを決定するための機能を備えている。   The image reading apparatus 500 determines in which position in the output image data the original image area read from the original is arranged according to the size and position of the original when the original having a smaller original size than the reading area is read. It has the function of.

以下、出力画像データにおける原稿画像領域の配置位置決定方法について説明する。   Hereinafter, a method for determining the arrangement position of the document image area in the output image data will be described.

(1)左詰め上方配置
図8(B)は、1枚目の原稿の奥側端を奥側トレイガイドに突き当てるように載置した原稿トレイの平面図、及び対応する出力画像データを示す図である。この状態で、原稿トレイ30上の原稿が表面読取用CCDセンサユニット210によって読み取られる読み取り位置まで大きな斜行なく搬送された場合、原稿画像領域の奥側が原稿トレイ30の奥側トレイガイドの位置にある読み取り画像(図8(C))が得られる。なお、奥側トレイガイドの位置は直接読み取ることはできないが、奥側及び手前側のトレイガイドは、それぞれ画像読み取りの中心位置から等距離で離れたり近づいたりするように構成されている。従って、奥側トレイガイドと手前側トレイガイドの間隔を図示省略したトレイガイド幅センサで求めることによって奥側トレイガイドの位置を判定することができる。
(1) Upper left alignment FIG. 8B shows a plan view of a document tray placed so that the back side end of the first document abuts the back side tray guide, and corresponding output image data. FIG. In this state, when the document on the document tray 30 is conveyed without a large skew to the reading position where it is read by the front surface reading CCD sensor unit 210, the back side of the document image area is positioned at the position of the back side tray guide of the document tray 30. A certain read image (FIG. 8C) is obtained. Although the position of the back side tray guide cannot be read directly, the back side and near side tray guides are configured to be spaced apart from or close to the image reading center position. Therefore, the position of the back side tray guide can be determined by obtaining the distance between the back side tray guide and the near side tray guide with a tray guide width sensor (not shown).

図8(C)は、図8(B)における原稿画像を読み取った読み取り画像を示す図である。図8(C)の画像データから、画像による斜行補正制御(図6)で説明したように、原稿を含む画像から原稿のサイズと原稿の主走査方向の位置が得られる(但し、図6は図8(B)に比べて原稿の搬送方向が90°ずれている)。すなわち、図8(C)の画像から、原稿の主走査方向の位置において、原稿の奥側が原稿トレイ30の奥側トレイガイド位置に一致していることが分かる。従って、1枚目の原稿sの原稿画像領域は、2枚目の原稿サイズから決まる読み取り領域と同じ大きさの出力画像データにおいて、図8(B)の右図のように、搬送方向の先端を合わせ、かつ奥側の位置を合わせた左詰め上方配置に配置される。   FIG. 8C is a diagram illustrating a read image obtained by reading the document image in FIG. From the image data in FIG. 8C, the size of the document and the position in the main scanning direction of the document can be obtained from the image including the document, as described in the skew correction control using the image (FIG. 6). In FIG. 8B, the conveyance direction of the document is shifted by 90 °). That is, it can be seen from the image of FIG. 8C that the back side of the document matches the back side tray guide position of the document tray 30 at the position of the document in the main scanning direction. Therefore, the document image area of the first document s is the leading edge in the transport direction as shown in the right diagram of FIG. 8B in the output image data having the same size as the reading area determined from the size of the second document. Are arranged in a left-justified upper position where the positions on the back side are matched.

なお、図8(C)では、原稿の先端が図の左側であり、画像の読み取り動作は、斜行補正の為に原稿先端よりも前から開始して後端よりも後まで継続される。図中の上下方向は読み取りの主走査方向であるが、この幅は、表面読取用CCDセンサユニット210の読み取り可能な最大幅となっている。   In FIG. 8C, the leading edge of the document is on the left side of the drawing, and the image reading operation starts before the leading edge of the document and continues after the trailing edge for skew correction. The vertical direction in the figure is the main scanning direction of reading, but this width is the maximum width that can be read by the CCD sensor unit 210 for surface reading.

(2)左詰め中央配置
図9の(A)は、1枚目の原稿の搬送方向先端を原稿トレイ30の原稿給紙部に突き当て、さらに原稿の幅方向の中心を原稿トレイ30における主走査方向の中心に合わせるように配置した際のADF100の平面図、及び対応する出力画像データを示す図である。
(2) Left-aligned central arrangement FIG. 9A shows the leading end of the first document in the conveying direction against the document feeding portion of the document tray 30, and the center in the width direction of the document is the main in the document tray 30. It is a figure which shows the top view of ADF100 at the time of arrange | positioning so that it may match | combine with the center of a scanning direction, and corresponding output image data.

この状態で、原稿トレイ30に載置した原稿sが表面読取用CCDセンサユニット210によって読み取られる読み取り位置まで大きな斜行なく搬送された場合、図9(A)の右図のような出力画像データが得られる。このとき、読み取り画像は、原稿画像領域の左端が、読み取り領域の左端に一致し、かつ原稿画像領域の幅方向の中心が読み取り領域の幅方向の中心と一致する画像となる。なお、読み取り画像から原稿画像領域を抽出する際、原稿搬送方向の先端部の奥側端及び手前側端の位置が分かるので、その中間位置が原稿画像領域の中央位置となる。   In this state, when the document s placed on the document tray 30 is conveyed without a large skew to the reading position read by the surface reading CCD sensor unit 210, output image data as shown in the right diagram of FIG. Is obtained. At this time, the read image is an image in which the left end of the document image area coincides with the left end of the read area, and the center in the width direction of the document image area coincides with the center in the width direction of the read area. Note that when extracting the document image area from the read image, the positions of the far side end and the near side end of the leading end in the document transport direction are known, and the intermediate position is the center position of the document image area.

(3)左詰め下方配置
図9(B)は、1枚目の原稿の搬送方向先端を原稿トレイ30の原稿給紙部に突き当て、さらに原稿の手前側端を原稿トレイ30の手前側のトレイガイドに突き当てるように配置した際のADF100の平面図、及び対応する出力画像データを示す図である。
(3) Lower left alignment FIG. 9B shows the leading end of the first document in the conveying direction against the document feeding portion of the document tray 30, and the front end of the document on the near side of the document tray 30. It is a figure which shows the top view of ADF100 at the time of arrange | positioning so that it may contact | abut on a tray guide, and corresponding output image data.

この状態で、原稿トレイ30に載置した原稿が表面読取用CCDセンサユニット210によって読み取られる読み取り位置まで大きな斜行なく搬送された場合、図9(B)の右図のような出力画像データが得られる。このとき、読み取り画像は、読み取り領域に相当する画像データに対し、原稿画像領域の先端を読み取り領域の先端に合わせ、かつ斜行補正後の原稿画像領域の主走査方向の手前側端を手前側トレイガイドに突き当てた画像となる。   In this state, when the document placed on the document tray 30 is conveyed without a large skew to the reading position read by the front surface reading CCD sensor unit 210, output image data as shown in the right diagram of FIG. can get. At this time, for the read image, the image data corresponding to the read area is aligned with the front end of the original image area aligned with the front end of the read area, and the front end in the main scanning direction of the original image area after skew correction is set to the front side. The image hits the tray guide.

以上、原稿トレイ30上の奥側及び手前側のトレイガイドの間に正確に原稿が載置された場合について説明した。   The case where the document is accurately placed between the back and front tray guides on the document tray 30 has been described above.

しかし、現実には、原稿束Sは異なるサイズの原稿sが混在していることから、小さいサイズの原稿sがトレイガイドの中央位置や突き当て位置からずれていることも多い。以下、小さいサイズの原稿sがトレイガイドの中央位置やトレイガイドへの突き当て位置からずれている場合の出力画像データ内の原稿画像領域の配置位置決定方法について説明する。   However, in reality, since the document bundle S includes the document s of different sizes, the document s of a small size often deviates from the center position or the abutting position of the tray guide. Hereinafter, a method for determining the arrangement position of the document image area in the output image data when the small-size document s is displaced from the center position of the tray guide or the abutting position on the tray guide will be described.

(4)準左詰め上方配置
図9(C)は、1枚目の原稿の搬送方向先端を原稿トレイ30の原稿給紙部に突き当て、原稿の奥側端を原稿トレイ30の奥側のトレイガイドの近傍で、かつトレイガイドに接触しないように配置した際のADF100の平面図及び出力画像データを示す図である。
(4) Semi-Left Justified Upper Arrangement FIG. 9C shows the leading end of the first document in the conveying direction against the document feeding section of the document tray 30 and the back end of the document on the back side of the document tray 30. It is a figure which shows the top view and output image data of ADF100 at the time of arrange | positioning in the vicinity of a tray guide so that it may not contact a tray guide.

図9(C)では、1枚目の原稿は、奥側のトレイガイドに突き当てられてないが、多数の原稿からなる原稿束において、上下が大きな原稿sで挟まれている小さい原稿sが、奥側トレイガイドに突き当てられていないことは少なくない。   In FIG. 9C, the first document is not abutted against the back tray guide, but in a document bundle composed of a large number of documents, a small document s sandwiched between large documents s at the top and bottom. Often, it is not abutted against the back tray guide.

図9(C)において、読み取り画像から抽出された原稿画像領域の位置と、奥側のトレイガイドとの間に隙間が存在する。この隙間が所定の閾値よりも小さい場合、画像読取装置500は、ユーザに、原稿の奥側端を奥側のトレイガイドに突き当てようとする意思があったものと判断する。そして、表面読取用CCDセンサユニット210は、図9(C)の右図のように、原稿画像領域の先端を読み取り領域の先端に合わせ、かつ原稿画像領域の奥側端を読み取り領域の奥側に一致させた出力画像データを生成してコントローラ400に送信する。   In FIG. 9C, there is a gap between the position of the document image area extracted from the read image and the back tray guide. If the gap is smaller than the predetermined threshold, the image reading apparatus 500 determines that the user has an intention to abut the back end of the document against the back tray guide. Then, as shown in the right diagram of FIG. 9C, the surface reading CCD sensor unit 210 aligns the leading edge of the document image area with the leading edge of the reading area, and the far side edge of the document image area is the far side of the reading area. The output image data matched with is generated and transmitted to the controller 400.

ここで、原稿画像領域と奥側のトレイガイドとの間の隙間における所定の閾値は、初期設定値として、例えば10mmに設定されるが、必要に応じてユーザが任意に閾値設定できるように構成されている。   Here, the predetermined threshold value in the gap between the document image area and the back side tray guide is set to, for example, 10 mm as an initial setting value, but is configured so that the user can arbitrarily set the threshold value as necessary. Has been.

(5)準左詰め中央配置
図10(A)は、1枚目の原稿の搬送方向先端を原稿トレイ30の原稿給紙部に突き当て、さらに原稿の幅方向の中心を原稿トレイ30における主走査方向の中心付近に配置した際のADF100の平面図、及び出力画像データを示す図である。
(5) Semi-Left Justified Center Arrangement FIG. 10A shows the leading edge of the first document in the conveying direction against the document feeding section of the document tray 30, and the center in the width direction of the document is the main in the document tray 30. It is a figure which shows the top view of ADF100 at the time of arrange | positioning near the center of a scanning direction, and output image data.

図10(A)では、1枚目の原稿の中心が原稿トレイ30における主走査方向の中心に合致している状態ではない。しかしながら、多数の原稿sからなる原稿束Sにおいて、上下が大きな原稿sで挟まれている小さい原稿sの中心が、原稿トレイ30の主走査方向の中心に合致していないことは少なくない。   In FIG. 10A, the center of the first document does not coincide with the center of the document tray 30 in the main scanning direction. However, in the document bundle S composed of a large number of documents s, the center of the small document s sandwiched between the large documents s on the upper and lower sides often does not coincide with the center of the document tray 30 in the main scanning direction.

図10(A)において、読み取り画像から抽出された原稿画像領域の主走査方向中心位置と、奥側及び手前側のトレイガイドの中間位置との距離が所定の閾値よりも小さい場合、ユーザに、原稿をトレイガイドの中間位置に配置する意志があったものと判断する。そして、表面読取用CCDセンサユニット210は、図10(A)の右図のように、原稿画像領域の先端を読み取り領域の先端に合わせ、かつ原稿画像領域の主走査方向中心を読み取り領域の主走査方向中心に合わせた出力画像データを生成する。   In FIG. 10A, when the distance between the center position in the main scanning direction of the document image area extracted from the read image and the intermediate position of the back side and near side tray guides is smaller than a predetermined threshold value, It is determined that there was an intention to place the document at an intermediate position of the tray guide. Then, as shown in the right diagram of FIG. 10A, the surface reading CCD sensor unit 210 aligns the leading edge of the document image area with the leading edge of the reading area, and the main scanning direction center of the document image area is the main scanning area. Output image data matching the center in the scanning direction is generated.

ここで、原稿画像領域の主走査方向中心と読み取り領域の主走査方向中心とのずれにおける所定の閾値は、初期設定値として、例えば10mmに設定されるが、ユーザが必要に応じて操作部から任意に閾値設定できるように構成されている。   Here, the predetermined threshold value for the deviation between the center of the document image area in the main scanning direction and the center of the reading area in the main scanning direction is set to, for example, 10 mm as an initial setting value. The threshold value can be arbitrarily set.

(6)準左詰め下方配置
図10(B)は、1枚目の原稿の搬送方向先端を原稿トレイ30の原稿給紙部に突き当て、原稿の手前端を原稿トレイ30の手前側トレイガイドの近傍で、トレイガイドに接触しないように配置した際のADF100の平面図、及び出力画像データを示す図である。
(6) Near-Left Justified Lower Arrangement FIG. 10B shows the leading edge of the first document in the conveying direction of the document tray 30 and the front edge of the document on the near side tray guide of the document tray 30. FIG. 6 is a plan view of the ADF 100 and output image data when the ADF 100 is arranged so as not to contact the tray guide in the vicinity of FIG.

図10(B)では、1枚目の原稿が手前側のトレイガイドに突き当てられていない状態であるが、多数の原稿sからなる原稿束Sにおいて、上下が大きな原稿sで挟まれている小さい原稿sが、手前側のトレイガイドに突き当てられていないことは少なくない。   In FIG. 10B, the first document is not abutted against the tray guide on the front side, but in the document bundle S made up of a large number of documents s, the top and bottom are sandwiched between large documents s. In many cases, the small document s is not abutted against the near-side tray guide.

図10(B)において、読み取り画像から抽出された原稿画像領域の手前側端と手前側のトレイガイドの位置に隙間が存在する。この隙間が所定の閾値よりも小さい場合、画像読取装置500は、ユーザに、原稿の手前側を手前側のトレイガイドに突き当てようとした意思があったものと判断する。そして、表面読取用CCDセンサユニット210は、図10(B)の右図のように、原稿画像領域の先端を読み取り領域の先端に合わせ、かつ原稿画像領域の手前側端を読み取り領域の手前側に一致させた出力画像データを生成し、コントローラ400に送信する。   In FIG. 10B, there is a gap between the near-side edge of the document image area extracted from the read image and the position of the near-side tray guide. When the gap is smaller than the predetermined threshold, the image reading apparatus 500 determines that the user has an intention to abut the near side of the document on the near side tray guide. Then, as shown in the right diagram of FIG. 10B, the surface reading CCD sensor unit 210 aligns the leading edge of the document image area with the leading edge of the reading area, and the front side edge of the document image area is the front side of the reading area. The output image data matched with is generated and transmitted to the controller 400.

ここで、原稿画像領域と手前側のトレイガイドとの間の隙間における所定の閾値は、初期設定値として、例えば10mmが設定されるが、ユーザが必要に応じて操作部から任意に閾値設定できるように構成されている。   Here, the predetermined threshold value in the gap between the document image area and the near-side tray guide is set to, for example, 10 mm as an initial setting value, but the user can arbitrarily set the threshold value from the operation unit as necessary. It is configured as follows.

(7)原稿位置重視配置
図10(C)は、1枚目の原稿の搬送方向先端を原稿トレイ30の原稿給紙部に突き当て、原稿トレイの幅方向においては原稿を中央位置でなく、奥側トレイガイドに突き当てもしない場所に配置した際のADF100の平面図と出力画像データを示す図である。
(7) Arrangement with Emphasis on Document Position FIG. 10C shows that the leading edge of the first document in the conveying direction is abutted against the document feeding portion of the document tray 30, and the document is not centered in the width direction of the document tray. It is a figure which shows the top view and output image data of ADF100 at the time of arrange | positioning in the place which does not contact | abut a back side tray guide.

図10(C)において、1枚目の原稿は、図10(B)又は図9(C)で説明したように、ユーザが原稿を奥側又は手前側のトレイガイドに突き当てようとしたと判断する閾値よりも離れており、かつ、中央位置に合わせようとしたと判断する閾値よりも離れている。この場合、表面読取用CCDセンサユニット210は、図10(C)の右図のように、読み取り画像から抽出された原稿画像領域をその位置のまま読み取り領域上に配置した出力画像データを生成してコントローラ400に送信する。   In FIG. 10C, it is assumed that the user tries to abut the document on the back or near side tray guide as described in FIG. 10B or FIG. 9C. It is farther than the threshold value to be judged, and is farther than the threshold value that is judged to be adjusted to the center position. In this case, the surface reading CCD sensor unit 210 generates output image data in which the original image area extracted from the read image is arranged on the read area as it is as shown in the right figure of FIG. To the controller 400.

以上説明したように、画像読取装置500は、トレイガイドの位置と、読み取り画像における原稿画像領域の位置に基づいて、読み取り領域における原稿画像領域の位置を調整する。これによって、画像の位置ズレを適切に補正しつつ、ユーザが原稿トレイ上に配置しようとした原稿位置に応じた出力画像データを得ることができるので、ユーザが所望する画像読取処理を実行することができる。   As described above, the image reading apparatus 500 adjusts the position of the document image area in the reading area based on the position of the tray guide and the position of the document image area in the read image. This makes it possible to obtain output image data corresponding to the document position that the user has attempted to place on the document tray while appropriately correcting the image misalignment, so that the image reading process desired by the user can be executed. Can do.

次に、図1の画像読取装置500を用いた具体的な画像読取処理について説明する。この画像読取処理は、原稿トレイ30に異なるサイズの原稿sが混載されているにも関わらず、原稿サイズの混載を指定することなく読取ジョブが開始された場合であって、読み取り領域よりも小さい原稿の画像を読み取る読み取り処理である。従って、読み取り処理の開始時点における原稿サイズセンサ17、18とトレイガイド幅検知センサの検知結果から求まる原稿サイズが読み取り領域の大きさとなる。   Next, a specific image reading process using the image reading apparatus 500 of FIG. 1 will be described. This image reading process is a case where a reading job is started without specifying mixed-size originals even though different-size originals s are mixedly loaded on the original tray 30, and is smaller than the reading area. This is a reading process for reading an image of a document. Accordingly, the document size obtained from the detection results of the document size sensors 17 and 18 and the tray guide width detection sensor at the start of the reading process becomes the size of the reading area.

図11は、図1の画像読取装置500で実行される第1の画像読取処理の手順を示すフローチャートである。この画像読取処理は、リーダ200のCPU321がROM322に格納された第1の画像読取処理プログラムに従って実行する。   FIG. 11 is a flowchart showing the procedure of the first image reading process executed by the image reading apparatus 500 of FIG. This image reading process is executed by the CPU 321 of the reader 200 in accordance with a first image reading process program stored in the ROM 322.

図11において、この画像読取処理は、CPU321が、コントローラ400から給紙開始要求を受信することによって開始する。従って、CPU321は、先ず、コントローラ400から原稿トレイ30に載置された原稿束Sの給紙開始要求を受信したか否か判定し、給紙開始要求を受信するまで待機する(ステップS101)。給紙開始要求を受信した後(ステップS101で「YES」)、CPU321は、原稿サイズセンサ17、18及びトレイガイド幅センサの検出結果に基づいて原稿トレイ30上に載置された原稿束Sのサイズを決定する(ステップS102)。   In FIG. 11, the image reading process starts when the CPU 321 receives a paper feed start request from the controller 400. Accordingly, the CPU 321 first determines whether or not a paper feed start request for the document bundle S placed on the document tray 30 has been received from the controller 400, and waits until a paper feed start request is received (step S101). After receiving the paper feed start request (“YES” in step S101), the CPU 321 determines the document bundle S placed on the document tray 30 based on the detection results of the document size sensors 17 and 18 and the tray guide width sensor. The size is determined (step S102).

以下に、原稿束のサイズ決定方法について説明する。   Hereinafter, a method for determining the size of the original bundle will be described.

図12は、原稿束のサイズ(読み取り領域)を決定する方法を説明するための図である。   FIG. 12 is a diagram for explaining a method of determining the size (reading area) of the original bundle.

図12において、原稿束Sのサイズは、画像読取装置500の仕向け設定と、原稿の搬送方向の長さを検知する原稿サイズセンサ17、18と、トレイガイド幅センサによって検知されたトレイガイド幅との検知結果の組み合わせに基づいて決定される。   In FIG. 12, the size of the document bundle S includes the destination setting of the image reading apparatus 500, document size sensors 17 and 18 that detect the length of the document in the conveyance direction, and the tray guide width detected by the tray guide width sensor. It is determined based on the combination of the detection results.

図12中、原稿サイズセンサ欄における1−ON、2−OFFの表記は、それぞれ原稿サイズセンサ17、18での原稿有り無しの検知結果を示している。図12中、原稿サイズセンサの1は、原稿サイズセンサ17を示し、2は、原稿サイズセンサ18を示す。1−ONは、原稿サイズセンサ17が原稿有りを示しており、原稿トレイに載置された原稿sの先端が原稿有無センサ11にある状態で原稿後端が原稿サイズセンサ17の位置まであることから原稿の長さの判断材料となる。同様に2−OFFは、原稿サイズセンサ18が原稿無しを示すことから、一例として、1−ONかつ2−OFFだと原稿の長さは原稿有無センサ11から原稿サイズセンサ17までの距離よりも長く、原稿サイズセンサ18までの距離よりも短いと判定される。   In FIG. 12, the notations 1-ON and 2-OFF in the document size sensor column indicate the detection results of the presence / absence of documents by the document size sensors 17 and 18, respectively. In FIG. 12, a document size sensor 1 indicates a document size sensor 17, and 2 indicates a document size sensor 18. 1-ON indicates that the document size sensor 17 has a document, and the document trailing edge is up to the position of the document size sensor 17 with the leading edge of the document s placed on the document tray at the document presence / absence sensor 11. From this, it will be a material for judging the length of the original. Similarly, 2-OFF indicates that the document size sensor 18 indicates that there is no document, and as an example, when 1-ON and 2-OFF, the length of the document is longer than the distance from the document presence sensor 11 to the document size sensor 17. It is determined that it is long and shorter than the distance to the document size sensor 18.

また、画像読取装置500が使用される地域によって、AB系の用紙が使用される地域と、INCH系の用紙が使用される地域に分けられる。従って、図12における仕向け設定は、AB系の仕向けと、INCH系の仕向けに分かれている。そして、例えば、主としてAB系の用紙が使用される日本では、トレイガイド幅センサが216mmを検知していても、幅が216mmである横送り方向のLTRサイズ、もしくは縦送り方向のSTMTサイズは判定の対象外となる。   Further, the area where the image reading apparatus 500 is used is divided into an area where AB paper is used and an area where INCH paper is used. Accordingly, the destination setting in FIG. 12 is divided into an AB type destination and an INCH type destination. For example, in Japan, where AB-type paper is mainly used, even if the tray guide width sensor detects 216 mm, the LTR size in the lateral feed direction having a width of 216 mm or the STMT size in the vertical feed direction is determined. It becomes out of object.

図12の表に従って、トレイガイド幅が210mmである場合は、横送り方向のA4サイズか、縦送り方向のA5サイズのどちらかと判断することができる。その上で、原稿サイズセンサ17、18の検知結果により、原稿の搬送方向の長さを判定することができる。すなわち、原稿サイズセンサ17が原稿有りを検知した時は原稿トレイ上の原稿サイズは横送り方向のA4サイズ、原稿サイズセンサ17が原稿無しを検知した時は縦送り方向のA5サイズと判定できる。なお、以下、画像読取装置500の仕向けは、AB系であるとして説明する。   According to the table of FIG. 12, when the tray guide width is 210 mm, it can be determined as either the A4 size in the lateral feed direction or the A5 size in the vertical feed direction. In addition, the length of the document in the conveyance direction can be determined based on the detection results of the document size sensors 17 and 18. That is, when the document size sensor 17 detects the presence of a document, the document size on the document tray can be determined as A4 size in the lateral feed direction, and when the document size sensor 17 detects that there is no document, it can be determined as A5 size in the vertical feed direction. In the following description, it is assumed that the destination of the image reading apparatus 500 is the AB system.

図11に戻り、原稿トレイ30上の原稿束Sのサイズを確定させた後(ステップS102)、CPU321は、読み取り終了要求を受信したか否か判定する(ステップS103)。操作部405等から原稿の読み取りをキャンセルする旨の指示がなされた場合には、コントローラ400から原稿の読み取り終了要求が送信される。このため、原稿の給紙開始動作を開始する前に読み取り終了要求を受信していないか否か確認する。   Returning to FIG. 11, after determining the size of the document bundle S on the document tray 30 (step S102), the CPU 321 determines whether or not a read end request has been received (step S103). When an instruction to cancel the reading of the document is given from the operation unit 405 or the like, a request to finish reading the document is transmitted from the controller 400. For this reason, it is confirmed whether or not a reading end request has been received before starting the document feeding start operation.

ステップS103の判定の結果、原稿の読み取り終了要求を受信していない場合(ステップS103で「NO」)、CPU321は、処理をステップS104に進める。すなわち、CPU321は、ステップS102で決定した原稿束Sのサイズに相当する画像の読み取りを行うため、当該原稿束サイズに対して斜行補正領域を加えた分の画像データを格納するためのメモリ容量を画像メモリ329に確保する(ステップS104)。このとき、原稿束のサイズである読み取り領域のサイズ、解像度、カラー/白黒、片面/両面等のパラメータから必要となる画像データのサイズが算出される。   If the result of determination in step S103 is that a document reading end request has not been received (“NO” in step S103), the CPU 321 advances the process to step S104. That is, since the CPU 321 reads an image corresponding to the size of the document bundle S determined in step S102, a memory capacity for storing image data corresponding to the document bundle size plus a skew correction region. Is secured in the image memory 329 (step S104). At this time, the required image data size is calculated from parameters such as the reading area size, resolution, color / monochrome, single-sided / double-sided, etc.

画像メモリ329に必要な画像データの容量を確保した後(ステップS104)、CPU321は、搬送系モータ121を制御して給紙動作を開始する(ステップS105)。給紙動作を開始した後(ステップS105)、CPU321は、センサ12〜16の検出結果を用いて原稿sの搬送経路上の位置を検知し、原稿サイズセンサ12が原稿有りを検知したか否か判定する(ステップS106)。ステップS106の判定の結果、原稿サイズセンサ12が原稿有りを検知した場合(ステップS106で「YES」)、CPU321は、搬送経路上の次のセンサとして引抜センサ13で原稿sを検知したか否か判定する(ステップS108)。   After securing the necessary image data capacity in the image memory 329 (step S104), the CPU 321 starts the paper feeding operation by controlling the transport system motor 121 (step S105). After starting the paper feeding operation (step S105), the CPU 321 detects the position of the document s on the transport path using the detection results of the sensors 12 to 16, and determines whether the document size sensor 12 detects the presence of the document. Determination is made (step S106). As a result of the determination in step S106, when the document size sensor 12 detects the presence of a document ("YES" in step S106), the CPU 321 determines whether the document s is detected by the pull-out sensor 13 as the next sensor on the conveyance path. Determination is made (step S108).

ステップS108の判定の結果、引抜センサ13が原稿有りを検知した場合(ステップS108で「YES」)、CPU321は、搬送経路上の次のセンサとしてレジセンサ14で原稿sを検知したか否か判定する(ステップS110)。ステップS110の判定の結果、レジセンサ14が原稿有りを検知した場合(ステップS110で「YES」)、CPU321は、搬送経路上の次のセンサとしてリードセンサ15で原稿sを検知したか否か判定する(ステップS112)。   As a result of the determination in step S108, when the pull-out sensor 13 detects the presence of a document ("YES" in step S108), the CPU 321 determines whether the registration sensor 14 has detected the document s as the next sensor on the conveyance path. (Step S110). As a result of the determination in step S110, when the registration sensor 14 detects the presence of a document (“YES” in step S110), the CPU 321 determines whether the read sensor 15 has detected the document s as the next sensor on the transport path. (Step S112).

ステップS112の判定の結果、リードセンサ15が原稿有りを検知した場合(ステップS112で「YES」)、CPU321は、処理をステップS114に進める。すなわち、CPU321は、原稿先端が表面流し読み位置に到達したタイミングから表面読取用CCDセンサユニット210を制御して原稿表面の読み取りを開始する(ステップS114)。   As a result of the determination in step S112, when the lead sensor 15 detects the presence of a document (“YES” in step S112), the CPU 321 advances the process to step S114. That is, the CPU 321 starts reading the surface of the document by controlling the surface reading CCD sensor unit 210 from the timing when the leading edge of the document reaches the surface flow reading position (step S114).

このとき、図3〜6を用いて説明したように、読取画像データを用いて斜行を検知するために原稿の周囲も含めて読み取りを行うことから、原稿先端が表面流し読み位置に到達するタイミングよりも前倒しして原稿の読み取りが開始される。原稿の読み取りは、ステップS102で確定した原稿の読み取り領域に加えて斜行検知で必要となる領域が読み取られる。   At this time, as described with reference to FIGS. 3 to 6, since the reading is performed including the periphery of the document in order to detect the skew using the read image data, the leading edge of the document reaches the surface flow reading position. Document reading is started ahead of the timing. In reading the original, in addition to the original reading area determined in step S102, an area required for skew detection is read.

原稿の読み取りが終了し(ステップS114)、原稿先端が表面流し読み位置を通過した後、CPU321は、排紙センサ16が原稿の先端を検知したか否か判定する(ステップS115)。ステップS115の判定の結果、排紙センサ16が原稿sの先端を検知した場合(ステップS115で「YES」)、CPU321は、そのまま原稿を排紙トレイ10へ排出させ、処理をステップS117に進める。すなわち、CPU321は、原稿が正しく搬送されたと判定し、表面読取用CCDセンサユニット210によって読み取られた読み取り画像から原稿画像領域を抽出する(ステップS117)。   After the reading of the document is completed (step S114) and the leading edge of the document has passed the surface flow reading position, the CPU 321 determines whether or not the paper discharge sensor 16 has detected the leading edge of the document (step S115). As a result of the determination in step S115, when the paper discharge sensor 16 detects the leading edge of the document s (“YES” in step S115), the CPU 321 directly discharges the document to the paper discharge tray 10 and advances the process to step S117. That is, the CPU 321 determines that the document has been correctly conveyed, and extracts a document image area from the read image read by the front surface reading CCD sensor unit 210 (step S117).

原稿領域を抽出した後(ステップS117)、CPU321は、原稿画像領域の主走査方向の位置と大きさ、及び、ステップS102で決定した読み取り領域の大きさを比較する(ステップS118)。次いで、CPU321は、読み取り画像における原稿画像領域の主走査方向幅と位置に従って当該原稿画像領域をステップS104で確保した画像メモリ329上の読み取り領域の所定位置に配置する(ステップS119)。このとき、読み取り領域の所定位置に原稿画像領域を配置した旨を、操作部405の表示部に表示するようにしてもよい。原稿画像領域の配置処理の詳細については、後述する
原稿画像領域を所定位置に配置した後(ステップS119)、CPU321は、当該原稿画像領域を所定位置に配置することによって生成した出力画像データをコントローラ400に転送する(ステップS120)。
After extracting the document area (step S117), the CPU 321 compares the position and size of the document image area in the main scanning direction with the size of the reading area determined in step S102 (step S118). Next, the CPU 321 arranges the original image area at a predetermined position in the reading area on the image memory 329 secured in step S104 according to the width and position of the original image area in the read image in the main scanning direction (step S119). At this time, the fact that the document image area is arranged at a predetermined position in the reading area may be displayed on the display unit of the operation unit 405. For details of the document image area placement process, after placing a document image area, which will be described later, at a predetermined position (step S119), the CPU 321 outputs the output image data generated by placing the document image area at a predetermined position to the controller. 400 (step S120).

コントローラ400に出力画像データを転送した後(ステップS120)、CPU321は、原稿有無センサ11で原稿トレイ30に原稿が残っているか否か判定する(ステップS121)。ステップS121の判定の結果、原稿が残っている場合(ステップS121で「YES」)、CPU321は、処理をステップS103に戻し、ステップS103以降の処理を繰り返す。一方、ステップS121の判定の結果、原稿が残っていない場合(ステップS121で「NO」)、CPU321は、処理をステップS122に進める。すなわち、CPU321は、一連の画像読取動作を終了するために、原稿の搬送と表面読取用CCDセンサユニット210による読み取りを停止し(ステップS122)、その後、本画像読取処理を終了する。   After transferring the output image data to the controller 400 (step S120), the CPU 321 determines whether or not a document remains on the document tray 30 by the document presence / absence sensor 11 (step S121). As a result of the determination in step S121, if the document remains (“YES” in step S121), the CPU 321 returns the process to step S103, and repeats the processes after step S103. On the other hand, if the result of determination in step S121 is that there are no remaining documents (“NO” in step S121), the CPU 321 advances the process to step S122. That is, the CPU 321 stops the conveyance of the document and the reading by the front surface reading CCD sensor unit 210 in order to end a series of image reading operations (step S122), and then ends the main image reading process.

一方、ステップS106の判定の結果、原稿サイズセンサ12が原稿有りを検知できなかった場合(ステップS106で「NO」)、CPU321は、所定時間が経過したか否か判定する(ステップS107)。ステップS107の判定の結果、所定時間が経過していない場合(ステップS107で「NO」)、CPU321は、処理をステップS106に戻し、原稿サイズセンサ12が原稿sを検知するまで、ステップS106、S107の処理を繰り返す。   On the other hand, as a result of the determination in step S106, if the document size sensor 12 cannot detect the presence of a document ("NO" in step S106), the CPU 321 determines whether a predetermined time has elapsed (step S107). As a result of the determination in step S107, if the predetermined time has not elapsed ("NO" in step S107), the CPU 321 returns the process to step S106, and steps S106 and S107 until the document size sensor 12 detects the document s. Repeat the process.

また、ステップS107の判定の結果、所定時間が経過した場合(ステップS107で「YES」)、CPU321は、処理をステップS130に進める。すなわち、CPU321は、原稿の搬送が正しくできなかったものとして原稿の搬送及び表面読取用CCDセンサユニット210の読み取りを停止させる(ステップS130)。表面読取用CCDセンサユニット210を停止させた後、CPU321は、ジャムが発生したことをRAM323に記憶させ、操作部405にその旨を表示するためにコントローラ400に通知する(ステップS131)。そして、その後、CPU321は、本画像読取処理を終了する。   If the predetermined time has passed as a result of the determination in step S107 (“YES” in step S107), the CPU 321 advances the process to step S130. That is, the CPU 321 stops the conveyance of the original and the reading of the CCD sensor unit 210 for surface reading on the assumption that the original has not been correctly conveyed (step S130). After stopping the surface reading CCD sensor unit 210, the CPU 321 stores the occurrence of the jam in the RAM 323 and notifies the controller 400 to display the fact on the operation unit 405 (step S131). Thereafter, the CPU 321 ends the main image reading process.

また、ステップS108の判定で「NO」、ステップS110の判定で「NO」、ステップS112の判定で「NO」、及びステップS115の判定で「NO」の場合、CPU321は、それぞれ上記ステップS106の判定で「NO」の場合に準じて処理する。   Further, if “NO” is determined in step S108, “NO” is determined in step S110, “NO” is determined in step S112, and “NO” is determined in step S115, the CPU 321 determines in step S106. And processing according to the case of “NO”.

一方、ステップS103の判定の結果、読み取り終了要求を受信していた場合(ステップS103で「YES」)、CPU321は、原稿の搬送、及び表面読取用CCDセンサユニット210の読み取りを停止させる(ステップS140)。そして、その後、CPU321は、本処理を終了する。   On the other hand, as a result of the determination in step S103, if a reading end request has been received (“YES” in step S103), the CPU 321 stops the conveyance of the original and the reading of the front surface reading CCD sensor unit 210 (step S140). ). Thereafter, the CPU 321 ends this process.

次に、図11のステップS119で実行される原稿画像領域の配置処理について詳細に説明する。   Next, the document image area arrangement process executed in step S119 of FIG. 11 will be described in detail.

図13〜図15は、読み取り領域における原稿画像領域の配置位置決定方法を説明するための図である。   13 to 15 are diagrams for explaining a method for determining the arrangement position of the document image area in the reading area.

図13(A)は、大きさの異なる2枚の原稿sからなる原稿束Sを原稿トレイ30に載置した状態を示すADF100の平面図である。図13(A)において、原稿トレイ30に、A3横サイズの原稿とA4横サイズの原稿が載置されている。A3横サイズの主走査方向の長さは297mmであり、トレイガイド幅検知センサで検知した奥側及び手前側トレイガイド間の間隔は原稿セット時に発生した隙間を加えて299mmとなっている。この時、A4横サイズの原稿位置が変わることによって、出力画像データにおける原稿画像領域の配置位置がどのようになるかを考える。   FIG. 13A is a plan view of the ADF 100 showing a state in which a document bundle S composed of two documents s having different sizes is placed on the document tray 30. In FIG. 13A, an A3 landscape document and an A4 landscape document are placed on the document tray 30. The length of the A3 horizontal size in the main scanning direction is 297 mm, and the distance between the back side and near side tray guides detected by the tray guide width detection sensor is 299 mm, including the gap generated during document setting. At this time, the arrangement position of the document image area in the output image data will be considered by changing the position of the A4 landscape size document.

図13(A)のように、原稿トレイ30に2枚の原稿からなる原稿束Sがセットされると、原稿サイズセンサ17、18は原稿有りを検知し、トレイガイド幅センサが299mmを検知する。このとき、画像読取装置500の仕向けはAB系なので、原稿トレイ30に載置されている原稿束SのサイズはA3横サイズと判定される。このため、コントローラ400からリーダ200のCPU321に対し、読み取り領域をA3横サイズとして原稿の読み取りを行うよう指示が出され、CPU321は、その指示を受信する。   As shown in FIG. 13A, when a document bundle S composed of two documents is set on the document tray 30, the document size sensors 17 and 18 detect the presence of a document, and the tray guide width sensor detects 299 mm. . At this time, since the destination of the image reading apparatus 500 is an AB system, the size of the document bundle S placed on the document tray 30 is determined to be A3 landscape size. For this reason, the controller 400 instructs the CPU 321 of the reader 200 to read the document with the reading area set to the A3 horizontal size, and the CPU 321 receives the instruction.

そして、CPU321は、表面読取用CCDセンサユニット210を制御して原稿画像の読み取りを行う。このとき、原稿sが、原稿トレイ30から表面読み取り位置まで大きな斜行なく搬送されると、図13(B)のような読み取り画像が得られる。なお、実際には、原稿sは少なからず斜行する可能性があるが、斜行があった場合は、上述したように斜行補正処理が実行される。   The CPU 321 controls the surface reading CCD sensor unit 210 to read the document image. At this time, when the document s is conveyed from the document tray 30 to the front surface reading position without large skew, a read image as shown in FIG. 13B is obtained. Actually, there is a possibility that the document s is skewed in some ways, but when skew is present, skew correction processing is executed as described above.

図13(B)において、読み取られた原稿画像領域(A4)の一部が、読み取り領域(A3)の範囲外にはみ出ている。しかしながら、上述したように、表面読取用CCDセンサユニット210は、読み取り可能な最大幅(320mm)で読み取りを行う。このため、読み取り可能幅は、トレイガイドの幅に対して十分余裕があるので、画像メモリ329に格納された画像データが欠けることはない。   In FIG. 13B, a part of the read document image area (A4) protrudes outside the range of the reading area (A3). However, as described above, the surface reading CCD sensor unit 210 performs reading with the maximum readable width (320 mm). For this reason, since the readable width has a sufficient margin with respect to the width of the tray guide, the image data stored in the image memory 329 is not lost.

すなわち、原稿画像領域は、斜行検知の結果として、表面読取用CCDセンサユニット210による読み取り画像の主走査方向の奥側端から10.5mmの位置から210mm幅に存在し、手前側端から99.5mm離れていることが分かる。この結果から、読み取り画像における原稿画像領域と、読み取り領域との関係は、式(1)及び式(2)から図13(C)のようになる。   That is, as a result of the skew detection, the document image area is present at a width of 210 mm from a position 10.5 mm from the rear end in the main scanning direction of the image read by the front surface reading CCD sensor unit 210 and 99 from the front end. It can be seen that it is 5 mm away. From this result, the relationship between the document image area in the read image and the read area is as shown in FIG. 13C from the equations (1) and (2).

中央位置のずれ量 =
1mm(手前側ずれ量)+297mm(読み取りサイズ幅)/2 − 210mm(原稿サイズ幅)/2
=44.5mm・・・式(1)
手前側位置のずれ量 =
1mm(手前側ずれ量)+297mm(読み取りサイズ幅) −210mm
(原稿サイズ幅)
=88mm・・・式(2)
Center position displacement =
1 mm (front side displacement) +297 mm (reading size width) / 2−210 mm (original size width) / 2
= 44.5 mm (1)
Deviation amount of front side position =
1 mm (front side displacement) +297 mm (reading size width) -210 mm
(Original size width)
= 88mm ... Formula (2)

すなわち、図11のステップS118において、原稿画像領域と読み取り領域の間で、(1)中央部、(2)奥側端部、(3)手前側端部の3カ所の位置に対して比較がなされる。比較の順番は、(1)中央部同士の比較が最初で、次に(2)奥側端部、最後に(3)手前側端部の順番に行われる。比較の内容としては、比較の対象となる2つの位置が近いか否かであり、本実施の形態では、比較の対象となる2つの位置の間隔(所定幅)が10mm以下の場合を位置が近いと判断する。   That is, in step S118 of FIG. 11, comparison is made between three positions of the original image area and the reading area: (1) the central portion, (2) the back end portion, and (3) the front end portion. Made. The order of comparison is (1) the comparison between the central portions is first, then (2) the back end, and finally (3) the front end. The content of the comparison is whether or not the two positions to be compared are close. In this embodiment, the position is determined when the distance (predetermined width) between the two positions to be compared is 10 mm or less. Judge that it is close.

図13(C)において、原稿画像領域の奥側端と読み取り領域の奥側端は1mm離れており、閾値(10mm)以内であるので、近いと判定される。このため、CPU321は、原稿トレイ30上に原稿sを配置する際、ユーザに、原稿の奥側端を奥側のトレイガイドに突き当てようとする意志があったと判断する。そして、CPU321は、図14(A)に示したように、原稿画像領域の奥側端を読み取り領域の奥側端に合わせるように配置し、その領域以外は全面白色データで埋めた出力画像データを生成し、コントローラ400に送る。   In FIG. 13C, the far side edge of the document image area and the far side edge of the reading area are 1 mm apart, and are within a threshold value (10 mm), and therefore are determined to be close. For this reason, when placing the document s on the document tray 30, the CPU 321 determines that the user has an intention to abut the back end of the document against the back tray guide. Then, as shown in FIG. 14A, the CPU 321 is arranged so that the far side edge of the document image area is aligned with the far side edge of the reading area, and the output image data in which the other area is entirely filled with white data. Is sent to the controller 400.

このように、原稿トレイ30に載置された原稿sの位置に応じて読み取り領域における原稿画像領域の位置が合理的に決定される。   In this way, the position of the document image area in the reading area is reasonably determined in accordance with the position of the document s placed on the document tray 30.

図14(B)は、読み取られた原稿画像領域の主走査方向の中央位置と読み取り領域の主走査方向の中央位置が近いパターンである。図14(B)において、原稿画像領域と読み取り領域との奥側端は、43mm、中心は、0.5mm、手前側端は、44mm離れており、原稿の中心部を読み取り領域の中心に配置しようとしたユーザの意図が伺われる。従って、CPU321は、中央位置同士が近いという判断結果に従い、原稿画像領域を読み取り領域の主走査方向の中央に配置した出力画像データ(図14(B)の右図)を生成し、コントローラ400に送信する。   FIG. 14B shows a pattern in which the center position of the read document image area in the main scanning direction is close to the center position of the reading area in the main scanning direction. In FIG. 14B, the back end of the document image area and the reading area is 43 mm, the center is 0.5 mm, and the front end is 44 mm away, and the center of the document is arranged at the center of the reading area. The intention of the user who tried is asked. Therefore, the CPU 321 generates output image data (right diagram in FIG. 14B) in which the document image area is arranged at the center in the main scanning direction of the reading area in accordance with the determination result that the center positions are close to each other, and Send.

図15(A)は、読み取られた原稿画像領域の主走査方向の手前側端と読み取り領域の主走査方向の手前側端の位置が近いパターンである。図15(A)において、原稿画像領域と読み取り領域との奥側端は、84mm、中心は、40.5mm、手前側端は、3mm離れており、手前側端の幅が閾値以内である。従って、原稿の手前側端を読み取り領域の手前側端に合わせようとしたユーザの意図が伺われる。従って、この場合は、原稿画像領域と読み取り領域との手前側端同士が近いという判断結果に従い、CPU321は、原稿画像領域を読み取り領域の主走査方向に対して手前側端に詰めるように配置した読み取り画像データ(図15(A)の右図)を生成する。   FIG. 15A shows a pattern in which the position of the near side edge in the main scanning direction of the read document image area is close to the position of the near side edge in the main scanning direction of the reading area. In FIG. 15A, the far side edge of the document image area and the reading area is 84 mm, the center is 40.5 mm, the near side edge is 3 mm away, and the width of the near side edge is within the threshold. Therefore, the user's intention to match the near side edge of the document to the near side edge of the reading area is heard. Therefore, in this case, according to the determination result that the near side edges of the document image area and the reading area are close to each other, the CPU 321 arranges the document image area so as to be close to the near side edge in the main scanning direction of the reading area. Read image data (the right diagram in FIG. 15A) is generated.

また、図15(B)は、読み取られた原稿画像領域の主走査方向の位置が読み取り領域に対して中央部、奥側端部、手前側端部のいずれでもなく離れているパターンである。図15(B)において、原稿画像領域と読み取り領域との奥側端は、20mm、中心は、23.5mm、手前側端は、67mmそれぞれ離れており、いずれも、所定の閾値よりも大きくなっている。従って、原稿をどの位置に配置しようとしたかというユーザの意図を推測することができない。このため、CPU321は、原稿画像領域を、検知した位置のまま読み取り領域に配置して出力画像データとし、この出力画像データ(図15(B)の右図)をコントローラ(400)に送信する。   FIG. 15B shows a pattern in which the position of the read document image area in the main scanning direction is separated from the reading area at any of the center, back end, and front end. In FIG. 15B, the far side edge of the document image area and the reading area is 20 mm, the center is 23.5 mm, and the near side edge is 67 mm away, both of which are larger than a predetermined threshold value. ing. Therefore, it is impossible to guess the user's intention as to where the document is to be placed. For this reason, the CPU 321 arranges the document image area in the reading area in the detected position as output image data, and transmits this output image data (the right figure in FIG. 15B) to the controller (400).

なお、原稿画像領域の大きさが読み取り領域の大きさに近い場合、原稿画像領域と読み取り領域の主走査方向において、例えば、中央位置と奥側端部位置の2カ所の間隔が閾値以内であり、両者が近いと判断されることもある。かかる場合、上述のように、中央位置→奥側端部位置→手前側端部位置の順番で判定が行なわれ、最初に近いと判断された位置に従って読み取り領域内の原稿画像領域の配置位置が決定される。   When the size of the document image area is close to the size of the reading area, for example, the interval between the center position and the back end position is within the threshold in the main scanning direction of the document image area and the reading area. Sometimes, it is judged that both are close. In this case, as described above, the determination is made in the order of the center position → the rear end position → the front end position, and the arrangement position of the document image area in the reading area is determined according to the position determined to be close to the beginning. It is determined.

図11の処理によれば、表面読取用CCDセンサユニット210によって読み込まれた読み取り画像はリーダ200の画像メモリ329に格納され、読み取り領域と同じサイズの出力画像データが生成され、コントローラ送信される。このとき、原稿画像領域が読み取り領域よりも小さい場合は、原稿画像領域を、原稿を読み取った位置のまま読み取り領域内に配置するのではなく、ユーザの意図を考慮して適切に配置位置が調整されるので、画像読取装置500の利便性が向上する。すなわち、本実施の形態によれば、原稿トレイ30に載置された原稿束Sについて大きさの異なる原稿sの混載が指定されていない場合でも、画像読取装置500は、ユーザが所望する原稿画像領域の配置位置を想定して、出力画像データを生成することができる。   According to the processing of FIG. 11, the read image read by the front surface reading CCD sensor unit 210 is stored in the image memory 329 of the reader 200, and output image data having the same size as the reading area is generated and transmitted to the controller. At this time, if the document image area is smaller than the reading area, the document image area is not arranged in the reading area at the position where the document is read, but the arrangement position is appropriately adjusted in consideration of the user's intention. Therefore, the convenience of the image reading apparatus 500 is improved. In other words, according to the present embodiment, the image reading apparatus 500 allows the user to select a document image desired by the user even when the document stack S placed on the document tray 30 is not designated to be loaded with different sizes of documents s. The output image data can be generated assuming the arrangement position of the region.

本実施の形態において、リーダ200で読み取った読み取り画像を画像読取装置とは別に配置された画像処理装置を用いて原稿画像領域を所定位置に配置して画像データを作成することもできる。   In the present embodiment, it is also possible to create image data by arranging a document image area at a predetermined position by using an image processing apparatus arranged separately from the image reading apparatus for a read image read by the reader 200.

なお、本実施の形態において、原稿画像領域を読み取り領域内に配置する際、原稿画像領域の副走査方向の先端は、読み取り領域の副走査方向の先端位置に一致するように配置される。これは、原稿の大きさが変わっても、画像の読み取りは、原稿の副走査方向の先端位置から開始されるからである。   In this embodiment, when the document image area is arranged in the reading area, the leading edge of the document image area in the sub-scanning direction is arranged to coincide with the leading edge position of the reading area in the sub-scanning direction. This is because, even if the size of the document changes, the image reading is started from the front end position of the document in the sub-scanning direction.

次に、第2の実施の形態について説明する。   Next, a second embodiment will be described.

本実施の形態に係る画像読取装置のハードウェア構成は、原則として上述の第1の実施の形態に係る画像読取装置のハードウェア構成と同様である。本実施の形態は、サイズの異なる原稿sが混載されている原稿束Sについて画像読取処理を実行する際、予めユーザによって設定された読み取り領域内の所定位置に原稿領域領域を配置して出力画像データを作成するものである。   The hardware configuration of the image reading apparatus according to the present embodiment is basically the same as the hardware configuration of the image reading apparatus according to the first embodiment described above. In this embodiment, when the image reading process is performed on the document bundle S on which the originals s of different sizes are mixedly loaded, an output area image is arranged by arranging the document area area at a predetermined position within the reading area set in advance by the user. Create data.

図16は、画像読取装置500の操作部405の表示画面に表示された原稿画像領域の配置位置設定画面を示す図である。図16において、原稿画像領域の配置位置設定画面には、読み取り領域の主走査方向の幅よりも原稿の主走査方向の幅が狭い場合に、読み取り領域内における原稿画像領域の配置位置を指定するためのアイコン1401〜S1404が表示されている。アイコン1401〜S1404は、条件設定手段として機能する。   FIG. 16 is a diagram illustrating a document image area arrangement position setting screen displayed on the display screen of the operation unit 405 of the image reading apparatus 500. In FIG. 16, when the width of the original image in the main scanning direction is narrower than the width of the reading area in the main scanning direction, an arrangement position of the original image area in the reading area is designated on the original image area arrangement position setting screen. Icons 1401 to S1404 for displaying are displayed. Icons 1401 to S1404 function as condition setting means.

“移動しない”アイコン1401は、読み取った時の主走査方向の位置のまま読み取り領域内に原稿画像領域を配置して出力画像データを生成するためのものである。“奥寄せ”アイコン1402は、読み取った時の主走査方向の位置によらず、読み取り領域に対して原稿画像領域を左詰め奥寄せ配置で配置して読み取り画像データを生成するためのものである。同じように“中央寄せ”アイコン1403、及び“手前寄せ”アイコン1404は、それぞれ読み取り領域に対して原稿画像領域を左詰め中央配置、及び左詰め手前寄せ配置に配置して読み取り画像データを生成するためのものである。   The “do not move” icon 1401 is used to generate the output image data by arranging the document image area in the reading area while maintaining the position in the main scanning direction at the time of reading. The “depth alignment” icon 1402 is used to generate read image data by arranging the document image area in a left justified alignment with respect to the reading area regardless of the position in the main scanning direction when reading. . Similarly, a “center alignment” icon 1403 and a “front alignment” icon 1404 generate the read image data by arranging the document image areas in the left-aligned center alignment and the left-aligned front alignment with respect to the reading area, respectively. Is for.

“奥寄せ”アイコン1402と“手前寄せ”アイコン1404の右隣には、それぞれ原稿画像領域を目標位置に突き当てないで、例えば、10mmの隙間を設けて目標位置に寄せるための“少しシフト”アイコン1407、1408が設けられている。アイコン1407、1408は、ずれ設定手段として機能する。“奥寄せ”アイコン1402と共に、“奥寄せ”アイコン1402の右側の“少しシフト”アイコン1407が選択された場合、左詰めで、原稿領域の奥側端を読み取り領域の奥側端から、例えば、10mm開けるように配置して出力画像データが形成される。   Next to the right side of the “Backward” icon 1402 and the “Frontward” icon 1404, do not place the original image area at the target position, for example, “slightly shift” to bring it to the target position with a 10 mm gap. Icons 1407 and 1408 are provided. Icons 1407 and 1408 function as deviation setting means. When the “Slightly shift” icon 1407 on the right side of the “Back alignment” icon 1402 is selected together with the “Back alignment” icon 1402, the back edge of the document area is left-aligned from the back edge of the reading area, for example, Output image data is formed so as to be opened by 10 mm.

また、“手前寄せ”アイコン1404と“手前寄せ”アイコン1404の右側の“少しシフト”アイコン1408が選択された場合、左詰めで、原稿画像領域の手前側端を読み取り領域の手前側端から10mm開けて配置した出力画像データが形成される。“少しシフト”アイコン1407及び1408は、例えば、穴あき処理がされるなど出力画像に欠けが生じたり、出力用紙に対して折れが生じるような場合に、かかる不都合を回避するために使用される。なお、“少しシフト”アイコン1407、1408を使用する設定が選択された際の原稿画像領域の移動量は、図示省略した設定画面を用いて、例えば1mm単位で変更することができる。    In addition, when the “front” icon 1404 and the “slightly shift” icon 1408 on the right side of the “front” icon 1404 are selected, the front side edge of the document image area is 10 mm from the front side edge of the reading area, left justified. Output image data arranged open is formed. “Slightly shift” icons 1407 and 1408 are used to avoid such inconveniences when the output image is chipped or the output paper is folded, for example, when a punching process is performed. . Note that the movement amount of the document image area when the setting to use the “slightly shift” icons 1407 and 1408 is selected can be changed, for example, in units of 1 mm using a setting screen (not shown).

“OK”アイコン1405は、アイコン1401〜1404、1407、1408を用いて読み取り領域内の原稿画像領域の位置を設定した設定内容を確定するためのアイコンである。また、“戻る”アイコン1406は、図16の設定画面で設定をすることなく、設定画面から抜ける際に選択されるのアイコンである。   An “OK” icon 1405 is an icon for confirming setting contents in which the position of the document image area in the reading area is set using the icons 1401 to 1404, 1407, and 1408. A “return” icon 1406 is an icon that is selected when the user exits the setting screen without setting on the setting screen of FIG. 16.

次に、図16の原稿配置位置の設定画面に従って読み取り領域中の原稿画像領域の配置位置を設定する第2の画像読取処理について説明する。   Next, a second image reading process for setting the arrangement position of the original image area in the reading area in accordance with the original arrangement position setting screen of FIG. 16 will be described.

図17は、第2の画像読取処理の手順を示すフローチャートである。第2の画像読取処理は、リーダ200のCPU321がROM322に格納された第2の画像読取処理プログラムに従って実行する。   FIG. 17 is a flowchart showing the procedure of the second image reading process. The second image reading process is executed by the CPU 321 of the reader 200 in accordance with the second image reading process program stored in the ROM 322.

図17において、読取ジョブを開始してから、トレイガイド幅センサと、原稿サイズセンサ17、18の検知結果を用いて読み取り領域を決定し、読み取り画像から原稿画像領域を抽出するまでのフローは、基本的に、図11のフローと同様である。従って、その説明を省略する。図17中、破線で囲んだステップS518、S519の処理は、図11のステップS118及びS119に対応する処理であるが、ステップS118及びS119とは異なる処理である。以下、上述した図11の第1の画像読取処理との相違点について説明する。   In FIG. 17, the flow from the start of the reading job to the determination of the reading area using the detection results of the tray guide width sensor and the original size sensors 17 and 18 and the extraction of the original image area from the read image is as follows. Basically, it is the same as the flow of FIG. Therefore, the description is omitted. In FIG. 17, the processes of steps S518 and S519 surrounded by a broken line are processes corresponding to steps S118 and S119 of FIG. 11, but are different processes from steps S118 and S119. Hereinafter, differences from the above-described first image reading process of FIG. 11 will be described.

図18は、図17のステップS518、S519で実行される原稿画像領域の配置位置決定処理の手順を示すフローチャートである。この原稿画像領域の配置位置決定処理は、リーダ200のCPU321がROM322に格納された原稿画像領域の配置位置決定処理プログラムに従って実行する。   FIG. 18 is a flowchart showing the procedure of the document image area arrangement position determination process executed in steps S518 and S519 of FIG. This document image area arrangement position determination process is executed by the CPU 321 of the reader 200 in accordance with the document image area arrangement position determination process program stored in the ROM 322.

図18において、原稿画像領域の配置位置決定処理が開始されると、CPU321は、まず、読み取り領域の副走査方向の先端位置に原稿画像領域の副走査方向の先端を合わせる(ステップS601)。先端位置を合せた後、CPU321は、図17のステップS517で抽出した原稿画像領域の主走査方向幅が読み取り領域の主走査方向幅よりも小さいか否か判定する(ステップS602)。   In FIG. 18, when the document image area arrangement position determination process is started, the CPU 321 first aligns the leading end position of the document image area in the sub scanning direction with the leading end position of the reading area in the sub scanning direction (step S601). After aligning the leading edge position, the CPU 321 determines whether or not the main scanning direction width of the document image area extracted in step S517 of FIG. 17 is smaller than the main scanning direction width of the reading area (step S602).

ステップS602の判定の結果、原稿画像領域の幅が読み取り領域の幅よりも小さい場合(ステップS602で「YES」)、CPU321は、図16の設定画面で設定された原稿画像領域の配置位置の設定内容を取得する(ステップS604)。次いで、CPU321は、先ず、原稿画像領域の配置位置の設定が中央寄せか否か判定する(ステップS605)。ステップS605の判定の結果、設定が中央寄せであった場合(ステップS605で「YES」)、CPU321は、処理をステップS610に進める。すなわち、CPU321は、主走査方向に対して読み取り領域の中央位置と原稿画像領域の中央位置が一致するように原稿画像領域を配置し(ステップS610)、本処理を終了する。   As a result of the determination in step S602, if the width of the document image area is smaller than the width of the reading area (“YES” in step S602), the CPU 321 sets the arrangement position of the document image area set on the setting screen of FIG. Contents are acquired (step S604). Next, the CPU 321 first determines whether or not the setting of the arrangement position of the document image area is centered (step S605). As a result of the determination in step S605, if the setting is centered (“YES” in step S605), the CPU 321 advances the process to step S610. That is, the CPU 321 arranges the document image area so that the center position of the reading area coincides with the center position of the document image area with respect to the main scanning direction (step S610), and the process ends.

一方、ステップS605の判定の結果、設定が中央寄せでなかった場合(ステップS605で「NO」)、CPU321は、処理をステップS606に進める。すなわち、CPU321は、設定が奥寄せであるか否か判定する(ステップS606)。そして、ステップS606の判定の結果、奥寄せであった場合(ステップS606で「YES」)、CPU321は、“少しシフト”アイコン1407が選択されているか否か判定する(ステップS607)。ステップS607の判定の結果、“少しシフト”アイコン1407が選択されている場合(ステップS607で「YES」)、CPU321は、処理をステップS614に進める。すなわち、CPU321は、主走査方向に関し、読み取り領域の奥位置からあらかじめ指定された距離だけ離した位置に原稿画像領域を配置し(ステップS614)、その後、本処理を終了する。あらかじめ指定された距離は、例えば、10mmである。   On the other hand, if the result of determination in step S605 is that the setting is not centered (“NO” in step S605), the CPU 321 advances the process to step S606. That is, the CPU 321 determines whether the setting is close-up (step S606). If the result of determination in step S606 is that the object is close to the center (“YES” in step S606), the CPU 321 determines whether or not the “little shift” icon 1407 is selected (step S607). As a result of the determination in step S607, when the “slightly shift” icon 1407 is selected (“YES” in step S607), the CPU 321 advances the process to step S614. That is, the CPU 321 places the document image area at a position that is a predetermined distance away from the depth position of the reading area in the main scanning direction (step S614), and then ends this process. The distance designated in advance is, for example, 10 mm.

一方、ステップS607の判定の結果、“少しシフト”アイコン1407が選択されていない場合(ステップS607で「NO」)、CPU321は、処理をステップS611に進める。すなわち、CPU321は、主走査方向に対して読み取り領域の奥側端と原稿画像領域の奥側端が一致するように原稿画像領域を配置し(ステップS611)、その後、本処理を終了する。   On the other hand, if the result of determination in step S607 is that the “slightly shift” icon 1407 has not been selected (“NO” in step S607), the CPU 321 advances the process to step S611. That is, the CPU 321 arranges the document image area so that the back side end of the reading area and the back side end of the document image area coincide with each other in the main scanning direction (step S611), and then ends this process.

また、ステップS606の判定の結果、設定が奥寄せでなかった場合(ステップS606で「NO」)、CPU321は、処理をステップS608に進める。すなわち、CPU321は、設定が手前寄せであるか否か判定する(ステップS608)。そして、ステップS608の判定の結果、手前寄せであった場合(ステップS608で「YES」)、CPU321は、“少しシフト”アイコン1408が選択されているか否か判定する(ステップS609)。ステップS609の判定の結果、“少しシフト”アイコン1408が選択されている場合(ステップS609で「YES」)、CPU321は、処理をステップS615に進める。すなわち、CPU321は、主走査方向に関し、読み取り領域の手前位置からあらかじめ指定された距離だけ離した位置に原稿画像領域の手前側端を配置し(ステップS615)、その後、本処理を終了する。あらかじめ指定された距離は、例えば、10mmである。   Also, as a result of the determination in step S606, if the setting is not close (“NO” in step S606), the CPU 321 advances the process to step S608. That is, the CPU 321 determines whether or not the setting is close to the front (step S608). If the result of determination in step S608 is that the object is close (“YES” in step S608), the CPU 321 determines whether the “slightly shift” icon 1408 is selected (step S609). As a result of the determination in step S609, when the “slightly shift” icon 1408 is selected (“YES” in step S609), the CPU 321 advances the process to step S615. That is, the CPU 321 arranges the front side edge of the document image area at a position separated by a predetermined distance from the front position of the reading area in the main scanning direction (step S615), and then ends the present process. The distance designated in advance is, for example, 10 mm.

一方、ステップS609の判定の結果、“少しシフト”アイコン1408が選択されていない場合(ステップS609で「NO」)、CPU321は、処理をステップS612に進める。すなわち、CPU321は、主走査方向に関し、読み取り領域の手前側端と原稿画像領域の手前側端が一致するように原稿画像領域を配置し(ステップS612)、その後、本処理を終了する。   On the other hand, if the result of determination in step S609 is that the “little shift” icon 1408 has not been selected (“NO” in step S609), the CPU 321 advances the process to step S612. That is, the CPU 321 arranges the document image area so that the front side edge of the reading area and the front side edge of the document image area coincide with each other in the main scanning direction (step S612), and then ends the present process.

また、ステップS608の判定の結果、設定が手前寄せでもなかった場合(ステップS608で「NO」)、CPU321は、“移動しない”アイコン1401が設定されたと判断し、処理をステップS613に進める。すなわち、CPU321は、原稿画像領域の主走査方向位置として、原稿画像領域を抽出した際の当該原稿画像領域の主走査方向の位置をそのまま適用して出力画像データを生成し(ステップS613)、その後、本処理を終了する。   If the result of determination in step S608 is that the setting is not close (“NO” in step S608), the CPU 321 determines that the “do not move” icon 1401 has been set, and the process proceeds to step S613. That is, the CPU 321 generates output image data by directly applying the position of the original image area in the main scanning direction when the original image area is extracted as the position of the original image area in the main scanning direction (step S613). This process is terminated.

また、ステップS602の判定の結果、原稿画像領域が読み取り領域よりも大きい場合(ステップS602で「NO」)CPU321は、処理をステップS603に進める。すなわち、CPU321は、図16の設定によらず読み取り領域の奥位置に原稿画像領域の奥側端を合わせるように原稿画像領域を配置して出力画像データとする(ステップS603)。そして、その後、CPU321は、本処理を終了する。   If the result of determination in step S602 is that the document image area is larger than the reading area (“NO” in step S602), the CPU 321 advances the process to step S603. That is, the CPU 321 arranges the document image area so as to match the far side end of the document image area with the deep position of the reading area regardless of the setting of FIG. 16, and sets it as output image data (step S603). Thereafter, the CPU 321 ends this process.

図18の処理によれば、操作部405を介してユーザが設定した設定内容に従って、読み取り領域内の原稿画像領域の主走査方向位置を決定する。これにより、原稿束Sにおける各原稿sの位置がばらついても、読み取り領域における原稿画像領域の位置をユーザ所望の位置に整合することができる。従って、原稿束Sにおける各原稿sの位置がずれたとしても、ユーザは、あらかじめ設定しようとした位置に原稿画像領域が配置された出力画像データを得ることができる。   According to the processing in FIG. 18, the position in the main scanning direction of the document image area in the reading area is determined in accordance with the setting content set by the user via the operation unit 405. Thereby, even if the position of each document s in the document bundle S varies, the position of the document image area in the reading area can be aligned with the position desired by the user. Therefore, even if the position of each document s in the document bundle S is shifted, the user can obtain output image data in which the document image area is arranged at the position to be set in advance.

第2の実施の形態によれば、原稿トレイ30に載置された原稿について混載が指定されてない場合でも、ユーザの設定内容に従って読み取り領域内の原稿画像領域の配置位置が決定される。これによって、原稿画像領域が読み取り領域よりも小さい場合であっても読み取り領域内の適切な位置に原稿領域が配置された出力画像データを得ることができる。   According to the second embodiment, even when the mixed placement is not designated for the document placed on the document tray 30, the arrangement position of the document image region in the reading region is determined according to the setting contents of the user. Thereby, even when the document image area is smaller than the reading area, output image data in which the document area is arranged at an appropriate position in the reading area can be obtained.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

1 給紙ローラ
2 分離ローラ
3 引抜ローラ
4 搬送ローラ
5 表面読取搬送ローラ
7 裏面読取搬送ローラ
9 排紙ローラ
11 原稿有無センサ
17、18 原稿サイズセンサ
30 原稿トレイ
51 表面読取上流ローラ
52 表面読取下流ローラ
53 裏面読取上流ローラ
54 裏面読取下流ローラ
100 自動原稿給紙装置(ADF)
110 裏面読取用CCDセンサユニット
200 画像読取装置本体(リーダ)
210 表面読取用CCDセンサユニット
500 画像読取装置
DESCRIPTION OF SYMBOLS 1 Paper feed roller 2 Separation roller 3 Pull-out roller 4 Transport roller 5 Front surface reading transport roller 7 Back surface scanning transport roller 9 Paper discharge roller 11 Original presence sensor 17, 18 Original size sensor 30 Original tray 51 Front surface reading upstream roller 52 Front surface reading downstream roller 53 Back scanning upstream roller 54 Back scanning downstream roller 100 Automatic document feeder (ADF)
110 Rear surface reading CCD sensor unit 200 Image reading device main body (reader)
210 CCD sensor unit for surface reading 500 Image reading device

Claims (11)

原稿を載置する原稿トレイと、
前記原稿トレイ上に配置された用紙センサと、
前記原稿トレイに載置された原稿を読取位置まで搬送する搬送手段と、
前記読取位置で前記原稿を読み取って読み取り画像から読み取り領域の大きさで出力される画像データを生成する読取手段と、
前記用紙センサの検知結果に基づいて決定される前記読み取り領域の大きさと、前記読取手段で読み取った読み取り画像とに基づいて前記読み取り領域における原稿画像領域の配置位置を決定する決定手段と、
前記読取手段を制御して、前記画像データを生成する際、前記画像データにおける前記決定手段によって決定された配置位置に前記読取手段で読み取った原稿画像データを配置する制御手段と、
を備えることを特徴とする画像読取装置。
A document tray for placing documents;
A paper sensor disposed on the document tray;
Transport means for transporting a document placed on the document tray to a reading position;
Reading means for reading the original at the reading position and generating image data output from the read image in the size of the reading area;
Determining means for determining an arrangement position of the document image area in the reading area based on the size of the reading area determined based on the detection result of the paper sensor and the read image read by the reading means;
A control unit that controls the reading unit to generate the image data, and arranges document image data read by the reading unit at an arrangement position determined by the determining unit in the image data;
An image reading apparatus comprising:
前記読み取り領域は、前記原稿を含む原稿束における最大の原稿サイズと同じ大きさであることを特徴とする請求項1記載の画像読取装置。   2. The image reading apparatus according to claim 1, wherein the reading area has the same size as a maximum document size in a document bundle including the documents. 前記原稿、及び前記原稿画像領域は、前記読み取り領域よりも小さいことを特徴とする請求項1又は2記載の画像読取装置。   3. The image reading apparatus according to claim 1, wherein the original and the original image area are smaller than the reading area. 前記原稿束は、大きさの異なる原稿が混載された原稿束であって、前記画像読取装置は、前記原稿束が大きさの異なる原稿が混載された原稿束である旨の設定がなされていないことを特徴とする請求項2又は3記載の画像読取装置。   The original bundle is an original bundle in which originals of different sizes are mixed, and the image reading apparatus is not set to indicate that the original bundle is an original bundle of mixed originals of different sizes. The image reading apparatus according to claim 2, wherein the image reading apparatus is an image reading apparatus. 前記決定手段は、前記読み取り画像における前記原稿画像領域の原稿搬送方向に直交する方向の中心位置と、前記読み取り領域の原稿搬送方向に直交する方向の中心位置とのずれ幅が閾値以内である場合、前記原稿画像領域の原稿搬送方向に直交する方向の中心位置と、前記読み取り領域の原稿搬送方向に直交する方向の中心位置とが一致するように前記読み取り領域における前記原稿画像領域の配置位置を決定することを特徴とする請求項1乃至4のいずれか1項に記載の画像読取装置。   The determining unit is configured such that a deviation width between a center position of the read image in a direction orthogonal to the document transport direction and a center position of the read area in a direction orthogonal to the document transport direction is within a threshold value. The arrangement position of the original image area in the reading area is such that the center position of the original image area in the direction orthogonal to the original conveying direction matches the central position of the reading area in the direction orthogonal to the original conveying direction. The image reading apparatus according to claim 1, wherein the image reading apparatus is determined. 前記決定手段は、前記読み取り画像における前記原稿画像領域の原稿搬送方向の奥側端と、前記読み取り領域の原稿搬送方向の奥側端とのずれ幅が閾値以内である場合、前記原稿画像領域の奥側端と、前記読み取り領域の奥側端とが一致するように前記読み取り領域における前記原稿画像領域の配置位置を決定することを特徴とする請求項1乃至4のいずれか1項に記載の画像読取装置。   The determining unit determines whether the deviation of the original image area in the original document image area in the original document conveyance direction and the inner edge of the read area in the original document conveyance direction is within a threshold value. 5. The arrangement position of the document image area in the reading area is determined so that a back side edge and a back side edge of the reading area coincide with each other. 6. Image reading device. 前記決定手段は、前記読み取り画像における前記原稿画像領域の原稿搬送方向の手前側端と、前記読み取り領域の原稿搬送方向の手前側端とのずれ幅が閾値以内である場合、前記原稿画像領域の手前側端と、前記読み取り領域の手前側端とが一致するように前記読み取り領域における前記原稿画像領域の配置位置を決定することを特徴とする請求項1乃至4のいずれか1項に記載の画像読取装置。   The determination unit determines whether the document image area of the original image area is within a threshold when a deviation width between the front end of the original image area in the original conveyance direction and the front end of the reading area in the original conveyance direction is within a threshold value. 5. The arrangement position of the document image area in the reading area is determined so that a front side edge and a front side edge of the reading area coincide with each other. 6. Image reading device. 前記決定手段は、前記原稿画像領域の原稿搬送方向に直交する方向の中心位置と、前記読み取り領域の原稿搬送方向に直交する方向の中心位置とのずれ幅が閾値以内であるか否か判定し、次いで、前記原稿画像領域の原稿搬送方向の奥側端と、前記読み取り領域の原稿搬送方向の奥側端とのずれ幅が閾値以内であるか否か判定し、さらに、前記原稿画像領域の原稿搬送方向の手前側端と、前記読み取り領域の原稿搬送方向の手前側端とのずれ幅が閾値以内であるか否か判定し、最初に、前記ずれ幅が閾値以内であった場合の条件に従って前記読み取り領域における前記原稿画像領域の配置位置を決定することを特徴とする請求項5乃至7のいずれか1項に記載の画像読取装置。   The determination unit determines whether a deviation width between a center position of the document image area in a direction orthogonal to the document conveyance direction and a center position of the reading area in a direction orthogonal to the document conveyance direction is within a threshold value. Next, it is determined whether or not a deviation width between the back side end of the document image area in the document transport direction and the back side edge of the reading area in the document transport direction is within a threshold value, and further, the document image area It is determined whether or not the deviation width between the near side edge in the document conveyance direction and the near edge in the document conveyance direction of the reading area is within a threshold value. First, the condition when the deviation width is within the threshold value The image reading apparatus according to claim 5, wherein an arrangement position of the document image area in the reading area is determined according to the above. 前記閾値を設定する閾値設定手段を備えることを特徴とする請求項5乃至8のいずれか1項に記載の画像読取装置。   The image reading apparatus according to claim 5, further comprising a threshold setting unit configured to set the threshold. 原稿を載置する原稿トレイと、前記原稿トレイ上に配置された用紙センサと、前記原稿トレイに載置された原稿を読取位置まで搬送する搬送手段と、前記読取位置で前記原稿を読み取って読み取り画像から読み取り領域の大きさで出力される画像データを生成する読取手段とを備える画像読取装置の制御方法であって、
前記用紙センサの検知結果に基づいて決定される読み取り領域の大きさと、前記読取手段で読み取った読み取り画像とに基づいて前記読み取り領域における原稿画像領域の配置位置を決定する決定工程と、
前記読取手段を制御して、前記画像データを生成する際、前記読み取り領域内の前記決定工程によって決定された配置位置に前記読取手段で読み取った原稿画像データを配置する制御工程と、
を有することを特徴とする画像読取装置の制御方法。
A document tray on which a document is placed, a paper sensor disposed on the document tray, a transport unit that transports a document placed on the document tray to a reading position, and reads and reads the document at the reading position A method for controlling an image reading apparatus comprising reading means for generating image data output from an image in the size of a reading area,
A determination step of determining an arrangement position of the document image area in the reading area based on the size of the reading area determined based on the detection result of the paper sensor and the read image read by the reading unit;
A control step of arranging the document image data read by the reading unit at the arrangement position determined by the determination step in the reading region when the reading unit is controlled to generate the image data;
An image reading apparatus control method comprising:
コンピュータで読み取り可能な記憶媒体であって、請求項10記載の画像読取装置の制御方法をコンピュータに実行させるためのプログラムを格納することを特徴とする記憶媒体。   A computer-readable storage medium storing a program for causing a computer to execute the control method of the image reading apparatus according to claim 10.
JP2018049531A 2018-03-16 2018-03-16 Image reading apparatus, control method thereof, and storage medium Pending JP2019161594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018049531A JP2019161594A (en) 2018-03-16 2018-03-16 Image reading apparatus, control method thereof, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018049531A JP2019161594A (en) 2018-03-16 2018-03-16 Image reading apparatus, control method thereof, and storage medium

Publications (1)

Publication Number Publication Date
JP2019161594A true JP2019161594A (en) 2019-09-19

Family

ID=67996424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018049531A Pending JP2019161594A (en) 2018-03-16 2018-03-16 Image reading apparatus, control method thereof, and storage medium

Country Status (1)

Country Link
JP (1) JP2019161594A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021100220A (en) * 2019-12-23 2021-07-01 キヤノン株式会社 Image processing device and image processing method
JP2023013270A (en) * 2021-07-15 2023-01-26 キヤノン株式会社 Image reader

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021100220A (en) * 2019-12-23 2021-07-01 キヤノン株式会社 Image processing device and image processing method
JP7482625B2 (en) 2019-12-23 2024-05-14 キヤノン株式会社 IMAGE PROCESSING APPARATUS, CONTROL METHOD FOR IMAGE PROCESSING APPARATUS, AND PROGRAM
JP2023013270A (en) * 2021-07-15 2023-01-26 キヤノン株式会社 Image reader
JP7685898B2 (en) 2021-07-15 2025-05-30 キヤノン株式会社 Image reader

Similar Documents

Publication Publication Date Title
US10771647B2 (en) Image reading apparatus and image forming apparatus
JP4974754B2 (en) Image reading device
JP7614830B2 (en) Image reader
JP7134794B2 (en) IMAGE READING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE READING DEVICE
JP6397238B2 (en) Image processing apparatus, image processing apparatus control method, program, and storage medium
US8390876B2 (en) Apparatus, method, and computer program product for reading image displayed on electrical paper based on selected size of paper or image
JP2006335516A (en) Sheet skew correcting and conveying apparatus and image forming apparatus
JP2025182152A (en) Image processing device, control method for image processing device, and program
JP6361620B2 (en) Reading apparatus and image forming apparatus provided with the same
JP2000184145A (en) Image reading device
JP7066424B2 (en) Image reader
JP2019161594A (en) Image reading apparatus, control method thereof, and storage medium
CN113472963B (en) Image reading apparatus, image reading method, image reading system, and storage medium
JP2019201242A (en) Image reading apparatus
JP4380473B2 (en) Image processing device
JP2018133693A (en) Document feeder and image forming apparatus
JP2020005069A (en) Image reading device
JP2018186365A (en) Image reading device
JP7423246B2 (en) Original reading device
JP2017193420A (en) Image formation system and image formation apparatus
JP2006312512A (en) Sheet skew correcting and conveying apparatus and image forming apparatus
JP2005079613A (en) Image forming apparatus
JP2021024711A (en) Image reading apparatus
JP2020061627A (en) Image reading device, image reading method
JP7320961B2 (en) sheet conveying device