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
JPS6022792B2 - Pattern feature extraction method - Google Patents
[go: Go Back, main page]

JPS6022792B2 - Pattern feature extraction method - Google Patents

Pattern feature extraction method

Info

Publication number
JPS6022792B2
JPS6022792B2 JP52116314A JP11631477A JPS6022792B2 JP S6022792 B2 JPS6022792 B2 JP S6022792B2 JP 52116314 A JP52116314 A JP 52116314A JP 11631477 A JP11631477 A JP 11631477A JP S6022792 B2 JPS6022792 B2 JP S6022792B2
Authority
JP
Japan
Prior art keywords
pattern
feature
candidate
basic
storage means
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
JP52116314A
Other languages
Japanese (ja)
Other versions
JPS5449035A (en
Inventor
博行 上
幸夫 星野
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP52116314A priority Critical patent/JPS6022792B2/en
Publication of JPS5449035A publication Critical patent/JPS5449035A/en
Publication of JPS6022792B2 publication Critical patent/JPS6022792B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は光学的文字認識装置(以下OCRと称す)の特
徴抽出方式、特にパターンの丸みと直線性を区別する特
徴を抽出する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a feature extraction method for an optical character recognition device (hereinafter referred to as OCR), and particularly to a method for extracting features that distinguish between roundness and linearity of a pattern.

紙上に書かれた文字を認識する場合、一般的に光学的に
走査し、文字部を“1”、紙の白部を“0”というよう
に2値パターンに量子化し、1文字づつに分離してから
、雑音除去、細線化等の前処理を経て、特徴抽出部、判
定部を通るといった順序で行われている。特徴抽出部で
は、通常線の端点、分岐点、屈折点、凹部、凸部等を特
徴として抽出し、判定部ではこれらの特徴の存否あるい
は量によって入力された文字を判定するようになつてい
る。この特徴抽出に関しては様々な特徴抽出方法が提案
され実用化されてきた。
When recognizing characters written on paper, it is generally optically scanned and quantized into a binary pattern such that the text part is "1" and the white part of the paper is "0", and then separated into individual characters. After that, it goes through pre-processing such as noise removal and thinning, and then passes through a feature extraction section and a determination section. The feature extraction section extracts end points, branching points, bending points, depressions, convexities, etc. of normal lines as features, and the judgment section judges input characters based on the presence or absence or quantity of these features. . Regarding this feature extraction, various feature extraction methods have been proposed and put into practical use.

ところが読取り対象文字を数字の他に、英字、カタカナ
、記号等まで拡げると、異なったカテゴリーで類似した
パターンが更に増加する。互に類似したパターンを区別
するには殆んどこれらの類似パターン同志だけを区別す
るための特殊な特徴を抽出する必要が生れる。そのため
に最初に論取り対象文字全体を講捉りするために比較的
有効な特徴(以下基本特徴と称す)を抽出し、抽出され
た基本特徴により候補文字を決め、続いてこの候補文字
についてだけ各文字毎に記述された複数個の特徴のリス
ト(以下特徴リストと称す)に従って、基本特徴あるい
は入力パターンから特徴を抽出し、特徴リストを満足す
る候補文字を1つにいまるという手段が採用されるよう
になった。このような手段によって判定しなければ区別
が困難な例に○,D,ロの区別がある。
However, when the range of characters to be read is expanded to include alphabets, katakana, symbols, etc. in addition to numbers, the number of similar patterns in different categories further increases. In order to distinguish patterns that are similar to each other, it becomes necessary to extract special features for distinguishing only these similar patterns. To do this, we first extract relatively effective features (hereinafter referred to as basic features) for grasping the entire character to be discussed, determine candidate characters based on the extracted basic features, and then select only the candidate characters for this candidate character. A method is adopted in which features are extracted from basic features or input patterns according to a list of multiple features described for each character (hereinafter referred to as feature list), and candidate characters that satisfy the feature list are grouped into one. It started to be done. Examples of cases where it is difficult to distinguish without using such means include ○, D, and B.

第1図のような英字D(ディ)を読むには第2図のよう
な3つのパターンの区別が可能であることが前提となる
。第2図1は数字0(ゼロ)で、2は英字D(ディ)で
、3は片仮名oである。数字だけを読むOCRでは、こ
れら3種のどの形の場合も数字0と認識しても支障は無
かったが、数字、英字、片仮名を読むOCRではこれら
を正確に区別する必要がある。これらのパターンの区別
が可能になると、第1図のような入力パターンは基本特
徴では、分岐点、端点がないということで第2図のよう
な3つのパターンのいずれかであるとされ、候補文字、
0,D,ロが決定される。これら3つの候補文字にまで
いまられた後は、入力パターンの左方に丸みがないこと
で第2図1の字形でないことが分り、右方に丸みがある
ことで第2図3の字形でないことが分る。従って第1図
のパターンは第2図2の字形のDと分る。しかし従来文
字パターンに丸みがあるかないかを検出することは困難
で、安定な決定方法は無かった。本発明の目的は丸みが
あるかないかあるいは直線かどうかが相違点であるよう
な文字パターンを区別するのに有効な特徴を抽出する方
式を提供することにある。
In order to read the alphabetic character D (D) as shown in FIG. 1, it is a prerequisite that three patterns as shown in FIG. 2 can be distinguished. Figure 2 1 is the number 0 (zero), 2 is the alphabetic character D (di), and 3 is the katakana o. With OCR that only reads numbers, there is no problem in recognizing the number 0 in any of these three forms, but with OCR that reads numbers, alphabets, and katakana, it is necessary to accurately distinguish between these. Once it becomes possible to distinguish between these patterns, the input pattern shown in Figure 1 is considered to be one of the three patterns shown in Figure 2, since the basic feature is that there are no branch points or endpoints, and the input pattern shown in Figure 1 is considered to be one of the three patterns shown in Figure 2. letter,
0, D, and B are determined. After determining these three candidate characters, we can see that the input pattern does not have the shape shown in Figure 2-1 because there is no roundness on the left side, and that it does not have the character shape shown in Figure 2-3 because there is a roundness on the right side. I understand. Therefore, the pattern in FIG. 1 can be seen as a letter D in FIG. 2. However, conventionally it has been difficult to detect whether a character pattern is rounded or not, and there has been no stable method for determining this. An object of the present invention is to provide a method for extracting features that are effective for distinguishing character patterns whose difference is whether they are rounded or not, or whether they are straight.

本発明は1文字分の2値パターンを記憶するパターンメ
モリ、このパターンメモリの2値パターンからストロー
クの端点、分岐点、屈折点の特徴点の座標値及びストロ
ークを折れ線近似する複数個の方向値といった基本特徴
を抽出する基本特徴抽出手段、基本特徴抽出手段で得ら
れた座標値及び方向値をめる基本特徴抽出手段、各カテ
ゴリーの基本特徴で表した標準パターンを記憶する候補
決定用辞書、入力パターンからの基本特徴と候補決定用
辞書の各標準パターンの基本特徴とを比較して適合する
標準パターンの文字名を候補文字名とする候補決定手段
、候補文字名を記憶する候補文字名記憶手段、各文字に
判定するために必要な1個以上の特徴リストを記憶する
判定用辞書、候補文字名の特徴リストを判定用辞書より
取り出し、特徴リストの特徴を入力パタ−ンあるいは基
本特徴から抽出し特徴リスト中の特徴が全て抽出された
らその候補文字名を入力パターンの文字名と判定する判
定手段からなるOCRの、最後の構成要素たる判定手段
を、判定辞書から取り出された特徴リストの中の1つの
特徴として、前記パターンメモリをパターンメモリの端
の座標値より指定した方向値に従い順次読みだし最初に
検出されるパターン位置の座標値を求める交差点検出部
と、パターンメモリを2点の座標値からの中点の座標値
より指定方向値に従い順次読みだし最初に検出されるパ
ターン位置の座標値までの距離の値を求める到達検出部
と、到達検出部で得られた距離の値と指定された閥値と
の比較を行う検証部とを備え、特徴リストでの指定によ
り基本特徴である特徴点の座標値又は交差点検出部で得
られる座標値を到達検出部の2点の座標値とし得られる
距離の値を入力パターンの判定用特徴として検出するよ
うにしたものである。
The present invention provides a pattern memory that stores a binary pattern for one character, coordinate values of feature points of stroke end points, branch points, and bending points from the binary pattern of this pattern memory, and a plurality of direction values for approximating the stroke with a polygonal line. basic feature extraction means for extracting basic features such as; basic feature extraction means for storing coordinate values and direction values obtained by the basic feature extraction means; a dictionary for candidate determination that stores standard patterns expressed by the basic features of each category; Candidate determination means that compares the basic features from the input pattern with the basic features of each standard pattern in the dictionary for candidate determination and sets character names of matching standard patterns as candidate character names, and candidate character name storage that stores candidate character names. means, a judgment dictionary that stores one or more feature lists necessary for judging each character, extracts a feature list of candidate character names from the judgment dictionary, and extracts the features of the feature list from the input pattern or basic features. When all the features in the feature list have been extracted, the final component of OCR, which consists of a judgment means that judges the candidate character name as the character name of the input pattern, is used to extract the character name from the feature list extracted from the judgment dictionary. One of the features is an intersection detection unit that sequentially reads out the pattern memory according to the direction value specified from the coordinate value of the edge of the pattern memory and obtains the coordinate value of the first detected pattern position, and the pattern memory is divided into two points. An arrival detection section that reads out the coordinates of the midpoint from the coordinates in sequence according to the specified direction value and calculates the distance value to the coordinates of the first detected pattern position, and the distance value obtained by the arrival detection section. and a verification unit that compares with specified threshold values, and converts the coordinates of the feature points that are basic features or the coordinates obtained by the intersection detection unit to the coordinates of the two points of the arrival detection unit according to the specification in the feature list. The distance value obtained as the input pattern is detected as the determination feature of the input pattern.

次に本発明について図面を参照して説明しよつ。Next, the present invention will be explained with reference to the drawings.

第3図1は斜め走査を行うための走査の方向dl〜d8
を表わし、第3図2は前記方向dlの斜め走査を行う際
の走査線の順番を示し、SI,S2の順である。
FIG. 3 1 shows scanning directions dl to d8 for performing diagonal scanning.
FIG. 3 shows the order of scanning lines when performing diagonal scanning in the direction dl, which is the order of SI and S2.

他の方向(d2〜d8)も同機に走査線の順番はパター
ンメモリの中心に向ってである。方向dl〜d8の斜め
走査を行い初めて入力パターンに交差する交差点をPI
〜P8とする。第8図に例示されているように方向dl
とd7(又は方向d2とd8)の斜め走査で得られる2
つの交差点P1,P7(又はP2,P8)の中点を左方
向に水平走査して入力パターンに到達するまでの距離を
a、方向d3とd5(又は方向d4とd6)の斜め走査
で得られる2つの交差点P3,P5(又はP4,P6)
の中点を右方向に水平走査して入力パターンに到達する
までの距離をb,方向dlとd7(又は方向d2とd8
)の斜め走査で得られる2つの交差点P1,P7(又は
P2,P8)の中点を左方向及び右方向に水平走査して
入力パターンに到達するまでの短い方の距離をc、及び
に方向d3とd5(又は方向d4とd6)の斜め走査で
得られる2つの交差点P& P5(又はP4,P6)の
中点を左方向及び右方向に水平走査して入力パターンに
到達するまでの短い方の距離をeとすると、第2図1に
はa及びbが閥値tl以上のときに割り当てられ、第2
図2にはcが関値t沙〆下でかつbが閥値tl以上のと
きに割り当てられ、第2図3にはc及びeが閥値ta〆
下のときに割り当てられる。ここでtl>t2とする。
第4図は本発明のパターンの特徴抽出方式を実現するた
めの一実施例を示すブロック図である。10は1文字分
のパターンを記憶するためのパターンメモリでOCRの
光電変換や切り出し等の処理を経たパタ−ン情報が貯え
られる。
In the other directions (d2 to d8), the order of the scanning lines is the same toward the center of the pattern memory. Perform diagonal scanning in directions dl to d8 and PI the intersection that intersects the input pattern for the first time.
~P8. Direction dl as illustrated in FIG.
2 obtained by diagonal scanning of and d7 (or directions d2 and d8)
The distance to reach the input pattern by horizontally scanning the midpoint of the two intersections P1, P7 (or P2, P8) to the left is obtained by diagonally scanning in directions d3 and d5 (or directions d4 and d6). Two intersections P3, P5 (or P4, P6)
The distance to reach the input pattern by horizontally scanning the midpoint in the right direction is b, directions dl and d7 (or directions d2 and d8).
) horizontally scan the midpoint of the two intersections P1, P7 (or P2, P8) obtained by diagonal scanning in the left and right directions, and calculate the shorter distance until reaching the input pattern in the direction c and Horizontally scan the midpoint of the two intersections P & P5 (or P4, P6) obtained by diagonal scanning of d3 and d5 (or directions d4 and d6) to the left and right to reach the input pattern, whichever is shorter. If the distance is e, then in FIG.
In FIG. 2, c is assigned when the threshold value tsa is below and b is greater than or equal to the threshold value tl, and in FIG. 2, c and e are assigned when the threshold value is below ta. Here, it is assumed that tl>t2.
FIG. 4 is a block diagram showing an embodiment for realizing the pattern feature extraction method of the present invention. Reference numeral 10 denotes a pattern memory for storing a pattern for one character, in which pattern information that has undergone processing such as OCR photoelectric conversion and cutting is stored.

