JPS60142481A - Character recognizing device - Google Patents

Character recognizing device

Info

Publication number
JPS60142481A
JPS60142481A JP58250095A JP25009583A JPS60142481A JP S60142481 A JPS60142481 A JP S60142481A JP 58250095 A JP58250095 A JP 58250095A JP 25009583 A JP25009583 A JP 25009583A JP S60142481 A JPS60142481 A JP S60142481A
Authority
JP
Japan
Prior art keywords
circuit
bit
thinning
bits
character
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
JP58250095A
Other languages
Japanese (ja)
Inventor
Naoyuki Sekiya
関谷 直之
Masahito Nakajima
雅人 中島
Tetsuo Hizuka
哲男 肥塚
Hiroyuki Tsukahara
博之 塚原
Noriyuki Hiraoka
平岡 規之
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 JP58250095A priority Critical patent/JPS60142481A/en
Publication of JPS60142481A publication Critical patent/JPS60142481A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to recognize also a character having thin line width with high recognition by adding an isolated bit removing circuit and a weighting/thinning circuit to the titled device. CONSTITUTION:An isolated bit removing circuit 13 is connected among a frame memory 4, a thinning circuit 14 and a thickening circuit 7 and the weighting/ thinning circuit 14 instead of an ordinary thinning circuit, the weighting circuit 15 for controlling the circuit 14 and a slice level setting circuit 16 are also connected. The circuit 13 removes a bit isolated only by one bit and quantized to ''1'' in a picture including an inputted reference character as a bit due to noise or dust independently of the character part. The weighting/thinning circuit 14 is constituted of a weighting circuit 17 and a thinning deciding circuit 18 and controlled by the weight setting circuit 15 and the slice level setting circuit 16 respectively. The circuit 14 weights each bit of a line part of the inputted reference character.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はテレビカメラやデジタイザ等から入力されたデ
ジタル化文字画像を認識する文字認識装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a character recognition device that recognizes digitized character images input from a television camera, digitizer, or the like.

(2)技術の背景 近年デジタル信号処理技術の発達により1紙面や工業製
品などに描かれている文字をコンピュータによって認識
することが可能となった。それに伴い特に工業製品など
の製造番号や種別等の工業用文字、郵便番号、又は手書
き文字などの自動認識装置が実用化されてきている。
(2) Technical Background With the recent development of digital signal processing technology, it has become possible for computers to recognize characters drawn on a page of paper, industrial products, etc. Along with this, automatic recognition devices have been put into practical use, particularly for industrial characters such as manufacturing numbers and types of industrial products, postal codes, and handwritten characters.

(3)従来技術と問題点 デジタル信号処理による従来の文字認識装置としては、
認識すべき文字の種類を辞!点して予めパターン化し一
ζ記憶させておき、認識すべき文字と辞書とのパターン
マツチングをとることによって認識を行なうものが一般
的である。
(3) Conventional technology and problems As a conventional character recognition device using digital signal processing,
Decide on the types of characters that should be recognized! It is common that characters are marked and stored in a pattern in advance, and recognition is performed by pattern matching the characters to be recognized and a dictionary.

そのような文字認識装置の一構成例を第1図に示す。An example of the configuration of such a character recognition device is shown in FIG.

まず辞書を作成するためにスイッチSを端子1゛1側に
接続し辞書作成モー川・にする。その後認識すべき文字
のリファレンスをテレビカメラ1より人力サセる。カメ
ラコン1−ロールユニット2(CCU)によって制御さ
れるテレビカメラ1より入力された画像は電気信号に変
換された後、A/D変換器3によって2値化(0又は1
)されデジタル信号に変換される。
First, in order to create a dictionary, switch S is connected to the terminal 1 side and the dictionary creation mode is set. Thereafter, the reference of the character to be recognized is manually retrieved from the television camera 1. An image input from a television camera 1 controlled by a camera controller 1-roll unit 2 (CCU) is converted into an electrical signal, and then converted into a binary signal (0 or 1) by an A/D converter 3.
) and converted to a digital signal.

