JP2008283278A - Image processor and control method for image processor - Google Patents

Image processor and control method for image processor Download PDF

Info

Publication number
JP2008283278A
JP2008283278A JP2007123530A JP2007123530A JP2008283278A JP 2008283278 A JP2008283278 A JP 2008283278A JP 2007123530 A JP2007123530 A JP 2007123530A JP 2007123530 A JP2007123530 A JP 2007123530A JP 2008283278 A JP2008283278 A JP 2008283278A
Authority
JP
Japan
Prior art keywords
document
scanning direction
main scanning
detection sensor
length
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
JP2007123530A
Other languages
Japanese (ja)
Inventor
Tomoyuki Amino
智幸 網野
Yoichi Ito
洋一 伊藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007123530A priority Critical patent/JP2008283278A/en
Publication of JP2008283278A publication Critical patent/JP2008283278A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor which greatly reduces a time needed to detect a document size and is superior in handleability. <P>SOLUTION: The image processor according to the present invention has: a line sensor 1024 which reads an image of one line of the document placed on an original table in a main scanning direction; a document detection sensor 110 which is configured to move in the original table in the main scanning direction and in a sub-scanning direction and detects whether there is a document at a specified position on the original table; a main-scanning-directional length holding means of detecting and holding the length of the document placed on the original table in the main scanning direction detected by the line sensor 1024, and a standard length decision means of deciding whether the length held by the main-scanning-directional length holding means matches a standard length, and the image processor moves the document detection sensor 1100 when the standard length decision means decides that the length held by the main-scanning-directional length holding means does not match the standard length. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、スキャナ装置、コピー装置やファクシミリ装置、或いはスキャナ部及びプリンタ部を備えたデジタル複合機などの画像処理装置に係り、特に、スキャナ部で原稿をスキャンするときにおける原稿サイズの検出を行う画像処理装置及びこのような画像処理装置の制御方法に関する。   The present invention relates to an image processing apparatus such as a scanner apparatus, a copying apparatus, a facsimile apparatus, or a digital multi-function peripheral equipped with a scanner section and a printer section, and in particular, detects a document size when scanning a document with the scanner section. The present invention relates to an image processing apparatus and a control method for such an image processing apparatus.

従来、画像読み取り装置などの画像処理装置では、いくつかの読み取り方式が実用化されているが、中でも、上部に平らなテーブル状の台を持ち、原稿を載せた状態で、読み取り機構を動作させることでデータを読み取るようになっているフラットヘッド方式が一般的で、広く普及している。   Conventionally, several reading methods have been put to practical use in image processing apparatuses such as an image reading apparatus. Among them, a flat table-like table is placed on the upper part, and the reading mechanism is operated with a document placed thereon. Therefore, the flat head system that reads data is common and widely used.

通常、フラットヘッド方式の画像読み取り装置は、読み取り機構として一次元の撮像素子(ラインセンサ)を備え、撮像素子を搭載したキャリッジを原稿に対して移動(スキャン)させることで2次元の情報を読み取るようになっている。   Usually, a flat head type image reading apparatus includes a one-dimensional image sensor (line sensor) as a reading mechanism, and reads two-dimensional information by moving (scanning) a carriage on which the image sensor is mounted. It is like that.

読み取った画像データは、画像の再現性を高めるため、色調補正等の画像処理が施されるが、再現性をより高めるためには、読み取り対象の原稿の種類、例えば、モノクロ書類・カラー写真等に応じた画像処理方法を選択する必要がある。また、読み取り時間を短縮するためには、原稿サイズに応じた読み取り範囲を設定する必要がある。   The scanned image data is subjected to image processing such as color correction in order to improve the reproducibility of the image, but in order to further improve the reproducibility, the type of document to be read, such as a monochrome document / color photograph, etc. It is necessary to select an image processing method according to the conditions. In order to shorten the reading time, it is necessary to set a reading range according to the document size.

このため、画像読み取り装置によっては、本スキャンを行なう前にプリスキャンを行なって、画像処理方法、読み取り範囲の設定等を行なう機能を備えているものがある。   For this reason, some image reading apparatuses have a function of performing a pre-scan before performing a main scan to set an image processing method, a reading range, and the like.

ここで、プリスキャンとは、読み取り対象となる原稿の概略を、例えば、50dpi程度低解像度で迅速に読み取る処理である。   Here, the pre-scan is a process for quickly reading an outline of a document to be read at a low resolution of about 50 dpi, for example.

例えば、特許文献1(特開2001−320545号公報)には、コンタクトガラスの下方に反射型光電センサを配置し、原稿のサイズを識別するようにした画像読取装置において、反射型光電センサを所定のリニア移動経路内において往復移動させる光電センサ移動制御手段と、リニア移動経路を移動する反射型光電センサがオンしてからオフになるまでの移動期間の大小を判別して、原稿サイズを識別する主制御手段とを備えたことを特徴とする画像読取装置が開示されている。
特開2001−320545号公報
For example, in Patent Document 1 (Japanese Patent Application Laid-Open No. 2001-320545), a reflection type photoelectric sensor is arranged in a predetermined manner in an image reading apparatus in which a reflection type photoelectric sensor is arranged below a contact glass and the size of a document is identified. The document size is identified by discriminating the magnitude of the movement period from turning on and off of the photoelectric sensor movement control means for reciprocating in the linear movement path and the reflective photoelectric sensor moving in the linear movement path. An image reading apparatus including a main control unit is disclosed.
JP 2001-320545 A

現状のスキャナなどの画像読み取り装置では原稿が原稿台に置かれた時に主走査方向はラインセンサで、また、副走査方向はミラーで反射させてCCDで読み取るかまたはセンサを固定位置に配置して原稿サイズ検知を行っている。このような検知方式では、検知できる用紙サイズは、規格で決まっている定型サイズに限定されてしまう、という問題がある。   In an image reading apparatus such as a current scanner, when a document is placed on a document table, the main scanning direction is read by a line sensor, and the sub-scanning direction is reflected by a mirror and read by a CCD, or the sensor is placed at a fixed position. The document size is detected. In such a detection method, there is a problem that the detectable paper size is limited to a standard size determined by the standard.

規格で決まっている定型サイズ以外のサイズの原稿を検出するためにはセンサを複数配置するか、プレスキャンを行うしかない。特許文献1に記載されたる画像読取装置は、光電センサ、反射型光電センサを移動させて検知するものであるが、このような方法によれば、光電センサ、反射型光電センサなどの移動時間による待ち時間が画像読取前に常に発生し、使い勝手が悪い、という問題がある。   In order to detect a document of a size other than the standard size determined by the standard, there is no choice but to arrange a plurality of sensors or perform pre-scanning. The image reading apparatus described in Patent Document 1 is to detect by moving a photoelectric sensor or a reflection type photoelectric sensor. According to such a method, it depends on the moving time of the photoelectric sensor, the reflection type photoelectric sensor, or the like. There is a problem that waiting time always occurs before image reading, and is unusable.

上記のような問題に対処するために、本発明の画像処理装置は、原稿台上に載置された原稿の主走査方向1列分の画像を読み取るラインセンサと、該原稿台の内部において主走査方向及び副走査方向に移動可能に構成され、原稿台の所定箇所の原稿の存否を検出する原稿検出センサと、該ラインセンサによって該原稿台上に載置された原稿の主走査方向の長さを検知し保持する主走査方向長さ保持手段と、該主走査方向長さ保持手段が保持する長さと、規格長さと一致するか否かを判定する規格長さ判定手段と、を有し、該規格長さ判定手段によって、該主走査方向長さ保持手段が保持する長さが規格長さと一致しないと判定されたときには、該原稿検出センサを移動させることを特徴とする。   In order to cope with the above problems, an image processing apparatus according to the present invention includes a line sensor that reads an image for one column in the main scanning direction of a document placed on a document table, and a main unit in the document table. A document detection sensor configured to be movable in the scanning direction and the sub-scanning direction and detecting the presence or absence of a document at a predetermined position on the document table, and a length of the document placed on the document table by the line sensor in the main scanning direction A main scanning direction length holding means for detecting and holding the length, a length held by the main scanning direction length holding means, and a standard length judging means for judging whether or not the standard length is matched. When the standard length determining means determines that the length held by the main scanning direction length holding means does not match the standard length, the document detection sensor is moved.

