JPS62161273A - Original detection device - Google Patents

Original detection device

Info

Publication number
JPS62161273A
JPS62161273A JP61004080A JP408086A JPS62161273A JP S62161273 A JPS62161273 A JP S62161273A JP 61004080 A JP61004080 A JP 61004080A JP 408086 A JP408086 A JP 408086A JP S62161273 A JPS62161273 A JP S62161273A
Authority
JP
Japan
Prior art keywords
original
document
scanning
tip
black
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
JP61004080A
Other languages
Japanese (ja)
Inventor
Masamichi Sugiura
正道 杉浦
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP61004080A priority Critical patent/JPS62161273A/en
Publication of JPS62161273A publication Critical patent/JPS62161273A/en
Priority to US07/595,698 priority patent/US5115478A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the detection of a tip oof an original area by providing an original area tip detection means detecting it as the tip reference of the original area for a position when density information changes from a while level into a black level and then changes into a white level again. CONSTITUTION:The tip 7b of an original scale is discriminated by using a black pattern 7c provided at the rear side of an original scale 7. In scanning the original scale 7 in the sub scanning direction shown in the arrow and when a CCD 20 crosses the original pattern 7, the output signal of the CCD 20 goes to a white into a black level and then a white level again, the position is the boundary of the black pattern 7c of the original 6. Thus, in adding a distance till the original scale tip 7b know in advance to the position (reference point), the position of the original scale tip (original tip) 7b is decided and the scanning of the original area is started from said position.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、撮像索子で原稿を読み取るに際して、原稿の
位置を検出することができる原稿読取装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a document reading device capable of detecting the position of a document when reading the document with an imaging probe.

(従来技術) 撮像索子を用いる原稿読取装置においては、読取の対象
である原稿は、原稿ガラス上に載置され、さらに原稿カ
バーでその上を覆われている。原稿は、露光源により照
射され、その濃度が一次元撮像素子により検出されろ(
主走査)。そして、この画像信号は、順次2値化処理が
なされた後、記憶装置に出納される。京槁面を順次走査
(副走査)して、原稿全体の画像が読み取られろ。
(Prior Art) In a document reading device using an imaging probe, a document to be read is placed on a document glass, and is further covered with a document cover. The original is illuminated by an exposure source, and its density is detected by a one-dimensional image sensor (
main scan). The image signals are sequentially binarized and then stored in a storage device. The image of the entire manuscript is read by sequentially scanning (sub-scanning) the Kyoto surface.

(発明の解決すべき問題点) 原稿面を一次元撮像素子で副走査する場合、走査の起点
を定めねばならない。従来は1.r二とえは、原稿の存
在しうる領域(原稿域)の先端に原稿先端検出スイッチ
を設け、このスイッチが走査のf二めの光学系等のrり
動によって作動し7・二点を副走査の起点としていfこ
。あるいは、定位置スイッチを設け、このスイツチが閉
じた点から所定の距離たけ進んだ点を副走査の起点とし
ていた。これらの方法では、スイツチの位置を精度よく
定めねばならない。
(Problems to be Solved by the Invention) When sub-scanning a document surface with a one-dimensional image sensor, it is necessary to determine the starting point of scanning. Conventionally, 1. In the r2 example, a document edge detection switch is provided at the tip of the area where the document can exist (document area), and this switch is activated by the r movement of the scanning optical system, etc., and detects the 7.2 points. Use f as the starting point for sub-scanning. Alternatively, a fixed position switch is provided, and the starting point of the sub-scanning is a point a predetermined distance from the point at which the switch is closed. In these methods, the position of the switch must be determined with high precision.

また、特公昭60−28182号公報に開示された画像
読取装置においては、f多動可能であって、且つ所定の
反射濃度となるように着色されたマーキング印材を、原
稿ガラスの端に沿って原稿の副走査方向に、2個設けて
いる。画像読取に際しては、マーキング部けを副走査の
開始点と終了点に設定し、マーキング部tオに相当する
画像を検出して画像読取の開始と終了を制御する。この
方法ではマーキング部tオの取付用の機構を必要とし、
また、マーキンク部材の位置調整をその都度必要とする
Furthermore, in the image reading device disclosed in Japanese Patent Publication No. 60-28182, a marking stamp material that is capable of f hyperactivity and is colored to have a predetermined reflection density is placed along the edge of the document glass. Two are provided in the sub-scanning direction of the document. When reading an image, marking portions are set at the start and end points of sub-scanning, and an image corresponding to the marking portion is detected to control the start and end of image reading. This method requires a mechanism for attaching the marking part,
Further, it is necessary to adjust the position of the marking member each time.

とごろで、本出願人は、特願昭60−85031号にお
いて、原稿の情報を含む部分の端を検出′4″る画像読
取装置を開示している。
In Japanese Patent Application No. 60-85031, the present applicant has disclosed an image reading apparatus which detects the edge of a portion of a document containing information.

