JP2008022285A - Image reading apparatus, image forming apparatus, manuscript size detecting method, manuscript size detecting program, and recording medium - Google Patents

Image reading apparatus, image forming apparatus, manuscript size detecting method, manuscript size detecting program, and recording medium Download PDF

Info

Publication number
JP2008022285A
JP2008022285A JP2006192207A JP2006192207A JP2008022285A JP 2008022285 A JP2008022285 A JP 2008022285A JP 2006192207 A JP2006192207 A JP 2006192207A JP 2006192207 A JP2006192207 A JP 2006192207A JP 2008022285 A JP2008022285 A JP 2008022285A
Authority
JP
Japan
Prior art keywords
document
size
reading
image data
sub
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
JP2006192207A
Other languages
Japanese (ja)
Inventor
Hiroshi Arai
博 荒井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006192207A priority Critical patent/JP2008022285A/en
Publication of JP2008022285A publication Critical patent/JP2008022285A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image reading apparatus, an image forming apparatus, a manuscript size detecting method, a manuscript size detecting program, and a recording medium , capable of detecting a manuscript size in a sub-scanning direction using a manuscript reading line sensor. <P>SOLUTION: A carriage is moved to a final end position of a manuscript reading maximum size (step S1), and image data are read to detect a manuscript size up to a home position. Necessary preparation is performed for detecting the manuscript size (step S2). When it is detected that a pressure plate is closed (step S3/Yes), manuscript size detection is started. Images over a plurality of lines are read and stored in a plurality of line memories 29. After the manuscript reading is completed, the irradiation of the manuscript is finished (step S6). The read manuscript image data are taken out(step S7), and the image data are analyzed (step S8). When the size detection becomes successful (step S9/Yes), the manuscript size is determined (step S10). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、画像読取り装置、画像形成装置、原稿サイズ検知方法、原稿サイズ検知プログラム及び記録媒体に関し、特に原稿読取り用のラインセンサを用いて副走査方向の原稿サイズ検知を行う画像読取り装置、画像形成装置、原稿サイズ検知方法、原稿サイズ検知プログラム及び記録媒体に関する。   The present invention relates to an image reading apparatus, an image forming apparatus, an original size detection method, an original size detection program, and a recording medium, and more particularly, to an image reading apparatus that performs original size detection in the sub-scanning direction using an original reading line sensor, and an image The present invention relates to a forming apparatus, a document size detection method, a document size detection program, and a recording medium.

従来、原稿読取装置においては、ブック読取り時に原稿サイズを検知する方式として赤外線センサを用いていたが、近年コストダウンの一環として赤外線センサを用いずに、原稿読取り用のラインセンサを用いて原稿サイズを検知する方式が提案されている。   Conventionally, in an original reading apparatus, an infrared sensor is used as a method for detecting an original size when reading a book. However, in recent years, as a part of cost reduction, an infrared sensor is not used, and an original size is determined by using an original reading line sensor. A method for detecting this has been proposed.

例えば、圧板開放時に原稿内は白、原稿外は黒であるとして主走査方向の原稿サイズを判断する方式で、原稿内に黒が来てしまった場合は、ラインセンサ読取り位置を移動させ原稿内が白のラインにてサイズ検知を行うことを特徴とする原稿サイズ検知装置が提案されている(特許文献1参照)。   For example, when the pressure plate is opened, the size of the document in the main scanning direction is judged assuming that the inside of the document is white and the outside of the document is black. If black comes in the document, the line sensor reading position is moved and the inside of the document is moved. A document size detection apparatus has been proposed in which size detection is performed with a white line (see Patent Document 1).

同じく圧板開放時に原稿内は白、原稿外は黒であるとして主走査方向の原稿サイズを判断する方式であるが、ランプが点いた場合とランプが消えた場合との2条件でデータを取り、外乱光の影響を除くことを特徴とする原稿サイズ検出装置(特許文献2参照)や、主走査方向複数点でのラインセンサの読取データを用いることで、複数種類の原稿サイズを同時に検知することを特徴とする原稿サイズ検知装置(特許文献3参照)が提案されている。
特開平10−257255号公報 特開2000−138798号公報 特開2003−198809号公報
Similarly, when the pressure plate is opened, the inside of the document is white and the outside of the document is black, and the size of the document in the main scanning direction is judged, but data is taken under two conditions: when the lamp is turned on and when the lamp is turned off. Detecting a plurality of types of document sizes at the same time by using a document size detection device (see Patent Document 2) characterized by eliminating the influence of ambient light and line sensor reading data at a plurality of points in the main scanning direction. A document size detection device (see Patent Document 3) is proposed.
JP-A-10-257255 JP 2000-138798 A JP 2003-198809 A

しかしながら、上記従来技術は全て主走査方向の原稿サイズ検知のみに言及していて、副走査方向のサイズ検知は従来までの赤外線センサを用いている。副走査方向のサイズ検知用赤外線センサを除かなければ、コストダウンが十分でないという問題がある。   However, all the above prior arts refer only to the document size detection in the main scanning direction, and the conventional infrared sensor is used for size detection in the sub-scanning direction. There is a problem that cost reduction is not sufficient unless the size detecting infrared sensor in the sub-scanning direction is removed.

本発明はこのような状況に鑑みてなされたものであり、副走査方向のサイズ検知用赤外線センサを除き、原稿読取り用のラインセンサを用いて副走査方向の原稿サイズ検知を行う原稿サイズ検知装置を提供することを目的とする。なお、原稿読取り用のラインセンサを用いて副走査方向の原稿サイズ検知を行う場合には、検知したい原稿サイズ分程度読取り(ラインセンサの移動)が必要になる。しかし、本来の原稿読取り(本スキャン)毎にサイズ検知用の原稿読取り(プレスキャン)を行うと、時間がかかり読取り生産性が落ちてしまうため、出来るだけプレスキャンに時間をかけない原稿サイズ検知装置を提供することを目的とする。   SUMMARY OF THE INVENTION The present invention has been made in view of such a situation, and an original size detecting device that detects an original size in the sub-scanning direction using a line sensor for reading an original document, except for an infrared sensor for detecting the size in the sub-scanning direction. The purpose is to provide. When document size detection in the sub-scanning direction is performed using a document reading line sensor, it is necessary to read about the size of the document to be detected (movement of the line sensor). However, if the original reading (pre-scan) for size detection is performed for each original original reading (main scan), it takes time and the reading productivity is reduced. An object is to provide an apparatus.

請求項1記載の発明は、原稿を照射する原稿照射手段と、前記原稿照射手段により原稿を走査して原稿の画像データをライン毎に読み取る画像読取手段と、原稿押え板の開閉を検知する開閉検知手段と、前記画像読取手段によって得られた複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて原稿の主走査サイズと副走査サイズを判定するサイズ検知手段と、を備え、前記画像読取手段は、前記開閉検知手段による原稿押え板の状態の検知により、原稿読み取り位置を制御することを特徴とする画像読取り装置である。   According to the first aspect of the present invention, document irradiating means for irradiating a document, image reading means for scanning the document by the document irradiating means to read image data of the document line by line, and opening / closing for detecting opening / closing of the document pressing plate The main scanning size and the sub-scanning of the document using the reading image data at an arbitrary position in the main / sub-scanning direction independently of the main / sub-scanning direction from the detection unit and the plurality of lines of image data obtained by the image reading unit. Size detecting means for determining a size, and the image reading means controls the document reading position by detecting the state of the document pressing plate by the opening / closing detecting means.

請求項2記載の発明は、請求項1記載の装置において、前記画像読取手段は、サイズ検知を行う前は、原稿読取サイズの最大サイズに位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記原稿読取サイズの最大サイズ位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする。   According to a second aspect of the present invention, in the apparatus according to the first aspect, the image reading unit is positioned at a maximum size of the original reading size before the size detection, and the document pressing plate is opened by the open / close detection unit. When it is detected that the position has changed from the closed position to the closed position, the document moves from the maximum position of the original reading size to the original reading start position, and reads the original image data in that section.

請求項3記載の発明は、請求項1記載の装置において、前記画像読取手段は、サイズ検知を行う前は、検知をしたい原稿サイズから必要となる読み取り最大サイズに位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記検知をしたい原稿サイズから必要となる読み取り最大サイズ位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする。   According to a third aspect of the present invention, in the apparatus according to the first aspect, before the size detection, the image reading means is positioned at a maximum reading size required from a document size to be detected, and the open / close detection means When it is detected that the document pressing plate has changed from open to closed, the document size to be detected is moved from the required maximum reading size position to the document reading start position, and the document image data in that section is read. Features.

請求項4記載の発明は、請求項1記載の装置において、前記画像読取手段は、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記開閉検知手段により原稿押え板が閉から開に変化したと検知されたとき、前記スタート位置から原稿読み取り最大サイズ位置まで移動し、その後前記開閉検知手段により原稿押え板が開から閉に変化したと検知されたとき、前記最大サイズの位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする。   According to a fourth aspect of the present invention, in the apparatus of the first aspect, the image reading unit is positioned at a start position where normal reading is performed before size detection, and the document pressing plate is closed by the open / close detection unit. Is moved from the start position to the maximum document reading size position, and then when the opening / closing detection means detects that the document pressing plate has changed from open to closed, the maximum size of the document is read. It moves from the position to the original reading start position, and reads the original image data in that section.

請求項5記載の発明は、請求項1記載の装置において、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記画像読取手段は、前記開閉検知手段により、原稿押え板が閉から開に変化したと検知されたとき、前記スタート位置から検知をしたい原稿サイズから必要となる読み取り最大サイズ位置まで移動し、その後前記開閉検知手段により原稿押え板が開から閉に変化したと検知されたとき、前記最大サイズの位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする。   According to a fifth aspect of the present invention, in the apparatus of the first aspect, before the size detection, the image reading unit is positioned at a start position where normal reading is performed. When it is detected that the document has changed from closed to open, the document moves from the original size to be detected from the start position to the required maximum reading size position, and then the document holding plate is changed from open to closed by the open / close detection means. When detected, it moves from the position of the maximum size to the document reading start position, and reads the document image data in that section.

請求項6記載の発明は、請求項1記載の装置において、前記画像読取手段は、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記スタート位置から原稿読み取り最大サイズの位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする。   According to a sixth aspect of the present invention, in the apparatus of the first aspect, the image reading means is positioned at a start position where normal reading is performed before size detection, and the document holding plate is moved by the open / close detection means. When it is detected that the position has changed from open to closed, the document is moved from the start position to the position of the maximum document reading size, and the document image data in that section is read.

請求項7記載の発明は、請求項1記載の装置において、前記画像読取手段は、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記スタート位置から検知をしたいサイズから必要な読み取りが最大サイズの位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする。   According to a seventh aspect of the present invention, in the apparatus according to the first aspect, the image reading means is positioned at a start position where normal reading is performed before the size detection is performed, and the document holding plate is moved by the open / close detection means. When it is detected that the position has changed from open to closed, the necessary reading moves from the start position to the position of the maximum size from the size to be detected, and the original image data in that section is read.

請求項8記載の発明は、請求項1から請求項7記載の画像読取手段のうちいずれかを選択する選択手段を備えることを特徴とする画像読み取り装置である。   According to an eighth aspect of the present invention, there is provided an image reading apparatus comprising a selection unit that selects any one of the image reading units according to the first to seventh aspects.