また、本発明の画像処理装置は、該原稿検出センサのホームポジションの主走査方向の位置Xoと、該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、該主走査方向判定手段で真と判定され、かつ、該原稿検出センサで原稿が存在することが判明されたときには、該原稿検出センサを副走査方向の正の方向に移動させて原稿サイズを検出することを特徴とする。   In the image processing apparatus of the present invention, the position Xo of the home position of the document detection sensor in the main scanning direction is compared with the length X held by the main scanning direction length holding unit, and X <Xo. When the main scanning direction determining means and the main scanning direction determining means determine true and the original detection sensor finds that the original exists, the original detection sensor is moved in the sub-scanning direction. The document size is detected by moving in the positive direction.

また、本発明の画像処理装置は、該原稿検出センサのホームポジションの主走査方向の位置Xoと、該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、該主走査方向判定手段で真と判定され、かつ、該原稿検出センサで原稿が存在しないことが判明されたときには、該原稿検出センサを副走査方向の負の方向に移動させて原稿サイズを検出することを特徴とする。   In the image processing apparatus of the present invention, the position Xo of the home position of the document detection sensor in the main scanning direction is compared with the length X held by the main scanning direction length holding unit, and X <Xo. When the main scanning direction determining means and the main scanning direction determining means determine true and the original detection sensor finds that no original exists, the original detection sensor is moved in the sub-scanning direction. The document size is detected by moving in the negative direction.

また、本発明の画像処理装置は、該原稿検出センサのホームポジションの主走査方向の位置Xoと、該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、該主走査方向判定手段で偽と判定されとき、該原稿検出センサを主走査方向の負の方向に(X−α)移動(ただし、0<α<X)し、該原稿検出センサで原稿が存在することが判明されたときには、該原稿検出センサを副走査方向の正の方向に移動させて原稿サイズを検出することを特徴とする。   In the image processing apparatus of the present invention, the position Xo of the home position of the document detection sensor in the main scanning direction is compared with the length X held by the main scanning direction length holding unit, and X <Xo. When the main scanning direction determination means and the main scanning direction determination means determine false, the document detection sensor moves (X−α) in the negative direction of the main scanning direction (where 0 <α < X), and when it is determined that the document exists by the document detection sensor, the document size is detected by moving the document detection sensor in the positive direction of the sub-scanning direction.

また、本発明の画像処理装置は、該原稿検出センサのホームポジションの主走査方向の位置Xoと、該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、該主走査方向判定手段で偽と判定されとき、該原稿検出センサを主走査方向の負の方向に(X−α)移動(ただし、0<α<X)し、該原稿検出センサで原稿が存在しないことが判明されたときには、該原稿検出センサを副走査方向の負の方向に移動させて原稿サイズを検出することを特徴とする。   In the image processing apparatus of the present invention, the position Xo of the home position of the document detection sensor in the main scanning direction is compared with the length X held by the main scanning direction length holding unit, and X <Xo. When the main scanning direction determination means and the main scanning direction determination means determine false, the document detection sensor moves (X−α) in the negative direction of the main scanning direction (where 0 <α < X), and when it is determined by the document detection sensor that there is no document, the document detection sensor is moved in the negative direction of the sub-scanning direction to detect the document size.

また、本発明の画像処理装置の制御方法は、原稿台上に載置された原稿の主走査方向1列分の画像を読み取るラインセンサによって該原稿台上に載置された原稿の主走査方向の長さを検知し、当該長さが規格長さと一致しないときは、該原稿台の内部において主走査方向及び副走査方向に移動可能に構成される原稿検出センサを移動させて、原稿のサイズを検出するように制御することを特徴とする。   Further, according to the control method of the image processing apparatus of the present invention, the main scanning direction of the document placed on the document table is read by a line sensor that reads an image for one column of the document placed on the document table in the main scanning direction. If the length does not match the standard length, a document detection sensor configured to be movable in the main scanning direction and the sub-scanning direction is moved inside the document table, and the size of the document is It controls to detect.

本発明の画像処理装置及び画像処理装置の制御方法によれば、規格で決まっている定形サイズの原稿については、ラインセンサとホームポジションにある原稿検出センサからの情報によって、センサ等を移動させることなく検出することができ、かつ、規格外の原稿サイズについても原稿検出センサが移動することによって、検知することができるので、原稿サイズの検知に要する時間を大幅に短縮することができ、使い勝手のよい画像処理装置を提供することができる。   According to the image processing apparatus and the control method of the image processing apparatus of the present invention, for a standard size document determined by the standard, the sensor or the like is moved according to information from the line sensor and the document detection sensor at the home position. Since the document detection sensor can be detected by moving the document detection sensor even when the document size is out of the standard, the time required to detect the document size can be greatly shortened. A good image processing apparatus can be provided.

以下、本発明の実施の形態を図面を参照しつつ説明する。本実施形態においては画像処理装置として複合機を例にとり説明するが、本発明はこのような複合機に限らず単体としての、スキャナ装置、ファクシミリ専用機などの画像処理装置にも適用可能なものである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the present embodiment, a multi-function peripheral is described as an example of the image processing apparatus. However, the present invention is not limited to such a multi-function peripheral, but can be applied to a single image processing apparatus such as a scanner device or a facsimile dedicated machine. It is.

図1は本発明の実施の形態に係るファクシミリ装置(複合機)及びその周辺のシステム構成を示す図である。図1において、10はLAN、WANなどのネットワーク、20は電話回線、100は複合機、110は複合機の主制御を行う制御部、120はファクシミリ文書の送受信を行うファクシミリ部、130は記録媒体への印刷を行うプリンタ部、140は原稿の読み取りを行うスキャナ部、150はユーザーとのインターフェイスとなる操作パネル部、160はネットワークI/F、170はUSB I/F、200、200’、200’’はパーソナルコンピュータ、300は外部機器をそれぞれ示している。   FIG. 1 is a diagram showing a system configuration of a facsimile apparatus (multifunction machine) and its peripherals according to an embodiment of the present invention. In FIG. 1, 10 is a network such as a LAN or WAN, 20 is a telephone line, 100 is a multifunction device, 110 is a control unit that performs main control of the multifunction device, 120 is a facsimile unit that transmits and receives facsimile documents, and 130 is a recording medium. A printer unit that prints on a document, 140 a scanner unit that reads a document, 150 an operation panel unit that serves as an interface with a user, 160 a network I / F, 170 a USB I / F, 200, 200 ′, 200 '' Indicates a personal computer, and 300 indicates an external device.

図1に示されるファクシミリ装置(複合機)周辺のシステムでは、クライアントなどのパーソナルコンピュータ200、200’、200’’と複合機100とが、ネットワーク10を介して接続される構成となっている。また、複合機100のファクシミリ部120が電話回線20と、USB I/F170が、携帯電話やデジタルカメラなどの外部機器300と接続されるような構成とされている。   In the system around the facsimile apparatus (multifunction machine) shown in FIG. 1, personal computers 200, 200 ′, 200 ″ such as clients and the multifunction machine 100 are connected via a network 10. Further, the facsimile unit 120 of the multifunction peripheral 100 is configured to be connected to the telephone line 20 and the USB I / F 170 is connected to an external device 300 such as a mobile phone or a digital camera.

複合機100は、情報処理装置からなる複合機本体の主制御を行う制御部110と、ユーザーの入力操作を受け付ける入出力装置である操作パネル部150と、原稿・画像をスキャンしてカラーで読み込むスキャナ部140と、印刷用紙等に印刷を行うプリンタ部130と、ファクシミリ送受信を行うファクシミリ部120とを備える。つまり、複合機100は、スキャナ機能、印刷機能、スキャナ機能と印刷機能を組み合わせたコピー機能及びファクシミリ送受信機能を備えるものである。   The multifunction device 100 scans and reads a document / image in color by a control unit 110 that performs main control of the multifunction device main body including an information processing device, an operation panel unit 150 that is an input / output device that receives a user's input operation A scanner unit 140, a printer unit 130 that performs printing on printing paper or the like, and a facsimile unit 120 that performs facsimile transmission / reception are provided. That is, the multi-function device 100 includes a scanner function, a print function, a copy function combining the scanner function and the print function, and a facsimile transmission / reception function.

複合機100の情報処理機構は、いずれも例えば汎用的なコンピュータシステムにより構成され、個々の構成要素または機能は、例えば、記憶手段に書き込まれたコンピュータプログラムを実行することにより実現される。   Each of the information processing mechanisms of the multifunction peripheral 100 is configured by, for example, a general-purpose computer system, and each component or function is realized by, for example, executing a computer program written in a storage unit.

