JPH0239387A - Reader - Google Patents

Reader

Info

Publication number
JPH0239387A
JPH0239387A JP63189909A JP18990988A JPH0239387A JP H0239387 A JPH0239387 A JP H0239387A JP 63189909 A JP63189909 A JP 63189909A JP 18990988 A JP18990988 A JP 18990988A JP H0239387 A JPH0239387 A JP H0239387A
Authority
JP
Japan
Prior art keywords
reading
image
read
frame
coordinate
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
JP63189909A
Other languages
Japanese (ja)
Inventor
Totsuo Nakamoto
仲元 突男
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63189909A priority Critical patent/JPH0239387A/en
Publication of JPH0239387A publication Critical patent/JPH0239387A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To improve the read accuracy by providing reference marks on a business form, calculating a distance between these marks and correcting a difference between an original position on the business form of a character entry frame and a position where a registration is executed actually. CONSTITUTION:A distance L between a reference mark 1 (22) and a mark 2 (23) of a business form 1 is inputted. From a coordinate between a reference mark image 1 (24) and a mark image 2 (25) in an image memory 8 which are read, a distance L1 between them is derived. Subsequently, from a black frame image 18 of the image memory 8, a read range is designated. Next, a coordinate of the read range which has been designated is derived. Thereafter, when Y1 denotes the Y direction of a coordinate which is inputted, based on the image memory 8, Y which is derived by Y=L.Y1/L1 goes to a coordinate of the Y direction of the read coordinate of the business form 1. In such a way, a position of a read frame 10 which is corrected is determined. When other character entry frame exists, a coordinate of its read range is corrected in the same way, and a read format of the business form 1 is generated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、aみ取シフオーマットを使用する読み取り
装置4に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reading device 4 that uses an a-reading format.

〔従来の技術〕[Conventional technology]

