JPH0730722A - Image reader - Google Patents

Image reader

Info

Publication number
JPH0730722A
JPH0730722A JP5175424A JP17542493A JPH0730722A JP H0730722 A JPH0730722 A JP H0730722A JP 5175424 A JP5175424 A JP 5175424A JP 17542493 A JP17542493 A JP 17542493A JP H0730722 A JPH0730722 A JP H0730722A
Authority
JP
Japan
Prior art keywords
document
original
reading
image
boundary
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
JP5175424A
Other languages
Japanese (ja)
Inventor
Shinichi Wakahara
真一 若原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP5175424A priority Critical patent/JPH0730722A/en
Publication of JPH0730722A publication Critical patent/JPH0730722A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the limitation of an original size to be detected by detecting the position and size of an original with a reading means, and to prevent the start of reading to the original from being delayed by a prescan operation. CONSTITUTION:A back board 22 is colored and formed wider than the width of the original so as to provide uniform color concentration different from that of an original base part. A line image sensor 19 scans the original and the back board 22 at a reading position A, and a CPU detects the border of the original and the back board 22 corresponding to a line image signal from the line image sensor 19 and respectively detects both of the corners of the head of the original, both of the side edges of the original and the rear edge of the original.

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 applied to image scanners, facsimiles, digital copying machines and the like.

【0002】[0002]

【従来の技術】従来、原稿をコンタクトガラス上に載置
して原稿画像を読み取る画像読取装置では、フォトイン
タラプタ等のセンサによって原稿の位置や原稿サイズを
検知している。画像読取装置は、例えば検知した原稿位
置に基づいて原稿に対する読取開始および読取完了のそ
れぞれのタイミングを設定し、また画像読取装置に対し
て画像情報と共に、検知した原稿サイズに対応する記録
紙サイズの選択信号を送出する。
2. Description of the Related Art Conventionally, in an image reading apparatus which reads a document image by placing a document on a contact glass, a sensor such as a photo interrupter detects the position and size of the document. The image reading apparatus sets the timing of starting reading and the completion of reading of the original based on the detected original position, and sets the timing of the reading of the recording paper corresponding to the detected original size together with the image information to the image reading apparatus. Send a selection signal.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記し
たような画像読取装置では、フォトインタラプタ等のセ
ンサの設置個数が制約されるため、検知可能な原稿サイ
ズも制約され、一般に、原稿サイズが不定型サイズであ
る場合、原稿サイズを検知することができない。さら
に、原稿の位置や原稿サイズを検知するプリスキャン動
作が、原稿に対する読み取りの前に実行されるので、原
稿に対する読取開始が遅れる。
However, in the image reading apparatus as described above, the number of sensors such as photo interrupters is limited, so that the detectable document size is also limited, and the document size is generally irregular. If it is the size, the size of the original cannot be detected. Further, since the prescan operation for detecting the position and size of the document is executed before reading the document, the start of reading the document is delayed.

【0004】本発明の目的は、読取手段によって原稿の
位置および原稿サイズが検出されて、検出可能な原稿サ
イズの制約が少なく、かつプリスキャン動作により原稿
に対する読取開始が遅れない画像読取装置を提供するこ
とにある。
An object of the present invention is to provide an image reading apparatus in which the position and size of a document are detected by the reading means, there are few restrictions on the size of the document that can be detected, and the start of reading the document is not delayed by the prescan operation. To do.

【0005】[0005]

【課題を解決するための手段】上記の課題を解決するた
め、本発明の第1の手段は、読取位置で原稿を光学的に
読み取る読取手段を備えた画像読取装置において、前記
読取位置に設けられ、かつ原稿地肌部と異なる色濃度を
有する背面板と、前記読取手段によって前記背面板と原
稿との境を読み取らせ、かつ読取手段からの読取信号に
よって原稿先端における両コーナの位置を検出する制御
手段とを備えたことを特徴とする。
In order to solve the above-mentioned problems, the first means of the present invention is an image reading apparatus equipped with a reading means for optically reading a document at a reading position. And a back plate having a color density different from that of the background of the document and the reading unit to read the boundary between the back plate and the document, and the position of both corners at the leading edge of the document is detected by a read signal from the reading unit. And a control means.

【0006】さらに、第2の手段は、前記制御手段が、
前記読取信号によって原稿両側端の位置を検出し、かつ
原稿幅方向において前記原稿先端の両コーナの位置と前
記原稿両側端の位置とが一致した場合、原稿先端の両コ
ーナの位置を確定することを特徴とする。
Further, in the second means, the control means is
Detecting the positions of both side edges of the document based on the read signal, and if the positions of both corners of the document front end coincide with the positions of both side edges of the document in the document width direction, determine the positions of both corners of the document front end. Is characterized by.

【0007】さらに、第3の手段は、前記制御手段が、
前記読取信号によって原稿後端を検出して原稿の先端か
ら後端までの距離を算出することを特徴とする。
Further, in a third means, the control means is
It is characterized in that the rear end of the document is detected by the read signal and the distance from the front end to the rear end of the document is calculated.

【0008】さらに、第4の手段は、前記制御手段が、
前記読取信号によって前記背面板と原稿との境を検出
し、かつ前記境および境より外側の領域から得られた画
像データを白色に対応する画像データに置換することを
特徴とする。
Further, in a fourth means, the control means is
A boundary between the back plate and the original is detected by the read signal, and image data obtained from the boundary and an area outside the boundary is replaced with image data corresponding to white.