スキャナ部140は、原稿を載置可能な不図示の原稿台とこれを読み取る光学系からなる。スキャナ部140の原稿台には、原稿台に載置した原稿のサイズを検知することができる原稿サイズ検知センサが設けられている。また、複合機に100には、スキャナ部140に自動的に連続的に原稿を送致する構成である自動原稿搬送装置(ADF:Automatic Document Feeder)が設けられている。   The scanner unit 140 includes a document table (not shown) on which a document can be placed and an optical system that reads the document table. The document table of the scanner unit 140 is provided with a document size detection sensor that can detect the size of the document placed on the document table. Further, the multifunction peripheral 100 is provided with an automatic document feeder (ADF) that automatically and continuously feeds documents to the scanner unit 140.

スキャナ部140によって読み取られた制御部110の不図示の記憶手段に一度取り込まれる。操作パネル部150などからの指定によって制御部110は、スキャナ部140で読み取られた原稿画像データを、そのまま、或いは設定された倍率でプリンタ部130から紙出力したり(複合機100のコピー機能)、ファクシミリ部120から電話回線を通じて送信したり(複合機100のファクシミリ機能)、ネットワークI/F160、ネットワーク10を介して、パーソナルコンピュータ200、200’、200’’に向けて送信したり(複合機100のスキャナ機能)する。   The data read by the scanner unit 140 is once stored in a storage unit (not shown) of the control unit 110. The control unit 110 outputs the document image data read by the scanner unit 140 from the printer unit 130 as it is or at a set magnification according to the designation from the operation panel unit 150 or the like (copy function of the MFP 100). , Transmitted from the facsimile unit 120 via a telephone line (facsimile function of the multifunction device 100), or transmitted to the personal computers 200, 200 ′, 200 ″ via the network I / F 160 and the network 10 (multifunction device). 100 scanner functions).

プリンタ部130は、記録用紙上に画像を形成するものであり、レーザーやLEDラインヘッドによって感光体上に潜像を形成する方式を採用した電子写真方式や、記録用紙上に直接インクを射出する方式を採用したインクジェット方式などの周知のハードウエア構成を用いることができる。制御部110は、操作パネル部150やパーソナルコンピュータ200、200’、200’’或いは、携帯電話、デジタルカメラなどの外部機器300からの指示に基づいて、プリンタ部130に所定の紙出力を行わせるものである。すなわち、プリンタ部130は、スキャナ部140によって読み取られた画像データやファクシミリ部210で受信されたファクシミリデータや、パーソナルコンピュータ200、200’、200’’のアプリケーションソフトウエアからのデータや外部機器300からの画像データなどを紙出力するものである。   The printer unit 130 forms an image on a recording sheet. The printer unit 130 employs a method of forming a latent image on a photoconductor with a laser or an LED line head, or directly ejects ink onto a recording sheet. A well-known hardware configuration such as an ink jet method employing the method can be used. The control unit 110 causes the printer unit 130 to perform predetermined paper output based on an instruction from the operation panel unit 150, the personal computers 200, 200 ′, and 200 ″, or an external device 300 such as a mobile phone or a digital camera. Is. That is, the printer unit 130 receives image data read by the scanner unit 140, facsimile data received by the facsimile unit 210, data from application software of the personal computers 200, 200 ′, 200 ″, and external devices 300. The image data is output on paper.

ファクシミリ部120は、電話回線20と接続されていて、ファクシミリの送受信を行うファクシミリ送受信部(不図示)と、ファクシミリ送受信部が送信するための送信データを一時記憶する送信バッファ及びファクシミリ送受信部が受信した受信データを一時記憶する受信バッファを構成するためのファクシミリ部用のメモリを備えている。   The facsimile unit 120 is connected to the telephone line 20 and is received by a facsimile transmission / reception unit (not shown) that performs facsimile transmission / reception, a transmission buffer that temporarily stores transmission data to be transmitted by the facsimile transmission / reception unit, and a facsimile transmission / reception unit. And a facsimile unit memory for constituting a reception buffer for temporarily storing received data.

また、ファクシミリ部120は、電話回線20からファクシミリ送信されてきたデータを受信すると、その受信データを一旦格納する。そして、格納された受信データは、制御部110へ送られて、プリンタ部130で印刷される。ファクシミリ部120は、複合機100内の他の構成とは独立にファクシミリ送受信を行う。つまり、ファクシミリ部120は、複合機100から送信データを受け付けると、複合機100とは独立にファクシミリ送信を行うし、電話回線20からファクシミリデータが送信されてくれば、それを受信する。   Further, when the facsimile unit 120 receives data transmitted by facsimile from the telephone line 20, it temporarily stores the received data. The stored received data is sent to the control unit 110 and printed by the printer unit 130. The facsimile unit 120 performs facsimile transmission / reception independently of other components in the multifunction peripheral 100. In other words, when the facsimile unit 120 receives transmission data from the multifunction device 100, the facsimile unit 120 performs facsimile transmission independently of the multifunction device 100. If facsimile data is transmitted from the telephone line 20, the facsimile unit 120 receives the facsimile data.

複合機100のコピー機能は、ユーザーの操作パネル部150の操作によって制御部110に設定される。操作パネル部150からは、コピー機能に係るコピー倍率の設定、原稿画像サイズの設定、出力用紙のサイズの設定を行うことができ、制御部110はこれらの設定に基づいて、複合機100のコピー機能を実行する。複合機100のコピー機能は、スキャナ部140にて読み取った原稿の原稿画像データに、コピー倍率処理を施し、これをプリンタ部130で指定されたサイズの用紙に紙出力する。   The copy function of the multifunction peripheral 100 is set in the control unit 110 by the user operating the operation panel unit 150. From the operation panel unit 150, a copy magnification setting, a document image size setting, and an output paper size setting related to the copy function can be set. Based on these settings, the control unit 110 can copy the MFP 100. Perform the function. The copy function of the multifunction peripheral 100 performs copy magnification processing on the original image data read by the scanner unit 140, and outputs the result to paper of a size specified by the printer unit 130.

操作パネル部150のハードウエアは、操作に係わる表示を行うLCDからなる表示部と、指などによる押圧で入力が行えるタッチパネル部とから概略構成される。これらの表示部とタッチパネル部とは重ねて構成されており、ユーザーは表示部の表示を参照しつつ、指でタッチパネル部を操作することで複合機100の各種設定を行うことができるようになっている。タッチパネル部による入力機構、表示部による表示機構の具体的な構成については、周知の技術を用いることができる。この操作パネル部150で行うことができるのは、複合機100のファクシミリ機能、プリンタ機能、コピー機能といった各種機能の選択、画像のプレビュー表示などである。   The hardware of the operation panel unit 150 is roughly composed of a display unit composed of an LCD for performing display related to an operation, and a touch panel unit capable of inputting by pressing with a finger or the like. The display unit and the touch panel unit are configured to overlap each other, and the user can perform various settings of the MFP 100 by operating the touch panel unit with a finger while referring to the display on the display unit. ing. A well-known technique can be used about the specific structure of the input mechanism by a touchscreen part, and the display mechanism by a display part. The operation panel unit 150 can select various functions such as a facsimile function, a printer function, and a copy function of the multifunction machine 100, and display an image preview.

次に、本発明で用いられるスキャナ部140について説明する。図2は本発明の実施の形態に係る画像処理装置(複合機)のスキャナ部140の概略構成を示す図である。図2において、1010は本体、1011は原稿台、1013は白基準、1014はインターフェイス、1020はキャリッジ、1021は光源、1022はミラー、1023は集光レンズ、1024はラインセンサ、1025はA/D変換器、1030はスキャナ制御部、1031はCPU(Central ProcessingUnit)、1032はRAM(Random Access Memory)、1033はROM(Read Only Memory)、1040はデータ処理部、1050は画像処理部、1100は原稿検出センサをそれぞれ示している。   Next, the scanner unit 140 used in the present invention will be described. FIG. 2 is a diagram showing a schematic configuration of the scanner unit 140 of the image processing apparatus (multifunction machine) according to the embodiment of the present invention. In FIG. 2, 1010 is a main body, 1011 is a document table, 1013 is a white reference, 1014 is an interface, 1020 is a carriage, 1021 is a light source, 1022 is a mirror, 1023 is a condenser lens, 1024 is a line sensor, and 1025 is an A / D. Converter, 1030 is scanner control unit, 1031 is CPU (Central Processing Unit), 1032 is RAM (Random Access Memory), 1033 is ROM (Read Only Memory), 1040 is data processing unit, 1050 is image processing unit, 1100 is manuscript Each detection sensor is shown.