第3図は1例えば光学文字読取装置を示すブロック図で
9図において、(I)は帳票、(2)はj隈票(ll上
の所定の位置に記入された文字、(3)−は光源、(4
)は光センサーで、光源(3)と光センサ−(4)とで
スキャナー(5)を構成している。(6)はスキャナー
(5)の走査を制御するスキャナー制御f装置、(7)
はスキャナー(5)からの出力電気信号をイメージパタ
ーンに変換する制御装置、(8)はイメージメモ1J1
9Jはこのイメージパターンから文字コードを決定する
認識装置である。
FIG. 3 is a block diagram showing an example of an optical character reading device. In FIG. Light source, (4
) is a light sensor, and a light source (3) and a light sensor (4) constitute a scanner (5). (6) is a scanner control f device that controls scanning of the scanner (5); (7)
is a control device that converts the output electrical signal from the scanner (5) into an image pattern, and (8) is the image memo 1J1.
9J is a recognition device that determines a character code from this image pattern.

第4図は、読み取りフォーマットHの図である。FIG. 4 is a diagram of reading format H.

第4図中、 01は、パターン認識の処理を容易にする
ため、認識装置(9)内に予め記憶されている読み取り
フォーマット、 aυは文字の記入されるべき予め定め
られた位置を示す読み取り枠を示す。
In Fig. 4, 01 is a reading format stored in advance in the recognition device (9) to facilitate pattern recognition processing, and aυ is a reading frame indicating a predetermined position where a character is to be written. shows.

第5図は従来の読み取シフオーマット作成手順を示すフ
ローチャートであシ、第6図は従来の読み取りフォーマ
ット作成手順を、説明するだめの図である。第6図中、
翰は読み取りフォーマット作成用帳票であり、帳票+1
1を債写機で複写し、読み取り装置で認識できない色、
つまりドロップアウトカラーで印刷されている文字記入
枠αのをドロップアウトカラーでなく黒枠αηとしたも
のである。
FIG. 5 is a flowchart showing a conventional reading format creation procedure, and FIG. 6 is a diagram for explaining the conventional reading format creation procedure. In Figure 6,
The kanji is a form for creating a reading format, and the form is +1.
1 is copied with a bond copying machine, and the color cannot be recognized by the reading device.
In other words, the character entry frame α printed in the dropout color is changed to a black frame αη instead of the dropout color.

α梯は読み取#)フォーマット作成用帳票(Ill9の
イメージデータがイメージメモ1月8)に格納されたと
きの黒枠αηに対応する黒枠イメージ、α[相]はイメ
ージメモリ(8)に格納されているイメージデータを元
に作成した読み取りフォーマット≠=−大を示し、(l
υはイメージデータを元に作成された読み取り枠。
The α ladder is read #) The black frame image corresponding to the black frame αη when the image data of Ill9 is stored in the format creation form (Image Memo January 8), and α [phase] is stored in the image memory (8). Indicates that the reading format ≠=-large is created based on the image data, and (l
υ is a reading frame created based on image data.

Qυは本来指定されるべき読み堰り枠である。Qυ is the reading frame that should originally be specified.

次に第3図と第4図を用い光学文字読取装置の動作につ
いて説明する。
Next, the operation of the optical character reading device will be explained using FIGS. 3 and 4.

光センサ(4)は横方向(以下、X軸方向とする)に多
数の光電変換素子が配列されていて、光源(3)で照射
された帳票(1)からの反射光の強さ金成気信号に変換
する。すなわち、帳票(1)のX軸方向の1ラスタ分に
相当する光情報が電気信号に変換されてスキャナ制御装
置jl (6)に入力される。1隈票(11上の白地の
部分からの反射光の強さは強く9文字の線上の各点から
の反射光の強さは弱く、この強弱に応じて出力電気信号
の強弱が定まる。スキャナ(5)からの電気信号は2値
信号化されたスキャナ制御装置(6)及び制御装置(7
)を経てイメージメモリ(8)に格納される。
The optical sensor (4) has a large number of photoelectric conversion elements arranged in the horizontal direction (hereinafter referred to as the X-axis direction), and measures the intensity of the reflected light from the form (1) illuminated by the light source (3). Convert to signal. That is, optical information corresponding to one raster in the X-axis direction of the form (1) is converted into an electrical signal and input to the scanner control device jl (6). The strength of the reflected light from the white part on the 1st square mark (11) is strong, and the strength of the reflected light from each point on the line of 9 characters is weak, and the strength of the output electrical signal is determined according to this strength.Scanner The electrical signals from (5) are converted into binary signals from the scanner control device (6) and the control device (7).
) and then stored in the image memory (8).

また、スキャナ制御装置(6)はスキャナ(5)からX
軸方向の1ラスタ分の情報の入力を終了すると。
The scanner control device (6) also controls the scanner (5) to
When you finish inputting information for one raster in the axial direction.

X軸に直角なY軸方向にスキャナ(5)を移動させて次
のラスク分の入力を行い、このようにして帳票+11の
全表面をスキャンしてその出力を順次イメージメモ1月
8)に書き込む。イメージメモリ(8)内の各ビットの
アドレス位置は当該ビットに対応する画素の帳票(1)
上の座標位置に対応する。
Move the scanner (5) in the Y-axis direction perpendicular to the X-axis to input the next rask, scan the entire surface of form +11 in this way, and sequentially write the output as an image memo (January 8). Write. The address position of each bit in the image memory (8) is the form (1) of the pixel corresponding to that bit.
Corresponds to the coordinate position above.

認識装置(9)はイメージメモリ(8)から各文字(2
)のイメージパターンを読み出しその黒の部分の特徴を
解析して、パターン認識として従来よく知られている方
法により当該イメージパターンに対応する文字コードを
決定する。
The recognition device (9) reads each character (2) from the image memory (8).
) is read out, the characteristics of the black portion thereof are analyzed, and a character code corresponding to the image pattern is determined by a method well known in the art as pattern recognition.

