JPS6228883A - Character reader - Google Patents

Character reader

Info

Publication number
JPS6228883A
JPS6228883A JP60168945A JP16894585A JPS6228883A JP S6228883 A JPS6228883 A JP S6228883A JP 60168945 A JP60168945 A JP 60168945A JP 16894585 A JP16894585 A JP 16894585A JP S6228883 A JPS6228883 A JP S6228883A
Authority
JP
Japan
Prior art keywords
character pattern
character
pattern data
data
buffer memory
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
JP60168945A
Other languages
Japanese (ja)
Inventor
Hidenori Yamamoto
山本 秀範
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP60168945A priority Critical patent/JPS6228883A/en
Publication of JPS6228883A publication Critical patent/JPS6228883A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect and separated precisely the character pattern data of each character from plural character pattern data by forming a multi-buffer memory means. CONSTITUTION:The multi-buffer memory 13 storing character pattern data and constituted so that respective buffers constitute a matrix and respective buffers are respective elements of the matrix is formed. A character pattern data tracking circuit 16 inputs character pattern data consisting of a matrix set up from the memory 13 in accordance with prescribed addresses, scans and outputs the character pattern data for one character and stores the output data in a character pattern memory 17. In said constitution, only the character pattern data consisting of black data for one character required for recognition processing can be precisely detected and separated.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、光学的文字読取装置等の文字読取装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a character reading device such as an optical character reading device.

[発明の技術的背景とその問題点] 従来、光学的文字読取装置では、帳票上に記録された文
字が光電変換装置により文字パターンデータに変換され
た後に、例えば1行分の記憶容量を有するラインバッフ
ァメモリに格納される。このラインバッファメモリから
、1文字分の文字パターンデータが検出切出されて、認
識部により1文字毎の認識処理が実行されることになる
[Technical Background of the Invention and Problems Therewith] Conventionally, optical character reading devices have a storage capacity of, for example, one line after characters recorded on a form are converted into character pattern data by a photoelectric conversion device. Stored in line buffer memory. Character pattern data for one character is detected and cut out from this line buffer memory, and recognition processing is executed for each character by the recognition section.

ここで、第7図に示すように、文字パターンに対する縦
方向の射影データD1及び横方向の射影データD2を求
めることにより、1文字分の文字パターンデータが検出
切出されることになる。しかしながら、このような方式
では第8図に示すように、平面上で文字が交差するよう
な場合、縦方向の射影データD1及び横方向の射影デー
タD2を求めるだけでは、1文字分の文字パターンデー
夕を正確に検出切出すことは困難である。また、第7図
に示すような1文字分の文字パターンデータが検出切出
しされた場合、1文字に相当する黒データ及び背景の白
データが全て認識部へ転送されるため、文字パターンデ
ータの転送処理には多大な時間が必要となる。
Here, as shown in FIG. 7, character pattern data for one character is detected and cut out by obtaining vertical projection data D1 and horizontal projection data D2 for the character pattern. However, in such a method, as shown in FIG. 8, when characters intersect on a plane, it is not possible to obtain the character pattern for one character by simply obtaining the vertical projection data D1 and the horizontal projection data D2. It is difficult to accurately detect and extract data. In addition, when character pattern data for one character is detected and extracted as shown in Figure 7, all the black data and background white data corresponding to one character are transferred to the recognition unit, so the character pattern data is transferred. Processing requires a lot of time.

[発明の目的] 本発明の目的は、複数の文字パターンデータから1文字
毎の文字パターンデータを確実に検出切出すことができ
、しかもその文字パターンデータの転送時間を短縮する
ことができる文字読取装置を提供することにある。
[Object of the Invention] An object of the present invention is to provide a character reading system that can reliably detect and extract character pattern data for each character from a plurality of character pattern data, and that can shorten the transfer time of the character pattern data. The goal is to provide equipment.

[発明の概要] 本発明は、文字パターンデータを記憶し、各バッファが
マトリクスを構成しかつ各バッファがマトリクスの各要
素となるように構成された多面バッファメモリ手段を備
えている。文字パターンデータ追跡手段は、多面バッフ
ァメモリ手段から所定のアドレスに応じて設定されるマ
トリクスからなる文字パターンデータを入力として、1
文字分の文字パターンデータを走査して出力する。この
文字パターンデータ追跡手段から出力される文字パター
ンデータは、文字パターンメモリ手段に格納される。
[Summary of the Invention] The present invention comprises multifaceted buffer memory means for storing character pattern data, each buffer forming a matrix, and each buffer being an element of the matrix. The character pattern data tracking means inputs character pattern data consisting of a matrix set according to a predetermined address from the multifaceted buffer memory means, and
Scans and outputs character pattern data for characters. The character pattern data output from the character pattern data tracking means is stored in the character pattern memory means.