本発明の目的は、このような画像読取装置においてら適
用可能な方法で原稿域の先端を検出できる画像読取装置
を提供することである。
An object of the present invention is to provide an image reading device that can detect the leading edge of a document area using a method applicable to such image reading devices.

(発明を解決するための手段) 本発明に係る画像読取装置は、原稿ガラス上の原稿の濃
度を撮像素子により検出する濃度検出手段と、濃度検出
手段により原稿ガラス上の原稿を副走査する走査手段と
、濃度検出手段により検出された濃度を記憶する5変記
憶手段と、原稿ガラスの走査開始側の原稿載置規準端部
に設けられる所定の濃度の黒色パターンを有する板と、
上記副走査によって上記黒色パターンか濃度検出手段に
より検出され、濃度情報が白レベルから黒レベルに変化
し、さらに再び白レベルに変化する位置を原稿域の先端
基準として検出する京稿域先端検出手段とを備えること
を特徴とする。
(Means for Solving the Invention) An image reading device according to the present invention includes a density detection means for detecting the density of an original on an original glass by an image sensor, and a scanning device for sub-scanning the original on the original glass by the density detection means. a 5-variable storage means for storing the density detected by the density detection means; and a plate having a black pattern of a predetermined density provided at the end of the document placement standard on the scanning start side of the document glass;
The black pattern is detected by the density detection means during the sub-scanning, and the document area leading edge detection means detects the position where the density information changes from the white level to the black level and then changes back to the white level as the leading edge reference of the document area. It is characterized by comprising:

(作 用) パターン仮に設けた黒色パターンを横切って副走査する
ときに、撮像素子による検出濃度レベルが白−黒一白と
変化した点を原稿域の先端の基檗として検出する。
(Function) When performing sub-scanning across the temporarily provided black pattern, the point where the density level detected by the image pickup device changes from white to black is detected as the reference point at the leading edge of the document area.

(実施例) 以下、添付の図面を参照して本発明の実施例を以下の順
序で説明する。
(Embodiments) Hereinafter, embodiments of the present invention will be described in the following order with reference to the accompanying drawings.

a:イメージリーダー b、イメージリーダーの内部構造 C・原稿スケール先端検出 d・画像情報読み取りのフロー e 原稿検出 (a)  イメージリーダー 第2図は、本発明に係るイメージリーダーの機(馴析面
図である。露光源であろハロケンランプ2;よ、原稿ガ
ラス4上に載置された原稿6を照射干る。原稿6は、原
稿ガラス・lの端に設けた原稿ス′1−ルアに沿って並
行に載置されろ。ハロケンランプ2には、反射鏡8と赤
外力、トフィルタIOとが備えらイLでいる。
a: Image reader b, internal structure of the image reader C, document scale tip detection d, image information reading flow e Document detection (a) Image reader FIG. The exposure source is the Haloken lamp 2; the original 6 placed on the original glass 4 is irradiated.The original 6 is placed along the original slider provided at the edge of the original glass The Haloken lamp 2 is equipped with a reflector 8, an infrared light source, and a filter IO.

1!71塙スケール7の裏側には、各種のパターンがf
llolつ”nlている。、第1図に示すように、原稿
スケール7の」二半分:よ白色てあり、/ニーディング
のhli正に使用さ、′iする、下半分の中央部には、
−1百の幅を4fする黒色パターン7cうく没けである
。この黒色パターン7cが原稿スケール先端(原稿域先
端)の検出に使用される。なお、本実施例では、この両
端にも黒色パターン7a、7aが設けてあり、この黒色
パターン7a、7aは、両者の距離の測定から倍率を決
定するために使用される。
1! On the back side of the 71 Hanawa scale 7, various patterns are f
As shown in Figure 1, the two halves of the manuscript scale 7 are white, and are used precisely for kneading. ,
The black pattern 7c, which has a width of -100 and 4f, is missing. This black pattern 7c is used to detect the tip of the document scale (the tip of the document area). In this embodiment, black patterns 7a, 7a are also provided at both ends, and these black patterns 7a, 7a are used to determine the magnification from the measurement of the distance between the two.

原稿6からの反射光は、第1ミラーI2、第2ミラーI
4および第3ミラーI6により順次反射された後、レン
ズ18を通って1次元のCCD(撮像素子)20に入射
する。
The reflected light from the original 6 is transmitted to the first mirror I2 and the second mirror I.
4 and third mirror I6, the light passes through a lens 18 and enters a one-dimensional CCD (imaging device) 20.

CCD20は、COD保持部22により保持され、且つ
、位置や角度が調整される。また、CCD保持部22と
レンズ18とは移動台24に取り付:1′みれる。
The CCD 20 is held by a COD holding section 22, and its position and angle are adjusted. Further, the CCD holding section 22 and the lens 18 are attached to a moving table 24 as shown in FIG.

倍率の調整は、図示しない移動吸構により移動台2・1
を光軸方向に移動させて行う。
The magnification can be adjusted using the movable mechanism (not shown) on movable platforms 2 and 1.
This is done by moving in the direction of the optical axis.

ピントの調整は、B動台2.1に取:)付:1だ図示し
ないモーターによ;) CCD fs持印部22光軸方
向に移動させることによ・つ行う。
Focus adjustment is carried out by moving the CCD fs marking section 22 in the direction of the optical axis using a motor (not shown) mounted on the B moving table 2.1.

