JPS6046753B2 - Pattern feature extraction method - Google Patents

Pattern feature extraction method

Info

Publication number
JPS6046753B2
JPS6046753B2 JP52150237A JP15023777A JPS6046753B2 JP S6046753 B2 JPS6046753 B2 JP S6046753B2 JP 52150237 A JP52150237 A JP 52150237A JP 15023777 A JP15023777 A JP 15023777A JP S6046753 B2 JPS6046753 B2 JP S6046753B2
Authority
JP
Japan
Prior art keywords
pattern
register
branch point
feature
value
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
JP52150237A
Other languages
Japanese (ja)
Other versions
JPS5481730A (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 JP52150237A priority Critical patent/JPS6046753B2/en
Publication of JPS5481730A publication Critical patent/JPS5481730A/en
Publication of JPS6046753B2 publication Critical patent/JPS6046753B2/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 reading device (hereinafter referred to as OCR), and particularly to a method for extracting features that distinguish between concavities and straightness of a character line connected to a branch point.

紙上に書かれた文字を認識する場合、一般的に光学的
に走査し、文字を゛゛1’’、紙の白部を’’o’’と
いうように2値パターンに量子化し、1文字づつ分離し
てから、雑音除去、細線化等の前処理を経て、特徴抽出
部、判定部を通るといつた順序で行われている。
When recognizing characters written on paper, it is generally optically scanned and quantized into a binary pattern such as ``1'' for the characters and ``o'' for the white part of the paper. After separation, the signals undergo preprocessing such as noise removal and thinning, and then pass through a feature extraction section and a determination section.

特徴抽出部では、通常、線の端点、分岐点、屈折点凹部
、凸部等を特徴として抽出し、判定部ではこれらの特徴
の存否あるいは量によつて入力された文字を判定するよ
うにな つている。この特徴抽出に関しては様々な特徴
抽出方法が提案され実用化されてきた。ところが読取り
対象文字を数字の他に英字、カタカナと拡げ ると、異
なつたカテゴリーで類似したパターンが増加する。互に
類似したパターンを区別するには殆んどこれらの類似パ
ターン同志だけを区別するための特殊な特徴を抽出する
必要が生れる。そのために最初に読取り対象文字全体を
識別するために比較的有効な特徴(以下基本特徴と称す
)を抽出し、抽出された基本特徴により候補文字を決め
、続いてこの候補文字についてだけ各文字毎に記述され
た複数個の特徴のリスト (以下基本リス トと称す)
に従つて、基本特徴あるいは入力パターンから特徴を抽
出し、特徴リストを満足する候補文字を1つにしぼると
いう手段が採用されるよ うになつた。 上記の手段に
より判定しなければ区別が困難な例に8、Bの区別があ
る。
The feature extraction section usually extracts line end points, branch points, bending points, depressions, convexities, etc. as features, and the judgment section judges input characters based on the presence or absence or quantity of these features. It's on. Regarding this feature extraction, various feature extraction methods have been proposed and put into practical use. However, when the number of characters to be read is expanded to include alphabets and katakana in addition to numbers, similar patterns in different categories increase. 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 features that are relatively effective for identifying the entire character to be read (hereinafter referred to as basic features), determine candidate characters based on the extracted basic features, and then A list of multiple characteristics described in (hereinafter referred to as the basic list)
Accordingly, a method of extracting features from basic features or input patterns and narrowing down to one candidate character that satisfies the feature list has been adopted. An example of the distinction that is difficult to make unless determined by the above means is the distinction 8.B.

第1図1のような数字8を読むには、第1図1と2の区
別が可能である鼻ことが前提となる。第1図2は、英字
のBである。数字だけを読むOCRでは、1、2とも数
字8と認識しても支障は無いが、英字数字を読むOCR
では正確に区別する必要がある。第1図1のパターンは
基本特徴では端点がなく、分岐点が・2個ということで
1、2がいずれかのパターンであるとされ候補文字8、
Bが決定され、2つの候補文字にしぼられた後は、パタ
ーンの左側にあるへこみが大きいことで1であることが
分り、小さいことであるが2であることが分る。しかし
従来文字パターンにどの程度のへこみがあるか検出する
ことは困難で、簡単な決定方法は無かつた。本発明の目
的は分岐点附近におけるへこみの大小が相違点であるよ
うな文字パターンを区別するのに有効な特徴を抽出する
方式を提供することにある。本発明は1文字分の2値パ
ターンを細線化して記憶するパターンメモリ、このパタ
ーンメモリのパターンからストロークの端点、分岐点、
ストロークの方向といつた基本特徴を抽出する基本特徴
抽出手段、基本特徴と類似の形式をした多数の標準パタ
ーンを記憶する候補決定用辞書、標準パターンと入力文
字の基本特徴とを照合して適合する標準パターンの文字
名を候補文字名として取り出すための候補決定手段、各
文字に認識するために必要な1個以上の特徴リストを記
憶する判定用辞書、候補文字名の特徴リストを判定用辞
書より取り出し特徴リストの特徴を入力パターンあるい
は基本特徴から抽出し、特徴リスト中の特徴が全て抽出
されたらその候補文字名を入力パターンの文字名と判定
する判定手段からなる0CRの最後の構成要素たる判定
手段を、判定辞書から取り出された特徴リストの中の1
つの特徴として、入力パターン内の上、下、左、右のう
ちの一つの方向を指定し指定方向にある分岐点と、入力
パターンを含む平行四辺形の1つの辺を抽出する手段と
、前記分岐点から前記方向と垂直方向に指定の距離だけ
両側に離れた位置を前記辺上に求める手段と、前記辺上
に求められた前記各位置から走査して細.線化パターン
に初めて交差するまての2つの距離を検出する手段と、
前記手段により得られた2つの距離と前記辺から前記分
岐点までの距離との長さ関係を検証する手段とを、特徴
抽出手段として含むようにしたものである。
In order to read the number 8 as shown in Figure 1, it is prerequisite that you have a nose that can distinguish between Figures 1 and 2 in Figure 1. FIG. 12 shows the alphabetic letter B. With OCR that only reads numbers, there is no problem even if both 1 and 2 are recognized as the number 8, but with OCR that reads alphanumeric characters
We need to make a precise distinction. The basic feature of the pattern shown in Figure 1 is that there are no endpoints and there are two branching points, so it is assumed that either pattern 1 or 2 is the candidate character 8,
After B is determined and narrowed down to two candidate characters, the large indentation on the left side of the pattern indicates that it is 1, and the small indentation indicates that it is 2. However, conventionally it has been difficult to detect the extent of the indentation in a character pattern, and there is no easy method for determining this. SUMMARY OF THE INVENTION An object of the present invention is to provide a method for extracting features that are effective for distinguishing character patterns in which the difference is the size of a depression near a branch point. The present invention provides a pattern memory that thins and stores a binary pattern for one character, and a stroke end point, branch point, etc. from the pattern of this pattern memory.
A basic feature extraction means that extracts basic features such as the direction of the stroke, a dictionary for determining candidates that stores a large number of standard patterns with similar formats to the basic features, and a matching method that matches the standard patterns with the basic features of input characters. candidate determining means for extracting character names of a standard pattern as candidate character names; a judgment dictionary that stores one or more feature lists necessary for recognizing each character; and a judgment dictionary that stores the feature list of candidate character names. The last component of 0CR consists of a determination means that extracts the features of the extracted feature list from the input pattern or basic features, and when all the features in the feature list are extracted, determines the candidate character name as the character name of the input pattern. The determination means is selected from the feature list extracted from the determination dictionary.
One feature is a means for specifying one of the upper, lower, left, and right directions in the input pattern and extracting a branch point in the specified direction and one side of the parallelogram including the input pattern; means for determining, on the side, positions spaced from the branch point by a specified distance on both sides in a direction perpendicular to the direction; means for detecting two distances before intersecting the linear pattern for the first time;
The feature extraction means includes means for verifying the length relationship between the two distances obtained by the means and the distance from the side to the branch point.

第2図の1〜4は分岐点抽出と、走査の出発点となる辺
決定のための方向を示し、たとえば方向4を指定すると
第3図のように最左端にある分岐点が選ばれ、走査の出
発点は細線化パターンをかこむ四辺形の左辺100上と
なる。
1 to 4 in FIG. 2 indicate the directions for extracting branch points and determining the edge that is the starting point of scanning. For example, if direction 4 is specified, the leftmost branch point is selected as shown in FIG. The starting point of scanning is on the left side 100 of the quadrilateral surrounding the thinning pattern.

方向1〜3も同・様である。特徴抽出の方法としては、
第3図に示すように方向4と、分岐点のうちで4の方向
において最大の座標値をとる分岐点から前記方向4と直
交する2つの方向すなわち、1と3の両方向への距離d
を指定することにより、分岐点Bl,B2のうちで左側
にある分岐点B1が選ばれ、分岐点B1の座標値と距離
dにより走査の出発点a1とA2が左辺上に決まり、走
査の出発点a1とA2より水平すなわち、前記の指定さ
れた方向に対して平行に走査して初めて細線化パターン
に交差するまでの距離11,12を求め、左辺上から前
記分岐点B1までの距離10,と前記距離11,12と
からへこみの程度を表わす特徴値1を求める。 −ー
Q ′)10\&1I12ノ 第8図は分岐点の周囲状態と特徴値との関係を説明する
図であり、同図aは分岐点Bの周囲が直線のときであり
、同図B,cは分岐点Bの周囲が基準線位置10より右
方向にみてへこんでいるときである。
The same applies to directions 1 to 3. As a method of feature extraction,
As shown in FIG. 3, distance d in direction 4 and two directions orthogonal to direction 4, that is, both directions 1 and 3, from the branch point that takes the maximum coordinate value in direction 4 among the branch points.
By specifying, the branch point B1 on the left side is selected from among the branch points Bl and B2, and the starting points a1 and A2 of the scan are determined on the left side by the coordinate values of the branch point B1 and the distance d, and the starting point of the scan is Scan horizontally from points a1 and A2, that is, parallel to the specified direction, and find the distances 11 and 12 until they intersect the thinning pattern for the first time, and calculate the distances 10 and 12 from the top of the left side to the branch point B1. and the distances 11 and 12, a feature value 1 representing the degree of the dent is determined. -Q') 10\&1I12No Figure 8 is a diagram explaining the relationship between the surrounding state of a branch point and the feature value. , c are when the area around the branch point B is concave when viewed from the reference line position 10 to the right.