基本特徴抽出手段11はパターンメモリ10に記憶され
ている文字パターンから端点、分岐点、屈折点の座標値
やストロークを折れ線近似する方向値の基本特徴を抽出
し基本特徴レジスタ12に記憶する。特徴抽出の方法に
ついては、例えば第7図1のような文字パターンから第
7図2に示すように端点T、分岐点B、屈折点K、2,
3,5等の数字で示されるストロ−クの方向値(矢印で
示してある)が検出され検出順に狐由紐IBのような記
号列とされる。第7図3はストロークの方向値と数字0
,1,2,・・・・・・7の対応関係を示している。こ
の基本特徴は全ての文字に共通して用いることが出来る
ような特徴なので後の処理において不要になるようなも
のはほとんどない。従って基本特徴抽出手段11では、
全ての入力文字に対して一様な特徴を抽出している。基
本特徴が抽出されると、コントロールは候補文字決定手
段14にわたり、基本特徴レジスタ12に記憶された基
本特徴と、候補決定用辞書13に記憶されている標準パ
ターンとが照合される。この標準パターンは例えばァ:
12洲(4歌)4$2$(01K)01Bのような形を
しており、この形式において最初のアはこの標準パター
ンの文字名を示し、K,B,数字(0〜7)は第7図2
と同様に、屈折点、分岐点名及びストロークの方向値を
示し、特に12靴の数字123は方向値1,2,3のい
ずれかを示し、その後のKは屈折点のあることを示して
いる。
Basic feature extraction means 11 extracts basic features such as coordinate values of end points, branch points, and inflection points and direction values that approximate a stroke to a polygonal line from the character pattern stored in pattern memory 10, and stores them in basic feature register 12. Regarding the method of feature extraction, for example, from a character pattern as shown in FIG. 71, as shown in FIG.
Stroke direction values (indicated by arrows) indicated by numbers such as 3, 5, etc. are detected and set as a symbol string such as Fox Yuhimo IB in the order of detection. Figure 7 3 shows the stroke direction value and the number 0
, 1, 2, . . . 7. Since these basic features can be used in common for all characters, there is almost no need for them in later processing. Therefore, in the basic feature extraction means 11,
Uniform features are extracted for all input characters. Once the basic features are extracted, control passes to the candidate character determining means 14, where the basic features stored in the basic feature register 12 are compared with standard patterns stored in the candidate determining dictionary 13. This standard pattern is for example:
It has a shape like 12 Zu (4 songs) 4 $ 2 $ (01 K) 01 B, and in this format, the first A indicates the letter name of this standard pattern, and the K, B, and numbers (0 to 7) are Figure 7 2
Similarly, it shows the inflection point, branch point name, and direction value of the stroke. In particular, the number 123 in 12 shoes indicates one of the direction values 1, 2, or 3, and the K after it indicates that there is an inflection point. .

