[go: up one dir, main page]

JP2003348301A - Image reading apparatus - Google Patents

Image reading apparatus

Info

Publication number
JP2003348301A
JP2003348301A JP2002150165A JP2002150165A JP2003348301A JP 2003348301 A JP2003348301 A JP 2003348301A JP 2002150165 A JP2002150165 A JP 2002150165A JP 2002150165 A JP2002150165 A JP 2002150165A JP 2003348301 A JP2003348301 A JP 2003348301A
Authority
JP
Japan
Prior art keywords
document
reading
image
reading apparatus
stepping motor
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
JP2002150165A
Other languages
Japanese (ja)
Inventor
Nobuo Fujisaki
信夫 藤崎
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2002150165A priority Critical patent/JP2003348301A/en
Publication of JP2003348301A publication Critical patent/JP2003348301A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image reading apparatus in which it is accurately detected that a head and a terminal of an original reach a reading position. <P>SOLUTION: A roller 19 for background switching having a white reference face 19a and a black face 19b is positioned while facing contact glass 24, such a confronted part is defined as the reading position and when the original is fed through a pickup roller 20, retard rollers 21a and 21b and feed rollers 22 and 23, and the head of the original is detected by a document sensor (DS2) 18, the roller 19 for background switching is rotated by half to switch the background at the reading position from the white reference face 19a to the black face 19b. When a white pixel is detected in an image read by a scanner 11 within prescribed time (steps N1), the detection of the white pixel becomes the detection of the head of the original reaching the reading position. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、複写機、ファク
シミリ装置、複合機能・ファックス機能などの多機能を
有する複合機のように、原稿画像を読み取る機能を有す
る画像読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus having a function of reading a document image, such as a copying machine, a facsimile machine, and a multifunction machine having multiple functions such as a multifunction / fax function.

【0002】[0002]

【従来の技術】一般に、ファクシミリ装置などの自動原
稿読み取り機構で原稿を読み取る場合、原稿の始端と終
端とを把握することが必要である。従来は、読取部の手
前にドキュメントセンサ(DS2)を設けておき、この
ドキュメントセンサ(DS2)で原稿の始端が検出され
てから所定のステップ数Nをステッピングモータが回転
したとき、原稿の始端末が読み取り位置に到達したもの
と見なしている。同様に、原稿の終端がドキュメントセ
ンサ(DS2)で検出されてから、所定ステップ数N、
ステッピングモータが回転したときを原稿の終端が読み
取り位置に到達したものとして、1頁の原稿として処理
している。
2. Description of the Related Art Generally, when a document is read by an automatic document reading mechanism such as a facsimile machine, it is necessary to grasp the start and end of the document. Conventionally, a document sensor (DS2) is provided in front of a reading unit, and when the stepping motor rotates a predetermined number of steps N after the start of the document is detected by the document sensor (DS2), the start of the document is started. Is considered to have reached the reading position. Similarly, after the end of the document is detected by the document sensor (DS2), a predetermined number of steps N,
When the stepping motor rotates, it is assumed that the end of the document has reached the reading position, and the document is processed as a one-page document.

【0003】[0003]

【発明が解決しようとする課題】上記した従来の画像読
取装置では、回転機構部のバックラッシュや、ローラと
原稿との間の滑り、原稿自体の伸び縮みに起因して、所
定ステップ数Nだけ、ステッピングモータが回転したと
きに、原稿の始端、又は終端が読取位置にちょうど到達
しているとは限らない。すなわち、若干の進み、遅れが
発生することがある。また、原稿に斜行が発生していて
も、それを検出できないという問題がある。
In the above-described conventional image reading apparatus, a predetermined number of steps N occurs due to backlash of the rotating mechanism, slippage between the rollers and the document, and expansion and contraction of the document itself. When the stepping motor rotates, the start or end of the document does not always reach the reading position. That is, a slight advance and a delay may occur. Further, there is a problem that even if skew occurs in the document, it cannot be detected.

【0004】この発明は上記問題点に着目してなされた
ものであって、原稿の始端、終端が読取位置に到達した
ことを正確に検出できる画像読取装置を提供することを
目的としている。また、この発明は、原稿の斜行も検出
し得る画像読取装置を提供することを第2の目的として
いる。
The present invention has been made in view of the above problems, and has as its object to provide an image reading apparatus capable of accurately detecting that the start and end of a document have reached a reading position. A second object of the present invention is to provide an image reading apparatus capable of detecting skew of a document.

【0005】[0005]

【課題を解決するための手段】この発明の画像読取装置
は、原稿を搬送する原稿搬送手段と、原稿搬送手段で搬
送される原稿を主走査方向に1ラインずつ読み取る原稿
読取手段とを備えたものにおいて、前記原稿搬送手段内
の原稿読取位置の背景色を黒にし、原稿読取手段からの
画像信号中に白の画素が含まれるか否かにより、原稿の
始端及び/又は終端を判定する原稿端判定手段を備えて
いる。
An image reading apparatus according to the present invention comprises: a document conveying means for conveying a document; and a document reading means for reading a document conveyed by the document conveying means one line at a time in the main scanning direction. A document which determines the start and / or end of the document based on whether the background color of the document reading position in the document conveying means is black and whether or not an image signal from the document reading means includes a white pixel; An edge determination unit is provided.