図2に示すように、スキャナ部140は箱形の本体1010の内部にキャリッジ1020を備えている。この本体1010の上方にガラス製で透明な原稿台1011が設けられている。キャリッジ1020は、本体1010の内部に図示しない駆動手段により原稿台1011に対して平行な副走査方向へ往復移動可能に設けられている。原稿台1011の反キャリッジ側に読み取り対象となる原稿Dが載置される。   As shown in FIG. 2, the scanner unit 140 includes a carriage 1020 inside a box-shaped main body 1010. A transparent glass platen 1011 is provided above the main body 1010. The carriage 1020 is provided inside the main body 1010 so as to be reciprocally movable in a sub-scanning direction parallel to the document table 1011 by a driving unit (not shown). A document D to be read is placed on the side opposite to the carriage of the document table 1011.

キャリッジ1020には、光源1021、ミラー1022、集光レンズ1023およびラインセンサ1024が搭載されている。ミラー1022は、ラインセンサ1024に集光される原稿Dからの光を反射し、光路長を長くするために設けられている。集光レンズ1023は、原稿Dからの光をラインセンサ1024に集光する。ラインセンサ1024には、CCDなどの複数の画素をキャリッジ1020の移動方向と垂直に直線的に配列した電荷結合素子が使用される。ラインセンサ1024にはA/D変換器1025が接続され、ラインセンサ1024およびA/D変換器1025は撮像手段を構成している。A/D変換器1025では、ラインセンサ1024から出力されたアナログの電気信号がデジタルの電気信号へ変換される。   A light source 1021, a mirror 1022, a condenser lens 1023, and a line sensor 1024 are mounted on the carriage 1020. The mirror 1022 is provided to reflect the light from the document D collected by the line sensor 1024 and to increase the optical path length. The condensing lens 1023 condenses the light from the document D on the line sensor 1024. The line sensor 1024 uses a charge coupled device in which a plurality of pixels such as a CCD are linearly arranged perpendicular to the moving direction of the carriage 1020. An A / D converter 1025 is connected to the line sensor 1024, and the line sensor 1024 and the A / D converter 1025 constitute imaging means. In the A / D converter 1025, the analog electrical signal output from the line sensor 1024 is converted into a digital electrical signal.

光源1021は、キャリッジ1020の移動方向に対し垂直に設けられ、蛍光ランプなどが用いられる。光源1021から照射された光は、紙などの反射原稿の表面で反射し、ラインセンサ1024へ入射される。原稿台1011の周囲には、読み取られる原稿Dの載置位置を位置決めし、原稿読み取り時に原稿Dの移動を規制する原稿ガイド1012が設けられている。原稿台1011のキャリッジ移動方向の端部には、高反射率均一反射面を有する白基準1013が設けられている。   The light source 1021 is provided perpendicular to the moving direction of the carriage 1020, and a fluorescent lamp or the like is used. Light emitted from the light source 1021 is reflected by the surface of a reflective original such as paper and is incident on the line sensor 1024. A document guide 1012 that positions the placement position of the document D to be read and regulates the movement of the document D when reading the document is provided around the document table 1011. A white reference 1013 having a highly reflective uniform reflection surface is provided at the end of the document table 1011 in the carriage movement direction.

本体1010の内部にはスキャナ制御部1030が搭載されている。スキャナ制御部1030は、CPU(Central ProcessingUnit)1031、記憶手段としてのRAM(Random Access Memory)1032、ROM(Read Only Memory)1033、ならびにデータ処理部1040を備えて構成されている。CPU1031は、キャリッジ1020の駆動の制御、光源1021の点滅の制御、原稿Dの読み取り状態の制御、データ処理部1040、ならびに後述する画像処理部1050でのデジタルデータの処理などスキャナ部140の全体の制御を行う。RAM1032は、ラインセンサ1024で読み取られたデジタルデータなどを一時的に格納する。ROM1033にはCPU1031によりスキャナ部140の各部を制御するためのコンピュータプログラムが格納されている。   A scanner control unit 1030 is mounted inside the main body 1010. The scanner control unit 1030 includes a CPU (Central Processing Unit) 1031, a RAM (Random Access Memory) 1032 as storage means, a ROM (Read Only Memory) 1033, and a data processing unit 1040. The CPU 1031 controls the entire scanner unit 140 such as control of driving of the carriage 1020, control of blinking of the light source 1021, control of reading state of the document D, data processing unit 1040, and digital data processing in the image processing unit 1050 described later. Take control. The RAM 1032 temporarily stores digital data read by the line sensor 1024 and the like. The ROM 1033 stores a computer program for controlling each unit of the scanner unit 140 by the CPU 1031.

データ処理部1040は、原稿から読み取ったデジタルの光量信号に対してシェーディング補正、ガンマ補正、その他の補正を行ない、デジタルの光量信号をデジタルデータに変換する。ここで、シェーディング補正は、A/D変換器1025から出力されたデジタルの電気信号を、読み取り開始前に白基準1013を読み取ることで得られたデータを用いてラインセンサ1024の素子ごとの感度のばらつき、または光源1021の主走査方向の光量のばらつきを補正するものである。ガンマ補正は、所定のガンマ関数により行なう補正である。また、その他の補正としてはエッジ強調ならびに読み取り範囲の拡大/縮小など等がある。   The data processing unit 1040 performs shading correction, gamma correction, and other corrections on the digital light amount signal read from the document, and converts the digital light amount signal into digital data. Here, the shading correction is performed by using the data obtained by reading the white reference 1013 before starting the reading of the digital electrical signal output from the A / D converter 1025, and the sensitivity of each element of the line sensor 1024. The variation or the variation of the light amount of the light source 1021 in the main scanning direction is corrected. Gamma correction is correction performed by a predetermined gamma function. Other corrections include edge enhancement and enlargement / reduction of the reading range.

スキャナ制御部1030に接続されている画像処理部1050は、データ処理部1040から出力されたデジタルデータに画像処理を実施する。また、画像処理部1050は、プリスキャンのときに読み取られたデジタルデータに基づいて、カラー/モノクロ別、書類/写真等の原稿種類を判別する。   An image processing unit 1050 connected to the scanner control unit 1030 performs image processing on the digital data output from the data processing unit 1040. Further, the image processing unit 1050 determines a document type such as color / monochrome, document / photo, or the like based on digital data read during pre-scanning.

画像処理部1050で処理されたデジタルデータは、本体1010に設けられているインターフェイス1014から制御部110へ出力される。   Digital data processed by the image processing unit 1050 is output from the interface 1014 provided in the main body 1010 to the control unit 110.

次に、本発明で用いられるスキャナ部140における原稿サイズの検出ついて説明する。図3は本発明の実施の形態に係る画像処理装置(複合機)のスキャナ部140の原稿サイズ検出機構を示す図である。図3においては、スキャナ部140における原稿サイズの検出に必要な機構のみ抜き出して示している。また、原稿台1011には、A4縦置きの原稿Dと、A4横置きの原稿D’が載置されている様子が示されている。なお、図3においては、原稿Dや原稿D’などを透過的に示している。   Next, document size detection in the scanner unit 140 used in the present invention will be described. FIG. 3 is a diagram showing a document size detection mechanism of the scanner unit 140 of the image processing apparatus (multifunction machine) according to the embodiment of the present invention. In FIG. 3, only the mechanism necessary for detecting the document size in the scanner unit 140 is shown. Further, the document table 1011 shows a state where an A4 portrait document D and an A4 landscape document D 'are placed. In FIG. 3, the document D, the document D ′, and the like are shown transparently.

図中、原稿台1011の左隅奥を原点と定義し、矢印で示す方向を主走査方向、副走査方向と定義する。なお、原稿サイズの検出長さについては、主走査方向にはXを用い、副走査方向にはYを用いる。主走査方向の矢印の方向は正の方向と定義し、また、矢印の判定の方向を負の方向と定義する。副走査方向においても同様で、矢印の方向は正の方向と定義し、矢印の判定の方向を負の方向と定義する。以下、同様の図面においても同様の定義とする。   In the figure, the back left corner of the document table 1011 is defined as the origin, and the directions indicated by the arrows are defined as the main scanning direction and the sub-scanning direction. As for the detected length of the document size, X is used in the main scanning direction and Y is used in the sub scanning direction. The direction of the arrow in the main scanning direction is defined as the positive direction, and the direction of the arrow determination is defined as the negative direction. The same applies to the sub-scanning direction. The arrow direction is defined as a positive direction, and the arrow determination direction is defined as a negative direction. Hereinafter, the same definition is applied to similar drawings.

