[go: up one dir, main page]

JP2006067329A - Document reading apparatus and document reading method - Google Patents

Document reading apparatus and document reading method Download PDF

Info

Publication number
JP2006067329A
JP2006067329A JP2004248666A JP2004248666A JP2006067329A JP 2006067329 A JP2006067329 A JP 2006067329A JP 2004248666 A JP2004248666 A JP 2004248666A JP 2004248666 A JP2004248666 A JP 2004248666A JP 2006067329 A JP2006067329 A JP 2006067329A
Authority
JP
Japan
Prior art keywords
document
image
reading
unit
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004248666A
Other languages
Japanese (ja)
Inventor
Noriaki Matsui
規明 松井
Kenji Morita
健二 森田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004248666A priority Critical patent/JP2006067329A/en
Publication of JP2006067329A publication Critical patent/JP2006067329A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Systems Of Projection Type Copiers (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

【課題】 セットされた原稿が多少ずれていても、短時間で原稿サイズを正しく検知し、かつ正確な原稿読取領域だけを走査できる原稿読取装置を提供する。
【解決手段】 プレスキャンを行うことなく、CCDセンサ109によって原稿を走査して原稿画像を読み取る際、エリアセンサ300によって原稿台ガラス面102を全面に亘って撮像する。撮影された画像を基に、原稿台ガラス面102上に載置された原稿の基準位置から主走査方向および副走査方向のズレ量を検出するとともに、原稿のサイズを検出する。そして、原稿のサイズに応じて、検出されたズレ量だけずらすように、CCDセンサ109による原稿の画像読取動作を行う。
【選択図】 図15
PROBLEM TO BE SOLVED: To provide a document reading apparatus capable of correctly detecting a document size in a short time and scanning only an accurate document reading region even if a set document is slightly deviated.
When scanning a document by a CCD sensor and reading a document image without performing pre-scanning, the area sensor 300 captures an image of the entire platen glass surface. Based on the photographed image, the amount of deviation in the main scanning direction and the sub-scanning direction is detected from the reference position of the document placed on the platen glass surface 102, and the size of the document is detected. Then, an image reading operation of the document by the CCD sensor 109 is performed so as to shift the detected deviation amount according to the size of the document.
[Selection] FIG.

Description

本発明は、原稿を走査しながらその画像を読み取る原稿読取装置および原稿読取方法に関する。   The present invention relates to an original reading apparatus and an original reading method for reading an image while scanning an original.

従来、この種の原稿読取装置が搭載された画像形成装置として、ファーストコピータイム(FCOT:First Copy Output Time)を重要視する製品が開発されてきた。ファーストコピータイムとは、原稿をセットしてコピーボタン(スタートボタン)を押してから、最初のコピー用紙が出てくるまでの時間である。これに伴い、原稿読取装置においても、プレスキャン動作無しで圧板開閉時にサイズ検知を実行する原稿サイズ検知機能が標準的な機能として製品に実装されるようになった。この原稿サイズ検知機能では、定型サイズの原稿を検知する場合、スタートキーによる原稿読取動作を実行する前に、原稿サイズを特定することができ、原稿読み取り前に先行してプリンタの給紙動作を実行させることで、FCOTを短縮することができる。   Conventionally, products that place importance on first copy output time (FCOT) have been developed as image forming apparatuses equipped with this type of document reading apparatus. The first copy time is the time from when the original is set and the copy button (start button) is pressed to when the first copy sheet comes out. As a result, even in the document reading apparatus, a document size detection function for performing size detection when the pressure plate is opened and closed without a pre-scan operation is mounted as a standard function on a product. With this document size detection function, when a standard size document is detected, the document size can be specified before executing the document reading operation with the start key. By executing it, the FCOT can be shortened.

また、CCDにより主走査方向のサイズ検知を行う原稿読取装置が知られている(特許文献1参照)。この原稿読取装置では、それまでの反射型フォトセンサだけによる定型原稿のサイズ検知と比べ、主走査方向の反射型フォトセンサを省くことができる。また、部品点数およびコストを削減でき、検知可能な定型原稿サイズを拡充することができる。   Further, there is known an original reading apparatus that performs size detection in the main scanning direction by a CCD (see Patent Document 1). In this document reading apparatus, the reflection type photosensor in the main scanning direction can be omitted as compared with the size detection of the standard document using only the reflection type photosensor so far. In addition, the number of parts and the cost can be reduced, and the detectable standard document size can be expanded.

また、複写機では、画像情報を撮像素子で読み取ってメモリに格納する際、反射型フォトセンサなどで原稿台に置かれた原稿のサイズを検知し、検知された原稿のサイズ情報を基に、原稿が存在する領域をラインセンサで走査して読み取る方式(固定読み方式)が一般的に行われている。また、自動原稿搬送装置(ADF)を使用する場合、原稿の幅および後端が原稿搬送中にセンサを通過する時間によって原稿サイズを検知し、固定されたラインセンサで搬送される原稿を読み取る方式(流し読み方式)も一般的に行われている。どちらの読み取り方式であっても、読み取ったラインデータをそのまま一旦画像メモリに格納した後、出力装置に画像データとして出力していた。   In the copying machine, when the image information is read by the image sensor and stored in the memory, the size of the document placed on the document table is detected by a reflective photo sensor or the like, and based on the detected size information of the document, A method (fixed reading method) in which an area where a document exists is scanned by a line sensor and read is generally performed. When an automatic document feeder (ADF) is used, the document size is detected by the width of the document and the time when the trailing edge passes the sensor during document conveyance, and the document conveyed by a fixed line sensor is read. (Skip reading method) is also generally performed. In either reading method, the read line data is temporarily stored in the image memory and then output to the output device as image data.

このとき、原稿が基準位置からずれた位置で斜めにセットされた場合、原稿のずれと傾きがそのまま画像メモリに記憶される画像に反映されてしまい、位置ずれおよび傾きを有する画像データが出力されることになる。これに対し、画像メモリに記憶された画像データを読み出す際、傾き補正処理を行う対策がとられている。しかし、この傾き補正処理では、必要なメモリ量が多く、またファーストコピータイム等にも影響を与えていた。これに対し、リアルタイムに傾き補正処理を行う原稿読取装置も検討されている(特許文献2参照)。
特開平8−79463号公報 特開2001−103273号公報
At this time, if the document is set obliquely at a position deviated from the reference position, the document deviation and inclination are reflected as they are in the image stored in the image memory, and image data having the position deviation and inclination is output. Will be. On the other hand, when reading out the image data stored in the image memory, a measure for performing an inclination correction process is taken. However, this tilt correction processing requires a large amount of memory and also affects the first copy time and the like. On the other hand, a document reading apparatus that performs an inclination correction process in real time has been studied (see Patent Document 2).
JP-A-8-79463 JP 2001-103273 A

しかしながら、上記従来の定型原稿サイズを検知する原稿読取装置では、原稿セット位置(基準位置)に対してセットされた原稿がずれていた場合、原稿サイズを誤検知したり、原稿読取領域を正しく走査できなかった。また、上記従来の傾き補正処理を行う原稿読取装置では、補正用メモリが必要である上、傾きが最大補正量を越えた場合、補正できなかった。   However, in the conventional document reading apparatus that detects the standard document size, if the document set with respect to the document setting position (reference position) is displaced, the document size is erroneously detected or the document reading area is scanned correctly. could not. In addition, the document reading apparatus that performs the above-described conventional tilt correction process requires a correction memory and cannot correct the tilt when the tilt exceeds the maximum correction amount.

そこで、本発明は、、セットされた原稿が多少ずれていても、短時間で原稿サイズを正しく検知し、かつ正確な原稿読取領域だけを走査できる原稿読取装置および原稿読取方法を提供することを目的とする。また、本発明は、原稿の傾きがどのような大きさであっても、リアルタイムに補正できる原稿読取装置および原稿読取方法を提供することを他の目的とする。   Therefore, the present invention provides a document reading apparatus and a document reading method capable of correctly detecting a document size in a short time and scanning only an accurate document reading area even if a set document is slightly deviated. Objective. Another object of the present invention is to provide a document reading apparatus and a document reading method capable of correcting in real time regardless of the inclination of the document.

上記目的を達成するために、本発明の原稿読取装置は、読取手段によって原稿を走査しながら該原稿の画像を読み取る原稿読取装置であって、前記読取手段の走査開始前、前記原稿がセットされる原稿台を撮像する2次元撮像素子を有する撮像手段と、前記撮像された原稿台の画像を基に、前記原稿のセット状態を検出する原稿セット状態検出手段と、前記撮像された原稿台の画像を基に、前記原稿のサイズを検出する原稿サイズ検出手段と、前記検出された原稿のセット状態および原稿のサイズを基に、前記読取手段による原稿の画像読取動作を制御する読取制御手段とを備えたことを特徴とする。   In order to achieve the above object, an original reading apparatus of the present invention is an original reading apparatus that reads an image of an original while scanning the original with a reading means, and the original is set before the scanning of the reading means is started. An imaging unit having a two-dimensional imaging device for imaging a document table, a document setting state detection unit for detecting the document setting state based on the captured image of the document table, and an image of the imaged document table A document size detecting unit for detecting the size of the document based on an image; and a reading control unit for controlling an image reading operation of the document by the reading unit based on the detected setting state of the document and the size of the document. It is provided with.

本発明の原稿読取方法は、読取手段によって原稿を走査しながら該原稿の画像を読み取る原稿読取方法であって、前記読取手段の走査開始前、撮像手段によって前記原稿がセットされる原稿台を2次元撮像素子を用いて撮像する撮像ステップと、前記撮像された原稿台の画像を基に、前記原稿のセット状態を検出する原稿セット状態検出ステップと、前記撮像された原稿台の画像を基に、前記原稿のサイズを検出する原稿サイズ検出ステップと、前記検出された原稿のセット状態および原稿のサイズを基に、前記読取手段による原稿の画像読取動作を制御する読取制御ステップとを有することを特徴とする。   The document reading method of the present invention is a document reading method for reading an image of a document while scanning the document by the reading unit, and the document table on which the document is set by the imaging unit before the scanning of the reading unit is performed. An imaging step of imaging using a two-dimensional imaging device, a document setting state detecting step of detecting the setting state of the document based on the captured image of the document table, and a basis of the captured image of the document table A document size detecting step for detecting the size of the document, and a reading control step for controlling an image reading operation of the document by the reading unit based on the detected document setting state and the document size. Features.

本発明の原稿読取装置は、読取手段によって原稿台にセットされた原稿を走査しながら、該原稿の画像を読み取る原稿読取装置であって、前記読取手段による原稿の走査開始前、前記原稿台を撮像する2次元撮像素子を有する撮像手段と、前記撮像された原稿台の画像を記憶する原稿台画像記憶手段と、前記記憶された原稿台の画像から原稿に関する情報を取得する取得手段と、前記取得した原稿に関する情報を基に、走査範囲を決定する走査範囲決定手段と、前記決定された走査範囲を走査しながら前記読取手段によって読み込まれる画像の中から、所定範囲の画像データを選択する選択手段と、前記選択された画像データを画像メモリに記憶する画像記憶手段とを備えたことを特徴とする。   The document reading device of the present invention is a document reading device that reads an image of a document while scanning the document set on the document table by the reading unit, and the document table is scanned before the scanning of the document by the reading unit is started. Imaging means having a two-dimensional imaging device for imaging, original table image storage means for storing the imaged image of the original table, acquisition means for acquiring information about the original from the stored original image, A scanning range determining unit that determines a scanning range based on information about the acquired document, and a selection that selects image data in a predetermined range from images read by the reading unit while scanning the determined scanning range And image storage means for storing the selected image data in an image memory.

本発明の原稿読取方法は、読取手段によって原稿台にセットされた原稿を走査しながら、該原稿の画像を読み取る原稿読取方法であって、前記読取手段による原稿の走査開始前、前記原稿台を2次元撮像素子を用いて撮像する撮像ステップと、前記撮像された原稿台の画像を記憶する原稿台画像記憶ステップと、前記記憶された原稿台の画像から原稿に関する情報を取得する取得ステップと、前記取得した原稿に関する情報を基に、走査範囲を決定する走査範囲決定ステップと、前記決定された走査範囲を走査しながら前記読取手段によって読み込まれる画像の中から、所定範囲の画像データを選択する選択ステップと、前記選択された画像データを画像メモリに記憶する画像記憶ステップとを有することを特徴とする。   The document reading method of the present invention is a document reading method for reading an image of a document while scanning a document set on a document table by a reading unit, wherein the document table is scanned before the scanning of the document by the reading unit is started. An imaging step of capturing an image using a two-dimensional image sensor, a document table image storing step for storing the captured image of the document table, and an acquisition step of acquiring information about the document from the stored document table image; A scanning range determination step for determining a scanning range based on the acquired information on the original, and image data in a predetermined range are selected from images read by the reading unit while scanning the determined scanning range. A selection step; and an image storage step of storing the selected image data in an image memory.

本発明の請求項1に係る原稿読取装置によれば、読取手段の走査開始前、撮像手段の2次元撮像素子によって原稿がセットされる原稿台を撮像し、撮像された原稿台の画像を基に、原稿のセット状態を検出し、撮像された原稿台の画像を基に、原稿のサイズを検出し、検出された原稿のセット状態および原稿のサイズを基に、読取手段による原稿の画像読取動作を制御するので、セットされた原稿が多少ずれていても、短時間で原稿サイズを正しく検知し、かつ正確な原稿読取領域だけを走査できる。したがって、原稿が正しくセットされていない場合であっても、原稿だけを走査することができ、ファーストコピータイムを短縮できる。   According to the document reading apparatus of the first aspect of the present invention, before the scanning of the reading unit is started, the document table on which the document is set is imaged by the two-dimensional image sensor of the imaging unit, and the captured image of the document table is used as a basis. In addition, the original setting state is detected, the original size is detected based on the captured image on the original table, and the original image is read by the reading unit based on the detected original setting state and original size. Since the operation is controlled, the original size can be detected correctly and only the accurate original reading area can be scanned in a short time even if the set original is slightly shifted. Therefore, even if the original is not set correctly, only the original can be scanned, and the first copy time can be shortened.

請求項3に係る原稿読取装置によれば、原稿サイズを正確に検出できる。請求項4に係る原稿読取装置によれば、原稿の有無の誤判別を無くすことができる。請求項5に係る原稿読取装置によれば、原稿の有無を確実に検出できる。請求項6に係る原稿読取装置によれば、画像読取範囲を少なくできる。   According to the document reading apparatus of the third aspect, the document size can be accurately detected. According to the document reading apparatus of the fourth aspect, it is possible to eliminate erroneous determination of the presence or absence of a document. According to the document reading apparatus of the fifth aspect, the presence or absence of the document can be reliably detected. According to the document reading apparatus of the sixth aspect, the image reading range can be reduced.

また、本発明の請求項8に係る原稿読取装置によれば、読取手段による原稿の走査開始前、原稿台を撮像し、撮像された原稿台の画像を記憶し、記憶された原稿台の画像から原稿に関する情報を取得し、取得した原稿に関する情報を基に、走査範囲を決定し、決定された走査範囲を走査しながら読取手段によって読み込まれる画像の中から、所定範囲の画像データを選択し、選択された画像データを画像メモリに記憶するので、原稿の傾きがどのような大きさであっても、リアルタイムに補正できる。つまり、画像メモリに記憶する際、原稿台のどの位置にどのような大きさの傾きでセットされた原稿であっても、リアルタイムに補正可能であり、原稿サイズの画像メモリだけで適正な画像データを得ることができる。また、ファーストコピータイムを短縮できる。   According to the document reading apparatus of the present invention, the document table is imaged before the scanning of the document by the reading unit is started, the captured image of the document table is stored, and the stored image of the document table is stored. Information on the original is acquired from the image, a scanning range is determined based on the acquired information on the original, and image data in a predetermined range is selected from images read by the reading unit while scanning the determined scanning range. Since the selected image data is stored in the image memory, it can be corrected in real time regardless of the size of the original. In other words, when stored in the image memory, it is possible to correct in real time any document set at any position on the document table and with any inclination. Appropriate image data can be obtained using only the document size image memory. Can be obtained. Also, the first copy time can be shortened.

請求項9に係る原稿読取装置によれば、画像データを読み取りながら出力可能であるので、ファーストコピータイムを短縮できる。請求項10に係る原稿読取装置によれば、原稿のずれや傾きによらず、画像メモリに画像データを記憶できる。請求項13に係る原稿読取装置によれば、部品点数を減らすことができる。   According to the document reading apparatus of the ninth aspect, since the image data can be output while being read, the first copy time can be shortened. According to the document reading apparatus of the tenth aspect, the image data can be stored in the image memory regardless of the deviation or inclination of the document. According to the document reading apparatus of the thirteenth aspect, the number of parts can be reduced.

本発明の原稿読取装置および原稿読取方法の実施の形態について図面を参照しながら説明する。本実施形態の原稿読取装置は画像形成装置に搭載される。   Embodiments of a document reading apparatus and a document reading method of the present invention will be described with reference to the drawings. The document reading apparatus according to this embodiment is mounted on an image forming apparatus.

[第1の実施形態]
図1は第1の実施形態における画像形成装置の内部構成を示す図である。この画像形成装置は、リーダ部1およびプリンタ部2から主に構成される。リーダ部1には、自動原稿搬送装置(DF)101が搭載されており、自動原稿搬送装置101に積載された原稿は、1枚ずつ順次、原稿台ガラス面102上に搬送される。原稿が原稿台ガラス面102上の所定位置に搬送されると、リーダ部1内に設けられたスキャナユニット104が移動を開始し、その内部のランプ103が点灯して原稿を照射する。尚、DFを使用しない場合、ユーザは原稿台ガラス面102上に原稿を直接セットすることになる。原稿からの反射光は、ミラー105、106、107およびレンズ108を介してCCDイメージセンサ部(以下、単にCCDあるいはCCDセンサという)109に入力する。CCD109に入力した原稿からの反射光は、CCD109によって光電変換され、その電気信号は、画像処理部110に送られる。画像処理部110は、後述する操作パネルで設定された各種設定値にしたがって、その画像信号に画像処理を施す。また、リーダ部1の枠体底面には、原稿台ガラス面102を全面に亘って撮影可能なエリアセンサ300(図3参照)を内蔵する原稿検知センサ401が取り付けられている。
[First Embodiment]
FIG. 1 is a diagram illustrating an internal configuration of the image forming apparatus according to the first embodiment. The image forming apparatus mainly includes a reader unit 1 and a printer unit 2. The reader unit 1 is equipped with an automatic document feeder (DF) 101, and the documents stacked on the automatic document feeder 101 are sequentially conveyed onto the platen glass surface 102 one by one. When the original is conveyed to a predetermined position on the original platen glass surface 102, the scanner unit 104 provided in the reader unit 1 starts to move, and the lamp 103 inside thereof is turned on to irradiate the original. When the DF is not used, the user sets the document directly on the platen glass surface 102. Reflected light from the document is input to a CCD image sensor unit (hereinafter simply referred to as a CCD or a CCD sensor) 109 via mirrors 105, 106, 107 and a lens 108. Reflected light from the original input to the CCD 109 is photoelectrically converted by the CCD 109, and the electric signal is sent to the image processing unit 110. The image processing unit 110 performs image processing on the image signal in accordance with various setting values set on an operation panel described later. Further, a document detection sensor 401 having a built-in area sensor 300 (see FIG. 3) capable of photographing the entire document table glass surface 102 is attached to the bottom surface of the frame of the reader unit 1.

また、画像処理部110で画像処理が施された画像信号は、プリンタ部2内の露光制御部201に入力する。露光制御部201は、入力した画像信号に従って光信号を変調し、感光体202を照射する。この照射光によって感光体202上に形成された潜像は、現像器203によって現像される。   The image signal that has been subjected to image processing by the image processing unit 110 is input to the exposure control unit 201 in the printer unit 2. The exposure control unit 201 modulates an optical signal according to the input image signal and irradiates the photoconductor 202. The latent image formed on the photoconductor 202 by this irradiation light is developed by the developing unit 203.

この現像の先端とタイミングを合わせるように、転写紙積載部204または転写紙積載部205から転写紙が搬送され、転写部206では、現像された像が転写紙に転写される。転写された像が定着部207で転写紙に定着すると、転写紙は排紙部208から装置外部に排出される。プリンタ部2には、ソータ220が装着されており、排紙部208から出力された転写紙は、ソータ220に排出される。   The transfer paper is transported from the transfer paper stacking unit 204 or the transfer paper stacking unit 205 so as to match the timing of the development front, and the developed image is transferred to the transfer paper in the transfer unit 206. When the transferred image is fixed on the transfer paper by the fixing unit 207, the transfer paper is discharged from the paper discharge unit 208 to the outside of the apparatus. The printer unit 2 is equipped with a sorter 220, and the transfer paper output from the paper discharge unit 208 is discharged to the sorter 220.

また、順次読み込まれる画像を1枚の転写紙の両面に出力する場合、定着部207で定着された転写紙(出力用紙)を排紙部208まで一旦、搬送した後、用紙の搬送向きを反転させ、搬送方向切換部材209によって再給紙用被転写紙積載部210に搬送する。そして、次の原稿が準備されると、上記プロセスと同様に、原稿画像が読み取られ、片面に画像が形成された転写紙は再給紙用被転写紙積載部210から給紙され、もう一方の片面に画像が形成される。この結果、1枚の転写紙の表面および裏面に、2枚の原稿画像が出力される。   In addition, when outputting sequentially read images on both sides of a single transfer sheet, the transfer sheet (output sheet) fixed by the fixing unit 207 is once transported to the sheet discharge unit 208 and then the transport direction of the sheet is reversed. Then, the paper is transported to the re-feeding transfer paper stacking section 210 by the transport direction switching member 209. Then, when the next document is prepared, the document image is read and the transfer sheet on which the image is formed on one side is fed from the re-feeding transfer sheet stacking unit 210 as in the above process. An image is formed on one side. As a result, two document images are output on the front and back surfaces of one transfer sheet.

図2はリーダ部1に設けられた操作部(パネル)の外観を示す図である。操作パネル4には、表示部253の他、ファンクションキー251、テンキー254、スタートキー256など各種キーが設けられている。表示部253には、動作状況、各種操作キーやメッセージ等が表示される。表示部253の表面には、タッチパネルが貼られており、表示部253に表示された各表示箇所を触れる(押圧する)ことにより、各表示箇所はその選択キーとして機能する。例えば、「倍率」の表示箇所は、倍率設定を行う選択キーとして機能する。この倍率キー263は、コピー倍率(%)を設定する際に押圧される。   FIG. 2 is a view showing an appearance of an operation unit (panel) provided in the reader unit 1. In addition to the display unit 253, the operation panel 4 is provided with various keys such as a function key 251, a numeric key 254, and a start key 256. The display unit 253 displays an operation status, various operation keys, a message, and the like. A touch panel is affixed to the surface of the display unit 253, and each display location functions as a selection key by touching (pressing) each display location displayed on the display unit 253. For example, the display part of “magnification” functions as a selection key for setting the magnification. The magnification key 263 is pressed when setting the copy magnification (%).

また、メッセージ表示欄261は、動作状況、メッセージ等を表示する。等倍キー262は、等倍(100%)コピーを設定する際に押圧される。用紙選択キー264は、用紙を選択する際に押圧される。ソータキー265は、ソートモードを設定する際に押圧される。両面キー266は、両面種類設定画面に切り替えて両面種類を設定する際に押圧される。濃度キー267は、コピー濃度を調整する際に押圧される。文字キー268は、文字モード、写真モードを選択する際に押圧される。応用モードキー269は、応用モード設定画面に切り替えて各種応用モードの設定を行う際に押圧される。システム状況キー270は、システム状況を表示する際に押圧される。   The message display field 261 displays an operation status, a message, and the like. The same size key 262 is pressed when setting an equal size (100%) copy. The paper selection key 264 is pressed when selecting a paper. The sorter key 265 is pressed when setting the sort mode. The double-sided key 266 is pressed when switching to the double-sided type setting screen and setting the double-sided type. The density key 267 is pressed when adjusting the copy density. The character key 268 is pressed when selecting the character mode or the photo mode. The application mode key 269 is pressed when switching to the application mode setting screen and setting various application modes. The system status key 270 is pressed when displaying the system status.

また、テンキー254は、数字を入力するキーであり、例えば、1枚の原稿に対するコピー枚数の設定に使用される。スタートキー256は、原稿の読取動作を開始する際、押圧される。ストップキー271は、コピー動作を終了する際に押圧される。リセットキー272は、コピーモードを標準モードに戻す際に押圧される。ガイドキー273は、ガイドモードを設定する際に押圧される。ユーザキー274は、ユーザモードを設定する際に押圧される。割り込みキー275は、割込みコピーを行う際に押圧される。ファンクションキー251は、コピー動作、BOX動作、拡張機能の切り替えをワンタッチで行うキーである。具体的に、コピーキー281は、コピー機能を使用する際に押圧される。ボックスキー282は、ボックス機能を使用する際に押圧される。拡張キー283は、拡張機能を使用する際に押圧される。ここで、BOX機能とは、画像形成装置本体内に用意されたハードディスク(図示せず)にスキャン画像を蓄積しておく機能である。また、節電キー284は、節電モードを設定する際に押圧される。電源キー285は、電源のON/OFFを行う際に押圧される。   The numeric keypad 254 is a key for inputting numbers, and is used for setting the number of copies for one original, for example. The start key 256 is pressed when starting a document reading operation. The stop key 271 is pressed when the copy operation is finished. The reset key 272 is pressed when returning the copy mode to the standard mode. The guide key 273 is pressed when setting the guide mode. The user key 274 is pressed when setting the user mode. The interrupt key 275 is pressed when performing an interrupt copy. The function key 251 is a key for performing one-touch switching between a copy operation, a BOX operation, and an extended function. Specifically, the copy key 281 is pressed when using the copy function. The box key 282 is pressed when using the box function. The extension key 283 is pressed when using the extension function. Here, the BOX function is a function for accumulating scanned images in a hard disk (not shown) prepared in the image forming apparatus main body. The power saving key 284 is pressed when setting the power saving mode. The power key 285 is pressed when turning on / off the power.

この操作パネル4の表示部253には、後述するように、原稿ずれがあった場合でも、誤検知なく判定された原稿サイズの検知結果が表示される。また、コピー動作画面では、プリンタ部2に収容されている用紙が原稿サイズの検知結果に適合するものである場合、そのサイズの原稿が自動的に選択される。   The display unit 253 of the operation panel 4 displays a document size detection result determined without erroneous detection even when there is a document misalignment, as will be described later. On the copy operation screen, when the paper accommodated in the printer unit 2 conforms to the detection result of the document size, the document of that size is automatically selected.

図3はリーダ部1内のコントローラ部250の電気的構成を示すブロック図である。コントローラ部250は、CPU308、ROM307、RAM306、ドライバ305、309、I/Oインターフェース351、リーダメモリ301、濃度判定部302、バッファメモリ303およびCCD制御部313がバス315を介して接続された構成を有する。リーダメモリ301は、エリアセンサ300からの出力データを受け取って記憶する。濃度判定部302は、リーダメモリ301内のデータの濃度を画素単位で判定し、白濃度、グレー濃度および黒濃度の3つのレベルのいずれかに判定する。この判定結果は、CPU308によってバッファメモリ303に格納される。ROM307には、後述するフローチャートで示される制御プログラムが格納されている。CPU308は、ROM307に格納された制御プログラムにしたがって、リーダ部1の各部を制御する。RAM306はCPU308の作業領域として使用される。I/Oインターフェース351には、後述する圧板開閉センサ405が接続されている。   FIG. 3 is a block diagram showing an electrical configuration of the controller unit 250 in the reader unit 1. The controller unit 250 has a configuration in which a CPU 308, a ROM 307, a RAM 306, drivers 305 and 309, an I / O interface 351, a reader memory 301, a density determination unit 302, a buffer memory 303, and a CCD control unit 313 are connected via a bus 315. Have. The reader memory 301 receives and stores output data from the area sensor 300. The density determination unit 302 determines the density of data in the reader memory 301 in units of pixels and determines one of three levels of white density, gray density, and black density. This determination result is stored in the buffer memory 303 by the CPU 308. The ROM 307 stores a control program shown in a flowchart described later. The CPU 308 controls each unit of the reader unit 1 according to a control program stored in the ROM 307. The RAM 306 is used as a work area for the CPU 308. A pressure plate opening / closing sensor 405 described later is connected to the I / O interface 351.

コントローラ部250は、後述するように、ドライバ305を用いて原稿検知センサ401内のエリアセンサ300およびLED304を駆動し、原稿サイズ検知等を行う。なお、LED304は原稿台を全面に亘って照明する。また、原稿読取時、ドライバ309を用いて光学モータ311およびランプ103を駆動するとともに、CCD制御部313を用いてCCDセンサ109を駆動し、CCDセンサ109によって読み込まれた画像データを画像処理部110に送信する。   As will be described later, the controller unit 250 drives the area sensor 300 and the LED 304 in the document detection sensor 401 using a driver 305 to perform document size detection and the like. The LED 304 illuminates the entire document table. Further, when reading a document, the optical motor 311 and the lamp 103 are driven using the driver 309 and the CCD sensor 109 is driven using the CCD control unit 313, and the image data read by the CCD sensor 109 is converted into the image processing unit 110. Send to.

また、原稿ずれがある場合、原稿読取動作の設定は、CCD制御部313によって行われ、CCDセンサ109によって読み込まれた画像は、測定された原稿ずれ量分だけずらして画像処理部110に送信される。図4は原稿ずれが生じた場合の画像取込制御を示す図である。ここでは、A5サイズの原稿は、原稿突き当て部380から主走査方向に原稿すれ量Yだけずれ、かつ副走査方向に原稿ずれ量Xだけずれて載置されている。   When there is a document deviation, the document reading operation is set by the CCD control unit 313, and the image read by the CCD sensor 109 is transmitted to the image processing unit 110 while being shifted by the measured document deviation amount. The FIG. 4 is a diagram showing image capture control when document misalignment occurs. Here, the A5 size document is placed from the document abutting section 380 by a document displacement amount Y in the main scanning direction and by a document displacement amount X in the sub-scanning direction.

画像処理部110における画像取込制御では、CCD制御部313からCCDセンサ109に対して出力される画像を取り込む際の有効信号である、主走査方向の画像取込許可信号H−ENABLEおよび副走査方向の画像取込許可信号V−ENABLEを、それぞれ原稿ずれ量Y、X分だけずらすことで、原稿ずれを認識することなく、A5サイズの原稿読取動作が行われる。つまり、画像処理部110では、主走査方向の画像取込許可信号H−ENABLEおよび副走査方向の画像取込許可信号V−ENABLEがそれぞれHレベルである原稿読取領域の原稿画像が取り込まれることなる。   In the image capture control in the image processing unit 110, an image capture permission signal H-ENABLE in the main scanning direction, which is an effective signal when capturing an image output from the CCD control unit 313 to the CCD sensor 109, and sub-scanning. The A5 size original reading operation is performed without recognizing the original deviation by shifting the direction image take-in permission signal V-ENABLE by the original deviation amounts Y and X, respectively. That is, in the image processing unit 110, the document image in the document reading area in which the image capturing permission signal H-ENABLE in the main scanning direction and the image capturing permission signal V-ENABLE in the sub scanning direction are each at the H level is captured. .

図5はリーダ部1の外観を示す斜視図である。図5では、リーダ部1には、原稿搬送装置101の代わりに、原稿台ガラス面102を開閉自在な圧板403が装着されている。図6は圧板の開閉を検知する機構を模式的に示す図である。圧板403は、ヒンジ機構(図示せず)により原稿台ガラス面102に対して開閉自在である。この圧板403を開閉するヒンジ機構の近傍には、圧板開閉センサ405および圧板開閉フラグ404からなる圧板開閉検知部が設けられている。圧板開閉センサ405は、フォトインタラブタからなり、圧板403が閉まる際、圧板403と一体に成形された圧板開閉フラグ404がフォトインタラプタの光を遮る、或いは、圧板403が開く際、圧板403と一体に成形された圧板開閉フラグ404がフォトインタラプタの光の遮蔽を解除することにより、圧板403の開閉状態を検知する。尚、圧板開閉センサとしては、開閉角度が所定角度以下であるか否かによって開/閉状態を単に検知するものであってもよいし、あるいは開閉角度を検知するものであって、その結果が開状態であるか閉状態であるかの判断については制御部に委ねるものであってもよい。   FIG. 5 is a perspective view showing the appearance of the reader unit 1. In FIG. 5, a pressure plate 403 capable of opening and closing the original table glass surface 102 is attached to the reader unit 1 in place of the original conveying device 101. FIG. 6 is a diagram schematically showing a mechanism for detecting opening and closing of the pressure plate. The pressure plate 403 can be opened and closed with respect to the platen glass surface 102 by a hinge mechanism (not shown). In the vicinity of the hinge mechanism that opens and closes the pressure plate 403, a pressure plate open / close detection unit including a pressure plate open / close sensor 405 and a pressure plate open / close flag 404 is provided. The pressure plate open / close sensor 405 is a photo interrupter, and when the pressure plate 403 is closed, the pressure plate open / close flag 404 formed integrally with the pressure plate 403 blocks the light of the photo interrupter or when the pressure plate 403 is opened, it is integrated with the pressure plate 403. The pressure plate open / close flag 404 formed in (1) detects the open / close state of the pressure plate 403 by releasing the light shielding of the photo interrupter. The pressure plate opening / closing sensor may simply detect the open / closed state depending on whether the opening / closing angle is equal to or less than a predetermined angle, or may detect the opening / closing angle, and the result is The determination as to whether it is in the open state or the closed state may be left to the control unit.

また、リーダ部1の内側には、前述したエリアセンサ300およびLED304からなる原稿検知センサ401が設置されており、LED304を点灯して原稿台ガラス面102を全面に亘って照明した状態で撮像する。この撮像の結果、原稿台ガラス面102上の原稿の有無が検知される。また、原稿402が載置されている状態で、圧板403の開閉動作が行われると、後述する原稿ずれ検知および原稿サイズ検知が開始される。原稿ずれ検知では、原稿検知センサ401内のLED304を点灯し、エリアセンサ300によって原稿からの反射光を検知する。つまり、圧板403が閉じていない状態では、原稿がある場所では、LED304からの光は反射し、原稿がない場所では、LED304からの光は反射しないので、その場所における原稿の有無を検知できる。   Further, the document detection sensor 401 including the area sensor 300 and the LED 304 described above is installed inside the reader unit 1, and the LED 304 is turned on to capture an image with the entire surface of the platen glass 102 illuminated. . As a result of this imaging, the presence or absence of a document on the platen glass surface 102 is detected. Further, when the pressure plate 403 is opened and closed while the document 402 is placed, document displacement detection and document size detection described later are started. In the document misalignment detection, the LED 304 in the document detection sensor 401 is turned on, and the area sensor 300 detects reflected light from the document. That is, in a state where the pressure plate 403 is not closed, light from the LED 304 is reflected when a document is present, and light from the LED 304 is not reflected when a document is not present.

また、圧板403の原稿側の面は白板となっており、本実施形態では、圧板403の開状態における原稿検知センサ401による読み取り値(原稿なし位置で黒判定)と、圧板403の閉状態における読み取り値(原稿なし位置で白判定)とを比較し、判定結果に変動があった場合、「原稿なし」と判断するアルゴリズムを採用している。この検知方法を「2度読み検知」という。この「2度読み検知」については後述する。   Further, the original plate surface of the pressure plate 403 is a white plate. In this embodiment, the reading value by the original detection sensor 401 in the open state of the pressure plate 403 (black determination at the position of no original) and the closed state of the pressure plate 403 are displayed. An algorithm is used that compares the read value (white determination at the position where there is no document) and determines that there is no document if the determination result varies. This detection method is called “twice reading detection”. This “double reading detection” will be described later.

原稿ずれ検知および原稿サイズ検知方法を示す。図7は原稿台ガラス面上に設定された副走査原稿ずれ検知ラインp、主走査原稿ずれ検知ラインqおよび検知位置を示す図である。副走査原稿ずれ検知ラインp上には、8つの検知位置が設定されており、主走査原稿ずれ検知ラインq上には、6つの検知位置が設定されている。No.1の検知位置(検知位置1)、No.11の検知位置(検知位置11)は、それぞれ原稿ずれ測定用の位置であり、それ以外のNo.2〜No.8、No.12〜No.16の検知位置(検知位置2〜8、12〜16)は原稿サイズ検知用の位置である。   An original misalignment detection and original size detection method will be described. FIG. 7 is a diagram showing the sub-scanning document misalignment detection line p, the main-scanning document misalignment detection line q, and the detection position set on the platen glass surface. Eight detection positions are set on the sub-scanning document deviation detection line p, and six detection positions are set on the main-scanning document deviation detection line q. No. No. 1 detection position (detection position 1), No. 1 No. 11 detection position (detection position 11) is a position for measuring document misalignment. 2-No. 8, no. 12-No. Sixteen detection positions (detection positions 2 to 8 and 12 to 16) are positions for document size detection.

図8は圧板403の開閉角度毎の主走査位置に対する読取輝度を示すグラフである。このグラフの測定は、「原稿なし」の状態で行われている。尚、原稿が置かれている場合、圧板の開閉角度によらず、読取輝度は一定レベルとなる。図中、符号k、l、c、d、e、f、g、h、i、jは、それぞれ圧板の開閉角度(圧板角度)が0°、1°、2°、3°、4°、5°、7°、10°、12°、15°に対応する。これらのグラフはほぼ一次曲線で表され、画素単位の読取輝度は主走査方向(圧板の開閉支点と反対側)に向かって低くなっている。また、濃度判定処理で用いられる、白スレッシュレベルおよび黒スレッシュレベルを決定するためのスレッシュレベルYは、角度比率をXとすると、数式(1)にしたがって算出される。ここで、aは主走査位置である。bは主走査位置0近傍における読取輝度である。   FIG. 8 is a graph showing the reading luminance with respect to the main scanning position for each opening / closing angle of the pressure plate 403. The measurement of this graph is performed in a “no original” state. When a document is placed, the reading luminance is at a constant level regardless of the opening / closing angle of the pressure plate. In the figure, reference numerals k, l, c, d, e, f, g, h, i, and j denote the pressure plate opening / closing angles (pressure plate angles) of 0 °, 1 °, 2 °, 3 °, 4 °, respectively. Corresponding to 5 °, 7 °, 10 °, 12 ° and 15 °. These graphs are substantially represented by a linear curve, and the reading luminance in pixel units decreases toward the main scanning direction (on the side opposite to the opening / closing fulcrum of the pressure plate). Further, the threshold level Y for determining the white threshold level and the black threshold level used in the density determination process is calculated according to Equation (1), where X is the angle ratio. Here, a is the main scanning position. b is the reading luminance in the vicinity of the main scanning position 0.

Y=aX+b …… (1)
そして、黒スレッシュレベルを決定する際、検知位置12(主走査位置3300)で圧板角度5°における読取輝度から、bの値は「100」に設定される。また、角度比率Xは、圧板角度5°の一次曲線から算出される。この圧板角度5°は、急激な圧板の閉めを想定した際の角度である。一方、白スレッシュレベルを決定する際、検知位置16(主走査位置7000)で圧板角度1°における読取輝度から、bの値は「200」に設定される。また、角度比率Xは、圧板角度1°の一次曲線から算出される。この圧板角度1°は厚い原稿を想定した際の角度である。このようにして得られた数式(1)を用いて算出される白・黒の各スレッシュレベルは、主走査方向の画素位置に応じて増減する。つまり、画素位置が大きい方では、各スレッシュレベルは低くなり、画素位置が小さい方では、各スレッシュレベルは高くなる。
Y = aX + b (1)
Then, when determining the black threshold level, the value of b is set to “100” from the reading luminance at the detection platen angle 5 ° at the detection position 12 (main scanning position 3300). Further, the angle ratio X is calculated from a linear curve of a platen angle of 5 °. The pressure plate angle 5 ° is an angle when a sudden pressure plate closing is assumed. On the other hand, when determining the white threshold level, the value of b is set to “200” based on the reading luminance at the detection position 16 (main scanning position 7000) at a pressure plate angle of 1 °. The angle ratio X is calculated from a linear curve of a platen angle of 1 °. The platen angle 1 ° is an angle when a thick original is assumed. Each of the white and black threshold levels calculated using Equation (1) obtained in this way increases or decreases according to the pixel position in the main scanning direction. That is, each threshold level is lower when the pixel position is larger, and each threshold level is higher when the pixel position is smaller.

図9は各検知位置に対して行われる処理内容を示すテーブルである。主走査方向における検知位置11、および副走査方向における検知位置1は、前述したように原稿ずれを測定する際の基準位置であり、別の検知位置と組み合わせて判断されるものではない。図中、「−」で表記されているセルはそのような組み合わせに相当しないセルである。また、副走査方向の検知位置2〜8および主走査方向の検知位置12〜16は、原稿サイズを検知する際の位置であり、これらの原稿サイズ検知用の検知位置は、各種原稿サイズの切れ目に相当している(図7参照)。   FIG. 9 is a table showing the contents of processing performed for each detection position. The detection position 11 in the main scanning direction and the detection position 1 in the sub-scanning direction are reference positions for measuring document misalignment as described above, and are not determined in combination with other detection positions. In the figure, cells marked with “-” are cells that do not correspond to such a combination. The detection positions 2 to 8 in the sub-scanning direction and the detection positions 12 to 16 in the main scanning direction are positions for detecting the document size. These detection positions for detecting the document size are breaks of various document sizes. (Refer to FIG. 7).

本原稿サイズ検知処理では、各検知位置から逆走査方向に数画素の範囲で、「2度読み検知」が行われた結果、「原稿あり」と判定された位置に基づき、原稿サイズを確定する。例えば、A5Rの原稿がセットされた場合、副走査方向では、検知位置4まで「原稿あり」と判定され、主走査方向では、検知位置12まで「原稿あり」と判定される。尚、この原稿サイズ検知処理を行う際、検知位置2〜8および検知位置12〜16は、後述する原稿ずれ測定処理によって測定された原稿ずれ量分だけそれぞれの方向に移動可能となっている。また、各検知位置は、主走査方向n画素および副走査方向m画素から構成される2次元領域で設定され、この検知位置を構成する全ての画素の読み取り値の平均値を算出し、この算出された平均値を基に、各検知位置における原稿の有無が判別されるようにしてもよい。   In this document size detection process, the document size is determined based on the position determined as “document exists” as a result of performing “twice reading detection” in the range of several pixels in the reverse scanning direction from each detection position. . For example, when an A5R original is set, it is determined that “original is present” up to the detection position 4 in the sub-scanning direction, and “original is present” up to the detection position 12 in the main scanning direction. When this document size detection process is performed, the detection positions 2 to 8 and the detection positions 12 to 16 can be moved in the respective directions by the document shift amount measured by the document shift measurement process described later. Each detection position is set in a two-dimensional area composed of n pixels in the main scanning direction and m pixels in the sub-scanning direction, and the average value of the reading values of all the pixels constituting this detection position is calculated. The presence / absence of a document at each detection position may be determined based on the average value.

上記構成を有する画像形成装置の原稿読取動作を示す。図10は原稿サイズ検知処理手順を示すフローチャートである。この処理プログラムは、ROM307に記憶されており、CPU308によって実行される。まず、圧板403が開状態から閉状態に移行したか否かを圧板開閉センサ405の出力に基づいて判別する(ステップS1)。開状態から閉状態に移行していない場合、ステップS1の処理を繰り返す。一方、圧板403が開状態から閉状態に移行したと判別された場合、原稿検知センサ401内のLED304を点灯させる(ステップS2)。   An original reading operation of the image forming apparatus having the above configuration will be described. FIG. 10 is a flowchart showing the document size detection processing procedure. This processing program is stored in the ROM 307 and executed by the CPU 308. First, it is determined whether or not the pressure plate 403 has shifted from the open state to the closed state based on the output of the pressure plate opening / closing sensor 405 (step S1). If it has not shifted from the open state to the closed state, the process of step S1 is repeated. On the other hand, when it is determined that the pressure plate 403 has shifted from the open state to the closed state, the LED 304 in the document detection sensor 401 is turned on (step S2).

LED304の点灯後、1回目のサイズ検知処理を行う(ステップS3)。このサイズ検知処理の詳細については後述する。1回目のサイズ検知処理後、100ms待ち(ステップS4)、圧板403が完全に閉状態になったか否かを判定する(ステップS5)。この圧板403の完全に閉状態になったか否かの判定は、圧板403の閉状態の検知結果が所定時間継続したか否かで行われ、所定時間経過していると、「完全閉」と認識される。一方、圧板403が完全に閉状態になっていない場合、2回目以降のサイズ検知処理を行う(ステップS6)。この2回目以降のサイズ検知処理の詳細についても後述する。そして、2回目以降のサイズ検知処理が終了すると、ステップS4の処理に戻る。つまり、圧板403が完全閉状態であると判定されるまで、同様の処理が繰り返される。   After the LED 304 is turned on, a first size detection process is performed (step S3). Details of the size detection process will be described later. After the first size detection process, 100 ms is waited (step S4), and it is determined whether or not the pressure plate 403 is completely closed (step S5). The determination as to whether or not the pressure plate 403 has been completely closed is made based on whether or not the detection result of the closed state of the pressure plate 403 has continued for a predetermined time. Be recognized. On the other hand, when the pressure plate 403 is not completely closed, the second and subsequent size detection processing is performed (step S6). Details of the second and subsequent size detection processes will also be described later. When the second and subsequent size detection processes are completed, the process returns to step S4. That is, the same processing is repeated until it is determined that the pressure plate 403 is in a completely closed state.

一方、ステップS5で圧板403が完全に閉状態になったと判定された場合、最後のサイズ検知処理を行う(ステップS7)。最後のサイズ検知処理の詳細についても、ステップS3、S6の処理と同様、後述する。この後、原稿検知センサ401内のLED304を消灯し(ステップS8)、本処理を終了する。   On the other hand, if it is determined in step S5 that the pressure plate 403 is completely closed, the final size detection process is performed (step S7). Details of the final size detection process will be described later, as in the processes of steps S3 and S6. Thereafter, the LED 304 in the document detection sensor 401 is turned off (step S8), and this process is terminated.

図11はステップS3、S6およびS7におけるサイズ検知処理手順を示すフローチャートである。まず、エリアセンサ300によって原稿台ガラス102を撮像するとともに、1回目のサイズ検知処理であるか否かを判定する(ステップS11)。1回目のサイズ検知処理であると判定された場合、主走査原稿ずれ検知ラインqおよび副走査原稿ずれ検知ラインpにおける、ずれ検知ライン画素の濃度判定を行う(ステップS18)。このずれ検知ライン画素の濃度判定では、エリアセンサ300から出力され、リーダメモリ301に記憶されるデータに対し、濃度判定部302によりデータの濃度判定が行われる。このずれ検知ライン画素の濃度判定処理の詳細については後述する。   FIG. 11 is a flowchart showing the size detection processing procedure in steps S3, S6 and S7. First, the image sensor 102 is imaged by the area sensor 300, and it is determined whether or not it is the first size detection process (step S11). If it is determined that it is the first size detection process, the density determination of the shift detection line pixels in the main scanning document shift detection line q and the sub-scan document shift detection line p is performed (step S18). In this shift detection line pixel density determination, the density determination unit 302 performs data density determination on the data output from the area sensor 300 and stored in the reader memory 301. Details of the density determination processing of the shift detection line pixel will be described later.

ずれ検知ライン画素の濃度判定処理後、その結果である濃度判定情報をバッファメモリ303に格納する(ステップS19)。この後、主・副走査方向における原稿サイズ検知位置をデフォルト位置(図7の原稿切れ目位置)に設定し(ステップS20)、メインの処理に戻る。   After the density detection process of the shift detection line pixel, the density determination information as a result is stored in the buffer memory 303 (step S19). Thereafter, the document size detection position in the main / sub-scanning direction is set to the default position (document break position in FIG. 7) (step S20), and the process returns to the main process.

一方、ステップS11で1回目のサイズ検知処理でないと判定された場合、つまり2回目以降のサイズ検知処理の場合、ずれ検知ライン画素のデータ変化検知処理を行う(ステップS12)。このずれ検知ライン画素のデータ変化検知処理については後述する。原稿突き当て部の近傍において、以前の濃度判定結果に対して「データ変化あり」と認識されたか否か、つまり「原稿なし」であるか否かを判定する(ステップS13)。ここで、原稿突き当て部の近傍とは、図7に示す主走査方向の検知位置11および副走査方向の検知位置1から、それぞれ主走査方向および副走査方向に数画素の範囲である。「データ変化あり」と認識された場合、原稿ずれ測定を行う(ステップS14)。この原稿ずれ測定処理については後述する。   On the other hand, if it is determined in step S11 that it is not the first size detection process, that is, if it is the second or subsequent size detection process, a data change detection process for the shift detection line pixel is performed (step S12). The data change detection process of the shift detection line pixel will be described later. In the vicinity of the document abutting portion, it is determined whether or not “data change” is recognized with respect to the previous density determination result, that is, “no document” (step S13). Here, the vicinity of the document abutting portion is a range of several pixels in the main scanning direction and the sub scanning direction from the detection position 11 in the main scanning direction and the detection position 1 in the sub scanning direction shown in FIG. When it is recognized that “data has changed”, document deviation measurement is performed (step S14). This document deviation measurement process will be described later.

この原稿ずれ測定後、主走査方向および副走査方向における原稿サイズ検知位置を測定された原稿ずれ量分だけ移動して設定する(ステップS15)。そして、各原稿サイズ検知位置から逆走査方向に数画素の範囲で、「データ変化あり」と認識されたか否か、つまり「原稿なし」であるか否かを判定する(ステップS16)。「データ変化あり」と認識された場合、図9のテーブルにしたがって、原稿サイズを確定し(ステップS17)、メインの処理に戻る。一方、ステップS16で「データ変化なし」と認識された場合、メインの処理に戻る。   After the document deviation measurement, the document size detection position in the main scanning direction and the sub-scanning direction is moved and set by the measured document deviation amount (step S15). Then, it is determined whether or not “data change” is recognized within a range of several pixels in the reverse scanning direction from each document size detection position, that is, “no document” (step S16). If it is recognized that “there is data change”, the document size is determined according to the table of FIG. 9 (step S17), and the process returns to the main process. On the other hand, if “no data change” is recognized in step S16, the process returns to the main process.

図12はステップS18におけるずれ検知ライン画素の濃度判定処理手順を示すフローチャートである。この処理は濃度判定部302によって実行され、主走査方向のずれ検知ラインおよび副走査方向のずれ検知ラインにおける全ての画素に対して濃度判定が行われる。まず、リーダメモリ301内の対象となる画素の輝度値が白スレッシュレベル以上であるか否かを判定する(ステップS31)。白スレッシュレベル以上であると判定された場合、対象となる画素を白濃度と判定し(ステップS35)、元の処理に戻る。   FIG. 12 is a flowchart showing the procedure for determining the density of the shift detection line pixel in step S18. This processing is executed by the density determination unit 302, and density determination is performed for all pixels in the shift detection line in the main scanning direction and the shift detection line in the sub-scanning direction. First, it is determined whether the luminance value of the target pixel in the reader memory 301 is equal to or higher than the white threshold level (step S31). If it is determined that the white threshold level is exceeded, the target pixel is determined to have a white density (step S35), and the process returns to the original process.

一方、ステップS31で白スレッシュレベル以上でないと判定された場合、リーダメモリ301内の対象となる画素の輝度値が黒スレッシュレベル未満であるか否かを判定する(ステップS32)。黒スレッシュレベル未満であると判定された場合、対象となる画素を黒濃度と判定し(ステップS34)、元の処理に戻る。一方、黒スレッシュレベル未満でないと判定された場合、対象となる画素をグレー濃度と判定し(ステップS33)、元の処理に戻る。   On the other hand, when it is determined in step S31 that it is not equal to or higher than the white threshold level, it is determined whether or not the luminance value of the target pixel in the reader memory 301 is less than the black threshold level (step S32). If it is determined that the level is less than the black threshold level, the target pixel is determined to have a black density (step S34), and the process returns to the original process. On the other hand, if it is determined that the level is not less than the black threshold level, the target pixel is determined to have a gray density (step S33), and the process returns to the original process.

図13はずれ検知ライン画素のデータ変化検知処理手順を示すフローチャートである。この処理は濃度判定部302によって実行され、主走査方向のずれ検知ラインおよび副走査方向のずれ検知ラインにおける全ての画素に対して行われる。まず、ずれ検知ライン画素の濃度判定処理を行う(ステップS41)。このステップS41の処理結果と、ステップS19でバッファメモリ303に格納された濃度判定結果とから、以下に示すように、原稿の有無の判定が行われる。   FIG. 13 is a flowchart showing the data change detection processing procedure of the shift detection line pixel. This process is executed by the density determination unit 302, and is performed for all pixels in the deviation detection line in the main scanning direction and the deviation detection line in the sub-scanning direction. First, the density determination process of the shift detection line pixel is performed (step S41). From the processing result in step S41 and the density determination result stored in the buffer memory 303 in step S19, the presence / absence of a document is determined as described below.

まず、1回目の判定が黒濃度であるか否かを判定する(ステップS42)。1回目の判定結果はバッファメモリ303に保存されているので、各画素の濃度判定結果に用いられる。1回目の判定が黒濃度でないと判定された場合、1回目の判定が白濃度であるか否かを判定する(ステップS43)。1回目の判定が白濃度でないと判定された場合、対象となる画素に対し、グレー濃度であるとして「原稿あり」の判定を行い(ステップS44)、元の処理に戻る。   First, it is determined whether or not the first determination is black density (step S42). Since the first determination result is stored in the buffer memory 303, it is used for the density determination result of each pixel. If it is determined that the first determination is not black density, it is determined whether or not the first determination is white density (step S43). If it is determined that the first determination is not white density, it is determined that there is a gray density for the target pixel, and “original exists” is determined (step S44), and the process returns to the original processing.

一方、ステップS43で1回目の判定が白濃度であると判定された場合、ステップS41の実行結果である今回の濃度判定結果が、黒濃度であるか否かを判定し(ステップS45)、黒濃度であると判定された場合、対象となる画素に対し、強い外光が存在して1回目/2回目がそれぞれ白濃度/黒濃度になったとして「原稿なし」の判定を行い(ステップS46)、元の処理に戻る。一方、黒濃度でないと判定された場合、1回目/2回目がそれぞれ白濃度/白濃度であるとしてステップS44で「原稿あり」の判定を行う。   On the other hand, if it is determined in step S43 that the first determination is white density, it is determined whether or not the current density determination result, which is the execution result of step S41, is black density (step S45). If it is determined that there is a density, it is determined that there is no original, assuming that strong external light exists for the target pixel and the first and second times have become white density / black density, respectively (step S46). ) And return to the original process. On the other hand, if it is determined that the density is not black, it is determined in step S44 that there is an original document, assuming that the first and second times are white density / white density, respectively.

