JP2023096791A - Document reading device - Google Patents

Document reading device Download PDF

Info

Publication number
JP2023096791A
JP2023096791A JP2021212781A JP2021212781A JP2023096791A JP 2023096791 A JP2023096791 A JP 2023096791A JP 2021212781 A JP2021212781 A JP 2021212781A JP 2021212781 A JP2021212781 A JP 2021212781A JP 2023096791 A JP2023096791 A JP 2023096791A
Authority
JP
Japan
Prior art keywords
document
size
reading
standard
unit
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
JP2021212781A
Other languages
Japanese (ja)
Inventor
英幸 廣
Hideyuki Ko
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2021212781A priority Critical patent/JP2023096791A/en
Publication of JP2023096791A publication Critical patent/JP2023096791A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

To provide a document reading device capable of automatically reading documents in various sizes including non-standard document sizes without missing document regions of the documents.SOLUTION: A document reading device comprises: a document size determination unit for determining whether a size of a placed document corresponds to which one of a plurality of standard sizes in a preliminary manner on a first stage on the basis of, document size information relating to a combination of a longitudinal length and a lateral length detected by a document size detection unit; and a document region determination unit. On a second stage after the first stage, the document size determination unit determines whether the size of the document is a standard size or a non-standard size on the basis of the standard size detected on the first stage and the document size information. The document region determination unit decides a reading region of the document in a mode different from a document determined as a standard size for a document which is determined as a non-standard size by the document size determination unit.SELECTED DRAWING: Figure 3

Description

この発明は、原稿の原稿サイズを判別し原稿領域を決定する読取可能な原稿読取装置に関する。 The present invention relates to a document reading apparatus capable of reading a document by discriminating the document size of the document and determining the document area.

複合機やイメージスキャナ等の原稿読取装置では、原稿を読み取る態様として、原稿台に置かれた原稿をスキャンするモード(プラテンモード)と原稿送り装置で原稿を搬送して読み取るモード(フィーダーモード)が使い分けられている。何れも、原稿サイズを入力または検出して原稿領域のみを読み取るようにしている。そのために原稿サイズを検出する機能を有する原稿読取装置も多い。原稿読取装置が検出可能な原稿サイズは通常、例えばA3、A4、A5や11"×17"、8.5"×11"、5.5"×8.5"等の所謂定形サイズに限られる。非定形のサイズ(不定形サイズ)を読み取るには手動で原稿の縦横サイズを入力する手段等が用意されている。 In document reading devices such as multifunction devices and image scanners, there are two modes for reading documents: a mode in which the document placed on the document platen is scanned (platen mode), and a mode in which the document is conveyed by the document feeder and read (feeder mode). It is used properly. In either case, the document size is input or detected, and only the document area is read. For this reason, many document reading apparatuses have a function of detecting the document size. Document sizes that can be detected by the document reader are usually limited to so-called standard sizes such as A3, A4, A5, 11″×17″, 8.5″×11″, and 5.5″×8.5″. A means for manually inputting the vertical and horizontal sizes of a document is prepared for reading an irregular size (irregular size).

不定形サイズの原稿を読み取ることは稀であるとしても、その際に手動で原稿サイズを入力するのは煩雑である。不定形のサイズであっても正確な原稿サイズを検出することができれば、煩雑な入力の手間が省けて便宜である。
不定形サイズであっても正確な原稿サイズを検出できるようにする手段として、背景色板を一般的な白色でなく、例えばグレー色として読み取られた原稿の画像から背景色板に対応する領域をクロップする処理が考えられる。これは、一般的な原稿の縁部が用紙の地色と同じ白色であると想定し、原稿縁部の白色と背景色板のグレー色との濃度差に基づいて原稿の輪郭を判別するものである。
ただし、背景色板をグレー色とすることには負の側面もある。グレー色の背景色板を用いて薄い用紙の原稿を読み取ると、背景色板のグレー色が幾分か透けて表れ、その影響で原稿の用紙が淡いグレーであるかのように読み取られる場合がある。
Even if it is rare to read an irregular size document, it is troublesome to manually input the document size. If the document size can be detected accurately even if the document size is irregular, it is convenient because it saves troublesome input.
As a means of detecting the correct size of a document even if it is a non-standard size, the area corresponding to the background color plate is extracted from the image of the document scanned with the background color plate, for example, gray instead of the general white color. Cropping processing can be considered. This method assumes that the edges of a general document are white, the same color as the background color of the paper, and determines the outline of the document based on the density difference between the white at the edges of the document and the gray color of the background color plate. is.
However, making the background color plate gray also has a negative side. If you use a gray background color plate to scan a thin paper document, the gray color of the background color plate may show through to some extent, and as a result, the document paper may be read as if it were light gray. be.

原稿読取装置にて原稿の原稿領域を検出することに関し、以下の技術が知られている。
読み取り対象の原稿のサイズを特定できない場合(不定形原稿の場合)、最大読取領域で原稿を読み取り、得られた画像データから原稿の画像データを切り出すクロップ処理を行い、その切り出された原稿の画像データをファイル化する(例えば、特許文献1)。
また、ユーザーが原稿の置き直しを繰り返した場合、あるいは検知原稿サイズの確定に手間取った場合、検知原稿サイズが誤っている可能性があると判断し、手動サイズ設定画面または仕向け地設定画面を表示してユーザーに操作を促す(例えば、特許文献2)。
The following techniques are known for detecting a document area of a document in a document reading device.
If the size of the document to be scanned cannot be specified (in the case of an irregular size document), the document is scanned in the maximum scanning area, cropping is performed to cut out the image data of the document from the obtained image data, and the image of the cropped document is processed. File the data (for example, Patent Document 1).
Also, if the user repeatedly repositions the document, or if it takes time to determine the detected document size, it is determined that the detected document size may be incorrect, and the manual size setting screen or the destination setting screen is displayed. to prompt the user to operate (for example, Patent Document 2).

特開2019-36891号公報JP 2019-36891 A 特開2012-222764号公報JP 2012-222764 A

特許文献1の場合、必要となるメモリ容量が大きくなると共に、クロップ処理に時間がかかってしまう。
また、特許文献2の場合、ユーザーが手動で原稿サイズを入力操作しなければならず煩雑である。
この発明は、以上のような事情を考慮してなされたものであって、不定形原稿サイズを含む様々なサイズの原稿の原稿領域を欠けることなく自動的に読取可能な原稿読取装置を提供するものである。
In the case of Japanese Patent Application Laid-Open No. 2002-200013, the required memory capacity increases and the crop processing takes time.
Further, in the case of Patent Document 2, the user has to manually input the document size, which is complicated.
SUMMARY OF THE INVENTION The present invention has been made in view of the circumstances described above, and provides a document reader capable of automatically reading document areas of various sizes including irregular document sizes without lacking. It is.

この発明(第1の発明)は、
原稿を読み取る原稿読取部と、
原稿を載置し、載置された原稿を前記原稿読取部に向けた原稿搬送方向に搬送する原稿搬送部と、
複数の定形原稿のそれぞれの長辺長さと短辺長さに係る定形サイズを予め記憶する記憶部と、
載置された原稿の前記原稿搬送方向に沿う縦長さおよび前記原稿搬送方向と直交する方向の横長さを検知する原稿サイズ検知部と、
前記原稿サイズ検知部にて検知された前記縦長さおよび横長さの組合せに係る原稿サイズ情報に基づいて、載置された原稿のサイズが複数の前記定形サイズのいずれに相当するかを第1段階で予備的に判定する原稿サイズ判定部と、
原稿領域判定部とを備え、
前記原稿サイズ判定部は、前記第1段階後の第2段階において、前記第1段階で判定した定形サイズと、前記原稿サイズ情報とに基づいて、原稿のサイズが定形サイズであるか不定形サイズであるかを判定し、
前記原稿領域判定部は、前記原稿サイズ判定部が不定形サイズと判定した原稿は定形サイズと判定した原稿と異なるモードで前記原稿の読取領域を決定する、原稿読取装置を提供する。
This invention (first invention) is
a document reading unit for reading a document;
a document transport unit for placing a document and transporting the placed document in a document transport direction toward the document reading unit;
a storage unit for pre-storing standard sizes related to long side lengths and short side lengths of a plurality of standard size originals;
a document size detection unit that detects the vertical length of the placed document along the document transport direction and the horizontal length of the document in a direction orthogonal to the document transport direction;
In a first step, it is determined to which of the plurality of standard sizes the size of the placed document corresponds based on the document size information relating to the combination of the vertical length and the horizontal length detected by the document size detection unit. A document size determination unit that makes a preliminary determination with
and a document area determination unit,
In a second step after the first step, the document size determination unit determines whether the size of the document is a standard size or a non-standard size based on the standard size determined in the first step and the document size information. and determine whether
The document area determination unit determines the reading area of the document in a mode different from that of the document determined to be of a fixed size by the document size determination unit to determine a document of irregular size.

また、この発明(第2の発明)は、
原稿を読み取る原稿読取部と、
原稿を載置し、載置された原稿を前記原稿読取部に向けた原稿搬送方向に搬送する原稿搬送部と、
原稿に係る複数の定形サイズのそれぞれの縦長さと横長さを予め記憶する記憶部と、
載置された原稿の前記原稿搬送方向に沿う縦長さおよび前記原稿搬送方向と直交する方向の横長さを検知する原稿サイズ検知部と、
原稿のサイズを判定する原稿サイズ判定部と、
原稿領域判定部とを備え、
前記記憶部は、各定形サイズの縦長さおよび横長さとしてそれぞれ1以上の刻み段階で長さを記憶し、
前記原稿サイズ検知部は、原稿の少なくとも縦長さおよび横長さの何れかについて前記定形サイズの種類数より多い刻み段階で長さを検知し、
前記原稿サイズ判定部は、前記原稿サイズ検知部にて検知された前記縦長さおよび横長さの組合せに係る原稿サイズ検知情報に基づいて、載置された原稿のサイズが何れかの前記定形サイズに相当するか何れにも相当しない不定形サイズかを判定し、
前記原稿領域判定部は、前記原稿サイズ判定部が不定形サイズと判定した原稿は定形サイズと判定した原稿と異なるモードで前記原稿の読取領域を決定する、原稿読取装置を提供する。
Moreover, this invention (second invention) is
a document reading unit for reading a document;
a document transport unit for placing a document and transporting the placed document in a document transport direction toward the document reading unit;
a storage unit that stores in advance the vertical length and horizontal length of each of a plurality of standard sizes related to a document;
a document size detection unit that detects the vertical length of the placed document along the document transport direction and the horizontal length of the document in a direction orthogonal to the document transport direction;
a document size determination unit that determines the size of a document;
and a document area determination unit,
The storage unit stores lengths in one or more increments as the vertical length and horizontal length of each standard size, and
The document size detection unit detects the length of at least one of the vertical length and the horizontal length of the document in increments greater than the number of types of the standard sizes,
The document size determination section determines the size of the placed document as one of the standard sizes based on the document size detection information relating to the combination of the vertical length and the horizontal length detected by the document size detection section. Determine whether it is an irregular size that corresponds to or does not correspond to either,
The document area determination unit determines the reading area of the document in a mode different from that of the document determined to be of a fixed size by the document size determination unit to determine a document of irregular size.

第1および第2の発明に係る原稿読取装置によれば、不定形サイズを含む様々なサイズの原稿の画像を欠けることなく自動的に読取可能である。原稿が不定形サイズの場合に最大読取領域で読み取る方式に比べて読み取り時間の短縮、メモリ容量の削減、クロップ処理時間の短縮等を図ることができる。また、不定形サイズの原稿であってもユーザーによる手動での原稿サイズ入力操作を省略し得る。 According to the document reading apparatuses according to the first and second aspects of the invention, it is possible to automatically read images of documents of various sizes including non-standard size without lacking. In the case of an irregular size document, the reading time can be shortened, the memory capacity can be reduced, the crop processing time can be shortened, etc. compared to the method of reading in the maximum reading area. In addition, manual size input operation by the user can be omitted even if the document is of an irregular size.

この実施形態における原稿読取装置の一態様として、複合機の外観の一部を示す斜視図である。(原稿搬送部を閉じた状態)1 is a perspective view showing a part of the appearance of a multi-function peripheral as one aspect of a document reading device in this embodiment; FIG. (When the document feeder is closed) この実施形態における原稿読取装置の一態様として、複合機の外観の一部を示す斜視図である。(原稿搬送部を開いた状態)1 is a perspective view showing a part of the appearance of a multi-function peripheral as one aspect of a document reading device in this embodiment; FIG. (with the document feeder open) 図1および図2に示す複合機の全体構成を示すブロック図である。FIG. 3 is a block diagram showing the overall configuration of the MFP shown in FIGS. 1 and 2; FIG. 図1に示す複合機の原稿読取装置における原稿読取部および原稿搬送部の概略構成を示す説明図である。2 is an explanatory diagram showing a schematic configuration of a document reading unit and a document conveying unit in the document reading device of the multifunction machine shown in FIG. 1; FIG. 図1に示す複合機の原稿読取装置における原稿読取部の概略構成を示す斜視図である。2 is a perspective view showing a schematic configuration of a document reading unit in the document reading device of the multifunction machine shown in FIG. 1; FIG. 図1に示す複合機の原稿読取装置の平面図である。2 is a plan view of the document reading device of the multifunction machine shown in FIG. 1; FIG. 主な定形原稿の原稿サイズ情報を示す図である。FIG. 10 is a diagram showing document size information of main standard size documents; 原稿ガイドの間隔が原稿の横長さと一致した場合の説明図である。FIG. 10 is an explanatory diagram of a case where the interval between document guides matches the horizontal length of the document; 原稿ガイドの間隔が原稿の横長さよりも広い場合の第1の説明図である。FIG. 10 is a first explanatory view when the interval between the document guides is wider than the horizontal length of the document; 原稿ガイドの間隔が原稿の横長さよりも広い場合の第2の説明図である。FIG. 10 is a second explanatory view when the interval between the document guides is wider than the horizontal length of the document; 原稿ガイドの間隔が原稿の横長さよりも狭い場合の第1の説明図である。FIG. 11 is a first explanatory view when the interval between the document guides is narrower than the horizontal length of the document; 原稿ガイドの間隔が原稿の横長さよりも狭い場合の第2の説明図である。FIG. 10 is a second explanatory view when the interval between the document guides is narrower than the horizontal length of the document; 各種定形原稿に関する原稿検知サイズテーブルの一例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of a document detection size table regarding various standard size documents; 各種定形原稿に関する直交方向の横長さ(基準値幅)を示す説明図である。FIG. 10 is an explanatory diagram showing lateral lengths (reference value widths) in the orthogonal direction for various standard size originals; 第1実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。6 is a flowchart showing document reading processing executed by a control unit in the first embodiment. AB系定形原稿に関する原稿検知サイズテーブルの一例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of a document detection size table for AB standard size documents; INCH系定形原稿に関する原稿検知サイズテーブルの一例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of a document detection size table regarding INCH standard size documents; AB系定形原稿に関する直交方向の横長さ(基準値)を示す説明図である。FIG. 10 is an explanatory diagram showing the horizontal length (reference value) in the orthogonal direction for an AB standard size document; INCH系定形原稿に関する直交方向の横長さ(基準値)を示す説明図である。FIG. 10 is an explanatory diagram showing the horizontal length (reference value) in the orthogonal direction for an INCH-based fixed-size document; 第2実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。9 is a flowchart showing document reading processing executed by a control unit in the second embodiment. 第3実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。FIG. 11 is a flowchart showing document reading processing executed by a control unit in the third embodiment; FIG. 第4実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。FIG. 14 is a flowchart showing document reading processing executed by a control unit in the fourth embodiment; FIG. 第5実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。FIG. 14 is a flowchart showing document reading processing executed by a control unit in the fifth embodiment; FIG. 第5実施形態において、表示デバイスに表示されたユーザー設定画面の第1例を示している。FIG. 11 shows a first example of a user setting screen displayed on a display device in the fifth embodiment; FIG. 第5実施形態において、表示デバイスに表示されたユーザー設定画面の第2例を示している。FIG. 15 shows a second example of a user setting screen displayed on the display device in the fifth embodiment; FIG. 第5実施形態において、表示デバイスに表示されたユーザー設定画面の第3例を示している。FIG. 15 shows a third example of a user setting screen displayed on the display device in the fifth embodiment; FIG. 第6実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。FIG. 16 is a flowchart showing document reading processing executed by a control unit in the sixth embodiment; FIG. 第6実施形態において、表示デバイスに表示されたユーザー設定画面の第1例を示している。FIG. 11 shows a first example of a user setting screen displayed on a display device in the sixth embodiment; FIG. 第6実施形態において、表示デバイスに表示されたユーザー設定画面の第2例を示している。FIG. 13 shows a second example of a user setting screen displayed on the display device in the sixth embodiment; FIG. 第6実施形態において、表示デバイスに表示されたユーザー設定画面の第3例を示している。FIG. 13 shows a third example of a user setting screen displayed on the display device in the sixth embodiment; FIG. 第6実施形態において、表示デバイスに表示されたユーザー設定画面の第4例を示している。FIG. 14 shows a fourth example of a user setting screen displayed on the display device in the sixth embodiment; FIG. 第6実施形態において、表示デバイスに表示されたユーザー設定画面の第5例を示している。FIG. 15 shows a fifth example of a user setting screen displayed on the display device in the sixth embodiment; FIG. 第7実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。FIG. 12 is a flowchart showing document reading processing executed by a control unit in the seventh embodiment; FIG.

以下、図面を用いてこの発明をさらに詳述する。なお、以下の説明は、すべての点で例示であって、この発明を限定するものと解されるべきではない。 The present invention will be described in further detail below with reference to the drawings. It should be noted that the following description is illustrative in all respects and should not be construed as limiting the present invention.

(第1実施形態)
≪原稿読取装置の構成≫
まず、この実施形態における原稿読取装置について述べる。
図1および図2は、この実施形態における原稿読取装置の一態様として、複合機の外観の一部を示す斜視図である。原稿の読み取りに関する部分を示している。図1は原稿搬送部を閉じた状態であり、図2は、原稿搬送部を開いて原稿台が露出した状態である。図3は、図1および図2に示す複合機の全体構成を示すブロック図である。
図3のブロック図に示すように、複合機100は、制御部11、原稿読取装置12、記憶部としての記憶デバイス13、画像形成部としての画像形成ユニット14、ユーザーインターフェース・ユニット19(UIユニットともいう)、通信回路21および画像処理回路40を備える。
(First embodiment)
<<Structure of document reader>>
First, the document reader in this embodiment will be described.
1 and 2 are perspective views showing a part of the appearance of a multi-function peripheral as one aspect of the document reading device according to this embodiment. The part related to the reading of the manuscript is shown. 1 shows a state in which the document conveying section is closed, and FIG. 2 shows a state in which the document conveying section is opened and the document table is exposed. FIG. 3 is a block diagram showing the overall configuration of the MFP shown in FIGS. 1 and 2. As shown in FIG.
As shown in the block diagram of FIG. 3, the MFP 100 includes a control section 11, a document reading device 12, a storage device 13 as a storage section, an image forming unit 14 as an image forming section, a user interface unit 19 (UI unit ), a communication circuit 21 and an image processing circuit 40 .

制御部11は、UI制御部11U、ファイル制御部11F、ジョブ管理部11J、ジョブ実行部11X、画像処理制御部11P、通信制御部11Cおよび読取制御部11Sを含む。制御部11は、複合機100の制御を行う。
原稿読取装置12は、原稿を読み取る原稿読取部としてのスキャナーユニット15と、原稿搬送部としての原稿送り装置16と、原稿サイズ検知部10とを含む。
UIユニット19は、タッチパネル等の操作入力デバイス19Iと、表示部としての表示デバイス19Dとを含む。
画像処理回路40は、入力処理回路41と、原稿領域判定部としての原稿領域判定回路45と、出力画像生成回路47とを含む。
Control portion 11 includes UI control portion 11U, file control portion 11F, job management portion 11J, job execution portion 11X, image processing control portion 11P, communication control portion 11C, and reading control portion 11S. The control unit 11 controls the MFP 100 .
The document reading device 12 includes a scanner unit 15 as a document reading section for reading a document, a document feeding device 16 as a document conveying section, and a document size detection section 10 .
The UI unit 19 includes an operation input device 19I such as a touch panel and a display device 19D as a display section.
The image processing circuit 40 includes an input processing circuit 41 , a document area determination circuit 45 as a document area determination section, and an output image generation circuit 47 .