【0006】この発明の画像読取装置は、前記原稿読取
位置の背景色は、白基準色と黒色とが切り替え可能とな
っており、原稿を読み取る前には白基準色に切り替え、
それを原稿読取手段で読み取り、画像データ補正のため
の基準データとして用いることとしても良い。
In the image reading apparatus of the present invention, the background color at the document reading position can be switched between a white reference color and black, and before the document is read, the background color is switched to the white reference color.
It may be read by the document reading means and used as reference data for correcting image data.

【0007】また、この発明の画像読取装置において、
前記原稿端判定手段は、1ラインの画像データ中に白画
素が検出された際、それが原稿を搬送して行くことによ
りどのように変化するかにより、原稿の斜行量を算出す
る斜行量算出手段を備えても良い。
In the image reading apparatus of the present invention,
The document edge determination means calculates a skew amount of the document based on how a white pixel is detected in one line of image data and how it changes as the document is conveyed. An amount calculating means may be provided.

【0008】[0008]

【発明の実施の形態】以下、実施の形態により、この発
明をさらに詳細に説明する。図1は、この発明の画像読
取装置の一実施形態である複合機の構成を示すブロック
図である。この実施形態複合機は、一般に良く知られる
ように、コピー機能・ファックス機能・プリント機能等
の多機能を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in more detail with reference to embodiments. FIG. 1 is a block diagram showing a configuration of a multifunction peripheral as an embodiment of the image reading apparatus of the present invention. The MFP according to the present embodiment has multiple functions such as a copy function, a fax function, and a print function, as is generally well known.

【0009】この複合機は、MPU1と、NCU2と、
MODEM3と、ROM4と、RAM5と、画像メモリ
6と、CODEC7と、プリンタ8と、表示部9と、キ
ーパッド10と、スキャナ11と、画像処理回路12
と、シェーディングRAM13と、読取機構制御回路1
4と、モータ(M1)15、モータ(M2)16と、ド
キュメントセンサ(DS1)17と、ドキュメントセン
サ(DS2)18と、背景切替用ローラ19とを備えて
いる。
This multifunction device includes an MPU1, an NCU2,
MODEM 3, ROM 4, RAM 5, image memory 6, CODEC 7, printer 8, display unit 9, keypad 10, scanner 11, image processing circuit 12,
, Shading RAM 13 and reading mechanism control circuit 1
4, a motor (M1) 15, a motor (M2) 16, a document sensor (DS1) 17, a document sensor (DS2) 18, and a background switching roller 19.