以」二の処理によって1文字分の画像は例えば64ビッ
ト×64ヒツトの細かい格子状の画素(−ピッl−,以
下ビットという。)に分割され、各ヒツト毎に文字が存
在する部分には1が割当てられ、そうでない部分には0
が割当てられ6 この1両面分(64ピッl−X 64
ヒツト)の情報はフレームメモリ4に記憶される。この
場合各ビットは一般に文字に比べて非常に小さいため、
入力したリファレンスの文字による線は2値化された画
面上では数ビットの幅を持った2値化データの集合とし
て表わされる。(文字による線以外の部分はノイズが載
、ている部分を除いて0である。)以上のようにして辞
書を作るために入力されフレームメモリに格納された1
文字分の画像に対して、まず細線化回路5において人カ
リ、ファレンス文字の細線化が行われる。即ち前記した
ように入力リファレンス文字による線の線幅は数ビット
分あるのでこれを1ビツト又は2ピツと程度の細い幅の
線に変換する。これによっ”ζ人力リファレンス文字の
骨格構造がパターン化される。このようにして細線化さ
れた入力リファレンス文字は、細マスクパターンとして
細マスクパターンメモリ6に記1.#される。一方フレ
ームメモリ4に格納された上記画像に刻して、太線化回
路7において入力リファレンス文字の太線化が行われる
。即ち例えば線幅が3ビツトの線を5ビット幅の太い線
に変換する。これによって入力リファレンス文字の骨格
構造のみでは表わしきれない特徴がパターン化される。
Through the above two processes, the image for one character is divided into fine grid pixels (-pixel-, hereinafter referred to as bits) of, for example, 64 bits x 64 hits, and the part where the character exists for each hit is divided into 1 is assigned, otherwise 0
is allocated and 6 for this one side (64 pills-X 64
Information about the number of hits) is stored in the frame memory 4. In this case each bit is generally very small compared to the character, so
The line formed by the input reference characters is represented on the binarized screen as a set of binarized data having a width of several bits. (The parts other than the lines of characters are 0 except for the parts where noise is placed.) The numbers input to create the dictionary as described above and stored in the frame memory are 0.
First, the line thinning circuit 5 thins the human characters and reference characters on the character image. That is, as described above, since the line width of the input reference character is several bits, this is converted into a line as narrow as 1 bit or 2 pits. As a result, the skeleton structure of the human-powered reference character "ζ" is patterned. The input reference character thinned in this way is written in the thin mask pattern memory 6 as a thin mask pattern. On the other hand, the frame memory 4, and the input reference character is thickened in the thickening circuit 7. That is, for example, a line with a line width of 3 bits is converted into a thick line with a width of 5 bits. Characteristics that cannot be expressed only by the skeletal structure of the reference character are patterned.

そしてこのように太線化された入力リファレンス文字は
、大マスクパターンとして太マスクパターンメモリ8に
記憶される。このようにして1文字毎にリファレンス文
字を入力・処理することによって、各リファレンス文字
毎に細マスクパターン及び大マスクパターンとしてパタ
ーン化された辞■が作成される。
The input reference character thus made into a thick line is stored in the thick mask pattern memory 8 as a large mask pattern. By inputting and processing the reference characters character by character in this way, a patterned dictionary (2) is created for each reference character as a thin mask pattern and a large mask pattern.

以上のようにして辞書が作成された後、実際に文字を入
力して文字認識を行なう。そのためにスイッチSを端子
1゛2側に接続し認識モードにする。
After the dictionary is created as described above, characters are actually input and character recognition is performed. For this purpose, switch S is connected to terminals 1 and 2 to set the recognition mode.

そして認識すべき文字をテレビカメラ1より入力させ、
辞■作成の場合と同様にA/D変換器36jよって2値
のデジタル信号に変換し、アレーン、メモリ4に格納す
る。このようにして入力された文字画像はまずパターン
マツチング回路9において細マスクパターンメモリ6に
記憶されζいる各リファレンス文字の細マスクパターン
とのマツチングがとられる。そしてパターンマツチング
回路9の出力として、各リファレンス文字毎に細マスク
パターンと入力画像の文字部とを重ね合わせ、細マスク
パターンが入力画像の文字部からはみ出ず部分のビット
数が不一致度Aとして不一致度判定回路11に出力され
る。また同様にして入力された文字画像1はパターンマ
ツチング回路10において大マスクパターンメモリ8に
記憶されている各リファレンス文字の大マスクパターン
とのマツチングがとられる。そしてパターンマ・スチン
グ回路10の出力として、各リファレンス文字毎に太マ
スクパターンと入力画像の文字部とを重ね合わせ。
Then input the characters to be recognized through TV camera 1,
As in the case of creating the dictionary, the A/D converter 36j converts it into a binary digital signal and stores it in the array memory 4. The character image thus input is first matched in the pattern matching circuit 9 with the fine mask pattern of each reference character stored in the fine mask pattern memory 6. Then, as an output of the pattern matching circuit 9, the thin mask pattern and the character portion of the input image are superimposed for each reference character, and the number of bits in the portion where the thin mask pattern does not protrude from the character portion of the input image is determined as the degree of mismatch A. It is output to the mismatch degree determination circuit 11. Similarly, the input character image 1 is matched with the large mask pattern of each reference character stored in the large mask pattern memory 8 in the pattern matching circuit 10. Then, as an output of the pattern mapping circuit 10, the thick mask pattern and the character part of the input image are superimposed for each reference character.