1草稿6の走査に際しては、周知のように、光源2とミ
ラー12.+4.IGとが、走査方向にt〈動させられ
る。
When scanning one draft 6, as is well known, the light source 2 and the mirror 12 . +4. IG is moved t< in the scanning direction.

(b)  イメージリーダーの内部構造第3図は、原稿
の濃度を検出するだめの回路のブ冶ツク図である。
(b) Internal structure of the image reader FIG. 3 is a block diagram of the circuit for detecting the density of the original.

タロツク発生回路40は、撮像素子20に対し必要なS
H(Sample  Ho1d)信号を与え、他方では
CPU42にも接続され、クロック信号に用いられる。
The tarock generation circuit 40 generates the S required for the image sensor 20.
It provides an H (Sample Hold) signal, is also connected to the CPU 42, and is used as a clock signal.

撮像素子20は、光信号を電気信号に変換する。また、
その出力レベルは、CPU42からの信号により制御さ
れる。A/D変換器44は、撮像素子20のアナログ出
力をディジタル信号に変換する。その変換レベルは、C
PU42からの信号により制御される。シェーディング
回路46jよ、主走査方向の光mむらや撮像素子のヒツ
ト間のバラツキを補正するためのらので、CPU・12
からそのタイミンクが与えられる。シェーディング回路
46の出力は、比較回路48及びラインRへM50に入
力される。比較回路48は、シェープインク回路46で
補正されたイメージ信号とセレクタ52で選択された信
号との比較を行い、その結果をIヒ、lトて出力する。
The image sensor 20 converts an optical signal into an electrical signal. Also,
Its output level is controlled by a signal from the CPU 42. The A/D converter 44 converts the analog output of the image sensor 20 into a digital signal. The conversion level is C
It is controlled by a signal from PU42. The shading circuit 46j is used to correct the unevenness of light in the main scanning direction and the variation among image sensors, so the CPU 12
The timing is given by The output of shading circuit 46 is input to comparator circuit 48 and line R to M50. The comparison circuit 48 compares the image signal corrected by the shape ink circuit 46 and the signal selected by the selector 52, and outputs the result.

出力回路5・1は、1ヒツトのイメージ情報及び存効画
像信号(同期信号)を外部?こ出力する。ラインR,=
\〜150は、ンエーデインク!+li正さイtlこ信
号を一走査分メモリに記憶する。この冴込み信号は、C
PU・12から出力され、CPU112は、このライン
RA〜150を参照することにより、−ライン分のイメ
ージ情報を得る。RAM56に格納されろ属性情報は、
ラインn A M 50に書込まれた情報を乙とに2偵
又はディザの属性かCI)U=12により決定ざイ′o
へものであり、データ転送時(スキャン時)にはこの属
性をらとにセレクタ52をきりかえ、比較回路48に出
力する。
The output circuit 5.1 outputs one image's image information and effective image signal (synchronization signal) to the outside. Output this. Line R,=
\〜150 is nee de ink! +li Correctness Itl This signal is stored in the memory for one scan. This slow signal is C
It is output from the PU 12, and the CPU 112 obtains -line worth of image information by referring to the lines RA to 150. The attribute information stored in the RAM 56 is
The information written on line n A M 50 is determined by the attribute of 2 or dither or CI) U = 12.
During data transfer (scanning), the selector 52 is changed based on this attribute and output to the comparison circuit 48.

パターン生成回路58は、ディザ選択時に閾値を発生さ
せる乙のであり、閾値は(mXn)の7トリクスで発生
される。
The pattern generation circuit 58 generates a threshold value at the time of dither selection, and the threshold value is generated by 7 trixes of (mXn).

セレクタ52は、パターン生成回路58とRAM56か
らの閾値情報及び属性情報から比較回路・18へ送る閾
値データを選択する。属性かディザであれば、パターン
生成回路5gからのデータを、属性が2値であれば、R
AM56からの閾値情報を比較回路48へ送る。CPU
42は、以上の信号とモーター信号、ランプ信号、定位
置信号等やコマンド信号から全体を制御する。
The selector 52 selects threshold data to be sent to the comparison circuit 18 from the threshold information and attribute information from the pattern generation circuit 58 and RAM 56. If the attribute is dither, the data from the pattern generation circuit 5g is input to R. If the attribute is binary, R
Threshold information from AM56 is sent to comparison circuit 48. CPU
42 controls the entire system from the above signals, motor signals, lamp signals, fixed position signals, etc., and command signals.