【0010】MPU1は、この実施形態複合機の全体を
制御する機能を有する。このMPU1には、NCU(Ne
twork Control Unit)2、MODEM3が接続されてい
る。NCU2はMPU1により制御されて、回線Lと当
該複合機との接続を制御するとともに、通信相手の電話
番号に応じたダイヤルパルスを送出する機能及び着信を
検出する機能を有する。なお、回線Lは一般公衆電話回
線網(PSTN)に接続されている。
The MPU 1 has a function of controlling the entire multifunction peripheral of this embodiment. This MPU 1 includes an NCU (Ne
2 and a MODEM 3 are connected. The NCU 2 is controlled by the MPU 1 to control the connection between the line L and the multifunction peripheral, and has a function of transmitting a dial pulse according to the telephone number of the communication partner and a function of detecting an incoming call. The line L is connected to a general public telephone network (PSTN).

【0011】MODEM3は、送受信データの変復調、
具体的にはデジタル信号である送信データをアナログの
音声信号に変調して、NCU2を介して回線Lに送出
し、また逆に、回線LからNCU2を介して、受信した
アナログの音声信号をデジタル信号に復調する。
The MODEM 3 modulates and demodulates transmitted and received data,
Specifically, the transmission data, which is a digital signal, is modulated into an analog audio signal and transmitted to the line L via the NCU 2, and conversely, the analog audio signal received from the line L via the NCU 2 is converted into a digital signal. Demodulate into a signal.

【0012】ROM4は、この複合機全体の動作を制御
するためのプログラム等を予め記憶してある。RAM5
は、MPU1による制御に必要なデータ及び制御動作時
に一時記憶が必要なデータ等を記憶する。画像メモリ6
は、スキャナ11で読み取った画像データを記憶し、ま
た外部から回線LとMODEM3を介して受信した画像
データを記憶する。CODEC7は、画像メモリ6に記
憶された送信すべき画像データを符号化し、また受信し
た画像データを復号して画像メモリ6に記憶する。
The ROM 4 stores in advance programs and the like for controlling the operation of the multifunction peripheral as a whole. RAM5
Stores data necessary for control by the MPU 1 and data that need to be temporarily stored during the control operation. Image memory 6
Stores image data read by the scanner 11 and image data received from the outside via the line L and the MODEM 3. The CODEC 7 encodes the image data to be transmitted stored in the image memory 6, decodes the received image data, and stores the decoded image data in the image memory 6.

【0013】プリンタ8は、受信画像データ、スキャナ
11が読み取った画像データ、又は画像メモリ10に記
憶された画像データを用紙に印字することにより、記憶
してハードコピー出力を行う。表示部9は、キーパッド
10の操作により入力された電話番号、FAX番号、プ
リンタ8のトナー残量等の種々の情報を表示する。キー
パッド10は、スタートキー10aの他、種々のモード
を設定するモード切替キー、電話番号やFAX番号等、
数字を入力するためのテンキー、種々の動作を指示する
ための操作キー等を有する。
The printer 8 prints the received image data, the image data read by the scanner 11 or the image data stored in the image memory 10 on a sheet of paper, and stores and outputs a hard copy. The display unit 9 displays various information such as a telephone number, a FAX number, and a remaining amount of toner of the printer 8 which are input by operating the keypad 10. The keypad 10 includes a start key 10a, a mode switching key for setting various modes, a telephone number, a fax number, and the like.
It has numeric keys for inputting numbers, operation keys for instructing various operations, and the like.

【0014】スキャナ11は、例えばCCDイメージセ
ンサ等により、原稿画像の読み取りを行う。画像処理回
路12は、スキャナ11で読み取った原稿画像に対し、
シェーディング補正、二値化処理などの画像処理を行
う。シェーディングRAM13は、シェーディング補正
データを記憶する。読取機構制御回路14は、モータ
(M1)15、モータ(M2)16及びドキュメントセ
ンサ(DS1)17、ドキュメントセンサ(DS2)1
8の駆動を制御する。モータ(M1)15は、例えばス
テッピングモータが使用され、原稿を搬送するためのロ
ーラを駆動する。モータ(M2)16も、例えばステッ
ピングモータが使用され、背景切替用のローラ19の切
り替えを駆動する。
The scanner 11 reads a document image using, for example, a CCD image sensor or the like. The image processing circuit 12 processes the original image read by the scanner 11
Image processing such as shading correction and binarization processing is performed. The shading RAM 13 stores shading correction data. The reading mechanism control circuit 14 includes a motor (M1) 15, a motor (M2) 16, a document sensor (DS1) 17, and a document sensor (DS2) 1.
8 is controlled. As the motor (M1) 15, for example, a stepping motor is used, and drives a roller for conveying a document. As the motor (M2) 16, for example, a stepping motor is used and drives switching of the roller 19 for background switching.

【0015】上記実施形態複合機の読取機構部の概略を
図2に示す。原稿セット部31より導入された原稿は、
ドキュメントセンサ(DS1)17によって検出され、
ピックアップローラ20でリタードローラ21a、21
bに案内され、このリタードローラ21a、21bより
搬送ローラ22、23、ドキュメントセンサ(DS2)
18の位置を経て、原稿の読取位置となるコンタクトガ
ラス24と背景切替用ローラ19の対面部に至り、読み
取り後、排出ローラ29、30を経て排出されるように
なっている。
FIG. 2 schematically shows a reading mechanism of the multifunction peripheral according to the embodiment. The manuscript introduced from the manuscript setting unit 31
Detected by the document sensor (DS1) 17,
The retard rollers 21a, 21
b, and the transport rollers 22, 23 and the document sensor (DS2) from the retard rollers 21a, 21b.
After passing through the position 18, the document reaches the facing portion of the contact glass 24 and the background switching roller 19, which is the reading position of the document, and after reading, the document is discharged through the discharge rollers 29 and 30.

【0016】搬送路上のピックアップローラ20の手前
にドキュメントセンサ(DS1)17が、搬送ローラ2
2、23の後方にドキュメントセンサ(DS2)18が
それぞれ配置されている。背景切替用ローラ19は、半
面に白基準面19aが形成され、他の半面に黒面19b
が形成されている。ピックアップローラ20、リタード
ローラ21a、21b及び搬送ローラ22、23はステ
ッピングモータ(M1)15によって、また背景切替用
ローラ19の白基準面19a、黒面19bの切替の半回
転はステッピングモータ(M2)16によって駆動され
る。
A document sensor (DS1) 17 is provided in front of the pick-up roller 20 on the conveyance path.
Document sensors (DS2) 18 are disposed behind the document sensors 2 and 23, respectively. The background switching roller 19 has a white reference surface 19a formed on one half, and a black surface 19b formed on the other half.
Are formed. The pickup roller 20, the retard rollers 21a and 21b, and the transport rollers 22 and 23 are driven by a stepping motor (M1) 15, and the half rotation of the white reference surface 19a and the black surface 19b of the background switching roller 19 is switched by a stepping motor (M2). 16.

【0017】光源25からの光が背景切替用ローラ19
とコンタクトガラス24の対面部に照射されている。こ
こを通過する原稿に光が当たり、原稿画像がミラー2
6、27、レンズ28を経て、スキャナ(CCD)11
に至り、読み取られる。
The light from the light source 25 is applied to the background switching roller 19.
And the opposite surface of the contact glass 24 is irradiated. The light passing through the document hits the document, and the document image is
Scanner (CCD) 11 through 6, 27 and lens 28
And is read.

【0018】次に、この実施形態複合機における原稿画
像読み取り処理を、図3〜図5に示すフロー図を参照し
て説明する。処理がスタートすると、ステップST1に
おいて、ドキュメントセンサ(DS1)17がオンか否
かを判定する。原稿が原稿セット部31にセットされる
と、ドキュメントセンサ(DS1)17がオンするの
で、ステップST2へ移行する。一方、ドキュメントセ
ンサ(DS1)17がオンでないと、原稿がセットされ
るまで、このステップST1で待機する。
Next, an original image reading process in the MFP according to the embodiment will be described with reference to flowcharts shown in FIGS. When the process starts, in step ST1, it is determined whether the document sensor (DS1) 17 is on. When a document is set on the document setting section 31, the document sensor (DS1) 17 is turned on, and the process proceeds to step ST2. On the other hand, if the document sensor (DS1) 17 is not turned on, the process stands by at this step ST1 until a document is set.

【0019】ステップST2においては、ステッピング
モータ(M1)15の駆動を開始する。これにより、ピ
ックアップローラ20、リタードローラ21a、21
b、搬送ローラ22、23が回転を開始する。次に、ス
テップST3へ移行する。ステップST3においては、
光源25を点灯する。続いて、ステップST4へ移行す
る。この時点では、背景切替用ローラ19は白基準面1
9aがコンタクトガラス24と対面している。ステップ
ST4においては、ローラ19の白基準面19aをスキ
ャナ11で読み取り、ローラ白基準面読取データをシェ
ーディングRAM13に格納する。次に、ステップST
5へ移行する。
In step ST2, driving of the stepping motor (M1) 15 is started. As a result, the pickup roller 20, the retard rollers 21a, 21
b, the conveying rollers 22 and 23 start rotating. Next, the process proceeds to step ST3. In step ST3,
The light source 25 is turned on. Subsequently, the process proceeds to step ST4. At this point, the background switching roller 19 is
9a faces the contact glass 24. In Step ST4, the white reference surface 19a of the roller 19 is read by the scanner 11, and the roller white reference surface read data is stored in the shading RAM 13. Next, step ST
Go to 5.

【0020】ステップST5においては、ドキュメント
センサ(DS2)18がオンか否かを判定する。原稿の
始端がドキュメントセンサ(DS2)18の位置に到来
すると、ドキュメントセンサ(DS2)18がオンする
ので、ステップST7へ移行する。一方、ドキュメント
センサ(DS2)18がオンでない場合は、ステップS
T6へ移行する。ステップST6においては、ステッピ
ングモータ(M1)15が所定ステップ数N1を駆動し
た否かを判定する。ステップ数が所定数に達していない
場合は、ステップST5へ戻り、ドキュメントセンサ
(DS2)18がオンするか、ステップ数が所定数N1
に達するまで、ステップST5、ST6の処理を繰り返
す。
In step ST5, it is determined whether or not the document sensor (DS2) 18 is on. When the starting end of the document reaches the position of the document sensor (DS2) 18, the document sensor (DS2) 18 is turned on, so that the process proceeds to step ST7. On the other hand, if the document sensor (DS2) 18 is not turned on, step S
Move to T6. In step ST6, it is determined whether or not the stepping motor (M1) 15 has driven a predetermined number of steps N1. If the number of steps has not reached the predetermined number, the process returns to step ST5, where the document sensor (DS2) 18 is turned on or the number of steps is equal to the predetermined number N1.
Until the process reaches steps ST5 and ST6.

【0021】ステップST6において、ステッピングモ
ータ(M1)15が所定ステップ数N1駆動されると、
ステップST30へ移行する。ステップST30におい
ては、ステッピングモータ(M1)15が所定ステップ
数N1駆動され、本来ならばドキュメントセンサ(DS
2)18がオンするはずであるのに、オンしていない状
況であり、ここではステッピングモータ(M1)15を
オフし、ステップST31へ移行する。ステップST3
1においては、表示部9に“原稿づまり”の表示を行
う。
In step ST6, when the stepping motor (M1) 15 is driven by a predetermined number of steps N1,
Move to step ST30. In step ST30, the stepping motor (M1) 15 is driven by a predetermined number of steps N1, and originally the document sensor (DS)
2) This is a situation where 18 is supposed to be turned on but is not turned on. Here, the stepping motor (M1) 15 is turned off, and the process proceeds to step ST31. Step ST3
In 1, the display unit 9 displays "document jam".