また( )内部の部分はあってもなくても良し、ストロ
ークを示している。この形式のような標準パターンには
、第7図2のような基本特徴2K粥箱IBは含まれいる
ので、この標準パターンの文字名アは候補文字となる。
Also, the part inside parentheses ( ) may or may not be present and indicates a stroke. Since a standard pattern such as this format includes the basic feature 2K porridge box IB as shown in FIG. 72, the character name A of this standard pattern becomes a candidate character.

なお候補決定用辞書13には認識対象とする文字毎に1
つあるいは複数個の標準パターンを含ませてある。候補
決定手段14は候補決定用辞書13の標準パターンとの
照合を行い、レジスタ12内の基本特徴の含まれる標準
/ぐ0ターンの文字名が候補文字名レジスター5に記憶
される。このレジスタ15には、1個以上の候補文字が
セットされることもあるし、全く無い場合もある。基本
特徴により候補文字名が決定されると、判定手段17に
コントロールが移る。判定手タ段17においては、候補
文字名レジスター5に記憶された候補文字名が無い場合
は読取不能を示す信号と、出力レジスタ19に出力する
が、候補文字が1個以上の場合は、その文字名をキーと
して判定用辞書18の内容を索引し、そこから読み出さ
れた特徴リストに従って必要な特徴をパターンメモリー
0や基本特徴レジスタ12から抽出し、特徴リストを満
足する文字名を入力文字名として出力レジスター9に出
力する。判定用辞書18の各項目は特徴の種類とパラメ
ータを表現しており、複数個の特徴すべてが満足される
必要のある時には、まとめてリストにされている。たと
えば第7図1のようなカタカナの“ア”の特徴リストに
は王にマと区別するに必要な特徴X,B1,T3,5 が指定されている。
Note that the candidate determination dictionary 13 contains one character per character to be recognized.
Contains one or more standard patterns. The candidate determining means 14 performs a comparison with the standard pattern in the candidate determining dictionary 13, and the standard /g0 turn character name containing the basic feature in the register 12 is stored in the candidate character name register 5. In this register 15, one or more candidate characters may be set, or there may be none at all. Once the candidate character name is determined based on the basic characteristics, control is transferred to the determining means 17. In the determination means 17, if there is no candidate character name stored in the candidate character name register 5, a signal indicating unreadability is output to the output register 19, but if there is one or more candidate characters, the signal is output to the output register 19. The content of the judgment dictionary 18 is indexed using the character name as a key, the necessary features are extracted from the pattern memory 0 and the basic feature register 12 according to the feature list read therefrom, and the character name that satisfies the feature list is entered as an input character. It is output to output register 9 as the name. Each item in the judgment dictionary 18 expresses the type and parameter of a feature, and when all of a plurality of features need to be satisfied, they are listed together. For example, in the feature list for the katakana character "a" as shown in FIG.