請求項9記載の発明は、請求項1から8のいずれか1項記載の画像読み取り装置を備える画像形成装置である。   A ninth aspect of the present invention is an image forming apparatus including the image reading device according to any one of the first to eighth aspects.

請求項10記載の発明は、原稿押え板の開閉状態を検知する工程と、前記検知する工程による原稿押え板の状態の検知により、原稿読み取り位置を制御し、原稿を照射しつつ、走査して原稿の画像データをライン毎に読み取る工程と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法である。   According to the tenth aspect of the present invention, the document reading position is controlled by the step of detecting the open / close state of the document pressing plate and the detection of the state of the document pressing plate by the detecting step, and scanning is performed while irradiating the document. The process of reading the original image data line by line, and using the read image data at an arbitrary position in the main / sub-scanning direction independently from the read multiple lines of image data in the main / sub-scanning direction, And a step of determining the sub-scanning size and detecting the document size.

請求項11記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、原稿読取サイズの最大サイズに位置させる工程と、原稿押え板が開から閉に変化したことを検知する工程と、原稿を照射しつつ、前記原稿読取サイズの最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法である。   According to the eleventh aspect of the present invention, the step of positioning the image reading means for reading the image data of the document while irradiating the document at the maximum size of the document reading size, and detecting that the document pressing plate has changed from open to closed. Scanning the image reading means from the maximum size position of the document reading size to the document reading start position while irradiating the document, and reading the image data of the document in the section for each line, and a plurality of lines read Determining the main scanning size and the sub-scanning size of the document by using the read image data at any position in the main / sub-scanning direction independently from the image data in the main / sub-scanning direction, and detecting the document size; Is a document size detecting method.

請求項12記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、検知をしたい原稿サイズから必要となる読み取り最大サイズに位置させる工程と、原稿押え板が開から閉に変化したことを検知する工程と、原稿を照射しつつ、前記検知をしたい原稿サイズから必要となる読み取り最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿画像データをライン毎に読み取る工程と、その区間の原稿の画像データをライン毎に読み取る工程と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法である。   According to a twelfth aspect of the present invention, the image reading means for reading the image data of the document while irradiating the document is positioned at the maximum reading size required from the size of the document to be detected, and the document pressing plate is opened to closed. A step of detecting the change, and while irradiating the original, the image reading means is scanned from the required maximum reading size position to the original reading start position from the original size to be detected, and the original image data in the section is obtained. A step of reading line by line, a step of reading image data of a document in the section for each line, and a read image at an arbitrary position in the main / sub scanning direction independently of the main / sub scanning direction from the read image data of a plurality of lines And a step of determining a main scanning size and a sub-scanning size of the document by using the data and detecting the document size. It is a diagram detection method.

請求項13記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、原稿押え板が、閉から開に変化したことを検知する工程と、前記スタート位置から原稿読み取り最大サイズ位置まで移動する工程と、原稿押え板が、開から閉に変化したことを検知する工程と、原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法である。   According to the thirteenth aspect of the present invention, the image reading means for reading the image data of the document while irradiating the document is positioned at the start position where the normal reading is performed, and the document pressing plate is changed from closed to open. A step of detecting, a step of moving from the start position to the maximum document reading size position, a step of detecting that the document pressing plate has changed from open to closed, and the position of the maximum size while irradiating the document. Scanning the image reading means to the document reading start position and reading the image data of the document in the section for each line, and the main / sub scanning direction independently from the read / unscanned image data of the plurality of lines A step of determining a main scanning size and a sub-scanning size of a document using read image data at an arbitrary position and detecting the document size. A manuscript size detection method.

請求項14記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、原稿押え板が、閉から開に変化したことを検知する工程と、前記スタート位置から検知をしたい原稿サイズから必要となる読み取り最大サイズ位置まで移動する工程と、原稿押え板が、開から閉に変化したことを検知する工程と、原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法である。   According to the fourteenth aspect of the present invention, the step of positioning the image reading means for reading the image data of the original while irradiating the original at the start position where the normal reading is performed, and the change of the original holding plate from closed to open. A step of detecting, a step of moving from the original size to be detected from the start position to a required maximum reading size position, a step of detecting that the original pressing plate has changed from open to closed, and irradiation of the original. While scanning the image reading means from the position of the maximum size to the document reading start position and reading the image data of the document in the section for each line, the main / sub scanning direction from the read image data of a plurality of lines Independently, using the read image data at an arbitrary position in the main / sub-scanning direction, the main scanning size and the sub-scanning size of the document are determined, and the document size is detected. And extent, an original size detecting method, characterized in that it comprises a.

請求項15記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、原稿押え板が、開から閉に変化したことを検知する工程と、原稿を照射しつつ、前記スタート位置から原稿読み取り最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法である。   According to the fifteenth aspect of the present invention, the step of positioning the image reading means for reading the image data of the document while irradiating the document at the start position where the normal reading is performed, and that the document pressing plate is changed from open to closed. A step of detecting, scanning the image reading means from the start position to the position of the maximum document reading size while irradiating the document, and reading the image data of the document in the section for each line; A step of determining the main scanning size and the sub-scanning size of the document by using the read image data at an arbitrary position in the main / sub-scanning direction independently of the main / sub-scanning direction from the image data, and detecting the document size; A document size detection method characterized by comprising:

請求項16記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、原稿押え板が、開から閉に変化したことを検知する工程と、原稿を照射しつつ、前記スタート位置から検知をしたいサイズから必要な読み取りが最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法である。   According to the sixteenth aspect of the present invention, the image reading means for reading the image data of the document while irradiating the document is positioned at a start position where normal reading is performed, and the document pressing plate is changed from open to closed. A step of detecting and scanning the image reading means from the start position to a position where the required reading is the maximum size while irradiating the document, and reading the image data of the document in that section for each line From the read image data of a plurality of lines, the main scanning size and the sub scanning size of the document are determined using the read image data at any position in the main / sub scanning direction independently of the main / sub scanning direction, and the document size And a step of detecting the document size.

請求項17記載の発明は、原稿押え板の開閉状態を検知する処理と、前記検知する処理による原稿押え板の状態の検知により、原稿読み取り手段を制御し、原稿を照射しつつ、走査して原稿の画像データをライン毎に読み取る処理と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラムである。   According to a seventeenth aspect of the present invention, the document reading means is controlled by the process of detecting the open / close state of the document pressing plate and the detection of the state of the document pressing plate by the detecting process, and the document is scanned while being irradiated. A process for reading image data of a document line by line, and using the read image data at an arbitrary position in the main / sub-scanning direction independently of the main / sub-scanning direction from the read image data of a plurality of lines. A document size detection program that causes a computer to execute a process of determining a sub-scanning size and detecting a document size.

請求項18記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、原稿読取サイズの最大サイズに位置させる処理と、原稿押え板が開から閉に変化したことを検知する処理と、原稿を照射しつつ、前記原稿読取サイズの最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラムである。   The invention according to claim 18 detects that the image reading means for reading the image data of the document while irradiating the document is positioned at the maximum size of the document reading size, and that the document pressing plate is changed from open to closed. Processing, scanning the image reading means from the maximum size position of the document reading size to the document reading start position while irradiating the document, and reading the image data of the document in the section for each line, and a plurality of read lines A process for determining the main scanning size and the sub-scanning size of the document using the read image data at any position in the main / sub-scanning direction independently from the image data in the main / sub-scanning direction, and detecting the document size; Is a document size detection program characterized by causing a computer to execute.

請求項19記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、検知をしたい原稿サイズから必要となる読み取り最大サイズに位置させる処理と、原稿押え板が開から閉に変化したことを検知する処理と、原稿を照射しつつ、前記検知をしたい原稿サイズから必要となる読み取り最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿画像データをライン毎に読み取る処理と、その区間の原稿の画像データをライン毎に読み取る処理と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラムである。   According to the nineteenth aspect of the present invention, the image reading means for reading the image data of the document while irradiating the document is positioned at the maximum reading size required from the document size to be detected, and the document pressing plate is opened to closed. The image reading means scans the image reading means from the maximum reading size position required from the original size to be detected to the original reading start position while irradiating the original and irradiating the original. A process for reading line by line, a process for reading image data of a document in that section for each line, and a read image at an arbitrary position in the main / sub scanning direction independently from the read multiple lines of image data in the main / sub scanning direction Using data to determine the main scanning size and sub-scanning size of the document, and causing the computer to execute processing for detecting the document size A document size detection program which is characterized.

請求項20記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、原稿押え板が、閉から開に変化したことを検知する処理と、前記スタート位置から原稿読み取り最大サイズ位置まで移動する処理と、原稿押え板が、開から閉に変化したことを検知する処理と、原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラムである。   According to the twentieth aspect of the invention, the image reading means for reading the image data of the document while irradiating the document is positioned at the start position where the normal reading is performed, and the document pressing plate is changed from closed to open. A process of detecting, a process of moving from the start position to the document reading maximum size position, a process of detecting that the document pressing plate has changed from open to closed, and the position of the maximum size while irradiating the document. Scanning the image reading means to the document reading start position, reading the image data of the document in that section for each line, and the main / sub-scanning direction independently from the read multiple-line image data in the main / sub-scanning direction Using the read image data at an arbitrary position, the computer performs a process of determining the main scanning size and sub-scanning size of the document and detecting the document size. It is document size detection program characterized.

請求項21記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、原稿押え板が、閉から開に変化したことを検知する処理と、前記スタート位置から検知をしたい原稿サイズから必要となる読み取り最大サイズ位置まで移動する処理と、原稿押え板が、開から閉に変化したことを検知する処理と、原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラムである。   According to the twenty-first aspect of the present invention, the image reading means for reading the image data of the document while irradiating the document is positioned at the start position where normal reading is performed, and the document pressing plate is changed from closed to open. Detection processing, processing for moving from the original size to be detected from the start position to the required maximum reading size position, processing for detecting that the document pressing plate has changed from open to closed, and irradiation of the original. Meanwhile, a process of scanning the image reading unit from the position of the maximum size to the document reading start position and reading the image data of the document in the section for each line, and the main / sub scanning direction from the read image data of a plurality of lines Independently, using the read image data at an arbitrary position in the main / sub-scanning direction, the main scanning size and the sub-scanning size of the document are determined, and the document size is detected. A document size detection program for causing the execution and management, to the computer.

請求項22記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、原稿押え板が、開から閉に変化したことを検知する処理と、原稿を照射しつつ、前記スタート位置から原稿読み取り最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラムである。   According to the twenty-second aspect of the present invention, the image reading means for reading the image data of the document while irradiating the document is positioned at the start position where the normal reading is performed, and the document pressing plate is changed from open to closed. A process of detecting, scanning the image reading means from the start position to a position of the maximum document reading size while irradiating the document, and reading the image data of the document in the section for each line; A process of determining the main scanning size and the sub-scanning size of the document by using the read image data at an arbitrary position in the main / sub-scanning direction independently from the image data, and detecting the document size. An original size detection program to be executed by a computer.

請求項23記載の発明は、原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、原稿押え板が、開から閉に変化したことを検知する処理と、原稿を照射しつつ、前記スタート位置から検知をしたいサイズから必要な読み取りが最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラムである。   According to the twenty-third aspect of the present invention, the image reading means for reading the image data of the document while irradiating the document is positioned at the start position where normal reading is performed, and the document pressing plate is changed from open to closed. Processing for detecting and scanning the image reading means from the start position to the position where the required reading is the maximum size while irradiating the document, and reading the image data of the document in that section for each line From the read image data of a plurality of lines, the main scanning size and the sub scanning size of the document are determined using the read image data at any position in the main / sub scanning direction independently of the main / sub scanning direction, and the document size A document size detection program that causes a computer to execute a process for detecting image data.