【0022】ステップST7においては、ステッピング
モータ(M1)15を停止する。これにて、原稿の始端
がドキュメントセンサ(DS2)18に達した位置で、
原稿を止める。次に、ステップST8へ移行する。ステ
ップST8においては、ステッピングモータ(M2)1
6を回転させ、背景切替用ローラ19を半回転(180
°)させ、黒面19bをコンタクトガラス24と対向さ
せる。次に、ステップST9へ移行する。ステップST
9においては、スタートキー10aがオンされたか否か
を判定する。使用者がスタートキー10aを押すと、ス
テップST10へ移行する。
In step ST7, the stepping motor (M1) 15 is stopped. With this, at the position where the starting end of the document reaches the document sensor (DS2) 18,
Stop the manuscript. Next, the process proceeds to step ST8. In step ST8, the stepping motor (M2) 1
6 is rotated, and the background switching roller 19 is rotated half a rotation (180
°) so that the black surface 19 b faces the contact glass 24. Next, the process proceeds to step ST9. Step ST
In step 9, it is determined whether the start key 10a has been turned on. When the user presses the start key 10a, the process proceeds to step ST10.

【0023】ステップST10においては、ステッピン
グモータ(M1)15の回転を再度開始する。ステッピ
ングモータ(M1)15の回転開始により、原稿も再
度、搬送される。次に、ステップST11へ移行する。
ステップST11おいては、ステッピングモータ(M
1)15が所定ステップ数N2回転したか否かを判定す
る。所定数ステップ数N2回転したら、原稿の始端がコ
ンタクトガラス24の読み取り位置に到達したものとし
て、次にステップST12へ移行する。ステップST1
2においては、ライン数を示す変数L及びステップ数を
示す変数Nを0とする。続いて、ステップST13へ移
行する。
In step ST10, the rotation of the stepping motor (M1) 15 is started again. When the rotation of the stepping motor (M1) 15 starts, the document is again conveyed. Next, the process proceeds to step ST11.
In step ST11, a stepping motor (M
1) It is determined whether or not 15 has rotated a predetermined number of steps N2. After a predetermined number of steps of N2 rotations, it is determined that the starting end of the document has reached the reading position of the contact glass 24, and the process proceeds to step ST12. Step ST1
In 2, the variable L indicating the number of lines and the variable N indicating the number of steps are set to 0. Subsequently, the process proceeds to step ST13.