【0009】さらに、第5の手段は、前記制御手段が、
前記読取信号によって前記背面板と原稿との境を検出
し、かつ前記境および境より外側の領域から得られた画
像データを原稿地肌部から得られた画像データに置換す
ることを特徴とする。
Further, in a fifth means, the control means is
A boundary between the back plate and the document is detected by the read signal, and image data obtained from the boundary and an area outside the boundary is replaced with image data obtained from a background portion of the document.

【0010】さらに、第6の手段は、前記制御手段が、
前記原稿先端の両コーナの位置によって原稿の傾斜角度
を検出し、かつ前記傾斜角度を装置外部に通知すること
を特徴とする。
Further, in a sixth means, the control means is
The tilt angle of the document is detected by the positions of both corners of the document leading edge, and the tilt angle is notified to the outside of the apparatus.

【0011】[0011]

【作用】上記の第1の手段によれば、読取位置に設けら
れ原稿地肌部と異なる色濃度を有する背面板と、読取手
段によって背面板と原稿との境を読み取らせ、かつ読取
手段からの読取信号で原稿先端における両コーナの位置
を検出する制御手段とによって、制御手段が原稿先端の
両コーナの位置をそれぞれ検出して、原稿先端の位置お
よび原稿幅を検出する。
According to the above-mentioned first means, the back plate provided at the reading position and having a color density different from that of the background portion of the document, and the reading unit reading the boundary between the back plate and the document, and reading from the reading unit. The control means detects the positions of both corners at the leading edge of the original by the read signal and the control means for detecting the positions of both corners at the leading edge of the original, thereby detecting the position of the leading edge of the original and the width of the original.

【0012】さらに、第2の手段によれば、読取信号で
原稿両側端の位置を検出し、かつ原稿幅方向において原
稿先端の両コーナの位置と原稿両側端の位置とが一致し
た場合、原稿先端の両コーナの位置を確定する制御手段
によって、制御手段が、原稿幅方向において原稿先端の
両コーナの位置と原稿両側端の位置とが一致した場合に
検出エラーが発生していないと判断して、検出した原稿
先端両コーナの位置を確定する。
Further, according to the second means, when the positions of both side edges of the original are detected by the read signal and the positions of both corners of the leading edge of the original coincide with the positions of both side edges of the original in the width direction of the original, the original is read. The control means, which determines the positions of both corners of the leading edge, determines that a detection error has not occurred when the positions of both corners of the leading edge of the document match the positions of both side edges of the document in the document width direction. Then, the positions of both corners of the leading edge of the detected document are determined.

【0013】さらに、第3の手段によれば、読取信号で
原稿後端を検出して原稿先端から後端までの距離を算出
する制御手段によって、制御手段が原稿の長さを検出す
る。
Further, according to the third means, the control means detects the trailing edge of the document by the read signal and calculates the distance from the leading edge to the trailing edge of the document, whereby the control means detects the length of the document.

【0014】さらに、第4の手段によれば、読取信号で
背面板と原稿との境を検出し、かつ境および境より外側
の領域の画像データを白色に対応する画像データに置換
する制御手段によって、原稿端部付近の地肌部である余
白領域の画像データと余白領域より外側の領域の画像デ
ータとの出力値が近似する。
Further, according to the fourth means, the control means for detecting the boundary between the rear plate and the original by the read signal and replacing the image data of the boundary and the area outside the boundary with the image data corresponding to white. Thus, the output values of the image data of the blank area, which is the background portion near the end of the document, and the image data of the area outside the blank area are similar.

【0015】さらに、第5の手段によれば、読取信号で
背面板と原稿との境を検出し、かつ境および境より外側
の領域の画像データを原稿地肌部の画像データに置換す
る制御手段によって、原稿端部付近の地肌部である余白
領域の画像データと余白領域より外側の領域の画像デー
タとの出力値が等しくなる。
Further, according to the fifth means, the control means for detecting the boundary between the rear plate and the original by the read signal and replacing the image data of the boundary and the area outside the boundary with the image data of the background portion of the original. Thus, the output values of the image data of the blank area, which is the background portion near the edge of the document, and the image data of the area outside the blank area become equal.

【0016】さらに、第6の手段によれば、原稿の傾斜
角度を検出し、かつ傾斜角度を装置外部に通知する制御
手段によって、装置外部に読取時の原稿の傾斜角度が通
知される。
Further, according to the sixth means, the control means for detecting the inclination angle of the document and notifying the inclination angle to the outside of the apparatus notifies the inclination angle of the original at the time of reading to the outside of the apparatus.

【0017】[0017]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】図2は本発明の画像読取装置の一実施例を
示す外観斜視図であって、1は画像読取装置の本体、2
は本体1の上に載置されたADF(自動原稿搬送装置)、
3はADF2に設けられ原稿を押圧する圧板、4は排紙
トレイである。
FIG. 2 is an external perspective view showing an embodiment of the image reading apparatus of the present invention.
Is an ADF (automatic document feeder) mounted on the main body 1,
Reference numeral 3 denotes a pressure plate provided on the ADF 2 for pressing a document, and 4 denotes a paper discharge tray.