また、ステップS42で1回目の判定が黒濃度であると判定された場合、ステップS41の実行結果である今回の濃度判定結果が、白濃度であるか否かを判定し(ステップS47)、白濃度であると判定された場合、対象となる画素に対し、1回目/2回目がそれぞれ黒濃度/白濃度であるとして「原稿なし」の判定を行い(ステップS48)、元の処理に戻る。一方、今回の濃度判定結果が白濃度でないと判定された場合、1回目/2回目がそれぞれ黒濃度/黒濃度であるとしてステップS44で「原稿あり」の判定を行う。   If it is determined in step S42 that the first determination is black density, it is determined whether the current density determination result, which is the execution result of step S41, is white density (step S47). If it is determined that there is a density, “no original” is determined for the target pixel, assuming that the first density / second density is black density / white density (step S48), and the process returns to the original process. On the other hand, if it is determined that the current density determination result is not white density, it is determined that there is a document in step S44, assuming that the first density / second time is black density / black density, respectively.

図14はステップS14における原稿ずれ測定処理手順を示すフローチャートである。まず、主走査方向における検知位置11および副走査方向における検知位置1から、それぞれ「原稿なし」と判定された画素(単に、原稿なし画素という)を検索(サーチ)する(ステップS51)。この検索には、図13の原稿有無の判定結果が用いられる。検索された原稿なし画素から、主走査方向および副走査方向に「原稿あり」と判定された画素(単に、原稿あり画素という)を検索(サーチ)する(ステップS52)。そして、原稿あり画素に至るまでの原稿なし画素数を原稿ずれ量として設定し(ステップS53)、元の処理に戻る。   FIG. 14 is a flowchart showing the document misalignment measurement processing procedure in step S14. First, a pixel determined to be “no document” (simply referred to as “no document pixel”) is searched for from the detection position 11 in the main scanning direction and the detection position 1 in the sub scanning direction (step S51). This search uses the document presence / absence determination result shown in FIG. From the retrieved no-document pixel, a pixel determined as “original exists” in the main scanning direction and the sub-scanning direction (simply referred to as “original document pixel”) is searched (searched) (step S52). Then, the number of pixels with no document up to the pixels with document is set as the document deviation amount (step S53), and the process returns to the original process.