【0024】ステップST13においては、スキャナ1
1で原稿画像を読み取り、その画像データを取り込む。
次に、ステップST14へ移行する。ステップST14
においては、取り込んだ画像データ中に白画素があるか
否かを判定する。白画素がなければ、ステップST15
へ移行する。一方、白画素があると、ステップST18
へ移行する。ステップST15においては、ステッピン
グモータ(M1)15を1ライン駆動する。これによ
り、原稿が1ライン分送られ、次にステップST16へ
移行する。ステップST16においては、変数Nを1イ
ンクリメントする。そして、ステップST17へ移行す
る。
In step ST13, the scanner 1
In step 1, an original image is read, and the image data is captured.
Next, the process proceeds to step ST14. Step ST14
In, it is determined whether or not there is a white pixel in the captured image data. If there is no white pixel, step ST15
Move to. On the other hand, if there is a white pixel, step ST18
Move to. In step ST15, the stepping motor (M1) 15 is driven by one line. As a result, the original is sent by one line, and the process proceeds to step ST16. In step ST16, the variable N is incremented by one. Then, the process proceeds to step ST17.

【0025】ステップST17においては、変数Nが所
定数N3に達したか否かを判定する。変数Nが所定数N
3に達していない場合は、ステップST13へ戻り、1
ライン画像データを取り込む。そして、取り込む画像デ
ータ中に白画素があるか、変数Nが所定数N3に達する
か、のいずれかとなるまで、ステップST13〜ST1
7の処理を繰り返す。ステップST17において、変数
Nが所定数N3に達すると、ステップST30へ移行す
る。ここでのステップST30においては、ステッピン
グモータ(M1)15が所定ライン数N3分回転され、
本来ならば原稿の読み取りが開始されるはずであるが、
読み取り画像中に白画素がなく、原稿が未だ到達してい
ないことを意味するので、ステッピングモータ(M1)
15を停止する。そして、ステップST31へ移行し、
表示部9に“原稿づまり”を表示し、処理を終了する。
In step ST17, it is determined whether or not the variable N has reached a predetermined number N3. Variable N is a predetermined number N
If the number has not reached 3, the process returns to step ST13.
Import line image data. Steps ST13 to ST1 are performed until either the white pixel exists in the image data to be captured or the variable N reaches a predetermined number N3.
Step 7 is repeated. When the variable N reaches the predetermined number N3 in step ST17, the process proceeds to step ST30. In step ST30, the stepping motor (M1) 15 is rotated by a predetermined number of lines N3,
Originally reading of the original should start,
Since there are no white pixels in the read image and the original has not yet arrived, the stepping motor (M1)
Stop No. 15. Then, the process proceeds to step ST31,
"Document jam" is displayed on the display unit 9, and the process is terminated.

【0026】ステップST18においては、白画素が9
0%以上か否かを判定する。白画素が90%に達してい
ない場合は、ステップST19へ移行する。一方、白画
素が90%以上の場合は、ステップST20へ移行す
る。ステップST19においては、変数Lを1インクリ
メントする。そして、ステップST13へ戻る。ステッ
プST13においては、次のラインのスキャナ11によ
る画像データの取込みを行い、白画素があるか否かを判
定する。そして、白画素が90%以上となるまで、変数
Lの1インクリメントを継続しながら、ステップST1
3、ST14、ST18、ST19の処理を繰り返す。
もし、原稿に斜行があると、最初の読み取りデータの白
画素が少なく、斜行が急であるほど、それ以後の白画素
の増加も少なく、変数Lのカウント値が大となる。
In step ST18, the number of white pixels is 9
It is determined whether it is 0% or more. If the white pixels have not reached 90%, the process proceeds to step ST19. On the other hand, when the white pixels are 90% or more, the process proceeds to step ST20. In step ST19, the variable L is incremented by one. Then, the process returns to step ST13. In step ST13, image data of the next line is captured by the scanner 11, and it is determined whether or not there is a white pixel. Then, while incrementing the variable L by 1 until the white pixels become 90% or more, the process proceeds to step ST1.
3. The processing of ST14, ST18, ST19 is repeated.
If the document has skew, the number of white pixels in the first read data is small, and the steeper the skew, the smaller the number of white pixels thereafter, and the larger the count value of the variable L.