キャリッジ1020における構成は先に説明したものであり、原稿台1011に置かれた原稿Dからの光をラインセンサ1024でセンスする。ここで、原稿サイズ検出においては、キャリッジ1020をホームポジションに維持したまま、光源1021を点灯し、その反射光をラインセンサ1024で読み取ることによって、原稿Dの主走査方向(X方向)の長さを検出する。   The configuration of the carriage 1020 is as described above, and the line sensor 1024 senses light from the document D placed on the document table 1011. Here, in document size detection, the light source 1021 is turned on while the carriage 1020 is maintained at the home position, and the reflected light is read by the line sensor 1024, whereby the length of the document D in the main scanning direction (X direction). Is detected.

原稿検出センサ1100は、原稿台1011内に主走査方向及び副走査方向に移動自在に設けられている。原稿検出センサ1100は、直上に光を射出する光源部と、原稿検出センサ1100の直上に原稿Dが存在する場合に、その反射光を受光するセンサ部とから構成されており、原稿検出センサ1100の直上の原稿台1011に置かれている原稿Dの存否を検出することができるようになっている。原稿サイズ検出のための原稿検出センサ1100からの信号は、スキャナ部140におけるスキャナ制御部1030または制御部110によって処理されるように構成する。   The document detection sensor 1100 is provided in the document table 1011 so as to be movable in the main scanning direction and the sub-scanning direction. The document detection sensor 1100 includes a light source unit that emits light directly above and a sensor unit that receives reflected light when the document D exists directly above the document detection sensor 1100. The presence / absence of the document D placed on the document table 1011 directly above can be detected. A signal from the document detection sensor 1100 for document size detection is configured to be processed by the scanner control unit 1030 or the control unit 110 in the scanner unit 140.

この原稿検出センサ1100は、不図示の機構によって主走査方向及び副走査方向に移動可能に構成されているが、通常はおよそ図に示すような位置をホームポジションとしている。   The document detection sensor 1100 is configured to be movable in the main scanning direction and the sub-scanning direction by a mechanism (not shown). Usually, the position shown in the figure is the home position.

原稿台1011に置かれた原稿Dの原稿サイズ検出の概略について説明すると、まずラインセンサ1024によって、原稿Dの主走査方向(X方向)の長さを検出する。図の例では、原稿台1011に原稿Dが置かれているときには、X=210mmが検出され、原稿D’ が置かれているときには、X=297mmが検出される。このようなラインセンサ1024によって検出される原稿Dの主走査方向(X方向)の長さと、原稿検出センサ1100からの原稿台1011上の原稿Dの存否情報の双方をみて原稿サイズを検出する。ここで、ラインセンサ1024によって検出される原稿Dの主走査方向(X方向)の長さが規格外の長さであったような場合には、原稿検出センサ1100を、その移動機構によって主走査方向、副走査方向に移動させて、規格外原稿のサイズを検知するように設定する。以下、原稿サイズ検出方法の詳細について説明する。   The outline of the document size detection of the document D placed on the document table 1011 will be described. First, the line sensor 1024 detects the length of the document D in the main scanning direction (X direction). In the illustrated example, X = 210 mm is detected when the document D is placed on the document table 1011, and X = 297 mm is detected when the document D ′ is placed. The document size is detected by considering both the length in the main scanning direction (X direction) of the document D detected by the line sensor 1024 and the presence / absence information of the document D on the document table 1011 from the document detection sensor 1100. Here, when the length of the document D detected by the line sensor 1024 in the main scanning direction (X direction) is a non-standard length, the document detection sensor 1100 is scanned by the moving mechanism. It is set to detect the size of the nonstandard document by moving in the direction and the sub-scanning direction. Details of the document size detection method will be described below.

図4は本発明の実施の形態に係る画像処理装置(複合機)における原稿サイズ検出処理のフローチャートを示す図である。また、図5はISOで定められたA列の原稿が原稿台1011に載置された様子を示す図であり、図6はISOで定められたB列の原稿が原稿台1011に載置された様子を示す図である。   FIG. 4 is a flowchart of document size detection processing in the image processing apparatus (multifunction machine) according to the embodiment of the present invention. FIG. 5 is a diagram showing a state where documents in row A defined by ISO are placed on document table 1011, and FIG. 6 is a diagram in which documents in row B defined by ISO are placed on document table 1011. FIG.

なお、図11(A)はISOのA列(A5、A4、A3)の用紙サイズを示しており、(B)ISOのB列(B6、B5、B4)の用紙サイズを示している。原稿検出センサ1100のホームポジションは、これらの用紙サイズを以下に示す手法で、検出するのに好適な場所とする。   FIG. 11A shows the paper size of the ISO A column (A5, A4, A3), and (B) shows the paper size of the ISO B column (B6, B5, B4). The home position of the document detection sensor 1100 is a place suitable for detecting these paper sizes by the following method.

ステップS100において、原稿サイズ検出処理が開始されると、続くステップS101では、ラインセンサ1024によって原稿Dの主走査方向の長さXの検出が行われる。   In step S100, when the document size detection process is started, in step S101, the line sensor 1024 detects the length X of the document D in the main scanning direction.

ステップS102では、ラインセンサ1024で検出した長さがX=297mmであるか否かが判定される。ステップS102における判定の結果がYESであるときにはステップS107に進み、ステップS102における判定の結果がNOであるときにはステップS103に進む。判定の結果がYESであるとき進むステップS107では、ホームポジションにおける原稿検出センサ1100からの原稿存否に係る検出情報が読み込まれる。   In step S102, it is determined whether or not the length detected by the line sensor 1024 is X = 297 mm. When the result of determination in step S102 is YES, the process proceeds to step S107, and when the result of determination in step S102 is NO, the process proceeds to step S103. In step S107, which proceeds when the determination result is YES, detection information relating to the presence / absence of a document from the document detection sensor 1100 at the home position is read.

次にステップS108では、原稿検出センサ1100からの情報に基づいてホームポジションに原稿が存在するかが判定される。   Next, in step S108, it is determined whether a document exists at the home position based on information from the document detection sensor 1100.

ステップS108における判定の結果がYESであるときには、ステップS109に進み、原稿台1011上の原稿はA3サイズで縦置きされているものと判断する(図5中の原稿D1参照)。   When the determination result in step S108 is YES, the process proceeds to step S109, and it is determined that the document on the document table 1011 is vertically placed in A3 size (see document D1 in FIG. 5).

また、ステップS108における判定の結果がNOであるときには、ステップS110に進み、原稿台1011上の原稿はA4サイズで横置きされているものと判断する(図5中の原稿D3参照)。   If the result of the determination in step S108 is NO, the process proceeds to step S110, where it is determined that the document on the document table 1011 is placed sideways in A4 size (see document D3 in FIG. 5).

ステップS103では、ラインセンサ1024で検出した長さがX=210mmであるか否かが判定される。ステップS103における判定の結果がYESであるときにはステップS111に進み、ステップS103における判定の結果がNOであるときにはステップS104に進む。判定の結果がYESであるとき進むステップS111では、ホームポジションにおける原稿検出センサ1100からの原稿存否に係る検出情報が読み込まれる。   In step S103, it is determined whether or not the length detected by the line sensor 1024 is X = 210 mm. When the result of determination in step S103 is YES, the process proceeds to step S111, and when the result of determination in step S103 is NO, the process proceeds to step S104. In step S111 that proceeds when the determination result is YES, detection information relating to the presence or absence of the document from the document detection sensor 1100 at the home position is read.

次にステップS112では、原稿検出センサ1100からの情報に基づいてホームポジションに原稿が存在するかが判定される。ステップS112における判定の結果がYESであるときには、ステップS113に進み、原稿台1011上の原稿はA4サイズで縦置きされているものと判断する(図5中の原稿D2参照)。   In step S112, it is determined based on information from the document detection sensor 1100 whether a document exists at the home position. When the determination result in step S112 is YES, the process proceeds to step S113, and it is determined that the document on the document table 1011 is vertically placed in A4 size (see document D2 in FIG. 5).