図15は原稿読取動作処理手順を示すフローチャートである。この処理プログラムは、ROM307に記憶されており、CPU308によって実行される。まず、ランプ103を点灯させる(ステップS61)。原稿ずれがあるか否かを判定する(ステップS62)。原稿ずれがないと判定された場合、CCD制御部313に対し、原稿ずれ量を値0に設定する(ステップS63)。一方、原稿ずれがあると判定された場合、CCD制御部313に対する原稿ずれ量を、ステップS53で設定された原稿ずれ量に設定する(ステップS67)。   FIG. 15 is a flowchart showing a document reading operation processing procedure. This processing program is stored in the ROM 307 and executed by the CPU 308. First, the lamp 103 is turned on (step S61). It is determined whether there is a document misalignment (step S62). If it is determined that there is no document deviation, the document deviation amount is set to 0 for the CCD controller 313 (step S63). On the other hand, if it is determined that there is document deviation, the document deviation amount for the CCD control unit 313 is set to the document deviation amount set in step S53 (step S67).

ステップS63、S67の処理後、光学モータ311を駆動し、原稿サイズに応じて原稿スキャン動作を行う(ステップS64)。そして、原稿スキャン動作が終了するまで待ち(ステップS65)、原稿スキャン動作が終了すると、ランプ103を消灯し(ステップS66)、本処理を終了する。   After the processes in steps S63 and S67, the optical motor 311 is driven to perform a document scanning operation according to the document size (step S64). Then, it waits until the document scanning operation is completed (step S65). When the document scanning operation is completed, the lamp 103 is turned off (step S66), and this processing is terminated.