請求項24記載の発明は、請求項17から23のいずれか1項記載のプログラムを記録するコンピュータ読み取り可能な記録媒体である。   A twenty-fourth aspect of the present invention is a computer-readable recording medium for recording the program according to any one of the seventeenth to twenty-third aspects.

本発明によれば、副走査方向のサイズ検知用赤外線センサを除き、原稿読取り用のラインセンサを用いて副走査方向の原稿サイズ検知を行うことが出来る。   According to the present invention, document size detection in the sub-scanning direction can be performed using a line sensor for reading a document, except for the size detecting infrared sensor in the sub-scanning direction.

図1は、本発明の実施形態に係る画像読取装置の概略断面図である。この画像読取装置は、原稿面をなすコンタクトガラス1上に置いた原稿10に対してランプ2により光を照射し、第1ミラー3、第2ミラー4、第3ミラー5によって反射させた光をレンズ8によって集光し、CCD9上に結像する。ランプ2及び第1ミラー3が距離Lだけ進む間に第2ミラー4、第3ミラー5は距離L/2だけ進む。このことにより、光学系の光路長を一定に保ち、原稿全体を走査する。   FIG. 1 is a schematic sectional view of an image reading apparatus according to an embodiment of the present invention. This image reading apparatus irradiates a document 10 placed on a contact glass 1 forming a document surface with light from a lamp 2 and reflects light reflected by a first mirror 3, a second mirror 4, and a third mirror 5. The light is collected by the lens 8 and imaged on the CCD 9. While the lamp 2 and the first mirror 3 travel a distance L, the second mirror 4 and the third mirror 5 travel a distance L / 2. This keeps the optical path length of the optical system constant and scans the entire document.

図2は、図1の画像読取装置の概略斜視図である。ランプ2と第1ミラー3を備えた第1キャリッジ6は駆動ワイヤ11に取り付けられ、第2ミラー4、第3ミラー5、を備えた第2キャリッジ7はプーリ12に駆動ワイヤが巻きつけられる。駆動軸14に繋がれたワイヤプーリ15に駆動ワイヤ11を巻きつけ、タイミングプーリ16とタイミングベルト17によって、モータ18の駆動を伝達する。第1キャリッジ6の一端がホームポジションセンサ13を横切ってからある一定距離をリターンさせた位置をホームポジションとする。図6は、画像読取装置の一例であるスキャナ20の外観図である。   FIG. 2 is a schematic perspective view of the image reading apparatus of FIG. The first carriage 6 including the lamp 2 and the first mirror 3 is attached to the drive wire 11, and the second carriage 7 including the second mirror 4 and the third mirror 5 is wound around the pulley 12. The drive wire 11 is wound around the wire pulley 15 connected to the drive shaft 14, and the drive of the motor 18 is transmitted by the timing pulley 16 and the timing belt 17. A position where a certain distance is returned after one end of the first carriage 6 crosses the home position sensor 13 is defined as a home position. FIG. 6 is an external view of a scanner 20 that is an example of an image reading apparatus.

図3は、本実施形態に係る画像読取装置により画像を読み取った後の一連のコピー動作において必要となる構成ブロック図である。スキャナ20(画像読取装置)、IPU(画像処理ユニット)21、プリンタ22、CPU23、操作部24、CPU25、表示部26、RAM27から構成されている。   FIG. 3 is a block diagram showing a configuration necessary for a series of copying operations after an image is read by the image reading apparatus according to the present embodiment. The scanner 20 (image reading device), IPU (image processing unit) 21, printer 22, CPU 23, operation unit 24, CPU 25, display unit 26, and RAM 27 are included.

スキャナ20(画像読取装置)のコンタクトガラス1上に原稿をセットしてスタートキーを押下すると、スキャナ20にて原稿読み取り、IPU(イメージプロセッシングユニット;画像処理ユニット)21内で一連の画像処理を行い、プリンタ22に画像データを出力し、紙排出が行われる。スキャナ20、IPU21、プリンタ22内の必要なパラメータはRAM27内に保持されており、CPU23により各デバイスに設定が行われる。またパラメータ設定に必要なモード情報は操作部24を使ってユーザが指定できるような構成となっており、操作部24内のCPU25と、CPU23とが通信を行うことで情報の交換を行っている。   When an original is set on the contact glass 1 of the scanner 20 (image reading apparatus) and the start key is pressed, the original is read by the scanner 20 and a series of image processing is performed in the IPU (image processing unit; image processing unit) 21. The image data is output to the printer 22 and the paper is discharged. Necessary parameters in the scanner 20, the IPU 21, and the printer 22 are held in the RAM 27, and settings are made for each device by the CPU 23. In addition, mode information necessary for parameter setting is configured to be specified by the user using the operation unit 24, and information is exchanged by communication between the CPU 25 in the operation unit 24 and the CPU 23. .

図4は、本実施形態に係るIPU21周辺の構成ブロック図である。IPU21は、画像処理モジュール28、複数ラインメモリ29、メモリコントロール30から構成されている。IPU21は、スキャナ20から受け取った原稿読み取りデータに対し、所望の画像処理を実施する。本発明に係る原稿サイズ検知動作を行う場合は、画像処理モジュール28に接続された複数ラインメモリ29にその画像データを蓄える。メモリコントロール30は、複数ラインメモリ29を制御する。また、メモリコントロール30はCPU23から複数ラインメモリ29データのリード/ライトが可能である。   FIG. 4 is a configuration block diagram around the IPU 21 according to the present embodiment. The IPU 21 includes an image processing module 28, a multi-line memory 29, and a memory control 30. The IPU 21 performs desired image processing on the document read data received from the scanner 20. When the original size detection operation according to the present invention is performed, the image data is stored in a multi-line memory 29 connected to the image processing module 28. The memory control 30 controls the multiple line memory 29. Further, the memory control 30 can read / write data from the multi-line memory 29 from the CPU 23.

以下に、本発明の実施形態を説明する。なお、以下に述べる実施形態は、本発明の好適な実施の形態であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの態様に限られるものではない。   Hereinafter, embodiments of the present invention will be described. The embodiments described below are preferred embodiments of the present invention, and thus various technically preferable limitations are given. However, the scope of the present invention is particularly limited in the following description. Unless otherwise stated, the present invention is not limited to these embodiments.

図5は、本発明の実施形態に係る原稿サイズ検知方法の動作処理を示すフローチャートである。図8は、本実施形態に係る画像読取手段(以下キャリッジと呼ぶ。図2では、第1キャリッジ6及び第2キャリッジ7)の移動を示す図である。まず、キャリッジをホームポジションから原稿サイズ検知位置に移動させる(ステップS1、図8(a)参照)。本実施形態に係る原稿サイズ検知位置は、原稿読取り最大サイズの終端位置である。図8(a)は、スキャナ20の原稿読取り最大サイズがA3サイズとした場合の一例である。本実施形態においては、原稿読取り最大サイズの終端位置からホームポジション(原稿読み取りスタート位置)まで、キャリッジ(画像読取手段)を走査し、原稿サイズ検知のため画像データを読取ることを特徴とする。   FIG. 5 is a flowchart showing an operation process of the document size detection method according to the embodiment of the present invention. FIG. 8 is a view showing the movement of the image reading means (hereinafter referred to as a carriage. In FIG. 2, the first carriage 6 and the second carriage 7) according to the present embodiment. First, the carriage is moved from the home position to the document size detection position (see step S1, FIG. 8A). The document size detection position according to the present embodiment is the end position of the maximum document reading size. FIG. 8A shows an example in which the maximum document reading size of the scanner 20 is A3 size. In this embodiment, the carriage (image reading means) is scanned from the end position of the maximum document reading size to the home position (document reading start position), and image data is read for document size detection.

その後原稿サイズ検知のために必要な準備を行う(ステップS2)。必要な準備は、図10、図11に示すような原稿サイズ検知のための原稿読取りタイミングの設定、及び必要に応じてシェーディング補正に必要な準備設定を実行する。図10は、メモリコントロール30の副走査方向タイミングチャートである。図11は、メモリコンロトロール30の主走査方向タイミングチャートである。   After that, preparations necessary for document size detection are made (step S2). Necessary preparations are performed by setting the document reading timing for document size detection as shown in FIGS. 10 and 11 and, if necessary, setting necessary for shading correction. FIG. 10 is a timing chart of the memory control 30 in the sub scanning direction. FIG. 11 is a timing chart in the main scanning direction of the memory control 30.

その後圧板が閉められたこと(開→閉→開)を検知すると(ステップS3/Yes)、原稿サイズ検知を開始する。若しくはユーザが操作部24から原稿の読取り開始指示を行った時点で、原稿サイズ検知を開始する(プレスキャン)。圧板の開閉(ステップS3)は、DF開閉センサのON/OFFによって検知することが考え得る。図7は、本実施形態に係るスキャナ20の圧板の閉検知を示す概略側面図である。   Thereafter, when it is detected that the pressure plate is closed (open → close → open) (step S3 / Yes), document size detection is started. Alternatively, when the user gives an instruction to start reading a document from the operation unit 24, document size detection is started (pre-scan). It can be considered that the opening / closing of the pressure plate (step S3) is detected by ON / OFF of the DF opening / closing sensor. FIG. 7 is a schematic side view showing detection of the pressure plate closing of the scanner 20 according to the present embodiment.

原稿サイズ検知は、まず原稿読取りのために原稿をランプ2により照射する(ステップS4)ことから開始される。次に原稿を読取る(ステップS5)。原稿読取りは、原稿サイズ用のライト信号を発生し、ライト信号の有効期間内の画像データ読取ることにより行う。図8(b)に本実施形態に係るキャリッジの動きを示す。ライト信号は、メモリコントロール30から送られる。以下詳述する。   The document size detection is started by first irradiating the document with the lamp 2 for reading the document (step S4). Next, the original is read (step S5). Document reading is performed by generating a write signal for a document size and reading image data within the valid period of the write signal. FIG. 8B shows the movement of the carriage according to this embodiment. The write signal is sent from the memory control 30. This will be described in detail below.

図9は、本実施形態に係るメモリコントロール30周辺の構成ブロック図である。メモリコントロール30は、画像処理モジュール28から、XFSYNC信号、XLSYNC信号(Line Synchronous:ライン同期信号)、PCLK(Pixel Clock)を受け取る。XFSYNC信号は、ラインセンサ読取り開始トリガを示す。XLSYNC信号は、ラインセンサ読取り1ラインの基準となる。PCLKは画素クロックである。そしてメモリコントロール30は、複数ラインメモリ29に、ライトリセット(XWRST:Write Reset)信号とライトイネーブル(XWE:Write Enable)信号を渡す。   FIG. 9 is a configuration block diagram around the memory control 30 according to the present embodiment. The memory control 30 receives an XFSYNC signal, an XLSYNC signal (Line Synchronous), and PCLK (Pixel Clock) from the image processing module 28. The XFSYNC signal indicates a line sensor reading start trigger. The XLSYNC signal is a reference for one line read by the line sensor. PCLK is a pixel clock. Then, the memory control 30 passes a write reset (XWRST) signal and a write enable (XWE) signal to the multi-line memory 29.