このような構成により、認識処理に必要な1文字分の黒
データからなる文字パターンデータのみが確実に検出切
出しされることになる。
With this configuration, only character pattern data consisting of one character's worth of black data required for recognition processing is reliably detected and extracted.

[発明の実施例] 以下図面を参照して本発明の一実施例を説明する。第1
図は一実施例に係わる文字読取装置の部分的構成を示す
ブロック図である。第1図において、ラインバッファメ
モリ10は、帳票上に記録された文字が光電変換された
後に得られる文字パターンデータを、1行分格納するメ
モリである。縦方向射影レジスタ11及び横方向射影レ
ジスタ12は、それぞれラインバッファメモリ10から
1文字毎の検出切出し処理に必要な縦方向射影データ及
び横方向射影データを格納するレジスタである。多面バ
ッファメモリ13は、ラインバッファメモリ10がら出
力される文字パターンデータを格納し、各バッファが第
2図(a)に示すようなマトリクスを構成し、かつ各バ
ッファがマトリクスの各要素となるようなバッファメモ
リである。アドレス信号出力回路14は、多面バッファ
メモリ13の各バッファのアクセスに必要なアドレスを
出力する回路である。アドレスコントロール回路15は
、アドレス信号出力回路14の動作を制御する回路であ
る。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram showing a partial configuration of a character reading device according to an embodiment. In FIG. 1, a line buffer memory 10 is a memory that stores one line of character pattern data obtained after characters recorded on a form are photoelectrically converted. The vertical projection register 11 and the horizontal projection register 12 are registers that store vertical projection data and horizontal projection data, respectively, which are necessary for the detection cutout process for each character from the line buffer memory 10. The multifaceted buffer memory 13 stores the character pattern data output from the line buffer memory 10, and stores the character pattern data output from the line buffer memory 10 so that each buffer forms a matrix as shown in FIG. 2(a), and each buffer becomes each element of the matrix. It is a buffer memory. The address signal output circuit 14 is a circuit that outputs addresses necessary for accessing each buffer of the multifaceted buffer memory 13. The address control circuit 15 is a circuit that controls the operation of the address signal output circuit 14.

文字データ追跡回路16は、多面バッファメモリ13か
ら1文字毎の黒データの追跡分離に必要なアドレス制御
信号をアドレスコントロール回路15へ出力し、マトリ
クス単位のパターンデータを文字パターンメモリ17へ
転送する。読出し制御回路17は、1文字分の文字パタ
ーンデータを格納し、認識部へ出力する。
The character data tracking circuit 16 outputs an address control signal necessary for tracking and separating black data character by character from the multi-sided buffer memory 13 to the address control circuit 15, and transfers pattern data in matrix units to the character pattern memory 17. The read control circuit 17 stores character pattern data for one character and outputs it to the recognition section.

このような構成の文字読取装置において、同実施例の動
作を説明する。先ず、ラインバッファメモリ10に1行
分の文字パターンデータが格納されると、このラインバ
ッファメモリ10から1文字分に相当する文字パターン
データが多面バッファメモリ13へ転送される。このと
き、縦方向射影データ及び横方向射影データに基づいて
、例えば第3図に示すような平面上で交差する文字パタ
ーンデータが多面バッファメモリ13へ転送される。文
字パターンデータが多面バッファメモリ13に格納され
る際、アドレスコントローラ回路15からX、 Y方向
のアドレスが発生し、このアドレスがアドレス信号出力
回路14により各バッファに対応するアドレスに変換さ
れることになる。このアドレス変換動作では、指定され
たアドレスX、Yに対して、例えばマトリクスの各要素
a11はx+o、y+o、a12はx+i、Y+O% 
a13はX+2.Y+O。
In the character reading device having such a configuration, the operation of the same embodiment will be explained. First, when one line of character pattern data is stored in the line buffer memory 10, the character pattern data corresponding to one character is transferred from the line buffer memory 10 to the multi-sided buffer memory 13. At this time, character pattern data that intersects on a plane as shown in FIG. 3, for example, is transferred to the multi-sided buffer memory 13 based on the vertical projection data and the horizontal projection data. When character pattern data is stored in the multi-sided buffer memory 13, addresses in the X and Y directions are generated from the address controller circuit 15, and these addresses are converted by the address signal output circuit 14 into addresses corresponding to each buffer. Become. In this address conversion operation, for the specified addresses X and Y, for example, each element a11 of the matrix is x+o, y+o, and a12 is x+i, Y+O%.
a13 is X+2. Y+O.