【0027】ステップST20においては、変数Lを斜
行補正量としてRAM5に記憶する。次に、ステップS
T21へ移行する。ステップST21においては、ステ
ッピングモータ(M2)15を回転させ、背景切替用ロ
ーラ19を半(180°)回転させ、白基準面19aを
原稿表面に臨ませる。次に、ステップST22へ移行す
る。ステップST22においては、ステッピングモータ
(M1)15を1ライン分駆動する。これにより、原稿
が1ライン分送られる。次に、ステップST23へ移行
する。ステップST23においては、スキャナ11で1
ライン分の画像データを読み取る。そして、ステップS
T24へ移行する。ステップST24においては、ドキ
ュメントセンサ(DS2)18がオフしたか否かを判定
する。オフしていなければ、ステップST22へ戻り、
原稿の読み取りを継続する。一方、ドキュメントセンサ
(DS2)18がオフすれば、ステップST25へ移行
する。ドキュメントセンサ(DS2)18のオフは、そ
の位置を原稿の終端が通過したことを意味する。
In step ST20, the variable L is stored in the RAM 5 as the skew correction amount. Next, step S
Move to T21. In step ST21, the stepping motor (M2) 15 is rotated, the background switching roller 19 is rotated by half (180 °), and the white reference surface 19a is made to face the surface of the document. Next, the process proceeds to step ST22. In step ST22, the stepping motor (M1) 15 is driven for one line. As a result, the original is fed by one line. Next, the process proceeds to step ST23. In step ST23, 1
Read the image data for the line. And step S
The process moves to T24. In step ST24, it is determined whether or not the document sensor (DS2) 18 has been turned off. If not turned off, the process returns to step ST22,
Continue reading the original. On the other hand, if the document sensor (DS2) 18 is turned off, the process proceeds to step ST25. Turning off the document sensor (DS2) 18 means that the end of the document has passed that position.

【0028】ステップST25においては、ステッピン
グモータ(M1)15を1ライン駆動する。これによ
り、原稿が1ライン分送られる。続いて、ステップST
26へ移行する。ステップST26においては、スキャ
ナ11、画像処理回路12により、1ライン分の画像デ
ータを読み取りを行う。次に、ステップST27へ移行
する。ステップST27においては、読み取り画像中に
白画素がなくなったか否かを判定する。白画素がなくな
っていなければ、ステップST29へ移行する。一方、
白画素がなくなっていれば、原稿の読み取りが終了した
ものとして、ステップST28へ移行する。ステップS
T28においては、ステッピングモータ(M1)15を
駆動し、排出ローラ29、30より原稿を排出する。こ
れで読み取り処理が終了となる。
In step ST25, the stepping motor (M1) 15 is driven by one line. As a result, the original is fed by one line. Then, step ST
Move to 26. In step ST26, one line of image data is read by the scanner 11 and the image processing circuit 12. Next, the process proceeds to step ST27. In step ST27, it is determined whether or not there are no white pixels in the read image. If there are no more white pixels, the process proceeds to step ST29. on the other hand,
If there are no more white pixels, it is determined that reading of the document has been completed, and the process proceeds to step ST28. Step S
At T28, the stepping motor (M1) 15 is driven to discharge the original from the discharge rollers 29 and 30. This completes the reading process.

【0029】ステップST29においては、ステッピン
グモータ(M1)15が所定ステップ数N3駆動したか
否か判定する。所定ステップ数N3が駆動されていない
場合は、ステップST25へ戻り、白画素がなくなる
か、ステッピングモータ(M1)15の駆動数が所定ス
テップ数N3に達するか、のいずれかとなるまで、ステ
ップST25、ST26、ST27、ST29の処理を
繰り返し、原稿の読み取りを継続する。ステップST2
9において、ステッピングモータ(M1)の駆動が所定
ステップ数N3に達した場合は、ステップST30へ移
行する。ステップST30においては、ステッピングモ
ータ(M1)15を停止するとともに、ステップST3
1において、表示部9に“原稿づまり”を表示する。
In step ST29, it is determined whether the stepping motor (M1) 15 has been driven a predetermined number of steps N3. If the predetermined number of steps N3 has not been driven, the process returns to step ST25, and the process returns to step ST25 until there is no white pixel or the number of drives of the stepping motor (M1) 15 reaches the predetermined number of steps N3. The processing of ST26, ST27, and ST29 is repeated, and reading of the document is continued. Step ST2
In 9, when the driving of the stepping motor (M1) reaches the predetermined number of steps N3, the process proceeds to step ST30. In step ST30, the stepping motor (M1) 15 is stopped, and
In step 1, "document jam" is displayed on the display unit 9.

【0030】なお、上記実施形態では、スキャナとして
CCDを例に示しているが、密着型イメージセンサ(C
IS)を原稿読み取り手段として使用しても良い。ま
た、原稿読取装置の背景色の切り替えは、原稿送り用の
ステッピングモータ(M1)15とは別のステッピング
モータ(M2)16で回転させられるローラ形状として
いるが、これに限定されるものではなく、例えば白基準
色と黒色を塗り分けた板をスライドさせるようにしても
良い。
In the above embodiment, a CCD is shown as an example of the scanner, but the contact type image sensor (C
IS) may be used as the document reading means. Further, the switching of the background color of the document reading apparatus is performed in a roller shape which is rotated by a stepping motor (M2) 16 different from the stepping motor (M1) 15 for document feeding, but is not limited to this. For example, a plate in which a white reference color and a black color are separately applied may be slid.

