JPH03224355A - image input device - Google Patents

image input device

Info

Publication number
JPH03224355A
JPH03224355A JP2303078A JP30307890A JPH03224355A JP H03224355 A JPH03224355 A JP H03224355A JP 2303078 A JP2303078 A JP 2303078A JP 30307890 A JP30307890 A JP 30307890A JP H03224355 A JPH03224355 A JP H03224355A
Authority
JP
Japan
Prior art keywords
image
scale
information
read
reading window
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
JP2303078A
Other languages
Japanese (ja)
Inventor
Shigeo Yoneda
米田 茂生
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2303078A priority Critical patent/JPH03224355A/en
Publication of JPH03224355A publication Critical patent/JPH03224355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Image Input (AREA)

Abstract

PURPOSE:To eliminate the need for a rotary encoder of rotary structure and to make a scanner section drastically small in size by detecting a moving position of an image sensor through the electric signal processing with scale information. CONSTITUTION:A scale body 10 is positioned and placed on an original face 30 so that a picture of an original face 30 to be read enters in a picture read window 2, and an operation section 22 is gripped and a scanner section 20 is moved along a guide hole 11. Picture information and scale information representing a pitch read from a scale 13 are stored tentatively in a RAM. After the end of read, a central processing unit reads the picture information (g) and the scale information (m) from the RAM and corrects the scale information (m) into scale information M of the original pitch (equal interval) based on a program of a program ROM and the picture information (g) is corrected into the original picture information G corresponding to the scale information M.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、原稿等の画像を手動走査により読み取って
パーソナルコンピュータやワードプロセッサ等の機器に
直接入力するのに用いられる画像入力装置に関する。
The present invention relates to an image input device used for manually scanning an image of a document or the like and directly inputting the image into a device such as a personal computer or a word processor.

【従来の技術】[Conventional technology]

一般にイメージスキャナと称せられる手動走査式画像入
力装置は原稿面上を手動走査するスキャナ部を備えてお
り、従来、このスキャナ部には、光学系およびイメージ
センサからなる画像読み取り部と第1O図に示すような
ロータリエンコーダとを内蔵している。このロータリエ
ンコーダは、スキャナ部の原稿面側に内蔵されており、
スキャナ部の移動に伴ってゴムローラ1が画像を読み取
るへき原稿面上を回転する。この回転がゴムベルト2を
介してスリット円板3に伝達される。スリット円板3に
は複数個のスリット3aが放射状に且つ等間隔に配設さ
れており、このスリット円板3に、透過用スリット体5
を介在させて透過型フォトインタラプタ4が対設されて
いる。透過型フォトインクラブタ4は、スリット円板3
.透過用スリット体5の各スリットを通して受ける光パ
ルスに基づいて、スキャナ部の移動位置を表わす検出信
号を出力する。そして、この検出信号に同期して、上記
画像読み取り部のイメージセンサが読み取った画像情報
をパーソナルコンピュータ等の機器に入力する。このよ
うにスキャナ部の移動位置を表わす検出信号に同期する
ことにより、スキャナ部の走査速度が一定でないときに
も安定に画像情報を入力することができる。
A manual scanning image input device, generally referred to as an image scanner, is equipped with a scanner section that manually scans the surface of a document. Conventionally, this scanner section includes an image reading section consisting of an optical system and an image sensor, and a It has a built-in rotary encoder as shown. This rotary encoder is built into the scanner section on the document surface side.
As the scanner section moves, the rubber roller 1 rotates on the surface of the document to read the image. This rotation is transmitted to the slit disk 3 via the rubber belt 2. A plurality of slits 3a are arranged radially and at equal intervals in the slit disk 3, and a transmission slit body 5 is provided in the slit disk 3.
A transmissive photointerrupter 4 is disposed opposite to the photointerrupter 4. The transmission type photo ink converter 4 has a slit disk 3
.. Based on the light pulses received through each slit of the transmission slit body 5, a detection signal representing the movement position of the scanner section is output. Then, in synchronization with this detection signal, the image information read by the image sensor of the image reading section is input to a device such as a personal computer. By synchronizing with the detection signal representing the moving position of the scanner section in this manner, image information can be input stably even when the scanning speed of the scanner section is not constant.

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかしながら、上記ロータリエンコータは、ゴムローラ
1やスリット円板3等による機械的回転機構であるため
、この回転伝達用のゴムベルト2の伸縮や高分解能とな
った場合のゴムローラ1とスリット円板3との回転比率
の精度の低下により、移動位置の検出精度が高くなく、
画像情報をさほど正確には入力できない欠点がある。 また、ロータリエンコーダ自体の容積か大きいので、ハ
ンディタイプのイメージスキャナには適さない問題かあ
る。 そこで、この発明の目的は、スキャナ部の移動位置を高
精度に検出でき、構成を簡素化して格段に小型化できる
画像入力装置を提供することにある。
However, since the rotary encoder is a mechanical rotation mechanism using the rubber roller 1, the slit disk 3, etc., the rubber roller 1 and the slit disk 3 may be affected by the expansion and contraction of the rubber belt 2 for transmitting the rotation, and when high resolution is achieved. Due to the decrease in the accuracy of the rotation ratio, the detection accuracy of the moving position is not high,
There is a drawback that image information cannot be entered very accurately. Furthermore, since the rotary encoder itself has a large volume, there is a problem that it is not suitable for a hand-held image scanner. SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image input device that can detect the moving position of a scanner section with high precision, and that can be simplified in configuration and significantly reduced in size.