このように、第1の実施形態によれば、プレスキャンを行うことなく、CCDセンサ109によって原稿を走査して原稿画像を読み取る際、エリアセンサ300によって原稿台ガラス面102を全面に亘って撮像する。撮影された画像を基に、原稿台ガラス面102上に載置された原稿の基準位置から主走査方向および副走査方向のズレ量を検出するとともに、原稿のサイズを検出する。そして、原稿のサイズに応じて、検出されたズレ量だけずらすように、CCDセンサ109による原稿の画像読取動作を行うので、原稿台ガラス面102に載置された原稿が多少ずれていても、原稿サイズを誤検知することなく、正しく原稿読取領域を走査できる。したがって、原稿が正しくセットされていない場合であっても、原稿台ガラスのうち原稿の部分だけを走査することができ、ファーストコピータイムを短縮できる。   As described above, according to the first embodiment, when the document is scanned by the CCD sensor 109 and the document image is read without performing pre-scanning, the area sensor 300 captures the entire surface of the document table glass surface 102. To do. Based on the photographed image, the amount of deviation in the main scanning direction and the sub-scanning direction is detected from the reference position of the document placed on the platen glass surface 102, and the size of the document is detected. Then, since the image reading operation of the document is performed by the CCD sensor 109 so as to shift the detected deviation amount according to the size of the document, even if the document placed on the document table glass surface 102 is slightly shifted, The document reading area can be scanned correctly without erroneously detecting the document size. Therefore, even if the document is not set correctly, only the portion of the document on the platen glass can be scanned, and the first copy time can be shortened.