メモリコントロール30は、画像処理モジュール28と複数ラインメモリ29とのやり取りと共に、CPU23からパラメータを受け取り、2つの基準信号であるXFSYNC、XLSYNCから、メモリのライト位置を確定する。CPU23から受け取るパラメータとは、メモリライト領域を示す主走査スタート、主走査幅、副走査スタート、副走査幅の4つのパラメータである。図10に副走査方向のタイミングチャートを、図11に主走査方向のタイミングチャートを示す。   The memory control 30 receives parameters from the CPU 23 along with the exchange between the image processing module 28 and the multi-line memory 29, and determines the memory write position from the two reference signals XFSYNC and XLSYNC. The parameters received from the CPU 23 are four parameters that indicate the memory write area: main scan start, main scan width, sub scan start, and sub scan width. FIG. 10 shows a timing chart in the sub-scanning direction, and FIG. 11 shows a timing chart in the main scanning direction.

図12は、本実施形態に係るパッチ読取りの一例を示す図である。メモリコントロール30は、上記パラメータ等からライト位置を確定することにより、図12に示すように2次元方向の複数パッチのデータを同時にメモリに書き込むことが出来る。なお、斜線部がメモリ書込み領域を示す。   FIG. 12 is a diagram illustrating an example of patch reading according to the present embodiment. The memory control 30 can write the data of a plurality of patches in the two-dimensional direction simultaneously into the memory as shown in FIG. A hatched portion indicates a memory write area.

原稿読取り(ステップS5)は、キャリッジを図8(b)に示すように原稿サイズ検知位置から移動させ、走査させながら読取りを実行する。このため、原稿上の異なる位置の画像を読取り、副走査方向に複数位置の画像データの読取りが可能となる。複数ラインの画像を読み取ることが出来る。読み取った画像データは、複数ラインメモリ29に保存される。なおキャリッジは、原稿サイズ検知のため読取る(ステップS5)と同時に、そのまま本来の原稿読取り(本スキャン)位置(ホームポジション)へ移動する(図8(b)参照)。   In the document reading (step S5), the carriage is moved from the document size detection position as shown in FIG. Therefore, it is possible to read images at different positions on the document and read image data at a plurality of positions in the sub-scanning direction. Multiple line images can be read. The read image data is stored in the multiple line memory 29. The carriage moves to the original document reading (main scan) position (home position) at the same time as reading for document size detection (step S5) (see FIG. 8B).

原稿の読取りが完了したら、原稿の照射を終了する(ステップS6)。なお、サイズ検知のための原稿読取り(ステップS4、S5)が完了した直後に、本スキャンを開始するような場合は、原稿の照射を終了せず、原稿照射用のランプを点灯したままにすることも考え得る。この場合、図5のステップS5とS6の間に、本スキャンを実行するか否かの判断処理が入る。   When the reading of the original is completed, the irradiation of the original is terminated (step S6). If the main scan is started immediately after the reading of the document for size detection (steps S4 and S5) is completed, the irradiation of the document is not finished and the lamp for irradiating the document is kept on. You can also think about that. In this case, a determination process for determining whether or not to execute the main scan is performed between steps S5 and S6 in FIG.

また、ステップS6の処理は、以下に説明するステップS7の処理(画像データ取り出し)と平行して行うことも考え得る。この場合、原稿読み取り(ステップS5)が完了した時点で、読取った原稿画像データの取り出しを行い(ステップS7)、画像データを解析する(ステップS8)。図12に示す斜線部がメモリ書込み領域である。かかるパッチデータを、複数ラインメモリ29に保存している(上記ステップS5)。そこで複数ラインメモリ29から、1パッチずつ、CPU23の持つRAM27に読み出す(ステップS7)。   Further, it can be considered that the process of step S6 is performed in parallel with the process (image data extraction) of step S7 described below. In this case, when the document reading (step S5) is completed, the read document image data is taken out (step S7), and the image data is analyzed (step S8). A hatched portion shown in FIG. 12 is a memory write area. Such patch data is stored in the multiple line memory 29 (step S5). Therefore, the patches are read from the multi-line memory 29 one by one to the RAM 27 of the CPU 23 (step S7).

画像データの解析(ステップS8)について、下記表1、図13及び図14を用いて以下詳述する。下記表1は、原稿サイズ検知決定表である。図13は、本実施形態に係る白黒判定処理動作を示すフローチャートである。図14は、本実施形態に係る画像データ読取り位置と原稿サイズを示した図である。   Image data analysis (step S8) will be described in detail below with reference to Table 1, FIG. 13 and FIG. Table 1 below is a document size detection determination table. FIG. 13 is a flowchart showing the monochrome determination processing operation according to the present embodiment. FIG. 14 is a diagram showing image data reading positions and document sizes according to the present embodiment.

図14に示すように、読取りパッチ(patch)としてSEN11、SEN12、SEN21、SEN22を用いる。本実施形態では、検知する原稿サイズをA3、A4ヨコ、A4タテ及びそれ以外とする。画像データを取り出し(ステップS7)、各パッチの白黒判定を行うことにより(図13参照)、各読取りパッチの白/黒が決定する。   As shown in FIG. 14, SEN11, SEN12, SEN21, and SEN22 are used as read patches. In the present embodiment, it is assumed that the document size to be detected is A3, A4 horizontal, A4 vertical, and others. Image data is taken out (step S7), and black / white determination of each patch is performed (see FIG. 13) to determine white / black of each read patch.

白黒判定処理について図13を用いて以下詳述する。まず1パッチ内の画素数を設定する(ステップS81)。その後複数ラインメモリ29から1画素単位でリードを行い(ステップS82)、設定したN画素以上であるか判定する(ステップS83)。Nより少ない場合は(ステップS83/No)、画素の加算(n+1)を行う(ステップS84)。   The monochrome determination process will be described in detail below with reference to FIG. First, the number of pixels in one patch is set (step S81). Thereafter, reading is performed from the multi-line memory 29 in units of one pixel (step S82), and it is determined whether the number of pixels is equal to or more than the set N pixels (step S83). If it is less than N (step S83 / No), pixel addition (n + 1) is performed (step S84).

N以上になった場合は(ステップS83/Yes)、1パッチ内の平均値を求め(ステップS85)、そのパッチの2値化を行う(ステップ86)。2値化は、閾値(TH:threshold)を基準として判別する。その結果からパッチの黒画素(ステップS86/No、S88)、白画素(ステップS86/Yes、S87)を判定し、白黒判定フローを終了する。なお、平均値を求めるフローとしてN画素全加算のあと全平均としているが(ステップS83、S84、S85)、例えば主走査方向だけの加算を行い1ラインでの平均を求め、その後次のラインの加算と平均を繰り返し、最終判定を行う方式も考え得る。決定した白/黒により下記表1から原稿サイズの決定を行う。   When N is greater than or equal to N (step S83 / Yes), an average value in one patch is obtained (step S85), and the binarization of the patch is performed (step 86). Binarization is discriminated based on a threshold (TH). From the result, the black pixel (step S86 / No, S88) and the white pixel (step S86 / Yes, S87) of the patch are determined, and the monochrome determination flow ends. The flow for obtaining the average value is the total average after the total addition of N pixels (steps S83, S84, S85). For example, the addition in only the main scanning direction is performed to obtain the average in one line, and then the next line is obtained. A method of repeating the addition and averaging and performing the final determination can be considered. Based on the determined white / black, the document size is determined from Table 1 below.

Figure 2008022285
Figure 2008022285

表1に示すように、SEN11、SEN12、SEN21、SEN22がすべて白だった場合、4つの読取り位置にすべて原稿が有ると判断し、原稿がA3サイズであると決定する。SEN11とSEN12が白で、SEN21とSEN22が黒だった場合、副走査方向の後ろ側に原稿が無いと判断され、原稿がA4ヨコであると決定する。   As shown in Table 1, when all of SEN11, SEN12, SEN21, and SEN22 are white, it is determined that there are documents at all four reading positions, and the document is determined to be A3 size. If SEN11 and SEN12 are white and SEN21 and SEN22 are black, it is determined that there is no document behind the sub-scanning direction, and it is determined that the document is A4 horizontal.

SEN11とSEN21が白で、SEN12とSEN22が黒だった場合、今度は主走査方向の後ろ側に原稿が無いと判断され、原稿がA4タテであると決定する。SEN11、SEN12、SEN21、SEN22、すべて黒だった場合、4つの読取り位置にすべて原稿が無いと判断し、A4より小さいサイズ、あるいは原稿無しと決定する。上記4つのパターンのどれにも当てはまらない場合は、どこかで検知エラーがあったと判断され、原稿サイズが検知されなかったことを知らせることとなる。   If SEN11 and SEN21 are white and SEN12 and SEN22 are black, it is determined that there is no document at the rear side in the main scanning direction, and it is determined that the document is A4 vertical. If SEN11, SEN12, SEN21, SEN22 are all black, it is determined that there are no documents at all four reading positions, and a size smaller than A4 or no document is determined. If none of the above four patterns is applicable, it is determined that a detection error has occurred somewhere, and the document size is not detected.

以上のように、サイズ検知が成功した場合には(ステップS9/Yes)、原稿サイズを決定する(ステップS10)。原稿サイズの決定とは、具体的にはCPU23(図4参照)に接続されたプログラム実行用のRAM27に原稿サイズ情報を保存しておくことであり、以降は必要に応じて決定した原稿サイズ情報を読み出して利用する。原稿サイズの決定後は、原稿サイズ検知動作を完了する。   As described above, when the size detection is successful (step S9 / Yes), the document size is determined (step S10). Specifically, the determination of the document size is to store the document size information in the program execution RAM 27 connected to the CPU 23 (see FIG. 4), and thereafter, the document size information determined as necessary. Is read and used. After the document size is determined, the document size detection operation is completed.

一方、原稿サイズの判定に失敗した場合は(ステップS9/No)、原稿サイズを決定せず、原稿サイズ検知動作を完了する。原稿サイズの判定が失敗する例としては、真黒な原稿の場合や、原稿台に対する外光の影響、原稿照射用のランプの点灯状態(ランプをONしたが光量が安定していない状態で読取りを実行する等)によって、読取りデータから原稿のサイズを判定することができない場合等が考え得る。   On the other hand, if the determination of the document size fails (step S9 / No), the document size detection operation is completed without determining the document size. Examples of document size determination failures include a black document, the influence of external light on the document table, and the illumination state of the document illumination lamp (when the lamp is turned on but reading is not stable) It is conceivable that the size of the original cannot be determined from the read data due to the execution of the program.

上記実施形態により、サイズ検知を行う前、原稿読取手段の位置は原稿読取サイズの最大サイズに位置し、原稿押さえ板の開閉検知手段が開から閉に変化した時、前記最大サイズの位置から原稿読取りスタート位置(ホームポジション)まで原稿読取手段が移動し、その区間の原稿読取りを行うことで、原稿押さえ版を閉じて原稿読取りを行うまでのオーバーヘッド時間を少なくし、すなわち原稿一面分スキャン(プレスキャン)を行わないため生産性ダウンを極力抑えることが出来る。また、副走査方向の原稿サイズ検知を同時に行うことが可能となる。   According to the above embodiment, before the size detection, the position of the document reading means is positioned at the maximum size of the document reading size, and when the opening / closing detection means of the document holding plate is changed from open to closed, the position of the original is read from the position of the maximum size. By moving the original reading means to the reading start position (home position) and reading the original in that section, the overhead time until the original reading plate is closed and the original is read is reduced. (Can) is not performed, and productivity reduction can be suppressed as much as possible. In addition, it is possible to simultaneously detect the document size in the sub-scanning direction.