上記とは逆に文字部が太マスクパターンからはみ出ず部
分のビット数が不一致度Bとして不一致度判定回路11
に出力される。そして不一致度判定回路11においては
各リファレンス文字毎に入力画像に対する不一致度A及
びBの和を計算し、その和(単位はビット数)が最も小
さいリファレンス文字が入力された文字であるとして、
その文字情報を結果出力装置12に出力する。
Contrary to the above, the number of bits in the part where the character part does not protrude from the thick mask pattern is determined as the mismatch level B by the mismatch level determination circuit 11
is output to. Then, the mismatch degree determination circuit 11 calculates the sum of the mismatch degrees A and B with respect to the input image for each reference character, and assumes that the reference character with the smallest sum (unit: number of bits) is the input character.
The character information is output to the result output device 12.

以上のような文字認識装置においては認識すべき文字の
種類′が変わっても辞書を新たに作れるため、柔軟性に
富んだ文字認識を行なうことができる。また細マスクパ
ターンと大マスクパターンの2種類の辞書によって認識
を行なうため、異なった線幅の文字への対応が可能とな
り、高い認識率を得ることができる。ところで第1図に
おいて太線化回路7の具体的な処理動作は入力文字画像
の線部分(1の部分〉を線の幅方向に一定し)1−数だ
()太らせることによって実現される。これに対して細
線化回路5の具体的な処理動作は太線化の場合のように
は単純ではないのでそれについて第2図に例を示しなが
ら説明を行なう。
In the above-described character recognition device, a new dictionary can be created even if the type of character to be recognized changes, so character recognition can be performed with great flexibility. Furthermore, since recognition is performed using two types of dictionaries, a thin mask pattern and a large mask pattern, it is possible to handle characters with different line widths, and a high recognition rate can be obtained. By the way, in FIG. 1, the specific processing operation of the thickening circuit 7 is realized by keeping the line portion (1 portion) of the input character image constant in the width direction of the line and making it thicker (1-number). On the other hand, the specific processing operation of the line thinning circuit 5 is not as simple as in the case of thickening, so it will be explained using an example shown in FIG.