一方、イメージメモリ(8)全領域内のイメージパター
ンから各文字をそれぞれ区別して認識するよシも、各文
字が記入されることに定められている読み取り枠αυ内
のイメージパターンから当該文字を認識する方がよシ容
易であるため、認識装rlt (9)内には第4図に示
す読み取シ枠(Illの座標位置が読み取りフォーマッ
トα1として記憶されておシ、読み取り枠0υに対応す
るアドレス範囲内だけのイメージパターンを読み出して
文字認識を行っている。
On the other hand, each character is recognized separately from the image pattern in the entire area of the image memory (8), and the character is recognized from the image pattern within the reading frame αυ in which each character is written. Since it is easier to do this, the coordinate position of the reading frame (Ill) shown in FIG. Character recognition is performed by reading image patterns only within the range.

この際、*み取りフォーマットα〔の読み取り枠αυ内
に設定されている各種パラメータが利用される。
At this time, various parameters set within the reading frame αυ of the *trimming format α[ are used.

次に第5図と第6図を用い、読み取りフォーマット作成
手段について説明する。
Next, the reading format creation means will be explained using FIGS. 5 and 6.

ドロップアウトカラーが黒色になるように複写機で帳票
(1)を複写し、読み取りフォーマット作成用帳票09
を作成する。これによシ帳票(1)上には。
Copy form (1) with a copy machine so that the dropout color is black, and create form 09 for reading format.
Create. This is on the form (1).

ドロップアウトカラーで印刷されている文字記入枠a3
は黒枠αηとなる。この読み取#)フォーマット作成j
引i艮票(IQを光学文字読取装置で読み取るとイメー
ジメモリ(8)には1文字のイメージのほかに黒枠αD
のイメージ(1秒も格納される。この黒枠イメージ(I
8を指定して文字記入枠α2の座標を求めるのであるが
、この際イメージメモリ(8)の原点を基準点としてい
るため9本来の座標−とずれが発生する。
Text entry frame A3 printed in dropout color
becomes a black frame αη. This reading #) Format creation j
When IQ is read with an optical character reader, the image memory (8) contains a black frame αD in addition to the image of one character.
image (1 second is also stored. This black frame image (I
8 is specified to find the coordinates of the character entry frame α2, but at this time, since the origin of the image memory (8) is used as the reference point, a deviation from the original coordinates of 9 occurs.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の読み取りフォーマットを使用した読み取り装置は
以上のように構成されているので、読み取シ装置によシ
、読み取られたイメージを元に。
Since the reading device using the conventional reading format is configured as described above, the reading device can read the image based on the image read by the reading device.

その読み取りフォーマットの座標を指定する従来の方法
では、復写時およびイメージ読み取9時の誤差を含んで
いるだめ、読み取シフオーマットの読み取り枠は読み取
シ帳票上の文字記入枠の位置を正しく示さない。つまシ
読み取)フォーマットを使用したにもかかわらず、読み
取シ精度が向上しにくい問題があった。
The conventional method of specifying the coordinates of the reading format includes errors during copying and image reading, so the reading frame of the reading format does not correctly indicate the position of the character entry frame on the reading form. . Despite using the ``Tsumashi-reading'' format, there was a problem in that it was difficult to improve the reading accuracy.

この発明は、上記のような問題点を解消するためになさ
れたもので、登録された読み取りフォーマットの読み取
り枠と実際の帳票の文字記入枠の位置をあわせ、読み取
り精度の高い読み取シ装置を得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and it is possible to obtain a reading device with high reading accuracy by aligning the reading frame of the registered reading format with the character entry frame of the actual form. The purpose is to

〔問題点を解決するだめの手段〕[Failure to solve the problem]

この発明に係る読み取シ装置は、読み取りフォーマット
を作成する時に、帳票用紙に参照用マークをもうけ、こ
のマーク間の距離を算出し0文字記入枠の帳票上の本来
の位置と実際に登録された位置との差を補正できるよう
にしたものである。
When creating a reading format, the reading device according to the present invention creates reference marks on the form paper, calculates the distance between these marks, and calculates the distance between the marks and the actual registered position of the 0 character entry frame on the form. This allows the difference in position to be corrected.

〔作用〕[Effect]

この発明における読み取り装置は、複写時およびイメー
ジ読み取り時の誤差は、大部分が読み取る距離に比例し
ていることを利用している。すなわち、帳票上の2点間
の距離が、読み取り後、どのぐらいずれて登録されたか
を比較し、そのずれを各文字記入枠の位置に比例配分し
て補正するものである。
The reading device according to the present invention utilizes the fact that most errors during copying and image reading are proportional to the reading distance. That is, it compares how much the distance between two points on the form is registered after reading, and corrects the difference by proportionally distributing it to the position of each character entry frame.

〔発明の実施例〕[Embodiments of the invention]

第1図は、この発明のための読み取シフオーマット作成
手順を示すフローチャートである。第2図は、読み取り
フォーマット作成手順を説明する図である。
FIG. 1 is a flowchart showing the read shift format creation procedure for the present invention. FIG. 2 is a diagram illustrating the reading format creation procedure.

第2図において、(1)は1脹票用紙、α本は帳票fl
l上の文字記入枠、@及び(至)は係る発明のため設け
た参照マーク1と2.(I41は参照マーク1(ハ)、
マーク2@間の距離、住eは複写機によって複写された
読み取シフオーマット作成用帳票、σηは帳票用紙(1
)上のドロップアウトカラーで書かれた文字記入枠aX
5に対応する複写に因って黒枠となった文字記入枠、(
8)はフォーマット作成用帳票用紙αeを読み取シ装置
で読み取った時のイメージメモリ、αυはフォーマット
作成用帳票翰上の文字記入枠αηに対応する黒枠イメー
ジ、@、(ハ)はイメージメモリ上の帳票用紙(1)上
の参照マーク(2)(ハ)に対応する参照マークイメー
ジ1と2.(Ll)は参照マークイメージ1(ロ)、マ
ークイメージ2(ホ)間の距離、■は補正後の読み取り
枠、  ylは読み取り座標、Yは補正後座標である。
In Figure 2, (1) is one form of slip paper, and α is one form of form.
The character entry frame on the top, @ and (to) are reference marks 1 and 2 provided for the purpose of the invention. (I41 is reference mark 1 (c),
The distance between marks 2 @, e is the document for creating the reading shift format copied by a copying machine, and ση is the document paper (1
) Text entry frame aX written in dropout color above
The character entry frame that became a black frame due to the copying corresponding to 5, (
8) is the image memory when the format creation form αe is read by the reading device, αυ is the black frame image corresponding to the character entry frame αη on the format creation form paper, @, (c) is the image memory on the image memory Reference mark images 1 and 2 corresponding to reference mark (2) (c) on form paper (1). (Ll) is the distance between reference mark image 1 (b) and mark image 2 (e), ■ is the reading frame after correction, yl is the reading coordinate, and Y is the post-correction coordinate.

イメージメモリ(8)の内容を使用して指定した座標は
、痩写時、読み取シ時の誤差を含む。それを第1図の7
0−のように補正する。
The coordinates specified using the contents of the image memory (8) include errors at the time of drawing and reading. 7 in Figure 1
Correct as 0-.

(1)aみ取シフオーマント作成のだめの帳票作成をす
る。つまり、読み取りフォーマット作成用帳票翰を作成
する。
(1) Create a form that does not require the creation of the a-mitori shift command. In other words, a form for creating a reading format is created.

(2)  (1)の読み取シフオーマット作成用帳票(
Leのイメージを読み取る。
(2) The form for creating the reading shift format in (1) (
Read the image of Le.

(3)帳票(+1の参照マーク1四、マーク2q間の距
離(lを入力する。
(3) Input the form (reference mark 14 of +1, distance (l) between marks 2q).

(4)読み取ったイメージメモリ(8)内の参照マーク
イメージ1 G!4とマークイメージ2(至)間の座標
から、その間の距離(Ll)を求める。
(4) Reference mark image 1 in read image memory (8) G! From the coordinates between 4 and mark image 2 (to), the distance (Ll) between them is determined.

(5)  イメージメモ1月8)の黒枠イメージ舖から
読み取り範囲を指定する。
(5) Specify the reading range from the black frame image in the image memo (January 8).

(6)指定した読み取り範囲の座標を求める。(6) Find the coordinates of the specified reading range.

(1)求めた座標に対し、以下のように補正を行なう。(1) Correct the obtained coordinates as follows.

Ylをイメージメモリ(8)を元に入力した座標のY方
向とする時、Y−−Ylで求めたYを帳票用J1 祇fl+の読み取シ座標のY方向の座標とする。これに
より補正後の読み取シ枠■の位置を決定する。
When Yl is the Y direction of the coordinates input based on the image memory (8), let Y obtained from Y--Yl be the Y-direction coordinate of the reading coordinate of the form J1 fl+. This determines the position of the corrected reading frame (■).

(8)他の文字記入枠がある場合、同様にしてこれらの
読み取り範囲の座標を修正して、帳票用紙(1)の読み
取りフォーマットを作成する。
(8) If there are other character entry frames, modify the coordinates of these reading ranges in the same way to create the reading format for the form (1).

〔発明の効果〕〔Effect of the invention〕

この発明によれば9作成された読み取シフオーマットの
座標をより正しい位置に設定することができ、読み取り
精度の高いものが得られる。
According to the present invention, the coordinates of the nine created read shift formats can be set at more correct positions, and high reading accuracy can be obtained.

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

第1図はこの発明による読み取りフォーマット作成手順
を示すフローチャート、第2図は第1図の読み取りフォ
ーマット作成手順を説明するための図、第3図は従来の
光学的読み取シ装置を示すブロック図、第4図は読み取
りフォーマットの図。 第5図は従来の読み取シフオーマット作成手順を示すフ
ローチャート、第6図は第5図の従来の読み取りフォー
マット作成子j10を説明するだめの図である。 (1)は帳票、(2)は文字、(3)は光源、(4)は
光センサ、(5)はスキャナー、(6)はスキャナー制
御装置。 (7)はイメージパターン変換iU制御装置ff、 (
81はイメージメモ’J19)は認識装置、 CIは読
み取りフォーマット、αυは読み取り枠、(1つは文字
記入枠(ドロップアウトカラー枠)、afiは読み取シ
フオーマット作成用帳票、αnは文字記入枠(黒枠)、
αSは黒枠イメージ、■は補正後の読み取り枠、c!υ
は本来指定されるべき読み取シ枠である。 なお0図中、同一符号は同一、または相当部分を示す。
FIG. 1 is a flowchart showing a reading format creation procedure according to the present invention, FIG. 2 is a diagram for explaining the reading format creation procedure of FIG. 1, and FIG. 3 is a block diagram showing a conventional optical reading device. Figure 4 is a diagram of the reading format. FIG. 5 is a flowchart showing a conventional read shift format creation procedure, and FIG. 6 is a diagram for explaining the conventional read format creator j10 of FIG. (1) is a form, (2) is a character, (3) is a light source, (4) is an optical sensor, (5) is a scanner, and (6) is a scanner control device. (7) is the image pattern conversion iU control device ff, (
81 is the image memo 'J19) is the recognition device, CI is the reading format, αυ is the reading frame, (one is the character entry frame (dropout color frame), afi is the form for creating the reading shift format, αn is the character entry frame ( black frame),
αS is the black frame image, ■ is the reading frame after correction, c! υ
is the reading frame that should originally be specified. Note that the same reference numerals in Figure 0 indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 次の各手段を備えた読み取り装置。 (a)帳票上の読み取り対象の位置を示す読み取りフォ
ーマットを前もつて登録記憶する手段、(b)帳票上の
2個の参照マークを読み取り、2個の距離を算出する手
段、 (c)上記の帳票上の2個の参照マークの距離を装置の
外部から入力する手段、 (d)上記(b)と(c)の2つの距離が異なる場合、
この2つの距離を用いて上記(a)に記憶した読み取り
フォーマットを補正する手段。
[Claims] A reading device comprising the following means. (a) means for registering and storing in advance a reading format indicating the position of the object to be read on a form; (b) means for reading two reference marks on a form and calculating the distance between the two; (c) the above. means for inputting the distance between two reference marks on the form from outside the device; (d) when the two distances in (b) and (c) above are different;
Means for correcting the read format stored in (a) above using these two distances.
JP63189909A 1988-07-29 1988-07-29 Reader Pending JPH0239387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63189909A JPH0239387A (en) 1988-07-29 1988-07-29 Reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63189909A JPH0239387A (en) 1988-07-29 1988-07-29 Reader

Publications (1)

Publication Number Publication Date
JPH0239387A true JPH0239387A (en) 1990-02-08

Family

ID=16249235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63189909A Pending JPH0239387A (en) 1988-07-29 1988-07-29 Reader

Country Status (1)

Country Link
JP (1) JPH0239387A (en)

Similar Documents

Publication Publication Date Title
JPH113430A (en) Method and device for associating input image with reference image, and storage medium storing program realizing the method
US5293469A (en) Apparatus for generating a graphic image having symbols whose centers and aligned with each other and whose sizes are adjusted to accord with each other
JP2003018393A (en) Image processing system
JPS643050B2 (en)
JP3582988B2 (en) Non-contact image reader
US4947444A (en) Image processing method and apparatus
JPH0239387A (en) Reader
TW201801508A (en) Copying apparatus and method capable of calibrating copy position
JP2000029198A (en) Color proof device, image processor and recording medium
JPH06131495A (en) Image information extraction system
JPS63103391A (en) Optical character reader
JP2639165B2 (en) Character extraction device
JP2001126025A (en) For ocr format parameter generation method
JP2636866B2 (en) Information processing method
JPH07160814A (en) Optical character recognizing method
JP2000029196A (en) Color proof device
JPH09245099A (en) Slip preparation device
JPS60240268A (en) Picture reader
JPH04288541A (en) Image distortion correction device
JPH02272688A (en) Optical character reader
JPH04151785A (en) Optical character reader
JP2002040874A (en) Image forming device
JPH0156589B2 (en)
JPS58123169A (en) Cut-out system of character line
JPS6238988A (en) Correction device for illuminance unevenness