a21はx+o、Y+1、a22はX+1.Y+1、a
23はX+2.Y+1、a31はX+O,Y+2、a3
2はX+ 1 、Y+ 2、a33はX+2.Y+2に
変換される。
a21 is x+o, Y+1, a22 is X+1. Y+1,a
23 is X+2. Y+1, a31 is X+O, Y+2, a3
2 is X+ 1, Y+ 2, a33 is X+2. Converted to Y+2.

このような変換アドレスにより文字パターンデータが多
面バッファメモリ13に記憶された後に、この文字パタ
ーンデータが多面バッファメモリ13から読出される場
合、例えば第3図に示す点Pが指定されると、第2図(
b)に示すようなマトリウス1表現されるパターンデー
タが読出される。
When character pattern data is stored in the multi-sided buffer memory 13 using such a conversion address and then read out from the multi-sided buffer memory 13, for example, when point P shown in FIG. Figure 2 (
Pattern data expressed in matrix 1 as shown in b) is read out.

この多面バッファメモリ13から読出されたパターンデ
ータが、文字データ追跡回路16へ入カバターンとして
入力される。
The pattern data read out from this multifaceted buffer memory 13 is inputted to the character data tracking circuit 16 as an input cover pattern.

文字データ追跡回路16は、多面バッファメモリ13内
のパターンデータにおいて、例えば第3図に示す始点S
が設定されると、第6図(a)に示すパターンデータを
読出すことになる。文字データ追跡回路16は、読出し
たパターンデータに対して、第2図(a)に示すマトリ
クス要素のallを始点として周辺の要素を反時計方向
ヘサーチし、最初に検知した黒データを次のマトリクス
の中心座標とする。即ち、第6図(a)に示すパターン
データにより、次のマトリクスの中心座標がX+1゜Y
+1で求まることになる。この結果得られた次のパター
ンデータは、第6図(b)に示すパターンデータとなる
。文字データ追跡回路16は、次のマトリクスの中心座
標を始点として、判時計方向に黒データをサーチし、前
記と同様に最初に検知した黒データを次のマトリクスの
中心座標とする。
The character data tracking circuit 16 tracks the pattern data in the multifaceted buffer memory 13, for example, from a starting point S shown in FIG.
When is set, the pattern data shown in FIG. 6(a) is read out. The character data tracking circuit 16 searches surrounding elements counterclockwise for the read pattern data starting from all of the matrix elements shown in FIG. 2(a), and searches the first detected black data for the next matrix. Let be the center coordinates of That is, according to the pattern data shown in FIG. 6(a), the center coordinates of the next matrix are set to X+1°Y.
It can be found by +1. The next pattern data obtained as a result is the pattern data shown in FIG. 6(b). The character data tracking circuit 16 searches for black data in a clockwise direction starting from the center coordinates of the next matrix, and similarly to the above, sets the first detected black data as the center coordinates of the next matrix.

このようにして、第6図(a)乃至(f)に示すパター
ンデータが順次得られることになる。
In this way, the pattern data shown in FIGS. 6(a) to 6(f) are sequentially obtained.

前記のようにして、文字データ追跡回路16ば第4図に
示すように、1文字に相当する文字パターンデータに対
する追跡処理を行なうことになる。
As described above, the character data tracing circuit 16 performs tracing processing on character pattern data corresponding to one character, as shown in FIG.

追跡処理の終了は、始点Sに到達したが否かにより判定
される。文字データ追跡回路16は、黒データに対する
追跡処理を終了すると、第5図に示すようなマトリクス
M1〜M16内の黒データを順次文字パターンメモリ1
1へ転送する。ここで、文字データ追跡回路16は、文
字パターンメモリ17内に格納されたパターンデータを
参照しながら、各マトリクス内の 化データを判定する。例えば第5図に示すマトリクスM
8では、文字パターンメモリ17には黒データが転送さ
れていないため、別の黒データと判定する。また、マト
リクスM9〜M11では、それぞれのデータE1〜E3
が文字パターンメモリ17へ転送されていない場合でも
、各マトリクス内で連接したデータが文字パターンメモ
リ17へ転送されているため、各データE1〜E3は文
字パターンデータの一部として判定する。
The end of the tracking process is determined based on whether the starting point S has been reached. When the character data tracing circuit 16 completes the tracing process for the black data, the character data tracing circuit 16 sequentially stores the black data in the matrices M1 to M16 as shown in FIG. 5 in the character pattern memory 1.
Transfer to 1. Here, the character data tracking circuit 16 refers to the pattern data stored in the character pattern memory 17 and determines the converted data in each matrix. For example, the matrix M shown in FIG.
8, since no black data has been transferred to the character pattern memory 17, it is determined that the black data is another black data. In addition, in matrices M9 to M11, respective data E1 to E3
Even if the data E1 to E3 are not transferred to the character pattern memory 17, since the data concatenated in each matrix are transferred to the character pattern memory 17, each data E1 to E3 is determined to be part of the character pattern data.