距離1。,11,12には次のような値の大小関係があ
る。同図aにおいては、 同図B,cにおいては 従つて前述の特徴値1は、分岐点の周囲が直線に近い状
態であればOに近い値であり、へこんだ状態であると正
の値となる。
Distance 1. , 11, and 12 have the following value relationship. In Figure A, in Figures B and C, the above-mentioned characteristic value 1 is a value close to O if the area around the branch point is close to a straight line, and is a positive value if it is in a concave condition. becomes.

また容易にわかるように、よりへこんだ状態になると、
前述の距離の大小関係では左辺の値と右辺の値との差が
大きくなるので、特徴値は大きな正の値となる。前記特
徴値1を使うと第1図1はlが閾値t1(例えば6)以
上のとき割り当てられ、第1図2はlが、値T2(例え
ば4)以下のとき割り当てられる。
Also, as you can easily see, the more depressed the
In the distance relationship described above, the difference between the value on the left side and the value on the right side becomes large, so the feature value becomes a large positive value. Using the feature value 1, in FIG. 1 1 is assigned when l is greater than or equal to the threshold t1 (for example, 6), and in FIG. 1 2 is assigned when l is less than or equal to the value T2 (for example, 4).

ここでt1〉T2である。第4図は本発明のパターンの
特徴抽出方式を用いた0CR装置の一実施例を示すブロ
ック図である。
Here, t1>T2. FIG. 4 is a block diagram showing an embodiment of an OCR device using the pattern feature extraction method of the present invention.