【0031】[0031]

【発明の効果】この出願の請求項1に係る発明によれ
ば、原稿読取位置の背景色を黒にし、原稿読取手段から
の画像信号中に、白の画素が含まれているか否かによ
り、原稿の始端/又は終端を判定する原稿端判定手段を
備えているので、原稿の始端又は終端を画像信号から判
定することができ、正確に判定できる。
According to the first aspect of the present invention, the background color of the document reading position is set to black, and whether or not a white pixel is included in the image signal from the document reading means is determined. Since the document end determining means for determining the start and / or end of the document is provided, the start or end of the document can be determined from the image signal and can be accurately determined.

【0032】また、請求項2に係る発明によれば、背景
色を白基準色と、黒色とで切り替えるようにしているの
で、ピーク補正やシェーディング補正のためのデータを
原稿読み取り前に取得することができる。
According to the second aspect of the present invention, the background color is switched between the white reference color and black, so that data for peak correction and shading correction can be obtained before reading the original. Can be.

【0033】また、請求項3に係る発明によれば、1ラ
インの画像データ中に白画素が検出された際に、それが
原稿を搬送して行くことによりどのように変化するかに
より、原稿の斜行量を算出する斜行量算出手段を備えて
いるので、原稿の始端又は終端を正確に判定できる上
に、原稿の斜行も検出できる。
Further, according to the third aspect of the present invention, when a white pixel is detected in one line of image data, how the white pixel changes as the document is conveyed is determined. Is provided, the start or end of the document can be accurately determined, and the skew of the document can also be detected.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の一実施形態である複合機の構成を示
すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a multifunction peripheral according to an embodiment of the present invention.

【図2】同実施形態複合機の画像読取部の読取機構の概
略を示す図である。
FIG. 2 is a diagram schematically illustrating a reading mechanism of an image reading unit of the multifunction peripheral according to the embodiment.

【図3】同実施形態複合機の原稿読取処理を説明するフ
ロー図である。
FIG. 3 is a flowchart illustrating a document reading process of the multifunction peripheral of the embodiment.

【図4】図3とともに、同実施形態複合機の原稿読取処
理を説明するフロー図である。
FIG. 4 is a flowchart illustrating a document reading process of the MFP according to the embodiment, together with FIG. 3;

【図5】図3、図4とともに、同実施形態複合機の原稿
読取処理を説明するフロー図である。
FIG. 5 is a flowchart illustrating a document reading process of the MFP according to the embodiment, in conjunction with FIGS. 3 and 4;

【符号の説明】[Explanation of symbols]

1 MPU 2 NCU 3 MODEM 4 ROM 5 RAM 6 画像メモリ 7 CODEC 8 プリンタ 9 表示部 10 キーパット 11 スキャナ 12 画像処理回路 13 シェーディングRAM 14 読取機構制御回路 15 ステッピングモータ(M1) 16 ステッピングモータ(M2) 17 ドキュメントセンサ(DS1) 18 ドキュメントセンサ(DS2) 19 背景切替用ローラ 19a 白基準面 19b 黒面 20 ピックアップローラ 21a、21b リタードローラ 22、23 搬送ローラ 24 コンタクトガラス 25 光源 31 原稿セット部 1 MPU 2 NCU 3 MODEM 4 ROM 5 RAM 6. Image memory 7 CODEC 8 Printer 9 Display 10 keypads 11 Scanner 12 Image processing circuit 13 Shading RAM 14 Reading mechanism control circuit 15 Stepping motor (M1) 16 Stepping motor (M2) 17 Document Sensor (DS1) 18 Document Sensor (DS2) 19 Background switching roller 19a White reference plane 19b black face 20 Pickup roller 21a, 21b retard roller 22, 23 transport roller 24 contact glass 25 light source 31 Original setting section

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/00 108 H04N 1/04 103E 1/19 1/12 Z Fターム(参考) 2H108 AA05 FA01 FA21 FA29 FA31 5B047 AA01 BA01 BB02 BC05 BC09 BC11 BC14 BC18 CA09 CB09 CB22 DA04 DC01 DC06 DC09 5C062 AA02 AA05 AB02 AB17 AB32 AB33 AB41 AB42 AC02 AC11 AC65 5C072 AA01 BA04 CA02 DA02 DA04 EA05 NA01 RA03 RA04 RA16 UA02 XA01 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/00 108 H04N 1/04 103E 1/19 1/12 Z F term (Reference) 2H108 AA05 FA01 FA21 FA29 FA31 5B047 AA01 BA01 BB02 BC05 BC09 BC11 BC14 BC18 CA09 CB09 CB22 DA04 DC01 DC06 DC09 5C062 AA02 AA05 AB02 AB17 AB32 AB33 AB41 AB42 AC02 AC11 AC65 5C072 AA01 BA04 CA02 DA02 DA04 EA05 NA01 RA03 RA04 RA01 X02

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】原稿を搬送する原稿搬送手段と、原稿搬送
手段で搬送される原稿を主走査方向に1ラインずつ読み
取る原稿読取手段とを備えた画像読取装置において、 前記原稿搬送手段内の原稿読取位置の背景色を黒にし、
原稿読取手段からの画像信号中に白の画素が含まれるか
否かにより、原稿の始端及び/又は終端を判定する原稿
端判定手段を備えたことを特徴とする画像読取装置。
1. An image reading apparatus comprising: a document conveying means for conveying a document; and a document reading means for reading a document conveyed by the document conveying means line by line in a main scanning direction. Set the background color of the scanning position to black,
An image reading apparatus, comprising: a document end determining unit that determines a start and / or end of a document based on whether a white pixel is included in an image signal from the document reading unit.
【請求項2】前記原稿読取位置の背景色は、白基準色と
黒色とが切り替え可能となっており、原稿を読み取る前
には白基準色に切り替え、それを原稿読取手段で読み取
り、画像データ補正のための基準データとして用いるこ
とを特徴とする請求項1記載の画像読取装置
2. The background color at the document reading position is switchable between a white reference color and black. Before reading a document, the background color is switched to a white reference color, which is read by a document reading means. 2. The image reading apparatus according to claim 1, wherein the image reading apparatus is used as reference data for correction.
【請求項3】前記原稿端判定手段は、1ラインの画像デ
ータ中に白画素が検出された際、それが原稿を搬送して
行くことによりどのように変化するかにより、原稿の斜
行量を算出する斜行量算出手段を備えたことを特徴とす
る請求項1又は請求項2記載の画像読取装置。
3. The document edge judging means determines the amount of skew of a document when a white pixel is detected in one line of image data and how it changes as the document is conveyed. The image reading apparatus according to claim 1, further comprising a skew amount calculating unit configured to calculate the skew amount.
JP2002150165A 2002-05-24 2002-05-24 Image reading apparatus Pending JP2003348301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002150165A JP2003348301A (en) 2002-05-24 2002-05-24 Image reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002150165A JP2003348301A (en) 2002-05-24 2002-05-24 Image reading apparatus