【0019】図3は本実施例の概略を示す構成図であっ
て、ADF2は、原稿載置台5の一側に設けられた半円
状のコロ6、このコロ6によって搬送される原稿載置台
5上の原稿を1枚ずつ分離して給紙する分離コロ7aと
フィードローラ7b、分離された原稿を搬送する搬送ロ
ーラ対8,9、ガイドコロ10、ガイドコロ10と搬送ロー
ラ対9との間に設けられて原稿をコンタクトガラス11に
押圧する押え板12、排紙ローラ対13などから構成されて
いる。
FIG. 3 is a block diagram showing the outline of the present embodiment. The ADF 2 is a semi-circular roller 6 provided on one side of the document placing table 5, and the document placing table conveyed by this roller 6. A separation roller 7a and a feed roller 7b for separating and feeding the originals on the sheet 5 one by one, a pair of conveying rollers 8 and 9 for conveying the separated originals, a guide roller 10, a guide roller 10 and a pair of conveying rollers 9 It is composed of a pressing plate 12 which is provided between the pressing plate 12 and presses the original against the contact glass 11, a pair of paper discharge rollers 13 and the like.

【0020】また、画像読取装置の本体1内には、光源
14、反射ミラー15,16,17、レンズ18、CCD(電荷結
合素子)によって構成されたラインイメージセンサ19等
を備えた読取手段が配置されている。
In the main body 1 of the image reading apparatus, a light source is provided.
14, a reading unit including a reflection mirror 15, 16, 17, a lens 18, a line image sensor 19 including a CCD (charge coupled device), and the like is arranged.

【0021】図3において、ADF2は本体1のコンタ
クトガラス11を覆う閉鎖位置にあり、ADF2の原稿載
置台5に載置された原稿は、コロ6によって搬送され、
分離コロ7aとフィードローラ7bとによって1枚ずつ分
離搬送されて、搬送ローラ対8とガイドコロ10とによっ
てコンタクトガラス11と押え板12との間へ送り込まれ
る。この押え板12とコンタクトガラス11との間の読取位
置で、原稿は読取手段によって原稿画像が読み取られ
る。この読取動作の完了後、原稿は搬送ローラ対9と排
紙ローラ対13とによって排紙トレイ4へ排紙される。
In FIG. 3, the ADF 2 is in a closed position to cover the contact glass 11 of the main body 1, and the original placed on the original placing table 5 of the ADF 2 is conveyed by the rollers 6.
The separation rollers 7a and the feed roller 7b separate and convey the sheets one by one, and the conveyance roller pair 8 and the guide roller 10 feed the sheet between the contact glass 11 and the pressing plate 12. At the reading position between the pressing plate 12 and the contact glass 11, the image of the original is read by the reading means. After the reading operation is completed, the document is discharged to the discharge tray 4 by the pair of transport rollers 9 and the pair of discharge rollers 13.

【0022】図1は本実施例における読取手段および押
え板を示す構成図であって、21は原稿を検知する紙検知
センサ、22は押え板12のコンタクトガラス11との対向面
に固定された背面板であり、背面板22は、表面が原稿の
地肌部と異なる均一の色濃度となるように黒色に着色さ
れ、さらに主走査方向において原稿の幅より広く形成さ
れている。
FIG. 1 is a block diagram showing the reading means and the pressing plate in the present embodiment. Reference numeral 21 is a paper detection sensor for detecting a document, and 22 is fixed to the surface of the pressing plate 12 facing the contact glass 11. The back plate 22, which is a back plate, is colored black so that the surface has a uniform color density different from the background portion of the document, and is formed wider than the width of the document in the main scanning direction.

【0023】図4は本実施例における制御部の構成を示
すブロック図であって、31は装置全体を制御するCPU
(中央処理装置)、32はROM(リードオンリーメモリ)、
33はRAM(ランダムアクセスメモリ)、34はCPU31か
らの制御信号によりモータ23の駆動を制御するモータ駆
動回路、35はCPU31からの制御信号により光源14の発
光を制御する光源駆動回路、36はラインイメージセンサ
19から出力されたラインイメージ信号に対して各種の処
理を行う画像処理部、37は紙検知センサ21等の各種セン
サからの検知信号を変換してデータバス40に入力するセ
ンサ信号処理部、38は画像処理部36およびホスト装置39
をデータバス40に接続するためのインタフェースであ
る。
FIG. 4 is a block diagram showing the structure of the control unit in this embodiment, and 31 is a CPU for controlling the entire apparatus.
(Central processing unit), 32 is a ROM (Read Only Memory),
33 is a RAM (random access memory), 34 is a motor drive circuit that controls the drive of the motor 23 by a control signal from the CPU 31, 35 is a light source drive circuit that controls the light emission of the light source 14 by a control signal from the CPU 31, and 36 is a line Image sensor
An image processing unit that performs various processes on the line image signal output from 19, 37 is a sensor signal processing unit that converts detection signals from various sensors such as the paper detection sensor 21 and inputs the converted signals to the data bus 40, 38 Is the image processing unit 36 and the host device 39.
Is an interface for connecting to the data bus 40.