これは×という特徴を使った例で、分岐点BIの×座標
が端点T3の×座標より5ビット以上右にあれば、アと
なるための1つの特徴を満足することを示している。こ
のような特徴は1文字に対して1個あるいは複数個まと
められて特徴リストとして用意されており、1個ならば
それだけでも満足されたら判定して良く、複数個の時に
はリスト上の特徴すべてが満足されることを意味してい
る。この場合基本特徴間のX座標間の関係を特徴として
用いたものであるが、基本特徴では抽出されない特徴を
、入力パターンから改めて抽出する特徴抽出方式も必要
である。その1つが本発明である。第5図は本発明のパ
ターンの特徴抽出方式における判定手段17の具体的な
一実施例示したブロック図である。判定手段17には判
定制御回路20の制御のもとにいくつかの特徴抽出手段
40,50,・・・・・・60が含まれ、本発明はこれ
ら複数個の特徴抽出手段のうちの1つの手段40である
ことを示している。なお第4図と共通部分の一部は図示
を省略する。候補文字名レジスタ15にセットされた得
補文字に対応した特徴リストが判定制御回路20‘こよ
って解読され、特徴リストの1つとして特徴Rすなわち
R,m,n,c,t,r〔但しm=Pi(i=1〜8)
.n=Pj(i=1〜8)又はm,nは分岐点、端点〕
が選ばれた時、m=Pi,n=Piであると斜め走査の
方向を決めるパラメータとしてiがレジスタ21に、斜
め走査の方向を決めるパラメータとしてiがレジスタ2
2に、指定された2点の中点からの走査方向を決めるパ
ラメータとしてcがレジスタ31に、前記中点の座標値
から走査して入力パターンに到達するまでの距離の値と
比較するための関値パラメータtがレジスタ3川こ、及
びに大小関係を示すパラメータrがレジスタ32にセッ
トされる。
This is an example using the feature x, and shows that if the x coordinate of the branch point BI is 5 bits or more to the right of the x coordinate of the end point T3, one feature for becoming A is satisfied. One or more of these features are grouped together as a feature list for each character, and if there is only one feature, the judgment can be made if it is satisfied, but if there are multiple features, all the features on the list are It means being satisfied. In this case, the relationship between the X coordinates of the basic features is used as a feature, but a feature extraction method is also required to extract features that are not extracted using the basic features from the input pattern. One of them is the present invention. FIG. 5 is a block diagram showing a specific embodiment of the determining means 17 in the pattern feature extraction method of the present invention. The determination means 17 includes several feature extraction means 40, 50, . It shows that there are two means 40. Note that some parts common to FIG. 4 are omitted from illustration. The feature list corresponding to the obtained complementary character set in the candidate character name register 15 is decoded by the determination control circuit 20', and the feature R, that is, R, m, n, c, t, r [however, m=Pi (i=1-8)
.. n = Pj (i = 1 to 8) or m, n are branch points, end points]
is selected, if m=Pi, n=Pi, i is stored in register 21 as a parameter that determines the direction of diagonal scanning, and i is stored in register 2 as a parameter that determines the direction of diagonal scanning.
2, c is stored in the register 31 as a parameter that determines the scanning direction from the midpoint of the two designated points, and is used to compare with the value of the distance from the coordinates of the midpoint to the input pattern. A function value parameter t is set in register 3, and a parameter r indicating a magnitude relationship is set in register 32.