(c)  原稿スケール先端検出 原稿スケール7の先端7bは、第1図に示すように、堕
稿スケール7の裏側に設けた黒色パターン7cを用いて
判別する。いま、原稿スケール7を矢印で示す副走査方
向に走査乙、CCD20で検出する。原稿パターン7を
横切るとき、C0D20の出力信号が白から黒になり再
び白になった位置が、黒色パターン7Cの原稿6側の境
界である。したがって、この位置(基準点)に、予めわ
かっている原稿スケール先端7bまでの距離を加えろと
原稿スケール先端(すなわち原稿先端)7bの位置が決
まる。しfこかって、皇稿域の走査は、この位置からは
じめればよい。なお、白−黒→白の濃度レベルの変化を
確実に検出するために、黒パターン7cの両側に白レベ
ルの部分を設ける。
(c) Original scale tip detection The tip 7b of the original scale 7 is determined using a black pattern 7c provided on the back side of the corrupted manuscript scale 7, as shown in FIG. Now, the original scale 7 is scanned in the sub-scanning direction indicated by the arrow and detected by the CCD 20. When crossing the original pattern 7, the position where the output signal of the C0D 20 changes from white to black and then becomes white again is the boundary of the black pattern 7C on the original 6 side. Therefore, by adding a previously known distance to the document scale tip 7b to this position (reference point), the position of the document scale tip (that is, document tip) 7b is determined. Therefore, scanning the imperial manuscript area should start from this position. In order to reliably detect the change in density level from white to black to white, white level portions are provided on both sides of the black pattern 7c.

なお、この草稿スケール7には、倍率検出用のパターン
7 a、 7 a、ピン)・調整用のパターン(図示し
ない)等が設けられている。
The draft scale 7 is provided with magnification detection patterns 7a, 7a, pins), adjustment patterns (not shown), and the like.

第4図に、原稿スケール先端検出のフローを示す。原稿
スケール7を副走査方向に走査を開始する。そして、■
次元CCD20の黒色パターン7Cを検出できろ位置の
素子(複数であってもよい)のa度情報を常に検出する
。まず、この素子の濃度情報か白レベルであるか否かを
判定し、否でeうイtば白レベルになるまで待つ(ステ
ップP25)。次に、この素子のa度情報か黒レベルに
なったか否かを判定し、否でうれ:f黒レベルにrjる
まて待つ(ステップP 26 )。次に、この素子の濃
度情報か再び白レベルになったか否かを判定し、否であ
れば白レベルになるまで待つ(ステップI〕27)、、
次に、白レベルになった点(基準点)と予め知られてい
る原稿スケール先端までの白部分シ・)距ン准た(を侍
つ。
FIG. 4 shows the flow of document scale tip detection. Scanning of the original scale 7 in the sub-scanning direction is started. And ■
A degree information of the element (or elements may be plural) at a position where the black pattern 7C of the dimensional CCD 20 can be detected is always detected. First, it is determined whether the density information of this element is at the white level or not, and if not, the process waits until it reaches the white level (step P25). Next, it is determined whether or not the a degree information of this element has reached the black level, and if no, it waits until rj reaches the black level (step P26). Next, it is determined whether the density information of this element has reached the white level again, and if not, it waits until it reaches the white level (Step I] 27).
Next, the distance between the white level point (reference point) and the tip of the original scale, which is known in advance, is determined.

((j)画像情f(5読み取りのフロー両像情罷涜み取
・)のフローを、下1図に示4−フローチャートによ、
)1悦明」−ろ。
((j) The flow of image information f (5 reading flow) is shown in Figure 1 below. 4 - According to the flowchart,
)1 Yue Ming”-ro.

まず、コマンド信号が入力されろ(ステップP1 )。First, a command signal is input (step P1).

このコマンド信号がスタートコマンドであるか否かか判
別される(ステップP2)。スタートコマンドが入力さ
れていると、以下のスキャン動作に移る。なお、走査系
の倍率等は、それぞれの使用態様に応じて設定されてい
る。
It is determined whether this command signal is a start command (step P2). If the start command has been input, the process moves to the following scanning operation. Note that the magnification of the scanning system and the like are set according to each usage mode.

まず、露光のためにランプを点灯する(ステップPIO
)。次に、走査系(スライダ)が定位置に戻っているか
否かが判別されろ(ステップpH)。
First, turn on the lamp for exposure (step PIO
). Next, it is determined whether the scanning system (slider) has returned to its home position (step pH).

戻っていれば、ステップP20に進む。否であれば、モ
ーターをリターン方向に駆動して定位置まで戻しくステ
ップP12)、走査系か定位置に戻ったか否かを判別す
る(ステップPI3)。否であれば、ステップPI2に
戻る。戻っていれば、モーターを停止する(ステップP
14)。次にC0D20のレベル調整を行う(ステップ
P15)。
If it has returned, the process advances to step P20. If not, the motor is driven in the return direction to return to the home position (step P12), and it is determined whether the scanning system has returned to the home position (step PI3). If not, return to step PI2. If it has returned, stop the motor (step P
14). Next, the level of C0D20 is adjusted (step P15).