このようにして、多面バッファメモリ13及び文字デー
タ追跡回路16により、第3図に示すような平面上で交
差する文字パターンデータから、1文字分の文字パター
ンデータに対応する黒データのみを検出切出しできる。
In this way, the multi-sided buffer memory 13 and the character data tracking circuit 16 detect and cut out only the black data corresponding to one character's worth of character pattern data from character pattern data that intersects on a plane as shown in FIG. can.

このため、縦方向及び横方向の各射影データでは検出切
出し不可能な連続する文字パターンデータに対して、確
実に1文字毎の文字パターンデータを文字パターンメモ
リ17へ転送することができる。しかも、文字パターン
メモリ17へ転送されるパターンデータは、黒データの
みであるため、データ転送に要する時間を短縮づること
が可能となる。
For this reason, character pattern data for each character can be reliably transferred to the character pattern memory 17 for continuous character pattern data that cannot be detected and extracted using the projection data in the vertical and horizontal directions. Furthermore, since the pattern data transferred to the character pattern memory 17 is only black data, the time required for data transfer can be shortened.

尚、同実施例では、ラインバッファメモリ10がら多面
バッファメモリ13へ文字パターンデータが転送される
場合について説明したが、これに限ることはない。即ち
、1行分の文字パターンデータが多面バッファメモリ1
3へ転送されるように構成し、ラインバッファメモリ1
0を省略してもよい。
In the same embodiment, a case has been described in which character pattern data is transferred from the line buffer memory 10 to the multifaceted buffer memory 13, but the present invention is not limited to this. In other words, one line of character pattern data is stored in the multi-sided buffer memory 1.
3, and line buffer memory 1
0 may be omitted.

この場合、多面バッファメモリ13に対するアドレス制
御が多少異なるが、多面バッファメモリ13から1文字
毎の検出切出し処理は同実施例の場合と同様である。
In this case, although the address control for the multi-sided buffer memory 13 is slightly different, the process of detecting and extracting each character from the multi-sided buffer memory 13 is the same as in the same embodiment.