第2図(a)は入力リファレンス文字による線の一部が
3ピノ[・幅に量子化されたヒソ1−の集合とし0表わ
されている例である。この場合ヒソ1−(Φのみが0に
量子化されており、この部分だけ線幅が細くなっている
。このような3ピツI・幅の線を1ビツト幅の線に細線
化するためには、線部分(1に量子化されたヒソI〜の
部分)の各ヒツト毎に上下左右方向及び斜め方向の自身
の周囲8ビツトを見て3周囲8ヒツトがずべて1の場合
にはそのヒツトに1を割り当て、1つ呑もOがあればそ
のビットは0にするという操作を行なうことによって細
線化を行う。
FIG. 2(a) is an example in which a part of a line formed by an input reference character is represented as a set of 3 pino[·hiso 1-] quantized to a width of 0. In this case, only Hiso 1-(Φ is quantized to 0, and the line width is thinner only in this part. In order to thin such a 3-bit width line to a 1-bit width line, looks at the surrounding 8 bits in the up, down, left, right and diagonal directions for each hit in the line part (the part of Hiso I~ that is quantized to 1), and if all of the 3 surrounding 8 bits are 1, then Thinning is performed by assigning 1 to each bit, and setting that bit to 0 if there is at least one O.

第2図(alの場合2例えばビット■について見ると左
右2ヒ、ットと下3ヒツトは1であるが、上3ピッ1へ
が0であるため、ピッ1−■は0とする。即ち、ビット
■は捨てられる。ところがヒツト■について見ると、上
下左右斜めの周囲8、ビットが全て1であるためピッI
・■には1が割り当てられそのビットは残される。他の
全ての線部分のビットについても同様の操作を行なうこ
とpこまって第2図ta+の3ヒツト幅の線は同図中の
斜線で示したように1ビツト幅の線に細線化される。と
ころがこの細線化の方法によるとビット■、■、■につ
いては残しておくべき(1を割当てるべき)であるのに
、ビ・ノド■がOであるために各ヒツトの周囲8ヒツト
を見ることによって3つのビットは捨てられてしまい、
同図に示すように1ヒツト幅に細線化した時に その部
分が切れてしまうという問題点があった。このような問
題ば3ヒ/を幅を1ビツト幅に細線化する場合に限らず
、入力リファレンス文字の線幅が途中で細くなっている
ような場合にも生じる。さらに第2図(blに示すよう
に2ビツト幅の線を」二記の細線化の方法によゲで細線
化しようとすると、各ヒツトとも周囲8ヒツトか全て1
になるビットは1つもないので全てのヒツトにOが割当
てられて消去されてしまうという問題点があった。そし
てこれらの不都合な細線化は結果的に文字の誤認識を生
しやすくしてしまうという問題点があった。
Fig. 2 (In the case of al) 2 For example, looking at the bit ■, the left and right 2 hits, the hit and the bottom 3 hits are 1, but the upper 3 hits to 1 are 0, so the bit 1-■ is set to 0. In other words, the bit ■ is discarded. However, when looking at the hit ■, the bits are all 1 in the vertical, horizontal, and diagonal surroundings, so the pitch I is discarded.
・1 is assigned to ■ and that bit is left. The same operation is performed for all the bits in the other line parts.The 3-bit width line in ta+ in Figure 2 is then thinned into a 1-bit width line as indicated by the diagonal lines in the same figure. . However, according to this method of line thinning, bits ■, ■, and ■ should be left (assigned 1), but since the bit and node ■ are O, it is necessary to look at the eight people around each person. Three bits are discarded by
As shown in the figure, there was a problem that when the line was thinned to one hit width, that part was cut off. Such a problem occurs not only when thinning a 3-bit line to a 1-bit width, but also when the line width of an input reference character becomes thinner in the middle. Furthermore, if you try to thin a 2-bit width line using the thinning method described in Figure 2 (bl), each line will have 8 lines around it, or all lines will be 1 line.
Since there is no bit that becomes 0, there is a problem in that all hits are assigned O and erased. This inconvenient thinning of the lines results in a problem in that characters are more likely to be misrecognized.

また第1図に示した。J、うな従来の文字認識装置によ
ると、入力されたリファレンス文字を含む画像にノイズ
成分か載っている場合1文字以外の部分がK111線化
又は太線化されてしまいそれらを細マスクパターン又は
大マスクパターンとした場合に。
It is also shown in FIG. J, Una According to conventional character recognition devices, if noise components are included in the image containing the input reference character, parts other than one character will be made into K111 lines or thick lines, and they will be replaced with a thin mask pattern or a large mask. When used as a pattern.

認識時におけるパターンマツチング、4!Iに細マスク
パターンとのマツチングにおいて、そのノイズgB分が
前記不一致度Aの出力値を増してしまい。
Pattern matching during recognition, 4! In matching I with a thin mask pattern, the noise gB increases the output value of the degree of mismatch A.

細マスクパターンとのパターンマツチングに対する依存
度の大きな線幅の♀■1い文字の認識が低下してしまう
という問題点があった。
There is a problem in that the recognition of characters with a large line width of ♀■1 that is highly dependent on pattern matching with a thin mask pattern deteriorates.

(4)発明の目的 本発明は上記問題点を除くために、従来の画像入力装置
、Δ/D変換器、アレーン、メモリ、及びパターンマツ
チング回路などにより構成される文字認識装置に、孤立
ヒント除去回路及び重みイ」り細線化回路などを付加す
るごとにより、線幅の細い文字に刻しても高い認識率で
文字認識を行なうことのできる文字認識装置を提供する
ことを目的とする。
(4) Purpose of the Invention In order to eliminate the above-mentioned problems, the present invention provides an isolated hint in a character recognition device constituted by a conventional image input device, a Δ/D converter, an array, a memory, a pattern matching circuit, etc. To provide a character recognition device capable of recognizing characters with a high recognition rate even when characters with narrow line widths are inscribed by adding a removal circuit, a weight-increasing line thinning circuit, and the like.

(5)発明の構成 本発明は検出すべきビーノドの周囲のビットの2値デー
タを検出する手段と、該周囲のビットに所定の重み付け
を施す手段と2周囲ヒツトの2値データに基づいて重み
の和を検出する手段と、該重みの和が第1の設定値を越
えているときに検出すべきビットをマスクパターン用ヒ
ツトとして出力する細線化手段とを備えたことを特徴と
する文字認識装置及び検出すべきピッ1〜の周囲のヒツ
トの2値データを検出する手段と、該周囲のビットに所
定のmみイζJりを施ず1段と4周囲ヒツトの2値デー
タに基づいて重みの和を検出する手・陵と、該重めの和
が第1の設定値を越えているときに検出ずべきビットを
マスタパターン用ヒントとして出力する細線化手段と前
記周囲ピッ]−の2埴デークの和が所定の第2設定値以
下であるとき検出ピノ1−を独立ビットとして消去する
手段を有することを特徴とする文字認識装置を提供する
ものである。
(5) Structure of the Invention The present invention provides means for detecting binary data of bits surrounding a bean node to be detected, means for applying predetermined weighting to the surrounding bits, and weighting based on the binary data of the two surrounding bits. and thinning means for outputting the bit to be detected as a mask pattern hit when the sum of the weights exceeds a first set value. A device, a means for detecting binary data of people around the 1st to 4th bits to be detected, and a means for detecting binary data of people around the 1st stage and 4th round without subjecting the surrounding bits to a predetermined m a hand/leg for detecting the sum of weights, a thinning means for outputting a bit that should not be detected as a hint for a master pattern when the sum of the weights exceeds a first set value, and the peripheral pick. The present invention provides a character recognition device characterized in that it has means for erasing detected pinot 1- as an independent bit when the sum of two digits is less than a predetermined second set value.

(6)発明の実施例 以下本発明の実施例について詳細に説明を行なう。(6) Examples of the invention Embodiments of the present invention will be described in detail below.

第3図は本発明による文字認識装置の全体的な構成図で
ある。
FIG. 3 is an overall configuration diagram of a character recognition device according to the present invention.

本発明と第1図に示した従来例とで異なる点は。What is different between the present invention and the conventional example shown in FIG.

フレームメモリと細線化回路及び太線化回路の間に孤立
しノl−除去回路13が接続されており、又従来の細線
化回路5 (第1図)の代わりに重み(りJり細線化回
路14とそれを制御する重み設定回路15及びスライス
レベル設定回路16が接続されている点である。その他
の構成及び動作は第1図の従来例の場合と同様なので、
その説明は省略する。
An isolated weight removal circuit 13 is connected between the frame memory, the thinning circuit, and the thickening circuit. 14, and the weight setting circuit 15 and slice level setting circuit 16 that control it are connected.Other configurations and operations are the same as in the conventional example shown in FIG.
The explanation will be omitted.

まず孤立ビット除去回路13は入力したリファレンス文
字を含む画像におい°乙 1ヒソ1−だげ孤立して1に
量子化されているヒソ1を9文字部分ではなく、ノイズ
やごみによるものとして除去してしまう回路である。具
体的な動作は、入力画像において1に量子化されている
ヒツト、を順に見てゆき、そのビットの周囲8ビツトが
全て0ならばそのビットはノイズ又はごみなどによる孤
立ビットであるとして除去する。この回路によってノイ
ズ又はごみによる文字以外の部分が誤って細線化又は太
線化されてしまうということを避けることができる。
First, the isolated bit removal circuit 13 removes the isolated bit 1, which is quantized to 1, from the image containing the input reference character, assuming that it is not a 9-character part but is caused by noise or dirt. This is a circuit that can cause problems. The specific operation is to sequentially look at the bits that are quantized to 1 in the input image, and if the 8 bits around that bit are all 0, that bit is removed as an isolated bit due to noise or dirt. . This circuit can prevent parts other than characters from being erroneously made into thinner or thicker lines due to noise or dust.

次に太線化回路7については従来例と同じであるので霧
略し1重め付は細線化回路141重め設定回路15.及
びスライスレベル設定回路16の動作について説明する
。第4図はこの3つの回路の部分の詳しい構成図である
。即ち市みイ]け9、■線化回路14ば重み付は回路1
7及び細線化判定回路18から構成され、それぞれ重み
設定回路15及びスライスレベル設定回路16によって
制御される。
Next, the thick line making circuit 7 is the same as the conventional example, so it is omitted, and the one with 1 weight is the thin line setting circuit 141 and the weight setting circuit 15. and the operation of the slice level setting circuit 16 will be explained. FIG. 4 is a detailed configuration diagram of these three circuit parts. In other words, the weighting is the circuit 1 when the wiring circuit 14 is
7 and a thinning determination circuit 18, and are controlled by a weight setting circuit 15 and a slice level setting circuit 16, respectively.

重み付は細線化回路14は入力されたリファレンス文字
の線部分の各ビットに重め付&Jを行ないItnl線化
するための回路である。その具体的な重め設定例を第5
図に示す。
The weighting and thinning circuit 14 is a circuit for performing weighting &J on each bit of the line portion of the input reference character to convert it into Itnl lines. A specific example of the weight setting is shown in the fifth section.
As shown in the figure.

まず第5図(alは斜線で示した線部分のビット(1に
量子化されているビット)においてその周囲8ビツトを
見て、ヒソI・pが1に量子化されているならば得点2
を足し、0に量子化されているならば点は加えない。
First, in Figure 5 (al is the bit in the shaded part (the bit quantized to 1), look at the surrounding 8 bits, and if Hiso I.p is quantized to 1, the score is 2.
If it is quantized to 0, no point is added.

以下ヒツトq、r、s、t、u、V、wについてそれぞ
れ重み伺けの点数を斜線部のヒツトからの距離に応して
、3,2.3,2.3,2.3点とし2周囲8ビ、トに
対して合計の点数を計算し。
Below, the weighted scores for hits q, r, s, t, u, V, and w are set as 3, 2.3, 2.3, and 2.3 points, depending on the distance from the hatched part. 2 Calculate the total score for the surrounding 8 bits and g.

その結果を斜線部のヒソ1への重みと3−る。The result is used as the weight for Hiso 1 in the shaded area.

第5図(blは注目するヒント(斜線部のビット)の右
側と下側の市みを犬きくシ、方向性を持たせた設定例で
ある。即ち右側と下側の重みの点数か高くなっているた
め、右側と下側のヒントが1に量子化さり、ていると斜
線部のビットの重みが大きくなる。
Figure 5 (bl is a setting example in which the right side and lower side of the hint to be noticed (hatched bit) is set to give directionality.In other words, the weight of the right side and lower side is higher. Therefore, the hints on the right and bottom sides are quantized to 1, and the bits in the shaded area have a larger weight.

第6図ta+は第5図(blの重み設定例を用いて、1
箇所(ピストo)だけ欠落している3ピノ1−幅の線部
分のそれぞれのピッI・に重み付りを行なった例である
。例えばビット■についてみると第5図(blのピッl
−u、v、wに相当するビットのみが1に量子化されて
いるため、ヒy )u’、v、 wに対する重み5.4
.5点が足されて工4点となる。
Figure 6 ta+ is 1 using the weight setting example of Figure 5 (bl).
This is an example in which weighting is applied to each of the pips I in the 1-width line portion of the 3 pins that are missing at a location (piston o). For example, if we look at bit ■, Figure 5 (bl bit
- Since only the bits corresponding to u, v, w are quantized to 1, the weight for u', v, w is 5.4.
.. The 5 points are added to give 4 points.

またビット■についてめると、第5図(blのヒソi 
p = wに相当する周囲8ヒツトが全て1に量子化さ
れているため、ビットp〜Wに対する重みが全て加算さ
れて最高点28点となる。
Also, regarding bit ■, Fig. 5 (bl's secret i)
Since all of the surrounding eight hits corresponding to p = w are quantized to 1, the weights for bits p to W are all added up, resulting in a maximum score of 28 points.

また欠落しているピッ]・@の近くの内側のヒツト■、
[相]、■などについては例えばピッ]−■について見
ると、第5図tb+のヒソl−pに相当するビットのみ
が0に量子化されているにずぎないため。
Also missing is the inner hit near @,
Regarding [phase], ■, etc., for example, when looking at p]-■, only the bit corresponding to hiso l-p of tb+ in FIG. 5 must be quantized to 0.

重め伺りを行なうと25点と比較的高い点数となる。ビ
ット[相]及び0についても同様である。
If you do a heavy survey, you will get a relatively high score of 25 points. The same applies to bit [phase] and 0.

以−Lのような重み付けを行なった後、第6図(alの
例では21点以上の重み伺りがされているヒツトのみを
細線化ビットとして残す(1に量子化し他のビットは0
に量子化する)ことによって、同図中の太線の枠で囲ま
れた部分が細線化の結果となり、細マスクパターンとし
て出力される。このような方法によればヒソl−■が欠
落し°ζいてもヒツト■、亀@の部分が細線化により消
去される5ことはなくなる。
After weighting as shown in Figure 6 (al), only the bits with a weight of 21 points or more are left as thinning bits (quantized to 1 and other bits are 0).
As a result, the part surrounded by the thick line in the figure becomes the result of thinning, and is output as a thin mask pattern. According to such a method, even if HISOL - ■ is missing, the HIZ and TORTOISE @ parts will not be erased 5 by thinning.

以」二のような処理において第5図(a)又は(blに
示ずような重み伺り方法の設定は重み設定回路15にお
いて行なうことができ、それに従って重め伺は回路17
において第6図+a+に示したような重め伺けが行われ
る。そしてスラ・イス1ノヘル設定回路1Gにおい“ζ
r+++線化ビットとし7て残ずべき市め伺りの点数闇
値を設定しく第6図ia)の例の場合21点)、細線化
判定回路18において」−記闇値に従ってHm igt
化(第6図(・l)の大枠部分を抽出する処理)を行う
In the above-mentioned process, the setting of the weight inquiry method as shown in FIG.
In this step, heavy interrogation as shown in FIG. 6+a+ is performed. And in the Sura Is 1 Nohel setting circuit 1G “ζ
In the case of the example shown in Fig. 6 ia), the line thinning determination circuit 18 sets Hm igt according to the recorded value in the line thinning determination circuit 18.
(a process for extracting the large frame part in FIG. 6(.l)).

第に図(l))は第5図(blの車み設定例を用いて2
ビツト幅の線部分のそれぞれのピッI・に市みイ=Jり
を行なった例である。この場合第5図(I))の市め設
定例が方向性のある重み設定例であるため、上側のビッ
ト0と下側のヒツト■なとで重め伺りの点数が異なり、
1スライスレベル設定回路16において例えば闇値を1
7点に設定するごとによって、同図の太線の枠で囲まれ
た部分がaa線化の結果となり、細マスクパターンとし
て出力される。このようにスライスレベル設定回路16
においてイ■線化の重み付は闇値を変えることによって
2ビット幅の線部分の細線化も可能となり、ま、た、第
6図(alなどにおいては3重み付の闇値を下げるごと
によって3ビツト幅から2ビツト幅−・の細線化も簡1
11に可能となる。さらに重み設定回路15において第
5図以外の重み設定(例えば見る範囲を周囲8ビツトよ
り広くする)を行なうことにより、3ビツト幅より広い
幅の線に対しても細線化を行なうことが可能となる。
Figure 5 (l)) is 2.
This is an example in which market I=J is applied to each pitch I of a line portion with a bit width. In this case, the market setting example in Figure 5 (I)) is an example of directional weight setting, so the points for heavy weighting are different between the upper bit 0 and the lower bit ``■''.
For example, the darkness value is set to 1 in the 1 slice level setting circuit 16.
By setting seven points, the part surrounded by the thick line frame in the same figure becomes the result of converting into aa line, and is output as a thin mask pattern. In this way, the slice level setting circuit 16
In A, it is possible to thin line portions with a width of 2 bits by changing the darkness value. Easy line thinning from 3-bit width to 2-bit width 1
It will be possible on 11th. Furthermore, by setting weights other than those shown in FIG. 5 in the weight setting circuit 15 (for example, making the viewing range wider than the surrounding 8 bits), it is possible to thin lines even for lines wider than 3 bits. Become.

以−]二のように本発明による重み(=JシJ細線化を
行なうことにより、従来方式では困ゲ1fであった8用
い線幅部分の細線化をはじめとするさまざまな種類の線
の細線化を行なうことが可能となる。そしてこのように
して細線化された細マスクパターンをhaマスタパター
ンメモリ6 (第3図)に記憶させ。
As shown in [2], by performing the weighting (=J-J line thinning) according to the present invention, various types of lines, including thinning of the 8 line width part, which was difficult in the conventional method, can be achieved. It becomes possible to perform line thinning.The thin mask pattern thus thinned is stored in the ha master pattern memory 6 (FIG. 3).

従来例と同様にパターンマツチングを行なうことにより
従来例の場合よりも高認識率の文字認識を行なうことが
できる。
By performing pattern matching as in the conventional example, character recognition can be performed with a higher recognition rate than in the conventional example.

(7)発明のすJ果 本発明によれば孤立しント除去回路にJ、って文字以外
のノイズ又はごみなどによる不要なヒソl−を消去する
ことができ2特に線幅の6111い文字の認識率を高め
ることができる。
(7) Results of the Invention According to the present invention, the isolated dot removal circuit can eliminate unnecessary histograms caused by noise or dust other than characters.2 Especially characters with a line width of 6111. recognition rate can be increased.

これに加えて重め(=JしJ細線化を行なうごとによっ
て、 +no線化の自由度を従来方式に比べて大きくす
ることができ、より高い認識を行なうことができる6■
マスクパターンを作成することか可能となる。
In addition to this, by increasing the weight (=J and making the J line thinner), the degree of freedom in making +no lines can be increased compared to the conventional method, and higher recognition can be achieved6
It is possible to create a mask pattern.

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

第1図は従来の文字認識装置の構成図1第2図は従来の
細線化処理の説明図、第3図は本発明による文字認識装
置の構成図、第4図は本発明による重み付り細線化回路
とその周辺回路の構成図。 第5図(al 、 ′(blは重み伺げ設定のパターン
図、第6図ta+、 (b)は実際の重みイ′Jリパタ
ーン図である。 1・・・テレヒカメラ 2・・・カメラコンI−ロール
ユニソI−(CCU) 3・・・A / I)変換器 
4・・・フレームメモリ 5・・・細線化回路 6・・・細マスクパターンメモリ 7・・・太線化回路 8・・・太マスクパターンメモリ
 9.19・・・パタ ーンマツチング回路 11・・・不一致度刊定回路 1
2・・・結果出力 装置 13・・・孤立ヒフ1−除去回 路 14・・・重み伺り細線化回 路 15・・・重み設定回路 16・・・スライスレベル設定回路 17・・・重み付は回路 18・・ ・細線化判定回路 S・ ・・スイソチ 第1図 ら 第2図 (0)
Fig. 1 is a diagram showing the configuration of a conventional character recognition device. Fig. 2 is an explanatory diagram of conventional thinning processing. Fig. 3 is a configuration diagram of a character recognition device according to the present invention. Fig. 4 is a diagram showing the configuration of a character recognition device according to the present invention. A configuration diagram of a thinning circuit and its peripheral circuits. Figure 5 (al, '(bl) is a pattern diagram of the weight setting, Figure 6 (ta+), (b) is the actual weight adjustment pattern diagram. 1...Television camera 2...Camera controller I-Roll Uniso I-(CCU) 3...A/I) converter
4...Frame memory 5...Thinning circuit 6...Thin mask pattern memory 7...Thick line making circuit 8...Thick mask pattern memory 9.19...Pattern matching circuit 11... Discrepancy degree publication circuit 1
2...Result output device 13...Isolated gap 1-removal circuit 14...Weighting thinning circuit 15...Weight setting circuit 16...Slice level setting circuit 17...Weighting circuit 18... Thinning determination circuit S... Swissochi Fig. 1 and Fig. 2 (0)

Claims (3)

【特許請求の範囲】[Claims] (1)検出ずべきビットの周囲のビットの2値データを
検出する手段と、該周囲のビットに所定の重みイ]けを
施す手段と2周囲ビットの2値データに基づいてmみの
和を検出する手段と、該重みの和が第1の設定値を越え
ているときに検出ずべきビットをマスタパターン用ビッ
トとして出力する細線化手段とを備えたことを特徴とす
る文字認識装置。
(1) A means for detecting binary data of bits surrounding a bit to be detected, a means for applying a predetermined weight to the surrounding bits, and a sum of m based on the binary data of the two surrounding bits. 1. A character recognition device comprising: a means for detecting a weight, and a thinning means for outputting a bit to be detected as a master pattern bit when the sum of the weights exceeds a first set value.
(2)前記マスクパターン用のピノ[・は細線化用ヒツ
トであることを特徴とする特許請求の範囲第1項記載の
文字認識装置。
(2) The character recognition device according to claim 1, wherein the mask pattern pinot [. is a line thinning hit.
(3)検出すべきヒツトの周囲のヒントの2値テータを
検出する手段と、該周囲のヒツトに所定の重み伺のを施
す手段と9周囲ビットの2値データに基づいて重みの和
を検出する手段と、該重みの和が第1の設定値を越えて
いるときに検出ずへきビットをマスクパターン用ビット
とし′ζ出力する細線化手段と前記周囲ビットの2値デ
ータの和が所定の第2設定値以下であるとき検出ビット
を孤立ヒントとして消去する手段を有することを特徴と
する文字認識装置。
(3) Means for detecting binary data of hints around the person to be detected, means for applying a predetermined weight to the surrounding people, and detecting the sum of weights based on the binary data of 9 surrounding bits. a thinning means for outputting undetected bits as mask pattern bits when the sum of the weights exceeds a first set value; A character recognition device comprising means for erasing a detected bit as an isolated hint when the value is equal to or less than a second set value.
JP58250095A 1983-12-28 1983-12-28 Character recognizing device Pending JPS60142481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58250095A JPS60142481A (en) 1983-12-28 1983-12-28 Character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58250095A JPS60142481A (en) 1983-12-28 1983-12-28 Character recognizing device

Publications (1)

Publication Number Publication Date
JPS60142481A true JPS60142481A (en) 1985-07-27

Family

ID=17202734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58250095A Pending JPS60142481A (en) 1983-12-28 1983-12-28 Character recognizing device

Country Status (1)

Country Link
JP (1) JPS60142481A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02257381A (en) * 1988-12-20 1990-10-18 American Teleph & Telegr Co <Att> Sorting of image, sorting of and identifier for character in image and fine line conversion of image
US7374426B2 (en) 2005-03-16 2008-05-20 Nec Corporation Card-edge board connector that electrically connects two boards

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02257381A (en) * 1988-12-20 1990-10-18 American Teleph & Telegr Co <Att> Sorting of image, sorting of and identifier for character in image and fine line conversion of image
US7374426B2 (en) 2005-03-16 2008-05-20 Nec Corporation Card-edge board connector that electrically connects two boards

Similar Documents

Publication Publication Date Title
JP3017384B2 (en) Feature region extraction device
CN110619334B (en) Portrait segmentation method based on deep learning, architecture and related device
US6728399B1 (en) Method and apparatus for defining color borders in a raster image by identifying and breaking contrast ties
US20110229033A1 (en) Image Processing Method, and Program
CN115063861A (en) Model training method, image background similarity judgment method and device
CN111507239A (en) Local feature face recognition method based on image pyramid
JPH0134496B2 (en)
JPH04315272A (en) Graphic recognizing device
US6324300B1 (en) Defining color borders in a raster image
JPS60142481A (en) Character recognizing device
WO2022267387A1 (en) Image recognition method and apparatus, electronic device, and storage medium
CN109800758A (en) A kind of natural scene character detecting method of maximum region detection
EP1394726A2 (en) Image processing for pattern recognition using edge detection and projections along predetermined directions
JPS6214277A (en) Picture processing system
JP3058951B2 (en) Image pattern recognition device
JP3060922B2 (en) Feature generator
JP2789622B2 (en) Character / graphic area determination device
JPH04324577A (en) Broken-line graph recognizing device
JP2024002327A (en) Information processing device, information processing system, information processing method, and program
JPH03126188A (en) Character recognizing device
JPH04213172A (en) Pattern recognition device
JPS60258688A (en) Pattern recognizing method and device using the method
JPS642315B2 (en)
JPH06187456A (en) Neural network image recognizing method and device therefor
Ma et al. Hausdorff Metric Based Vector Quantization of Binary Images.