図1に示すように、UIユニット19は、複合機100の筐体上に設けられる。
操作入力デバイス19Iは、表示デバイス19Dの表示画面に対するユーザーの操作を検出する。表示デバイス19Dは、例えば、液晶ディスプレイ装置で構成されており、UI制御部11Uの制御に従った画面を表示する。
UI制御部11Uは、操作入力デバイス19Iが検出する操作の信号を認識して表示デバイス19Dに表示された画面の何れの要素に対する操作がなされたかを認識する。
ファイル制御部11FはHDDなどの記憶デバイスへのファイルの保存や読み出し、メモリ等の記憶デバイスへのファイルの展開などを行う。
As shown in FIG. 1, the UI unit 19 is provided on the housing of the MFP 100 .
The operation input device 19I detects a user's operation on the display screen of the display device 19D. The display device 19D is composed of, for example, a liquid crystal display device, and displays a screen according to the control of the UI control section 11U.
The UI control unit 11U recognizes an operation signal detected by the operation input device 19I and recognizes which element of the screen displayed on the display device 19D has been operated.
The file control unit 11F saves and reads files to and from a storage device such as an HDD, and develops files to a storage device such as a memory.

ジョブ管理部11Jは、コピージョブ、スキャナージョブあるいはプリントジョブ等の各種ジョブの登録や削除、停止の処理を行う。ジョブ管理部11Jに登録されたジョブが実行可能な状態になると、ジョブ管理部11Jはジョブ実行部11Xにジョブの実行開始を要求する。
ジョブ実行部11Xは、ジョブ管理部11Jによって登録されたジョブの実行開始の可否を判定したり、設定に応じたジョブを画像形成ユニット14、スキャナーユニット15および画像処理回路40に実行させたりする。ジョブ実行部11Xは、スキャナーユニット15および画像形成ユニット14に配置された図示しないセンサが検出した状態を認識する。そして、スキャナーユニット15および画像形成ユニット14に配置された図示しないモータ、アクチュエータ、デバイス等の動作を制御する。また、画像処理制御部11Pは、画像処理回路40の画像に係る処理を制御する。そして、原稿の画像の読み取り、印刷およびプレビュー等、ジョブに係る処理を実行する。
読取制御部11Sは、定形サイズを読み取るモードにおいては各定形サイズに応じて予め定められた領域を読取領域とし、不定形サイズを読み取るモードにおいては原稿を読み取った画像から原稿の境界を判断して原稿領域を切り出すように、原稿領域判定回路45を制御する。
また、読取制御部11Sは、原稿サイズ検知部10にて検知された原稿の縦長さおよび横長さの組合せに係る原稿サイズ情報に基づいて、載置された原稿のサイズが複数の定形サイズのいずれに相当するかを第1段階で予備的に判定する。即ち、第1段階では原稿サイズ検知部10にて検知された原稿のサイズを何れかの定形サイズに紐付ける判定を行う。さらに、読取制御部11Sは、前記第1段階後の第2段階において、前記第1段階で判定した定形サイズと、前記原稿サイズ情報とに基づいて、原稿のサイズが定形サイズであるか不定形サイズであるかを判定する。原稿サイズ検知部10は、原稿の少なくとも縦長さおよび横長さの何れかについて前記定形サイズの種類数より多い刻み段階で長さを検出する。この実施形態では、原稿の横長さを検知する原稿ガイド10aが、検知可能な複数の定形サイズの横長さの種類数より多い刻み段階(例えば、0.1mm単位)で横長さを検出する。そして、例えば前記第1段階で紐付けた定形サイズの横長さと原稿ガイド10aが検出した原稿の横長さとの間に、所定の許容値の範囲を超える差がある場合は原稿が不定形サイズであると判定する。
The job management unit 11J registers, deletes, and stops various jobs such as copy jobs, scanner jobs, and print jobs. When the job registered in the job management section 11J becomes executable, the job management section 11J requests the job execution section 11X to start executing the job.
The job execution section 11X determines whether or not to start execution of the job registered by the job management section 11J, and causes the image forming unit 14, the scanner unit 15, and the image processing circuit 40 to execute the job according to the settings. The job executing section 11X recognizes the states detected by sensors (not shown) arranged in the scanner unit 15 and the image forming unit 14 . Then, it controls the operations of motors, actuators, devices, etc. (not shown) arranged in the scanner unit 15 and the image forming unit 14 . Further, the image processing control unit 11</b>P controls image processing of the image processing circuit 40 . Then, it executes processing related to the job, such as reading the image of the document, printing, and previewing.
The reading control unit 11S uses a predetermined area for each standard size as the reading area in the mode for reading the standard size, and determines the boundary of the document from the image read from the document in the mode for reading the irregular size. The document area determination circuit 45 is controlled so as to cut out the document area.
Based on the document size information regarding the combination of the vertical length and the horizontal length of the document detected by the document size detection unit 10, the reading control unit 11S determines which of a plurality of standard sizes the size of the placed document is. A preliminary determination is made in the first stage as to whether it corresponds to That is, in the first step, it is determined that the size of the document detected by the document size detection unit 10 is associated with one of the standard sizes. Further, in the second step after the first step, the reading control unit 11S determines whether the size of the document is a fixed size or irregular size based on the standard size determined in the first step and the document size information. Determine if it is the size. The document size detection unit 10 detects the length of at least one of the vertical length and the horizontal length of the document in steps greater than the number of standard size types. In this embodiment, the document guide 10a for detecting the horizontal length of the document detects the horizontal length in more increments (for example, 0.1 mm units) than the number of detectable types of horizontal lengths of a plurality of standard sizes. For example, if there is a difference exceeding the range of a predetermined allowable value between the width of the standard size linked in the first step and the width of the document detected by the document guide 10a, the document is of irregular size. I judge.

制御部11は、具体的な構成態様として、例えばCPU(Central Processing Unit)あるいはMPU(Micro Processing Unit)のプロセッサを中心に構成される。プロセッサに加えて、ワークメモリ、入出力インターフェース回路、タイマ回路等のハードウェア資源で構成される。前記プロセッサが記憶デバイス13に予め格納された制御プログラムを実行することによって操作の認識、表示の制御、原稿画像の読取りや画像の印刷等に係る各種のジョブ、即ち、画像形成に係る一連の処理を実行する。ソフトウェア資源とハードウェア資源とが協働して制御部11としての機能が実現される。 As a specific configuration mode, the control unit 11 is configured mainly by a processor such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), for example. In addition to the processor, it consists of hardware resources such as a work memory, an input/output interface circuit, and a timer circuit. Various jobs related to recognition of operations, control of display, reading of original images, printing of images, etc., that is, a series of processes related to image formation, are performed by the processor executing a control program stored in the storage device 13 in advance. to run. The functions of the control unit 11 are realized through the cooperation of software resources and hardware resources.

記憶デバイス13は、DRAM等の揮発性メモリおよびHDDやフラッシュメモリ等の不揮発性メモリを備える。記憶デバイス13は、プロセッサが実行する制御プログラムやスキャナーユニット15が読み取り、画像処理回路40が処理する画像を格納する。さらに、ファイル制御部11F、ジョブ管理部11J、ジョブ実行部11X、画像処理制御部11Pの制御に係るデータを格納する。また、記憶デバイス13は、複数の定形原稿のそれぞれの長辺長さと短辺長さに係る定形サイズ(詳しくは後述する)を予め記憶する。なお、記憶デバイス13は、制御部11のメモリと一体に構成されてもよい。 The storage device 13 includes volatile memory such as DRAM and nonvolatile memory such as HDD and flash memory. The storage device 13 stores control programs executed by the processor and images read by the scanner unit 15 and processed by the image processing circuit 40 . Further, it stores data related to the control of the file control section 11F, the job management section 11J, the job execution section 11X, and the image processing control section 11P. In addition, the storage device 13 stores in advance standard sizes (details will be described later) related to the lengths of the long sides and the lengths of the short sides of each of a plurality of standard size originals. Note that the storage device 13 may be configured integrally with the memory of the control section 11 .

制御部11と画像形成ユニット14とはデータ転送可能に接続され、制御部11とスキャナーユニット15とはデータ転送可能に接続されている。
通信回路21は、ネットワークを介して外部の機器とデータの通信を行うための回路である。
図1および図2に示すように、複合機100は、原稿を載置し、載置された原稿をスキャナーユニット(原稿読取部)15に向けた原稿搬送方向A(図6参照)に搬送する原稿送り装置(原稿搬送部)16を画像形成ユニット14上に備える。
また、複合機100は、原稿送り装置16を上方に開けると露出する原稿台17を画像形成ユニット14に備える。原稿台17は、透明なガラス板で構成され、スキャナーユニット15の天面に配置される。また図2に示すように、原稿台17の左端の隣にオモテ面読取窓18が配置されている。オモテ面読取窓18は、原稿台17と同様に透明なガラス板で構成されている。原稿送り装置16の下面には、オモテ面背景色板51が配置されている。原稿送り装置16を閉じると、オモテ面読取窓18とオモテ面背景色板51とは対向する位置になる。
The control section 11 and the image forming unit 14 are connected so as to be able to transfer data, and the control section 11 and the scanner unit 15 are connected so as to be able to transfer data.
The communication circuit 21 is a circuit for communicating data with an external device via a network.
As shown in FIGS. 1 and 2, the multifunction machine 100 places a document and conveys the placed document in a document transport direction A (see FIG. 6) toward a scanner unit (document reading section) 15. A document feeder (document conveying section) 16 is provided on the image forming unit 14 .
In addition, the multi-function machine 100 includes a document platen 17 in the image forming unit 14 that is exposed when the document feeder 16 is opened upward. The platen 17 is made of a transparent glass plate and arranged on the top surface of the scanner unit 15 . Also, as shown in FIG. 2, a front side reading window 18 is arranged next to the left end of the document platen 17 . The front side reading window 18 is made of a transparent glass plate like the document platen 17 . A front background color plate 51 is arranged on the lower surface of the document feeder 16 . When the document feeder 16 is closed, the front side reading window 18 and the front side background color plate 51 are positioned to face each other.

スキャナーユニット15は、ジョブ実行部11Xの制御下で原稿の画像を読取って、RGB(レッド、グリーンおよびブルー)のカラー画像信号(RGBアナログ信号)に変換する。即ち、コピー、ファックスおよびスキャナーのジョブにおける画像読取の処理を実行する。
図4は、図1に示す複合機100のスキャナーユニット15および原稿送り装置16の概略構成を示す説明図である。
The scanner unit 15 reads the image of the document under the control of the job execution section 11X and converts it into RGB (red, green and blue) color image signals (RGB analog signals). That is, it executes image reading processing in copy, facsimile and scanner jobs.
FIG. 4 is an explanatory diagram showing a schematic configuration of the scanner unit 15 and the document feeder 16 of the multifunction machine 100 shown in FIG.

図1および図4に示す原稿送り装置16は、原稿セットトレイ31に載置された原稿束から原稿を1枚ずつ分離・給送し(図4に示す矢印INを参照)、オモテ面の読取位置R1、R2および裏面の読取位置R3を経由して原稿を搬送し原稿排出トレイ33へ排出させる(図4に示す矢印OUTを参照)。なお、原稿はオモテ面を上に向けて原稿セットトレイ31にセットされるものとする。そうすることによって、原稿の片面(オモテ面)のみを読み取るモードにおいて、読取位置R1およびR2を切替えることができる。
オモテ面の読取位置R1およびR2は、下方のオモテ面読取窓18と上方のオモテ面背景色板51とに挟まれた箇所である。搬送される原稿は、読取位置R1およびR2でオモテ面背景色板51の下方に露出する。
The document feeder 16 shown in FIGS. 1 and 4 separates and feeds the documents one by one from the document stack placed on the document set tray 31 (see arrow IN shown in FIG. 4), and reads the front side. The document is conveyed via positions R1, R2 and reading position R3 on the back side and discharged to the document discharge tray 33 (see arrow OUT shown in FIG. 4). It is assumed that the document is set on the document set tray 31 with the front side facing up. By doing so, it is possible to switch the reading positions R1 and R2 in the mode of reading only one side (front side) of the document.
The reading positions R1 and R2 on the front side are located between the lower front side reading window 18 and the upper front side background color plate 51 . The transported document is exposed below the front background color plate 51 at reading positions R1 and R2.

スキャナーユニット15は、図4および図5に示すように第1キャリッジ55を読取位置R1またはR2の何れかの位置で停止させており、通過する原稿のオモテ面を読み取る。第1キャリッジ55は原稿面を照射するLEDおよび反射ミラーを搭載しており、第2キャリッジ57は、2枚の反射ミラーを搭載している。読取位置R1またはR2を通過する原稿の像は、それらの反射ミラーおよび光学レンズ59を経てイメージセンサ61に結像する。なお、第1キャリッジ55は原稿台17に沿って移動可能であって(図4と5の矢印S参照)、プラテンモードでは図4に矢印Sで示すように原稿台17に置かれた原稿を下方から走査して読み取る。第2キャリッジ57は、第1キャリッジ55が移動するとその半分の速度で同方向に移動して、原稿台17に置かれた原稿の像をイメージセンサ61上に結像させる。イメージセンサは原稿画像に応じた画像信号を出力する。第1キャリッジ55および第2キャリッジ57の反射ミラーと光学レンズ59は、イメージセンサ61に原稿のオモテ面の像を結像させる縮小光学系を構成する。 The scanner unit 15 has the first carriage 55 stopped at either the reading position R1 or R2 as shown in FIGS. 4 and 5, and reads the front side of the passing document. The first carriage 55 carries an LED for illuminating the document surface and a reflecting mirror, and the second carriage 57 carries two reflecting mirrors. An image of the document passing through the reading position R1 or R2 is formed on the image sensor 61 through the reflecting mirror and the optical lens 59 . The first carriage 55 is movable along the platen 17 (see arrow S in FIGS. 4 and 5), and in the platen mode moves the document placed on the platen 17 as indicated by the arrow S in FIG. Read by scanning from below. When the first carriage 55 moves, the second carriage 57 moves in the same direction at half the speed, and forms the image of the document placed on the document platen 17 on the image sensor 61 . The image sensor outputs an image signal corresponding to the document image. The reflecting mirrors of the first carriage 55 and the second carriage 57 and the optical lens 59 form a reduction optical system for forming an image of the front surface of the document on the image sensor 61 .

図5は、図4に示すスキャナーユニット15の第1キャリッジ55および第2キャリッジ57を移動させる機構の構成を示す説明図である。図5は、スキャナーユニット15を左側後方の斜め上から見た斜視図である。図5に示すように、第1キャリッジ55の両端は、ワイヤーが固定されている。第2キャリッジ57の両端は、そのワイヤーが架けられたプーリーを有している。ワイヤーは、スキャナモーター63によって回転駆動されるワイヤプーリー65に巻かれている。ワイヤプーリー65が回転すると、それにつれてよって第1キャリッジ55および第2キャリッジ57が矢印S方向へ移動し、また反対方向へ移動する。第2キャリッジは、動滑車のように第1キャリッジの半分の速度で移動する。 FIG. 5 is an explanatory diagram showing the configuration of a mechanism for moving the first carriage 55 and the second carriage 57 of the scanner unit 15 shown in FIG. FIG. 5 is a perspective view of the scanner unit 15 as seen obliquely from above on the rear left side. As shown in FIG. 5, wires are fixed to both ends of the first carriage 55 . Both ends of the second carriage 57 have pulleys on which the wires are hung. The wire is wound around a wire pulley 65 that is driven to rotate by the scanner motor 63 . As the wire pulley 65 rotates, the first carriage 55 and the second carriage 57 move in the direction of arrow S and in the opposite direction. The second carriage moves like a movable pulley at half the speed of the first carriage.

図6は図1に示す複合機の原稿読取装置の平面図である。
図6に示すように、原稿送り装置16の原稿セットトレイ31上には、原稿セットトレイ31上に載置された原稿Dの原稿搬送方向Aに沿う縦長さおよび原稿搬送方向Aと直交する方向B(以下、直交方向Bという)の横長さを検知する原稿サイズ検知部10が設けられている(図3参照)。
本実施形態の場合、原稿サイズ検知部10は、原稿Dの縦長さ(原稿搬送方向A)を検知する縦長さ検知部と、原稿Dの横長さ(直交方向B)を検知する横長さ検知部とを含む。なお、原稿Dの長手方向を原稿搬送方向Aと一致させて原稿セットトレイ31上に原稿Dを載置した場合、原稿Dの縦長さは長辺長さであり、横長さは短辺長さである。また、原稿Dの長手方向を直交方向Bと一致させて原稿セットトレイ31上に原稿Dを載置した場合、原稿Dの縦長さは短辺長さであり、横長さは長辺長さである。
FIG. 6 is a plan view of the document reading device of the multifunction machine shown in FIG.
As shown in FIG. 6, on the document set tray 31 of the document feeder 16, the vertical length of the document D placed on the document set tray 31 along the document transport direction A and the direction perpendicular to the document transport direction A are measured. A document size detection unit 10 is provided for detecting the horizontal length of B (hereinafter referred to as the orthogonal direction B) (see FIG. 3).
In this embodiment, the document size detection unit 10 includes a vertical length detection unit that detects the vertical length of the document D (document transport direction A) and a horizontal length detection unit that detects the horizontal length of the document D (perpendicular direction B). including. When the document D is placed on the document set tray 31 with the longitudinal direction of the document D aligned with the document transport direction A, the vertical length of the document D is the length of the long side, and the horizontal length is the length of the short side. is. When the document D is placed on the document set tray 31 with the longitudinal direction of the document D aligned with the orthogonal direction B, the vertical length of the document D is the length of the short side, and the horizontal length is the length of the long side. be.

原稿サイズ検知部10の横長さ検知部は、直交方向Bに移動可能として原稿セットトレイ31上に設けられた一対の原稿ガイド10aと、一対の原稿ガイド10aと連結するよう原稿セットトレイ31に設けられた直交方向Bの溝内にスライド可能に設けられた図示しない一対の平行スライド部材(不図示)と、一対の平行スライド部材にそれぞれ設けられた図示しない歯面部(ラック部)と、一対の平行スライド部材の歯面部間に回転可能に設けられて各歯面部と噛合する図示しない歯車部材(ピニオン部)と、一方のスライド部材の移動距離を計測する図示しないエンコーダとを含んで構成される。
一対の原稿ガイド10aは、原稿搬送方向Aに沿って延び、かつ、原稿セットトレイ31の上面から垂直に立ち上がる壁状のガイドプレートである。
一対の平行スライド部材は、直交方向Bに沿って延び、かつ、歯車部材(ピニオン部)を挟んで原稿搬送方向Aに並んで配置された棒状部材であり、各棒状部材の対向面にそれぞれ歯面部(ラック部)が設けられている。
A horizontal length detection portion of the document size detection portion 10 is provided on the document set tray 31 so as to be connected to a pair of document guides 10a provided on the document set tray 31 so as to be movable in the orthogonal direction B. A pair of parallel slide members (not shown) slidably provided in grooves in the orthogonal direction B, tooth surface portions (rack portions) (not shown) provided on the pair of parallel slide members, and a pair of It comprises a gear member (pinion) (not shown) rotatably provided between the tooth flanks of the parallel slide member and meshing with each tooth flank, and an encoder (not shown) for measuring the movement distance of one of the slide members. .
The pair of document guides 10 a are wall-shaped guide plates that extend along the document transport direction A and rise vertically from the upper surface of the document set tray 31 .
The pair of parallel slide members are rod-shaped members that extend along the orthogonal direction B and are arranged side by side in the document transport direction A with a gear member (pinion portion) interposed therebetween. A face portion (rack portion) is provided.

この横長さ検知部によれば、原稿セットトレイ31上の直交方向Bに係るセンターラインCを挟んで対向する一対の原稿ガイド10aは、互いに接近または離間する方向BにセンターラインCから等しい距離で移動する。このとき、エンコーダにて一方のスライド部材の移動距離を計測することにより、一対の原稿ガイド10a間の距離が例えば0.1mm単位で検出される。したがって、原稿セットトレイ31上に原稿Dを載置し、原稿Dの一対の対向辺(図6の場合、原稿Dの一対の長辺)の位置まで一対の原稿ガイド10aを移動させることにより、原稿Dの直交方向Bの横長さ(図6の場合、原稿Dの短辺の長さ)が検知されることとなる。なお、これについて詳しくは後述する。 According to this lateral length detection unit, the pair of document guides 10a opposed to each other across the center line C in the orthogonal direction B on the document set tray 31 are positioned at equal distances from the center line C in the direction B in which they approach or separate from each other. Moving. At this time, the distance between the pair of document guides 10a is detected in units of 0.1 mm, for example, by measuring the moving distance of one slide member with an encoder. Therefore, by placing the document D on the document set tray 31 and moving the pair of document guides 10a to the positions of the pair of opposite sides of the document D (the pair of long sides of the document D in FIG. 6), The lateral length of the document D in the orthogonal direction B (in the case of FIG. 6, the length of the short side of the document D) is detected. Details of this will be described later.