交差点検出手段23と24は、レジスタ21と22にセ
ットされた斜め走査の方向を決めるパラメータによりパ
ターンメモリー0を走査して最初に入力パターンと交差
する点を検出しその座標値をレジスタ25としジスタ2
6にセットする。
The intersection detection means 23 and 24 scan the pattern memory 0 according to the parameters that determine the diagonal scanning direction set in the registers 21 and 22, first detect a point that intersects with the input pattern, and store the coordinate value in the register 25. 2
Set to 6.

到達検出手段27は指定された点の座標値がセットされ
たレジスタ25と26の値より中点の座標値を求め、パ
ターンメモリ10においてレジスタ31にセットされた
方向に走査して入力パターンに到達するまでの中点から
の距離の値をレジスタ28にセットする。検証手段29
はしジスタ28にセットされる値がレジスタ30にセッ
トされた閥値tとしジスタ32にセットされた大小関係
rを満足するなら“1”を、しなければ“0”を判定制
御回路2川こ出力する。特徴Rのパラメータをc=1な
ら左走査、c;2なら右走査、c=3なら左右走査、c
=4なら上走査、cコ5なら下走査、c=6なら上下走
査、r=1なら以上、r:2なら以下とすると第2図各
々を判定のためのIJストは、例えば第2図1に対して
は0:R,P1,P7,1,tl,I R,P3,P5,2,tl,1 または 0:R,P2.P& 1,tl,I R,P4,P6 2,tl,1 第2図2に対しては D:R,P1,P7,3,t2,2 R,P3,P5,2,tl,1 または D:R,P2,P8,3,【2,2 R,P4,P0 2,tl,1 0第2図3に対しては ロ:R,PI,P7,3,t2,2 R,P3,P5,3,t2,2 または ロ:R,P2,P& 3,t2,2 タ R,P4,P6,3,t2,2となる。
The arrival detection means 27 obtains the coordinate value of the midpoint from the values of the registers 25 and 26 in which the coordinate value of the designated point is set, and scans the pattern memory 10 in the direction set in the register 31 to reach the input pattern. The value of the distance from the midpoint until the end is set in the register 28. Verification means 29
If the value set in the register 28 satisfies the threshold value t set in the register 30 and the magnitude relationship r set in the register 32, the control circuit 2 determines "1", otherwise it determines "0". Output this. If the parameter of feature R is c = 1, scan left, c; 2, scan right, if c = 3, scan left and right, c
=4 means upper scan, c=5 means lower scan, c=6 means upper and lower scans, r=1 means more than that, and r:2 means less than that. 1, 0:R, P1, P7, 1, tl, I R, P3, P5, 2, tl, 1 or 0: R, P2. P& 1, tl, I R, P4, P6 2, tl, 1 D for Figure 2 2: R, P1, P7, 3, t2, 2 R, P3, P5, 2, tl, 1 or D :R, P2, P8, 3, [2,2 R, P4, P0 2, tl, 1 0 For Figure 2 3: R, PI, P7, 3, t2, 2 R, P3, P5 , 3, t2, 2 or B: R, P2, P& 3, t2, 2 Ta R, P4, P6, 3, t2, 2.

ここでは特徴リストは各々2つの特徴で記述され両方の
特徴を満足したとき、入力文字名として特徴リストにつ
いたカテゴリー名を与える。0 第5図においてm又は
nに端点又は分岐点の指定がなされていたら斜め走査に
よらず直接端点又は分岐点の座標値をレジスタ25又は
26にセットして上記と同じ機能をもたすこともできる
Here, each feature list is described by two features, and when both features are satisfied, the category name attached to the feature list is given as an input character name. 0 In Fig. 5, if an end point or a branch point is specified for m or n, the coordinate value of the end point or branch point can be directly set in the register 25 or 26 without using diagonal scanning to provide the same function as above. You can also do it.

たとえば第6図のパターンにおいて方向値d3の斜夕め
走査で得られる点P3と分岐点BIの中点の座標値から
右方向に水平走査して距離bが関値t3以上であれば第
6図2、閥値り以下であれば第6図1として判定するこ
とができる。第6図判定のための特徴Rは次の様になる
。0 1:R,P3 B1,2,t4,22:R,
P3,B1,2,t3,1また以上の説明では、入力パ
ターンは走査された2値パターンとしたが、太さの影響
を除くために細線化されたパターンに置きかえることは
大きなタ意義がある。
For example, in the pattern of FIG. 6, horizontal scanning is performed in the right direction from the coordinate value of the midpoint between point P3 obtained by diagonal scanning with direction value d3 and branch point BI, and if distance b is greater than or equal to function value t3, the 6th In FIG. 2, if it is below the cutoff value, it can be determined as FIG. 61. The feature R for determination in FIG. 6 is as follows. 0 1:R, P3 B1, 2, t4, 22: R,
P3, B1, 2, t3, 1 In the above explanation, the input pattern was a scanned binary pattern, but it is of great significance to replace it with a thinned pattern in order to eliminate the influence of the thickness. .

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

第1図は認識した入力文字の1つを示す図、第2図、第
6図は本発明を適用することによって区別出来るパター
ンの例を示す図、第3図は斜め走0査に関する図、第4
図は本発明のパターンの特徴抽出方式を実現するための
一実施例を示すブロック図、第5図は判定手段17の一
実施例示すブロック図、第7図は基本特徴を説明する図
、第8図は斜め走査で得られる2つの交差点の中点およ
び水平方向走査を説明する図である。 図において、1川まパターンメモリ、11は基本特徴抽
出手段、12は基本特徴レジスタ、13は候補決定用辞
書、14は候補決定手段、15は候補文字名レジスタ、
17は判定手段、18は判定用辞書、19は出力レジス
タ、20は判定制御回路、23,24は交差点検出手段
、27は到達検出手段、29は検証手段である。 オー図 オ2図 才3図 オ4図 オ6図 オ5図 オ7図 オ8図
FIG. 1 is a diagram showing one of the recognized input characters, FIGS. 2 and 6 are diagrams showing examples of patterns that can be distinguished by applying the present invention, and FIG. 3 is a diagram related to diagonal zero scanning. Fourth
5 is a block diagram showing an embodiment of the pattern feature extraction method of the present invention, FIG. 5 is a block diagram showing an embodiment of the determination means 17, FIG. 7 is a diagram explaining basic features, FIG. 8 is a diagram illustrating the midpoint of two intersections obtained by diagonal scanning and horizontal scanning. In the figure, 1 is a pattern memory, 11 is a basic feature extraction means, 12 is a basic feature register, 13 is a dictionary for candidate determination, 14 is a candidate determination means, 15 is a candidate character name register,
17 is a determination means, 18 is a dictionary for determination, 19 is an output register, 20 is a determination control circuit, 23 and 24 are intersection detection means, 27 is an arrival detection means, and 29 is a verification means. Figure O Figure O 2 Figure Age 3 Figure O 4 Figure O 6 Figure O 5 Figure O 7 Figure O 8

Claims (1)

【特許請求の範囲】[Claims] 1 入力パターンを記憶するパターン記憶手段と、前記
パターン記憶手段からのパターンが持つ複数種類の特徴
点を座標値及びストロークを折れ線近似する複数個の方
向値を求める基本特徴抽出手段と、基本特徴抽出手段で
得られる座標値及び方向値を記憶する基本特徴記憶手段
と各カテゴリーの基本特徴で表わした標準パターンを記
憶した候補決定用辞書と、前記基本特徴記憶手段に記憶
された入力パターンからの基本特徴と前記候補決定用辞
書の各標準パターンの基本特徴とを比較して適合する標
準パターンの文字名を候補文字名とする候補決定手段と
、候補文字名を記憶する候補文字名記憶手段と、各文字
に判定するために必要な1個以上の特徴リストを記憶す
る判定用辞書と、前記判定用辞書の特徴リストにより前
記候補文字名記憶手段から入力パターンの文字名を決定
する判定手段と、判定手段で決定される入力パターンの
文字名を記憶する出力記憶手段とを備え、特徴リストで
指定した特徴は前記基本特徴及び入力パターンから抽出
するようにした文字認識方式において、前記判定手段は
前記パターン記憶手段をパターン記憶領域の端の座標値
より特徴リストで指定された方向値に従い順次読みだし
最初に検出されるパターン位置の座標値を求める交差点
検出部と、前記パターン記憶手段を2点の座標値より得
られる中点の座標値より指定の方向値に従い順次読みだ
し最初に検出されるパターン位置の座標値までの距離の
値を求める到達検出部と、前記到達検出部で得られた距
離の値と指定された値との比較を行う検証部とを備え特
徴リストでの指定による前記基本特徴記憶手段の特徴点
の座標値又は前記交差点検出部で得られる座標値を前記
到達検出部における2点の座標値とし得られる距離の値
を入力パターンの判定用特徴として検出するようにした
パターンの特徴抽出方式。
1. A pattern storage means for storing an input pattern, a basic feature extraction means for obtaining coordinate values of a plurality of types of feature points of a pattern from the pattern storage means and a plurality of direction values for approximating a stroke with a polygonal line, and a basic feature extraction means. basic feature storage means for storing coordinate values and direction values obtained by the basic feature storage means; a dictionary for candidate determination storing standard patterns expressed by the basic features of each category; Candidate determining means that compares the features with the basic features of each standard pattern of the candidate determining dictionary and sets character names of compatible standard patterns as candidate character names; Candidate character name storage means that stores candidate character names; a determination dictionary that stores one or more feature lists necessary for determining each character; and determination means that determines character names of the input pattern from the candidate character name storage means based on the feature list of the determination dictionary; an output storage means for storing character names of the input pattern determined by the determination means, and the characteristics specified in the feature list are extracted from the basic features and the input pattern, An intersection detecting section reads the pattern storage means sequentially from the coordinate values of the edges of the pattern storage area according to the direction values specified in the feature list and calculates the coordinate values of the first detected pattern position; an arrival detection section that reads out the coordinate values of the midpoint obtained from the coordinate values in sequence according to specified direction values and calculates the distance value to the coordinate values of the first detected pattern position; and the distance obtained by the arrival detection section. and a verification unit that compares the value of A pattern feature extraction method in which a distance value obtained as the coordinate values of two points is detected as a determination feature of an input pattern.
JP52116314A 1977-09-27 1977-09-27 Pattern feature extraction method Expired JPS6022792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52116314A JPS6022792B2 (en) 1977-09-27 1977-09-27 Pattern feature extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52116314A JPS6022792B2 (en) 1977-09-27 1977-09-27 Pattern feature extraction method

Publications (2)

Publication Number Publication Date
JPS5449035A JPS5449035A (en) 1979-04-18
JPS6022792B2 true JPS6022792B2 (en) 1985-06-04

Family

ID=14683920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52116314A Expired JPS6022792B2 (en) 1977-09-27 1977-09-27 Pattern feature extraction method

Country Status (1)

Country Link
JP (1) JPS6022792B2 (en)

Also Published As

Publication number Publication date
JPS5449035A (en) 1979-04-18

Similar Documents

Publication Publication Date Title
JP3246432B2 (en) Address reader and mail sorting machine
JP2000293626A (en) Method and device for recognizing character and storage medium
JPS6022792B2 (en) Pattern feature extraction method
JPH0350692A (en) Character recognizing device
JPH0458073B2 (en)
JP2894111B2 (en) Comprehensive judgment method of recognition result in optical type character recognition device
JPH07271920A (en) Character recognition device
JP4648084B2 (en) Symbol recognition method and apparatus
JPH0580710B2 (en)
JPS6046753B2 (en) Pattern feature extraction method
JP2851865B2 (en) Character recognition device
JPS6015994B2 (en) Pattern feature extraction method
JPH11312219A (en) Address reading device, mail sorting machine, and character string recognition method
JPS6125284A (en) Character recognizing device
JPH1091836A (en) Device for identifying coin
JP2972443B2 (en) Character recognition device
JP3572203B2 (en) Pattern identification method
JP2973898B2 (en) Character recognition method and device
JPS6316794B2 (en)
JPH10174935A (en) Address reading device and character information reading device
JP2000288478A (en) Destination identification device
JP2002150263A (en) Dictionary compilation device and method, and computer readable record medium recording program for allowing computer to execute the method
JPH04260980A (en) Device for recognizing graphic
JPH0420506B2 (en)
JPH04313167A (en) Location confirmation system for characteristic point of picture