【0024】紙検知センサ21は、搬送されている原稿を
検知し、CPU31は紙検知センサ21からの検知信号によ
って原稿の位置を検出し、原稿の先端が図1に示す読取
位置Aの直前にくるタイミングで光源14を発光させると
ともに、モータ23の回転速度を低下させて原稿の移動速
度を高速の搬送速度から低速の読取速度に低下させる。
このとき、モータ駆動回路34はモータ23に一定周期で駆
動パルスを出力し、モータ23は1つの駆動パルスの入力
ごとに副走査方向における読取間隔(ドットピッチ)だけ
原稿を搬送する。CPU31は、前記駆動パルスを計数す
るラインカウンタ(図示省略)を備えており、ラインカウ
ンタの計数値によって副走査方向における原稿の移動距
離を検出し、さらに駆動パルスに同期させてラインイメ
ージセンサ19にライン同期信号を出力する。また、ライ
ンイメージセンサ19は、ライン同期信号を受けて読取位
置Aで主走査線上を走査してラインイメージ信号を出力
する。
The paper detection sensor 21 detects the document being conveyed, the CPU 31 detects the position of the document based on the detection signal from the paper detection sensor 21, and the front end of the document is located immediately before the reading position A shown in FIG. The light source 14 is caused to emit light at the arrival timing, and the rotation speed of the motor 23 is decreased to decrease the moving speed of the original document from the high speed feeding speed to the low speed reading speed.
At this time, the motor drive circuit 34 outputs a drive pulse to the motor 23 at a constant cycle, and the motor 23 conveys the document for a reading interval (dot pitch) in the sub-scanning direction for each input of one drive pulse. The CPU 31 includes a line counter (not shown) that counts the drive pulse, detects the moving distance of the document in the sub-scanning direction by the count value of the line counter, and further synchronizes with the drive pulse to the line image sensor 19. Output line sync signal. Further, the line image sensor 19 receives the line synchronization signal, scans the main scanning line at the reading position A, and outputs the line image signal.

【0025】図5,図6および図7は、それぞれライン
イメージ信号の出力とエッジ検出信号の分布とを示す特
性図である。
FIGS. 5, 6 and 7 are characteristic diagrams showing the output of the line image signal and the distribution of the edge detection signal, respectively.

【0026】ラインイメージセンサ19は、読取動作初期
に背面板22を走査して、図5に示すように一定出力のラ
インイメージ信号を出力する。ここで、背面板22は、前
述したように原稿において画像が形成されていない領域
である地肌部と異なる色濃度となるように着色されてお
り、一般的な原稿地肌部の色濃度がオプティカルデンシ
ティ値で0.1程度であるので、ラインイメージセンサ19
によって原稿地肌部との色濃度差を十分検出できるよう
に濃い色に着色されている。
The line image sensor 19 scans the back plate 22 at the initial stage of the reading operation and outputs a line image signal having a constant output as shown in FIG. Here, the back plate 22 is colored so as to have a color density different from that of the background portion, which is an area where an image is not formed in the original document, as described above. Since the value is about 0.1, the line image sensor 19
Is colored in a dark color so that the difference in color density from the background of the document can be sufficiently detected.

【0027】読取開始後、原稿先端が読取位置Aに到着
すると、ラインイメージセンサ19が、原稿地肌部である
余白領域を走査するので、図6に示すように主走査方向
において原稿幅に対応する範囲でラインイメージ信号の
出力が低下し、さらに原稿が搬送されると、ラインイメ
ージセンサ19が原稿の画像領域を走査するので、図7に
示すように原稿画像に対応してラインイメージ信号の出
力が変化する。
When the leading edge of the document arrives at the reading position A after the start of reading, the line image sensor 19 scans the blank area which is the background portion of the document, so that it corresponds to the document width in the main scanning direction as shown in FIG. When the output of the line image signal is reduced within the range and the document is further conveyed, the line image sensor 19 scans the image area of the document, so that the line image signal is output corresponding to the document image as shown in FIG. Changes.

【0028】ラインイメージセンサ19は、主走査方向の
読取画素数と等しいN個の受光部(図示省略)を備えてい
る。各受光部には1からNまでの画素ナンバーが付され
ており、各受光部はそれぞれ主走査方向に配列した画素
に対応しているので、画素ナンバーは、主走査方向にお
ける位置を示すアドレスとなっている。CPU31は、ラ
インイメージ信号の出力を画素ナンバーに対応させ分割
して記憶する。
The line image sensor 19 is provided with N light receiving portions (not shown) which are equal in number to the read pixels in the main scanning direction. Pixel numbers from 1 to N are assigned to the respective light receiving portions, and since each light receiving portion corresponds to the pixels arranged in the main scanning direction, the pixel number is an address indicating a position in the main scanning direction. Has become. The CPU 31 divides the output of the line image signal in correspondence with the pixel number and stores it.

【0029】図8はエッジ抽出フィルタの一例の説明図
である。
FIG. 8 is an explanatory diagram of an example of the edge extraction filter.

【0030】CPU31は、連続した3つのラインイメー
ジ信号をプログラム上における公知のエッジフィルタに
より演算処理して、原稿と背面板22との境を検出する。
The CPU 31 performs arithmetic processing on three consecutive line image signals by a known edge filter on the program to detect the boundary between the original and the rear plate 22.