また、サイズ検知を行う前の原稿読取手段の位置を原稿読取りサイズの最大サイズにおくことにより、検知したい原稿サイズの種類により制御を切り替える必要が無く、機種共通の制御が可能となる。その他、従来までの読取りシーケンスを積極的に用いる、あるいは主走査方向の原稿サイズ検知のシーケンスに出来るだけ近付くため、制御変更小となる。原稿サイズ検知用のメモリ容量を、出来るだけ主走査方向原稿サイズ検知に必要な容量に近づけて、コスト削減することも考え得る。   In addition, by setting the position of the document reading means before performing size detection to the maximum size of the document reading size, it is not necessary to switch the control depending on the type of document size to be detected, and control common to all models is possible. In addition, since the conventional reading sequence is used positively or as close to the original size detection sequence as possible in the main scanning direction, the control change is small. It is also conceivable to reduce the cost by making the memory size for document size detection as close as possible to the size required for document size detection in the main scanning direction.

以下、本発明の他の実施形態について図を用いて説明する。図15は、本実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。図16は、本実施形態に係るスキャナ20の原稿押え板の閉検知(圧板:閉→開→閉)を示す概略側面図である。図17は、本実施形態に係るキャリッジの移動を示す図である。   Hereinafter, other embodiments of the present invention will be described with reference to the drawings. FIG. 15 is a flowchart showing document size detection operation processing according to the present embodiment. FIG. 16 is a schematic side view showing closing detection (pressure plate: closed → open → closed) of the document pressing plate of the scanner 20 according to the present embodiment. FIG. 17 is a diagram illustrating movement of the carriage according to the present embodiment.

図15に示すように、まずキャリッジをホームポジション(図17(a)左、点線キャリッジの位置)から原稿サイズ検知位置(図17(a)右、実線キャリッジの位置)に移動させる(ステップS11)。本実施形態に係る原稿サイズ検知位置は、検知をしたいサイズから必要となる読取り最大サイズ位置である。例えば、A3/A4ヨコ/A4タテの3種類の原稿サイズを検知したい場合は、A4タテの外側近傍が必要となる読取り最大位置となる。この点が上記実施形態と異なる。   As shown in FIG. 15, the carriage is first moved from the home position (FIG. 17 (a) left, dotted carriage position) to the document size detection position (FIG. 17 (a) right, solid carriage position) (step S11). . The document size detection position according to the present embodiment is the maximum reading size position required from the size to be detected. For example, when it is desired to detect three types of document sizes of A3 / A4 width / A4 length, the maximum reading position is required in the vicinity of the outside of A4 length. This point is different from the above embodiment.

キャリッジ移動後(ステップS11)、原稿サイズ検知のために必要な準備を行う(ステップS12)。その後圧板が閉められたことを検知(ステップS13/Yes)(図16参照)、もしくはユーザが原稿の読取りを開始した時点で、原稿サイズ検知動作の開始する(ステップS14以降)。なお、ステップS12からS20は、上記図5ステップS6以降と同様の処理である。   After the carriage is moved (step S11), preparations necessary for document size detection are made (step S12). Thereafter, it is detected that the pressure plate is closed (step S13 / Yes) (see FIG. 16), or when the user starts reading the document, the document size detection operation is started (step S14 and subsequent steps). Steps S12 to S20 are the same processes as those in step S6 and subsequent steps in FIG.

本実施形態においては、上記実施形態と異なり、キャリッジはサイズ検知読取りに必要な最大値からホームポジションまで原稿サイズ検知のため画像データを読取る(図17(b)参照)。また、読取りと同時にキャリッジを本来の原稿読取り(本スキャン)位置へと移動させる(図17(b)参照)。   In the present embodiment, unlike the above embodiment, the carriage reads image data for document size detection from the maximum value necessary for size detection reading to the home position (see FIG. 17B). Simultaneously with the reading, the carriage is moved to the original document reading (main scanning) position (see FIG. 17B).

上記実施形態により、サイズ検知を行う前の原稿読取手段の位置は、検知をしたいサイズから必要となる読取り最大サイズに位置し、原稿押さえ板の開閉検知手段が開から閉に変化した時、前記最大サイズの位置から原稿読取りスタート位置まで原稿読取手段が移動し、その区間の原稿読取りを行うことで、原稿押さえ版を閉じて原稿読取りを行うまでのオーバーヘッド時間を少なく出来るため生産性ダウンを極力抑えることが出来る。また、サイズ検知を行う前の原稿読取手段の位置を、検知したいサイズから必要となる読取り最大サイズにおくことにより、その機種最適の制御が実現可能となり、オーバーヘッド時間を更に少なく出来、生産性ダウンを抑えることが出来る。   According to the above embodiment, the position of the document reading means before the size detection is positioned at the maximum reading size required from the size to be detected, and when the opening / closing detection means of the document holding plate changes from open to closed, By moving the document reading means from the maximum size position to the document reading start position and reading the document in that section, the overhead time from closing the document pressing plate to reading the document can be reduced, so productivity is reduced as much as possible. It can be suppressed. In addition, by placing the position of the original reading means before size detection at the maximum reading size required from the size to be detected, it is possible to achieve optimal control of the model, further reducing overhead time and reducing productivity. Can be suppressed.

以下に、本発明の他の実施形態について図を用いて説明する。図18は本実施形態に係る処理動作を示すフローチャートである。図19は、本実施形態に係るスキャナ20の原稿押さえ板の開検知(圧板:閉→開)を説明する概略側面図である。図20は、本発明の実施形態に係るスキャナ20の原稿押さえ板の閉検知(圧板:開→閉)を説明する概略側面図である。   Hereinafter, another embodiment of the present invention will be described with reference to the drawings. FIG. 18 is a flowchart showing the processing operation according to this embodiment. FIG. 19 is a schematic side view for explaining open detection (pressure plate: closed → open) of the document pressing plate of the scanner 20 according to the present embodiment. FIG. 20 is a schematic side view illustrating detection of closing of the document pressing plate of the scanner 20 according to the embodiment of the present invention (pressure plate: open → close).

図18に示すように、まず圧板の開閉を検知する(ステップS21)。キャリッジは、通常原稿読取りスタート位置(ホームポジション)に位置したままである。図19に示すように、圧板が閉じられた状態から開かれた状態になると(ステップS21/Yes)、原稿サイズ検知位置にキャリッジを移動させる(ステップS22)。前記原稿サイズ検知位置は、原稿読取り最大サイズの終端に位置する。上記図8と同様である。本実施形態は、圧板が開いた時点でキャリッジを原稿サイズ検知位置に移動させることを特徴とする。   As shown in FIG. 18, first, opening / closing of the pressure plate is detected (step S21). The carriage normally remains at the original reading start position (home position). As shown in FIG. 19, when the pressure plate is changed from the closed state to the opened state (step S21 / Yes), the carriage is moved to the document size detection position (step S22). The document size detection position is located at the end of the maximum document reading size. This is the same as FIG. The present embodiment is characterized in that the carriage is moved to the document size detection position when the pressure plate is opened.

その後、原稿サイズ検知の準備(ステップS23)から原稿サイズを決定(ステップS31)は、上記図5ステップS2からS10と同様である。ステップS24は図20を参照する。   Thereafter, the document size is determined (step S31) from the document size detection preparation (step S23) in the same manner as steps S2 to S10 in FIG. Step S24 refers to FIG.

上記実施形態により、サイズ検知を行う前、原稿読取手段の位置は通常読取りが行われるスタート位置に位置し、原稿押さえ板(圧板)の開閉検知手段が閉から開に変化した時、前期スタート位置から原稿読取り最大サイズの位置まで移動し、開から閉に変化した時、前記最大サイズの位置から原稿読取りスタート位置まで原稿読取手段が移動し、その区間の原稿読取りを行うことで、サイズ検知を行わない原稿読取り時には、原稿読取手段の移動が必要なくオーバーヘッド時間が必要なく生産性ダウンが無くなる。   According to the above embodiment, before the size detection, the position of the document reading means is located at the start position where normal reading is performed, and when the opening / closing detection means of the document pressing plate (pressure plate) changes from closed to open, From the maximum size position to the original reading start position, the original reading means moves from the maximum size position to the original reading position, and size detection is performed by reading the original in that section. When the original is not read, the original reading means does not need to be moved, overhead time is not required, and productivity is not reduced.

また、原稿押さえ版を閉じて原稿読取りを行うまでのオーバーヘッド時間を少なく出来るため生産性ダウンを極力抑えることが出来る。また、サイズ検知を行う前の原稿読取手段の位置を原稿読取りサイズの最大サイズにおくことにより、検知したい原稿サイズの種類により制御を切り替える必要が無く、機種共通の制御が可能となる。   In addition, since the overhead time from when the document pressing plate is closed to when the document is read can be reduced, productivity reduction can be suppressed as much as possible. In addition, by setting the position of the document reading means before performing size detection to the maximum size of the document reading size, it is not necessary to switch the control depending on the type of document size to be detected, and control common to all models is possible.

以下に、本発明の他の実施形態に係る原稿サイズ検知方法について図を用いて説明する。図21は、本実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。   Hereinafter, a document size detection method according to another embodiment of the present invention will be described with reference to the drawings. FIG. 21 is a flowchart showing document size detection operation processing according to the present embodiment.

図21に示すように、圧板が開いた時点でキャリッジ(画像読取り手段)を移動させる点は(ステップS32)、上記図18ステップS21と同様であるが、キャリッジを移動させる原稿サイズ検知位置が図18とは異なる。本実施形態では、上記図15ステップS11と同様に、検知をしたいサイズから必要となる読取り最大サイズ位置にキャリッジを移動させる(ステップS33)。したがって、ステップS33の処理については、上記図15ステップS11に係る処理と同様である。なお、検知をしたいサイズも、本実施形態では、ステップS11に係る説明にあるように、A3/A4ヨコ/A4タテの3種類の原稿サイズとする。その後、本実施形態に係るステップS34からS42の動作処理は、図5ステップS2からS10と同様の処理である。   As shown in FIG. 21, the carriage (image reading means) is moved when the pressure plate is opened (step S32), which is the same as step S21 in FIG. 18, except that the document size detection position where the carriage is moved is shown. 18 is different. In this embodiment, as in step S11 in FIG. 15, the carriage is moved from the size to be detected to the required maximum reading size position (step S33). Therefore, the process in step S33 is the same as the process according to step S11 in FIG. In the present embodiment, the sizes to be detected are also three types of document sizes of A3 / A4 width / A4 length as described in step S11. Thereafter, the operation process from step S34 to S42 according to the present embodiment is the same process as step S2 to S10 in FIG.