次に、ノエーディング処理を行う。スライダが基準レベ
ルにあるので、ンエーデインク信号をオンしくステップ
P20)、CCD20の出力の同期信号であるサンプル
・ホールド(SH)信号が入力されているか否かを判別
する(ステップP2+)。
Next, a noeding process is performed. Since the slider is at the reference level, the digital ink signal is turned on (step P20), and it is determined whether a sample and hold (SH) signal, which is a synchronizing signal for the output of the CCD 20, is input (step P2+).

S I(信号が人力されるのを侍って、ンエーディング
信号をオフし、原稿検出のための予備スキャンをスター
トさせろ(ステップP22)。
SI (Wait for the signal to be input manually, turn off the navigation signal, and start preliminary scanning for document detection (step P22).

まず、原稿スケール先端7bの検出を行う(ステップP
23.(c)節参照)。次にステップP30では、S 
H信号が人力されているか否がか判別される。
First, the tip 7b of the original scale is detected (step P
23. (see section (c)). Next, in step P30, S
It is determined whether the H signal is manually input or not.

S H信号が入ると、シェーディング補正を施された現
在のC0D20の出力をラインR,AM50に書き込む
(ステップP31)。次のS H信号が入力されている
か否かが判別され(ステップP32)、入力された時点
でラインRA M 50の書き込み信号をオフする(ス
テップP33)。次に、ラインRAM50に書き込まれ
たデータより、原稿の位置を検出する(ステップP34
)。この検出については、後で詳細に説明する。次に、
ラインRAM50に書き込まれたデータ(濃度分布、濃
度ピーク等)より、データ処理の属性、すなわち、2値
であるかディザであるかを判断し、セレクタ52に書き
込む(ステップP35)。次に、スキャンが終了したか
否かが判別される(ステップP36)。否であれば、ス
テップP30に戻る。次に、モーターをリターン方向に
駆動して、走査系を定位置にまで戻しくステップP37
)、走査系が定位置に戻ったか否かを判別する(ステッ
プP38)。否であれば、ステップP37に戻る。
When the S H signal is input, the current output of C0D20, which has been subjected to shading correction, is written to lines R and AM50 (step P31). It is determined whether or not the next S H signal has been input (step P32), and when the next S H signal has been input, the write signal of the line RAM 50 is turned off (step P33). Next, the position of the document is detected from the data written in the line RAM 50 (step P34).
). This detection will be explained in detail later. next,
Based on the data (density distribution, density peak, etc.) written in the line RAM 50, the attribute of the data processing, ie, whether it is binary or dither, is determined and written to the selector 52 (step P35). Next, it is determined whether the scan is completed (step P36). If not, the process returns to step P30. Next, step P37 of driving the motor in the return direction to return the scanning system to the home position.
), it is determined whether the scanning system has returned to its home position (step P38). If not, the process returns to step P37.

次に、本スキャンを行う。モーターを走査方向に駆動し
、データ出力のためのスキャンが開始される(ステップ
P40)。原稿スケール先端7bの検出を行う(ステッ
プP41.(c)節参照)。次に、走査か予備スキャン
時に測定された原稿先端位置にくるまで待つ(ステップ
P42)。なお、検出した原稿の大きさと抵サイズとか
ら余白の大きさを決定し、プリンタの紙の送り出しタイ
ミングまたは同期信号タイミンクを変える。草稿先端位
置にくると、有効画像信号をオンにしくステップP43
)、出力信号を介助にし、出力装置(プリンタ)を作動
さU゛る。
Next, perform the main scan. The motor is driven in the scanning direction, and scanning for data output is started (step P40). The tip 7b of the document scale is detected (step P41. See section (c)). Next, wait until the leading edge of the document reaches the position measured during scanning or preliminary scanning (step P42). Note that the size of the margin is determined based on the detected size and resistance of the document, and the paper feed timing or synchronization signal timing of the printer is changed. When the leading edge of the draft is reached, turn on the effective image signal in step P43.
), the output signal is used as an aid to activate the output device (printer).

皇塙後端(装置にきたか否かを判別しくステップP・1
・1)、草稿後端位置にまでくると、すなわち、スキャ
ンが終了すると、育効画像信号をオフし、出力信号を無
効にする(ステップP45)。
Rear end of the crown (step P.1 to determine whether it has reached the device or not)
1) When the trailing edge of the draft is reached, that is, when scanning is completed, the enhancement image signal is turned off and the output signal is invalidated (step P45).