【0031】図8において、注目画素に対応するライン
イメージ信号の出力がD、注目画素に隣接する4つの画
素に対応するラインイメージ信号のそれぞれの出力がD
a,Db,Dc,Ddである場合、CPU31は、|4D−
(Da+Db+Dc+Dd)|によって得られた値が予め設定
された判別値より大きければ、注目画素の位置を原稿と
背面板22との境、つまり原稿端であると判断する。CP
U31は、注目画素の位置が原稿端であることを判断した
ならば、注目画素に対応する画素ナンバーのエッジ検出
信号をL(低)レベルからH(高)レベルにする。このこと
により、原稿先端が検出された場合、図6に示すように
原稿幅の範囲内のすべてのエッジ検出信号がHレベルに
なり、原稿の両側端が検出された場合、図7に示すよう
に原稿の両端に対応する位置だけでエッジ検出信号がH
レベルになる。また、原稿後端が検出された場合のエッ
ジ検出信号は、図6の原稿先端が検出された場合と同じ
パターンになる。
In FIG. 8, the output of the line image signal corresponding to the target pixel is D, and the output of each of the line image signals corresponding to the four pixels adjacent to the target pixel is D.
In the case of a, Db, Dc, Dd, the CPU 31 selects | 4D-
If the value obtained by (Da + Db + Dc + Dd) | is larger than the preset determination value, the position of the pixel of interest is determined to be the boundary between the document and the back plate 22, that is, the document edge. CP
When U31 determines that the position of the target pixel is at the document edge, it changes the edge detection signal of the pixel number corresponding to the target pixel from the L (low) level to the H (high) level. As a result, when the leading edge of the document is detected, all edge detection signals within the range of the document width become H level as shown in FIG. 6, and when both side edges of the document are detected, as shown in FIG. The edge detection signal is H only at the positions corresponding to both ends of the document.
Become a level. The edge detection signal when the trailing edge of the original is detected has the same pattern as when the leading edge of the original is detected in FIG.

【0032】CPU31は、原稿の先端を検出することに
より、モータ23に出力される駆動パルスを計数するライ
ンカウンタの計数値をリセットし、さらに原稿先端の両
コーナに対応する2つの画素ナンバーn1,n2によって
原稿幅を算出する。CPU31は、ラインカウンタの計数
値によって先端が検出されてからの原稿の移動距離を算
出し、さらに一定距離だけ原稿が搬送されたタイミング
で、原稿の両側端に対応する画素ナンバーn1′,n2′
が原稿先端の両コーナに対応する画素ナンバーn1,n2
と一致することを確認する。画素ナンバーn1′とn1,
n2′とn2がそれぞれ一致した場合、CPU31は原稿先
端の両コーナが正しく検出されたと判断して、画素ナン
バーn1,n2によって算出された原稿幅を確定し、かつ
ラインカウンタの計数値によってトラッキングされてい
る原稿の移動距離が正しいものと判断する。また、画素
ナンバーn1′,n2′とn1,n2とが一致しなかった場
合、CPU31は原稿の先端の両コーナまたは両側端に対
する検出がエラーであったと判断するか、あるいは原稿
における他の位置で得られた画素ナンバーn1′,n2′
を原稿先端の両コーナに対応する画素ナンバーn1,n2
と再び比較して、検出エラーの有無を再び確認する。
The CPU 31 resets the count value of the line counter that counts the drive pulses output to the motor 23 by detecting the leading edge of the document, and further, the two pixel numbers n1 and n2 corresponding to both corners of the leading edge of the document. The document width is calculated by n2. The CPU 31 calculates the moving distance of the original document after the leading edge is detected by the count value of the line counter, and at the timing when the original document is conveyed by a certain distance, the pixel numbers n1 'and n2' corresponding to both side edges of the original document.
Are the pixel numbers n1 and n2 corresponding to both corners of the document edge
Make sure it matches. Pixel numbers n1 'and n1,
When n2 'and n2 match, the CPU 31 determines that both corners at the leading edge of the document have been correctly detected, determines the document width calculated by the pixel numbers n1 and n2, and tracks it by the count value of the line counter. Judge that the moving distance of the document is correct. If the pixel numbers n1 'and n2' do not match with n1 and n2, the CPU 31 determines that the detection of the leading edge of the document at both corners or both edges is an error, or at another position in the document. Obtained pixel numbers n1 ', n2'
Pixel numbers n1 and n2 corresponding to both corners of the document edge
Again, the presence or absence of the detection error is confirmed again.

【0033】さらに、CPU31は、原稿の後端を検出し
たならば、原稿に対する読み取りを完了するとともに、
後端を検出したタイミングにおけるラインカウンタの計
数値によって原稿の長さを算出し、この原稿の長さおよ
び原稿先端の両コーナの位置から算出した原稿幅によっ
て原稿サイズを判断する。CPU31は、画像データとと
もに、原稿サイズに対応するデータをホスト装置や画像
形成装置等に出力する。
Further, when the CPU 31 detects the trailing edge of the document, the CPU 31 completes reading of the document and
The length of the document is calculated by the count value of the line counter at the timing when the trailing edge is detected, and the document size is judged by the document length and the document width calculated from the positions of both corners of the document leading edge. The CPU 31 outputs, together with the image data, data corresponding to the document size to the host device, the image forming device, or the like.