【課題を解決するための手段】[Means to solve the problem]

上記目的を達成するために、この発明の画像人力装置は
、イメージセンサを内蔵するスキャナ部を原稿面に沿っ
て手動走査して、上記イメージセンサが光学的に読み取
った画像を表わす画像情報をパーソナルコンピュータ等
の機器に入力する画像入力装置であって、上記スキャナ
部は、底面に一方向に延びる画像読み取り窓が開設され
且つ上記画像読み取り窓の縁部に所定ピッチの目盛りか
付されてなる定規体に、上記イメージセンサを上記画像
読み取り窓および上記目盛りに対向させた状態で、上記
画像読み取り窓が延びる方向に沿って移動自在に設けら
れ、上記イメージセンサが上記画像読み取り窓を通して
読み取った画像情報と上記画像読み取り窓の縁部の目盛
りから読み取ったピッチを表わす目盛り情報とを一時的
に記憶するメモリと、上記メモリか記憶する上記目盛り
情報を所定ピッチを表わすように補正すると共に、上記
目盛り情報の補正に対応して上記画像情報を補正する画
像補正処理手段を備えたことを特徴としている。 また、上記定規体の上記目盛りは、上記画像読み取り窓
が延びる方向に対して一定角度傾斜した線からなるのが
望ましい。 すか−トがスキャナ部すかはC!?!柑休に一体ト紀ス
キャナ部が上記画像読み取り窓の端部に移動したとき作
動するスイッチを備えるのが望ましい。
In order to achieve the above object, the image processing apparatus of the present invention manually scans a scanner unit containing an image sensor along the surface of a document, and personalizes image information representing an image optically read by the image sensor. An image input device for inputting data to a device such as a computer, wherein the scanner section is a ruler having an image reading window extending in one direction on the bottom surface and having scales at a predetermined pitch on the edge of the image reading window. The image sensor is provided on the body so as to be movable along the direction in which the image reading window extends, with the image sensor facing the image reading window and the scale, and image information read by the image sensor through the image reading window. and a memory for temporarily storing scale information indicating the pitch read from the scale at the edge of the image reading window; The present invention is characterized by comprising an image correction processing means for correcting the image information in accordance with the correction of the image information. Preferably, the scale of the ruler is formed by a line inclined at a certain angle with respect to the direction in which the image reading window extends. Skate is scanner part Suka is C! ? ! It is preferable to provide a switch that is activated when the integrated scanner section moves to the end of the image reading window.

【作用】[Effect]

画像の読み取りは次のようにして行われる。まず、定規
体を原稿上に載置して、読み取るへき画像が画像読み取
り窓内に入るように位置決めする。 続いて、手動操作により、定規体の画像読み取り窓に沿
ってスキャナ部を移動させると、その移動に伴ってイメ
ージセンサか画像読み取り窓内の画像を光学的に順次読
み取っていく。同時に、上記画像読み出し窓の縁部に付
された目盛りをも読み取り、読み取った画像情報と目盛
り情報とをメモリに一時記憶する。そして、読み取り終
了後に画像補正処理手段によって、スキャナ部の移動速
度のばらつきにより伸び縮みしている目盛り情報を元の
ピッチに補正するよう信号処理すると共に、この目盛り
情報の補正に対応して画像情報の伸び縮みを補正する。 従って、画像情報が元の原稿面での状態に正確に復元さ
れる。そして、この復元された画像情報がパーソナルコ
ンピュータ等に人力される。 このように、この画像入力装置では、イメージセンサの
移動位置の検出が上記目盛り情報を用いて電気的な信号
処理により行われるので、従来の機械的機構による検出
に比して、格段に検出精度か高まる。また、回転構造の
ロータリエンコータか不要となることから、スキャナ部
か大幅に小型化される。 また、上記定規体の上記目盛りは、上記画像読み取り窓
が延ひる方向に対して一定角度傾斜した線からなる場合
、イメージセンサか読み取った斜め線を元の角度の線に
戻す補正を行うことにより、目盛り情報の補正精度か高
まる。したがって、上記画像情報かさらに高精度に補正
される。 また、上記スキャナ部または定規体に、上記スキャナ部
か上記画像読み取り窓の端部に移動したとき作動するス
イッチを備えた場合、上記画像読み取り窓が延ひる方向
に沿って上記スキャナ部を走査したときに、上記スイッ
チのオン、オフによって画像の読み取りが完了したこと
が検出される。 したがって、画像の読み取り手順か簡単なものとなる。
Image reading is performed as follows. First, a ruler is placed on the document and positioned so that the cut image to be read falls within the image reading window. Next, when the scanner unit is manually moved along the image reading window of the ruler, the image sensor sequentially optically reads the images in the image reading window as the scanner unit moves. At the same time, the scale attached to the edge of the image reading window is also read, and the read image information and scale information are temporarily stored in a memory. After the reading is completed, the image correction processing means performs signal processing to correct the scale information that has expanded or contracted due to variations in the moving speed of the scanner section to the original pitch, and also processes the image information in response to the correction of the scale information. Correct the expansion and contraction of. Therefore, the image information is accurately restored to its original state on the document surface. This restored image information is then manually input to a personal computer or the like. In this way, in this image input device, the moving position of the image sensor is detected by electrical signal processing using the scale information, so the detection accuracy is significantly higher than that by conventional mechanical mechanisms. increases. Additionally, since a rotary encoder with a rotating structure is not required, the scanner section can be significantly downsized. In addition, when the image reading window consists of a line inclined at a certain angle with respect to the extending direction, the scale of the ruler is corrected by returning the diagonal line read by the image sensor to the line at the original angle. , the correction accuracy of scale information increases. Therefore, the above image information is corrected with even higher precision. Further, when the scanner section or the ruler body is provided with a switch that is activated when the scanner section or the ruler moves to the end of the image reading window, the scanner section is scanned along the extending direction of the image reading window. Sometimes, it is detected that image reading is completed by turning the switch on or off. Therefore, the image reading procedure becomes simple.