原稿サイズ検知部10の縦長さ検知部は、原稿セットトレイ31のセンターラインC上であって、原稿セット位置Pから所定の距離L1の箇所と距離L2の箇所に埋設された第1センサ10baと第2センサ10bbを含んで構成される。本実施形態の場合、第1センサ10baおよび第2センサ10bbとしては発光部と受光部を一体状に有する反射型フォトセンサが用いられているが、これに限らず、原稿と物理的に接触して検知する接触型センサ等であってもよい。なお、本実施形態の場合、距離L1は232mm、距離L2は305mmに設定されており、これについて詳しくは後述する。
また、原稿セットトレイ31のセンターラインC上であって、原稿セット位置P付近には、原稿セットトレイ31上にセットされた原稿Dを検知する原稿センサ10bcが設けられている。この原稿センサ10bcも、反射型フォトセンサや接触型センサ等を用いることができる。なお、原稿セット位置Pおよび原稿センサ10bcの上方にはカバー部材32が設けられている。
The vertical length detection unit of the document size detection unit 10 includes a first sensor 10ba embedded on the center line C of the document set tray 31 at a predetermined distance L1 and a predetermined distance L2 from the document set position P. It is configured including a second sensor 10bb. In this embodiment, the first sensor 10ba and the second sensor 10bb are reflective photosensors having a light-emitting portion and a light-receiving portion integrally. It may be a contact type sensor or the like that detects by pressing. In this embodiment, the distance L1 is set to 232 mm and the distance L2 is set to 305 mm, which will be described later in detail.
A document sensor 10bc for detecting the document D set on the document set tray 31 is provided near the document set position P on the center line C of the document set tray 31 . This document sensor 10bc can also use a reflective photosensor, a contact sensor, or the like. A cover member 32 is provided above the document setting position P and the document sensor 10bc.

図4の説明に戻る。読取位置R3には、原稿の裏面を読み取る裏面読取ユニット67および裏面背景色板53が配置されている。読取位置R3を通過する原稿の裏面の像は、裏面読取ユニット67が有する複数の反射ミラーを経てレンズ・イメージセンサユニット69のイメージセンサに結像する。イメージセンサは原稿画像に応じた画像信号を出力する。レンズ・イメージセンサユニット69は、光学レンズとラインイメージセンサが一体に組付けられたユニットである。裏面読取ユニット67の複数の反射ミラーとレンズ・イメージセンサユニット69の光学レンズは、レンズ・イメージセンサユニット69のイメージセンサに原稿の裏面の像を結像させる縮小光学系を構成する。
裏面読取ユニット67は、略U字型の原稿搬送路の内側に位置している。従って、原稿送り装置16によって搬送される原稿は、スキャナーユニット15によってオモテ面が読み取られると共に、裏面読取ユニット67によって原稿の裏面が読み取られる。
なお、図4に示す構成と異なり、原稿送り装置16が裏面読取ユニット67を備えない態様もあり得る。例えば、原稿セットトレイ31に載置された原稿のオモテ面のみを読み取るように構成された態様である。あるいは、読取位置R1、R2を通過してオモテ面が読み取られた原稿の表裏を反転させた後、再び読取位置R1、R2へ搬送して裏面を読み取らせるための反転機構を備えた態様である。
Returning to the description of FIG. A back side reading unit 67 for reading the back side of the document and a back side background color plate 53 are arranged at the reading position R3. An image of the back surface of the document passing through the reading position R3 passes through a plurality of reflecting mirrors of the back surface reading unit 67 and forms an image on the image sensor of the lens/image sensor unit 69 . The image sensor outputs an image signal corresponding to the document image. The lens/image sensor unit 69 is a unit in which an optical lens and a line image sensor are assembled together. A plurality of reflecting mirrors of the back surface reading unit 67 and the optical lens of the lens/image sensor unit 69 constitute a reduction optical system for forming an image of the back surface of the document on the image sensor of the lens/image sensor unit 69 .
The back surface reading unit 67 is positioned inside the substantially U-shaped document transport path. Therefore, the scanner unit 15 reads the front side of the document conveyed by the document feeder 16 and the back side of the document is read by the back side reading unit 67 .
Note that, unlike the configuration shown in FIG. 4, the document feeder 16 may not include the back side reading unit 67. For example, it is configured to read only the front side of the document placed on the document set tray 31 . Alternatively, it is a mode provided with a reversing mechanism for reversing the front and back of the original whose front side has been read after passing through the reading positions R1 and R2, and then transporting the document to the reading positions R1 and R2 again for reading the back side. .

画像処理回路40は、スキャナーユニット15が出力する画像信号に基づいて画像データを生成する。あるいは、通信回路21を介して受信した印刷データに基づいて印刷用の画像データを生成する。画像処理制御部11Pは、画像処理回路40のそれらの処理を制御する。生成された画像データは、頁単位、表裏の頁単位あるいは原稿の部単位で画像ファイルにまとめられる。ファイル制御部11Fは、画像データから画像ファイルを生成し管理する処理および画像ファイルの読み書きに係る制御を行う。画像ファイルは、画像形成ユニット14で印刷され、あるいは通信回路21を介して外部の機器へ送信される。 The image processing circuit 40 generates image data based on the image signal output by the scanner unit 15 . Alternatively, image data for printing is generated based on the print data received via the communication circuit 21 . The image processing control unit 11P controls those processes of the image processing circuit 40. FIG. The generated image data is put together into an image file for each page, for each front and back page, or for each copy of the document. The file control unit 11F performs processing for generating and managing an image file from image data and control related to reading and writing of the image file. The image file is printed by the image forming unit 14 or transmitted to an external device via the communication circuit 21 .

図3は、この発明に関連する画像処理について画像処理回路40の構成を示している。図3に示す各ブロックは、画像処理回路40のすべてを網羅するものでなくこの発明の説明に必要な要素を示すものである。
入力処理回路41は、スキャナーユニット15のイメージセンサ(オモテ面を読み取るイメージセンサ61および裏面を読み取るレンズ・イメージセンサユニット69)から頁ごとの画像信号を受けて画像処理を行う。そして、原稿領域判定用の画像および出力用の画像の元になる画像を生成する回路ブロックである。入力処理回路41は、画像信号のA/D変換、シェーディング補正、階調変換等を行う。
FIG. 3 shows the configuration of the image processing circuit 40 for image processing related to the present invention. Each block shown in FIG. 3 does not cover all of the image processing circuit 40, but shows elements necessary for explaining the present invention.
The input processing circuit 41 receives image signals for each page from the image sensors of the scanner unit 15 (the image sensor 61 for reading the front side and the lens/image sensor unit 69 for reading the back side) and performs image processing. It is a circuit block that generates an image that is the basis of an image for document area determination and an image for output. The input processing circuit 41 performs A/D conversion of image signals, shading correction, gradation conversion, and the like.

原稿領域判定部としての原稿領域判定回路45は、入力処理回路41から出力される判定用画像に基づいて、読み取られた画像の原稿領域を判定する回路ブロックであって、読取制御部11Sが不定形サイズと判定した原稿は定形サイズと判定した原稿と異なり、原稿領域判定回路45が原稿の読取領域を決定する。
不定形サイズの原稿の読取領域(原稿領域)を判定するモードでは、原稿領域判定回路45が、原稿の縁部と背景色板のグレー色との濃度差あるいは色差に基づいて矩形の原稿領域を決定する。原稿領域の判定は、矩形の原稿の輪郭を判定するものであるから、処理を軽くするために判定用画像には、例えば読み取られた画像の解像度を落として白黒2値変換した画像を用いることができる。なお、この実施形態において、原稿領域判定回路45は、矩形の原稿領域を決定するにあたり原稿の輪郭を検出するだけでなく文字認識処理を行って原稿の傾きおよび天地を検出し、それらの検出結果を考慮して原稿領域を決定してもよい。決定された原稿領域は、出力画像生成回路47に提供されて、出力画像のクロップ処理に用いられる。
A document area determination circuit 45 as a document area determination unit is a circuit block for determining a document area of a read image based on a determination image output from the input processing circuit 41. A document determined as a standard size is different from a document determined as a standard size, and the document area determination circuit 45 determines the reading area of the document.
In the mode for determining the reading area (original area) of an irregular size original, the original area determination circuit 45 determines the rectangular original area based on the density difference or color difference between the edge of the original and the gray color of the background color plate. decide. Since the determination of the document area is to determine the outline of a rectangular document, for example, an image obtained by lowering the resolution of the read image and converting it to black and white is used as the determination image in order to lighten the processing. can be done. In this embodiment, the document area determination circuit 45 not only detects the outline of the document in determining the rectangular document area, but also performs character recognition processing to detect the inclination and the top and bottom of the document, and detects the detection results. may be used to determine the document area. The determined document area is provided to the output image generation circuit 47 and used for cropping the output image.

出力画像生成回路47は、入力処理回路41から出力される出力用画に対する画像処理をさらに行い、出力すべきフォーマットの画像ファイルを生成する。出力画像生成回路47が行う画像処理は、原稿領域判定回路45が決定した原稿領域に基づく各頁の画像のクロップ処理を含む。その他に、画質調整、色補正、空間フィルタ処理、変位処理等の画像処理を含む。例えば、読み取った原稿の画像をPDF形式の画像ファイルとして指定された宛先へ通信回路21を介して送信する場合、出力画像生成回路47は、各頁の画像データからPDF形式の画像ファイルを生成して出力する。 The output image generation circuit 47 further performs image processing on the output image output from the input processing circuit 41 to generate an image file of the format to be output. The image processing performed by the output image generation circuit 47 includes crop processing of the image of each page based on the document area determined by the document area determination circuit 45 . In addition, it includes image processing such as image quality adjustment, color correction, spatial filter processing, and displacement processing. For example, when an image of a read document is transmitted to a designated destination as a PDF format image file via the communication circuit 21, the output image generation circuit 47 generates a PDF format image file from the image data of each page. output.

図7は主な定形原稿の原稿サイズ情報を示す図である。
記憶デバイス13(図3参照)は、例えば、図7に示す複数の主な定形原稿(A3、A4、11"×17"、11"×8.5"、B4、B5)のそれぞれの長辺長さと短辺長さに係る定形サイズである原稿サイズ情報を予め記憶している。なお、記憶デバイス13は、これらの定形サイズ以外の原稿の原稿サイズ情報も予め記憶してもよい。
FIG. 7 is a diagram showing document size information of main standard size documents.
The storage device 13 (see FIG. 3) stores, for example, the long side lengths and Document size information, which is a standard size related to the length of the short side, is stored in advance. Note that the storage device 13 may also store in advance document size information for documents other than these standard sizes.

図6および図7から明らかなように、原稿読取装置12の原稿セットトレイ31上に各種定形サイズの原稿Dを正しい状態で載置したとき、サイズおよび/または載置の向きによって、原稿サイズ検知部10の第1センサ10baおよび第2センサ10bbの両方とも原稿Dにて覆われない(OFFの状態である)第1パターンと、第1センサ10baのみ原稿Dにて覆われ(ONの状態である)、第2センサ10bbが原稿Dにて覆われない(OFFの状態である)第2パターンと、第1センサ10baおよび第2センサ10bbの両方が原稿Dにて覆われる(ONの状態である)第3パターンとのうちのいずれか1つに当てはまるようになっている。なお、原稿セットトレイ31上に原稿を載置するときの正しい状態とは、原稿Dが撓んでいたり折れたりせずに真っ直ぐ平面的に延びた状態であり、原稿DをセンターラインC上に載置し、原稿Dの一端を原稿セットトレイ31上の原稿セット位置Pに配置した状態を意味する。 As is clear from FIGS. 6 and 7, when documents D of various standard sizes are placed on the document set tray 31 of the document reading device 12 in the correct state, the document size can be detected depending on the size and/or the placed orientation. A first pattern in which both the first sensor 10ba and the second sensor 10bb of the unit 10 are not covered with the document D (in the OFF state), and only the first sensor 10ba is covered by the document D (in the ON state). ), the second pattern in which the second sensor 10bb is not covered by the document D (in the OFF state), and both the first sensor 10ba and the second sensor 10bb are covered by the document D (in the ON state) a) the third pattern. The correct state when placing the document on the document set tray 31 is the state in which the document D is straight and planar without being bent or folded, and the document D is placed on the center line C. and one end of the document D is placed at the document set position P on the document set tray 31 .

主な定形原稿について、第1センサ10baと第2センサ10bbのON/OFF状態の組み合わせは次のようになる。
A5サイズ(長辺長さ210mm×短辺長さ148mm)では定形原稿の原稿長手方向を原稿搬送方向Aに合わせた縦向き載置および定形原稿の原稿長手方向を直交方向Bに合わせた横向き載置の何れにであっても(すなわち、載置の向きに関わらず)第1パターンに当てはまる。
B5サイズ(長辺長さ257mm×短辺長さ182mm)では定形原稿を縦向き載置すると第2パターンに当てはまり、横向き載置すると第1パターンに当てはまる。
B4サイズ(長辺長さ364mm×短辺長さ257mm)では定形原稿を縦向き載置すると第3パターンに当てはまる。なお、B4サイズでは定形原稿を横向き載置することはできない。
11"×8.5"サイズ(長辺長さ279.4mm×短辺長さ215.9mm)では定形原稿を縦向き載置すると第2パターンに当てはまり、横向き載置すると第1パターンに当てはまる。
11"×17"サイズ(長辺長さ431.8mm×短辺長さ279.4mm)では定形原稿を縦向き載置すると第3パターンに当てはまる。なお、11×17サイズでは定形原稿を横向き載置することはできない。
A4サイズ(長辺長さ297mm×短辺長さ210mm)では定形原稿を縦向き載置すると第2パターンに当てはまり、横向き載置すると第1パターンに当てはまる。
A3サイズ(長辺長さ420mm×短辺長さ297mm)では定形原稿を縦向き載置すると第3パターンに当てはまる。なお、A3サイズは原稿セットトレイ31に定形原稿を横向き載置することはできない。
The combinations of the ON/OFF states of the first sensor 10ba and the second sensor 10bb for main standard size documents are as follows.
For A5 size (long side length 210 mm x short side length 148 mm), standard size documents should be placed vertically with the document feeding direction A aligned, and standard size documents should be placed horizontally with the document longitudinal direction aligned with the orthogonal direction B. The first pattern applies to any placement (ie, regardless of placement orientation).
In the case of B5 size (long side length 257 mm×short side length 182 mm), the second pattern applies when a standard size document is placed vertically, and the first pattern applies when it is placed horizontally.
In the case of B4 size (long side length 364 mm×short side length 257 mm), when a standard size original is placed vertically, the third pattern applies. It should be noted that the B4 size document cannot be placed horizontally.
In the case of 11"×8.5" size (long side length 279.4 mm×short side length 215.9 mm), the second pattern applies when the standard size document is placed vertically, and the first pattern applies when the standard size document is placed horizontally.
In the 11″×17″ size (long side length 431.8 mm×short side length 279.4 mm), the third pattern applies when a standard size document is placed vertically. Note that the 11×17 size document cannot be placed horizontally.
In the case of A4 size (long side length 297 mm×short side length 210 mm), the second pattern applies when the standard size document is placed vertically, and the first pattern applies when the standard size document is placed horizontally.
In the case of A3 size (long side length 420 mm×short side length 297 mm), when a standard size original is placed vertically, the third pattern applies. It should be noted that standard size originals of A3 size cannot be placed sideways on the original set tray 31 .

図8は原稿ガイドの間隔が原稿の横長さと一致した場合の説明図である。また、図9は原稿ガイドの間隔が原稿の横長さよりも広い場合の第1の説明図であり、図10は原稿ガイドの間隔が原稿の横長さよりも広い場合の第2の説明図である。また、図11は原稿ガイドの間隔が原稿の横長さよりも狭い場合の第1の説明図であり、図12は原稿ガイドの間隔が原稿の横長さよりも狭い場合の第2の説明図である。
上述のように原稿セットトレイ31上に原稿を正しい状態で載置することに加え、図8に示すように一対の原稿ガイド10aの間隔を調整して原稿Dの直交方向Bの両端に一対の原稿ガイド10aを当接乃至近接させること(正しくガイドセットすること)が、原稿Dの原稿領域を正しく読み取る上で望ましい。このとき、原稿Dを縦向き載置すると一対の短辺と一対の原稿ガイド10aとが当接乃至近接し、原稿Dを横向き載置すると一対の長辺と一対の原稿ガイド10aとが当接乃至近接する。
FIG. 8 is an explanatory diagram of the case where the interval between the document guides matches the horizontal length of the document. Also, FIG. 9 is a first explanatory view when the interval between the document guides is wider than the horizontal length of the document, and FIG. 10 is a second explanatory view when the interval between the document guides is wider than the horizontal length of the document. Also, FIG. 11 is a first explanatory view when the interval between the document guides is narrower than the horizontal length of the document, and FIG. 12 is a second explanatory view when the interval between the document guides is narrower than the horizontal length of the document.
In addition to placing the documents in the correct state on the document set tray 31 as described above, as shown in FIG. It is desirable to bring the document guide 10a into contact with or close to it (correct guide setting) in order to read the document area of the document D correctly. At this time, when the document D is placed vertically, the pair of short sides and the pair of document guides 10a abut or approach each other, and when the document D is placed horizontally, the pair of long sides and the pair of document guides 10a abut. or close to.

しかしながら、図9および図10に示すように一対の原稿ガイド10aと原稿Dとの間に隙間Sが存在し、それによって一対の原稿ガイド10aの間隔が原稿D(あるいは原稿束Dx)の短辺長さまたは長辺長さよりも広くなり過ぎた状態、あるいは図11と12に示すように一対の原稿ガイド10aの間隔が原稿Dの短辺長さまたは長辺長さよりも狭過ぎた状態で原稿Dがセットされる可能性がある。一対の原稿ガイド10aの間にこのような状態でセットした原稿Dを原稿送り装置16にてスキャナーユニット15へ搬送すると、読み取った原稿領域に欠けが生じたり、読み取った原稿領域が傾いているといった不具合が発生しやすい。また、図11と12の状態はジャムを発生させるおそれもある。なお、図11は原稿Dの両端が各原稿ガイド10aと当接乃至近接しているが原稿Dは上方に膨らむように撓んでいる状態を示し、図12は原稿Dの両端が各原稿ガイド10aと当接しているが原稿Dが折れ曲がっている状態を示している。 However, as shown in FIGS. 9 and 10, there is a gap S between the pair of document guides 10a and the document D, so that the gap between the pair of document guides 10a becomes the short side of the document D (or document bundle Dx). 11 and 12, or the distance between the pair of document guides 10a is too narrower than the length of the short side or the length of the long side of the document D. D may be set. When the document D set in such a state between the pair of document guides 10a is conveyed to the scanner unit 15 by the document feeder 16, the read document area may be missing or the read document area may be tilted. Trouble is likely to occur. 11 and 12 may also cause jams. FIG. 11 shows a state in which both ends of the document D are in contact with or close to the document guides 10a, but the document D is flexed so as to bulge upward, and FIG. , but the original D is bent.

そこで、本実施形態の原稿読取装置12は、上述の不適切なガイドセット状態(図9~10に示す状態)であるか否かを検知すると共に、定形原稿であるか不定形原稿であるかを判定し、欠けや傾きを生ずること無く正しく原稿領域を読み取ることができるように、図13Aに示すような原稿検知サイズテーブルを利用する。ここで、図13Aは各種定形原稿に関する原稿検知サイズテーブルの一例を示す説明図であり、図13Bは各種定形原稿に関する直交方向の横長さ(基準値)を示す説明図である。なお、図13Aおよび13Bにおいて、例えば、A4RはA4の定形原稿を縦向き載置した場合の表記であり、A4表記の場合は横向き載置である。A3R、B5R、A5Rについても同様である。 Therefore, the document reading device 12 of the present embodiment detects whether or not it is in the inappropriate guide setting state (the state shown in FIGS. 9 and 10), and also detects whether the document is a fixed size document or an irregular size document. is determined, and a document detection size table as shown in FIG. 13A is used so that the document area can be correctly read without causing missing or tilting. Here, FIG. 13A is an explanatory diagram showing an example of a document detection size table for various standard size documents, and FIG. 13B is an explanatory view showing the lateral length (reference value) in the orthogonal direction for various standard size documents. In FIGS. 13A and 13B, for example, A4R is a notation when an A4 standard size document is placed vertically, and A4 notation is placed horizontally. The same applies to A3R, B5R and A5R.

