Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6226683B2 - - Google Patents
[go: Go Back, main page]

JPS6226683B2 - - Google Patents

Info

Publication number
JPS6226683B2
JPS6226683B2 JP10292981A JP10292981A JPS6226683B2 JP S6226683 B2 JPS6226683 B2 JP S6226683B2 JP 10292981 A JP10292981 A JP 10292981A JP 10292981 A JP10292981 A JP 10292981A JP S6226683 B2 JPS6226683 B2 JP S6226683B2
Authority
JP
Japan
Prior art keywords
inclination
section
running
coordinates
detection elements
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.)
Expired
Application number
JP10292981A
Other languages
Japanese (ja)
Other versions
JPS585606A (en
Inventor
Atsushi Shimoyama
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10292981A priority Critical patent/JPS585606A/en
Publication of JPS585606A publication Critical patent/JPS585606A/en
Publication of JPS6226683B2 publication Critical patent/JPS6226683B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/028Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by measuring lateral position of a boundary of the object
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Description

【発明の詳細な説明】 本発明は光学文字読取装置や光学マーク読取装
置などにおける帳票傾斜量測定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a form inclination measuring device in an optical character reading device, an optical mark reading device, or the like.

例えば光学文字読取装置においては、一般に手
書き文字及びあるいは印刷文字の記されている方
形の帳票を走行させ、光学検知器を用いて帳票走
行方向と直交する方向を主走査方向とし帳票走行
方向を副走査方向として帳票を走査する。そし
て、1行分の文字を走査して得られた観測パター
ンを一亘画像メモリ上に写像したのち、その中か
ら順次1文字分の観測パターンを切出し、必要に
よつてはこれに前処理を施したのち、そのパター
ンの特徴を抽出し、これをあらかじめ準備した基
準パターンと比較照合するなどして文字の読取り
をおこなつている。前記の観測パターンの切出し
が正確におこなわれるようにするため、帳票には
1文字毎に文字記入枠を印刷し帳票記入者はこの
枠からはみ出ないように文字を記入するととも
に、光学文字読取装置は帳票上の座標系を用いて
前記のすべての文字枠の位置および寸法を記憶し
ておき、帳票上の文字の走査に先立つて帳票の走
行位置と傾斜量の測定をおこない、これらの値を
用いて観測パターンの切出し位置を決めている。
第1図は帳票傾斜量測定方式の従来例の原理図で
あり帳票1の走行面にふくまれ帳票1の走行方向
(矢印で示す)と直交する直線上の2定点2及び
3を定め、帳票1の前端の辺4が定点2及び3の
間を通過する間の帳票1の走行長を測定して帳票
の傾斜量を求めている。この方法は帳票の2点の
座標を測定して帳票の傾斜量を求めることにほか
ならない。ところがミシン目加工を施して切離し
た帳票の辺には第2図に示すように多数の不整部
5が規則的なピツチで存在する。この不整部5は
凸状であることが多く、その高さは2mmにも及ぶ
ことがある。第1図において帳票1の前端の辺4
が第2図のような形であるとき、2定点2及び3
のいずれをも直線部6が通過するときには帳票1
の傾斜量は正確に求められるが、例えば一方の定
点2を直線部6が通過し、他方の定点3を不整部
(凸状)5が通過する場合には帳票1の傾斜量を
正しく求めることができない。その結果、観測パ
ターンの切出しが正確におこなわれず、したがつ
て文字の読取りが正確におこなわれないという問
題があつた。
For example, in an optical character reading device, generally a rectangular form on which handwritten characters and/or printed characters are written is run, and an optical detector is used to set the direction orthogonal to the running direction of the form as the main scanning direction and the running direction of the form as the secondary scanning direction. The form is scanned in the scanning direction. Then, after mapping the observed pattern obtained by scanning one line of characters onto the image memory, one character's worth of observed patterns are sequentially extracted from the map, and if necessary, preprocessing is performed on them. After that, the characters are read by extracting the characteristics of that pattern and comparing and matching it with a reference pattern prepared in advance. In order to ensure that the above observation pattern is cut out accurately, a character entry frame is printed for each character on the form, and the person filling out the form writes the characters so that they do not protrude from the frame, and also uses an optical character reader. uses the coordinate system on the form to memorize the positions and dimensions of all the character frames mentioned above, and before scanning the characters on the form, measures the running position and amount of inclination of the form, and calculates these values. is used to determine the cutting position of the observed pattern.
Figure 1 is a principle diagram of a conventional method for measuring the amount of inclination of a form. The amount of inclination of the form is determined by measuring the travel length of the form 1 while the front edge 4 of the form passes between fixed points 2 and 3. This method is nothing but measuring the coordinates of two points on the form to determine the amount of inclination of the form. However, as shown in FIG. 2, a large number of irregularities 5 are present at regular pitches on the sides of a form that has been perforated and separated. This irregular portion 5 often has a convex shape, and its height can reach as much as 2 mm. In Figure 1, side 4 at the front end of form 1
When is in the form shown in Figure 2, two fixed points 2 and 3
When the straight section 6 passes through any of the
The amount of inclination of form 1 can be determined accurately, but if, for example, a straight section 6 passes through one fixed point 2 and an irregular (convex) section 5 passes through the other fixed point 3, the amount of inclination of form 1 can be determined correctly. I can't. As a result, there was a problem in that the observation pattern was not cut out accurately, and therefore the characters were not read accurately.

本発明はこのような問題を解決するためになさ
れたものであつて、その目的とするところは帳票
の辺にミシン目加工を施して切離したために生ず
る不整部があつても、帳票の傾斜量の測定が正確
におこなわれるような帳票傾斜量測定装置を得る
ことにある。
The present invention has been made to solve these problems, and its purpose is to eliminate the inclination of the form even if there are irregularities caused by perforating the edges of the form and cutting it off. An object of the present invention is to provide a form inclination measuring device which can accurately measure the amount.

上記の目的を達するため、本発明においては、
相対移動する帳票の移動方向と交叉する様に配置
された光検知手段を有する帳票傾斜量測定装置に
おいて、前記交叉方向に沿う直線上に、前記帳票
前端の不整部の幅より長い区間長を有する少なく
とも2つの区間を設け、前記光検知手段は、該区
間内に配設された複数の検出素子を含んでなり、
さらに該検出素子の出力状態を検知し、該区間内
の所定数以上の検知素子がはじめて前記帳票を検
知した時の前記各区間内の検知素子の出力から前
記帳票の前端2点の座標を得る手段を設け、該前
端2点の座標より前記帳票の傾斜量を測定するこ
とを特徴とする。
In order to achieve the above object, in the present invention,
In a form inclination measuring device having a light detection means arranged to intersect with the moving direction of a relatively moving form, a section length longer than the width of the irregular part at the front end of the form is provided on a straight line along the intersecting direction. providing at least two sections having a plurality of sections, the light detection means including a plurality of detection elements disposed within the sections,
Furthermore, the output state of the detection element is detected, and the coordinates of the two front ends of the form are obtained from the output of the detection elements in each of the sections when a predetermined number or more of the detection elements in the section detect the form for the first time. The present invention is characterized in that means is provided to measure the amount of inclination of the form from the coordinates of the two front end points.

以下本発明を実施例によつて詳細に説明する。 The present invention will be explained in detail below using examples.

第3図は本発明の実施例の原理図であり、帳票
1の走行面にふくまれ帳票1の走行方向(矢印で
示す)と直交する直線上の2定点12及び13を
定め各の定点を中心とし帳票走行方向と直交する
線分AB及びCD上に各48個の検知素子を密接して
配列している。検知素子の径は0.105mmであるか
ら各の線分の長さは約5mmとなる。一方、使用す
る帳票1の前端の辺4に存在する不整部5の幅は
1mmであり不整部5は6mmのピツチで生じてい
る。したがつて検知素子が配列されている各の線
分の長さは不整部5の幅の2倍より大きく且つ不
整部の生じているピツチよりも短い。一般に上記
の例のようにミシン目加工を施して切離した帳票
1の辺に生ずる不整部5の幅は検知素子の径の約
10倍程度であり且つ直線部6の長さの5分の1程
度である。したがつて上記のような条件で検知素
子を設ければ、前記線分と帳票の前端の辺のなす
角度がよほど大きくない限り、前記の各の線分上
を2個以上の不整部が通過することもなく、した
がつてまた、不整部の通過する範囲が各の線分の
長さの半分以上を占めることもない。検知素子を
このように設け、一方の線分上の約半数の検知素
子が帳票の前端の辺を検知してから、他方の線分
上の約半数の検知素子が帳票前端の辺を検知する
までの間の帳票走行長を測定して帳票の傾斜量の
測定をおこなうことができる。
FIG. 3 is a principle diagram of an embodiment of the present invention, in which two fixed points 12 and 13 are defined on a straight line included in the running surface of the form 1 and orthogonal to the running direction (indicated by an arrow) of the form 1. Forty-eight sensing elements are closely arranged on each of line segments AB and CD that are centered and perpendicular to the document running direction. Since the diameter of the sensing element is 0.105 mm, the length of each line segment is approximately 5 mm. On the other hand, the width of the irregular portions 5 existing on the front edge side 4 of the form 1 to be used is 1 mm, and the irregular portions 5 occur at a pitch of 6 mm. Therefore, the length of each line segment on which the sensing elements are arranged is greater than twice the width of the irregular portion 5 and shorter than the pitch where the irregular portion occurs. Generally, as in the example above, the width of the irregular part 5 that occurs on the side of the form 1 that has been perforated and separated is approximately the diameter of the sensing element.
It is about 10 times the length and about one-fifth of the length of the straight portion 6. Therefore, if a detection element is provided under the above conditions, two or more irregularities will not occur on each of the line segments, unless the angle between the line segment and the front edge of the form is very large. Therefore, the range through which the irregular portion does not occupy more than half of the length of each line segment. With the detection elements arranged in this way, about half of the detection elements on one line segment detect the front edge of the form, and then about half of the detection elements on the other line segment detect the front edge of the form. By measuring the running length of the form up to this point, the amount of inclination of the form can be measured.

以上は本発明の実施例を原理図によつて説明し
たものであるが、次にこれを更に具体的に説明す
る。第4図は具体的な実施例の構成を示すブロツ
ク図である。走査部20は帳票10の走行方向に
対し直角方向を主走査方向とし帳票走行方向と逆
の方向を副走査方向として帳票走行面を走査し、
黒白情報を2値情報に変換し、ゲート30を介し
て画像メモリ40に記憶する。マイクロプロセツ
サ50は画像メモリ40の記憶内容を調べ、走査
部20が定められた回数の主走査を終つたときゲ
ート30を閉じるとともに帳票走行制御部60を
介して帳票走行モータ70を停止して帳票10の
走行を止める。この結果、画像メモリ40には帳
票の前端の辺の前後の画像情報の記憶がおこなわ
れる。走査部20には2048個の光検知素子を一次
元状に配列してあり、これによつて最大215mmの
長さを走査している。従つて帳票走行面主走査方
向0.105mmの長さが光検知器の1素子に対応する
ことになる。また副走査は0.105mmのピツチでお
こなわれる。したがつて帳票走行面は0.105mmの
方眼に区切られ各の1区画が画像メモリ上の1ビ
ツトに対応している。さて、前述の第3図の説明
図とは異なり、帳票傾斜量測定は画像記憶部40
とマイクロプロセツサ50によつておこなわれ
る。第5図は画像メモリ40の上に記憶された帳
票の前端の辺のパターンをマイクロプロセツサ5
0が走査する模様の説明図である。なお、以下の
説明において、画像メモリ上には帳票の白部分は
1、帳票外の部分は0として記憶されているもの
とする。マイクロプロセツサ50は帳票走査方向
に相当する方向(矢印で示す)に平行な直線
UU′を中心に48ビツトの幅の記憶内容を、UU′に
直角な方向を主走査方向とし、UU′方向を幅走査
方向として走査し、記憶内容を1ビツトずつ調
べ、1回の主走査において24ビツト以上の1を検
知するはじめての主走査線の中心Xを求める。次
に直線UU′から一定距離の直線VV′を中心とする
48ビツトの幅の記憶内容も同様にして走査し24ビ
ツト以上の1を検知するはじめての主走査線の中
心Yを求める。このようにして求めたX及びYの
座標から帳票の傾斜量を求める。第5図の例では
直線VV′を中心とする48ビツト幅の中に不整部5
が含まれているが、Yの位置は直線部6と直線
VV′の交点と一致する。
The embodiments of the present invention have been described above with reference to the principle diagrams, but this will now be described in more detail. FIG. 4 is a block diagram showing the configuration of a specific embodiment. The scanning unit 20 scans the form running surface with a main scanning direction in a direction perpendicular to the running direction of the form 10 and a sub-scanning direction in a direction opposite to the running direction of the form,
The black and white information is converted into binary information and stored in the image memory 40 via the gate 30. The microprocessor 50 checks the stored contents of the image memory 40, and when the scanning unit 20 has completed main scanning a predetermined number of times, closes the gate 30 and stops the form running motor 70 via the form running control unit 60. Stop the running of form 10. As a result, image information before and after the front edge of the form is stored in the image memory 40. The scanning section 20 has 2048 photodetecting elements arranged in a one-dimensional manner, thereby scanning a maximum length of 215 mm. Therefore, a length of 0.105 mm in the main scanning direction of the form running surface corresponds to one element of the photodetector. Also, sub-scanning is performed at a pitch of 0.105mm. Therefore, the form running surface is divided into squares of 0.105 mm, and each square corresponds to one bit on the image memory. Now, unlike the explanatory diagram of FIG.
This is performed by the microprocessor 50. FIG. 5 shows the pattern of the front edge of the form stored in the image memory 40 by the microprocessor 5.
It is an explanatory diagram of a pattern in which 0 is scanned. In the following explanation, it is assumed that the white part of the form is stored as 1 and the part outside the form is stored as 0 in the image memory. The microprocessor 50 operates in a straight line parallel to the direction corresponding to the document scanning direction (indicated by an arrow).
The stored content with a width of 48 bits centered on UU' is scanned with the direction perpendicular to UU' as the main scanning direction and the UU' direction as the width scanning direction, and the stored content is examined bit by bit. Find the center X of the first main scanning line where 24 or more bits of 1 are detected. Next, center on a straight line VV′ that is a certain distance from the straight line UU′.
The stored contents with a width of 48 bits are scanned in the same manner to find the center Y of the first main scanning line where 1 of 24 bits or more is detected. The amount of inclination of the form is determined from the X and Y coordinates determined in this way. In the example shown in Figure 5, there is an irregular area 5 within a 48-bit width centered on the straight line VV'.
is included, but the position of Y is between the straight part 6 and the straight line.
It coincides with the intersection of VV′.

以上説明したように、本発明によれば帳票の傾
斜量を検知する辺にミシン目加工による不整部が
あつても、帳票の傾斜量を正確に測定することが
できるという効果がある。
As described above, according to the present invention, even if there is an irregular part due to perforation on the side where the amount of inclination of the form is to be detected, the amount of inclination of the form can be accurately measured.

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

第1図は従来例の原理図、第2図は帳票の辺に
生ずる不整部の説明図、第3図は本発明実施例の
原理図、第4図は本発明実施例の構成を示すブロ
ツク図であり、10は帳票、20は走査部、30
はゲート、40は画像メモリ、50はマイクロプ
ロセツサ、60は帳票走行制御部、70は帳票送
行モータである。また第5図は本発明実施例の説
明図である。
Fig. 1 is a diagram of the principle of the conventional example, Fig. 2 is an explanatory diagram of irregularities occurring on the sides of a form, Fig. 3 is a diagram of the principle of the embodiment of the present invention, and Fig. 4 is the configuration of the embodiment of the present invention. 10 is a form, 20 is a scanning unit, and 30 is a block diagram.
40 is a gate, 40 is an image memory, 50 is a microprocessor, 60 is a form running control section, and 70 is a form feeding motor. Further, FIG. 5 is an explanatory diagram of an embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1 相対移動する帳票の移動方向と交叉する様に
配置された光検知手段を有する帳票傾斜量測定装
置において、前記交叉方向に沿う直線上に、前記
帳票前端の不整部の幅より長い区間長を有する少
なくとも2つの区間を設け、前記光検知手段は、
該区間内に配設された複数の検出素子を含んでな
り、さらに該検出素子の出力状態を検知し、該区
間内の所定数以上の検知素子がはじめて前記帳票
を検知した時の前記各区間内の検知素子の出力か
ら前記帳票の前端2点の座標を得る手段を設け、
該前端2点の座標より前記帳票の傾斜量を測定す
ることを特徴とする帳票傾斜量測定装置。
1. In a form inclination measurement device having a light detecting means arranged to intersect with the moving direction of a relatively moving form, a section length longer than the width of the irregular part at the front end of the form on a straight line along the intersecting direction. at least two sections having:
Each section includes a plurality of detection elements disposed within the section, further detecting the output state of the detection element, and when a predetermined number or more of the detection elements within the section detect the form for the first time. providing means for obtaining the coordinates of two points at the front end of the form from the output of the detection element in the form;
A form inclination measuring device, characterized in that the inclination of the form is measured from the coordinates of the two front ends.
JP10292981A 1981-06-30 1981-06-30 System for measuring slant amount of document Granted JPS585606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10292981A JPS585606A (en) 1981-06-30 1981-06-30 System for measuring slant amount of document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10292981A JPS585606A (en) 1981-06-30 1981-06-30 System for measuring slant amount of document

Publications (2)

Publication Number Publication Date
JPS585606A JPS585606A (en) 1983-01-13
JPS6226683B2 true JPS6226683B2 (en) 1987-06-10

Family

ID=14340528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10292981A Granted JPS585606A (en) 1981-06-30 1981-06-30 System for measuring slant amount of document

Country Status (1)

Country Link
JP (1) JPS585606A (en)

Also Published As

Publication number Publication date
JPS585606A (en) 1983-01-13

Similar Documents

Publication Publication Date Title
US4430563A (en) Data processing form
US4736109A (en) Coded document and document reading system
EP0583432B1 (en) Questionnaire scanning system employing expandable answer mark areas for efficient scanning and mark detection
US4878124A (en) Image inclination detecting method and apparatus
JP2597370B2 (en) Method for detecting significant differences in sheet-like test materials
JPS6077279A (en) Initiation of character image
JPS63158678A (en) Inter-word space detecting method
JPS58100568A (en) Skew detection method
JPS6226683B2 (en)
AU596342B2 (en) Scannable document velocity detector
JPS6046471B2 (en) character reading device
US4485964A (en) Method of identifying a multiplicity of special points
JPS59180783A (en) Optical character reader
JPH0467674B2 (en)
JPH0226265B2 (en)
JPH01287789A (en) Mark sheet
JPH0223904B2 (en)
JPH01269184A (en) Intra-document area boundary extracting system
JPS63228278A (en) Ocr device capable of reading optical mark
JPS59157774A (en) Character recognizing device
JPH0461395B2 (en)
JPH0371282A (en) Device for segmenting word
JPS5953983A (en) Detecting and segmenting method of character
JPS5631180A (en) Optical character reader
JPS62169286A (en) Character segmenting system