【実施例】【Example】

以下、この発明の画像入力装置を実施例により詳細に説
明する。 第1図、第2図はそれぞれ一実施例の画像入力装置を構
成するスキャナ部と定規体の平面、縦断面を示し、第3
図は上記画像人力装置の信号処理系統を示している。 第1図、第2図に示すように、定規体10は、左右に長
い方形箱形状になっていて、上面にガイド孔11か、且
つ下面に画像読み取り窓12かそれぞれ長手方向に沿っ
て設けられている。画像読み取り窓12の縁部には、上
記長手方向に垂直に移動位置検出用目盛り13か付され
ている。目盛り13のピッチ(すなわち分解能)は1m
mで、フルスケールは50mmである。 スキャナ部20は、ケーシング21の上部かカイト孔1
1から外部に突出した操作部(操作者に把持される部分
)22となっており、ノJイト孔11に沿って移動自在
に定規体10に取り付けられている。スキャナ部20の
内部には、投光用の発光タイオード23.集光用レンズ
24および画像読み取り用イメージセンサ25からなる
光学読み取り機構か、画像読み取り窓12内の画像と目
盛り13とに対向した状態で配設されている。 第3図に示す信号処理系統には、cpu(中央処理装置
)26と、プログラムROM(リード・オンリ・メモリ
)27と、RA〜1(ランタム・アクセス・メモリ)2
8か設けられている。CPU26はプログラムROM 
27に記憶された後述するプログラムに従って装置全体
を制御する。また、発光ダイオード23を一定周期で点
灯させて変調光を原稿面30の画像に対し照射させ、上
記原稿面30の画像と上記定規体10の光学読み取り窓
12の縁部の目盛り13とをイメージセンサ25に光学
的に読み取らせる。RAM28は、イメージセンサ25
が原稿面30から読み取った画像を表わす画像情報と上
記目盛り13から読み取ったピッチを表わす目盛り情報
とを一時的に記憶することができる。 この画像入力装置は全体として次のように動作する。ま
ず、操作者は、原稿面30の読み取るへき画像が画像読
み取り窓12内に入るように定規体10を位置決めして
原稿面30上に載置する。 続いて、操作部22を把持して、スキャナ部20をガイ
ド孔11に沿って第2図において右方向へ移動させる。 すると、その移動に伴って、発光タイオード23の変調
光か画像読み取り窓12内の原稿面30で反射され、上
記原稿面30の画像に対応する反射光がレンズ24で集
光される。この反射光かCPU26の制御により発光タ
イオード23の発光に同期してイメージセンサ25に取
り込まれ、画像読み取り窓12内の画像か光学的に順次
読み取り走査されていく。それと同時に、目盛り13も
同様に読み取られ、上記画像情報と上記目盛り13から
読み取ったピッチを表す目盛り情報とかRAM28に一
時記憶される。具体的には、スキャナ部20か定規体1
0の左端から右方向へ走査される際に、第6図に示すよ
うに、まず走査方向に垂直な1ライン(RAM28の1
イメージラインに相当する)のイメージデータを読み取
る(ステップS、)。そして、目盛り13のうち読み取
った箇所か白であるか黒であるかを判定する(ステップ
S2)。黒であると判定したときはステップS1に戻っ
て再ひ1ラインのイメージデータを読み取る一方、白で
あると判定したときはカウントnを0にする(ステップ
S3)。カウントnは目盛り13のうち走査済みの目盛
りの本数を表わし、フルスケール50mmが、n−50
に相当する。 次に、CPO26は、内蔵するシステムクロックに同期
して、言い換えればスキャナ部20の走査速度と無関係
に1ラインのイメージデータを読み取る(ステップS4
)。続いて、このイメージデータをRAM2Bに格納し
くステップS5)、目盛り13のうち読み取った箇所か
白であるか黒であるかを判定する(ステップS6)。白
であると判定したときはステップS4に戻って再び1ラ
インのイメージデータを読み取る。一方、黒であると判
定したときはスキャナ部20の走査か進んだ箇所で上記
システムクロックに同期して1ラインのイメージデータ
を読み取り(ステ・ツブS7)、このイメージデータを
RAM28に格納する(ステップSO)。 そして、目盛り13のうち読み取った箇所が白であるか
黒であるかを判定する(ステ・ツブS8)。黒であると
判定したときはステップS7に戻って再び1ラインのイ
メージデータを読み取る一方、白であると判定したとき
はカウントnの値に1を加える(ステップS、。)。続
いて、カウントnか50以上の値であるかを判定して(
ステ、プS1.)、nく50のときはステップS4に戻
って次の1ラインのイメージデータを読み取る一方、n
≧50のときは走査か完了したと判断して読み取りを終
了する。 ここで、第4図(a)に示すように、RAM28に一時
的に記憶された画像情報gおよび目盛り情報mは、スキ
ャナ部20の走査速度のばらつきにより伸ひ縮みして元
の情報に対し変形されている。 例えば、第5図(a)に示すように、目盛り情報mのう
ちm=5番目の黒領域はイメージライン数てカウントし
てC−1!、本分だけ連続する。また、上記黒領域の右
側に続(白領域は(l=Q、本分たけ連続し、m=6番
目の黒領域はQ−123本分だけ連続する。 そこで、読み取り終了後に、中央処理装置26がRAM
28から上記画像情報gおよび目盛り情報mを読み出し
、プログラムROM27のプログラムに基ついて目盛り
情報mを第4図(b)に示すように元のピ、チ(等間隔
)の目盛り情報Mに補正すると共に、この目盛り情報M
に対応して画像情報gを第4図(b)に示すような元の
画像情報Gに補正する。具体的には、読み取りか完了す
ると、第7図に示すように、ます、カウントnとカウン
トQとを初期化(ゼロにセット)する(ステップ512
)。なお、Qの値は、ここでは内容判定済みのイメージ
ラインの本数を表わすものとしている。次に、アドレス
Oのイメージラインの目盛り情報mの内容か白であるか
黒であるかを判定する(ステップ513)。 黒であると判定したときはイメージラインのアドレスを
1つ進めると共にQの値に1を加えなからlryノ、L
タフ4−17ニノ1ツバ閂nV、 L*紡釦−β山つ尤
判定してゆく。この判定は1つの黒領域か終わるまて、
すなわちイメージラインの目盛り情報mの内容を白と判
定するまで継続する(ステップ514)。 目盛り情報mの内容か白であると判定したときは、その
時点でのCの値(Qolとする)をlOで除し、さらに
その商を整数化(少数点以下の切り捨て)して整数値1
nt(f2o/ 10)を求める(ステ、プS1.)。 ここて、Qの値を除す数「10」は、第5図(b)に示
すように、補正後の目盛り情報Mのピ・ノチをイメージ
ラインでカウントしてC−10本に設定することに対応
している。したかつて、上記商の値(Q0/10)は、
目盛り情報mか目盛り情報Mに対して何倍たけ伸びてい
るかを表わしている。次に、第7図中のステップS 1
6に示すように、内容判定済みのσ。本のイメージライ
ンのうち上記整数値1nt(C。 /10)の倍数に当たるアドレスのイメージラインの画
像情報gを保存する一方、残りのイメージラインの画像
情報gを消去する(ステップS、6)。 すなわち、目盛り情報mか目盛り情報Mに対して伸びて
いる分たけ画像情報gを間引いて、補正後の画像情報G
を構成するのである。次に、カウントgの値を初期化す
る(ステップsl□)。そして、目盛り情報mの上記黒
領域に続く白領域についても、上記黒領域と全く同様の
手順で画像情報gを補正して画像情報Gを構成する(ス
テップS 18乃至521)。そして、目盛り情報mの
うち1つの黒領域とこの黒領域に続く1つの白領域との
補正(および画像情報gの補正)が終了すると、カウン
トnの値に1を加えると共にカウントθを初期化する(
ステップS、2)。この時点でnの値が50以上である
かとうかを判定して(ステップ523)、n<50であ
るときはステップS 13に戻って目盛り情報mの次の
黒領域の補正を行う一方、n≧50となったときは画像
補正を終了する。このようにして、画像情報Gを正確に
元の状態に復元することができる。復元された画像情報
Gはそのままパーソナルコンピュータ等に入力すること
かできる。 コノヨウニ、この画像入力装置は、イメージセンサ25
の移動位置の検出を上記目盛り情報を用いて電気的な信
号処理により行っているので、従来の機械的機構による
検出に比して、格段に高精度に検出することができる。 また、回転構造のロータリエンコータを不要にでき、し
たがってスキャナ部20を大幅に小型化することができ
る。 なお、目盛り13のピッチは、第1図に示すように1m
mとしたが、これに限られるものではない。 ピッチを1mmよりも更に密にすれば、画像情報をさら
に高精度に補正することができる。また、目盛り13を
、第1図中に1点鎖線113で示すように画像読み取り
窓12に対し斜め45°の線になるよう付し、走査して
読み取った斜め線を元の45°の連続した線に戻す補正
を行うことにより、画像情報を極めて高精度に補正する
ことかできる。 このときの目盛り13のピッチおよび傾きは、装置の仕
様に応して適宜選択すればよい。 また、第8図に示すように、上記スキャナ部20のケー
/ング21に、このスキャナ部20が画像読み取り窓1
2の端部に移動したとき作動するスイッチ40を設けて
も良い。このスイッチ4゜はスキャナ部20かカイト孔
11の左右両端にあるときは接触片40aが解放されて
オフする一方、スキャナ部20かカイト孔11の中央部
にあるときは接触片40aかカイト孔11の縁部11a
に当接してオンするようになっている。このようにした
場合、第6図に示した画像の読み取り手+1[jiを第
9図に示すように簡単なものにすることができる。 すなわち、まず、CPU26は、このスイッチ40かオ
ン、オフいずれの状態にあるかを判定する(ステップS
 、o、)。そして、スイッチ40かオンしているとき
のみ1ラインのイメーンテータを読み取り(ステ、ブS
 、、、)、読み取ったイメーシテータをRAM28に
格納する(ステップ5lo3)。続いて、スイッチ40
のオン、オフ状態を判定して(ステップ51o4)、ス
イッチ40かオンしているときはイメーシテータの読み
取りを継続する一方、スイッチ40かオフしたとき(す
なわちスキャナ部20かカイト孔11の右端に来たとき
)は読み取りを終了する。このように、簡単な手順で画
像を読み取ることかできる。なお、上記スイッチ40は
スキャナ部20に設けたか、これに限られるものてはな
い。例えば、定規体1oの左右両端にそれぞれリミ、ト
スイ、チを設けて、スキャナ部20かガイド孔11の左
右両端にきたときのみ上記リミ、トスイ、チかオフ(ま
たはオン)するようにしても良い。
Hereinafter, the image input device of the present invention will be explained in detail using examples. FIG. 1 and FIG. 2 respectively show a plane and a longitudinal section of a scanner section and a ruler that constitute an image input device of one embodiment.
The figure shows the signal processing system of the human-powered image device. As shown in FIGS. 1 and 2, the ruler 10 has a rectangular box shape that is long from side to side, and has a guide hole 11 on the top surface and an image reading window 12 on the bottom surface along the longitudinal direction. It is being A movement position detection scale 13 is provided on the edge of the image reading window 12 in a direction perpendicular to the longitudinal direction. The pitch (i.e. resolution) of scale 13 is 1m
m, and the full scale is 50 mm. The scanner section 20 is installed in the upper part of the casing 21 or in the kite hole 1.
1 is an operating section (portion to be grasped by the operator) 22 that protrudes to the outside and is attached to the ruler 10 so as to be movable along the nozzle hole 11. Inside the scanner unit 20, there is a light emitting diode 23 for projecting light. An optical reading mechanism consisting of a condensing lens 24 and an image sensor 25 for reading an image is disposed so as to face the image in the image reading window 12 and the scale 13 . The signal processing system shown in FIG.
There are 8. CPU26 is a program ROM
The entire device is controlled according to a program stored in 27, which will be described later. Furthermore, the light emitting diode 23 is turned on at regular intervals to irradiate the image of the document surface 30 with modulated light, and the image of the document surface 30 and the scale 13 on the edge of the optical reading window 12 of the ruler 10 are visualized. The sensor 25 is made to read optically. The RAM 28 is the image sensor 25
It is possible to temporarily store image information representing the image read from the document surface 30 and scale information representing the pitch read from the scale 13. This image input device generally operates as follows. First, the operator positions the ruler 10 and places it on the document surface 30 so that the edge image to be read on the document surface 30 falls within the image reading window 12 . Subsequently, the user grasps the operating section 22 and moves the scanner section 20 along the guide hole 11 to the right in FIG. 2. Then, as the light emitting diode 23 moves, the modulated light from the light emitting diode 23 is reflected by the document surface 30 within the image reading window 12, and the reflected light corresponding to the image on the document surface 30 is focused by the lens 24. This reflected light is captured by the image sensor 25 in synchronization with the light emission of the light emitting diode 23 under the control of the CPU 26, and the image within the image reading window 12 is sequentially read and scanned optically. At the same time, the scale 13 is read in the same way, and the image information and scale information representing the pitch read from the scale 13 are temporarily stored in the RAM 28. Specifically, the scanner unit 20 or the ruler body 1
When scanning from the left end of 0 to the right, as shown in FIG.
(corresponding to the image line) is read (step S). Then, it is determined whether the read portion of the scale 13 is white or black (step S2). When it is determined that it is black, the process returns to step S1 and one line of image data is read again, while when it is determined that it is white, the count n is set to 0 (step S3). The count n represents the number of scales that have been scanned among the scales 13, and a full scale of 50 mm is n-50.
corresponds to Next, the CPO 26 reads one line of image data in synchronization with the built-in system clock, in other words, regardless of the scanning speed of the scanner section 20 (step S4
). Subsequently, this image data is stored in the RAM 2B (step S5), and it is determined whether the read portion of the scale 13 is white or black (step S6). If it is determined that it is white, the process returns to step S4 and one line of image data is read again. On the other hand, when it is determined that the image is black, one line of image data is read in synchronization with the system clock at a point where the scanner section 20 has advanced in scanning (Step S7), and this image data is stored in the RAM 28 ( Step SO). Then, it is determined whether the read portion of the scale 13 is white or black (step S8). When it is determined that it is black, the process returns to step S7 and one line of image data is read again, while when it is determined that it is white, 1 is added to the value of count n (step S, ). Next, determine whether the count n is 50 or more (
Step S1. ), when n is 50, the process returns to step S4 to read the next line of image data, while n
When ≧50, it is determined that scanning is completed and reading is terminated. Here, as shown in FIG. 4(a), the image information g and scale information m temporarily stored in the RAM 28 are expanded or contracted due to variations in the scanning speed of the scanner unit 20, and are different from the original information. It has been transformed. For example, as shown in FIG. 5(a), the m=5th black area of the scale information m is counted as the number of image lines and is C-1! , only the duty continues. Further, on the right side of the above-mentioned black area, the white area continues for (l = Q, the number of books, and the black area at m = 6th continues for the length of Q - 123 books. 26 is RAM
The image information g and scale information m are read out from 28, and based on the program in the program ROM 27, the scale information m is corrected to the original pitch information M (equally spaced) as shown in FIG. 4(b). Along with this scale information M
Corresponding to this, the image information g is corrected to the original image information G as shown in FIG. 4(b). Specifically, when reading is completed, as shown in FIG. 7, a count n and a count Q are initialized (set to zero) (step 512).
). Note that the value of Q here represents the number of image lines whose contents have been determined. Next, it is determined whether the content of the scale information m of the image line at address O is white or black (step 513). When it is determined that the color is black, advance the address of the image line by one and add 1 to the value of Q.
Tough 4-17 Nino 1 Tuba Button nV, L* Spindle - β Mountain Tsuyuki will be judged. This judgment is made until one black area is reached.
That is, the process continues until the content of the scale information m of the image line is determined to be white (step 514). When it is determined that the content of scale information m is white, the value of C at that time (denoted as Qol) is divided by lO, and the quotient is converted into an integer (rounded down to the nearest decimal point) to obtain an integer value. 1
Find nt(f2o/10) (Step S1.). Here, the number "10" by which the value of Q is divided is set to C-10 by counting the pi-nochi of the scale information M after correction using image lines, as shown in FIG. 5(b). It corresponds to that. Once, the value of the above quotient (Q0/10) is
It represents how many times the scale information m or the scale information M has increased. Next, step S1 in FIG.
As shown in 6, the content has been determined. Among the image lines of the book, the image information g of the image line whose address corresponds to a multiple of the above-mentioned integer value 1 nt (C./10) is saved, while the image information g of the remaining image lines is erased (step S, 6). That is, by thinning out the image information g that is extended with respect to the scale information m or the scale information M, the corrected image information G is obtained.
It constitutes. Next, the value of the count g is initialized (step sl□). Then, regarding the white area following the black area of the scale information m, the image information g is corrected in exactly the same procedure as for the black area to form image information G (steps S18 to S521). When the correction of one black area of scale information m and one white area following this black area (and correction of image information g) is completed, 1 is added to the value of count n and the count θ is initialized. do(
Step S, 2). At this point, it is determined whether the value of n is 50 or more (step 523), and if n<50, the process returns to step S13 to correct the next black area of the scale information m, while n When the value becomes ≧50, image correction is ended. In this way, the image information G can be accurately restored to its original state. The restored image information G can be input as is into a personal computer or the like. This image input device is the image sensor 25.
Since the movement position is detected by electrical signal processing using the scale information, it can be detected with much higher precision than detection using a conventional mechanical mechanism. Further, a rotary encoder having a rotating structure can be eliminated, and the scanner section 20 can therefore be significantly downsized. Note that the pitch of the scale 13 is 1 m as shown in Figure 1.
m, but is not limited to this. If the pitch is made denser than 1 mm, image information can be corrected with even higher precision. In addition, the scale 13 is attached to the image reading window 12 so as to form a line diagonal to the image reading window 12 at an angle of 45 degrees, as shown by the dashed line 113 in FIG. By performing correction to return to the original line, image information can be corrected with extremely high precision. The pitch and inclination of the scale 13 at this time may be appropriately selected according to the specifications of the apparatus. Further, as shown in FIG.
A switch 40 may be provided that is activated when moved to the end of 2. When this switch 4° is located at both the left and right ends of the scanner section 20 or the kite hole 11, the contact piece 40a is released and turned off, while when it is located at the center of the scanner section 20 or the kite hole 11, the contact piece 40a or the kite hole is turned off. 11 edge 11a
It is designed to turn on when it comes into contact with. In this case, the image reader +1 [ji shown in FIG. 6 can be simplified as shown in FIG. 9. That is, first, the CPU 26 determines whether the switch 40 is on or off (step S
,o,). Then, one line of imager is read only when switch 40 is on (step, switch).
, , ), the read imesitator is stored in the RAM 28 (step 5lo3). Next, switch 40
When the switch 40 is on, reading of the imagetator is continued, while when the switch 40 is off (i.e., when the scanner unit 20 comes to the right end of the kite hole 11) ) finishes reading. In this way, you can read images with simple steps. Note that the switch 40 may be provided in the scanner section 20, but is not limited thereto. For example, a limit, a tosui, and a chi may be provided at both left and right ends of the ruler 1o, and the limits, toss, and chi may be turned off (or turned on) only when the scanner section 20 or the left and right ends of the guide hole 11 are reached. good.

【発明の効果】【Effect of the invention】

以上より明らかなようにこの発明の画像人力装置は、イ
メージセンサの移動位置の検出を電気的な信号処理のみ
により行っているので、従来の機械的機構による検出に
比して検出精度を格段に高めることができ、高分解能と
なった場合においても正確な入力画像を安定して得るこ
とができる。 また、回転構造のロータリエンコータか不要となること
から、スキャナ部か大幅に小型化され、且つ構成の簡素
化に伴って安価となる。 また、上記定規体の上記目盛りは、上記画像読み取り窓
が延ひる方向に対して一定角度傾斜した線からなる場合
、イメージセンサか読み取った斜め線を元の角度の線に
戻す補正を行うことにより目盛り情報の補正精度を高め
ることかできる。したかって、画像情報をさらに高精度
に補正することができる。 また、上記スキャナ部または定規体に、上記スキャナ部
が上記画像読み取り窓の端部に移動したとき作動するス
イッチを備えた場合、上記スイッチのオン、オフによっ
て画像の読み取りか完了したことを検出てき、画像の読
み取り手順を簡単なものにすることかできる。
As is clear from the above, the image sensor of the present invention detects the moving position of the image sensor only by electrical signal processing, and therefore has much higher detection accuracy than detection using conventional mechanical mechanisms. Even when the resolution is high, accurate input images can be stably obtained. Furthermore, since a rotary encoder having a rotating structure is not required, the scanner section can be significantly downsized, and the cost can be reduced due to the simplification of the configuration. In addition, when the image reading window consists of a line inclined at a certain angle with respect to the extending direction, the scale of the ruler is corrected by returning the diagonal line read by the image sensor to the line at the original angle. It is possible to improve the accuracy of correction of scale information. Therefore, image information can be corrected with even higher precision. Furthermore, if the scanner section or the ruler is provided with a switch that is activated when the scanner section moves to the end of the image reading window, the completion of image reading can be detected by turning the switch on or off. , it is possible to simplify the image reading procedure.

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

第1図はこの発明の〜実施例の画像入力装置を構成する
スキャナ部および定規体を示す平面図、第2図は上記ス
キャナ部および定規体を示す断面図、第3図は上記画像
入力装置の信号処理系統を示すブロック図、第4図(a
)、 (b)はそれぞれ補正前、補正後の画像情報およ
び目盛り情報を示す図、第5図(a)、 (b)は目盛
り情報を補正する状態を示す図、第6図は画像の読み取
り手順を示す図、第7図は画像情報の補正手順を示す図
、第8′図は上記スキャナ部および定規体の変形例を示
す図、第9図は上記変形例のスキャナ部および定規体を
用いて画像の読み取りを行う手順を示す図、第10図は
従来の画像入力装置の移動位置検出手段を示す図である
。 10・・・定規体、11・・・ガイド孔、12・画像読
み取り窓、 13・・・移動位置検出用目盛り、20・・・スキャナ
部、21・・ケーシング、    22・操作部、23
・・・発光タイオード、  24・・・集光用レンズ、
25・・イメーゾセンサ、  26・・cpu。 27・・・プログラムROM、28・・RA M 。 30・原稿面、40 ・スイッチ、113・・・斜め線
FIG. 1 is a plan view showing a scanner section and a ruler body constituting an image input device according to embodiments of the present invention, FIG. 2 is a sectional view showing the scanner section and ruler body, and FIG. 3 is a plan view showing the above image input device A block diagram showing the signal processing system of
) and (b) are diagrams showing image information and scale information before and after correction, respectively. Figures 5 (a) and (b) are diagrams showing the state in which scale information is corrected. Figure 6 is a diagram showing image reading. 7 is a diagram showing a procedure for correcting image information, FIG. 8' is a diagram showing a modified example of the scanner section and ruler body, and FIG. 9 is a diagram showing a modified example of the scanner section and ruler body of the above modified example. FIG. 10 is a diagram showing a moving position detecting means of a conventional image input device. DESCRIPTION OF SYMBOLS 10... Ruler, 11... Guide hole, 12... Image reading window, 13... Movement position detection scale, 20... Scanner section, 21... Casing, 22. Operation section, 23
...Light emitting diode, 24...Condensing lens,
25...image sensor, 26...cpu. 27...Program ROM, 28...RAM. 30・Document surface, 40・Switch, 113...diagonal line.

Claims (2)

【特許請求の範囲】[Claims] (1)イメージセンサを内蔵するスキャナ部を原稿面に
沿って手動走査して、上記イメージセンサが光学的に読
み取った画像を表わす画像情報をパーソナルコンピュー
タ等の機器に入力する画像入力装置であつて、 上記スキャナ部は、底面に一方向に延びる画像読み取り
窓が開設され且つ上記画像読み取り窓の縁部に所定ピッ
チの目盛りが付されてなる定規体に、上記イメージセン
サを上記画像読み取り窓および上記目盛りに対向させた
状態で、上記画像読み取り窓が延びる方向に沿って移動
自在に設けられ、 上記イメージセンサが上記画像読み取り窓を通して読み
取った画像情報と上記画像読み取り窓の縁部の目盛りか
ら読み取ったピッチを表わす目盛り情報とを一時的に記
憶するメモリと、 上記メモリが記憶する上記目盛り情報を所定ピッチを表
わすように補正すると共に、上記目盛り情報の補正に対
応して上記画像情報を補正する画像補正処理手段を備え
たことを特徴とする画像入力装置。
(1) An image input device that manually scans a scanner unit containing an image sensor along the surface of a document and inputs image information representing an image optically read by the image sensor to a device such as a personal computer. , The scanner unit is configured to attach the image sensor to a ruler body having an image reading window extending in one direction on the bottom surface and having scales at a predetermined pitch on the edge of the image reading window. The image reading window is provided so as to be movable along the extending direction of the image reading window while facing the scale, and the image sensor reads the image information read through the image reading window and from the scale on the edge of the image reading window. a memory for temporarily storing scale information representing a pitch; and an image for correcting the scale information stored in the memory so as to represent a predetermined pitch, and correcting the image information in accordance with the correction of the scale information. An image input device comprising a correction processing means.
(2)上記スキャナ部または定規体に、上記スキャナ部
が上記画像読み取り窓の端部に移動したとき作動するス
イッチを備えたことを特徴とする請求項1に記載の画像
入力装置。
(2) The image input device according to claim 1, wherein the scanner section or the ruler body is provided with a switch that is activated when the scanner section moves to an end of the image reading window.
JP2303078A 1989-11-10 1990-11-07 image input device Pending JPH03224355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2303078A JPH03224355A (en) 1989-11-10 1990-11-07 image input device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP29338889 1989-11-10
JP1-293388 1989-11-10
JP2303078A JPH03224355A (en) 1989-11-10 1990-11-07 image input device

Publications (1)

Publication Number Publication Date
JPH03224355A true JPH03224355A (en) 1991-10-03

Family

ID=26559389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2303078A Pending JPH03224355A (en) 1989-11-10 1990-11-07 image input device

Country Status (1)

Country Link
JP (1) JPH03224355A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006305963A (en) * 2005-04-28 2006-11-09 Seiko Epson Corp Image processing, correction value acquisition method, printing apparatus manufacturing method, and printing method
JP2008270953A (en) * 2007-04-17 2008-11-06 Pfu Ltd Image reading device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006305963A (en) * 2005-04-28 2006-11-09 Seiko Epson Corp Image processing, correction value acquisition method, printing apparatus manufacturing method, and printing method
JP2008270953A (en) * 2007-04-17 2008-11-06 Pfu Ltd Image reading device

Similar Documents

Publication Publication Date Title
WO1994010652A1 (en) Apparatus and method for a text input system and universal computer input device
JPS6226502B2 (en)
US4742559A (en) Manual-scanning image reader
US4009467A (en) Character reader
JP3980798B2 (en) Written information input system
JPH03224355A (en) image input device
US6619551B2 (en) Hand-held scanner having X and Y moving means
JP2578175B2 (en) Image input device
JPH0669204B2 (en) Image reader
US5283666A (en) Area designating apparatus
JPH01229559A (en) Original reader
JPS5864570A (en) Bar-code reader
JPS55143684A (en) Optical character reader
US4771475A (en) Image scanner
JPH07109611B2 (en) Hand scanner type image input device
JPH09282084A (en) Pointing device and information processing system using the same
JP2604358B2 (en) Barcode demodulator
JPH04136869A (en) copying device
JPH06164831A (en) Picture information communication equipment
JPS6168675A (en) barcode reader
JPH0681217B2 (en) Image reader
JP2775734B2 (en) Barcode identification method
JP2733951B2 (en) Barcode reader
JPS63115287A (en) Image reader
JPS6034045B2 (en) Magnification measuring device