図13Aの原稿検知サイズテーブルは、記憶デバイス13に格納されており、各種定形サイズの原稿を縦向き載置または横向き載置したときの第1センサ10baおよび第2センサ10bbのON/OFF状態の組み合わせパターン(前記第1~第3パターン)と、各種定形サイズの原稿を縦向き載置または横向き載置して一対の原稿ガイド10aにて正しくガイドセットしたときのガイド幅W(図8参照)とが検知要素として含む。
ガイド幅Wは、各種定形サイズの原稿を縦向き載置したときの短辺長さまたは横向き載置したときの長辺長さ(すなわち、載置された定形原稿の横長さ)を基準値とし、その基準値に所定値(±α)を加えた許容値の範囲としている。なお、±αとしては任意であり、本実施形態では±6.0に設定している。
The document detection size table of FIG. 13A is stored in the storage device 13, and indicates the ON/OFF states of the first sensor 10ba and the second sensor 10bb when documents of various standard sizes are placed vertically or horizontally. Combination patterns (first to third patterns) and guide width W when documents of various standard sizes are placed vertically or horizontally and correctly set by the pair of document guides 10a (see FIG. 8) and are included as sensing elements.
The guide width W is based on the length of the short side when documents of various standard sizes are placed vertically or the length of the long sides when placed horizontally (that is, the horizontal length of the placed standard size documents). , plus a predetermined value (±α) to the reference value. Note that ±α is arbitrary, and is set to ±6.0 in this embodiment.

具体的に本実施形態の場合、各種定形サイズ検知用のガイド幅Wの許容値は、A3R/A4サイズでは基準値を297.0(mm)とするmax303.0~291.0(mm)の範囲、11"×17"/11"×8.5"サイズでは基準値279.4(mm)とする285.4~273.4(mm)の範囲、B4R/B5サイズでは基準値257.0(mm)とする263.0~251.0(mm)の範囲、A4R/A5サイズでは基準値210.0(mm)とする216.0~204.0(mm)の範囲、B5Rサイズでは基準値182.0(mm)とする188.0~176.0(mm)の範囲、A5Rサイズでは基準値148.0(mm)とする154.0~min142.0(mm)の範囲となっている。なお、maxは一対の原稿ガイド10aが互いに最も離れた上限のガイド幅Wであり、minは一対の原稿ガイド10aが互いに最も近づいた下限のガイド幅Wである。 Specifically, in the case of this embodiment, the allowable value of the guide width W for detecting various standard sizes is a range of max 303.0 to 291.0 (mm) with a reference value of 297.0 (mm) for A3R/A4 size, and 11". The range of 285.4 to 273.4 (mm) with the reference value of 279.4 (mm) for the ×17"/11"×8.5" size, the range of 263.0 to 251.0 (mm) with the reference value of 257.0 (mm) for the B4R/B5 size, Range of 216.0 to 204.0 (mm) with a standard value of 210.0 (mm) for A4R/A5 size, range of 188.0 to 176.0 (mm) with a standard value of 182.0 (mm) for B5R size, standard value of 148.0 (mm) for A5R size ) is in the range of 154.0 to min142.0 (mm). Note that max is the upper limit guide width W at which the pair of document guides 10a are the farthest from each other, and min is the lower limit guide width W at which the pair of document guides 10a are the closest to each other.

例えば、図6に示すように原稿セットトレイ31上にA4サイズの定形原稿Dを縦向き載置し、図8に示すように一対の原稿ガイド10aを原稿Dの直交方向Bの両端に当接乃至近接させることにより、原稿サイズ検知部10にて原稿Dの縦長さ(原稿搬送方向Aの長辺長さ)および横長さ(直交方向Bの短辺長さ)が検知される。このとき、原稿サイズ検知部10の第1センサ10baおよび第2センサ10bbによって原稿Dの縦長さを第1~第3パターンの3刻み段階で検知し、この場合は第1センサ10baはON、第2センサ10bbはOFFの第2パターンが当てはまる(図13A中のA4R表示部分を参照)。また、原稿サイズ検知部10の一対の原稿ガイド10aによってガイド幅Wが検知される。 For example, as shown in FIG. 6, an A4 size standard document D is placed vertically on the document set tray 31, and a pair of document guides 10a are brought into contact with both ends of the document D in the orthogonal direction B as shown in FIG. By bringing them close to each other, the document size detection unit 10 detects the vertical length (the length of the long side in the document transport direction A) and the horizontal length (the length of the short side in the orthogonal direction B) of the document D. FIG. At this time, the vertical length of the document D is detected by the first sensor 10ba and the second sensor 10bb of the document size detection unit 10 in steps of three steps of the first to third patterns. The second pattern of OFF applies to the 2 sensors 10bb (see the A4R display portion in FIG. 13A). Also, the guide width W is detected by a pair of document guides 10 a of the document size detection section 10 .

したがって、実際に原稿セットトレイ31上にセットした原稿Dの原稿搬送方向Aの寸法が第2パターンであると検知され、かつ、原稿Dの直交方向Bの寸法が許容値235.9~196.0(mm)の範囲内であると検知された場合は、図13Aの原稿検知サイズテーブル中に示すように原稿DのサイズはA4Rであると判定される。
ここで、図13Bに示すように、A4Rサイズの原稿の短辺長さは、A5サイズの原稿の長辺長さと等しいため、ガイド幅Wの検知(原稿Dの横長さ検知)のみではA4RサイズなのかA5サイズなのか判定できない。しかし、原稿Dの縦長さ検知が加わって第1センサ10baのみがONすることによってA4Rサイズであると暫定的に判定できるため、図13Aの原稿検知サイズテーブルにおいてこの条件のときの原稿サイズはA4Rであるとされている。あるいは、縦長さ検知が加わって第1センサ10baと第2センサ10bbの両方がOFFであればA5サイズであると暫定的に判定できるため、図13Aの原稿検知サイズテーブルにおいてこの条件のときの原稿サイズはA5であるとされている。あるいは、縦長さ検知が加わって第1センサ10baと第2センサ10bbの両方がONであれば、A4RとA5とを比べて大きい方のA4Rサイズの可能性が高いと暫定的に判定できるため、図13Aの原稿検知サイズテーブルにおいてこの条件のときの原稿サイズはA4Rであるとされている。
なお、図13Aの原稿検知サイズテーブルにおいて、A4サイズとA3Rサイズとの関係、11"×8.5"サイズと11"×17"サイズとの関係、B5サイズとB4Rサイズとの関係についても概ね同様の考え方で判定できる。
Therefore, the dimension of the document D actually set on the document set tray 31 in the document transport direction A is detected as the second pattern, and the dimension of the document D in the orthogonal direction B is within the allowable range of 235.9 to 196.0 (mm). , the size of the document D is determined to be A4R as shown in the document detection size table of FIG. 13A.
Here, as shown in FIG. 13B, the length of the short side of an A4R size document is equal to the length of the long side of an A5 size document. I can't tell if it's A5 size or not. However, when only the first sensor 10ba is turned on in addition to detecting the vertical length of the document D, it can be tentatively determined that it is A4R size. Therefore, in the document detection size table of FIG. It is said to be Alternatively, if both the first sensor 10ba and the second sensor 10bb are turned off due to the vertical length detection, it can be tentatively determined that the document is A5 size. The size is said to be A5. Alternatively, if both the first sensor 10ba and the second sensor 10bb are ON with the addition of vertical length detection, it can be tentatively determined that the A4R size, which is the larger one between A4R and A5, is highly likely. In the document detection size table of FIG. 13A, the document size under this condition is A4R.
In the document detection size table of FIG. 13A, the relationship between A4 size and A3R size, the relationship between 11"×8.5" size and 11"×17" size, and the relationship between B5 size and B4R size are generally similar. You can judge by your way of thinking.

また、B5Rサイズの定形原稿については、縦長さ検知が第1~第3パターンのいずれであっても、ガイド幅Wの検知(横長さ検知)によってB5Rサイズの可能性が高いと暫定的に判定できるため、図13Aの原稿検知サイズテーブルにおいてこの条件のときの原稿サイズはB5Rであるとされている。
また、A5Rサイズの定形原稿については、縦長さ検知が第1~第3パターンのいずれであっても、ガイド幅Wの検知(横長さ検知)によってA5Rサイズの可能性が高いと暫定的に判定できるため、図13Aの原稿検知サイズテーブルにおいてこの条件のときの原稿サイズはA5Rであるとされている。
Also, regarding the B5R size standard document, regardless of whether the vertical length detection is any of the first to third patterns, the detection of the guide width W (horizontal length detection) will provisionally determine that there is a high possibility that the document is B5R size. Therefore, the document size under this condition is set to B5R in the document detection size table of FIG. 13A.
Also, regarding the A5R size standard size document, it is provisionally determined that there is a high possibility that it is A5R size by the detection of the guide width W (horizontal length detection) regardless of which of the first to third patterns the vertical length detection is. Therefore, the detected document size table in FIG. 13A indicates that the document size under this condition is A5R.

≪原稿読取装置の読取動作≫
次に、このように構成された原稿読取装置12による原稿の読取動作について説明する。
図14は第1実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。
以下、フローチャートに沿って制御部11が実行する処理の手順を説明する。
図3と図6と図14に示すように、UI制御部11Uとしての制御部11は、原稿読取装置12の原稿セットトレイ31上に原稿Dが載置されたことを原稿センサ10bcからの検知信号にて検知する(ステップS11)。なおここでは、原稿Dのオモテ面(上面)のみに読み取るべき原稿画像が設けられている場合について説明する。
原稿の載置が検知されると、読取制御部11Sとしての制御部11は、原稿サイズ検知部10(一対の原稿ガイド10a、第1センサ10ba、第2センサ10bb等)からの原稿サイズ情報を取得する(ステップS13)。この原稿サイズ情報には、載置された原稿Dの原稿搬送方向Aに沿う縦長さおよび直交方向Bに沿う横長さの組合せに係る原稿サイズ情報が含まれている。
≪Reading operation of document reader≫
Next, a document reading operation by the document reading device 12 configured as described above will be described.
FIG. 14 is a flowchart showing document reading processing executed by the control unit in the first embodiment.
The procedure of processing executed by the control unit 11 will be described below with reference to the flowchart.
As shown in FIGS. 3, 6, and 14, the control unit 11 as the UI control unit 11U detects from the document sensor 10bc that the document D is placed on the document set tray 31 of the document reading device 12. A signal is detected (step S11). Here, a case where a document image to be read is provided only on the front side (upper surface) of the document D will be described.
When the placement of the document is detected, the control section 11 as the reading control section 11S receives the document size information from the document size detection section 10 (the pair of document guides 10a, the first sensor 10ba, the second sensor 10bb, etc.). acquire (step S13). This document size information includes document size information relating to a combination of the vertical length along the document transport direction A and the horizontal length along the orthogonal direction B of the placed document D. FIG.

ステップS13の後、読取制御部11Sとしての制御部11は、取得した原稿サイズ情報に基づいて、載置された原稿Dのサイズが複数の定形サイズのいずれに相当するかを第1段階で予備的に(暫定的に)判定する(ステップS15)。
このステップS15では、例えば、図6と図8に示すように、使用者が原稿Dを原稿セットトレイ31上に載置し、一対の原稿ガイド10aの間隔(ガイド幅W)がA4RまたはA5サイズの定形原稿の横長さ(基準値)付近に調整されていた場合、原稿サイズはA4RまたはA5である可能性が高いと読取制御部11Sとしての制御部11は予備的に判定し、さらに、第1センサ10baと第2センサ10bbのON/OFF状態の組合せによって、読取制御部11Sとしての制御部11は原稿Dのサイズを次のように予備的に判定する。
After step S13, the control unit 11 as the reading control unit 11S preliminarily determines in a first step which of the plurality of standard sizes the size of the placed document D corresponds to, based on the acquired document size information. provisionally (provisionally) (step S15).
In this step S15, for example, as shown in FIGS. 6 and 8, the user places the document D on the document set tray 31, and the distance (guide width W) between the pair of document guides 10a is set to A4R or A5 size. If the horizontal length (reference value) of the standard size document is adjusted to the vicinity of the standard size, the control unit 11 as the reading control unit 11S preliminarily determines that the document size is likely to be A4R or A5. Based on a combination of the ON/OFF states of the first sensor 10ba and the second sensor 10bb, the control section 11 serving as the reading control section 11S preliminarily determines the size of the document D as follows.

図6と図13Aに示すように、第1センサ10baと第2センサ10bbのON/OFF状態の組合せが第2パターンまたは第3パターンである場合は、読取制御部11Sとしての制御部11は原稿DのサイズをA4Rであると予備的に判定する。なお、原稿Dの一方の端部d1が原稿セット位置Pに当接乃至近接していれば第3パターンとなることはないが、例えば、原稿束Dx(図10参照)の何れかのページの一方の端部d1が原稿セット位置Pから大きく位置ずれし、それによって原稿Dの反対側の端部d2が第2センサ10bbを覆って第3パターンとなる可能性があるため、このような場合もA4Rと判定する。
一方、第1センサ10baと第2センサ10bbのON/OFF状態の組合せが第1パターンである場合は、原稿セットトレイ31上にセットされた原稿DのサイズがA5である可能性が高いため、読取制御部11Sとしての制御部11は原稿DのサイズをA5であると予備的に判定する。
As shown in FIGS. 6 and 13A, when the combination of the ON/OFF states of the first sensor 10ba and the second sensor 10bb is the second pattern or the third pattern, the control unit 11 as the reading control unit 11S reads the document. Preliminarily determine the size of D to be A4R. Note that if one end d1 of the document D is in contact with or close to the document set position P, the third pattern does not occur. One end d1 is greatly displaced from the document setting position P, and as a result, the opposite end d2 of the document D may cover the second sensor 10bb to form the third pattern. is also determined as A4R.
On the other hand, if the combination of the ON/OFF states of the first sensor 10ba and the second sensor 10bb is the first pattern, the size of the document D set on the document set tray 31 is likely to be A5. The control unit 11 as the reading control unit 11S preliminarily determines that the size of the document D is A5.

ステップS15の後、UI制御部11Uとしての制御部11は、原稿を読み取るジョブ(スキャナージョブやコピージョブ等)の開始が指示されたことを検出する(ステップS17)。
原稿を読み取るジョブの開始が指示されると(ステップS17のYes)、ジョブ制御部11Jとしての制御部11は、それを認識してジョブの実行を開始する。ここで、読取制御部11Sとしての制御部11は、前記第1段階後の第2段階において、第1段階で予備的に判定した定形サイズと、前記原稿サイズ情報とに基づいて、原稿Dのサイズが定形サイズであるか不定形サイズであるかを判定する(ステップS19)。なお、図示しないが、原稿を読み取るジョブの開始が指示されると(ステップS17のYes)、ジョブ管理部11Jは、実行開始を指示されたジョブを実行すべきジョブとして登録する。そして、ジョブ実行部11Xに対してジョブの実行を要求する。それに応答してジョブ実行部11Xは、ジョブの設定に応じた処理を行う。
After step S15, the control unit 11 as the UI control unit 11U detects that an instruction to start a document reading job (scanner job, copy job, etc.) has been given (step S17).
When an instruction to start a document reading job is given (Yes in step S17), the control section 11 as the job control section 11J recognizes it and starts executing the job. Here, in the second step after the first step, the control unit 11 as the reading control unit 11S determines the size of the document D based on the standard size preliminarily determined in the first step and the document size information. It is determined whether the size is a standard size or an irregular size (step S19). Although not shown, when an instruction to start a document reading job is given (Yes in step S17), the job management unit 11J registers the job whose execution start is indicated as a job to be executed. Then, the job execution unit 11X is requested to execute the job. In response to this, the job execution unit 11X performs processing according to the job settings.

ステップS19では、例えば、第1段階で判定したA4Rサイズの原稿Dの横長さである図13B中の基準値210.0mmと、原稿サイズ情報に係る横長さであるところの原稿Dの横長さ(例えばXmm)との間に許容値216.0~204.0mmの範囲を超える差がない場合(Xmmが216.0~204.0mmの範囲内である場合)は、読取制御部11Sとしての制御部11は定形サイズであると判定する。一方、前記Xmmが例えば216.1mm以上または103.9mm以下である場合は不定形サイズであると判定する。 In step S19, for example, the reference value 210.0 mm in FIG. X mm) does not exceed the allowable range of 216.0 to 204.0 mm (when X mm is within the range of 216.0 to 204.0 mm), the control unit 11 as the reading control unit 11S has a standard size. I judge. On the other hand, when the X mm is, for example, 216.1 mm or more or 103.9 mm or less, it is determined to be an irregular size.

不定形サイズであるとの判定は、原稿セットトレイ31上にセットされた原稿DのサイズがA4Rではない場合や、図9または図10に示すように原稿サイズはA4Rであるが原稿Dまたは原稿束Dxと一対の原稿ガイド10aとの間に許容値の範囲を超える隙間Sがある場合や、図11または図12に示すように原稿サイズはA4Rであるが原稿Dが許容値の範囲を超える程度の撓みまたは折れを有している場合に決定される。つまり、読取制御部11Sとしての制御部11は、実際に不定形原稿がセットされているとき以外にも、図9~図12に示すように定形原稿が不適切にセットされているときにも、不定形原稿がセットされていると判定する。 The determination that the size of the document D is irregular is made when the size of the document D set on the document set tray 31 is not A4R, or when the size of the document is A4R as shown in FIGS. If there is a gap S that exceeds the allowable range between the bundle Dx and the pair of document guides 10a, or if the document size is A4R as shown in FIG. 11 or 12, the document D exceeds the allowable range. Determined if it has a degree of bending or folding. In other words, the control unit 11 as the reading control unit 11S not only when an irregular size document is actually set, but also when a standard size document is set inappropriately as shown in FIGS. , determines that an irregular-sized document is set.

ステップS19において、読取制御部11Sは、定形サイズであると判定された場合は通常モードにて原稿の読取領域を決定し(ステップS21)、不定形サイズであると判定された場合は通常モードとは異なる所定モードにて原稿の読取領域を決定する(ステップS23)。
ステップS21の通常モードにおいて、原稿領域判定回路45は、例えば、A4Rサイズであると判定された原稿Dの読取領域をA4Rサイズとして決定する。
ステップS23の所定モードにおいて、原稿領域判定回路45は、例えば、A4Rサイズではない不定形サイズであると判定された原稿Dの読取領域を、A4Rサイズを完全に包囲する大きさの最小の領域として決定する。この実施形態の場合、所定モードは不定形サイズ原稿を読み取るクロップスキャンモードである。
In step S19, the reading control unit 11S decides the reading area of the document in the normal mode when it is determined to be a standard size (step S21), and when it is determined to be an irregular size, the normal mode is selected. determines the reading area of the document in a different predetermined mode (step S23).
In the normal mode of step S21, the document area determination circuit 45 determines the reading area of the document D determined to be A4R size, for example, as A4R size.
In the predetermined mode of step S23, the document area determination circuit 45 sets the reading area of the document D, which is determined to be an irregular size other than the A4R size, to the minimum area that completely surrounds the A4R size. decide. In the case of this embodiment, the predetermined mode is the crop scan mode for reading irregular size originals.

ステップS21またはステップS23の後、制御部11は原稿送り装置16を駆動させて原稿セットトレイ31上にセットされている原稿Dをスキャナーユニット15へ向けて原稿搬送方向Aへ搬送する(ステップS25)。そして、原稿Dを原稿搬送経路の途中に設けられた読取位置R1、R2を通過させる際に、スキャナーユニット15が原稿Dの原稿領域を読み取る(ステップS27)。このとき、スキャナーユニット15は、通常モードの場合は読取位置R1にて読み取り、クロップスキャンモードの場合は読取位置R2にて読み取る。読取位置R1はオモテ面背景色板51が白色の位置であり、読取位置R2はオモテ面背景色板51がグレー色の位置である。 After step S21 or step S23, the controller 11 drives the document feeder 16 to transport the document D set on the document set tray 31 toward the scanner unit 15 in the document transport direction A (step S25). . Then, when the document D passes through reading positions R1 and R2 provided in the middle of the document transport path, the scanner unit 15 reads the document area of the document D (step S27). At this time, the scanner unit 15 reads at the reading position R1 in the normal mode, and reads at the reading position R2 in the crop scan mode. The reading position R1 is a position where the front-side background color plate 51 is white, and the reading position R2 is a position where the front-side background color plate 51 is gray.

ステップS27において、読取制御部11Sとして制御部11は、不定形サイズを読み取る所定モードにおいては原稿の全領域を読み取った画像から原稿の境界を判断して原稿領域を切り出すように、スキャナーユニット(原稿読取部)15を制御する。また、読取制御部11Sとして制御部11は、不定形サイズを読み取る所定モードにおいて、ステップS23において決定した領域(原稿の全領域を読み取り可能な最小の領域)を読み取るようにスキャナーユニット(原稿読取部)15を制御する。 In step S27, the control unit 11 as the reading control unit 11S controls the scanner unit (original document) so as to determine the boundary of the original document from the image obtained by reading the entire area of the original document and cut out the original document area in the predetermined mode for reading the irregular size. reading unit) 15; Further, the control unit 11 as the reading control unit 11S controls the scanner unit (original reading unit) so as to read the area determined in step S23 (the minimum area where the entire area of the original can be read) in the predetermined mode for reading the irregular size. ) 15.