Publications (1)

Publication Number Publication Date
JP2003348301A true JP2003348301A (en) 2003-12-05

Family

ID=29768082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002150165A Pending JP2003348301A (en) 2002-05-24 2002-05-24 Image reading apparatus

Country Status (1)

Country Link
JP (1) JP2003348301A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081896A (en) * 2005-09-15 2007-03-29 Fuji Xerox Co Ltd Automatic document feeder, and image reading device and image forming device using the same
JP2012027133A (en) * 2010-07-21 2012-02-09 Fuji Xerox Co Ltd Image forming device
CN103916564A (en) * 2013-01-09 2014-07-09 株式会社东芝 Optical reading device
JP2014131206A (en) * 2012-12-28 2014-07-10 Canon Inc Image forming apparatus
CN111988486A (en) * 2019-05-24 2020-11-24 精工爱普生株式会社 image reading device
JP2021098555A (en) * 2019-12-19 2021-07-01 株式会社Pfu Medium conveying device, control method and control program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081896A (en) * 2005-09-15 2007-03-29 Fuji Xerox Co Ltd Automatic document feeder, and image reading device and image forming device using the same
US7957613B2 (en) 2005-09-15 2011-06-07 Fuji Xerox Co., Ltd. Automatic original feeding device, and image reader and image forming apparatus using automatic original feeding device
JP2012027133A (en) * 2010-07-21 2012-02-09 Fuji Xerox Co Ltd Image forming device
JP2014131206A (en) * 2012-12-28 2014-07-10 Canon Inc Image forming apparatus
CN103916564A (en) * 2013-01-09 2014-07-09 株式会社东芝 Optical reading device
CN103916564B (en) * 2013-01-09 2016-10-05 株式会社东芝 Optical reading device
CN111988486A (en) * 2019-05-24 2020-11-24 精工爱普生株式会社 image reading device
JP2021098555A (en) * 2019-12-19 2021-07-01 株式会社Pfu Medium conveying device, control method and control program
JP7411404B2 (en) 2019-12-19 2024-01-11 株式会社Pfu Media transport device, control method and control program

Similar Documents

Publication Publication Date Title
JP2003348301A (en) Image reading apparatus
JP3912376B2 (en) Image reading device
JP2005017809A (en) Image reader
JP2005191886A (en) Image reading apparatus
JP2001186311A (en) Image reading device, copier, facsimile machine and multifunction machine
JP2003280114A (en) Image forming apparatus
JP2006086734A (en) Image scanner
JP2005073036A (en) Double-side reading system
JP2005072761A (en) Double-side reading system
KR100428547B1 (en) Image scanning unit capable of sensing front-end of paper and method thereof
JP2003134300A (en) Original reader
JP2005303538A (en) Image reading apparatus
JPH09205529A (en) Facsimile machine
JP2003134287A (en) Original reading and recording device
JP2004221813A (en) Image reading device
JP2005073035A (en) Double-side reading system
JP3492293B2 (en) Facsimile apparatus and control method of facsimile apparatus
JP5103281B2 (en) Image reading apparatus and image forming apparatus
JP2006213504A (en) Paper sheet feeding device for reading original or recording image
JP2011023918A (en) Multifunction machine, facsimile communication system, concurrent operation control method, concurrent operation control program, and recording medium
JP2005072760A (en) Double-side reading system
JP2001045218A (en) Image reading device and facsimile device
JP2003264698A (en) Base color correction circuit
JP2005189421A (en) Recording device having manual feed function
JP2002247392A (en) Image reading device