[発明の効果コ 以上詳述したように本発明によれば、複数の文字パター
ンデータが連続する場合でも、1文字に対応する黒デー
タのみを取出し、文字パターンメモリへ転送することが
できる。このため、複数の文字パターンデータから1文
字毎の文字パターンデータを確実に検出切出すことがで
きる。また、検出切出された文字パターンデータの転送
時間を短縮することができる。
[Effects of the Invention] As described in detail above, according to the present invention, even when a plurality of character pattern data are consecutive, only the black data corresponding to one character can be extracted and transferred to the character pattern memory. Therefore, character pattern data for each character can be reliably detected and extracted from a plurality of character pattern data. Furthermore, the time required to transfer detected and cut out character pattern data can be shortened.

したがって、結果的に1文字毎の認識処理を確実に行な
うことができ、しかも読取処理時間の短縮化を実現する
ことができるものである。
Therefore, as a result, recognition processing for each character can be reliably performed, and reading processing time can be shortened.

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

第1図は本発明の一実施例に係わる文字読取装置の部分
的構成を示すブロック図、第2図(a)(b)はそれぞ
れ同実施例の多面バッファメモリの構成を説明するため
の図、第3図は同実施例の動作を説明するための多面バ
ッファメモリの記憶内容の一例を示す図、第4図及び第
5図はそれぞれ同実施例の文字データ追跡回路の動作を
説明するための図、第6図(a)乃至(f)はそれぞれ
同実施例の動作を説明するためのパターンデータの一例
を示す図、第7図及び第8図は従来の文字パターンデー
タの検出切出し動作を説明するための図である。 13・・・多面バッファメモリ、14・・・アドレス信
号出力回路、15・・・アドレスコントロール回路、1
G・・・文字f−タ追跡回路、17・・・文字パターン
メモリ。 出願人代理人 弁理士 鈴 江 武 彦(a)(b) 第2図 第3図 第4図 (a)    (b)    (c)    (d) 
   (e)    (f)第6図 第7図 第8図
FIG. 1 is a block diagram showing a partial configuration of a character reading device according to an embodiment of the present invention, and FIGS. 2(a) and 2(b) are diagrams for explaining the configuration of a multifaceted buffer memory of the same embodiment, respectively. , FIG. 3 is a diagram showing an example of the storage contents of a multifaceted buffer memory for explaining the operation of the same embodiment, and FIGS. 4 and 5 are for explaining the operation of the character data tracking circuit of the same embodiment, respectively. , and FIGS. 6(a) to 6(f) are diagrams each showing an example of pattern data for explaining the operation of the same embodiment, and FIGS. 7 and 8 are conventional character pattern data detection and extraction operations. FIG. 13... Multifaceted buffer memory, 14... Address signal output circuit, 15... Address control circuit, 1
G...Character f-ta tracking circuit, 17...Character pattern memory. Applicant's agent Patent attorney Takehiko Suzue (a) (b) Figure 2 Figure 3 Figure 4 (a) (b) (c) (d)
(e) (f) Figure 6 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] 帳票上に記録された文字を文字パターンデータに変換す
る文字パターン変換手段と、この文字パターン変換手段
から出力される文字パターンデータを記憶し各バッファ
がマトリクスを構成しかつ各バッファがマトリクスの各
要素となるように構成された多面バッファメモリ手段と
、この多面バッファメモリ手段から所定のアドレスに応
じて設定されるマトリクスからなる前記文字パターンデ
ータを入力として1文字分の文字パターンデータを走査
して出力する文字パターンデータ追跡手段と、この文字
パターンデータ追跡手段から出力される文字パターンデ
ータを格納する文字パターンメモリ手段と、この文字パ
ターンメモリから出力される文字パターンデータにに基
づいて認識処理を行なう認識手段とを具備したことを特
徴とする文字読取装置。
Character pattern converting means for converting characters recorded on a form into character pattern data; each buffer for storing the character pattern data output from this character pattern converting means constitutes a matrix; and each buffer stores each element of the matrix. A multi-sided buffer memory means configured as follows; and the character pattern data consisting of a matrix set according to a predetermined address from the multi-sided buffer memory means are input, and character pattern data for one character is scanned and outputted. character pattern data tracking means for storing character pattern data; character pattern memory means for storing character pattern data output from the character pattern data tracing means; and recognition processing for performing recognition processing based on the character pattern data output from the character pattern memory. A character reading device characterized by comprising: means.
JP60168945A 1985-07-31 1985-07-31 Character reader Pending JPS6228883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60168945A JPS6228883A (en) 1985-07-31 1985-07-31 Character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60168945A JPS6228883A (en) 1985-07-31 1985-07-31 Character reader

Publications (1)

Publication Number Publication Date
JPS6228883A true JPS6228883A (en) 1987-02-06

Family

ID=15877446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60168945A Pending JPS6228883A (en) 1985-07-31 1985-07-31 Character reader

Country Status (1)

Country Link
JP (1) JPS6228883A (en)

Similar Documents

Publication Publication Date Title
US4110737A (en) Character recognition apparatus for serially comparing an unknown character with a plurality of reference characters
JPS6042990B2 (en) Pattern recognition method
JPS6140684A (en) Contour tracking device
JPH0626423B2 (en) Document reader
JPS6228883A (en) Character reader
JPS5855549B2 (en) I'm not sure what to do.
JPS61240289A (en) Pick processor for graphic display unit
JPS609887Y2 (en) Preprocessing circuit in character reading device
JPH0225553B2 (en)
JP3303748B2 (en) Registration method of reference one-dimensional data string, image recognition method, registration device, image recognition device, and recording medium
JP2666931B2 (en) Optical character reader
JP2570815B2 (en) Optical character recognition device
JP2910295B2 (en) Contour information extraction device
JPH03263187A (en) Optical character reader
JPS6297078A (en) Positioning system for picture pattern
JP2000306043A (en) Device and method for reading medium
JPH0731733B2 (en) Rectangle detector
JPS603673B2 (en) character reading device
JPS63293690A (en) Character recognizing system
JPS58109962A (en) Pickup method for data in picture memory
JPH01201788A (en) Character reading method
JPS6162982A (en) Music staff detector
JPH01311388A (en) Optical character reader
JPH01199285A (en) Optical character reader
JPH01102691A (en) Address detecting device for business form end in image buffer