また、ステップS27において、画像処理制御部11Pとして制御部11は、画像処理回路40の入力処理回路41、原稿領域判定回路45および出力画像生成回路47を制御して、スキャナーユニット15に読み取られた原稿Dの画像について画像処理を行わせる。原稿領域判定回路45については、読取位置R2で読み取られた画像に基づいて原稿領域を決定し、出力画像生成回路47に原稿の画像をクロップ処理させる。そして、クロップ処理された各原稿の画像を画像ファイルにまとめて出力させる。
このようにして、1枚の原稿Dの画像が読み取られて作成された画像データは記憶デバイス13に格納された後、ジョブ実行部11Xとして制御部11は、給送された原稿Dの読み取りが完了したか否かを判定する(ステップS29)。
Further, in step S27, the control section 11 as the image processing control section 11P controls the input processing circuit 41, the document region determination circuit 45 and the output image generation circuit 47 of the image processing circuit 40, and the image read by the scanner unit 15 is The image of the document D is subjected to image processing. The document area determination circuit 45 determines the document area based on the image read at the reading position R2, and causes the output image generation circuit 47 to crop the document image. Then, the cropped images of the originals are collectively output as an image file.
After the image data created by reading the image of one document D in this way is stored in the storage device 13, the control unit 11 as the job execution unit 11X reads the fed document D. It is determined whether or not it is completed (step S29).

1枚の原稿Dの画像の読み取りが完了したと判定すると(ステップS29のYes)、ジョブ実行部11Xとして制御部11は、読み取るべき原稿が残っているか否かを判定し(ステップS31)、残っていると判定した場合はステップS25へ戻して、次の原稿について読み取りに係る処理を繰り返す。そして、すべての原稿の読み取りが完了したら(ステップS31のNo)、ジョブの実行を完了する。
このように第1実施形態によれば、不定形原稿がセットされた場合や、定形原稿であっても不適切にセットされた場合には、欠けや傾きが生じないように自動的にクロップスキャンモードにて原稿画像を読み込むことができるため、使用者の利便性が向上する。
When it is determined that the reading of the image of one document D is completed (Yes in step S29), the control section 11 as the job execution section 11X determines whether or not there are any remaining documents to be read (step S31). If it is determined that the document is read, the process returns to step S25, and the processing related to reading is repeated for the next document. Then, when reading of all documents is completed (No in step S31), execution of the job is completed.
As described above, according to the first embodiment, when an irregular-sized document is set, or when a standard-sized document is improperly set, crop scanning is automatically performed so as not to cause chipping or tilting. Since the original image can be read in the mode, the user's convenience is improved.

(第2実施形態)
図15AはAB系定形原稿に関する原稿検知サイズテーブルの一例を示す説明図であり、図15BはINCH系定形原稿に関する原稿検知サイズテーブルの一例を示す説明図である。また、図16AはAB系定形原稿に関する直交方向の横長さ(基準値)を示す説明図であり、図16BはINCH系定形原稿に関する直交方向の横長さ(基準値)を示す説明図である。なお、図15Aは図13Aと実質的に同一であり、図15Bは図13Bと実質的に同一である。
第2実施形態では、図15Aおよび図15Bに示すように、AB系定形原稿の原稿検知サイズテーブルとINCH系定形原稿の原稿検知サイズテーブルを利用する場合を説明する。なお、図15Aに示すAB系定形原稿の原稿検知サイズテーブル中にはINCH系定形原稿サイズの一部(特に使用頻度が高いもの)が含まれ、図15Bに示すNICH系定形原稿の原稿検知サイズテーブル中にはAB系定形原稿サイズの一部(特に使用頻度が高いもの)が含まれている。
(Second embodiment)
FIG. 15A is an explanatory diagram showing an example of the document detection size table for the AB system standard size document, and FIG. 15B is an explanatory diagram showing an example of the document detection size table for the INCH system standard size document. FIG. 16A is an explanatory diagram showing the horizontal length (reference value) in the orthogonal direction for the AB standard size document, and FIG. 16B is an explanatory diagram showing the horizontal length (standard value) in the orthogonal direction for the INCH standard size document. 15A is substantially the same as FIG. 13A, and FIG. 15B is substantially the same as FIG. 13B.
In the second embodiment, as shown in FIGS. 15A and 15B, a case will be described in which a document detection size table for AB system standard documents and a document detection size table for INCH system standard documents are used. Note that the document detection size table for AB standard size documents shown in FIG. 15A includes some of the INCH standard size documents (particularly those with high frequency of use), and the document detection size table for NICH standard size documents shown in FIG. 15B. The table includes some of the AB system standard document sizes (especially frequently used ones).

以下、第2実施形態における第1実施形態とは異なる点を主に説明する。
図15Bと図16Bに示すように、INCH系定形原稿としては、11"×17"サイズ、11"×8.5"サイズ、8.5"×13"サイズ、8.5"×11"サイズ、8.5"×5.5"サイズおよび5.5"×8.5"サイズが含まれる。
図15Bと図16Bに示すように、INCH系定形原稿の原稿検知サイズテーブル中のガイド幅の許容値の範囲は、11"×17"サイズおよび11"×8.5"サイズについては第1実施形態と同様であり、8.5"×13"サイズ、8.5"×11"サイズおよび8.5"×5.5"サイズでは基準値を215.9(mm)とする221.9~209.9(mm)の範囲、5.5"×8.5"サイズでは基準値を139.7(mm)とする245.7~min133.7(mm)の範囲となっている。
In the following, the differences between the second embodiment and the first embodiment will be mainly described.
As shown in FIG. 15B and FIG. 16B, the INCH standard size manuscripts are 11"×17" size, 11"×8.5" size, 8.5"×13" size, 8.5"×11" size, 8.5"×5.5" size. Size and 5.5" x 8.5" size included.
As shown in FIGS. 15B and 16B, the allowable value range of the guide width in the document detection size table for the INCH standard size document is 11"×17" size and 11"×8.5" size as in the first embodiment. Similarly, for 8.5" x 13" size, 8.5" x 11" size and 8.5" x 5.5" size, the range is 221.9 to 209.9 (mm) with the standard value of 215.9 (mm), and for 5.5" x 8.5" size It ranges from 245.7 to min133.7 (mm) with the standard value of 139.7 (mm).

また、第2実施形態の複合機100は、図3中のブロック図には図示されていないが、特定の仕向け地仕様に設定する仕向け地仕様設定部をUIユニット19に備えている。
また、記憶デバイス13は、複数の定形サイズを仕向け地仕様別に予め記憶している。つまり、図15Aに示すAB系定形原稿の原稿検知サイズテーブルと、図15Bに示すINCH系定形原稿の原稿検知サイズテーブルとは、予め記憶デバイス13に格納されている。
AB系定形原稿を主に使用する国または地域(仕向け地)において複合機100が使用される場合は仕向け地仕様設定部にて予めAB系定形原稿仕様に設定し、INCH系定形原稿を主に使用する国または地域(仕向け地)において複合機100が使用される場合は仕向け地仕様設定部にて予めINCH系定形原稿仕様に設定する。
In addition, although not shown in the block diagram of FIG. 3, the MFP 100 of the second embodiment has a destination specification setting unit in the UI unit 19 for setting a specific destination specification.
In addition, the storage device 13 stores in advance a plurality of standard sizes for each destination specification. That is, the document detection size table for the AB system standard size document shown in FIG. 15A and the document detection size table for the INCH system standard size document shown in FIG. 15B are stored in the storage device 13 in advance.
When the multifunction device 100 is used in a country or region (destination) where AB standard size documents are mainly used, the destination specification setting unit is set to AB standard size documents in advance, and INCH standard size documents are mainly used. When the MFP 100 is used in the country or region (destination) in which it is used, the destination specification setting unit sets in advance to the INCH standard format document specification.

次に、図3、図6、図15Aと図15B、図16Aと図16Bおよび図17を参照しながら第2実施形態の原稿読取装置による原稿の読取動作について説明する。
図17は第2実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。
第2実施形態の場合、図17に示すようにステップS11~S17まで第1実施形態と同様に行い、原稿を読み取るジョブの開始が指示されると(ステップS17のYes)、読取制御部11Sとしての制御部11は、次のように判定する。すなわち、ステップS13において検知した原稿サイズ情報が特定の縦長さおよび横長さの組合せに係る場合、前記原稿サイズ情報に係る横長さが、前記別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内であるときに、前記第1段階において前記特定の仕向け地の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定する。
Next, the document reading operation of the document reading apparatus according to the second embodiment will be described with reference to FIGS.
FIG. 17 is a flowchart showing document reading processing executed by the control unit in the second embodiment.
In the case of the second embodiment, as shown in FIG. 17, steps S11 to S17 are performed in the same manner as in the first embodiment. The control unit 11 of determines as follows. That is, when the document size information detected in step S13 is related to a specific combination of vertical length and horizontal length, the horizontal length related to the document size information is different from the length predetermined by the different destination specifications. is within the allowable range, it is determined in the second step that the size is irregular even if it is determined in the first step that the size corresponds to the standard size of the specific destination.

つまり、例えば、AB系定形原稿のA4R/A5サイズのガイド幅の許容値の範囲は216.0~204.0(mm)であり、一方、INCH系定形原稿の8.5"×13"/8.5"×11"/8.5"×5.5"サイズのガイド幅の許容値の範囲は221.9~209.9(mm)であり、これらは互いに一部が重畳している。また、AB系定形原稿のA5Rサイズのガイド幅の許容値の範囲は154.0~142.0(mm)であり、一方、INCH系定形原稿の5.5"×8.5"サイズのガイド幅の許容値の範囲は145.7~133.7(mm)であり、これらは互いに一部が重畳している。そのため、複合機100がAB系定形原稿仕様に予め設定されていた場合、INCH系定形サイズの原稿がセットされると欠けが生じて適切な原稿読取を行うことができない場合が想定される。 That is, for example, the allowable value range for the guide width of A4R/A5 size for AB standard size manuscripts is 216.0 to 204.0 (mm), while for INCH standard size manuscripts 8.5"×13"/8.5"×11"/ The range of allowable values for the guide width of the 8.5″×5.5″ size is 221.9 to 209.9 (mm), which partially overlap each other. Also, the allowable value range for the guide width of A5R size for AB standard size manuscripts is 154.0 to 142.0 (mm), while the allowable value range for guide width for 5.5" x 8.5" size of INCH standard size manuscripts is 145.7. ~133.7 (mm), and they partially overlap each other. Therefore, if the MFP 100 is set in advance to AB standard size documents, it is assumed that if an INCH standard size document is set, the document may be chipped and appropriate document reading may not be performed.

そのため、第2実施形態では、AB系定形原稿仕様に予め設定されており、ステップS13において取得した原稿サイズ情報が特定の定形サイズ(すなわち、A4R/A5サイズまたはA5Rサイズ)に係る場合、前記AB系の特定の定形サイズの検知した実ガイド幅WがINCH系定形原稿仕様に予め定められた長さ(すなわち、8.5"×13"/8.5"×11"/8.5"×5.5"サイズまたは5.5"×8.5"サイズの横長さ)に対して許容値の範囲内であるときに、読取制御部11Sとしての制御部11は第1段階においてAB系定形原稿仕様の定形サイズに相当すると判定していても第2段階において不定形サイズであると判定する。あるいは、INCH系定形原稿仕様に予め設定されており、ステップS13において取得した原稿サイズ情報が特定の定形サイズ(すなわち、8.5"×13"/8.5"×11"/8.5"×5.5"サイズまたは5.5"×8.5"サイズ)に係る場合、前記INCH系の特定の定形サイズの検知した実ガイド幅WがAB系定形原稿仕様に予め定められた長さ(すなわち、A4R/A5サイズまたはA5Rサイズの横長さ)に対して許容値の範囲内であるときに、読取制御部11Sとしての制御部11は第1段階においてINCH系定形原稿仕様の定形サイズに相当すると判定していても第2段階において不定形サイズであると判定する。 Therefore, in the second embodiment, AB system standard document specifications are set in advance, and when the document size information acquired in step S13 relates to a specific standard size (that is, A4R/A5 size or A5R size), the AB If the detected actual guide width W of the specific standard size of the system is the length predetermined in the INCH system standard document specifications x 8.5" size) is within the allowable range, the control section 11 as the reading control section 11S determines in the first step that it corresponds to the standard size of the AB system standard document specifications. is also determined to be of irregular size in the second step. Alternatively, it is preset to the INCH system standard document specifications, and the document size information acquired in step S13 is a specific standard size (i.e., 8.5" x 13"/8.5" x 11"/8.5" x 5.5" or 5.5"). "×8.5" size), the detected actual guide width W of the specific standard size of the INCH system is the length predetermined in the AB system standard document specifications (that is, the horizontal length of A4R/A5 size or A5R size). ) is within the allowable range, the control unit 11 as the reading control unit 11S determines in the first stage that the size corresponds to the standard size of the INCH system standard document specifications, but in the second stage it is not correct. It is judged to be a standard size.

なお、第2実施形態では、原稿サイズ情報が特定の定形サイズ以外の定形サイズに係る場合は、第1実施形態と同様にステップS19を実行し、このように不定形サイズであると判定した後(ステップS19のYes)は、第1実施形態と同様にステップS23以降を実行する。
設定されている仕向け地仕様と異なる仕向け地仕様の原稿がセットされた場合や、仕向け地仕様設置に誤りがある場合は、そのまま原稿画像を読み取ると欠けが生じたりして使用者が所望する出力結果とならないおそれがあるが、第2実施形態によれば自動的にクロップスキャンモードにて原稿画像を読み込むことができるため、画像が欠けることなく出力される。
Note that in the second embodiment, when the document size information relates to a standard size other than a specific standard size, step S19 is executed in the same manner as in the first embodiment. If (Yes in step S19), steps after step S23 are executed in the same manner as in the first embodiment.
If a document with a destination specification different from the set destination specification is set, or if there is an error in the setting of the destination specification, if the document image is read as it is, a missing part will occur and the output desired by the user will not be obtained. Although there is a risk that the result will not be obtained, according to the second embodiment, since the document image can be automatically read in the crop scan mode, the image can be output without missing.

(第3実施形態)
図18は第3実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。
第3実施形態は、ステップS19での不定形サイズの判定処理が第1および第2実施形態とは異なる以外は、概ね第1および第2実施形態と同様である。
以下、第3実施形態における第1および第2実施形態とは異なる点を主に説明する。
(Third embodiment)
FIG. 18 is a flowchart showing document reading processing executed by the control unit in the third embodiment.
The third embodiment is generally the same as the first and second embodiments, except that the irregular size determination process in step S19 is different from the first and second embodiments.
In the following, the differences of the third embodiment from the first and second embodiments will be mainly described.

第3実施形態の場合、図17に示すようにステップS11~S17まで第1および第2実施形態と同様に行い、原稿を読み取るジョブの開始が指示されると(ステップS17のYes)、読取制御部11Sとしての制御部11は、次のように判定する。すなわち、ステップS13において検知した原稿サイズ情報が特定の縦長さおよび横長さの組合せに係る場合、前記原稿サイズ情報に係る横長さが、前記別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内における所定の微小誤差の範囲内であるときに、前記第1段階において前記特定の仕向け地の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定する。 In the case of the third embodiment, as shown in FIG. 17, steps S11 to S17 are performed in the same manner as in the first and second embodiments. The control unit 11 as the unit 11S determines as follows. That is, when the document size information detected in step S13 is related to a specific combination of vertical length and horizontal length, the horizontal length related to the document size information is different from the length predetermined by the different destination specifications. is within the range of a predetermined minute error within the range of the allowable value, even if it is determined in the first step that it corresponds to the standard size of the specific destination, in the second step, it is an irregular size. Determine that there is.

つまり、AB系定形原稿仕様に予め設定されており、ステップS13において取得した原稿サイズ情報が特定の定形サイズ(すなわち、A4R/A5サイズまたはA5Rサイズ)に係る場合、前記AB系の特定の定形サイズの検知した実ガイド幅WがINCH系定形原稿仕様に予め定められた長さ(すなわち、8.5"×13"/8.5"×11"/8.5"×5.5"サイズまたは5.5"×8.5"サイズの横長さ)に対して許容値の範囲内における所定の微小誤差の範囲内であるときに、前記第1段階においてAB系定形原稿仕様の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定する。
例えば、実ガイド幅WがA4R/A5サイズのガイド幅の許容値216.0~204.0(mm)の範囲内にあったとしても、その実ガイド幅Wが8.5"×13"/8.5"×11"/8.5"×5.5"サイズのガイド幅の許容値221.9~209.9(mm)の範囲内における重畳範囲216.0~209.9(mm)内であるときは、INCH系定形原稿がセットされている可能性が高いとして不定形サイズと判定する。この例の場合、重畳範囲216.0~209.9(mm)の代わりに、8.5"×13"/8.5"×11"/8.5"×5.5"サイズのガイド幅の基準値215.9(mm)±α(mm)の範囲(αとしては3.0~6.0程度)としてもよい。
In other words, when AB system standard document specifications are set in advance and the document size information acquired in step S13 relates to a specific standard size (that is, A4R/A5 size or A5R size), the AB system specific standard size document The detected actual guide width W is a length predetermined for the INCH system standard document specifications (i.e., 8.5" x 13" / 8.5" x 11" / 8.5" x 5.5" size or 5.5" x 8.5" size landscape ) is within the range of a predetermined minute error within the range of allowable values, even if it is determined in the first step that it corresponds to the standard size of AB system standard document specifications, in the second step It is judged to be a standard size.
For example, even if the actual guide width W is within the allowable range of 216.0 to 204.0 (mm) for the guide width of A4R/A5 size, the actual guide width W is 8.5″×13″/8.5″×11″/8.5″. If the overlap range is within the range of 216.0 to 209.9 (mm) within the allowable range of 221.9 to 209.9 (mm) for the guide width of the "×5.5" size, it is highly likely that an INCH standard size document is set and is not acceptable. Determined as standard size. In this example, instead of the overlapping range of 216.0 to 209.9 (mm), the guide width reference value of 8.5" x 13" / 8.5" x 11" / 8.5" x 5.5" is 215.9 (mm) ± α (mm). (α is about 3.0 to 6.0).