上記実施形態により、サイズ検知を行う前、画像読取り手段の位置は通常読取りが行われるスタート位置に位置し、原稿押さえ板の開閉検知手段が閉から開に変化した時、前期スタート位置から、検知をしたいサイズから必要となる読取り最大サイズの位置まで移動し、開から閉に変化した時、前記最大サイズの位置から原稿読取りスタート位置まで原稿読取手段が移動し、その区間の原稿読取りを行うことで、サイズ検知を行わない原稿読取り時には、原稿読取手段の移動が必要なくオーバーヘッド時間が必要なく生産性ダウンが無くなる。また、サイズ検知を行う前の原稿読取手段の位置を、検知したいサイズから必要となる読取り最大サイズにおくことにより、その機種最適の制御が実現可能となり、オーバーヘッド時間を更に少なく出来、生産性ダウンを抑えることが出来る。   According to the above embodiment, before the size detection, the position of the image reading means is located at the start position where normal reading is performed, and when the open / close detection means of the document holding plate changes from closed to open, the detection is performed from the start position in the previous period. Move from the desired size to the position of the required maximum reading size, and when it changes from open to closed, the original reading means moves from the maximum size position to the original reading start position, and reads the original in that section. Thus, when reading a document without size detection, there is no need to move the document reading means, no overhead time, and no reduction in productivity. In addition, by placing the position of the original reading means before size detection at the maximum reading size required from the size to be detected, it is possible to achieve optimal control of the model, further reducing overhead time and reducing productivity. Can be suppressed.

以下に、本発明の他の実施形態に係る原稿サイズ検知方法について図を用いて説明する。図22は、本実施形態に係る動作処理を示すフローチャートである。図23は、本実施形態に係るスキャナ20の原稿押え板の閉検知(圧板:閉→開→閉)を示す概略側面図である。図24は、本実施形態に係るキャリッジの移動の様子を示す図である。   Hereinafter, a document size detection method according to another embodiment of the present invention will be described with reference to the drawings. FIG. 22 is a flowchart showing an operation process according to the present embodiment. FIG. 23 is a schematic side view showing closing detection (pressure plate: closed → open → closed) of the document pressing plate of the scanner 20 according to the present embodiment. FIG. 24 is a diagram illustrating the movement of the carriage according to the present embodiment.

図22に示すように、本実施形態においては、まず原稿サイズ検知の準備を行う点が(ステップS43)、上記各実施形態とは異なる。上記各実施形態では、原稿サイズ検知準備は、キャリッジの移動後に行っている。従って、スタンバイ状態では画像読取り手段(以下キャリッジ)は通常原稿読取りスタート位置(ホームポジション)に位置したままで、原稿サイズ検知のために必要な準備を行う(ステップS43)。なお、原稿サイズ検知準備の処理自体は、図5ステップ2と同様であり、原稿サイズ検知のための原稿読取りタイミングの設定、および必要に応じてシェーディング補正に必要な準備設定を実行する。   As shown in FIG. 22, this embodiment is different from the above embodiments in that preparation for document size detection is first performed (step S43). In each of the above embodiments, the document size detection preparation is performed after the carriage is moved. Therefore, in the standby state, the image reading means (hereinafter referred to as the carriage) is kept at the normal document reading start position (home position), and preparations necessary for document size detection are made (step S43). The document size detection preparation process itself is the same as step 2 in FIG. 5, and the setting of the document reading timing for document size detection and the necessary setting for shading correction are executed as necessary.

ステップS44及びS45は、図5ステップS3、S4と同様である。原稿照射開始(ステップS45)後、キャリッジを移動させながら、最大サイズ分原稿を読取る。原稿の読取りについては、図5ステップS5と同様に、原稿サイズ用のライト信号を発生し、ライト信号の有効期間内の画像データ読取りを行って処理を終了する。   Steps S44 and S45 are the same as steps S3 and S4 in FIG. After starting the document irradiation (step S45), the document is read for the maximum size while moving the carriage. For reading the original, a write signal for the original size is generated as in step S5 in FIG. 5, and the image data is read within the valid period of the write signal, and the process is terminated.

本実施形態では、キャリッジはホームポジションからスタートし、走査しながら最大サイズ(例えば、A3サイズ。図24参照)の原稿を、原稿サイズ検知のため画像データとして読み取る(ステップS46)。また読取りと同時にキャリッジを本来の原稿読取り(本スキャン)位置へと移動させる。原稿の照射終了(ステップS47)後は、図5ステップS6からステップS10と同様である。   In the present embodiment, the carriage starts from the home position, and scans a document of a maximum size (for example, A3 size, see FIG. 24) as image data for document size detection while scanning (step S46). Simultaneously with the reading, the carriage is moved to the original document reading (main scanning) position. After the end of document irradiation (step S47), the process is the same as step S6 to step S10 in FIG.

上記実施形態により、サイズ検知を行う前、原稿読取手段の位置は通常読取りが行われるスタート位置に位置し、原稿押さえ板の開閉検知手段が開から閉に変化した時、前期スタート位置から原稿読取り最大サイズの位置まで原稿読取手段が移動し、その区間の原稿読取りを行うことで、サイズ検知を行わない原稿読取り時には、原稿読取手段の移動が必要なくオーバーヘッド時間が必要なく生産性ダウンが無くなる。また、サイズ検知読取り制御を通常原稿読取りと同じに出来るため、制御変更をより少なく出来、開発効率アップが図れる。また、サイズ検知読取りサイズを最大サイズにすることにより、検知したい原稿サイズの種類により制御を切り替える必要が無く、機種共通の制御が可能となる。   According to the above embodiment, before the size detection, the position of the document reading means is located at the start position where the normal reading is performed, and when the opening / closing detection means of the document holding plate changes from open to closed, the document reading from the start position in the previous period is performed. By moving the original reading means to the position of the maximum size and reading the original in that section, when reading the original without detecting the size, the original reading means does not need to be moved, overhead time is not required, and productivity is eliminated. Further, since the size detection reading control can be made the same as the normal document reading, the control change can be reduced and the development efficiency can be improved. Further, by setting the size detection reading size to the maximum size, it is not necessary to switch the control depending on the type of document size to be detected, and control common to all models is possible.

以下に、本発明の他の実施形態に係る原稿サイズ検知方法について図を用いて説明する。図25は、本実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。図26は、本実施形態に係るキャリッジの移動の様子を示す図である。   Hereinafter, a document size detection method according to another embodiment of the present invention will be described with reference to the drawings. FIG. 25 is a flowchart showing document size detection operation processing according to the present embodiment. FIG. 26 is a diagram illustrating the movement of the carriage according to the present embodiment.

図25に示すように、本実施形態の動作処理は、ステップS58の処理以外は、上記図22を用いて説明した実施形態の動作処理(ステップS43からS45、S47からS51)と同様である。本実施形態では、ホームポジションからキャリッジが走査し、検知をしたいサイズから必要となる読取り最大サイズ分原稿を画像データとして読取る(ステップS58)。具体的には、原稿サイズ用のライト信号を発生し、ライト信号の有効期間内の画像データ読取りにより行い、読取り処理自体は上記図5ステップS4と同様である。このとき、キャリッジを移動させて原稿を走査しながら読取りを実行する。   As shown in FIG. 25, the operation process of this embodiment is the same as the operation process (steps S43 to S45 and S47 to S51) of the embodiment described with reference to FIG. 22 except for the process of step S58. In the present embodiment, the carriage scans from the home position, and a document corresponding to the maximum read size required from the size to be detected is read as image data (step S58). Specifically, a write signal for a document size is generated and image data is read within the valid period of the write signal, and the reading process itself is the same as step S4 in FIG. At this time, reading is executed while moving the carriage and scanning the document.

本実施形態の場合、検知をしたいサイズをA3/A4ヨコ/A4タテの3種類の原稿サイズとする(図26参照)。したがって、A4タテサイズより外側近傍が必要となる読取り最大サイズ分原稿であり、この位置まで読取りを行うこととなる(図26参照)。また読取りと同時に並行してキャリッジを本来の原稿読取り(本スキャン)位置へと移動させる。   In the case of this embodiment, the size to be detected is set to three types of document sizes of A3 / A4 width / A4 length (see FIG. 26). Accordingly, the document is the maximum read size document that requires an area closer to the outside than the A4 vertical size, and reading is performed up to this position (see FIG. 26). Simultaneously with the reading, the carriage is moved to the original document reading (main scanning) position.

上記実施形態により、サイズ検知を行う前、原稿読取手段の位置は通常読取りが行われるスタート位置に位置し、原稿押さえ板の開閉検知手段が開から閉に変化した時、前期スタート位置から検知をしたいサイズから必要な読取りが最大サイズの位置まで原稿読取手段が移動し、その区間の原稿読取りを行うことで、サイズ検知を行わない原稿読取り時には、原稿読取手段の移動が必要なくオーバーヘッド時間が必要なく生産性ダウンが無くなる。また、サイズ検知読取りサイズを必要となる読取り最大サイズにおくことにより、その機種最適の制御が実現可能となり、オーバーヘッド時間を更に少なく出来、生産性ダウンを抑えることが出来る。   According to the above embodiment, before the size detection, the position of the document reading means is located at the start position where normal reading is performed, and when the opening / closing detection means of the document pressing plate changes from open to closed, the detection is performed from the start position in the previous period. The original reading unit moves from the desired size to the position where the required reading is the maximum size. By reading the original in that section, it is not necessary to move the original reading unit when reading the original without detecting the size, and overhead time is required. There is no loss of productivity. In addition, by setting the size detection reading size to the required maximum reading size, optimal control of the model can be realized, overhead time can be further reduced, and productivity reduction can be suppressed.

以下に、本発明の他の実施形態に係る原稿サイズ検知方法について図を用いて説明する。図27は、本実施形態に係るサイズ検知動作処理を示すフローチャートである。   Hereinafter, a document size detection method according to another embodiment of the present invention will be described with reference to the drawings. FIG. 27 is a flowchart showing the size detection operation process according to the present embodiment.

本実施形態は、上記各実施形態のいずれを実行するか選択できることを特徴とする。具体的には、図27に示すように、サイズ検知フローに入る前に制御ナンバーをCPU23(図4参照)に設定する(ステップS70)。制御ナンバーは例えばNO.1、NO.2等で示す。なお、本実施形態において、図27に示す「NO.1」は上記図5、「NO.2」は図15、「NO.3」は図18、「NO.4」は図21、「NO.5」は図22、「NO.6」は図25の各フローチャートを用いて説明した実施形態を指し、制御ナンバーとして設定する。   This embodiment is characterized in that any one of the above embodiments can be selected. Specifically, as shown in FIG. 27, the control number is set in the CPU 23 (see FIG. 4) before entering the size detection flow (step S70). The control number is NO. 1, NO. It is shown by 2 etc. In this embodiment, “NO.1” shown in FIG. 27 is the same as FIG. 5, “NO.2” is FIG. 15, “NO.3” is FIG. 18, “NO.4” is FIG. .5 ”indicates the embodiment described with reference to the flowchart of FIG. 22 and“ NO.6 ”is set as a control number.

その後は設定された制御ナンバーに対応する各実施形態の動作処理(図5、図15、図18、図21、図22、図25参照)と同様に行われる(ステップS71からS80)。   After that, the operation processing (see FIGS. 5, 15, 18, 21, 22, and 25) corresponding to the set control number is performed (steps S71 to S80).

上記実施形態により、生産性のダウンを抑え、制御変更やコストアップの負担が軽減され、システム要求に合わせて制御方式を切り替えることが可能となり、より汎用性の高いシステムを得ることが可能となる。   According to the above-described embodiment, it is possible to suppress a decrease in productivity, reduce the burden of control change and cost increase, switch the control method according to the system request, and obtain a more versatile system. .