また、ステップS112における判定の結果がNOであるときには、ステップS114に進み、原稿台1011上の原稿はA5サイズで横置きされているものと判断する(図5中の原稿D4参照)。   If the result of determination in step S112 is NO, the process proceeds to step S114, and it is determined that the document on the document table 1011 is horizontally placed in A5 size (see document D4 in FIG. 5).

ステップS104では、ラインセンサ1024で検出した長さがX=250mmであるか否かが判定される。ステップS104における判定の結果がYESであるときにはステップS115に進み、ステップS104における判定の結果がNOであるときにはステップS105に進む。判定の結果がYESであるとき進むステップS115では、ホームポジションにおける原稿検出センサ1100からの原稿存否に係る検出情報が読み込まれる。   In step S104, it is determined whether or not the length detected by the line sensor 1024 is X = 250 mm. When the result of determination in step S104 is YES, the process proceeds to step S115, and when the result of determination in step S104 is NO, the process proceeds to step S105. In step S115, which proceeds when the determination result is YES, detection information relating to the presence / absence of a document from the document detection sensor 1100 at the home position is read.

次にステップS116では、原稿検出センサ1100からの情報に基づいてホームポジションに原稿が存在するかが判定される。   In step S116, it is determined based on information from the document detection sensor 1100 whether a document exists at the home position.

ステップS116における判定の結果がYESであるときには、ステップS117に進み、原稿台1011上の原稿はB4サイズで縦置きされているものと判断する(図6中の原稿D1参照)。   When the determination result in step S116 is YES, the process proceeds to step S117, and it is determined that the document on the document table 1011 is vertically placed in B4 size (see document D1 in FIG. 6).

また、ステップS116における判定の結果がNOであるときには、ステップS118に進み、原稿台1011上の原稿はB5サイズで横置きされているものと判断する(図5中の原稿D3参照)。   If the determination result in step S116 is NO, the process proceeds to step S118, and it is determined that the document on the document table 1011 is horizontally placed in the B5 size (see document D3 in FIG. 5).

ステップS105では、ラインセンサ1024で検出した長さがX=176mmであるか否かが判定される。ステップS105における判定の結果がYESであるときにはステップS119に進み、ステップS105における判定の結果がNOであるときにはステップS106に進む。判定の結果がYESであるとき進むステップS119では、ホームポジションにおける原稿検出センサ1100からの原稿存否に係る検出情報が読み込まれる。   In step S105, it is determined whether or not the length detected by the line sensor 1024 is X = 176 mm. When the result of determination in step S105 is YES, the process proceeds to step S119, and when the result of determination in step S105 is NO, the process proceeds to step S106. In step S119, which proceeds when the determination result is YES, detection information relating to the presence or absence of the document from the document detection sensor 1100 at the home position is read.

次にステップS120では、原稿検出センサ1100からの情報に基づいてホームポジションに原稿が存在するかが判定される。   In step S120, it is determined whether a document exists at the home position based on information from the document detection sensor 1100.

ステップS120における判定の結果がYESであるときには、ステップS121に進み、原稿台1011上の原稿はB5サイズで縦置きされているものと判断する(図6中の原稿D2参照)。   When the determination result in step S120 is YES, the process proceeds to step S121, and it is determined that the document on the document table 1011 is placed vertically in the B5 size (see document D2 in FIG. 6).

また、ステップS120における判定の結果がNOであるときには、ステップS122に進み、原稿台1011上の原稿はB6サイズで横置きされているものと判断する(図5中の原稿D4参照)。   If the result of determination in step S120 is NO, the process proceeds to step S122, and it is determined that the document on the document table 1011 is horizontally placed in B6 size (see document D4 in FIG. 5).

ステップS105においてNOであると判定されたときには、原稿台1011上の原稿はA列に属するものでもなく、B列に属するものでもない規格外のものである、ということになる。したがって、続く、ステップS106では、規格外サイズ検出サブルーチンにジャンプする。ステップS123で、原稿サイズ検出処理を終了する。   If it is determined NO in step S105, it means that the document on the platen 1011 does not belong to the A column and is not a standard that does not belong to the B column. Therefore, in the following step S106, the process jumps to a nonstandard size detection subroutine. In step S123, the document size detection process ends.

次に、ステップS106でジャンプする規格外サイズ検出サブルーチンについて説明する。まず、ここで、原稿検出センサ1100のホームポジションについて説明する。図7は、本発明の実施の形態に係る画像処理装置(複合機)における原稿検出センサ1100のホームポジションの定義を説明する図である。   Next, the nonstandard size detection subroutine for jumping in step S106 will be described. First, the home position of the document detection sensor 1100 will be described here. FIG. 7 is a view for explaining the definition of the home position of the document detection sensor 1100 in the image processing apparatus (multifunction machine) according to the embodiment of the present invention.

図7は原稿台1011を上からみた上面図である。原稿検出センサ1100のホームポジションは、原点(原稿台1011左上隅)から主走査方向にXo、副走査方向にYo進んだ位置とする。以下に説明する規格外サイズ検出処理において、原稿検出センサ1100は、このホームポジションから移動して、検出状態が変わる(検出信号が反転する)位置をその移動量から求めるものとする。   FIG. 7 is a top view of the document table 1011 as seen from above. The home position of the document detection sensor 1100 is a position advanced from the origin (upper left corner of the document table 1011) by Xo in the main scanning direction and Yo in the sub-scanning direction. In the nonstandard size detection process described below, the document detection sensor 1100 moves from the home position and obtains a position where the detection state changes (the detection signal is inverted) from the amount of movement.

図8は本発明の実施の形態に係る画像処理装置(複合機)における規格外サイズ検出サブルーチンのフローチャートを示す図である。また、図9はX>Xoの原稿が原稿台1011に載置された様子を示す図であり、図10はX≦Xoの原稿が原稿台1011に載置された様子を示す図である。   FIG. 8 is a flowchart of a nonstandard size detection subroutine in the image processing apparatus (multifunction machine) according to the embodiment of the present invention. FIG. 9 is a diagram showing a state where a document of X> Xo is placed on the document table 1011, and FIG. 10 is a diagram showing a state where a document of X ≦ Xo is placed on the document table 1011.

ステップS200で、規格外サイズ検出サブルーチンがスターとすると、次にステップS201において、ラインセンサ1024によって検出される原稿Dの主走査方向の長さXと、原稿検出センサ1100のホームポジションの主走査方向の座標Xoとを比較して、X>Xoを満たすかが判定される。   If the non-standard size detection subroutine is star in step S200, then in step S201, the length X of the document D detected by the line sensor 1024 in the main scanning direction and the main scanning direction of the home position of the document detection sensor 1100 are detected. Is compared with the coordinate Xo, and it is determined whether X> Xo is satisfied.

ステップS201の判定の結果がYESであるときはステップS202に進み、ステップS201の判定の結果がNOであるときはステップS210に進む。   When the determination result of step S201 is YES, the process proceeds to step S202, and when the determination result of step S201 is NO, the process proceeds to step S210.

ステップS202においては、ホームポジションにおける原稿検出センサ1100からの原稿存否に係る検出情報が読み込まれる。   In step S202, detection information relating to the presence / absence of a document from document detection sensor 1100 at the home position is read.

次にステップS203では、原稿検出センサ1100からの情報に基づいてホームポジションに原稿が存在するかが判定される。   In step S203, it is determined based on information from the document detection sensor 1100 whether a document exists at the home position.

ステップS203における判定の結果がYESであるときにはステップS204に進み、ステップS203における判定の結果がNOであるときにはステップS207に進む。   When the result of determination in step S203 is YES, the process proceeds to step S204, and when the result of determination in step S203 is NO, the process proceeds to step S207.

ステップS204においては、原稿検出センサ1100を副走査方向の正の方向に移動させる。ステップS205においては、原稿検出センサ1100の信号が反転する位置を検出する。このような位置が原稿の端部位置となる。ステップS206においては、原稿検出センサ1100の移動量に基づいてYの算出を行う。ステップS206までの処理によって例えば、図9の原稿D1のサイズを検知することが可能となる。   In step S204, document detection sensor 1100 is moved in the positive direction of the sub-scanning direction. In step S205, a position where the signal of document detection sensor 1100 is inverted is detected. Such a position is the edge position of the document. In step S206, Y is calculated based on the amount of movement of document detection sensor 1100. By the processing up to step S206, for example, the size of the document D1 in FIG. 9 can be detected.