尚、上記実施形態では、圧板を開閉して原稿を原稿台ガラス面に載置する場合の原稿読取動作を示したが、原稿給送装置が原稿を原稿台ガラス面に搬送する場合にも同様に適用可能であることは勿論である。   In the above-described embodiment, the document reading operation in the case where the document is placed on the platen glass surface by opening and closing the pressure plate is shown, but the same applies to the case where the document feeding device transports the document to the platen glass surface. Of course, it is applicable to.

[第2の実施形態]
第2の実施形態における画像形成装置の内部構成は、前記第1の実施形態と同様、リーダ部1およびプリンタ部2から主に構成される(図1参照)ので、同一の構成部分については同一の符号を用いることでその説明を省略する。第2の実施形態では、リーダ部1およびプリンタ部2間には、コントローラ部3が設けられている。
[Second Embodiment]
As in the first embodiment, the internal configuration of the image forming apparatus in the second embodiment is mainly composed of the reader unit 1 and the printer unit 2 (see FIG. 1), and therefore the same components are the same. The description is omitted by using the reference numeral. In the second embodiment, a controller unit 3 is provided between the reader unit 1 and the printer unit 2.

また、前述したように、リーダ部1内部の底面には、原稿検知センサ401が取り付けられており、その内部のエリアセンサ300によって原稿台ガラス面102が全面に亘って撮像される。エリアセンサ300として、2次元のCCDカメラが用いられる。そして、リーダ部1は、エリアセンサ300によって撮像された画像に基づき、原稿の基準位置(突き当て部)からのずれ量(オフセット)および傾きを算出する。原稿のずれ量および傾きの算出については後述する。リーダ部1で算出されたこれらの情報(パラメータ)は、後述するように、コントローラ部3内のリーダインタフェース501に転送され、リーダメモリ502に画像データを格納する際のアドレス変換に使用される。また、原稿が原稿台ガラス面102の所定位置に搬送されると、ランプ103が点灯し、スキャナユニット104は移動しながら原稿台ガラス102に載置された原稿を照明する。このとき、スキャナユニット104が移動する範囲は、原稿サイズに応じた領域だけである。   As described above, the document detection sensor 401 is attached to the bottom surface inside the reader unit 1, and the document table glass surface 102 is imaged over the entire surface by the area sensor 300 inside the reader sensor 1. As the area sensor 300, a two-dimensional CCD camera is used. Then, the reader unit 1 calculates a deviation amount (offset) and an inclination of the document from the reference position (abutting portion) based on the image captured by the area sensor 300. The calculation of the deviation amount and inclination of the document will be described later. These information (parameters) calculated by the reader unit 1 are transferred to the reader interface 501 in the controller unit 3 and used for address conversion when image data is stored in the reader memory 502, as will be described later. When the original is conveyed to a predetermined position on the original table glass surface 102, the lamp 103 is turned on, and the scanner unit 104 illuminates the original placed on the original table glass 102 while moving. At this time, the range in which the scanner unit 104 moves is only an area corresponding to the document size.

また、リーダ部1には、原稿給送制御部11が接続されており、この原稿給送制御部11は、CPU、ROM、RAM等(図示せず)を有し、コントローラ部3からの指示にしたがって、リーダ部1と通信を行い、自動原稿給送装置101を制御する。また、リーダ部1には、操作パネル4が設けられている。この操作パネル4に配置された表示部および各種キーは、前記第1の実施形態と同様であるので、その説明を省略する。   A document feeding control unit 11 is connected to the reader unit 1, and the document feeding control unit 11 includes a CPU, a ROM, a RAM, and the like (not shown), and commands from the controller unit 3. Accordingly, the automatic document feeder 101 is controlled by communicating with the reader unit 1. The reader unit 1 is provided with an operation panel 4. Since the display unit and various keys arranged on the operation panel 4 are the same as those in the first embodiment, description thereof is omitted.