【0034】読取開始から読取完了までの走査によって
得られたラインイメージ信号は、ページ単位の画像デー
タとしてRAM33によって記憶される。しかし、原稿に
対する読取時には、原稿と共に背面板22も読み取られて
いるため、前記ページ単位の画像データには、原稿画像
に対応する画像データおよび黒色の背面板22に対応する
画像データが含まれている。このような画像データによ
って画像を再生した場合、再生画像において背面板22に
対応する領域が黒色になってしまう。このことを防止す
るため、CPU31は、ラインイメージ信号において原稿
端および原稿端より外側の領域から得られた部分をマス
キングデータに置換する。
The line image signal obtained by scanning from the start of reading to the end of reading is stored in the RAM 33 as image data in page units. However, since the back plate 22 is also read together with the document when reading the document, the image data for each page includes image data corresponding to the document image and image data corresponding to the black back plate 22. There is. When an image is reproduced with such image data, the area corresponding to the back plate 22 in the reproduced image becomes black. In order to prevent this, the CPU 31 replaces the portion of the line image signal obtained from the document edge and the area outside the document edge with masking data.

【0035】マスキングデータとしては、その出力が白
色に対応する0レベルの信号を用いる。このことによ
り、再生画像において原稿端および原稿端より外側の領
域が白色に再生されるので、背面板22に対応する領域が
黒色になることを防止でき、原稿余白領域と背面板22の
領域との境を目立たなくすることができる。
As the masking data, a 0 level signal whose output corresponds to white is used. As a result, the edge of the document and the area outside the edge of the document are reproduced in white in the reproduced image, so that the area corresponding to the back plate 22 can be prevented from becoming black, and the margin area of the document and the area of the back plate 22 can be prevented. The border of can be made inconspicuous.

【0036】あるいは、図6に示す原稿余白領域を走査
して得られた出力がLbレベルの信号をマスキングデー
タとして用いる。このことにより、再生画像において背
面板22に対応する領域を原稿余白領域と同色に再生で
き、原稿余白領域と背面板22との境をなくすことができ
る。
Alternatively, a signal obtained by scanning the blank area of the document shown in FIG. 6 and having an Lb level output is used as masking data. As a result, in the reproduced image, the area corresponding to the back plate 22 can be reproduced in the same color as the document margin area, and the boundary between the document margin area and the back plate 22 can be eliminated.

【0037】図9は本実施例におけるスキューの検出方
法の説明図である。
FIG. 9 is an explanatory diagram of a skew detecting method in this embodiment.

【0038】原稿載置台5に原稿が斜めに載置された
り、分離給紙時に原稿が斜めになったりすることによ
り、原稿が傾斜して搬送されるスキューが発生すること
がある。スキューが発生した場合、読取位置Aにおい
て、原稿先端の一方のコーナE1だけが先に検出され
て、コーナE1の位置に対応する画素ナンバーのエッジ
検出信号がHレベルになり、次に、他方のコーナE2が
検出されて、コーナE2の位置に対応する画素ナンバー
のエッジ検出信号がHレベルになる。CPU31は、コー
ナE1検出時のラインカウンタの計数値およびHレベル
になったエッジ検出信号の画素ナンバーによって、コー
ナE1の座標(x1,y1)を求め、さらにコーナE2検出時
のラインカウンタの計数値およびHレベルになったエッ
ジ検出信号の画素ナンバーによって、コーナE2の座標
(x2,y2)を求めることにより、原稿の傾斜角度を算出
して、この傾斜角度をホスト装置39に通知する。
When a document is placed on the document table 5 at an angle, or when the document is inclined at the time of separating and feeding, there is a case where the document is skewed and conveyed. When the skew occurs, at the reading position A, only one corner E1 at the leading edge of the document is detected first, the edge detection signal of the pixel number corresponding to the position of the corner E1 becomes H level, and then the other edge. The corner E2 is detected, and the edge detection signal of the pixel number corresponding to the position of the corner E2 becomes H level. The CPU 31 obtains the coordinates (x1, y1) of the corner E1 from the count value of the line counter when the corner E1 is detected and the pixel number of the edge detection signal which has become H level, and further, the count value of the line counter when the corner E2 is detected. And the pixel number of the edge detection signal that has become H level, the coordinates of corner E2
By calculating (x2, y2), the inclination angle of the document is calculated and the inclination angle is notified to the host device 39.

【0039】原稿の傾斜角度が通知されたホスト装置39
は、傾斜角度が一定値以上の場合に画像読取装置に対し
て読取中止命令を出力したり、あるいは傾斜角度に対応
させて画像データの補正をしたりする。
Host device 39 notified of the document inclination angle
Outputs a reading stop command to the image reading device when the tilt angle is a certain value or more, or corrects the image data according to the tilt angle.

【0040】以上説明したように、本実施例の画像読取
装置によれば、原稿が読取手段によって読取可能な大き
さであれば、不定型サイズであっても原稿サイズを検知
でき、かつ原稿に対するプリスキャン動作と読み取りと
が同時に実行されるので、プリスキャン動作によって読
取開始が遅れることを防止できる。
As described above, according to the image reading apparatus of the present embodiment, if the size of the document is readable by the reading means, the size of the document can be detected even if it has an irregular size, and Since the prescan operation and the reading are executed at the same time, it is possible to prevent the reading start from being delayed due to the prescan operation.