10は1文字分のパターンを記憶するためのパターンメ
モリて0CRの光電変換や切り出し等の処理を経たパタ
ーンが細線化処理されて貯えられる。
Reference numeral 10 denotes a pattern memory for storing one character's worth of patterns, in which patterns that have undergone processing such as OCR photoelectric conversion and cutting are thinned and stored.

基本特徴抽出手段11はパターンメモリ10に記憶され
ている文字パターンから満点、分岐点、屈折点、ストロ
ークの方向等の基本特徴を抽出し、基本特徴レジスタ1
2に記憶する。ここで得られる基本特徴は全ての文字に
共通して用いることが出来る特徴で後の処理において不
要になるものはほんどないので、基本特徴抽出手段11
では全ての入力文字に対して一様な特徴を抽出している
。基本特徴が抽出されると、制御は候補文字決定手段1
4にわたり、、基本特徴レジスタ12に記憶された基本
特徴と候補決定用辞書13に記憶されている標準パター
ンとが照合される。ここで候補決定用辞書13には認識
対象とする文字毎に1つあるいは複数個の標準パターン
が用意されている。候補決定手段14は候補決定用辞書
13の標準パターンとの照合を行い、前記レジスタ12
内の基本特徴の含まれる標準パターンの文字名が候補文
字名レジスタ15に記憶される。このレジスタ15には
、1個以上の候補文字名がセットされることもあるし、
成く無い場合もある。基本特徴により候補文字名が決定
されると、候補文字決定手段14からの制御受渡し信号
により判定手段17に制御が移る。判定手段17におい
ては候補文字名レジスタ15に記憶された候補文字が無
い場合は読取不能を示す信号を、出力レジスタ19に出
力するが、候補文字が1個以上の場合は、その文字名を
キーとして判定用辞書18の内容を索引し、そこから取
り出された特徴リストに従つて必要な特徴をパターンメ
モリ10や基本特徴レジスタ12から抽出し、特徴リス
トを満足する文字名を入力文字名として出力レジスタ1
9に出力する。判定用辞書18の各項目は特徴の種類と
パラメータを表現しており、複数個の特徴のすべてが満
足される必要のある時にはまとめてリストされている。
The basic feature extraction means 11 extracts basic features such as full marks, branching points, inflection points, and stroke directions from the character pattern stored in the pattern memory 10, and
Store in 2. The basic features obtained here are features that can be commonly used for all characters, and there are few that will be unnecessary in later processing, so the basic feature extraction means 11
In this method, uniform features are extracted for all input characters. When the basic features are extracted, the control is started by the candidate character determining means 1.
4, the basic features stored in the basic feature register 12 are compared with the standard patterns stored in the candidate determination dictionary 13. Here, one or more standard patterns are prepared in the candidate determination dictionary 13 for each character to be recognized. The candidate determining means 14 performs a comparison with the standard pattern of the candidate determining dictionary 13, and the register 12
The character names of standard patterns that include the basic features in the candidate character name register 15 are stored in the candidate character name register 15. In this register 15, one or more candidate character names may be set,
Sometimes it doesn't work out. Once the candidate character name is determined based on the basic characteristics, control is transferred to the determining means 17 in response to a control transfer signal from the candidate character determining means 14. In the determination means 17, if there is no candidate character stored in the candidate character name register 15, a signal indicating that it is unreadable is output to the output register 19, but if there is one or more candidate characters, the character name is output to the keypad. The contents of the judgment dictionary 18 are indexed as , the necessary features are extracted from the pattern memory 10 and the basic feature register 12 according to the feature list taken out from there, and character names that satisfy the feature list are output as input character names. register 1
Output to 9. 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.