図16はリーダ部1およびプリンタ部2を制御するコントローラ部3の構成を示すブロック図である。コントローラ部3は、リーダ部1に接続されるリーダインタフェース501、プリンタ部2に接続されるプリンタインタフェース510、リーダメモリ502、エンコーダ503、圧縮画像用メモリ504、デコーダ505、ページメモリ506、CPU507、RAM508およびROM509がバス515を介して接続された構成を有する。リーダメモリ502は、リーダ部1によって読み取られた画像の圧縮前の画像データを少なくとも1ページ分一時的に格納する。エンコーダ503は、リーダメモリ502に格納された画像データを圧縮する。圧縮画像用メモリ504には、エンコーダ503によって圧縮された複数ページ分の画像データが格納される。デコーダ505は、圧縮画像用メモリ504に格納されている圧縮画像データを解析(伸長)し、ページメモリ506上に展開する。ROM509には、制御プログラムが格納されている。CPU507は、ROM509に格納されている制御プログラムにしたがってコントローラ部3の各部を制御する。RAM508はCPU507の作業領域として使用される。   FIG. 16 is a block diagram showing the configuration of the controller unit 3 that controls the reader unit 1 and the printer unit 2. The controller unit 3 includes a reader interface 501 connected to the reader unit 1, a printer interface 510 connected to the printer unit 2, a reader memory 502, an encoder 503, a compressed image memory 504, a decoder 505, a page memory 506, a CPU 507, and a RAM 508. And a ROM 509 connected through a bus 515. The reader memory 502 temporarily stores at least one page of image data before compression of the image read by the reader unit 1. The encoder 503 compresses the image data stored in the reader memory 502. The compressed image memory 504 stores image data for a plurality of pages compressed by the encoder 503. The decoder 505 analyzes (decompresses) the compressed image data stored in the compressed image memory 504 and develops it on the page memory 506. The ROM 509 stores a control program. The CPU 507 controls each unit of the controller unit 3 according to a control program stored in the ROM 509. The RAM 508 is used as a work area for the CPU 507.

コントローラ部3では、リーダ部1内のエリアセンサ300によって原稿の基準位置からのずれ量および傾きが検出されると、これらの情報はリーダインタフェース501に転送され、リーダ部1によって読み取られた原稿の画像データは、リーダインタフェース501を介してリーダメモリ502に一時的に格納(バッファリング)される。リーダメモリ502内の画像データは、エンコーダ503によって圧縮されると、圧縮画像用メモリ504に格納される。通常のコピー動作では、圧縮画像用メモリ504に格納された画像データは、デコーダ505によって解析(伸長)され、ページメモリ506上に展開されると、プリンタ部2にその画像が出力される。正常に画像が出力された場合、圧縮画像用メモリ504内の画像データは消去される。尚、CCD109によって読み取られる原稿画像の主走査方向および副走査方向の解像度は、エリアセンサ30によって読み取られる原稿台ガラス面102の画像の解像度に比べて高くなっている。   In the controller unit 3, when the area sensor 300 in the reader unit 1 detects a deviation amount and an inclination from the reference position of the document, these pieces of information are transferred to the reader interface 501 and the document read by the reader unit 1 is read. The image data is temporarily stored (buffered) in the reader memory 502 via the reader interface 501. When the image data in the reader memory 502 is compressed by the encoder 503, it is stored in the compressed image memory 504. In a normal copying operation, the image data stored in the compressed image memory 504 is analyzed (expanded) by the decoder 505, and when the image data is expanded on the page memory 506, the image is output to the printer unit 2. When the image is normally output, the image data in the compressed image memory 504 is deleted. Note that the resolution of the document image read by the CCD 109 in the main scanning direction and the sub-scanning direction is higher than the resolution of the image on the platen glass surface 102 read by the area sensor 30.

上記構成を有する画像形成装置の原稿読取動作を示す。具体的に、原稿の傾きをリアルタイムに補正しながらリーダメモリ502に画像データを格納する動作を示す。図17はエリアセンサ300によって撮像された原稿台ガラス面上の原稿の画像(エリアセンサ画像)から算出される、原稿の傾き角度、サイズ、基準位置(原稿突き当て部)380からのずれ量(オフセット)を示す図である。エリアセンサ画像から、エッジ抽出処理によって原稿の境界線を抽出し、それを直線に当てはめる画像処理を施すことによって、図中、画像の左上にある基準位置380からのオフセット(ofsX,ofsY)、原稿の大きさ(papW,PapH)および原稿の傾き(角度a)が算出される。これらの算出されたパラメータは、リーダインタフェース501に転送され、後述するように、CCDセンサ109によって読み取られる画像データが格納されるリーダメモリ502のアドレス変換に使用される。   An original reading operation of the image forming apparatus having the above configuration will be described. Specifically, an operation of storing image data in the reader memory 502 while correcting the inclination of the document in real time is shown. FIG. 17 shows the inclination angle, size, and deviation amount from the reference position (document abutting portion) 380 calculated from the image (area sensor image) of the document on the platen glass surface imaged by the area sensor 300. It is a figure which shows (offset). By extracting the boundary line of the document from the area sensor image by edge extraction processing and applying it to a straight line, an offset (ofsX, ofsY) from the reference position 380 at the upper left of the image in the figure, the document Is calculated (papW, PapH) and the inclination (angle a) of the document. These calculated parameters are transferred to the reader interface 501 and used for address conversion of the reader memory 502 in which image data read by the CCD sensor 109 is stored, as will be described later.

図18はCCDセンサ(ラインセンサ)を用いて原稿画像を取り込む際の走査範囲を示す図である。図17に示すように原稿の存在する範囲は確定しているので、原稿台ガラス面上の範囲を限定して、画像の読み取り動作が行われる。すなわち、現在のCCDセンサの走査位置(x座標)および算出されたパラメータを基に、CCDによって読み取られたラインバッファのうち、どの範囲を有効とするかを算出する。そして、有効な画素情報の座標変換を行い、それ以外の画素情報の座標変換を不要とする。これにより、無駄な読取動作および変換処理を省略できる。ここで、リーダインタフェース501には、ハードウェアで構成されたアドレス変換器(図示せず)が設けられており、このアドレス変換器によって、傾きおよびオフセットの補正が行われた後、読み取った画像データはリーダメモリ502に格納される。図19は原稿台ガラス面における原稿台座標とリーダメモリにおける画像メモリアドレスとの対応を示す図である。原稿台座標、画像メモリアドレスをそれぞれ(x,y)、(x’,y’)で表すと、アドレス変換器によるアドレス変換式は、数式(2)に示すように、傾き角度aおよびオフセット(ofsX,ofsY)に基づき、平行移動および回転行列の一次変換で表される。   FIG. 18 is a diagram showing a scanning range when a document image is captured using a CCD sensor (line sensor). As shown in FIG. 17, since the range where the document exists is fixed, the image reading operation is performed by limiting the range on the platen glass surface. That is, based on the current scanning position (x coordinate) of the CCD sensor and the calculated parameters, it is calculated which range is valid in the line buffer read by the CCD. Then, coordinate conversion of effective pixel information is performed, and coordinate conversion of other pixel information is unnecessary. Thereby, useless reading operation and conversion processing can be omitted. Here, the reader interface 501 is provided with an address converter (not shown) configured by hardware. After the inclination and offset are corrected by the address converter, the read image data is read out. Is stored in the reader memory 502. FIG. 19 is a diagram showing the correspondence between the document table coordinates on the document table glass surface and the image memory address in the reader memory. When the document table coordinates and the image memory address are represented by (x, y) and (x ′, y ′), respectively, the address conversion formula by the address converter is expressed by an inclination angle a and an offset ( ofsX, ofsY), and is represented by a linear transformation and a linear transformation of the rotation matrix.

Figure 2006067329
Figure 2006067329

ここで、エリアセンサ画像の辺601、602、603、604上の各y座標は、それぞれ数式(3)、(4)、(5)、(6)で表される。   Here, the y-coordinates on the sides 601, 602, 603, and 604 of the area sensor image are represented by mathematical formulas (3), (4), (5), and (6), respectively.

ofsY−(x−ofsX)・tan(a) …… (3)
ofsY+(x−ofsX)/tan(a) …… (4)
ofsY−papWsin(a)+(x−ofsX−papWcos(a))/tan(a) …… (5)
ofsY+papHcos(a)−(x−ofsX−papHsin(a))・tan(a) …… (6)
図20は原稿画像の書き込みと出力を同時に行う様子を示す図である。同図(A)、(B)、(C)の各上側には、原稿台ガラス面上の原稿(図中、符号d)およびCCDセンサ(ラインセンサ)の位置(図中、符号e)が示され、同図(A)、(B)、(C)の各下側には、画像メモリ(リーダメモリ)における読み書き状態が示されている。図中、左側の図(A)から右側の図(C)にかけて時間が経過している。また、図中、斜線で示される範囲が書き込み済みのメモリ領域である。符号fは書き込み中のメモリラインである。ここでは、縦1ライン分の画像データ、つまり主走査方向の画像データが確定した時点で、画像データの出力が開始し、符号gは出力中のメモリラインである。尚、本実施形態では、1ライン分の画像データが確定した時点で、画像データを出力したが、複数ライン分の画像データが確定した時点で出力するようにしてもよいことは勿論である。
ofsY- (x-ofsX) tan (a) (3)
ofsY + (x-ofsX) / tan (a) (4)
ofsY-papWsin (a) + (x-ofsX-papWcos (a)) / tan (a) (5)
ofsY + papHcos (a)-(x-ofsX-papHsin (a)) tan (a) (6)
FIG. 20 is a diagram illustrating a state where writing and outputting of a document image are performed simultaneously. On the upper side of each of the drawings (A), (B), and (C), the position of the original (reference numeral d in the figure) and the CCD sensor (line sensor) on the original table glass surface (reference numeral e in the figure). In the lower part of each of FIGS. 9A, 9B, and 9C, the read / write state in the image memory (reader memory) is shown. In the figure, time passes from the left figure (A) to the right figure (C). In the figure, a hatched area is a written memory area. Reference numeral f denotes a memory line being written. Here, output of image data is started when image data for one vertical line, that is, image data in the main scanning direction is determined, and a symbol g is a memory line being output. In the present embodiment, the image data is output when the image data for one line is determined. However, it is needless to say that the image data may be output when the image data for a plurality of lines is determined.

図21は原稿読取動作処理手順を示すフローチャートである。この処理プログラムは、ROM509に格納されており、CPU507によって実行される。まず、操作パネル4のスタートキー256の押下、あるいは圧板開閉センサ405による開閉信号の出力によって、読取動作の開始が指示されるのを待ち(ステップS81)、読取動作の開始が指示されると、リーダインタフェース501を介してリーダ部1に対し、LED304を点灯して、原稿台ガラス面102を照射し、エリアセンサ300によって原稿台ガラス面102の全面の画像を撮像するように指示し、撮像された画像をリーダインタフェース501を介してリーダメモリ502に記憶する(ステップS82)。   FIG. 21 is a flowchart showing a document reading operation processing procedure. This processing program is stored in the ROM 509 and executed by the CPU 507. First, it waits for the start of the reading operation to be instructed by pressing the start key 256 of the operation panel 4 or the output of the opening / closing signal by the pressure plate opening / closing sensor 405 (step S81). The reader unit 1 is turned on via the reader interface 501 to illuminate the LED 304, irradiate the original platen glass surface 102, and the area sensor 300 instructs the entire image of the original platen glass surface 102 to be imaged. The stored image is stored in the reader memory 502 via the reader interface 501 (step S82).