ステップS203における判定の結果がNOであるとき進むステップS207においては、原稿検出センサ1100を副走査方向の負の方向に移動させる。ステップS208においては、原稿検出センサ1100の信号が反転する位置を検出する。ステップS209においては、原稿検出センサ1100の移動量に基づいてYの算出を行う。ステップS209までの処理によって例えば、図9の原稿D2のサイズを検知することが可能となる。   In step S207, which proceeds when the result of the determination in step S203 is NO, the document detection sensor 1100 is moved in the negative direction of the sub-scanning direction. In step S208, a position where the signal of document detection sensor 1100 is inverted is detected. In step S209, Y is calculated based on the movement amount of the document detection sensor 1100. By the processing up to step S209, for example, the size of the document D2 in FIG. 9 can be detected.

ステップS201における判定の結果がNOであるときに進むステップS210においては、原稿検出センサ1100をホームポジションから主走査方向の負の方向に移動させる。これにより、原稿検出センサ1100を主走査方向の座標値としては(X−α)のところまで移動させる。ただし、αの値は、0<α<Xである。ステップS210で、原稿検出センサ1100を図10におけるPの位置まで移動させるわけである。   In step S210, which proceeds when the result of the determination in step S201 is NO, the document detection sensor 1100 is moved from the home position in the negative direction of the main scanning direction. As a result, the document detection sensor 1100 is moved to (X−α) as the coordinate value in the main scanning direction. However, the value of α is 0 <α <X. In step S210, the document detection sensor 1100 is moved to the position P in FIG.

ステップS211においては、ホームポジションにおける原稿検出センサ1100からの原稿存否に係る検出情報が読み込まれる。次にステップS212では、原稿検出センサ1100からの情報に基づいてホームポジションに原稿が存在するかが判定される。   In step S211, detection information relating to the presence / absence of a document from the document detection sensor 1100 at the home position is read. Next, in step S212, it is determined whether a document exists at the home position based on information from the document detection sensor 1100.

ステップS212における判定の結果がYESであるときにはステップS213に進み、ステップS212における判定の結果がNOであるときにはステップS216に進む。   When the result of determination in step S212 is YES, the process proceeds to step S213, and when the result of determination in step S212 is NO, the process proceeds to step S216.

ステップS213においては、原稿検出センサ1100を副走査方向の正の方向に移動させる。ステップS214においては、原稿検出センサ1100の信号が反転する位置を検出する。このような位置が原稿の端部位置となる。ステップS215においては、原稿検出センサ1100の移動量に基づいてYの算出を行う。ステップS215までの処理によって例えば、図10の原稿D1のサイズを検知することが可能となる。   In step S213, document detection sensor 1100 is moved in the positive direction of the sub-scanning direction. In step S214, a position where the signal of document detection sensor 1100 is inverted is detected. Such a position is the edge position of the document. In step S215, Y is calculated based on the amount of movement of document detection sensor 1100. By the processing up to step S215, for example, the size of the document D1 in FIG. 10 can be detected.

ステップS212における判定の結果がNOであるとき進むステップS216においては、原稿検出センサ1100を副走査方向の負の方向に移動させる。ステップS217においては、原稿検出センサ1100の信号が反転する位置を検出する。ステップS218においては、原稿検出センサ1100の移動量に基づいてYの算出を行う。ステップS218までの処理によって例えば、図10の原稿D2のサイズを検知することが可能となる。   In step S216, which proceeds when the result of the determination in step S212 is NO, the document detection sensor 1100 is moved in the negative direction of the sub-scanning direction. In step S217, a position where the signal of document detection sensor 1100 is inverted is detected. In step S218, Y is calculated based on the amount of movement of document detection sensor 1100. By the processing up to step S218, for example, the size of the document D2 in FIG. 10 can be detected.

以上、本発明の画像処理装置及び画像処理装置の制御方法によれば、規格で決まっている定形サイズの原稿については、ラインセンサとホームポジションにある原稿検出センサからの情報によって、センサ等を移動させることなく検出することができ、かつ、規格外の原稿サイズについても原稿検出センサが移動することによって、検知することができるので、原稿サイズの検知に要する時間を大幅に短縮することができ、使い勝手のよい画像処理装置を提供することができる。   As described above, according to the image processing apparatus and the control method of the image processing apparatus of the present invention, for a standard-size document determined by the standard, the sensor or the like is moved according to information from the line sensor and the document detection sensor at the home position. Since the document detection sensor can be detected by moving the document detection sensor even when the document size is out of the standard, the time required to detect the document size can be greatly reduced. A user-friendly image processing apparatus can be provided.

本発明の実施の形態に係る画像処理装置(複合機)及びその周辺のシステム構成を示す図である。1 is a diagram illustrating a system configuration of an image processing apparatus (multifunction peripheral) and its surroundings according to an embodiment of the present invention. 本発明の実施の形態に係る画像処理装置(複合機)のスキャナ部140の概略構成を示す図である。1 is a diagram illustrating a schematic configuration of a scanner unit 140 of an image processing apparatus (multifunction machine) according to an embodiment of the present invention. 本発明の実施の形態に係る画像処理装置(複合機)のスキャナ部140の原稿サイズ検出機構を示す図である。FIG. 3 is a diagram illustrating a document size detection mechanism of a scanner unit 140 of an image processing apparatus (multifunction machine) according to an embodiment of the present invention. 本発明の実施の形態に係る画像処理装置(複合機)における原稿サイズ検出処理のフローチャートを示す図である。FIG. 10 is a diagram illustrating a flowchart of document size detection processing in the image processing apparatus (multifunction peripheral) according to the embodiment of the present invention. ISOで定められたA列の原稿が原稿台1011に載置された様子を示す図である。FIG. 6 is a diagram showing a state where documents in row A defined by ISO are placed on a document table 1011. ISOで定められたB列の原稿が原稿台1011に載置された様子を示す図である。FIG. 10 is a diagram showing a state where documents in row B defined by ISO are placed on a document table 1011. 本発明の実施の形態に係る画像処理装置(複合機)における原稿検出センサ1100のホームポジションの定義を説明する図である。FIG. 10 is a diagram for explaining the definition of the home position of document detection sensor 1100 in the image processing apparatus (multifunction machine) according to the embodiment of the present invention. 本発明の実施の形態に係る画像処理装置(複合機)における規格外サイズ検出サブルーチンのフローチャートを示す図である。It is a figure which shows the flowchart of the nonstandard size detection subroutine in the image processing apparatus (multifunction machine) which concerns on embodiment of this invention. はX>Xoの原稿が原稿台1011に載置された様子を示す図である。FIG. 10 is a diagram showing a state where a document of X> Xo is placed on a document table 1011. X≦Xoの原稿が原稿台1011に載置された様子を示す図である。6 is a diagram illustrating a state in which a document of X ≦ Xo is placed on a document table 1011. FIG. (A)はISOのA列(A5、A4、A3)の用紙サイズを示しており、(B)ISOのB列(B6、B5、B4)の用紙サイズを示している。(A) shows the paper size of the ISO A row (A5, A4, A3), and (B) shows the paper size of the ISO B row (B6, B5, B4).

符号の説明Explanation of symbols

10・・・ネットワーク、20・・・電話回線、100・・・複合機、110・・・制御部、111・・・解像度設定部、112・・・転送用メモリ、113・・・解像度の設定用テーブル、114・・・画像処理中止信号生成部、115・・・メモリ解放信号生成部、120・・・ファクシミリ部、130・・・プリンタ部、140・・・スキャナ部、150・・・操作パネル部、160・・・ネットワークI/F、170・・・USB I/F、200、200’、200’’ ・・・パーソナルコンピュータ、300・・・外部機器、1010・・・本体、1011・・・原稿台、1013・・・白基準、1014・・・インターフェイス、1020・・・キャリッジ、1021・・・光源、1022・・・ミラー、1023・・・集光レンズ、1024・・・ラインセンサ、1025・・・A/D変換器、1030・・・スキャナ制御部、1031・・・CPU(Central ProcessingUnit)、1032・・・RAM(Random Access Memory)、1033・・・ROM(Read Only Memory)、1040・・・データ処理部、1050・・・画像処理部、1100・・・原稿検出センサ DESCRIPTION OF SYMBOLS 10 ... Network, 20 ... Telephone line, 100 ... Multifunction device, 110 ... Control part, 111 ... Resolution setting part, 112 ... Transfer memory, 113 ... Setting of resolution Table ... 114 Image processing stop signal generation unit 115 ... Memory release signal generation unit 120 ... Facsimile unit 130 ... Printer unit 140 ... Scanner unit 150 ... Operation Panel section, 160 ... Network I / F, 170 ... USB I / F, 200, 200 ', 200 "... Personal computer, 300 ... External device, 1010 ... Main body, 1011 .. Original platen, 1013... White reference, 1014... Interface, 1020... Carriage, 1021... Light source, 1022. 1024 line sensor, 1025 A / D converter, 1030 scanner control unit, 1031 CPU (Central Processing Unit), 1032 RAM (Random Access Memory), 1033 ..ROM (Read Only Memory), 1040... Data processing unit, 1050... Image processing unit, 1100.