【0041】[0041]

【発明の効果】以上説明したように、本発明の第1の手
段によれば、制御手段が原稿先端の両コーナの位置をそ
れぞれ検出して、原稿先端の位置および原稿幅を検出す
ることにより、原稿に対する原稿幅および原稿先端位置
の検出を原稿に対する読み取りと同時に実行でき、かつ
原稿が不定型サイズであっても原稿幅を検出できる。
As described above, according to the first means of the present invention, the control means detects the positions of both corners of the leading edge of the document, and detects the position of the leading edge of the document and the document width. The original width and the leading edge position of the original can be detected simultaneously with the reading of the original, and the original width can be detected even if the original has an irregular size.

【0042】さらに、第2の手段によれば、制御手段
が、原稿幅方向において原稿先端の両コーナの位置と原
稿両側端の位置とが一致した場合に検出エラーが発生し
ていないと判断して、検出した原稿先端両コーナの位置
を確定することにより、原稿先端に対する検出データの
信頼性を向上できる。
Further, according to the second means, the control means determines that the detection error does not occur when the positions of both corners of the leading edge of the original match the positions of both side edges of the original in the widthwise direction of the original. By thus determining the positions of both corners of the detected leading edge of the original, the reliability of the detection data for the leading edge of the original can be improved.

【0043】さらに、第3の手段によれば、制御手段が
原稿先端から後端までの距離を算出して原稿の長さを検
出することにより、原稿が不定型サイズであっても原稿
の長さを検出できる。
Further, according to the third means, the control means calculates the distance from the leading edge to the trailing edge of the document to detect the length of the document, so that the length of the document is fixed even if the document has an irregular size. Can be detected.

【0044】さらに、第4の手段によれば、原稿端部付
近の地肌部である余白領域の画像データと余白領域より
外側の領域の画像データとの出力値が近似することによ
り、再生画像において余白領域と余白領域より外側の領
域とに対応する画像を略同色に再生できる。
Further, according to the fourth means, the output values of the image data of the blank area, which is the background portion near the edge of the document, and the image data of the area outside the blank area are approximated, so that the reproduced image is reproduced. Images corresponding to the margin area and the area outside the margin area can be reproduced in substantially the same color.

【0045】さらに、第5の手段によれば、原稿端部付
近の地肌部である余白領域の画像データと余白領域より
外側の領域の画像データとの出力値が等しくなることに
より、再生画像において余白領域と余白領域より外側の
領域とに対応する画像を同色に再生できる。
Further, according to the fifth means, the output values of the image data of the blank area, which is the background portion near the end of the document, and the image data of the area outside the blank area become equal, so that in the reproduced image. Images corresponding to the margin area and the area outside the margin area can be reproduced in the same color.

【0046】さらに、第6の手段によれば、装置外部に
読取時の原稿の傾斜角度が通知されることにより、例え
ば、原稿の傾斜角度が通知されたホスト装置によって読
取中止命令を出力させたり、傾斜角度に対応させて画像
データを補正したりすることが可能になる。
Further, according to the sixth means, the inclination angle of the original at the time of reading is notified to the outside of the apparatus, so that, for example, the host device notified of the inclination angle of the original outputs a reading stop command. , It is possible to correct the image data according to the inclination angle.

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

【図1】本発明の画像読取装置の一実施例における読取
手段および押え板を示す構成図である。
FIG. 1 is a configuration diagram showing a reading unit and a pressing plate in an embodiment of an image reading apparatus of the present invention.

【図2】本実施例の外観斜視図である。FIG. 2 is an external perspective view of the present embodiment.

【図3】本実施例の概略を示す構成図である。FIG. 3 is a configuration diagram showing an outline of the present embodiment.

【図4】本実施例における制御部の構成を示すブロック
図である。
FIG. 4 is a block diagram showing a configuration of a control unit in this embodiment.

【図5】ラインイメージ信号の出力とエッジ検出信号の
分布とを示す特性図である。
FIG. 5 is a characteristic diagram showing the output of a line image signal and the distribution of edge detection signals.

【図6】ラインイメージ信号の出力とエッジ検出信号の
分布とを示す特性図である。
FIG. 6 is a characteristic diagram showing the output of a line image signal and the distribution of edge detection signals.

【図7】ラインイメージ信号の出力とエッジ検出信号の
分布とを示す特性図である。
FIG. 7 is a characteristic diagram showing the output of a line image signal and the distribution of edge detection signals.

【図8】エッジ抽出フィルタの一例の説明図である。FIG. 8 is an explanatory diagram of an example of an edge extraction filter.

【図9】本実施例における原稿スキューの検出方法の説
明図である。
FIG. 9 is an explanatory diagram of a document skew detection method according to the present exemplary embodiment.

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