あるいは、INCH系定形原稿仕様に予め設定されており、ステップS13において取得した原稿サイズ情報が特定の定形サイズ(すなわち、8.5"×13"/8.5"×11"/8.5"×5.5"サイズまたは5.5"×8.5"サイズ)に係る場合、前記INCH系の特定の定形サイズの検知した実ガイド幅WがAB系定形原稿仕様に予め定められた長さ(すなわち、A4R/A5サイズまたはA5Rサイズの横長さ)に対して許容値の範囲内における所定の微小誤差の範囲内であるときに、前記第1段階においてINCH系定形原稿仕様の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定する。
例えば、実ガイド幅Wが8.5"×13"/8.5"×11"/8.5"×5.5"サイズのガイド幅の許容値221.9~209.9(mm)の範囲内にあったとしても、その実ガイド幅WがA4R/A5サイズのガイド幅の許容値216.0~204.0(mm)の範囲内における重畳範囲216.0~209.9(mm)内であるときは、AB系定形原稿がセットされている可能性が高いとして不定形サイズと判定する。この例の場合、重畳範囲216.0~209.9(mm)の代わりに、A4R/A5サイズのガイド幅の基準値210.0(mm)±α(mm)の範囲(αとしては3.0~6.0程度)としてもよい。
Alternatively, it is preset to the INCH system standard document specifications, and the document size information acquired in step S13 is a specific standard size (i.e., 8.5" x 13"/8.5" x 11"/8.5" x 5.5" or 5.5"). "×8.5" size), the detected actual guide width W of the specific standard size of the INCH system is the length predetermined in the AB system standard document specifications (that is, the horizontal length of A4R/A5 size or A5R size). ) is within the range of a predetermined minute error within the range of allowable values, even if it is determined in the first step that it corresponds to the standard size of the INCH system standard document specification, it is not correct in the second step. It is judged to be a standard size.
For example, even if the actual guide width W is within the allowable range of 221.9 to 209.9 (mm) for guide widths of sizes 8.5" x 13"/8.5" x 11"/8.5" x 5.5", the actual guide width W is within the allowable range of 216.0 to 204.0 (mm) for the guide width of A4R/A5 size, the overlap range is 216.0 to 209.9 (mm). Determined as standard size. In this example, instead of the overlapping range of 216.0 to 209.9 (mm), the standard value of the guide width of A4R/A5 size is 210.0 (mm) ± α (mm) (α is about 3.0 to 6.0). .

このようなAB系定形原稿仕様におけるINCH系定形原稿のセットの可能性またはINCH系定形原稿仕様におけるAB系定形原稿のセットの可能性の判定は、互いに近似したサイズを有するA5Rサイズおよび5.5"×8.5"サイズについても上述と同様に不定形サイズであると判定できる。
なお、第3実施形態では、原稿サイズ情報が特定の定形サイズ以外の定形サイズに係る場合は、第1実施形態と同様にステップS19を実行し、このように不定形サイズであると判定した後(ステップS19のYes)は、第1実施形態と同様にステップS23以降を実行する。
設定されている仕向け地仕様と異なる仕向け地仕様の原稿がセットされた場合や、仕向け地仕様設置に誤りがある場合は、そのまま原稿画像を読み取ると欠けが生じたりして使用者が所望する出力結果とならないおそれがあるが、第3実施形態によれば自動的にクロップスキャンモードにて原稿画像を読み込むことができるため、画像が欠けることなく出力される。また、第3実施形態の場合、互いに異なる仕向け地仕様(AB系定形原稿仕様とINCH系定形原稿仕様)での近似したサイズの定形原稿間での判定精度をより高めることができる。
Judgment of the possibility of setting the INCH fixed-size original in the AB fixed-size original specifications or the possibility of setting the AB fixed-size original in the INCH fixed-size original specifications is based on the A5R size and the 5.5"× The 8.5" size can also be determined to be an irregular size in the same manner as described above.
Note that in the third embodiment, when the document size information relates to a standard size other than a specific standard size, step S19 is executed in the same manner as in the first embodiment. If (Yes in step S19), steps after step S23 are executed in the same manner as in the first embodiment.
If a document with a destination specification different from the set destination specification is set, or if there is an error in the setting of the destination specification, if the document image is read as it is, a missing part will occur and the output desired by the user will not be obtained. Although there is a risk that the result will not be obtained, according to the third embodiment, since the original image can be automatically read in the crop scan mode, the image can be output without lacking. Further, in the case of the third embodiment, it is possible to further improve the determination accuracy between standard size documents of similar sizes for different destination specifications (AB system standard size document specifications and INCH system standard size document specifications).

(第4実施形態)
図19は第4実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。
第4実施形態は、ステップS19での不定形サイズの判定処理が第1~第3実施形態とは異なる以外は、概ね第1~第3実施形態と同様である。
以下、第4実施形態における第1~第3実施形態とは異なる点を主に説明する。
(Fourth embodiment)
FIG. 19 is a flowchart showing document reading processing executed by the control unit in the fourth embodiment.
The fourth embodiment is generally the same as the first to third embodiments, except that the irregular size determination process in step S19 is different from the first to third embodiments.
The points of the fourth embodiment that are different from the first to third embodiments will be mainly described below.

第4実施形態の場合、図19に示すようにステップS11~S17まで第1~第3実施形態と同様に行い、原稿を読み取るジョブの開始が指示されると(ステップS17のYes)、読取制御部11Sとしての制御部11は、ステップS19において第1段階で判定した定形サイズの縦長さと、ステップS13において取得した原稿サイズ情報に係る縦長さとの間に、所定の許容値の範囲を超える差がある場合は原稿が不定形サイズであると判定する。 In the case of the fourth embodiment, as shown in FIG. 19, steps S11 to S17 are performed in the same manner as in the first to third embodiments. The control unit 11 as the unit 11S detects that there is a difference exceeding a predetermined allowable range between the vertical length of the standard size determined in the first stage in step S19 and the vertical length related to the document size information acquired in step S13. If there is, it is determined that the document is of irregular size.

つまり、図6と図7と図15Aを参照しながら説明すると、原稿セットトレイ31上に原稿Dをセットしたとき、横長さ検知に関しては一対の原稿ガイド10aの間隔(実ガイド幅)が303.0~291.0(mm)の範囲内にあり、かつ、縦長さ検知に関しては第1センサ10baがONおよび第2センサ10bbがOFFの第2パターンであるとの原稿サイズ情報に基づいて、ステップS19において、読取制御部11Sとしての制御部11はセットされた原稿DがA3Rサイズであると第1段階で判定する。しかしながら、A3Rサイズであれば本来第1および第2センサ10ba、10bbが共にON(第3パターン)となるはずであり、第1段階で判定したA3Rサイズの縦長さ(420mm)と、ステップS13において取得した原稿サイズ情報に係る縦長さ(原稿セット位置Pから第2センサ10bbに達しない距離であり305mm未満)との間に、所定の許容値の範囲(この場合、少なくとも305mm)を超える差があることになり、読取制御部11Sとしての制御部11は、第2段階において、原稿Dは不定形であると判定する。また、第1および第2センサ10ba、10bbのON/OFF状態が第2パターンではA4サイズ(長辺を直交方向Bに沿わせた載置状態)の可能性が大きいとして、読取制御部11Sとしての制御部11は、第2段階において、原稿Dは不定形であると判定する。 6, 7, and 15A, when the document D is set on the document set tray 31, the distance between the pair of document guides 10a (actual guide width) is 303.0 to 303.0. 291.0 (mm) and based on the document size information that the vertical length detection is the second pattern in which the first sensor 10ba is ON and the second sensor 10bb is OFF, reading is performed in step S19. At the first stage, the control section 11 as the control section 11S determines that the set document D is A3R size. However, for A3R size, both the first and second sensors 10ba and 10bb should be ON (third pattern). There is a difference exceeding a predetermined allowable value range (in this case, at least 305 mm) with the vertical length related to the acquired document size information (the distance from the document setting position P that does not reach the second sensor 10bb, which is less than 305 mm). Therefore, in the second step, the control section 11 as the reading control section 11S determines that the document D is irregular. In addition, the ON/OFF state of the first and second sensors 10ba and 10bb is likely to be A4 size (a state in which the long side is placed along the orthogonal direction B) in the second pattern. The control unit 11 determines that the document D is irregular in the second stage.

A4サイズ原稿をA3Rサイズと検知して原稿画像を読み取ると欠けや余白部分が生じるおそれがあるが、第4実施形態によれば自動的にクロップスキャンモードにて原稿画像を読み込むことができるため、画像が欠けたり、画像に余白部分が付いて出力されることがない。
なお、上述の縦長さ検知に関しては、A3R/A4サイズ以外にも、11"×17"/11"×8.5"サイズ、B4R/B5サイズ等についても同様である。
If an A4 size document is detected to be A3R size and the document image is read, there is a risk that a missing or marginal portion may occur. Images are not missing or output with margins.
Note that the vertical length detection described above is the same for 11″×17″/11″×8.5″ size, B4R/B5 size, etc., in addition to A3R/A4 size.

(第5実施形態)
図20は第5実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。また、図21A~21Cは表示デバイスに表示されたユーザー設定画面の第1~第3例を示している。
第1~第4実施形態では、ステップS19において原稿セットトレイ31上にセットした原稿Dが不定形サイズであるかまたは原稿Dを適切にセットしていないと判定すると、自動的にクロップスキャンモードに切り替わって画像読取処理を行う場合を例示した(図6、図14、図17~19参照)。
一方、第5実施形態は以下のように第1~第4実施形態と異なり、その他の点は第1~第4実施形態と概ね同様である。
第5実施形態の場合、図20に示すように、ステップS19において原稿セットトレイ31上にセットした原稿Dが不定形サイズであると判定すると、不定形サイズと判定された状況や理由に応じて図21A~21Cのうちのいずれか1つのユーザー設定画面が表示デバイス19Dに表示される(ステップS21)。このユーザー設定画面はモード切替選択画面である。
(Fifth embodiment)
FIG. 20 is a flowchart showing document reading processing executed by the control unit in the fifth embodiment. 21A to 21C show first to third examples of user setting screens displayed on the display device.
In the first to fourth embodiments, when it is determined in step S19 that the document D set on the document set tray 31 is of an irregular size or that the document D is not properly set, the crop scan mode is automatically set. The case where the image reading process is performed after switching is exemplified (see FIGS. 6, 14, and 17 to 19).
On the other hand, the fifth embodiment is different from the first to fourth embodiments as follows, and the rest is generally the same as the first to fourth embodiments.
In the case of the fifth embodiment, as shown in FIG. 20, when it is determined in step S19 that the document D set on the document set tray 31 is of irregular size, the document D is determined to be of irregular size depending on the situation and reason. Any one of the user setting screens shown in FIGS. 21A-21C is displayed on the display device 19D (step S21). This user setting screen is a mode switching selection screen.

図21Aに示す画面では、第1実施形態(図9~12)で説明したように原稿サイズに対してガイド幅が合っていないときに、例えば「原稿サイズに対し、ガイド幅にズレがあります。」と表示される。
図21Bに示す画面では、第2および第3実施形態で説明したように、AB系定形原稿仕様に設定されている場合にINCH系定形原稿をセットしたときに、あるいはINCH系定形原稿仕様に設定されている場合にAB系定形原稿をセットしたときに、例えば「原稿検知装置設定が誤っている可能性があります。」と表示される。
図21Cに示す画面では、第4実施形態で説明したように、縦長さ検知に関して、原稿サイズ情報と検知長さとに差があるときに、例えば「原稿サイズに対し、原稿長さに差があります。」と表示される。
On the screen shown in FIG. 21A, when the guide width does not match the document size as described in the first embodiment (FIGS. 9 to 12), for example, "There is a gap in the guide width with respect to the document size. ” is displayed.
On the screen shown in FIG. 21B, as described in the second and third embodiments, when the INCH standard size document is set when the AB standard size document specification is set, or when the INCH standard size document specification is set When the AB standard size original is set, for example, "There is a possibility that the setting of the original detection device is incorrect." is displayed.
On the screen shown in FIG. 21C, as described in the fourth embodiment, when there is a difference between the document size information and the detected length regarding vertical length detection, for example, "There is a difference in the document length with respect to the document size. .” is displayed.

図21A~21Cのいずれの場合も、画面には「Yes」と「No」のボタンが表示されており、使用者が「No」のボタンを押すと(ステップS23のNo)通常モードにて原稿の読取領域を決定し(ステップS25)、「Yes」のボタンを押すと(ステップS23のYes)クロップスキャンモードにて原稿の読取領域を決定する(ステップS27)。なお、画面上の×印を押してキャンセルすると(ステップS23のキャンセル)、原稿の読み取りが行われずに処理終了となる。そして、ステップS25またはS27の後、第1~第4実施形態でのステップS25以降と同様の処理(ステップS29~S35)を実行して処理を終了する。
このように第5実施形態では、原稿セットトレイ31上にセットした原稿Dが不定形サイズであるかまたは原稿Dを適切にセットしていないと判定すると、表示デバイス19Dにユーザー設定画面を表示して使用者にクロップスキャンモードで処理するか通常モードで処理するかを選択してもらうようにしている。
In any case of FIGS. 21A to 21C, "Yes" and "No" buttons are displayed on the screen. is determined (step S25), and if the "Yes" button is pressed (Yes in step S23), the document reading area is determined in the crop scan mode (step S27). If the X mark on the screen is pressed to cancel (cancellation in step S23), the process ends without reading the original. After step S25 or S27, the same processes (steps S29 to S35) as those after step S25 in the first to fourth embodiments are executed, and the process ends.
As described above, in the fifth embodiment, when it is determined that the document D set on the document set tray 31 is of an irregular size or that the document D is not properly set, the user setting screen is displayed on the display device 19D. The user is asked to select whether to process in the crop scan mode or in the normal mode.

(第6実施形態)
図22は第6実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。また、図23A~23Eは、第6実施形態において、表示デバイスに表示されたユーザー設定画面の第1~第5例を示している。
第6実施形態は以下のように第1~第5実施形態と異なり、その他の点は第1~第5実施形態と概ね同様である。
第6実施形態の場合、読取制御部11Sとしての制御部11が不定形サイズと判定した場合にスキャナーユニット15が不定形サイズを読み取るモードで読み取った後、表示デバイス19Dは、前記第1段階で判定した定形サイズに応じた領域を切り出す場合と、原稿の境界を切り出す場合とのプレビュー画像を表示していずれかの選択を受付けるようにしている。
(Sixth embodiment)
FIG. 22 is a flowchart showing document reading processing executed by the control unit in the sixth embodiment. 23A to 23E show first to fifth examples of user setting screens displayed on the display device in the sixth embodiment.
The sixth embodiment differs from the first to fifth embodiments as follows, and the other points are generally the same as the first to fifth embodiments.
In the case of the sixth embodiment, when the control unit 11 as the reading control unit 11S determines that the size is an irregular size, the scanner unit 15 reads the irregular size in the irregular size reading mode. A preview image is displayed for the case of cutting out an area corresponding to the determined standard size and the case of cutting out the boundary of the document, and either selection is accepted.

つまり、第6実施形態の場合、図22に示すように、第1~第4実施形態のステップS31までと同様にまたは第5実施形態のステップS35までと同様に、ステップS31までの処理を実行した後、クロップスキャンモードにて動作したか否かを判定し(ステップS33)、通常モードにて動作した場合(ステップS33のNo)は、処理を終了する。
一方、クロップスキャンモードにて動作した場合(ステップS33のYes)は、画像切り出し処理を行い(ステップS35)、クロップスキャンの状況に応じて図23A~23Eのうちのいずれか1つの画像選択画面を表示デバイス19Dに表示する(ステップS37)。
That is, in the case of the sixth embodiment, as shown in FIG. 22, the processes up to step S31 are executed in the same manner as up to step S31 in the first to fourth embodiments or up to step S35 in the fifth embodiment. After that, it is determined whether or not the operation has been performed in the crop scan mode (step S33), and if the operation has been performed in the normal mode (No in step S33), the process is terminated.
On the other hand, if the operation is in the crop scan mode (Yes in step S33), image clipping processing is performed (step S35), and one of the image selection screens shown in FIGS. 23A to 23E is displayed according to the crop scan situation. It is displayed on the display device 19D (step S37).

図23Aに示す画面では、原稿セットトレイ31上にセットされた原稿Dに対して一対の原稿ガイド10aのガイドズレが生じ、それによってセンターラインCに対して原稿Dが原稿搬送方向Aに位置ずれした状況でのクロップ前の読取画像とクロップ後の読取画像を示している(図6参照)。
図23Bに示す画面では、原稿セットトレイ31上にセットされた原稿Dに対して一対の原稿ガイド10aのガイドズレが生じ、それによってセンターラインCに対して原稿Dが斜めに位置ズレし、その状況でのクロップ前の読取画像とクロップ後の読取画像を示している(図6参照)。
図23Cに示す画面では、読み取った定形原稿に対する仕向け地仕様設定の誤りによって欠けや余白が生じる状況でのクロップ前の読取画像とクロップ後の読取画像を示している。例えば、A4Rサイズの定形原稿をセットし、INCH系定形原稿仕様設置であるため8.5"×11"サイズの定形原稿であると検知され、A4Rサイズの可能性があるためクロップ前の読取画像とクロップ後の読取画像を表示する。
図23Dに示す画面では、定形原稿のサイズに近い特殊原稿の読み取りによって欠けや余白が生じる状況でのクロップ前の読取画像とクロップ後の読取画像を示している。例えば、A4Rに対し幅(ガイド幅W)が±10mmの特殊原稿をセットし、AB系定形原稿仕様設置であるためA4Rサイズの定形原稿であると検知され、特殊原稿の可能性があるためクロップ前の読取画像とクロップ後の読取画像を表示する。
図23Eに示す画面では、例えば、A4R幅に対しA3長の特殊原稿の読み取りによって欠けや余白が生じる状況でのクロップ前の読取画像とクロップ後の読取画像を示している。
In the screen shown in FIG. 23A, the pair of document guides 10a is misaligned with respect to the document D set on the document set tray 31, causing the document D to be displaced in the document transport direction A with respect to the center line C. 6 shows a read image before cropping and a read image after cropping (see FIG. 6).
In the screen shown in FIG. 23B, the pair of document guides 10a is misaligned with respect to the document D set on the document set tray 31, causing the document D to be obliquely displaced with respect to the center line C. The scanned image before cropping and the scanned image after cropping in the situation are shown (see FIG. 6).
The screen shown in FIG. 23C shows a read image before cropping and a read image after cropping in a situation where lack or blank space occurs due to an error in destination specification setting for the read standard size document. For example, if you set an A4R size standard document, and it is set to the INCH standard size document specification, it will be detected as a standard size document of 8.5" x 11" size. Display the later scanned image.
The screen shown in FIG. 23D shows a read image before cropping and a read image after cropping in a situation where missing parts or margins are caused by reading a special document having a size similar to that of a standard document. For example, if you set a special document with a width (guide width W) of ±10 mm for A4R, it will be detected as an A4R size standard document because it is set to AB standard size document specifications, and it may be a special document, so it will be cropped. Display the previous scanned image and the scanned image after cropping.
The screen shown in FIG. 23E shows a read image before cropping and a read image after cropping in a situation where missing parts or margins are caused by reading a special document of A3 length with respect to A4R width, for example.

図23A~23Eにおいて、クロップ前またはクロップ後の画像を選択することにより選択画像が出力され(ステップS39)、処理が終了する。
このように第6実施形態では、クロップスキャンモードにて動作した場合は、クロップ前の読取画像とクロップ後の読取画像のいずれか一方を使用者に選択してもらって出力するようにしている。
In FIGS. 23A to 23E, by selecting an image before or after cropping, the selected image is output (step S39), and the process ends.
As described above, in the sixth embodiment, when operating in the crop scan mode, the user is asked to select and output either the read image before cropping or the read image after cropping.

(第7実施形態)
図24は第7実施形態において、制御部が実行する原稿読み取りの処理を示すフローチャートである。
第7実施形態は以下のように第1~第6実施形態と異なり、その他の点は第1~第6実施形態と概ね同様である。
第7実施形態の場合、読取制御部11S(図3参照)は、不定形サイズを読み取るクロップスキャンモードにおいて、第1段階で判定した定形サイズおよび原稿サイズ情報に基づいて、原稿の全領域を読み取り可能な最小の領域を読み取るようにスキャナーユニット(原稿読取部)15を制御する。また、クロップスキャンモードにおいて、読取制御部11Sとしての制御部11は、記憶デバイス13に記憶された定形サイズ情報と、原稿サイズ検知部10にて検知された原稿サイズ情報とに基づいて、必要メモリ容量および画像の読取サイズを決定する。
(Seventh embodiment)
FIG. 24 is a flowchart showing document reading processing executed by the control unit in the seventh embodiment.
The seventh embodiment differs from the first to sixth embodiments as follows, and the rest is generally the same as the first to sixth embodiments.
In the case of the seventh embodiment, the reading control unit 11S (see FIG. 3) reads the entire area of the document based on the standard size determined in the first stage and the document size information in the crop scan mode for reading the irregular size. The scanner unit (original reading section) 15 is controlled so as to read the smallest possible area. In the crop scan mode, the control unit 11 as the reading control unit 11S determines the required memory based on the standard size information stored in the storage device 13 and the document size information detected by the document size detection unit 10. Determine the capacity and read size of the image.

つまり、第7実施形態の場合、図3と図24に示すように、クロップスキャンモードにて動作した後(ステップS23)、原稿領域判定回路45が前記定形サイズ情報と前記原稿サイズ情報とに基づいて画像読み取り幅および長さを決定し(ステップS24)すると共に、画像読み取り幅および長さから画像保存メモリの容量を決定し(ステップS25)、その後、原稿給紙を開始する(ステップS26)。
例えば、主走査幅(直交方向B)は検知原稿サイズの幅+αおよび実ガイド幅+αの大きい方とし、副走査長(原稿搬送方向A)は検知原稿サイズ長+αとして原稿の読取サイズを決定する。
あるいは、例えば、横長さ(直交方向B)240mm、縦長さ(原稿搬送方向A)250mmの特殊原稿の場合、主走査幅(直交方向B)は検知原稿サイズの幅+αおよび実ガイド幅+αの大きい方とし、副走査長(原稿搬送方向A)は原稿セット位置Pから第2センサ10bbまでの距離L2(305mm)として原稿の読取サイズを決定する(図6参照)。
最大サイズを読み込むと、確保するメモリ量が大きくなり、かつクロップ処理に時間がかかってしまうが、第7実施形態によれば余分な読み込み時間やメモリ容量を必要とせず、クロップ処理時間の短縮となる。
In other words, in the case of the seventh embodiment, as shown in FIGS. 3 and 24, after operating in the crop scan mode (step S23), the document area determination circuit 45 determines the size of the document based on the standard size information and the document size information. The width and length of the image to be read are determined (step S24), the capacity of the image storage memory is determined from the width and length of the image to be read (step S25), and then document feeding is started (step S26).
For example, the main scanning width (perpendicular direction B) is the width of the detected document size + α and the actual guide width + α, whichever is larger, and the sub-scanning length (document transport direction A) is the detected document size length + α to determine the reading size of the document. .
Alternatively, for example, in the case of a special document with a horizontal length (perpendicular direction B) of 240 mm and a vertical length (original transport direction A) of 250 mm, the main scanning width (perpendicular direction B) is larger than the detection document size width + α and the actual guide width + α. On the other hand, the sub-scanning length (document transport direction A) is the distance L2 (305 mm) from the document set position P to the second sensor 10bb, and the read size of the document is determined (see FIG. 6).
If the maximum size is read, the amount of memory to be secured increases and the crop processing takes time. Become.

(第8実施形態)
第8実施形態の原稿読取装置は、図3で示された構成を備えるが、次の点が第1~第7実施形態とは異なり、その他の点では第1~第7実施形態と概ね同様である。
第8実施形態の場合、記憶デバイス(記憶部)13は、各定形サイズの縦長さおよび横長さとしてそれぞれ1以上の刻み段階(例えば、0.1mm単位で0.1mmから310.0mm程度の長さ範囲)で長さを記憶する。例えば、記憶デバイス13は、原稿サイズ検知部10が定形サイズの種類より多い刻み段階で長さを検出する縦横少なくとも何れかの多段階検知方向において複数の刻み段階の長さ範囲を一つの定形サイズに属する長さとして予め記憶してもよい。
(Eighth embodiment)
The document reading apparatus of the eighth embodiment has the configuration shown in FIG. 3, but differs from the first to seventh embodiments in the following points, and is generally similar to the first to seventh embodiments in other respects. is.
In the case of the eighth embodiment, the storage device (storage unit) 13 has one or more increments for the vertical length and horizontal length of each standard size (for example, a length of about 0.1 mm to 310.0 mm in units of 0.1 mm). length range). For example, the storage device 13 stores the length range of a plurality of increments in at least one of the vertical and horizontal multi-step detection directions in which the document size detection unit 10 detects the length in increments greater than the types of standard sizes as one standard size. may be stored in advance as a length belonging to .