使う特徴として基本特徴から抽出できないときには、パ
ターンから改めて抽出する特徴抽出方式も必要である。
その1つが本発明である。第5図は判定手段17におい
て本発明のパターンの特徴抽出方式を具体的にした一実
施例を示したブロックである。判定手段17には判定制
御回路20の制御のもとにいくつかの特徴抽出手段40
,50,・・・60が含まれ、本発明はこれら複数個の
特徴抽出手段のうちの1つの手段40てあることを示し
ている。なお第4図と共通部分の一部は図示を省略する
。候補レジスタ15にセットされた候補文字に対応した
特徴リストが判定制御回路20によつて解読され、特徴
リストの1つとして特徴AすなわわちA9m9d9t9
r但しm=19゛゜゜゜4(尚T,rについては後で説
明する)が選ばれた時、第2図の方向に対応するパラメ
ータmにより基本特徴レジスタ12からの分岐点が選ば
れその座標値(パラメータmに対応してm=1,3の時
x座標値、m=2,4の時y座標値)がレジスタ21に
セットされ、分岐点からの距離を表わすパラメータとし
てdがレジスタ22にセットされる。
When the features to be used cannot be extracted from the basic features, a feature extraction method that extracts them from the pattern is also required.
One of them is the present invention. FIG. 5 is a block diagram showing an embodiment in which the pattern feature extraction method of the present invention is implemented in the determination means 17. The determination means 17 includes several feature extraction means 40 under the control of the determination control circuit 20.
, 50, . Note that some parts common to FIG. 4 are omitted from illustration. The feature list corresponding to the candidate character set in the candidate register 15 is decoded by the determination control circuit 20, and the feature A, that is, A9m9d9t9 is selected as one of the feature lists.
r However, when m = 19゛゜゜゜4 (T and r will be explained later), a branch point from the basic feature register 12 is selected by the parameter m corresponding to the direction in Fig. 2, and its coordinate value is (corresponding to the parameter m, x coordinate value when m = 1, 3, y coordinate value when m = 2, 4) is set in the register 21, and d is set in the register 22 as a parameter representing the distance from the branch point. Set.