撮影された画像を基に、エッジ抽出処理により原稿の輪郭を抽出する(ステップS83)。さらに、抽出された原稿の輪郭から、基準位置(原稿台ガラス面102の突き当て部)からの原稿のずれ量(ofsX,ofsY)、傾き角度aおよび原稿の大きさ(主走査方向の長さpapW、副走査方向の長さpapH)からなるパラメータを検出する(ステップS84)。これらのパラメータを基に、スキャナユニット104による原稿の読取走査範囲(図18の領域l,m,n)を決定し(ステップS85)、決定された走査範囲内において、CCDセンサ109による原稿の画像読取動作を行う(ステップS86)。すなわち、図18に示すように、原稿が存在しないx座標領域では、CCDセンサ109による原稿の画像読取動作を行わない。前述したように、CCDセンサ(ラインセンサ)109が原稿の辺601、602の両方を横切る領域(図18の領域l)では、数式(3)に示すy座標を読取開始位置として、数式(4)に示すy座標を読取終了位置とする主走査方向の画像データを読み取る。また、CCDセンサ109が原稿の辺601、604の両方を横切る領域(図18の領域m)では、数式(3)に示すy座標を読取開始位置として、数式(6)に示すy座標を読取終了位置とする主走査方向の画像データを読み取る。同様に、CCDセンサ109が原稿の辺603、604の両方を横切る領域(図18の領域n)では、数式(5)に示すy座標を読取開始位置として、数式(6)に示すy座標を読取終了位置とする主走査方向の画像データを読み取る。   Based on the photographed image, the outline of the document is extracted by edge extraction processing (step S83). Further, from the extracted document outline, the document deviation amount (ofsX, ofsY) from the reference position (the abutting portion of the document table glass surface 102), the inclination angle a, and the document size (length in the main scanning direction). A parameter composed of papW and length ppH in the sub-scanning direction is detected (step S84). Based on these parameters, the reading scanning range of the document by the scanner unit 104 (regions l, m, and n in FIG. 18) is determined (step S85), and the image of the document by the CCD sensor 109 is determined within the determined scanning range. A reading operation is performed (step S86). That is, as shown in FIG. 18, the image reading operation of the document by the CCD sensor 109 is not performed in the x-coordinate region where the document does not exist. As described above, in the area where the CCD sensor (line sensor) 109 crosses both sides 601 and 602 of the document (area l in FIG. 18), the y coordinate shown in the expression (3) is used as the reading start position, and the expression (4 The image data in the main scanning direction is read with the y coordinate shown in FIG. In an area where the CCD sensor 109 crosses both sides 601 and 604 of the document (area m in FIG. 18), the y coordinate shown in Expression (3) is used as the reading start position, and the y coordinate shown in Expression (6) is read. The image data in the main scanning direction as the end position is read. Similarly, in a region where the CCD sensor 109 crosses both sides 603 and 604 of the document (region n in FIG. 18), the y coordinate shown in Equation (5) is used as the reading start position, and the y coordinate shown in Equation (6) is used. Image data in the main scanning direction as a reading end position is read.

主走査方向の画像データの読取動作が行われると、数式(2)にしたがって、画像データが存在する画素の原稿台座標をリーダメモリ502のメモリアドレスに変換し(ステップS87)、変換されたメモリアドレスにしたがって、リーダメモリ502に画像データを格納する(ステップS88)。リーダメモリ502に、原稿の縦方向の1ライン分の画像データが格納されたか否かを判別する(ステップS89)。1ライン分の画像データが格納されていない場合、ステップS86に戻って同様の処理を繰り返す。一方、1ライン分の画像データが格納されると、確定した1ライン分の画像データをリーダメモリ502から出力する(ステップS90)。出力された画像データに対しては、エンコーダ503による圧縮処理等が施された後、画像形成動作が行われる。この後、ステップS85で決定された走査範囲を、全て走査したか否かを判別し(ステップS91)、全て走査していない場合、ステップS86の処理に戻って同様の処理を繰り返し、一方、全て走査した場合、本処理を終了する。   When the reading operation of the image data in the main scanning direction is performed, the document table coordinates of the pixel in which the image data exists are converted into the memory address of the reader memory 502 according to Equation (2) (step S87), and the converted memory The image data is stored in the reader memory 502 according to the address (step S88). It is determined whether or not image data for one line in the vertical direction of the document has been stored in the reader memory 502 (step S89). If image data for one line is not stored, the process returns to step S86 and the same processing is repeated. On the other hand, when the image data for one line is stored, the determined image data for one line is output from the reader memory 502 (step S90). The output image data is subjected to a compression process or the like by the encoder 503, and then an image forming operation is performed. Thereafter, it is determined whether or not the entire scanning range determined in step S85 has been scanned (step S91). If not all are scanned, the process returns to step S86 and the same processing is repeated. If scanned, the process is terminated.

このように、第2の実施形態によれば、原稿を全て読み終わる前に画像データの出力を開始し、画像メモリ(リーダメモリ502)への書き込みと読み出しを同時に行うことで、画像形成を行う際のファーストコピータイムを短縮できる。また、傾きを補正するための処理や大容量の補正用メモリを必要とすることなく、原稿の傾きがどのような大きさであっても、リアルタイムに補正できる。   As described above, according to the second embodiment, image data output is started before all the originals are read, and image formation is performed by simultaneously writing to and reading from the image memory (reader memory 502). First copy time can be shortened. In addition, it is possible to correct in real time regardless of the size of the original without requiring processing for correcting the inclination and a large-capacity correction memory.

尚、上記第2の実施形態では、原稿固定読み方式の場合を示したが、スキャナユニットを固定し、DFを用いて原稿を搬送しながら画像を読み取る原稿流し読み方式に適用してもよいことは勿論である。図22は原稿流し読み方式における原稿画像の書き込みと出力を同時に行う様子を示す図である。同図(A)、(B)、(C)の各上側には、原稿台ガラス上の原稿(図中、符号d)およびCCDセンサの位置(図中、符号e)が示され、同図(A)、(B)、(C)の各下側には、画像メモリ(リーダメモリ)における読み書き状態が示されている。図中、左側の図(A)から右側の図(C)にかけて時間が経過している。この場合、CCDセンサの位置eは固定であるので、画像メモリに格納される順序は、固定読み方式の場合に比べて、左右反対となる。つまり、固定読み方式に比べ、副走査方向の反対側から画像データが記憶される。そして、同様に、原稿の縦1ライン分の出力データが確定した時点で、その画像データの出力が開始する。このように、画像メモリ(リーダメモリ)への書き込みと読み出しを同時に行うことで、画像形成を行う際のファーストコピータイムを短縮できる。   In the second embodiment, the document fixed reading method is shown. However, the present invention may be applied to a document flow reading method in which an image is read while a document is conveyed using a DF with a scanner unit fixed. Of course. FIG. 22 is a diagram illustrating a state in which writing and outputting of a document image are simultaneously performed in the document scanning method. On the upper side of each of the drawings (A), (B), and (C), the document on the platen glass (symbol d in the figure) and the position of the CCD sensor (symbol e in the figure) are shown. On each lower side of (A), (B), and (C), the read / write state in the image memory (reader memory) is shown. In the figure, time passes from the left figure (A) to the right figure (C). In this case, since the position e of the CCD sensor is fixed, the order stored in the image memory is opposite to that in the case of the fixed reading method. That is, image data is stored from the opposite side in the sub-scanning direction as compared with the fixed reading method. Similarly, when the output data for one vertical line of the document is determined, the output of the image data is started. As described above, by simultaneously writing to and reading from the image memory (reader memory), it is possible to shorten the first copy time when performing image formation.

本発明は、上記実施形態の構成に限られるものではなく、特許請求の範囲で示した機能、または本実施形態の構成が持つ機能が達成できる構成であればどのようなものであっても適用可能である。例えば、上記実施形態では、エリアセンサ300によって原稿台ガラス面102が撮像される際、原稿検知センサ401内のLED304によって原稿台ガラス面102が照明されたが、LED304を用いる代わりに、スキャナユニット104内のランプ103が原稿台ガラス面102の全面に亘って照明するように切り替えられるような構成にしてもよい。   The present invention is not limited to the configuration of the above-described embodiment, and can be applied to any configuration that can achieve the functions shown in the claims or the functions of the configuration of the present embodiment. Is possible. For example, in the above embodiment, when the document table glass surface 102 is imaged by the area sensor 300, the document table glass surface 102 is illuminated by the LED 304 in the document detection sensor 401, but instead of using the LED 304, the scanner unit 104. The lamp 103 may be switched so as to illuminate the entire surface of the platen glass surface 102.

また、本発明の目的は、上記実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above embodiments to a system or apparatus, and the computer (or CPU, MPU, etc.) of the system or apparatus stores the storage medium. It is also achieved by reading out and executing the program code stored in. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、ROM、フロッピー(登録商標)ディスク、PCMCIAカードやコンパクトフラッシュ(登録商標)等のメモリカード、ハードディスク、マイクロDAT、光磁気ディスク、CD−RやCD−RW等の光ディスク、DVD等の相変化型光ディスク等で構成されてもよい。また、プログラムコードをネットワークを介してダウンロードしてもよい。   Examples of storage media for supplying the program code include ROM, floppy (registered trademark) disk, memory card such as PCMCIA card and compact flash (registered trademark), hard disk, micro DAT, magneto-optical disk, CD-R, and the like. You may comprise with optical disks, such as CD-RW, phase change type optical disks, such as DVD. The program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、上記実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることはいうまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer is actually executed based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing a part or all of the process and the process is included.

更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This includes the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

第1の実施形態における画像形成装置の内部構成を示す図である。1 is a diagram illustrating an internal configuration of an image forming apparatus according to a first embodiment. リーダ部1に設けられた操作部(パネル)の外観を示す図である。FIG. 2 is a diagram illustrating an appearance of an operation unit (panel) provided in the reader unit 1. リーダ部1内のコントローラ部250の電気的構成を示すブロック図である。3 is a block diagram showing an electrical configuration of a controller unit 250 in the reader unit 1. FIG. 原稿ずれが生じた場合の画像取込制御を示す図である。It is a figure which shows image taking-in control when document misalignment arises. リーダ部1の外観を示す斜視図である。2 is a perspective view showing an appearance of a reader unit 1. FIG. 圧板の開閉を検知する機構を模式的に示す図である。It is a figure which shows typically the mechanism which detects opening and closing of a pressure plate. 原稿台ガラス面上に設定された副走査原稿ずれ検知ラインp、主走査原稿ずれ検知ラインqおよび検知位置を示す図である。FIG. 5 is a diagram showing a sub-scanning document misalignment detection line p, a main-scanning document misalignment detection line q, and a detection position set on the platen glass surface. 圧板403の開閉角度に対する読取輝度を示すグラフである。6 is a graph showing the reading luminance with respect to the opening / closing angle of the pressure plate 403. 各検知位置に対して行われる処理内容を示すテーブルである。It is a table which shows the contents of processing performed with respect to each detection position. 原稿サイズ検知処理手順を示すフローチャートである。6 is a flowchart illustrating a document size detection processing procedure. ステップS3、S6およびS7におけるサイズ検知処理手順を示すフローチャートである。It is a flowchart which shows the size detection process procedure in step S3, S6, and S7. ステップS18におけるずれ検知ライン画素の濃度判定処理手順を示すフローチャートである。It is a flowchart which shows the density | concentration determination processing procedure of the deviation | shift detection line pixel in step S18. ずれ検知ライン画素のデータ変化検知処理手順を示すフローチャートである。It is a flowchart which shows the data change detection process procedure of a shift | offset | difference detection line pixel. ステップS14における原稿ずれ測定処理手順を示すフローチャートである。It is a flowchart which shows the document misalignment measurement processing procedure in step S14. 原稿読取動作処理手順を示すフローチャートである。6 is a flowchart illustrating a document reading operation processing procedure. リーダ部1およびプリンタ部2を制御するコントローラ部3の構成を示すブロック図である。2 is a block diagram illustrating a configuration of a controller unit 3 that controls a reader unit 1 and a printer unit 2. FIG. エリアセンサ300によって撮像された原稿台ガラス面上の原稿の画像から算出される、原稿の傾き角度、サイズ、基準位置からのずれ量を示す図である。FIG. 6 is a diagram showing a document inclination angle, a size, and a deviation amount from a reference position, calculated from an image of a document on a platen glass surface imaged by an area sensor. CCDセンサ(ラインセンサ)を用いて原稿画像を取り込む際の走査範囲を示す図である。It is a figure which shows the scanning range at the time of taking in a document image using a CCD sensor (line sensor). 原稿台ガラス面における原稿台座標とリーダメモリにおける画像メモリアドレスとの対応を示す図である。It is a figure which shows a response | compatibility with the original table coordinate in an original table glass surface, and the image memory address in a reader memory. 原稿画像の書き込みと出力を同時に行う様子を示す図である。FIG. 4 is a diagram illustrating a state in which document image writing and output are performed simultaneously. 原稿読取動作処理手順を示すフローチャートである。6 is a flowchart illustrating a document reading operation processing procedure. 原稿流し読み方式における原稿画像の書き込みと出力を同時に行う様子を示す図である。FIG. 4 is a diagram illustrating a state in which writing and outputting of a document image are simultaneously performed in a document scanning method.

符号の説明Explanation of symbols

1 リーダ部
2 プリンタ部
3 コントローラ部
109 CCDセンサ
250 コントローラ部
300 エリアセンサ
307、509 ROM
308、507 CPU
380 原稿突き当て部
401 原稿検知センサ
403 圧板
404 圧板開閉フラグ
405 圧板開閉センサ
DESCRIPTION OF SYMBOLS 1 Reader part 2 Printer part 3 Controller part 109 CCD sensor 250 Controller part 300 Area sensor 307,509 ROM
308, 507 CPU
380 Document Abutting Unit 401 Document Detection Sensor 403 Pressure Plate 404 Pressure Plate Open / Close Flag 405 Pressure Plate Open / Close Sensor

Claims (14)

読取手段によって原稿を走査しながら該原稿の画像を読み取る原稿読取装置であって、
前記読取手段の走査開始前、前記原稿がセットされる原稿台を撮像する2次元撮像素子を有する撮像手段と、
前記撮像された原稿台の画像を基に、前記原稿のセット状態を検出する原稿セット状態検出手段と、
前記撮像された原稿台の画像を基に、前記原稿のサイズを検出する原稿サイズ検出手段と、
前記検出された原稿のセット状態および原稿のサイズを基に、前記読取手段による原稿の画像読取動作を制御する読取制御手段とを備えたことを特徴とする原稿読取装置。
A document reading device that reads an image of a document while scanning the document by a reading unit,
An image pickup means having a two-dimensional image pickup device for picking up an image of a platen on which the original is set before scanning of the reading means;
A document setting state detecting means for detecting a setting state of the document based on the captured image of the document table;
Document size detection means for detecting the size of the document based on the imaged document table;
An original reading apparatus comprising: a reading control unit that controls an image reading operation of the original by the reading unit based on the detected original setting state and original size.
前記原稿セット状態検出手段は、前記原稿台に載置された前記原稿の基準位置からの主走査方向および副走査方向におけるズレ量を検出することを特徴とする請求項1記載の原稿読取装置。   2. The document reading apparatus according to claim 1, wherein the document setting state detecting unit detects a deviation amount in a main scanning direction and a sub scanning direction from a reference position of the document placed on the document table. 前記原稿サイズ検出手段は、
前記原稿台に、前記原稿の大きさを識別するための複数の検出位置を設定する設定手段と、
前記設定された複数の検出位置を、前記検出された主走査方向および副走査方向のズレ量分だけ移動させる移動手段と、
前記移動した複数の検出位置のそれぞれで原稿の有無を判別する判別手段とを備え、
前記判別された複数の検出位置における原稿の有無を基に、前記原稿のサイズを検出することを特徴とする請求項2記載の原稿読取装置。
The document size detecting means includes
Setting means for setting a plurality of detection positions for identifying the size of the document on the document table;
Moving means for moving the set detection positions by an amount of deviation in the detected main scanning direction and sub-scanning direction;
Determining means for determining the presence or absence of a document at each of the plurality of moved detection positions;
3. The document reading apparatus according to claim 2, wherein the size of the document is detected based on the presence or absence of the document at the determined plurality of detection positions.
前記検出位置は、主走査方向n画素および副走査方向m画素から構成される2次元領域で設定され、
前記2次元領域を構成する全ての画素の読み取り値の平均値を算出する算出手段を備え、
前記判別手段は、前記算出された平均値を基に、前記複数の検出位置のそれぞれで原稿の有無を判別することを特徴とする請求項3記載の原稿読取装置。
The detection position is set in a two-dimensional region composed of n pixels in the main scanning direction and m pixels in the sub-scanning direction,
A calculation means for calculating an average value of reading values of all pixels constituting the two-dimensional region;
4. The document reading apparatus according to claim 3, wherein the determination unit determines whether or not there is a document at each of the plurality of detection positions based on the calculated average value.
前記原稿台を開閉自在である圧板手段と、
前記圧板手段の開閉を検知する開閉検知手段と、
前記圧板手段が開状態から閉状態に移行する時期に前記撮像手段によって撮像された原稿台の画像と、前記圧板手段が閉状態に至った時期に前記撮像手段によって撮像された原稿台の画像とを比較する比較手段とを備え、
前記原稿サイズ検出手段は、前記比較結果を基に、前記原稿のサイズを検出することを特徴とする請求項1乃至4のいずれかに記載の原稿読取装置。
Pressure plate means that can freely open and close the document table;
Open / close detecting means for detecting opening / closing of the pressure plate means;
An image of the document table captured by the imaging unit when the pressure plate unit transitions from the open state to the closed state, and an image of the document table captured by the imaging unit when the pressure plate unit reaches the closed state Comparing means for comparing
5. The document reading apparatus according to claim 1, wherein the document size detection unit detects the size of the document based on the comparison result.
前記読取制御手段は、前記原稿セット状態検出手段によって前記原稿台に載置された原稿の基準位置からの主走査方向および副走査方向におけるズレ量が検出された場合、前記ズレ量だけずらして前記原稿の画像を読み取るように、前記読取手段による原稿の画像読取動作を制御することを特徴とする請求項2記載の原稿読取装置。   The reading control means shifts the deviation amount by the deviation amount when the deviation amount in the main scanning direction and the sub scanning direction from the reference position of the original placed on the original table is detected by the original setting state detection means. 3. The document reading apparatus according to claim 2, wherein an image reading operation of the document by the reading unit is controlled so as to read an image of the document. 読取手段によって原稿を走査しながら該原稿の画像を読み取る原稿読取方法であって、
前記読取手段の走査開始前、撮像手段によって前記原稿がセットされる原稿台を2次元撮像素子を用いて撮像する撮像ステップと、
前記撮像された原稿台の画像を基に、前記原稿のセット状態を検出する原稿セット状態検出ステップと、
前記撮像された原稿台の画像を基に、前記原稿のサイズを検出する原稿サイズ検出ステップと、
前記検出された原稿のセット状態および原稿のサイズを基に、前記読取手段による原稿の画像読取動作を制御する読取制御ステップとを有することを特徴とする原稿読取方法。
An original reading method for reading an image of an original while scanning the original with a reading means,
An imaging step of imaging a document table on which the document is set by the imaging unit using a two-dimensional imaging element before the scanning of the reading unit;
A document setting state detecting step for detecting a setting state of the document based on the imaged document table;
A document size detecting step for detecting the size of the document based on the imaged document table;
A document reading method comprising: a reading control step for controlling an image reading operation of the document by the reading unit based on the detected document setting state and document size.
読取手段によって原稿台にセットされた原稿を走査しながら、該原稿の画像を読み取る原稿読取装置であって、
前記読取手段による原稿の走査開始前、前記原稿台を撮像する2次元撮像素子を有する撮像手段と、
前記撮像された原稿台の画像を記憶する原稿台画像記憶手段と、
前記記憶された原稿台の画像から原稿に関する情報を取得する取得手段と、
前記取得した原稿に関する情報を基に、走査範囲を決定する走査範囲決定手段と、
前記決定された走査範囲を走査しながら前記読取手段によって読み込まれる画像の中から、所定範囲の画像データを選択する選択手段と、
前記選択された画像データを画像メモリに記憶する画像記憶手段とを備えたことを特徴とする原稿読取装置。
A document reading device that reads an image of a document while scanning a document set on a document table by a reading unit,
An image pickup means having a two-dimensional image pickup device for picking up an image of the original table before scanning of the original by the reading means;
A document table image storage means for storing the imaged image of the document table;
Obtaining means for obtaining information relating to a document from the stored image on the platen;
A scanning range determining means for determining a scanning range based on the acquired information on the original;
A selection means for selecting image data of a predetermined range from images read by the reading means while scanning the determined scanning range;
An original reading apparatus comprising: image storage means for storing the selected image data in an image memory.
前記読取手段による原稿の走査中、前記画像メモリに所定ライン分の画像データが記憶されると、該所定ライン分の画像データを出力する出力手段を備えたことを特徴とする請求項8記載の原稿読取装置。   9. The apparatus according to claim 8, further comprising output means for outputting image data for a predetermined line when image data for a predetermined line is stored in the image memory during scanning of the document by the reading means. Document reader. 前記選択手段によって選択された画像データに相当する原稿台の座標を前記画像メモリのアドレスに変換する変換手段を備え、
前記画像記憶手段は、前記変換されたアドレスにしたがって、前記画像データを記憶することを特徴とする請求項8記載の原稿読取装置。
Conversion means for converting the coordinates of the document table corresponding to the image data selected by the selection means into the address of the image memory;
9. The document reading apparatus according to claim 8, wherein the image storage means stores the image data in accordance with the converted address.
前記原稿に関する情報は、原稿のズレ量、傾きおよび原稿の大きさの少なくとも1つを含むことを特徴とする請求項8記載の原稿読取装置。   9. The document reading apparatus according to claim 8, wherein the information about the document includes at least one of a deviation amount, a tilt, and a size of the document. 前記読取手段は、前記撮像手段に比べ、主走査方向および副走査方向の解像度が高い画像を読み取ることを特徴とする請求項8記載の原稿読取装置。   9. The document reading apparatus according to claim 8, wherein the reading unit reads an image having a higher resolution in the main scanning direction and the sub-scanning direction than the imaging unit. 前記撮像手段によって撮像される原稿台を全面に亘って照明する照明手段を備えたことを特徴とする請求項8記載の原稿読取装置。 9. The document reading apparatus according to claim 8, further comprising an illuminating unit that illuminates the entire surface of the document table imaged by the imaging unit. 読取手段によって原稿台にセットされた原稿を走査しながら、該原稿の画像を読み取る原稿読取方法であって、
前記読取手段による原稿の走査開始前、前記原稿台を2次元撮像素子を用いて撮像する撮像ステップと、
前記撮像された原稿台の画像を記憶する原稿台画像記憶ステップと、
前記記憶された原稿台の画像から原稿に関する情報を取得する取得ステップと、
前記取得した原稿に関する情報を基に、走査範囲を決定する走査範囲決定ステップと、
前記決定された走査範囲を走査しながら前記読取手段によって読み込まれる画像の中から、所定範囲の画像データを選択する選択ステップと、
前記選択された画像データを画像メモリに記憶する画像記憶ステップとを有することを特徴とする原稿読取方法。
A document reading method for reading an image of a document while scanning a document set on a document table by a reading unit,
An imaging step of imaging the document table using a two-dimensional imaging element before starting scanning of the document by the reading unit;
A document table image storage step for storing the imaged document table image;
An acquisition step of acquiring information relating to a document from the stored image on the platen;
A scanning range determination step for determining a scanning range based on the information on the acquired document;
A selection step of selecting a predetermined range of image data from an image read by the reading unit while scanning the determined scanning range;
An original reading method comprising: an image storing step of storing the selected image data in an image memory.
JP2004248666A 2004-08-27 2004-08-27 Document reading apparatus and document reading method Pending JP2006067329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004248666A JP2006067329A (en) 2004-08-27 2004-08-27 Document reading apparatus and document reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004248666A JP2006067329A (en) 2004-08-27 2004-08-27 Document reading apparatus and document reading method

Publications (1)

Publication Number Publication Date
JP2006067329A true JP2006067329A (en) 2006-03-09

Family

ID=36113390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004248666A Pending JP2006067329A (en) 2004-08-27 2004-08-27 Document reading apparatus and document reading method

Country Status (1)

Country Link
JP (1) JP2006067329A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157218A (en) * 2007-12-27 2009-07-16 Nisca Corp Image reader
US8636276B2 (en) 2011-09-30 2014-01-28 Brother Kogyo Kabushiki Kaisha Image reading device capable of reading skew sheet
US8773739B2 (en) 2011-09-30 2014-07-08 Brother Kogyo Kabushiki Kaisha Image reading device capable of reading skew sheet without image loss
US8908235B2 (en) 2008-12-16 2014-12-09 Brother Kogyo Kabushiki Kaisha Image reading apparatus
JP2016072833A (en) * 2014-09-30 2016-05-09 ブラザー工業株式会社 Image reading device
JP2017103591A (en) * 2015-12-01 2017-06-08 シャープ株式会社 Image reading device
WO2022176718A1 (en) * 2021-02-17 2022-08-25 キヤノン株式会社 Image reading device and control method for same

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157218A (en) * 2007-12-27 2009-07-16 Nisca Corp Image reader
US8908235B2 (en) 2008-12-16 2014-12-09 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US8636276B2 (en) 2011-09-30 2014-01-28 Brother Kogyo Kabushiki Kaisha Image reading device capable of reading skew sheet
US8773739B2 (en) 2011-09-30 2014-07-08 Brother Kogyo Kabushiki Kaisha Image reading device capable of reading skew sheet without image loss
JP2016072833A (en) * 2014-09-30 2016-05-09 ブラザー工業株式会社 Image reading device
JP2017103591A (en) * 2015-12-01 2017-06-08 シャープ株式会社 Image reading device
WO2022176718A1 (en) * 2021-02-17 2022-08-25 キヤノン株式会社 Image reading device and control method for same
JP2022125768A (en) * 2021-02-17 2022-08-29 キヤノン株式会社 Image reading device and its control method
US12108003B2 (en) 2021-02-17 2024-10-01 Canon Kabushiki Kaisha Image reading apparatus and control method thereof for determining presence or absence of a document
JP7625436B2 (en) 2021-02-17 2025-02-03 キヤノン株式会社 Image reading device and control method thereof

Similar Documents

Publication Publication Date Title
US8134753B2 (en) Original size detecting apparatus, original size detecting method, and program for original size detection
JP4662807B2 (en) Document reading apparatus, image processing apparatus, image forming apparatus, and copying apparatus
US8300277B2 (en) Image processing apparatus and method for determining document scanning area from an apex position and a reading reference position
US11736641B2 (en) Apparatus and method for creating images from documents
US20090213409A1 (en) Image processing apparatus
JP2013110506A (en) Image forming apparatus
JP2006067329A (en) Document reading apparatus and document reading method
JP6822359B2 (en) Image forming device
US20050219649A1 (en) Apparatus and method to scan three-dimensional object
JP2000022869A (en) Non-contact image reader
JP6870649B2 (en) Image reader
JP2010028510A (en) Document reader
JP4620272B2 (en) Image reading apparatus, method, control apparatus for implementing the method, program, and storage medium
JP5222127B2 (en) Image processing apparatus, image processing method, and program
JP2003219117A (en) Document edge detection device
JP2006067330A (en) Document reader and document size detection method
JP2013211658A (en) Image reader and original arrangement discrimination program
US20100002274A1 (en) Independent scanning apparatus and independent scanning method
JP5768753B2 (en) Image reading apparatus and original size specifying program
JP4855017B2 (en) Document size detection apparatus, image reading apparatus, and image forming apparatus
JP5267108B2 (en) Image processing device
JP2007158965A (en) Image reading apparatus, document size detection method, and document size detection program
JP2001016406A (en) Image forming apparatus and image forming method
KR100787222B1 (en) Image forming apparatus having partial printing function and method thereof
KR100428547B1 (en) Image scanning unit capable of sensing front-end of paper and method thereof

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060418

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626