また、原稿サイズ検知部10は、原稿の少なくとも縦長さおよび横長さの何れかについて定形サイズの種類数より多い刻み段階で長さを検知する。例えば、定形サイズの種類数が9種類(図7参照)であれば、各定形サイズの縦長さ方向の一端(図6の原稿搬送方向Aの上流側端部)を検知するように、センターラインC上に原稿セット位置Pから原稿搬送方向Aに向かって11個の刻み段階でセンサが設けられている。これらは等間隔ではなく、各定形サイズの原稿の縦長さよりも少し短い位置に設けられている。また、原稿セット位置Pから最も離れた11個目のセンサはA3Rサイズよりも長い不定形サイズを検知する。
一方、原稿サイズ検知部10の一対の原稿ガイド10aによる横長さ検知は第1~第7実施形態と同様である。なお、原稿の縦長さも、原稿搬送方向Aにスライド可能な1片の原稿ガイドを用いて検知するようにしてもよい。
In addition, the document size detection unit 10 detects the length of at least one of the vertical length and the horizontal length of the document in steps greater than the number of standard size types. For example, if there are nine kinds of standard sizes (see FIG. 7), the center line is set so as to detect one end of each standard size in the longitudinal direction (the upstream end in the document transport direction A in FIG. 6). Sensors are provided on C at 11 increments in the document conveying direction A from the document setting position P. As shown in FIG. These are not evenly spaced, but are provided at positions slightly shorter than the vertical length of each standard size document. Also, the eleventh sensor, which is the farthest from the document set position P, detects an irregular size longer than the A3R size.
On the other hand, horizontal length detection by a pair of document guides 10a of the document size detection unit 10 is the same as in the first to seventh embodiments. Note that the vertical length of the document may also be detected using a one-piece document guide that can be slid in the document transport direction A. FIG.

また、第8実施形態の場合、読取制御部11Sとしての制御部11は、原稿サイズ検知部10にて検知された縦長さおよび横長さの組合せに係る原稿サイズ検知情報に基づいて、載置された原稿のサイズが何れかの定形サイズに相当するか何れにも相当しない不定形サイズかを判定する。
また、原稿領域判定回路45は、読取制御部11Sとしての制御部11が不定形サイズと判定した原稿は定形サイズと判定した原稿と異なるモードで原稿の読取領域を決定する。
また、読取制御部11Sとしての制御部11は、載置された原稿のサイズが複数の定形サイズのいずれに相当するかを予備判定し、多段階検知方向において、予備判定された定形サイズの長さと検知された原稿の長さとの間に、所定の許容値の範囲を超える差がある場合は原稿が不定形サイズ原稿であると判定してもよい。
また、第8実施形態に第2~第7実施形態の特徴的な要素を組み合わせてもよい。
Further, in the case of the eighth embodiment, the control unit 11 as the reading control unit 11S is placed based on the document size detection information regarding the combination of the vertical length and the horizontal length detected by the document size detection unit 10. It is determined whether the size of the original document corresponds to any standard size or to an irregular size which does not correspond to any of them.
Further, the document area determination circuit 45 determines the reading area of the document in a mode different from the mode for the document determined to be the irregular size by the control section 11 as the reading control section 11S.
Further, the control unit 11 serving as the reading control unit 11S preliminarily determines to which of a plurality of standard sizes the size of the placed document corresponds, and determines the length of the preliminarily determined standard size in the multi-step detection direction. If there is a difference between the length of the original and the detected length of the original that exceeds the range of a predetermined allowable value, it may be determined that the original is a non-standard size original.
Moreover, the characteristic elements of the second to seventh embodiments may be combined with the eighth embodiment.

(まとめ)
以上に述べたように、
(i)第1実施形態に対応する前記第1の発明による原稿読取装置は、
原稿を読み取る原稿読取部と、
原稿を載置し、載置された原稿を前記原稿読取部に向けた原稿搬送方向に搬送する原稿搬送部と、
複数の定形原稿のそれぞれの長辺長さと短辺長さに係る定形サイズを予め記憶する記憶部と、
載置された原稿の前記原稿搬送方向に沿う縦長さおよび前記原稿搬送方向と直交する方向の横長さを検知する原稿サイズ検知部と、
前記原稿サイズ検知部にて検知された前記縦長さおよび横長さの組合せに係る原稿サイズ情報に基づいて、載置された原稿のサイズが複数の前記定形サイズのいずれに相当するかを第1段階で予備的に判定する原稿サイズ判定部と、
原稿領域判定部とを備え、
前記原稿サイズ判定部は、前記第1段階後の第2段階において、前記第1段階で判定した定形サイズと、前記原稿サイズ情報とに基づいて、原稿のサイズが定形サイズであるか不定形サイズであるかを判定し、
前記原稿領域判定部は、前記原稿サイズ判定部が不定形サイズと判定した原稿は定形サイズと判定した原稿と異なるモードで前記原稿の読取領域を決定する、ことを特徴とする。
(summary)
As mentioned above,
(i) The document reading device according to the first invention corresponding to the first embodiment,
a manuscript reading unit for reading a manuscript;
a document transport unit for placing a document and transporting the placed document in a document transport direction toward the document reading unit;
a storage unit for pre-storing standard sizes related to long side lengths and short side lengths of a plurality of standard size originals;
a document size detection unit that detects the vertical length of the placed document along the document transport direction and the horizontal length of the document in a direction orthogonal to the document transport direction;
In a first step, it is determined to which of the plurality of standard sizes the size of the placed document corresponds based on the document size information relating to the combination of the vertical length and the horizontal length detected by the document size detection unit. A document size determination unit that makes a preliminary determination with
and a document area determination unit,
In a second step after the first step, the document size determination unit determines whether the size of the document is a standard size or a non-standard size based on the standard size determined in the first step and the document size information. and determine whether
The document area determination unit determines the reading area of the document in a mode different from that of the document determined to be of a fixed size by the document size determination unit to determine a document of irregular size.

第1の発明による原稿読取装置では、原稿サイズを予備的に(暫定的に)特定した上で、原稿サイズ情報に応じたサイズにて原稿の画像を読み取る。このとき、不定形サイズの場合は、定形サイズと異なるモードとしてのクロップスキャンモードにて、最大サイズではなく、実原稿サイズより僅かに大きいサイズを読み取るようにするため、読み取り時間の短縮、メモリ容量の削減、クロップ処理時間の短縮等を図ることができる。また、従来生じていた傾き、ずれ、欠け等を有する出力画像も、正しく切り出され、傾いた画像には斜め補正を行って出力することができる。また、ユーザーによる手動での原稿サイズ入力操作も不要である。 In the document reading apparatus according to the first invention, the size of the document is preliminarily (tentatively) specified, and then the image of the document is read in a size corresponding to the document size information. At this time, in the case of non-standard sizes, the crop scan mode, which is different from the standard size, scans a size slightly larger than the actual document size instead of the maximum size. can be reduced, the crop processing time can be shortened, and the like. In addition, an output image having tilts, shifts, defects, etc., which has conventionally occurred can be correctly cut out, and tilted images can be output after performing skew correction. In addition, the user does not need to manually input the document size.

第1の発明において、原稿読取部は、原稿を走査して画像を読み取るものである。その具体的な態様としては、例えば、CCD(Charge Coupled Device)やCIS(Contact Image Sensor)等のリニアイメージセンサを用いたものが一般的である。一般的にA3サイズやA4サイズまでの原稿が読み取り対象であるため、エリアイメージセンサ―を用いると縮小光学系やセンサのサイズが大きくなってしまう。そこで、リニアイメージセンサを用いて、副走査方向についてはイメージセンサに対して原稿を相対的に移動させる走査機構を用いて装置全体の小型化を実現している。フィーダーモードでは副走査方向におけるイメージセンサの読取位置を固定し原稿を搬送、移動させて読み取りを行うのが一般的である。プラテンモードでは、原稿を原稿台上に固定し、読取位置を移動させるのが一般的である。CISの場合はイメージセンサをキャリッジに搭載して読取位置を副走査方向に移動させ、CCDイメージセンサの場合は縮小光学系を構成するミラーをキャリッジに搭載して読取位置を副走査方向に移動させる。 In the first invention, the document reading section scans a document to read an image. As a specific aspect thereof, for example, it is common to use a linear image sensor such as a CCD (Charge Coupled Device) or CIS (Contact Image Sensor). Generally, documents up to A3 size or A4 size are to be read, so if an area image sensor is used, the reduction optical system and the size of the sensor become large. Therefore, a linear image sensor is used, and a scanning mechanism that moves the document relative to the image sensor in the sub-scanning direction is used to realize the miniaturization of the entire apparatus. In the feeder mode, generally, the reading position of the image sensor in the sub-scanning direction is fixed, and the document is conveyed and moved for reading. In the platen mode, the document is generally fixed on the platen and the reading position is moved. In the case of CIS, the image sensor is mounted on the carriage and the reading position is moved in the sub-scanning direction, and in the case of the CCD image sensor, the mirror constituting the reduction optical system is mounted on the carriage and the reading position is moved in the sub-scanning direction. .

さらにまた、原稿領域は、イメージセンサが読み取り可能な領域のうち原稿に対応する領域である。イメージセンサが読み取り可能な領域は、読み取り可能な最大サイズの原稿よりやや大きな領域が通常である。原稿搬送機構や光学系の調整の公差を見込んでいるからである。原稿読取装置は、検出あるいは設定された原稿サイズに応じた原稿領域を読み取った画像から切り出す。 Furthermore, the document area is an area corresponding to the document among the areas readable by the image sensor. The area readable by the image sensor is usually slightly larger than the maximum readable size of the document. This is because the adjustment tolerances of the document conveying mechanism and the optical system are taken into consideration. The document reading device cuts out a document area corresponding to the detected or set document size from the read image.

原稿領域を切り出すとは、出力する画像、即ち印刷や送信する画像を原稿領域に対応させること(クロップ処理)である。出力する画像のサイズが原稿領域よりも大きい場合は、原稿領域外を所定の画素(通常は白画素)で埋めて出力する。 Cutting out a document area means making an image to be output, that is, an image to be printed or transmitted, correspond to the document area (cropping processing). When the size of the image to be output is larger than the document area, the area outside the document area is filled with predetermined pixels (usually white pixels) and output.

さらに、前記第1の発明の好ましい態様について説明する。
(ii)前記原稿サイズ判定部は、前記第1段階で判定した定形サイズの縦長さと前記原稿サイズ情報に係る縦長さとの間、または前記第1段階で判定した定形サイズの横長さと前記原稿サイズ情報に係る横長さとの間に、所定の許容値の範囲を超える差がある場合は原稿が不定形サイズであると判定するものであってもよい。
この構成によれば、例えば、原稿ガイドをセットした原稿の横長さ検知として用いた場合に、原稿ガイドの原稿に対する多少の位置ズレを許容しながら概ね正確な横長さ検知を行い得る。
Furthermore, a preferred embodiment of the first invention will be described.
(ii) The manuscript size determination unit selects between the length of the standard size determined in the first step and the length according to the manuscript size information, or the width of the standard size determined in the first step and the manuscript size information. If there is a difference exceeding the range of a predetermined allowable value, it may be determined that the document is of an irregular size.
According to this configuration, for example, when the document guide is used to detect the horizontal length of the set document, the horizontal length can be generally accurately detected while allowing some positional deviation of the document guide with respect to the document.

(iii)特定の仕向け地仕様に設定する仕向け地仕様設定部をさらに備え、
前記記憶部は、前記複数の定形サイズを仕向け地仕様別に予め記憶可能であり、
前記原稿サイズ判定部は、前記原稿サイズ情報が特定の縦長さおよび横長さの組合せに係る場合、前記原稿サイズ情報に係る縦長さが、設定された特定の仕向地仕様とは異なる別の仕向け地にて予め定められた長さに対して前記許容値の範囲内であるときに、または前記原稿サイズ情報に係る横長さが、前記別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内であるときに、前記第1段階において前記特定の仕向け地の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定するものであってもよい。
仕向け地仕様設置が誤っていると、例えば、主に使用するのはAB系定形原稿であるにもかかわらずINCH系定形原稿仕様設定となっていると(この逆の場合も同様に)、読み取った原稿画像に欠けや余白を生じる可能性がある。この構成によれば、仕向け地仕様設定が間違っていても不定形サイズであると判定してクロップスキャンモードで動作することができる。
(iii) further comprising a destination specification setting unit for setting to a specific destination specification;
The storage unit is capable of pre-storing the plurality of standard sizes according to destination specifications,
When the document size information relates to a combination of a specific vertical length and a horizontal length, the document size determination unit determines that the vertical length related to the document size information is different from the set specific destination specifications. or when the horizontal length related to the document size information is within the range of the allowable value with respect to the length predetermined in the another destination specification When it is within the range of the allowable value, even if it is determined in the first stage that it corresponds to the standard size of the specific destination, or it is determined in the second stage that it is an irregular size. good.
If the setting of the destination specification is incorrect, for example, if the AB standard format document is mainly used but the INCH standard format specification is set (and vice versa), reading missing or margins may occur in the original image. According to this configuration, even if the destination specification setting is incorrect, it is possible to determine that the size is irregular and to operate in the crop scan mode.

(iv)特定の仕向け地仕様に設定する仕向け地仕様設定部をさらに備え、
前記記憶部は、前記複数の定形サイズを仕向け地仕様別に予め記憶可能であり、
前記原稿サイズ判定部は、前記原稿サイズ情報が特定の縦長さおよび横長さの組合せに係る場合、前記原稿サイズ情報に係る縦長さが、設定された特定の仕向地仕様とは異なる別の仕向け地にて予め定められた長さに対して前記許容値の範囲内であるときに、または前記原稿サイズ情報に係る横長さが、前記別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内における所定の微小誤差の範囲内であるときに、前記第1段階において前記特定の仕向け地の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定するものであってもよい。
この構成によれば、互いに異なる仕向け地仕様(AB系定形原稿仕様とINCH系定形原稿仕様)でありながらサイズが近い定形原稿間の判別に特化することができる。
(iv) further comprising a destination specification setting unit for setting to a specific destination specification;
The storage unit is capable of pre-storing the plurality of standard sizes according to destination specifications,
When the document size information relates to a combination of a specific vertical length and a horizontal length, the document size determination unit determines that the vertical length related to the document size information is different from the set specific destination specifications. or when the horizontal length related to the document size information is within the range of the allowable value with respect to the length predetermined in the another destination specification When it is within the range of a predetermined minute error within the range of the allowable value, even if it is determined in the first step that it corresponds to the regular size of the specific destination, it is an irregular size in the second step. It may be determined that
According to this configuration, it is possible to specialize in discriminating between standard-size documents having different destination specifications (AB-system standard-size document specifications and INCH-system standard-size document specifications) but having similar sizes.

(v)前記原稿読取部を制御する読取制御部をさらに備え、
前記読取制御部は、定形サイズを読み取るモードにおいては各定形サイズに応じて予め定められた領域を読取領域とし、不定形サイズを読み取るモードにおいては原稿の全領域を読み取った画像から原稿の境界を判断して原稿領域を切り出すように、前記原稿読取部を制御するものであってもよい。
この構成によれば、欠けや余白のない原稿画像を得ることができる。
(v) further comprising a reading control unit that controls the document reading unit;
The reading control unit sets a predetermined area according to each standard size as a reading area in the mode for reading the standard size, and determines the boundary of the document from the image obtained by reading the entire area of the document in the mode for reading the irregular size. The document reading section may be controlled so as to determine and cut out the document area.
With this configuration, it is possible to obtain a document image without missing or margins.

(vi)前記読取制御部は、不定形サイズを読み取るモードにおいて、前記第1段階で判定した定形サイズおよび前記原稿サイズ情報に基づいて、原稿の全領域を読み取り可能な最小の領域を読み取るように前記原稿読取部を制御するものであってもよい。
この構成によれば、余分な読み込み時間やメモリ容量を必要とせず、クロップ処理時間の短縮となる。
(vi) In the irregular size reading mode, the reading control unit reads the smallest possible area for reading the entire document based on the standard size determined in the first step and the document size information. The document reading unit may be controlled.
According to this configuration, the crop processing time can be shortened without requiring extra reading time or memory capacity.

(vii)定形サイズを読み取るモードおよび不定形サイズを読み取るモードの画面表示が可能な表示部をさらに備え、
前記表示部は、定形サイズを読み取るモードと不定形サイズを読み取るモードのいずれか一方に設定するためのユーザー設定画面を表示するものであってもよい。
この構成によれば、原稿セットトレイ上にセットした原稿が不定形サイズであるかまたは原稿を適切にセットしていないと判定すると、表示部にユーザー設定画面を表示して使用者にクロップスキャンモードで処理するか通常モードで処理するかを選択してもらうことができる。
(vii) further comprising a display unit capable of displaying a screen for reading a standard size and a mode for reading an irregular size;
The display section may display a user setting screen for setting either a mode for reading a standard size or a mode for reading an irregular size.
According to this configuration, when it is determined that the document set on the document set tray is of a non-standard size or that the document is not properly set, the user setting screen is displayed on the display section to prompt the user to enter the crop scan mode. You can choose whether to process with or in normal mode.

(viii)定形サイズを読み取るモードおよび不定形サイズを読み取るモードの画面を表示可能な表示部をさらに備え、
前記原稿サイズ判定部が不定形サイズと判定した場合に前記原稿読取部が不定形サイズを読み取るモードで読み取った後、前記表示部は、前記第1段階で判定した定形サイズに応じた領域を切り出す場合と、原稿の境界を切り出す場合とのプレビュー画像を表示していずれかの選択を受付けるものであってもよい。
この構成によれば、クロップスキャンモードにて動作した場合は、クロップ前の読取画像とクロップ後の読取画像のいずれか一方を使用者に選択してもらって出力することができる。
(viii) further comprising a display unit capable of displaying a screen for reading a standard size and a mode for reading an irregular size;
When the document size determining unit determines that the document is of irregular size, after the document reading unit reads the document in the irregular size reading mode, the display unit cuts out an area corresponding to the standard size determined in the first step. It is also possible to display a preview image of a case and a case of clipping the boundary of the document, and accept selection of one of them.
According to this configuration, when operating in the crop scan mode, the user can select either one of the read image before cropping and the read image after cropping and output it.