尚、各図のフローチャートに示す処理を、CPU23が実行するためのプログラムは本発明によるプログラムを構成する。このプログラムを記録する記録媒体としては、半導体記憶部や光学的及び/又は磁気的な記憶部等を用いることができる。このようなプログラム及び記録媒体を、前述した各実施形態とは異なる構成のシステム等で用い、そこのCPUで上記プログラムを実行させることにより、本発明と実質的に同じ効果を得ることができる。   Note that the program for the CPU 23 to execute the processing shown in the flowcharts of the drawings constitutes a program according to the present invention. As a recording medium for recording the program, a semiconductor storage unit, an optical and / or magnetic storage unit, or the like can be used. By using such a program and a recording medium in a system having a configuration different from that of each of the above-described embodiments and causing the CPU to execute the program, substantially the same effect as the present invention can be obtained.

以上、本発明を好適な実施の形態に基づき具体的に説明したが、本発明は上記のものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることは言うまでもない。   Although the present invention has been specifically described above based on the preferred embodiments, it is needless to say that the present invention is not limited to the above-described ones and can be variously modified without departing from the gist thereof.

本発明の実施形態に係る画像読取装置の概略断面図である。1 is a schematic cross-sectional view of an image reading apparatus according to an embodiment of the present invention. 本発明の実施形態に係る画像読取装置の概略斜視図である。1 is a schematic perspective view of an image reading apparatus according to an embodiment of the present invention. 本発明の実施形態に係る画像形成装置の構成ブロック図である。1 is a configuration block diagram of an image forming apparatus according to an embodiment of the present invention. 本発明の実施形態に係るIPU周辺の構成ブロック図である。It is a block diagram of the configuration around the IPU according to the embodiment of the present invention. 本発明の実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。6 is a flowchart illustrating document size detection operation processing according to the embodiment of the present invention. 本発明の実施形態に係るスキャナ20の外観図である。1 is an external view of a scanner 20 according to an embodiment of the present invention. 本発明の実施形態に係るスキャナ20の原稿押さえ板の閉検知(圧板:閉→開→閉)を説明する概略側面図である。FIG. 5 is a schematic side view for explaining detection of closing of a document pressing plate of the scanner 20 according to the embodiment of the present invention (pressure plate: closed → open → closed). 本発明の実施形態に係る読み取りキャリッジの移動を示す図である。It is a figure which shows the movement of the reading carriage which concerns on embodiment of this invention. 本発明の実施形態に係るメモリコントロール30周辺の構成ブロック図である。FIG. 3 is a block diagram showing a configuration around a memory control 30 according to the embodiment of the present invention. 本発明の実施形態に係るメモリコントロール30の副走査方向タイミングチャートを示す図である。It is a figure which shows the sub-scanning direction timing chart of the memory control 30 which concerns on embodiment of this invention. 本発明の実施形態に係るメモリコントロール30の主走査方向タイミングチャートを示す図である。It is a figure which shows the main scanning direction timing chart of the memory control 30 which concerns on embodiment of this invention. 本発明の実施形態に係るパッチ読み取りの一例を示す図である。It is a figure which shows an example of the patch reading which concerns on embodiment of this invention. 本発明の実施形態に係る白黒判定処理を示すフローチャートである。It is a flowchart which shows the monochrome determination process which concerns on embodiment of this invention. 本発明の実施形態に係るサイズ検知判定用パッチ読み取り位置を示す図である。It is a figure which shows the patch reading position for size detection determination which concerns on embodiment of this invention. 本発明の実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。6 is a flowchart illustrating document size detection operation processing according to the embodiment of the present invention. 本発明の実施形態に係るスキャナ20の原稿押さえ板の閉検知(圧板:閉→開→閉)を説明する概略側面図である。FIG. 5 is a schematic side view for explaining detection of closing of a document pressing plate of the scanner 20 according to the embodiment of the present invention (pressure plate: closed → open → closed). 本発明の実施形態に係る読み取りキャリッジの移動を示す図である。It is a figure which shows the movement of the reading carriage which concerns on embodiment of this invention. 本発明の実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。6 is a flowchart illustrating document size detection operation processing according to the embodiment of the present invention. 本発明の実施形態に係るスキャナ20の原稿押さえ板の開検知(圧板:閉→開)を説明する概略側面図である。FIG. 5 is a schematic side view for explaining open detection (pressure plate: closed → open) of the document pressing plate of the scanner 20 according to the embodiment of the present invention. 本発明の実施形態に係るスキャナ20の原稿押さえ板の閉検知(圧板:開→閉)を説明する概略側面図である。FIG. 6 is a schematic side view illustrating detection of closing of a document pressing plate of the scanner 20 according to an embodiment of the present invention (pressure plate: open → close). 本発明の実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。6 is a flowchart illustrating document size detection operation processing according to the embodiment of the present invention. 本発明の実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。6 is a flowchart illustrating document size detection operation processing according to the embodiment of the present invention. 本発明の実施形態に係るスキャナ20の原稿押さえ板の閉検知(圧板:閉→開→閉)を説明する概略側面図である。FIG. 5 is a schematic side view for explaining detection of closing of a document pressing plate of the scanner 20 according to the embodiment of the present invention (pressure plate: closed → open → closed). 本発明の実施形態に係る読み取りキャリッジの移動を示す図である。It is a figure which shows the movement of the reading carriage which concerns on embodiment of this invention. 本発明の実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。6 is a flowchart illustrating document size detection operation processing according to the embodiment of the present invention. 本発明の実施形態に係る読み取りキャリッジの移動を示す図である。It is a figure which shows the movement of the reading carriage which concerns on embodiment of this invention. 本発明の実施形態に係る原稿サイズ検知動作処理を示すフローチャートである。6 is a flowchart illustrating document size detection operation processing according to the embodiment of the present invention.

符号の説明Explanation of symbols

20 スキャナ
21 IPU
22 プリンタ
23、25 CPU
24 操作部
26 表示部
27 RAM
28 画像処理モジュール
29 複数ラインメモリ
30 メモリコントロール
20 Scanner 21 IPU
22 Printer 23, 25 CPU
24 Operation unit 26 Display unit 27 RAM
28 Image processing module 29 Multiple line memory 30 Memory control

Claims (24)