2…ADF(自動原稿搬送装置)、 11…コンタクトガラ
ス、 12…押え板、 19…ラインイメージセンサ、 22
…背面板、 23…モータ、 31…CPU(中央処理装
置)。
2 ... ADF (Automatic Document Feeder), 11 ... Contact glass, 12 ... Holding plate, 19 ... Line image sensor, 22
... back plate, 23 ... motor, 31 ... CPU (central processing unit).

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 読取位置で原稿を光学的に読み取る読取
手段を備えた画像読取装置において、前記読取位置に設
けられ、かつ原稿地肌部と異なる色濃度を有する背面板
と、前記読取手段によって前記背面板と原稿との境を読
み取らせ、かつ読取手段からの読取信号によって原稿先
端における両コーナの位置を検出する制御手段とを備え
たことを特徴とする画像読取装置。
1. An image reading apparatus having a reading unit for optically reading a document at a reading position, wherein a rear plate provided at the reading position and having a color density different from that of the background portion of the document and the reading unit. An image reading apparatus comprising: a control unit configured to read a boundary between a back plate and a document and detect positions of both corners at a leading edge of the document according to a read signal from the reading unit.
【請求項2】 前記制御手段が、前記読取信号によって
原稿両側端の位置を検出し、かつ原稿幅方向において前
記原稿先端の両コーナの位置と前記原稿両側端の位置と
が一致した場合、原稿先端の両コーナの位置を確定する
ことを特徴とする請求項1記載の画像読取装置。
2. The original document when the control means detects the positions of both side edges of the original document based on the read signal, and the positions of both corners of the leading edge of the original document coincide with the positions of both side edges of the original document in the width direction of the original document. The image reading apparatus according to claim 1, wherein the positions of both corners of the leading end are determined.
【請求項3】 前記制御手段が、前記読取信号によって
原稿後端を検出して原稿の先端から後端までの距離を算
出することを特徴とする請求項1または2記載の画像読
取装置。
3. The image reading apparatus according to claim 1, wherein the control unit detects the trailing edge of the document based on the read signal and calculates the distance from the leading edge to the trailing edge of the document.
【請求項4】 前記制御手段が、前記読取信号によって
前記背面板と原稿との境を検出し、かつ前記境および境
より外側の領域から得られた画像データを白色に対応す
る画像データに置換することを特徴とする請求項1,2
または3記載の画像読取装置。
4. The control means detects a boundary between the back plate and the document by the read signal, and replaces image data obtained from the boundary and an area outside the boundary with image data corresponding to white. 4. The method according to claim 1, wherein
Or the image reading device described in 3.
【請求項5】 前記制御手段が、前記読取信号によって
前記背面板と原稿との境を検出し、かつ前記境および境
より外側の領域から得られた画像データを原稿地肌部か
ら得られた画像データに置換することを特徴とする請求
項1,2または3記載の画像読取装置。
5. The image obtained by the control means detecting the boundary between the back plate and the document by the read signal, and the image data obtained from the boundary and an area outside the boundary from the background of the document. The image reading device according to claim 1, wherein the image reading device replaces the data.
【請求項6】 前記制御手段が、前記原稿先端の両コー
ナの位置によって原稿の傾斜角度を検出し、かつ前記傾
斜角度を装置外部に通知することを特徴とする請求項
1,2,3,4または5記載の画像読取装置。
6. The control means detects the inclination angle of a document according to the positions of both corners of the leading edge of the document and notifies the inclination angle to the outside of the apparatus. 4. The image reading device described in 4 or 5.
JP5175424A 1993-07-15 1993-07-15 Image reader Pending JPH0730722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5175424A JPH0730722A (en) 1993-07-15 1993-07-15 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5175424A JPH0730722A (en) 1993-07-15 1993-07-15 Image reader

Publications (1)

Publication Number Publication Date
JPH0730722A true JPH0730722A (en) 1995-01-31

Family

ID=15995860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5175424A Pending JPH0730722A (en) 1993-07-15 1993-07-15 Image reader

Country Status (1)

Country Link
JP (1) JPH0730722A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006203523A (en) * 2005-01-20 2006-08-03 Ricoh Co Ltd Image reader and image forming apparatus
JP2015012430A (en) * 2013-06-28 2015-01-19 ブラザー工業株式会社 Image reading apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006203523A (en) * 2005-01-20 2006-08-03 Ricoh Co Ltd Image reader and image forming apparatus
JP2015012430A (en) * 2013-06-28 2015-01-19 ブラザー工業株式会社 Image reading apparatus

Similar Documents

Publication Publication Date Title
US8018631B2 (en) Original reading device and image forming apparatus
JP2002300367A (en) Image reader
JP4272366B2 (en) Document reading apparatus and image forming apparatus
JP2015198327A (en) Image reading device, image reading method, and computer program
JPH08198517A (en) Image processing device
JPH089116A (en) Image reader
JP4136618B2 (en) Image reading device
JPH0730722A (en) Image reader
US11558520B2 (en) Image reading device, image forming apparatus, image correction method, and non-transitory recording medium
JP3417723B2 (en) Image reading device
JP2001157005A (en) Image reader and image-forming device
JPH0393348A (en) Picture reader
JP2006005834A (en) Double-sided image reader
JPH07143290A (en) Picture reading device
JPH0435569A (en) Reader
JP2019029762A (en) Image reading device
JPH08317140A (en) Original reader
JP4689100B2 (en) Image reading device
JP2011061599A (en) Image reading apparatus, image forming apparatus, and image reading method
JP3803299B2 (en) Document reader with sheet-through document feeder
JPH03181271A (en) Automatic original feeder
JPH03165175A (en) Picture reader
JPH0342654A (en) Original size detecting device for image reader
JP2022186167A (en) Image reading device and image forming apparatus
JP2022125767A (en) Image reading device and image forming apparatus