(I)また、第8実施形態に対応する前記第2の発明による原稿読取装置は、
原稿を読み取る原稿読取部と、
原稿を載置し、載置された原稿を前記原稿読取部に向けた原稿搬送方向に搬送する原稿搬送部と、
原稿に係る複数の定形サイズのそれぞれの縦長さと横長さを予め記憶する記憶部と、
載置された原稿の前記原稿搬送方向に沿う縦長さおよび前記原稿搬送方向と直交する方向の横長さを検知する原稿サイズ検知部と、
原稿のサイズを判定する原稿サイズ判定部と、
原稿領域判定部とを備え、
前記記憶部は、各定形サイズの縦長さおよび横長さとしてそれぞれ1以上の刻み段階で長さを記憶し、
前記原稿サイズ検知部は、原稿の少なくとも縦長さおよび横長さの何れかについて前記定形サイズの種類数より多い刻み段階で長さを検知し、
前記原稿サイズ判定部は、前記原稿サイズ検知部にて検知された前記縦長さおよび横長さの組合せに係る原稿サイズ検知情報に基づいて、載置された原稿のサイズが何れかの前記定形サイズに相当するか何れにも相当しない不定形サイズかを判定し、
前記原稿領域判定部は、前記原稿サイズ判定部が不定形サイズと判定した原稿は定形サイズと判定した原稿と異なるモードで前記原稿の読取領域を決定する、ことを特徴とする。
(I) In addition, the document reading device according to the second invention corresponding to the eighth embodiment includes:
a document reading unit for reading a document;
a document transport unit for placing a document and transporting the placed document in a document transport direction toward the document reading unit;
a storage unit that stores in advance the vertical length and horizontal length of each of a plurality of standard sizes related to a document;
a document size detection unit that detects the vertical length of the placed document along the document transport direction and the horizontal length of the document in a direction orthogonal to the document transport direction;
a document size determination unit that determines the size of a document;
and a document area determination unit,
The storage unit stores lengths in one or more increments as the vertical length and horizontal length of each standard size, and
The document size detection unit detects the length of at least one of the vertical length and the horizontal length of the document in increments greater than the number of types of the standard sizes,
The document size determination section determines the size of the placed document as one of the standard sizes based on the document size detection information relating to the combination of the vertical length and the horizontal length detected by the document size detection section. Determine whether it is an irregular size that corresponds to or does not correspond to either,
The document area determination unit determines the reading area of the document in a mode different from that of the document determined to be of a fixed size by the document size determination unit to determine a document of irregular size.

さらに、前記第2の発明の好ましい態様について説明する。
(II)前記記憶部は、前記原稿サイズ検知部が前記定形サイズの種類より多い刻み段階で長さを検出する縦横少なくとも何れかの多段階検知方向において複数の刻み段階の長さ範囲を一つの定形サイズに属する長さとして予め記憶し、
前記原稿サイズ判定部は、載置された原稿のサイズが複数の前記定形サイズのいずれに相当するかを予備判定し、前記多段階検知方向において、予備判定された定形サイズの長さと検知された原稿の長さとの間に、所定の許容値の範囲を超える差がある場合は原稿が不定形サイズ原稿であると判定するものであってもよい。
Furthermore, a preferred embodiment of the second invention will be described.
(II) The storage unit stores the length range of a plurality of increments in at least one of the vertical and horizontal multi-step detection directions in which the document size detection unit detects the length in increments greater than the types of the standard size into one. Stored in advance as a length belonging to a standard size,
The document size determination unit preliminarily determines to which of the plurality of standard sizes the size of the placed document corresponds, and detects the length of the preliminarily determined standard size in the multistage detection direction. If the length of the document exceeds the range of a predetermined allowable value, it may be determined that the document is a non-standard size document.

(III)特定の仕向け地仕様に設定する仕向け地仕様設定部をさらに備え、
前記記憶部は、前記複数の定形サイズを仕向け地仕様別に予め記憶可能であり、
前記原稿サイズ判定部は、前記原稿サイズ検知情報が、特定の組み合わせである場合は、前記多段階検知方向において検知された長さが、設定された特定の仕向地仕様とは異なる別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内である場合は、前記特定の仕向け地の定形サイズに相当すると予備判定していても不定形サイズであると判定するものであってもよい。
(III) further comprising a destination specification setting unit for setting a specific destination specification,
The storage unit is capable of pre-storing the plurality of standard sizes according to destination specifications,
When the document size detection information is a specific combination, the document size determination unit determines that the length detected in the multi-stage detection direction is different from the set specific specification of the destination. If the length predetermined in the specifications is within the allowable range, it is determined to be an irregular size even if it is preliminarily determined to correspond to the standard size for the specific destination. There may be.

(IV)特定の仕向け地仕様に設定する仕向け地仕様設定部をさらに備え、
前記記憶部は、前記原稿サイズ検知情報が、特定の組み合わせである場合は、前記多段階検知方向において検知された長さが、設定された特定の仕向地仕様とは異なる別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内における所定の微小誤差の範囲内である場合は、前記特定の仕向け地の定形サイズに相当すると予備判定していても不定形サイズであると判定するものであってもよい。
(IV) further comprising a destination specification setting unit for setting to a specific destination specification,
When the document size detection information is a specific combination, the storage unit stores the length detected in the multi-step detection direction in accordance with another destination specification different from the set specific destination specification. If it is within the range of a predetermined minute error within the range of the allowable value for the predetermined length, it is an irregular size even if it is preliminarily determined that it corresponds to the standard size of the specific destination. It may be determined that there is.

(V)前記原稿サイズ検知部は、前記多段階検知方向において検知された長さが何れかの定形サイズに対応しても縦横の長さの組合せが何れの定形サイズにも対応しない場合は不定形サイズであると判定するものであってもよい。 (V) Even if the length detected in the multi-step detection direction corresponds to any standard size, if the combination of lengths and widths does not correspond to any standard size, It may be determined to be a standard size.

この発明の好ましい態様には、上述した複数の態様のうちの何れかを組み合わせたものも含まれる。
前述した実施の形態の他にも、この発明について種々の変形例があり得る。それらの変形例は、この発明の範囲に属さないと解されるべきものではない。この発明には、請求の範囲と均等の意味および前記範囲内でのすべての変形とが含まれるべきである。
Preferred aspects of the present invention include combinations of any of the aspects described above.
Various modifications of the present invention are possible in addition to the above-described embodiments. Those modifications should not be construed as not belonging to the scope of the present invention. The present invention should include all modifications within the scope of the claims, the meaning of equivalents, and the scope.

10:原稿サイズ検知部、 10a:原稿ガイド、 10ba:第1センサ、 10bb:第2センサ、 10bc:原稿センサ、 11:制御部、 11C:通信制御部、 11F:ファイル制御部、 11J:ジョブ管理部、 11P:画像処理制御部、 11S:読取制御部、 11U:UI制御部、 11X:ジョブ実行部、 12:原稿読取装置、 13:記憶デバイス(記憶部)、 14:画像形成ユニット(画像形成部)、 15:スキャナーユニット(原稿読取部)、 16:原稿送り装置(原稿搬送部)、 17:原稿台、 18:オモテ面読取窓、 19:ユーザーインターフェース・ユニット(UIユニット)、 19I:操作入力デバイス、 19D:表示デバイス(表示部)、 21:通信回路、 31:原稿セットトレイ、 32:カバー部材、 33:原稿排出トレイ、 40:画像処理回路、 41:入力処理回路、 45:原稿領域判定回路(原稿領域判定部)、 47:出力画像生成回路、 51:オモテ面背景色板、 53:裏面背景色板、 55:第1キャリッジ、 57:第2キャリッジ、 59:光学レンズ、 61:イメージセンサ、 63:スキャナモーター、 65:ワイヤプーリー、 67:裏面読取ユニット、 69:レンズ・イメージセンサユニット、 100:複合機、 A:原稿搬送方向、 B:原稿搬送方向と直交する方向、 C:センターライン、 D:原稿、 d1、d2:端部、 Dx:原稿束、 L1、L2:距離、 P:原稿セット位置、 R1、R2、R3:読取位置、 S:隙間、 W:間隔(ガイド幅) 10: document size detection section 10a: document guide 10ba: first sensor 10bb: second sensor 10bc: document sensor 11: control section 11C: communication control section 11F: file control section 11J: job management 11P: image processing control unit 11S: reading control unit 11U: UI control unit 11X: job execution unit 12: document reading device 13: storage device (storage unit) 14: image forming unit (image forming section), 15: scanner unit (document reading section), 16: document feeder (document feeding section), 17: document table, 18: front side reading window, 19: user interface unit (UI unit), 19I: operation Input device 19D: Display device (display unit) 21: Communication circuit 31: Document set tray 32: Cover member 33: Document ejection tray 40: Image processing circuit 41: Input processing circuit 45: Document area Determination circuit (original area determination unit) 47: Output image generation circuit 51: Front background color plate 53: Back background color plate 55: First carriage 57: Second carriage 59: Optical lens 61: Image sensor 63: Scanner motor 65: Wire pulley 67: Back side scanning unit 69: Lens/image sensor unit 100: MFP A: Document transport direction B: Direction perpendicular to the document transport direction C: Center line D: Document d1, d2: Edge Dx: Document bundle L1, L2: Distance P: Document set position R1, R2, R3: Reading position S: Gap W: Gap (guide width )

Claims (9)

原稿を読み取る原稿読取部と、
原稿を載置し、載置された原稿を前記原稿読取部に向けた原稿搬送方向に搬送する原稿搬送部と、
複数の定形原稿のそれぞれの長辺長さと短辺長さに係る定形サイズを予め記憶する記憶部と、
載置された原稿の前記原稿搬送方向に沿う縦長さおよび前記原稿搬送方向と直交する方向の横長さを検知する原稿サイズ検知部と、
前記原稿サイズ検知部にて検知された前記縦長さおよび横長さの組合せに係る原稿サイズ情報に基づいて、載置された原稿のサイズが複数の前記定形サイズのいずれに相当するかを第1段階で予備的に判定する原稿サイズ判定部と、
原稿領域判定部とを備え、
前記原稿サイズ判定部は、前記第1段階後の第2段階において、前記第1段階で判定した定形サイズと、前記原稿サイズ情報とに基づいて、原稿のサイズが定形サイズであるか不定形サイズであるかを判定し、
前記原稿領域判定部は、前記原稿サイズ判定部が不定形サイズと判定した原稿は定形サイズと判定した原稿と異なるモードで前記原稿の読取領域を決定する、ことを特徴とする原稿読取装置。
a manuscript reading unit for reading a manuscript;
a document transport unit for placing a document and transporting the placed document in a document transport direction toward the document reading unit;
a storage unit for pre-storing standard sizes related to long side lengths and short side lengths of a plurality of standard size originals;
a document size detection unit that detects the vertical length of the placed document along the document transport direction and the horizontal length of the document in a direction orthogonal to the document transport direction;
In a first step, it is determined to which of the plurality of standard sizes the size of the placed document corresponds based on the document size information relating to the combination of the vertical length and the horizontal length detected by the document size detection unit. A document size determination unit that makes a preliminary determination with
and a document area determination unit,
In a second step after the first step, the document size determination unit determines whether the size of the document is a standard size or a non-standard size based on the standard size determined in the first step and the document size information. and determine whether
The document reading apparatus according to claim 1, wherein the document area determination section determines the reading area of the document in a mode different from that of the document determined to be of a fixed size by the document size determination section to determine a document of irregular size.
前記原稿サイズ判定部は、前記第1段階で判定した定形サイズの縦長さと前記原稿サイズ情報に係る縦長さとの間、または前記第1段階で判定した定形サイズの横長さと前記原稿サイズ情報に係る横長さとの間に、所定の許容値の範囲を超える差がある場合は原稿が不定形サイズであると判定する、請求項1に記載の原稿読取装置。 The document size determination unit determines whether the vertical length of the standard size determined in the first step and the vertical length related to the document size information, or the horizontal length of the standard size determined in the first step and the horizontal length related to the document size information is determined. 2. The document reading apparatus according to claim 1, wherein the document is judged to be of irregular size when there is a difference exceeding a predetermined allowable range between the two. 特定の仕向け地仕様に設定する仕向け地仕様設定部をさらに備え、
前記記憶部は、前記複数の定形サイズを仕向け地仕様別に予め記憶可能であり、
前記原稿サイズ判定部は、前記原稿サイズ情報が特定の縦長さおよび横長さの組合せに係る場合、前記原稿サイズ情報に係る縦長さが、設定された特定の仕向地仕様とは異なる別の仕向け地にて予め定められた長さに対して前記許容値の範囲内であるときに、または前記原稿サイズ情報に係る横長さが、前記別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内であるときに、前記第1段階において前記特定の仕向け地の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定する、請求項2に記載の原稿読取装置。
further comprising a destination specification setting unit for setting to a specific destination specification,
The storage unit is capable of pre-storing the plurality of standard sizes according to destination specifications,
When the document size information relates to a combination of a specific vertical length and a horizontal length, the document size determination unit determines that the vertical length related to the document size information is different from the set specific destination specifications. or when the horizontal length related to the document size information is within the range of the allowable value with respect to the length predetermined in the another destination specification 3. The method according to claim 2, wherein when the size is within the allowable range, even if it is determined in the first step that it corresponds to the standard size of the specific destination, in the second step it is determined that it is an irregular size. Document reading device described.
特定の仕向け地仕様に設定する仕向け地仕様設定部をさらに備え、
前記記憶部は、前記複数の定形サイズを仕向け地仕様別に予め記憶可能であり、
前記原稿サイズ判定部は、前記原稿サイズ情報が特定の縦長さおよび横長さの組合せに係る場合、前記原稿サイズ情報に係る縦長さが、設定された特定の仕向地仕様とは異なる別の仕向け地にて予め定められた長さに対して前記許容値の範囲内であるときに、または前記原稿サイズ情報に係る横長さが、前記別の仕向地仕様にて予め定められた長さに対して前記許容値の範囲内における所定の微小誤差の範囲内であるときに、前記第1段階において前記特定の仕向け地の定形サイズに相当すると判定していても前記第2段階において不定形サイズであると判定する、請求項2に記載の原稿読取装置。
further comprising a destination specification setting unit for setting to a specific destination specification,
The storage unit is capable of pre-storing the plurality of standard sizes according to destination specifications,
When the document size information relates to a combination of a specific vertical length and a horizontal length, the document size determination unit determines that the vertical length related to the document size information is different from the set specific destination specifications. or when the horizontal length related to the document size information is within the range of the allowable value with respect to the length predetermined in the another destination specification When it is within the range of a predetermined minute error within the range of the allowable value, even if it is determined in the first step that it corresponds to the regular size of the specific destination, it is an irregular size in the second step. 3. The document reading device according to claim 2, wherein the document reading device determines that
前記原稿読取部を制御する読取制御部をさらに備え、
前記読取制御部は、定形サイズを読み取るモードにおいては各定形サイズに応じて予め定められた領域を読取領域とし、不定形サイズを読み取るモードにおいては原稿の全領域を読み取った画像から原稿の境界を判断して原稿領域を切り出すように、前記原稿読取部を制御する、請求項1~4のいずれか1つに記載の原稿読取装置。
further comprising a reading control unit that controls the document reading unit;
The reading control unit sets a predetermined area according to each standard size as a reading area in the mode for reading the standard size, and determines the boundary of the document from the image obtained by reading the entire area of the document in the mode for reading the irregular size. 5. The document reading apparatus according to claim 1, wherein said document reading section is controlled so as to determine and cut out a document area.
前記読取制御部は、不定形サイズを読み取るモードにおいて、前記第1段階で判定した定形サイズおよび前記原稿サイズ情報に基づいて、原稿の全領域を読み取り可能な最小の領域を読み取るように前記原稿読取部を制御する、請求項5に記載の原稿読取装置。 The reading control unit reads the document so as to read the minimum readable area of the entire document based on the document size information and the standard size determined in the first stage in the irregular size reading mode. 6. The document reading device according to claim 5, which controls a unit. 定形サイズを読み取るモードおよび不定形サイズを読み取るモードの画面表示が可能な表示部をさらに備え、
前記表示部は、定形サイズを読み取るモードと不定形サイズを読み取るモードのいずれか一方に設定するためのユーザー設定画面を表示する、請求項1~6のいずれか1つに記載の原稿読取装置。
It also has a display unit that can display a mode for reading standard sizes and a mode for reading irregular sizes.
7. The document reading apparatus according to claim 1, wherein said display unit displays a user setting screen for setting either a standard size reading mode or a non-standard size reading mode.
定形サイズを読み取るモードおよび不定形サイズを読み取るモードの画面を表示可能な表示部をさらに備え、
前記原稿サイズ判定部が不定形サイズと判定した場合に前記原稿読取部が不定形サイズを読み取るモードで読み取った後、前記表示部は、前記第1段階で判定した定形サイズに応じた領域を切り出す場合と、原稿の境界を切り出す場合とのプレビュー画像を表示していずれかの選択を受付ける、請求項1~7のいずれか1つに記載の原稿読取装置。
Furthermore, it has a display unit that can display the screen of the mode for reading standard size and the mode for reading irregular size,
When the document size determining unit determines that the document is of irregular size, after the document reading unit reads the document in the irregular size reading mode, the display unit cuts out an area corresponding to the standard size determined in the first step. 8. The document reading device according to claim 1, wherein a preview image is displayed for a case and a case of clipping the boundary of the document, and selection of any one of them is accepted.
原稿を読み取る原稿読取部と、
原稿を載置し、載置された原稿を前記原稿読取部に向けた原稿搬送方向に搬送する原稿搬送部と、
原稿に係る複数の定形サイズのそれぞれの縦長さと横長さを予め記憶する記憶部と、
載置された原稿の前記原稿搬送方向に沿う縦長さおよび前記原稿搬送方向と直交する方向の横長さを検知する原稿サイズ検知部と、
原稿のサイズを判定する原稿サイズ判定部と、
原稿領域判定部とを備え、
前記記憶部は、各定形サイズの縦長さおよび横長さとしてそれぞれ1以上の刻み段階で長さを記憶し、
前記原稿サイズ検知部は、原稿の少なくとも縦長さおよび横長さの何れかについて前記定形サイズの種類数より多い刻み段階で長さを検知し、
前記原稿サイズ判定部は、前記原稿サイズ検知部にて検知された前記縦長さおよび横長さの組合せに係る原稿サイズ検知情報に基づいて、載置された原稿のサイズが何れかの前記定形サイズに相当するか何れにも相当しない不定形サイズかを判定し、
前記原稿領域判定部は、前記原稿サイズ判定部が不定形サイズと判定した原稿は定形サイズと判定した原稿と異なるモードで前記原稿の読取領域を決定する、ことを特徴とする原稿読取装置。
a document reading unit for reading a document;
a document transport unit for placing a document and transporting the placed document in a document transport direction toward the document reading unit;
a storage unit that stores in advance the vertical length and horizontal length of each of a plurality of standard sizes related to a document;
a document size detection unit that detects the vertical length of the placed document along the document transport direction and the horizontal length of the document in a direction orthogonal to the document transport direction;
a document size determination unit that determines the size of a document;
and a document area determination unit,
The storage unit stores lengths in one or more increments as the vertical length and horizontal length of each standard size, and
The document size detection unit detects the length of at least one of the vertical length and the horizontal length of the document in increments greater than the number of types of the standard sizes,
The document size determination section determines the size of the placed document as one of the standard sizes based on the document size detection information relating to the combination of the vertical length and the horizontal length detected by the document size detection section. Determine whether it is an irregular size that corresponds to or does not correspond to either,
The document reading apparatus according to claim 1, wherein the document area determination section determines the reading area of the document in a mode different from that of the document determined to be of a fixed size by the document size determination section to determine a document of irregular size.
JP2021212781A 2021-12-27 2021-12-27 Document reading device Pending JP2023096791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021212781A JP2023096791A (en) 2021-12-27 2021-12-27 Document reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021212781A JP2023096791A (en) 2021-12-27 2021-12-27 Document reading device

Publications (1)

Publication Number Publication Date
JP2023096791A true JP2023096791A (en) 2023-07-07

Family

ID=87006188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021212781A Pending JP2023096791A (en) 2021-12-27 2021-12-27 Document reading device

Country Status (1)

Country Link
JP (1) JP2023096791A (en)

Similar Documents

Publication Publication Date Title
JP6332081B2 (en) Reading apparatus and image forming apparatus provided with the same
JP4792926B2 (en) Image reading device
JP4140287B2 (en) Image reading apparatus, document feeder, and document reading method
US9369599B2 (en) Image reading device, image forming apparatus, and method for controlling image reading device to remove blank sheet image data
JP5077374B2 (en) Image reading apparatus, image reading method, control program for controlling image reading apparatus, and image forming apparatus
JP6072838B2 (en) Image reading apparatus and image forming apparatus
JP7134794B2 (en) IMAGE READING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE READING DEVICE
JP5273168B2 (en) Image reading system and image reading apparatus
JP2009231887A (en) Document reader
JP2022165794A (en) Image reading apparatus and image reading method
JP2007036605A (en) Multifunction device
JP2023033768A (en) Document reading device and control method for document reading device
JP2022168982A (en) Document reading device, image output device including the document reading device, and control program and control method for document reading device
US20090073463A1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP2023096791A (en) Document reading device
EP3267671B1 (en) Image reading device, method of adjusting distance between document and light receiving sensor in the device, and distance adjustment program
US20230145962A1 (en) Image reading apparatus and control method for image reading
JP4609576B2 (en) Printing device
JP5077383B2 (en) Image reading device
JP7482625B2 (en) IMAGE PROCESSING APPARATUS, CONTROL METHOD FOR IMAGE PROCESSING APPARATUS, AND PROGRAM
US9398187B2 (en) Image scanning apparatus having two scanning units
JP4900352B2 (en) Image reading device
JP2007034641A (en) Multi function device
JP2006080941A (en) Image reading apparatus
JP6245344B2 (en) Image reading apparatus and image forming apparatus