Claims (6)

原稿台上に載置された原稿の主走査方向1列分の画像を読み取るラインセンサと、
該原稿台の内部において主走査方向及び副走査方向に移動可能に構成され、原稿台の所定箇所の原稿の存否を検出する原稿検出センサと、
該ラインセンサによって該原稿台上に載置された原稿の主走査方向の長さを検知し保持する主走査方向長さ保持手段と、
該主走査方向長さ保持手段が保持する長さと、規格長さと一致するか否かを判定する規格長さ判定手段と、を有し、
該規格長さ判定手段によって、該主走査方向長さ保持手段が保持する長さが規格長さと一致しないと判定されたときには、
該原稿検出センサを移動させることを特徴とする画像処理装置。
A line sensor that reads an image of one column of the document placed on the document table in the main scanning direction;
A document detection sensor configured to be movable in the main scanning direction and the sub-scanning direction inside the document table, and detecting the presence or absence of a document at a predetermined position on the document table;
Main scanning direction length holding means for detecting and holding the length in the main scanning direction of the document placed on the document table by the line sensor;
A length held by the main scanning direction length holding means, and a standard length judging means for judging whether or not the length matches the standard length,
When the standard length determining means determines that the length held by the main scanning direction length holding means does not match the standard length,
An image processing apparatus that moves the document detection sensor.
該原稿検出センサのホームポジションの主走査方向の位置Xoと、
該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、
該主走査方向判定手段で真と判定され、かつ、
該原稿検出センサで原稿が存在することが判明されたときには、
該原稿検出センサを副走査方向の正の方向に移動させて原稿サイズを検出することを特徴とする請求項1に記載の画像処理装置。
A position Xo in the main scanning direction of the home position of the document detection sensor;
A main scanning direction determining unit that compares the length X held by the main scanning direction length holding unit to determine whether X <Xo;
Determined to be true by the main scanning direction determining means, and
When it is determined by the document detection sensor that a document exists,
The image processing apparatus according to claim 1, wherein the document size is detected by moving the document detection sensor in a positive direction of the sub-scanning direction.
該原稿検出センサのホームポジションの主走査方向の位置Xoと、
該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、
該主走査方向判定手段で真と判定され、かつ、
該原稿検出センサで原稿が存在しないことが判明されたときには、
該原稿検出センサを副走査方向の負の方向に移動させて原稿サイズを検出することを特徴とする請求項1又は請求項2に記載の画像処理装置。
A position Xo in the main scanning direction of the home position of the document detection sensor;
A main scanning direction determining unit that compares the length X held by the main scanning direction length holding unit to determine whether X <Xo;
Determined to be true by the main scanning direction determining means, and
When it is determined by the document detection sensor that there is no document,
The image processing apparatus according to claim 1, wherein the document size is detected by moving the document detection sensor in a negative direction of the sub-scanning direction.
該原稿検出センサのホームポジションの主走査方向の位置Xoと、
該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、
該主走査方向判定手段で偽と判定されとき、
該原稿検出センサを主走査方向の負の方向に(X−α)移動(ただし、0<α<X)し、該原稿検出センサで原稿が存在することが判明されたときには、
該原稿検出センサを副走査方向の正の方向に移動させて原稿サイズを検出することを特徴とする請求項1乃至請求項3のいずれかに記載の画像処理装置。
A position Xo in the main scanning direction of the home position of the document detection sensor;
A main scanning direction determining unit that compares the length X held by the main scanning direction length holding unit to determine whether X <Xo;
When the main scanning direction determining means determines that it is false,
When the document detection sensor moves (X−α) in the negative direction of the main scanning direction (where 0 <α <X) and the document detection sensor determines that a document exists,
4. The image processing apparatus according to claim 1, wherein the document size is detected by moving the document detection sensor in a positive direction of the sub-scanning direction.
該原稿検出センサのホームポジションの主走査方向の位置Xoと、
該主走査方向長さ保持手段が保持する長さXとを比較してX<Xoであるかを判定する主走査方向判定手段と、
該主走査方向判定手段で偽と判定されとき、
該原稿検出センサを主走査方向の負の方向に(X−α)移動(ただし、0<α<X)し、該原稿検出センサで原稿が存在しないことが判明されたときには、
該原稿検出センサを副走査方向の負の方向に移動させて原稿サイズを検出することを特徴とする請求項1乃至請求項4のいずれかに記載の画像処理装置。
A position Xo in the main scanning direction of the home position of the document detection sensor;
A main scanning direction determining unit that compares the length X held by the main scanning direction length holding unit to determine whether X <Xo;
When the main scanning direction determining means determines that it is false,
When the document detection sensor is moved (X−α) in the negative direction of the main scanning direction (where 0 <α <X) and the document detection sensor determines that there is no document,
The image processing apparatus according to claim 1, wherein the document size is detected by moving the document detection sensor in a negative direction of the sub-scanning direction.
原稿台上に載置された原稿の主走査方向1列分の画像を読み取るラインセンサによって該原稿台上に載置された原稿の主走査方向の長さを検知し、当該長さが規格長さと一致しないときは、該原稿台の内部において主走査方向及び副走査方向に移動可能に構成される原稿検出センサを移動させて、原稿のサイズを検出するように制御することを特徴とする画像処理装置の制御方法。 The length of the document placed on the document table in the main scanning direction is detected by a line sensor that reads an image of one column of the document placed on the document table in the main scanning direction. When the image does not match, an image is controlled so as to detect the size of the document by moving a document detection sensor configured to be movable in the main scanning direction and the sub-scanning direction inside the document table. A method for controlling a processing apparatus.
JP2007123530A 2007-05-08 2007-05-08 Image processor and control method for image processor Pending JP2008283278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007123530A JP2008283278A (en) 2007-05-08 2007-05-08 Image processor and control method for image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007123530A JP2008283278A (en) 2007-05-08 2007-05-08 Image processor and control method for image processor

Publications (1)

Publication Number Publication Date
JP2008283278A true JP2008283278A (en) 2008-11-20

Family

ID=40143754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007123530A Pending JP2008283278A (en) 2007-05-08 2007-05-08 Image processor and control method for image processor

Country Status (1)

Country Link
JP (1) JP2008283278A (en)

Similar Documents

Publication Publication Date Title
US11736641B2 (en) Apparatus and method for creating images from documents
US20200028985A1 (en) Image forming apparatus
US9131095B2 (en) Image forming apparatus and method of controlling the same
JP2015198327A (en) Image reading device, image reading method, and computer program
JP3671682B2 (en) Image recognition device
JP5683623B2 (en) Image reading device
JPH06103410A (en) Picture processor
JP2009164810A (en) Image reader
JP2007096662A (en) Image reading apparatus and image processing apparatus
JP2008283278A (en) Image processor and control method for image processor
JP2018061096A (en) Reading device and control method
CN109541908A (en) Original treatment plant and method and data processing equipment and method
JP2018022950A (en) Image reading device and image reading method
JP2008283279A (en) Image processor and control method for image processor
JP6593310B2 (en) Image reading apparatus and image forming apparatus
JP6794164B2 (en) Reader, control method and program
US20230145962A1 (en) Image reading apparatus and control method for image reading
JP2009194762A (en) Image processing apparatus
JP2003270731A (en) Image reader provided with prescanning function
KR100338082B1 (en) Method for detecting document size of flat-bed scanner system
JP7180674B2 (en) Image processing device
JP2008283280A (en) Image processor and control method for image processor
JP2010041595A (en) Image reader, image forming apparatus, image reading method, and computer program
JPH02291544A (en) Image reader
JP2021190942A (en) Image processing device, image processing method and program