従つて前述の入力パターン内の上、下、左、右のうち一
つの方向を指定し、指定の方向により決まる入力パター
ンを含む平行四辺形の一つの辺からの分岐点の座標値を
抽出する手段は、判定制御回路20の制御の下にパラメ
ータmすなわち、第2図に示す方向の条件で基本特徴レ
ジスタ12からの分岐点を選択し、前記方向により予じ
め決まる辺からの分岐点のXまたはY座標値を求めレジ
スタ21にセットする部分に相当する。また指定の辺か
らの走査(m=1,3の時垂直走査、m=2,4の時水
平走査)方向を表わすパラメータmがレジスタ23にセ
ットされる。レジスタ21の分岐点の座標値とレジスタ
22にセットされた分岐点からの距離を表わすパラメー
タdの値は、加算回路26及び減算回路27によつて、
夫々加算及び減算されてレジスタ28にセットされる。
分岐点から指定の方向と垂直方向に指定の距離だけ両側
に離れた位置を辺上に求める手段は、前記レジスタ21
の値とレジスタ22に記憶された距離の値との加算、減
算を加算回路26と減算回路27とにより求めレジスタ
28にそれぞれAl,a2としてセットする部分に相当
する。また辺上に求められた各位置から指定された方向
に対して平行に走査してパターンに初めて交差Jするま
での二つの距離11,1。を検出する手段は、次の交差
点検出手段29に対応する。交差点検出検出手段29は
レジスタ28にセットされた走査出発点とレジスタ23
にセットされた走査方向によりパターンメモリ10を走
査して初めてバターjンに交査するまでの距離を、レジ
スタ28に値をセットする回路26,27に対応して、
レジスタ31,30にセットする。次に加算回路32で
レジスタ30と31の値が加算され、特徴計算回路33
では、前記加算値と分岐点の座標値をもとに長さ関係L
を計算し、出力する。ここで第6図に示すようにパター
ンメモリの領域がI列J列で分岐点Bの座標値が(1,
j)で、前述の加算値がKであるとすると長さ関係Lは
パラメータmによつて次の様になる。
Therefore, specify one of the top, bottom, left, and right directions in the input pattern mentioned above, and extract the coordinate value of the branch point from one side of the parallelogram that includes the input pattern determined by the specified direction. The means selects a branch point from the basic feature register 12 under the control of the determination control circuit 20 under the condition of the parameter m, that is, the direction shown in FIG. This corresponds to the part that calculates the X or Y coordinate value and sets it in the register 21. Further, a parameter m representing the direction of scanning from the designated side (vertical scanning when m=1, 3, horizontal scanning when m=2, 4) is set in the register 23. The coordinate value of the branch point in the register 21 and the value of the parameter d representing the distance from the branch point set in the register 22 are determined by the addition circuit 26 and the subtraction circuit 27.
They are added and subtracted, respectively, and set in the register 28.
The register 21 is a means for finding a position on the side that is separated from the branch point by a specified distance in a specified direction and perpendicular direction.
This corresponds to the part in which addition and subtraction between the value of and the distance value stored in the register 22 is obtained by the addition circuit 26 and the subtraction circuit 27, and the results are set in the register 28 as Al and a2, respectively. Also, two distances 11, 1 from each position found on the side to the point where the pattern first intersects J by scanning parallel to the specified direction. The means for detecting this corresponds to the following intersection detection means 29. The intersection detection detecting means 29 detects the scanning starting point set in the register 28 and the register 23.
Corresponding to the circuits 26 and 27 that set a value in the register 28, the distance from when the pattern memory 10 is scanned in the scanning direction set to the point where the pattern memory 10 first intersects the pattern,
Set in registers 31 and 30. Next, the values of registers 30 and 31 are added in an adder circuit 32, and a feature calculation circuit 33
Now, based on the above addition value and the coordinate values of the branch point, the length relationship L
Calculate and output. Here, as shown in FIG. 6, the pattern memory area is in column I and column J, and the coordinate values of branch point B are (1,
j), if the above-mentioned addition value is K, the length relationship L is as follows depending on the parameter m.