次に、露光のためのランプを清澄する(ステップP50
)。モーターをリターン方向に駆動しくステップP51
)、走査系が定位置に戻ったか否かを判別する(ステッ
プP52)。戻っていれば、モーターを停止する(ステ
ップP53)。そして、ステップP1に戻り、次のスタ
ートコマンドにそなえろ。
Next, clarify the lamp for exposure (step P50
). Step P51 to drive the motor in the return direction.
), it is determined whether the scanning system has returned to its home position (step P52). If it has returned, the motor is stopped (step P53). Then, return to step P1 and prepare for the next start command.

(e)  原稿検出 次に、予備スキャンでラインRAM50に格納されたデ
ータから原稿の中の文字図形情報域の位置を検出するた
めのフロー(ステップP34)について、第1図の実例
を参考に、第6図のフローチャートにより説明する。原
稿端の位置は、白レベルから黒レベルへ変化する点で検
出する。
(e) Document Detection Next, the flow for detecting the position of the text/figure information area in the document from the data stored in the line RAM 50 during preliminary scanning (step P34) will be described with reference to the example in FIG. This will be explained with reference to the flowchart shown in FIG. The position of the edge of the document is detected at the point where the white level changes to the black level.

第1図に示す例においては原稿6にローマ字のAか大き
く書かれている。本実施例においては、原稿内の文字図
形情報域は、文字図形情報を囲む丑ら決い長方形、十な
イっら破線で示す領域とじて検出されろ。ここで、破線
a(原稿端1)と破線b(原稿端2)は、主走査方向に
垂直な方向で文字Aの最も左の点A、と最乙右の点A2
にそれぞれ接する線である。また、破線C(原稿先端位
置)と破線d(原稿後端位置)は、主走査方向に平行な
方向で文字Aの最乙上の点A3と最も下の点A、、A2
とにそれぞれ接する線である。なお、文字図形情報域境
界a −dは、後に説明するように主走査方向に検出が
なされるので、主走査方向に平行または垂直である。
In the example shown in FIG. 1, the Roman letter A is written in large letters on the manuscript 6. In this embodiment, the text/graphic information area in the document is detected as a rectangular area surrounding the text/graphic information, as indicated by a dotted line. Here, dashed line a (document edge 1) and dashed line b (document edge 2) are the leftmost point A and the rightmost point A2 of character A in the direction perpendicular to the main scanning direction.
These are the lines that are tangent to each. Also, the broken line C (document leading edge position) and the broken line d (document trailing edge position) are the uppermost point A3 and the lowermost point A, A2 of the character A in the direction parallel to the main scanning direction.
These are the lines that are tangent to each. Note that the character/graphic information area boundaries a to d are parallel or perpendicular to the main scanning direction because they are detected in the main scanning direction as described later.

原稿の情報のCODによる検出は、原稿の先後方向にス
キャン位置を順次移動(副走査)して行なわれる。原稿
検出のフローは、各スキャン位置でのスギャン毎に1回
なされる。
Detection of information on a document by COD is performed by sequentially moving the scanning position in the front and back direction of the document (sub-scanning). The document detection flow is performed once for each scan at each scan position.

まず、撮像素子情報の読み取りのためのポインタを撮像
素子先端(左端)に相当する位置におく(ステップP6
0)。また、原稿端1と原稿端2にも初期値(撮像素子
先端と後端)を設定する。
First, a pointer for reading image sensor information is placed at a position corresponding to the tip (left end) of the image sensor (step P6
0). Initial values (the leading edge and trailing edge of the image sensor) are also set for document edge 1 and document edge 2.

次に、ポインタの指す撮像素子情報を取り出す(ステッ
プP61)。その撮像素子情報が黒レベルであるか否か
が判別さイーる(ステップP62)。黒レベルならば、
原稿の内容かないので、ポインタを次の位置に更新する
(ステップP63)。(ポインタは、順次、左から右へ
移動する。)次に、ポインタが原稿端2を越えたか否か
が判別され(ステップP64)、否であれば、ステップ
P 61 +、:戻ろ。
Next, the image sensor information pointed to by the pointer is extracted (step P61). It is determined whether the image sensor information is a black level (step P62). If the black level is
Since there is no content of the original, the pointer is updated to the next position (step P63). (The pointer sequentially moves from left to right.) Next, it is determined whether the pointer has exceeded the document edge 2 (step P64), and if not, step P61 +: Return.

越えていれば、原稿の内容がなかったと判断される。次
に、前回の原稿検出に際し、原稿があったか否かが判別
され(ステップP65)、あるならば、現在のスキャン
位置を原稿後端位置としくステップP66)、リターン
する。否であれば、そのままリターンする。
If it exceeds the limit, it is determined that there is no content in the manuscript. Next, it is determined whether or not there was a document in the previous document detection (step P65), and if there is, the current scan position is set as the trailing edge position of the document (step P66), and the process returns. If not, simply return.

ステップP62で、ポインタの指す撮像素子情報が黒レ
ベルでない七判別されると、次に、白レベルであるか否
かが判別される(ステップP70)。
When it is determined in step P62 that the image sensor information pointed to by the pointer is not at the black level, it is then determined whether or not it is at the white level (step P70).