原稿を照射する原稿照射手段と、
前記原稿照射手段により原稿を走査して原稿の画像データをライン毎に読み取る画像読取手段と、
原稿押え板の開閉を検知する開閉検知手段と、
前記画像読取手段によって得られた複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて原稿の主走査サイズと副走査サイズを判定するサイズ検知手段と、を備え、
前記画像読取手段は、前記開閉検知手段による原稿押え板の状態の検知により、原稿読み取り位置を制御することを特徴とする画像読取り装置。
A document irradiation means for irradiating a document;
An image reading unit that scans the document by the document irradiation unit and reads image data of the document line by line;
Open / close detecting means for detecting opening / closing of the document pressing plate;
The main scanning size and the sub-scanning size of the document are determined by using the read image data at an arbitrary position in the main / sub-scanning direction independently of the main / sub-scanning direction from the plurality of lines of image data obtained by the image reading unit. A size detection means,
The image reading device controls the document reading position by detecting the state of the document pressing plate by the open / close detection unit.
前記画像読取手段は、サイズ検知を行う前は、原稿読取サイズの最大サイズに位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記原稿読取サイズの最大サイズ位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする請求項1記載の画像読取り装置。   The image reading unit is positioned at the maximum size of the document reading size before the size detection, and when the open / close detection unit detects that the document pressing plate has changed from open to closed, the image reading size 2. The image reading apparatus according to claim 1, wherein the image reading apparatus moves from a maximum size position to a document reading start position and reads document image data in the section. 前記画像読取手段は、サイズ検知を行う前は、検知をしたい原稿サイズから必要となる読み取り最大サイズに位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記検知をしたい原稿サイズから必要となる読み取り最大サイズ位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする請求項1記載の画像読取り装置。   The image reading unit is positioned at the maximum reading size required from the size of the document to be detected before the size detection, and when the open / close detection unit detects that the document pressing plate has changed from open to closed 2. The image reading apparatus according to claim 1, wherein the image reading apparatus moves from a required maximum reading size position to an original reading start position from the original size to be detected, and reads original image data in that section. 前記画像読取手段は、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記開閉検知手段により原稿押え板が閉から開に変化したと検知されたとき、前記スタート位置から原稿読み取り最大サイズ位置まで移動し、その後前記開閉検知手段により原稿押え板が開から閉に変化したと検知されたとき、前記最大サイズの位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする請求項1記載の画像読取り装置。   The image reading means is positioned at a start position where normal reading is performed before size detection, and when the open / close detection means detects that the document pressing plate has changed from closed to open, the image reading means starts from the start position. When it moves to the maximum reading size position and then the open / close detection means detects that the document pressing plate has changed from open to closed, it moves from the maximum size position to the document reading start position, and the document image data in that section The image reading apparatus according to claim 1, wherein: 前記画像読取手段は、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記開閉検知手段により、原稿押え板が閉から開に変化したと検知されたとき、前記スタート位置から検知をしたい原稿サイズから必要となる読み取り最大サイズ位置まで移動し、その後前記開閉検知手段により原稿押え板が開から閉に変化したと検知されたとき、前記最大サイズの位置から原稿読み取りスタート位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする請求項1記載の画像読取り装置。   The image reading unit is positioned at a start position where normal reading is performed before size detection. When the image detection unit detects that the document pressing plate has changed from closed to open, the image reading unit starts from the start position. Move from the original size you want to detect to the required maximum reading size position, and then when the open / close detection means detects that the original pressing plate has changed from open to closed, from the maximum size position to the original reading start position 2. The image reading apparatus according to claim 1, wherein the image reading apparatus moves and reads the original image data in the section. 前記画像読取手段は、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記スタート位置から原稿読み取り最大サイズの位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする請求項1記載の画像読取り装置。   The image reading unit is positioned at a start position where normal reading is performed before size detection, and when the open / close detection unit detects that the document pressing plate has changed from open to closed, the image reading unit starts from the start position. 2. The image reading apparatus according to claim 1, wherein the image reading apparatus moves to a position of a maximum document reading size and reads document image data in the section. 前記画像読取手段は、サイズ検知を行う前は、通常読取りが行われるスタート位置に位置し、前記開閉検知手段により、原稿押え板が開から閉に変化したと検知されたとき、前記スタート位置から検知をしたいサイズから必要な読み取りが最大サイズの位置まで移動し、その区間の原稿画像データを読み取ることを特徴とする請求項1記載の画像読取り装置。   The image reading unit is positioned at a start position where normal reading is performed before size detection, and when the open / close detection unit detects that the document pressing plate has changed from open to closed, the image reading unit starts from the start position. 2. The image reading apparatus according to claim 1, wherein the necessary reading moves from the size to be detected to the position of the maximum size, and the original image data in that section is read. 請求項1から請求項7記載の画像読取手段のうちいずれかを選択する選択手段を備えることを特徴とする画像読取り装置。   8. An image reading apparatus comprising: a selecting unit that selects any one of the image reading units according to claim 1. 請求項1から8のいずれか1項記載の画像読み取り装置を備える画像形成装置。   An image forming apparatus comprising the image reading apparatus according to claim 1. 原稿押え板の開閉状態を検知する工程と、
前記検知する工程による原稿押え板の状態の検知により、原稿読み取り手段を制御し、原稿を照射しつつ、走査して原稿の画像データをライン毎に読み取る工程と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法。
Detecting the open / close state of the document pressing plate;
A step of controlling the document reading means by detecting the state of the document pressing plate in the detecting step and scanning the image data of the document for each line while irradiating the document;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection method comprising: a step of:
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、原稿読取サイズの最大サイズに位置させる工程と、
原稿押え板が開から閉に変化したことを検知する工程と、
原稿を照射しつつ、前記原稿読取サイズの最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法。
A step of positioning image reading means for reading image data of the document while irradiating the document at a maximum size of the document reading size;
Detecting the change of the document pressing plate from open to closed;
Scanning the image reading means from the maximum size position of the document reading size to the document reading start position while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection method comprising: a step of:
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、検知をしたい原稿サイズから必要となる読み取り最大サイズに位置させる工程と、
原稿押え板が開から閉に変化したことを検知する工程と、
原稿を照射しつつ、前記検知をしたい原稿サイズから必要となる読み取り最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿画像データをライン毎に読み取る工程と、
その区間の原稿の画像データをライン毎に読み取る工程と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法。
Positioning the image reading means for reading image data of the document while irradiating the document at a maximum reading size required from the size of the document to be detected;
Detecting the change of the document pressing plate from open to closed;
Scanning the image reading means from the maximum reading size position required from the original size to be detected to the original reading start position while irradiating the original, and reading the original image data of the section for each line;
Reading the image data of the document in that section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection method comprising: a step of:
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、
原稿押え板が、閉から開に変化したことを検知する工程と、
前記スタート位置から原稿読み取り最大サイズ位置まで移動する工程と、
原稿押え板が、開から閉に変化したことを検知する工程と、
原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法。
A step of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
Detecting the change of the document holding plate from closed to open;
A step of moving from the start position to the maximum document reading size position;
Detecting the change of the document pressing plate from open to closed;
Scanning the image reading means from the position of the maximum size to the document reading start position while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection method comprising: a step of:
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、
原稿押え板が、閉から開に変化したことを検知する工程と、
前記スタート位置から検知をしたい原稿サイズから必要となる読み取り最大サイズ位置まで移動する工程と、
原稿押え板が、開から閉に変化したことを検知する工程と、
原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法。
A step of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
Detecting the change of the document holding plate from closed to open;
A step of moving from the original position to be detected from the start position to a required maximum reading size position;
Detecting the change of the document pressing plate from open to closed;
Scanning the image reading means from the position of the maximum size to the document reading start position while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection method comprising: a step of:
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、
原稿押え板が、開から閉に変化したことを検知する工程と、
原稿を照射しつつ、前記スタート位置から原稿読み取り最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法。
A step of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
Detecting the change of the document pressing plate from open to closed;
Scanning the image reading means from the start position to the position of the maximum document reading size while irradiating the document, and reading the image data of the document in that section line by line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection method comprising: a step of:
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる工程と、
原稿押え板が、開から閉に変化したことを検知する工程と、
原稿を照射しつつ、前記スタート位置から検知をしたいサイズから必要な読み取りが最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る工程と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する工程と、を備えることを特徴とする原稿サイズ検知方法。
A step of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
Detecting the change of the document pressing plate from open to closed;
Scanning the image reading means from the size to be detected from the start position to the position where the required reading is the maximum size while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection method comprising: a step of:
原稿押え板の開閉状態を検知する処理と、
前記検知する処理による原稿押え板の状態の検知により、原稿読み取り手段を制御し、原稿を照射しつつ、走査して原稿の画像データをライン毎に読み取る処理と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラム。
A process for detecting the open / close state of the document holding plate;
By detecting the state of the document pressing plate by the detection process, the document reading unit is controlled to scan the image data of the document line by line while irradiating the document,
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection program that causes a computer to execute a process for
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、原稿読取サイズの最大サイズに位置させる処理と、
原稿押え板が開から閉に変化したことを検知する処理と、
原稿を照射しつつ、前記原稿読取サイズの最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラム。
A process of positioning image reading means for reading image data of the document while irradiating the document at the maximum size of the document reading size;
A process for detecting that the document holding plate has changed from open to closed;
Scanning the image reading means from the maximum size position of the original reading size to the original reading start position while irradiating the original, and reading the image data of the original in that section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection program that causes a computer to execute a process for
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、検知をしたい原稿サイズから必要となる読み取り最大サイズに位置させる処理と、
原稿押え板が開から閉に変化したことを検知する処理と、
原稿を照射しつつ、前記検知をしたい原稿サイズから必要となる読み取り最大サイズ位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿画像データをライン毎に読み取る処理と、
その区間の原稿の画像データをライン毎に読み取る処理と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラム。
A process of positioning image reading means for reading image data of the document while irradiating the document at a maximum reading size required from the size of the document to be detected;
A process for detecting that the document holding plate has changed from open to closed;
A process of scanning the image reading unit from the maximum reading size position required from the original size to be detected to the original reading start position while irradiating the original, and reading the original image data of the section for each line;
A process of reading the image data of the document in that section line by line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection program that causes a computer to execute a process for
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、
原稿押え板が、閉から開に変化したことを検知する処理と、
前記スタート位置から原稿読み取り最大サイズ位置まで移動する処理と、
原稿押え板が、開から閉に変化したことを検知する処理と、
原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラム。
A process of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
A process of detecting that the document pressing plate has changed from closed to open;
Processing to move from the start position to the maximum document reading size position;
A process of detecting that the document pressing plate has changed from open to closed;
Scanning the image reading means from the position of the maximum size to the document reading start position while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection program that causes a computer to execute a process for
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、
原稿押え板が、閉から開に変化したことを検知する処理と、
前記スタート位置から検知をしたい原稿サイズから必要となる読み取り最大サイズ位置まで移動する処理と、
原稿押え板が、開から閉に変化したことを検知する処理と、
原稿を照射しつつ、前記最大サイズの位置から原稿読み取りスタート位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラム。
A process of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
A process of detecting that the document pressing plate has changed from closed to open;
A process of moving from the start position to the required maximum reading size position from the document size to be detected;
A process of detecting that the document pressing plate has changed from open to closed;
Scanning the image reading means from the position of the maximum size to the document reading start position while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection program that causes a computer to execute a process for
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、
原稿押え板が、開から閉に変化したことを検知する処理と、
原稿を照射しつつ、前記スタート位置から原稿読み取り最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラム。
A process of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
A process of detecting that the document pressing plate has changed from open to closed;
A process of scanning the image reading unit from the start position to the position of the maximum document reading size while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection program that causes a computer to execute a process for
原稿を照射しつつ原稿の画像データを読み取る画像読取手段を、通常読取りが行われるスタート位置に位置させる処理と、
原稿押え板が、開から閉に変化したことを検知する処理と、
原稿を照射しつつ、前記スタート位置から検知をしたいサイズから必要な読み取りが最大サイズの位置まで前記画像読取手段を走査し、その区間の原稿の画像データをライン毎に読み取る処理と、
読み取った複数ラインの画像データから、主/副走査方向独立に、主/副走査方向任意の位置の読み取り画像データを用いて、原稿の主走査サイズと副走査サイズを判定し、原稿サイズを検知する処理と、をコンピュータに実行させることを特徴とする原稿サイズ検知プログラム。
A process of positioning image reading means for reading image data of the original while irradiating the original at a start position where normal reading is performed;
A process of detecting that the document pressing plate has changed from open to closed;
A process of scanning the image reading means from the size desired to be detected from the start position to the position where the required reading is the maximum size while irradiating the document, and reading the image data of the document in the section for each line;
Using the read image data at any position in the main / sub-scanning direction independently of the main / sub-scanning direction, the main scanning size and sub-scanning size of the document are determined and the document size is detected. A document size detection program that causes a computer to execute a process for
請求項17から23のいずれか1項記載のプログラムを記録するコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium for recording the program according to any one of claims 17 to 23.
JP2006192207A 2006-07-12 2006-07-12 Image reading apparatus, image forming apparatus, manuscript size detecting method, manuscript size detecting program, and recording medium Pending JP2008022285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006192207A JP2008022285A (en) 2006-07-12 2006-07-12 Image reading apparatus, image forming apparatus, manuscript size detecting method, manuscript size detecting program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006192207A JP2008022285A (en) 2006-07-12 2006-07-12 Image reading apparatus, image forming apparatus, manuscript size detecting method, manuscript size detecting program, and recording medium

Publications (1)

Publication Number Publication Date
JP2008022285A true JP2008022285A (en) 2008-01-31

Family

ID=39077921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006192207A Pending JP2008022285A (en) 2006-07-12 2006-07-12 Image reading apparatus, image forming apparatus, manuscript size detecting method, manuscript size detecting program, and recording medium

Country Status (1)

Country Link
JP (1) JP2008022285A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211658A (en) * 2012-03-30 2013-10-10 Brother Ind Ltd Image reader and original arrangement discrimination program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61286834A (en) * 1985-06-14 1986-12-17 Ricoh Co Ltd Original size detecting device
JPH11150634A (en) * 1997-11-17 1999-06-02 Konica Corp Original size detection method
JP2002271583A (en) * 2001-03-13 2002-09-20 Canon Inc Image reader, control method therefor and program thereof
JP2004282517A (en) * 2003-03-17 2004-10-07 Sharp Corp Original reader
JP2006067179A (en) * 2004-08-26 2006-03-09 Ricoh Co Ltd Original size detecting device and original reader

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61286834A (en) * 1985-06-14 1986-12-17 Ricoh Co Ltd Original size detecting device
JPH11150634A (en) * 1997-11-17 1999-06-02 Konica Corp Original size detection method
JP2002271583A (en) * 2001-03-13 2002-09-20 Canon Inc Image reader, control method therefor and program thereof
JP2004282517A (en) * 2003-03-17 2004-10-07 Sharp Corp Original reader
JP2006067179A (en) * 2004-08-26 2006-03-09 Ricoh Co Ltd Original size detecting device and original reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211658A (en) * 2012-03-30 2013-10-10 Brother Ind Ltd Image reader and original arrangement discrimination program

Similar Documents

Publication Publication Date Title
JP4037512B2 (en) Image reading device
JP2007060613A (en) Image reading device
JP2007124319A (en) Image reader
JP4504137B2 (en) Document size detection device and document reading device
JP2007158965A (en) Image reading apparatus, and original size detection method and program
JP4963441B2 (en) Image reading apparatus and image forming apparatus
JP2008022285A (en) Image reading apparatus, image forming apparatus, manuscript size detecting method, manuscript size detecting program, and recording medium
JP2010028510A (en) Document reader
JP2007110655A (en) Image reading device and image reading method
JP4855017B2 (en) Document size detection apparatus, image reading apparatus, and image forming apparatus
JP4936917B2 (en) Document size detection device and image reading device
JP2008028522A (en) Image reading device
JP5915257B2 (en) Image reading apparatus and document area determination program
JP2007081868A (en) Image reading apparatus, and control method of the image reading apparatus
JP2007266961A (en) Image reading apparatus, image reading method, image reading program, and record medium
JP2003219117A (en) Both-ends of original detecting device
JP2006237999A (en) Image processing apparatus and image processing system
JP5029569B2 (en) Image reading apparatus, image reading method, and image reading program
JPH09200445A (en) Image reader
JP2008306584A (en) Image reader
JP2007074510A (en) Image reading apparatus, image forming apparatus, image reading control method, and image reading control program
JP2018026729A (en) Imaging apparatus, imaging method and imaging program
JP6711224B2 (en) Document reading device, document reading method, and document reading program
JP2007143032A (en) Image reader, image forming apparatus, image reader control method, and program
JP2007150570A (en) Image reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120703