検証回路34は、前記出力値Lがレジスタ24にセット
された凸あるいは凹の閾値tと、レジスタ25にセット
された凸あるいは凹の大小関係rを満足するなら“1゛
を、しなければ“0゛を判定制御回路20に出力する。
The verification circuit 34 outputs "1" if the output value L satisfies the convex or concave threshold t set in the register 24 and the convex or concave size relationship r set in the register 25, and "1" otherwise. 0'' is output to the determination control circuit 20.

得られた二つの距離11,12と分岐点までの距離1。
との長さ関係を検証する手段は、レジスタ21(分岐点
座標値)、30及び31にセットされた値(11及び1
2)と加算回路32と特徴計算回路33とにより特徴値
〔1=2×10−(11+12)〕を求め、検証回路3
4が特徴計算回路33の出力値とレジスタ24と25と
に判定制御回路20よリセットされたパラメータ値(閾
値)とにより凹凸の有無を判定する部分に相当する。特
徴Aの大小関係を表わすパラメータrをr=0なら以下
、r=1なら以上とすると第1図を判定するためのリス
トは判定用辞書18から例えば即ち8であるためには、
左側へこみが分岐点の上下±5メッシュ内で6以上であ
ること、即ちBであるためには、左側へこみが分岐点の
上下±5メッシュ内で4以下であること、となる。
The two distances 11 and 12 obtained and the distance 1 to the branch point.
The means for verifying the length relationship with
2), the addition circuit 32 and the feature calculation circuit 33 calculate the feature value [1=2×10−(11+12)], and the verification circuit 3
4 corresponds to a portion that determines the presence or absence of unevenness based on the output value of the feature calculation circuit 33 and the parameter values (threshold values) reset in the registers 24 and 25 by the determination control circuit 20. If the parameter r representing the magnitude relationship of feature A is less than or equal to r = 0 and greater than or equal to r = 1, the list for determining FIG. 1 is, for example, 8 from the determination dictionary 18,
In order for the left-hand dent to be 6 or more within ±5 meshes above and below the branching point, that is, to be B, the left-hand dent must be 4 or less within ±5 meshes above and below the branching point.

以上の説明では距離dを一定の値に固定して特徴を求め
ていたが、文字の大きさの影響を除くた.めに距離dを
文字の高さに対する割合に置きかえることは有効である
In the above explanation, the features were determined by fixing the distance d to a constant value, but the influence of the font size was removed. It is effective to replace the distance d with a ratio to the height of the character.

第7図にこの実施例を示す。FIG. 7 shows this embodiment.

ここでは文字の高さに対する割合がレジスタ35にセッ
トされ、回路70はパターンメモリ10上のパターンの
上端から下端まであるいは左端から右端までの長さによ
り高さあるいは幅を検出する。距離計算回路36は、回
路70からのパターンの高さあるいは幅と予め設定され
たその割合がセットされたレジスタ35の出力値から指
定距離を求めレジスタ22にセットする。
Here, the ratio to the height of the character is set in the register 35, and the circuit 70 detects the height or width based on the length of the pattern on the pattern memory 10 from the top end to the bottom end or from the left end to the right end. The distance calculation circuit 36 calculates a designated distance from the output value of the register 35 in which the height or width of the pattern from the circuit 70 and a preset ratio thereof are set, and sets it in the register 22.

他の機能は第5図実施例の説明と同じである。Other functions are the same as those described in the embodiment of FIG.

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