白レベルであれば、ポインタを次の位置に更新する(ス
テップP71)。次に、ポインタか原稿端2を越えたか
否かが判別され、否であれば、ステップP70に戻る。
If it is the white level, the pointer is updated to the next position (step P71). Next, it is determined whether the pointer has exceeded the edge 2 of the document, and if not, the process returns to step P70.

越えていれば、原稿の内容がなかったと判別され、ステ
ップP65に進み、黒レベルに変わるまで続ける。
If it exceeds the black level, it is determined that there is no document content, and the process proceeds to step P65, where the process continues until the black level is reached.

ステップP70で白レベルでないと判断されると、すな
わち、黒レベルへの変化が検出されると、次に、それま
での原稿端Iの位置より小さいか否か(左側か否カリが
判別される(ステップP80)。
If it is determined that the white level is not at step P70, that is, if a change to the black level is detected, then it is determined whether the original edge I is smaller than the previous position of the document edge I (whether it is on the left side or not). (Step P80).

そうであれば、そのときのポインタ位置(黒が検出され
た位置)を今回以降の原稿端lとし、否であれば、その
まま、次に進む。以上のステップで、原稿端1が求めら
れる。
If so, the pointer position at that time (the position where black was detected) is set as the document edge l from this time onwards, and if not, the process continues to the next step. Through the above steps, the document edge 1 is determined.

次に、原稿端2を求める。まず、ポインタを撮像素子後
端に相当する位置におく(ステップP90)。
Next, document edge 2 is determined. First, the pointer is placed at a position corresponding to the rear end of the image sensor (step P90).

次に、ポインタの示ず撮像素子情報を取り出す(ステッ
プP91)。その撮像素子情報が黒レベルであるか否か
か判別される(ステップP92)。黒レベルならば、原
稿の内容がないので、ポインタを次の位置に更新する(
ステップP93)。次に、ポインタの位置が原稿端1の
位置より小さいか否がか判別され(ステップP 911
 )、否であれば、ステップP91に戻る。小さけi、
tば、原稿の内容がJ′、ζか、、−,1−)−判断木
メ11、ステシブP65に進む、ステップP92で、ポ
インタの指す撮像素子情報が黒レベルでないと判別され
ると、次に、白レベルであるかが否かが判別される(ス
テップP100)。白レベルであれば、ポインタを次の
位置に更新する(ステップPIOI)。次に、ポインタ
が原稿端1より小さいか否かか判別され(ステップPI
02 )、否であれば、ステップP100に戻る。越え
ていれば、原稿の内容がなかったと判断され、ステップ
P65に進む。
Next, the image sensor information not indicated by the pointer is extracted (step P91). It is determined whether the image sensor information is a black level (step P92). If it is the black level, there is no content in the document, so update the pointer to the next position (
Step P93). Next, it is determined whether the position of the pointer is smaller than the position of document edge 1 (step P911).
), if not, the process returns to step P91. Small i,
If the content of the document is J', ζ, -, 1-), the process proceeds to step P65. If it is determined in step P92 that the image sensor information pointed to by the pointer is not at the black level, Next, it is determined whether the white level is reached (step P100). If it is the white level, the pointer is updated to the next position (step PIOI). Next, it is determined whether the pointer is smaller than document edge 1 (step PI
02), otherwise the process returns to step P100. If it exceeds, it is determined that there is no document content, and the process advances to step P65.

ステップP100で白レベルてないと判断されると、す
なわち、黒レベルが検出されると、次に、ポインタの位
置が原稿端2の位置より小さいか否かか判断され、そう
であれば、ポインタ(黒か検出されfこ位置)を原稿端
2とし、否であれば、そのまま、次に進む。以上のステ
ップで、原稿端2が求めらイする。
If it is determined in step P100 that the white level is not high, that is, if the black level is detected, then it is determined whether the position of the pointer is smaller than the position of the document edge 2, and if so, the pointer is (the position f where blackness is detected) is set as document edge 2, and if not, the process continues to the next step. With the above steps, the document edge 2 is determined.

次に、前回の原稿検出に際し、草稿がなかツfコか否か
が判別される(ステシブpH2)。初めて原稿が検出ご
れたなら、現在のスキャン位1位を県稿先端(存置とし
くステップPI+3)、リターンする。否であれば、そ
のままリターンする。
Next, when the previous document was detected, it is determined whether the draft is in the middle or not (progressive pH2). When the original is detected for the first time, the current scanning position No. 1 is set as the leading edge of the prefectural manuscript (step PI+3 if left) and the process returns. If not, simply return.