第1図は本発明を適用することによつて区別出来るパタ
ーンの例を示す図、第2図は分岐点抽出及び走査方向に
関する図、第3図は本特徴抽出に関する図、第4図、第
5図及び第7図は本発明の実施例を示すブロック図、第
6図はパターンメモリの領域と分岐点の座標に関する図
、第8図は分岐点の周囲状態と特徴値との関係を説明す
る図てある。 図において、10はパターンメモリ、11は基本特徴抽
出手段、12は基本特徴レジスタ、13は候補決定用辞
書、14は候補決定手段、15は候補文字名レジスタ、
17は判定手段、18は判定用辞書、19は出力レジス
タ、20は判定制御回路、29は交差点検出手段、33
は特徴計算回路、34は検証回路、36は距離計算回路
である。
FIG. 1 is a diagram showing examples of patterns that can be distinguished by applying the present invention, FIG. 2 is a diagram related to branch point extraction and scanning direction, FIG. 3 is a diagram related to feature extraction, and FIGS. 5 and 7 are block diagrams showing embodiments of the present invention, FIG. 6 is a diagram regarding the area of the pattern memory and the coordinates of the branch point, and FIG. 8 is a diagram explaining the relationship between the surrounding state of the branch point and the characteristic value. There are plans to do so. In the figure, 10 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 judgment means, 18 is a judgment dictionary, 19 is an output register, 20 is a judgment control circuit, 29 is an intersection detection means, 33
is a feature calculation circuit, 34 is a verification circuit, and 36 is a distance calculation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 入力パターン内の上、下、左、右のうち一つの方向
を指定し、指定の方向により決まる入力パターンを含む
平行四辺形の一つの辺からの分岐点の座標値を抽出する
手段と、前記分岐点からの前記方向と垂直方向に指定の
距離だけ両側に離れた位置を前記辺上に求める手段と、
前記辺上に求められた各位置からの前記指定された方向
に対して平行に走査して前記パターンに初めて交差する
までの二つの距離を検出する手段と、前記手段により得
られた二つの距離と前記辺から前記分岐点までの距離と
の長さ関係を検証する手段とを備え、へこみの程度を表
わす特徴値を検出するようにしたパターンの特徴抽出方
式。
1. Means for specifying one direction among the top, bottom, left, and right in an input pattern and extracting the coordinate value of a branch point from one side of a parallelogram including the input pattern determined by the specified direction; means for determining a position on the side that is spaced apart from the branch point by a specified distance on both sides in a direction perpendicular to the direction;
means for detecting two distances from each position found on the side until it intersects the pattern for the first time by scanning parallel to the specified direction; and two distances obtained by the means. and a means for verifying a length relationship between the length and the distance from the side to the branch point, and detects a feature value representing the degree of dent.
JP52150237A 1977-12-13 1977-12-13 Pattern feature extraction method Expired JPS6046753B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52150237A JPS6046753B2 (en) 1977-12-13 1977-12-13 Pattern feature extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52150237A JPS6046753B2 (en) 1977-12-13 1977-12-13 Pattern feature extraction method

Publications (2)

Publication Number Publication Date
JPS5481730A JPS5481730A (en) 1979-06-29
JPS6046753B2 true JPS6046753B2 (en) 1985-10-17

Family

ID=15492545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52150237A Expired JPS6046753B2 (en) 1977-12-13 1977-12-13 Pattern feature extraction method

Country Status (1)

Country Link
JP (1) JPS6046753B2 (en)

Also Published As

Publication number Publication date
JPS5481730A (en) 1979-06-29

Similar Documents

Publication Publication Date Title
JP3345224B2 (en) Pattern extraction device, pattern re-recognition table creation device, and pattern recognition device
US5579408A (en) Character recognition method and apparatus
US5832102A (en) Apparatus for extracting fingerprint features
KR100383858B1 (en) Character extracting method and device
JP2898562B2 (en) License plate determination method
US6556701B1 (en) Method of and apparatus for extracting dotted line, and storage medium thereof
JPS6310472B2 (en)
JPS6046753B2 (en) Pattern feature extraction method
JP3411796B2 (en) Character recognition device
JPS6316795B2 (en)
JPH0350692A (en) Character recognizing device
JPS6015994B2 (en) Pattern feature extraction method
JP2576080B2 (en) Character extraction method
JP2658137B2 (en) Character recognition method
JPH0353392A (en) Character recognizing device
JP2734387B2 (en) Character recognition device
JPH0877293A (en) Character recognition device and generating method for dictionary for character recognition
JPH04260980A (en) Device for recognizing graphic
JPS6125284A (en) Character recognizing device
JP2832035B2 (en) Character recognition device
JPS61121184A (en) Character recognizer
JP2851865B2 (en) Character recognition device
JPS6022792B2 (en) Pattern feature extraction method
JPH0353393A (en) Character recognizing device
JPH05282487A (en) Character recognizing device