(発明の効果) 従来使用されてき1コ[草稿先端スイノヂか不要にぼろ
。京稿の副走査(′J、、7京稿載置の活錦となる原稿
スケールの裏面に設けられたパターン仮の先端から始め
られるので、原稿スケールの位置精度が1且くてらよい
(Effects of the invention) One piece that has been used in the past [the tip of the draft is unnecessarily tattered. The sub-scanning of the Kyoto manuscript ('J,, 7 The pattern provided on the back side of the manuscript scale, which is the active part of the manuscript placement, starts from the temporary tip, so the positional accuracy of the manuscript scale is 1.

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

第1図は、草稿の検出すべき文字域の位置を示す図であ
る。 第2図は、イメージリーダーの断面図である。 第3図は、イメージリーダーの内部構成のブロック図で
ある。 第、1図は、草稿スケール先端検出のフローチャー1・
である。 第5図は、祭塙読み取りのフローチャートである。 茅6図は、草稿検出のフローチャートである。 2・・光源、  6・・・原稿、  7 ・原稿スケー
ル、7a、7a・・黒色パターン、 7b・、原稿スケール先端、 7c・・・黒色パターン、  20・撮影潮干。
FIG. 1 is a diagram showing the positions of character areas to be detected in a draft. FIG. 2 is a sectional view of the image reader. FIG. 3 is a block diagram of the internal configuration of the image reader. Figure 1 shows the flowchart 1 of detecting the tip of the draft scale.
It is. FIG. 5 is a flowchart for reading the shrine. Figure 6 of Kaya is a flowchart of draft detection. 2...Light source, 6...Manuscript, 7.Document scale, 7a, 7a...Black pattern, 7b., Tip of manuscript scale, 7c...Black pattern, 20.Photographing tide.

Claims (1)

【特許請求の範囲】[Claims] (1)原稿ガラス上の原稿の濃度を撮像素子により検出
する濃度検出手段と、 濃度検出手段により原稿ガラス上の原稿を副走査する走
査手段と、 濃度検出手段により検出された濃度を記憶する濃度記憶
手段と、 原稿ガラスの走査開始側の原稿載置規準端部に設けられ
る所定の濃度の黒色パターンを有する板と、 上記副走査によって上記黒色パターンが濃度検出手段に
より検出され、濃度情報が白レベルから黒レベルに変化
し、さらに再び白レベルに変化する位置を原稿域の先端
基準として検出する原稿域先端検出手段とを備えること
を特徴とする原稿検出装置。
(1) Density detection means for detecting the density of the original on the original glass using an image sensor; scanning means for sub-scanning the original on the original glass by the density detection means; and density for storing the density detected by the density detection means. a storage means; a plate having a black pattern of a predetermined density provided at a document placement reference end on the scanning start side of the document glass; 1. A document detection device comprising document area leading edge detection means for detecting a position where a level changes from a black level to a white level again as a reference to the leading edge of the document area.
JP61004080A 1986-01-10 1986-01-10 Original detection device Pending JPS62161273A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61004080A JPS62161273A (en) 1986-01-10 1986-01-10 Original detection device
US07/595,698 US5115478A (en) 1986-01-10 1990-10-10 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61004080A JPS62161273A (en) 1986-01-10 1986-01-10 Original detection device

Publications (1)

Publication Number Publication Date
JPS62161273A true JPS62161273A (en) 1987-07-17

Family

ID=11574812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61004080A Pending JPS62161273A (en) 1986-01-10 1986-01-10 Original detection device

Country Status (1)

Country Link
JP (1) JPS62161273A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5208873A (en) * 1987-09-10 1993-05-04 Minolta Camera Kabushiki Kaisha Image reader having an editor for setting a threshold value

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5208873A (en) * 1987-09-10 1993-05-04 Minolta Camera Kabushiki Kaisha Image reader having an editor for setting a threshold value

Similar Documents

Publication Publication Date Title
US5416609A (en) Image pickup apparatus for focusing an object image based on mirror reflected height of the object
US6124950A (en) Apparatus and method for detecting book document along the longitudinal edge
JPS6028182B2 (en) Image reading device
US5969795A (en) Image reading apparatus
JPH02115869A (en) Electrophotographic type copier
JPS63261952A (en) Microreader scanner
JPH09191376A (en) Image reader
JPS62161273A (en) Original detection device
JPH01196964A (en) Copying machine
JPS622225A (en) Magnification adjusting and focusing system
US6198547B1 (en) Apparatus for reading an image and method of extracting an image
JPH09149256A (en) Image reader
JP3384208B2 (en) Image reading device
JP3513243B2 (en) Image reading apparatus and holder used therefor
JPH09321984A (en) Image processor and metal color identification method
JPS62140546A (en) Magnification focus adjusting system
JPS61247164A (en) Automatic density adjusting original reader
JP2685049B2 (en) Document reading output device
JP3430776B2 (en) Image reading device
JPS62133439A (en) Reader for reading out peripheral information of original picture film
JPS62105571A (en) Film reader
JP4630476B2 (en) Image signal processing apparatus, image signal processing method, image reading system, program, and medium
JP2001183760A (en) Picture reader
JPH09224132A (en) Image reader
JPH0623096Y2 (en) Electronic blackboard