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

JPS6015994B2 - Pattern feature extraction method - Google Patents

Pattern feature extraction method

Info

Publication number
JPS6015994B2
JPS6015994B2 JP52074631A JP7463177A JPS6015994B2 JP S6015994 B2 JPS6015994 B2 JP S6015994B2 JP 52074631 A JP52074631 A JP 52074631A JP 7463177 A JP7463177 A JP 7463177A JP S6015994 B2 JPS6015994 B2 JP S6015994B2
Authority
JP
Japan
Prior art keywords
row
value
input pattern
register
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.)
Expired
Application number
JP52074631A
Other languages
Japanese (ja)
Other versions
JPS548934A (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 JP52074631A priority Critical patent/JPS6015994B2/en
Publication of JPS548934A publication Critical patent/JPS548934A/en
Publication of JPS6015994B2 publication Critical patent/JPS6015994B2/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 a feature that distinguishes between roundness and refraction of a loop portion of a pattern.

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

特徴抽出部では、通常、線の端点、分岐点、屈折点、凹
部、凸部等を特徴として抽出し、判定部ではこれらの特
徴の存否あるいは量によって入力された文字を判定する
ようになっている。この特徴抽出に関しては様々な特徴
抽出方法が提案され実用化されて釆た。
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. There is. Regarding this feature extraction, various feature extraction methods have been proposed and put into practical use.

ところが読取り対象文字を、数字の他に英字、カタカナ
、記号等まで拡げると、異なったカテゴリーで類似した
パターンが更に増加する。お互いに類似したパターンを
区別するには殆んどこれらの類似パターンどうしだけを
区別するための特殊な特徴を抽出する必要が生れるよう
になる。そのために、最初に議取り対象文字全体を識別
するために比較的有効な特徴(以下の文では基本特徴と
称することにする。)を抽出し、この抽出された基本特
徴によって候補カテゴリーを決め、続いてこの候補カテ
ゴリーについてだけ各カテゴリー毎に記述された複数個
の特徴のリスト(以下、特徴リストと称する)に従って
、基本特徴あるいは入力パターンから特徴を抽出し特徴
リストを満足する候補カテゴリーを1つにいまる、とい
う手段が採用されるようになった。このような手段によ
って判定しなければ区別が困難な例に○,D,Vの区別
がある。第1図のような英字Dを読むには、第2図のよ
うな3つのパターンの区別が可能であることが前提とな
る。第2図1は手書きの0(ゼロ)で左上にストローク
が突き出たパターンであり、第2図2は手書きのD(デ
ー)で左下のストロークの突き出しが無い場合であり、
第2図3は手書きのV(ブィ)で右上のストロークの突
き出しが無い場合である。数字だけを読むOCRではこ
れら3種とも数字0として認識しても支障は無かったが
、英字、数字を読む〇CRでは、これらを正確に区別す
る必要がある。これらのパターンの区別が可能になると
、第1図のような入力パターンは基本特徴では左上に端
点から分岐点までの右下りの短かし、ストロークがある
ということで第2図のような3つのパターンのいずれか
であるとされ候補カテゴリー○,D,Vが決定される。
これら3つの候補カテゴリーにまでいまられた後は、入
力パターンの左方に丸みがないことで第2図1の字形で
ないことが判り、右方の丸みがあることで第2図3の字
形でないことが判る。従って第1図のパターンは第2図
2の字形の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 between these similar patterns. To do this, we first extract relatively effective features (referred to as basic features in the following text) for identifying the entire character to be discussed, and then determine candidate categories based on these extracted basic features. Next, only for this candidate category, according to a list of multiple features described for each category (hereinafter referred to as a feature list), features are extracted from the basic features or input patterns to create one candidate category that satisfies the feature list. A method called nimaru came to be adopted. An example of the distinction between ○, D, and V is difficult to distinguish without using such means. In order to read the alphabet D as shown in FIG. 1, it is a prerequisite that three patterns as shown in FIG. 2 can be distinguished. Fig. 2 1 shows a handwritten 0 (zero) pattern with a protruding stroke in the upper left, and Fig. 2 2 shows a handwritten D (day) pattern with no protruding stroke in the lower left.
FIG. 2 and 3 show a case where there is no protrusion of the upper right stroke in a handwritten V. In OCR, which only reads numbers, there was no problem even if these three types were recognized as the number 0, but in OCR, which reads letters and numbers, it is necessary to accurately distinguish between them. Once it becomes possible to distinguish between these patterns, the input pattern shown in Figure 1 has the basic characteristics of a downward shortening and stroke from the end point to the branch point in the upper left corner, so it becomes 3 as shown in Figure 2. Candidate categories ○, D, and V are determined.
Once the input pattern has been classified into these three candidate categories, the lack of roundness on the left side of the input pattern indicates that it is not the character shape shown in Figure 2, 1, and the presence of roundness on the right side indicates that it is not the character shape of Figure 2, Figure 3. I understand that. Therefore, the pattern in FIG. 1 can be seen as a letter D in FIG. 2. However, detecting whether there is a rounded refraction in the loop portion of a subordinate character pattern was more difficult than expected, and there was no stable 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 whose differences are the roundness and refraction of loops.

本発明は1文字分の2値パターンを記憶するパターンメ
モリ、このパタ−ンメモリの2値パターンからストロー
クの端点や分母も点のような特殊点や、ストロークの方
向といった基本特徴を抽出する基本特徴抽出手段、前記
基本特徴抽出手段で抽出された基本特徴を記憶する基本
特徴レジスタ、基本特徴と類似の形式をした多数の標準
パターンを記憶する候補決定用辞書、榛準パターンと前
記基本特徴レジスタに記憶してある入力文字の基本特徴
とを照合して適合する標準パターンの文字名を候補文字
名として取り出すための候補決定手段、前記候補決定手
段で得られた候補文字名を順次記憶する候補文字名レジ
スタ、各文字に認識するために必要な1個以上の特徴リ
ストを記憶する判定用辞書、前記候補文字名レジスタに
記憶されている候補文字名に対する特徴リストを判定用
辞書より取り出し、特徴リストの特徴を前記パターンメ
モリの入力パターンあるいは前記基本特徴レジスタに記
憶された基本特徴から抽出し、特徴リスト中の特徴が全
て抽出されたら、その候補文字名を入力パターンの文字
と判定する判定手段からなるOCRの最後の構成要素た
る判定手段に、判定辞書から取り出された特徴リストの
中の1つの特徴が指定された分岐点から、指定された方
向のところに丸みまたは角(かど)があるかを検議する
ことである場合に指定された分岐点の行座標値から前記
パターンメモリを第1の方向へ走査を行ないつつ、前記
第1の方向に直交し互いに方向の異なる第二及び第三の
方向にそれぞれ読み出し最初に入力パターンと交差しな
い走査行より−走査前の走査行を前記第二の方向、第三
の方向の第一の行座標値及びに第二の行座標値として検
出する手段と、前記検出された第一の行座標値と第二の
行座標値とが示す間を前記パターンメモリの列の端より
前記第二の方向又は第三の方向に走査を行ないつつ第一
の方向または前記第一の方向に対して逆の方向のうちの
指定された方向に議取り入力パターンに初めて1回だけ
交差する走査列の座標値を検出し、更に前記列座標値の
位置において指定により前記第三の方向に前記第一の行
座標値の位置よりまたは前記第二の行座標値の位置より
走査して入力パターンの端の行座標値を検出する第一の
特徴値抽出手段と、指定により前記分岐点の行座標値と
前記第一の行座標値又は第二の行座標値との差の値と前
記第一の特徴値抽出手段で得られる行座標値と前記第一
の行座標値又は第二の行座標値との差の値とによる比の
値が指定された値と指定された大4・関係にあるかを検
証する手段とを、1つの特徴抽出手段として含むように
したものである。本発明によれば第1図のような入力パ
ターンに端点T,から分岐点B,迄右下りの線がある場
合に、第2図のような3つの候補文字が決定された後に
3つの中の1つに割り当てられる。
The present invention provides a pattern memory that stores a binary pattern for one character, and a basic feature that extracts basic features such as special points such as stroke end points and denominator points, and stroke direction from the binary pattern of this pattern memory. an extraction means, a basic feature register for storing the basic features extracted by the basic feature extraction means, a candidate determination dictionary for storing a large number of standard patterns having a similar format to the basic features, and a combination of the basic features and the basic feature register. Candidate determining means for extracting a character name of a matching standard pattern as a candidate character name by comparing it with the basic characteristics of a stored input character, and a candidate character for sequentially storing the candidate character names obtained by the candidate determining means. name register, a judgment dictionary that stores one or more feature lists necessary for recognizing each character; a feature list for the candidate character name stored in the candidate character name register is extracted from the judgment dictionary; from the input pattern of the pattern memory or the basic features stored in the basic feature register, and when all the features in the feature list are extracted, the candidate character name is extracted from the determining means for determining the candidate character name as a character of the input pattern. The determination means, which is the last component of the OCR, determines whether one feature in the feature list extracted from the determination dictionary has a roundness or corner in a designated direction from a designated branch point. , the pattern memory is scanned in the first direction from the row coordinate value of the designated branch point, and second and third patterns are scanned in a direction orthogonal to the first direction and in mutually different directions. The scanning lines that do not intersect with the input pattern are read out in the respective directions, and the scanning lines before scanning are detected as the first line coordinate values and the second line coordinate values in the second and third directions. means, scanning the interval indicated by the detected first row coordinate value and second row coordinate value from the end of the column of the pattern memory in the second direction or the third direction; detecting a coordinate value of a scanning line that intersects the discussion input pattern only once for the first time in a specified direction of the direction of , or a direction opposite to the first direction; A first feature value extracting means for detecting a row coordinate value at an end of the input pattern by scanning in the third direction from the position of the first row coordinate value or from the position of the second row coordinate value according to designation. and, by designation, the value of the difference between the row coordinate value of the branch point and the first row coordinate value or the second row coordinate value, the row coordinate value obtained by the first feature value extraction means, and the first row coordinate value. As one feature extraction means, a means for verifying whether the value of the ratio between the row coordinate value of It was designed to include. According to the present invention, when there is a line descending to the right from the end point T to the branch point B in the input pattern as shown in FIG. 1, after three candidate characters are determined as shown in FIG. assigned to one of the

第2図1には分岐点B,の下のループの下端から分岐B
までの高さaに対して、前記ループの下端からループの
技左列の中のパターンの下端までの高さbの比b/aが
1/3以上である時に割り当てられ、第2図2には右側
のb/aは2/槌亥下である時に、また第2図3には右
側のb/aは4′5以上である時に割り当てられる。
Figure 2 shows branch point B, and branch B from the lower end of the lower loop.
It is assigned when the ratio b/a of the height b from the bottom end of the loop to the bottom end of the pattern in the technique left column of the loop is 1/3 or more, and The b/a on the right side is assigned when it is below 2/tsuchi, and in FIG. 2, the b/a on the right side is assigned when it is 4'5 or more.

第3図は本発明の一実施例を示すブロック図である。FIG. 3 is a block diagram showing one embodiment of the present invention.

10は1文字分のパターンを記憶するためのパターンメ
モリで、OCRの光蟹変換や切出し等の処理を経たパタ
ーン情報が貯えられる。
Reference numeral 10 denotes a pattern memory for storing a pattern for one character, in which pattern information that has been subjected to processing such as OCR light crab conversion and cutting is stored.

基本特徴抽出手段1 1はパターンメモリ10に記憶さ
れている文字パターンから総点、分岐点、屈折点、スト
ロークの方向等の基本特徴を抽出し基本特徴レジスタ1
2に記憶する。特徴抽出の方法については、例えば第4
図1のような文字パターンから第4図2に示すように総
点T、分岐点B、屈折点K,2,5,5等の数字で示さ
れるストロークの方向(矢印で示してある)が検出され
検出順に兆班斑IBのような記号列とされる。
Basic feature extraction means 1 1 extracts basic features such as total points, branching points, inflection points, stroke direction, etc. from the character pattern stored in the pattern memory 10, and basic feature register 1
Store in 2. Regarding the method of feature extraction, for example, see Section 4.
From the character pattern shown in Figure 1, the stroke directions (indicated by arrows) indicated by numbers such as total point T, branching point B, bending point K, 2, 5, 5, etc. are shown in Figure 4 and 2. They are detected and made into a symbol string such as sign spots IB in the order of detection.

第4図3は、ストロークの方向と数字0,1,2・・・
・・・7の対応関係を示している。この基本特徴は全て
の文字に共適していることが出来るような特徴なので後
の処理において不要になるようなものは殆んど無い。従
って基本特徴抽出手段11では、全ての入力文字に対し
て一様な特徴を抽出している。基本特徴が抽出されると
、コントロールは候補決定手段14に渡り基本特徴レジ
スタ12に記憶された基本特徴と、候補決定用辞書13
に記憶されている標準パターンとが照合される。この標
準パターンは例えばァ:12巡(4歌) 4斑2$(01K)01B のような形をしており、この形式に於いて最初のアはこ
の標準パターンの文字名を示し、K,B、数字(0〜7
)は第4図2と同様に屈折点、分岐点、ストロークの方
向を示し、特に12雛の数字123は方向1,2,3の
いずれかを示し、その後のKは屈折点のあることを示し
ている。
Figure 4 3 shows the direction of the stroke and the numbers 0, 1, 2...
... shows the correspondence of 7. Since this basic feature is a feature that can be applied to all characters, there is almost no need for it in subsequent processing. Therefore, the basic feature extraction means 11 extracts uniform features for all input characters. When the basic features are extracted, the control is passed to the candidate determining means 14 to extract the basic features stored in the basic feature register 12 and the candidate determining dictionary 13.
The pattern is compared with the standard pattern stored in the . This standard pattern has the form, for example, A: 12 rounds (4 songs) 4 spots 2 $ (01K) 01B. In this format, the first A indicates the letter name of this standard pattern, K, B, numbers (0-7
) indicates an inflection point, a branch point, and the direction of a stroke in the same way as in Fig. It shows.

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

尚、候補決定用辞書13には、認識対象とする文字毎に
1つあるいは複数個の標準パターンを含ませてある。候
補決定手段14は候補決定用辞書13の標準パターンと
の照合を行ない、レジスタ12内の基本特徴の含まれる
標準パターンの文字名が候補文字名レジス夕15に記憶
される。このレジスタ15には1個以上の候補文字がセ
ットされることもあるし、全く無い場合もある。基本特
徴による候補文字名が決定されると判定手段17にコン
トロールが渡る。
The candidate determination dictionary 13 includes one or more standard patterns for each character to be recognized. The candidate determining means 14 performs a comparison with the standard pattern in the candidate determining dictionary 13, and the character names of the standard pattern containing the basic features in the register 12 are stored in the candidate character name register 15. One or more candidate characters may be set in this register 15, or there may be none at all. Once the candidate character name based on the basic characteristics is determined, control is passed to the determining means 17.

判定手段17に於いては候補文字レジスタ15に記憶さ
れた候補文字名が無い場合は、謙取不能を示す信号を出
力レジスタ19に出力するが候補文字が1個以上の場合
はその文字名をキーとて判定用辞書18の内容を索引し
、そこから読み出された特徴リストに従って必要なパタ
ーンメモリ10や基本特徴レジスタ12から抽出し、特
徴リストを満足する文字名を入力文字名として出力レジ
スタ19に出力する。判定用辞書18の各項副ま特徴の
種類とパラメータを表現しており、複数個の特徴の全て
が満足される必要のある時にはまとめてリストされてい
る。
If there is no candidate character name stored in the candidate character register 15, the determining means 17 outputs a signal indicating that it cannot be taken down to the output register 19, but if there is one or more candidate characters, the character name is output to the output register 19. The contents of the key determination dictionary 18 are indexed, the necessary pattern memory 10 and the basic feature register 12 are extracted according to the feature list read therefrom, and character names that satisfy the feature list are output as input character names to the register. Output to 19. Each entry in the judgment dictionary 18 expresses the type and parameter of sub-features, and when all of a plurality of features need to be satisfied, they are listed together.

例えば第4図のようなカタカナの“ァ”の特徴リストに
は王にマと区別するに必要な特徴×,8,T3,3が指
定されている。
For example, in the feature list for the katakana character "a" as shown in FIG. 4, the features x, 8, T3, and 3 necessary for distinguishing the character from "ma" are specified.

これはXという特徴を使った例で、分岐点B、の×座標
が総点tのX座標より3ビット以上右にあればアとなる
ための1つの特徴を満足することを示している。このよ
うな特徴は1文字に対して1個あるいは複数個まとめら
夕れて特徴リストして用意されており、1個ならばそれ
だけでも満足されたら判定して良く、複数個の時にはリ
スト上の特徴全てが満足されることを意味している。こ
の場合、基本特徴間のX座標間の関係を特徴0として用
いものであるが、基本特徴では抽出されていない特徴を
入力パターンから改めて抽出する特徴抽出方法を必要で
ある。
This is an example using the feature X, and shows that if the x coordinate of the branch point B is 3 bits or more to the right of the x coordinate of the total point t, one feature for A is satisfied. One or more such features are prepared for each character in a feature list, and if there is only one feature, it can be judged if it is satisfied, but if there are multiple features, the feature list is prepared. This means that all characteristics are satisfied. In this case, the relationship between the X coordinates between the basic features is used as the feature 0, but a feature extraction method is required that re-extracts features that are not extracted as the basic features from the input pattern.

その1つが本願である。第5図は本願の具体的な実施例
を示したプロック図である。
One of them is the present application. FIG. 5 is a block diagram showing a specific embodiment of the present application.

判定手段17には判定制御回路20の制御のもとにいく
つかの特徴抽出手段40,50,60が含まれ、本願は
これら複数個の特徴抽出手段のうちの1つの手段40で
あることを示している。尚、第3図と共通部分の一部は
図示を省略する。候補文字レジスタ15にセットされた
候補文字に対応した特徴リストが判定制御回路201こ
よって解読され、その結果特徴リストの1つとして特徴
RすなわちR,B,d,t’r が選ばれた時、パラメータとしての分岐点&の座標値が
レジスタ21に、分岐点の右か左かを示すパラメータ値
dがレジスタ28に、入力パターンから検出される比と
比較するための閥値パラメータ値tがレジスタ32に、
更に大小関係を示すパラメータ値rがレジスタ33にセ
ットされる。
The determination means 17 includes several feature extraction means 40, 50, and 60 under the control of the determination control circuit 20, and the present application refers to one means 40 among these plurality of feature extraction means. It shows. Note that some parts common to FIG. 3 are omitted from illustration. When the feature list corresponding to the candidate character set in the candidate character register 15 is decoded by the determination control circuit 201, and as a result, the feature R, that is, R, B, d, t'r is selected as one of the feature lists. , the coordinate value of the branch point & as a parameter is stored in the register 21, the parameter value d indicating whether the branch point is to the right or left is stored in the register 28, and the threshold parameter value t for comparison with the ratio detected from the input pattern is stored in the register 21. In register 32,
Furthermore, a parameter value r indicating the magnitude relationship is set in the register 33.

分岐点‘ま基本特徴抽出手段11によって検出された順
に基本特徴レジスター2の分岐点を記憶する部分に、そ
の座標値が記憶されており、分岐点の番号が与えられる
と指定された分岐点の座標値が読み出され、X及びY座
標値が各々レジスタ27及び22にセットされる。上行
検出手段23はしジスタ22にセットされた分岐点のY
座標値より上の位置にあるパターンの行をパターンメモ
リ10から順次取り出して初めて入力パターンと交差し
ない行より一行前の行座標値を上行とて検出しその座標
値Ypをレジスタ24にセットする。
The coordinate values of branch points are stored in the section for storing branch points of the basic feature register 2 in the order in which they are detected by the basic feature extraction means 11, and when a branch point number is given, the coordinate values of the specified branch point are stored. The coordinate values are read and the X and Y coordinate values are set in registers 27 and 22, respectively. The upward detection means 23 is the Y of the branch point set in the register 22.
After the rows of the pattern located above the coordinate values are sequentially retrieved from the pattern memory 10, the row coordinate value of one row before the row that does not intersect with the input pattern is detected as the upper row, and its coordinate value Yp is set in the register 24.

下行検出手段25はしジスタ22にセットされたY座標
値よりも下の位置にあるパターンの行をパターンメモリ
10から取り出し初めて入力パターンの“1”と交差し
ない行の一行前の行座標値を下行として検出してその下
行の行座標値Yqをレジスタ26にセットする。交差列
検出手段29は入力パターンのレジスタ24にセットさ
れた上行座標値と、レジスタ26にセットされた下行座
標値との間でパターンメモリ10をレジスタ27にセッ
トされた基本特徴である分岐点のX座標値から垂直方向
に謙出しながらレジスタ28にセットされた方向のパラ
メータ2値aで指定される方向に議出しを進め最初に入
力パターンの“1”と1回だけ交差する列座際値を検出
し、検出された列座榛値の位置で入力パターンと交差す
る垂直方向での座標値Ycを検出してレジスタ30にセ
ットする。検証手段31はしジスタ24、レジスタ26
及びレジスタ30の各々にセットされたY座標Yp,Y
q、及びYcを用いて至−hC−Yp!a・Nq−Yp
l を計算しこのb/aがレジス夕32にセットされた値t
としジスタ33にセットされた大小関係のパラメータ値
rの条件を満足するなら“1”を、しないならば‘‘0
”を判定制御回路20に出力する。
The descending line detection means 25 takes out from the pattern memory 10 the line of the pattern located below the Y coordinate value set in the register 22, and first detects the line coordinate value of the previous line of the line that does not intersect with "1" of the input pattern. It is detected as a lower row and the row coordinate value Yq of the lower row is set in the register 26. The cross-column detection means 29 stores the pattern memory 10 between the upper row coordinate value set in the register 24 of the input pattern and the lower row coordinate value set in the register 26, and detects a branch point, which is a basic feature set in the register 27. While descending from the X coordinate value in the vertical direction, the proposal is advanced in the direction specified by the direction parameter binary value a set in the register 28, and the first value that intersects "1" in the input pattern only once is determined. is detected, and the coordinate value Yc in the vertical direction intersecting the input pattern at the position of the detected columnar value is detected and set in the register 30. Verification means 31, register 24, register 26
and the Y coordinates Yp, Y set in each of the registers 30
Using q and Yc, to -hC-Yp! a・Nq-Yp
l is calculated, and this b/a is the value t set in register 32.
If the condition of the magnitude-related parameter value r set in the register 33 is satisfied, set it to "1"; otherwise, set it to ``0''.
” is output to the judgment control circuit 20.

尚、第5図に於いてレジスタ22に×座標、レジスタ2
7にY座標、レジスタ28に上または下の方向をセット
するように手段23をレジスタ22のX座標より左方に
垂直走査しつつ、最初に入力パターンと交差しない列の
一列前の列座標値を左列Xpとして検出する手段に、手
段24をレジスタ22のX座標より右方に垂直走査しつ
つ最初に入力パターンと交差しない列の一列前の列の座
標値Xqとして検出する手段に変え、更に手段29を左
列Xpと右乳収qに狭まれた領域内でレジスタ28にセ
ットされた方向(上または下)に水平走査しつつ最初に
入力パターンと1回交差する行座標値を検出し、更にこ
の検出された行座標値の位置で入力パターンと交差する
水平方向での座標Xcを検出してレジスタ30‘こセッ
トする手段に変える。このように変えることによって検
証手段31ではb/a=IXc−Xpl/IXq−Xp
lを計算しこの値がレジスタ32にセットされた値tと
、レジスタ33にセットされた大小関係のパラメータ値
Yの条件を満足するか否かを検証する機能に変える。
In addition, in FIG. 5, the x coordinate is set in register 22, and register 2
While vertically scanning the means 23 to the left of the X coordinate of the register 22 so as to set the Y coordinate in 7 and the upward or downward direction in the register 28, first set the column coordinate value of the column one column before the column that does not intersect with the input pattern. The means 24 is changed to a means for detecting as the left column Xp, and the means 24 is changed to a means for vertically scanning to the right from the X coordinate of the register 22 and detecting as the coordinate value Xq of the column one column before the column that does not intersect with the input pattern first, Furthermore, while horizontally scanning the means 29 in the direction (up or down) set in the register 28 within the area narrowed by the left column Xp and the right milk yield q, the row coordinate value that first intersects the input pattern once is detected. Then, at the position of the detected row coordinate value, the coordinate Xc in the horizontal direction intersecting the input pattern is detected and set in the register 30'. By changing in this way, the verification means 31 calculates b/a=IXc-Xpl/IXq-Xp
The function is changed to calculate l and verify whether this value satisfies the conditions of the value t set in the register 32 and the parameter value Y set in the register 33 in a magnitude relationship.

即ち、このように変えることによって第6図のような数
字9と4を区別するに有効な上端の丸みまたは角を検出
する機能を与えることが出来る。
That is, by making this change, it is possible to provide a function for detecting the roundness or corner of the upper end, which is effective in distinguishing between numbers 9 and 4 as shown in FIG.

また、以上の説明では入力パターンは走査された2値パ
タ−ンとしたが、太さの影響を除くために細線化された
パターンに置きかえることには大きな意義がある。
Furthermore, in the above description, the input pattern is a scanned binary pattern, but it is of great significance to replace it with a thinned pattern in order to eliminate the influence of thickness.

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

第1図は認識した入力文字の1つを示す図、第2図及び
第6図は本発明を適用することによって区別出来るパタ
ーンの例を示す図、第3図及び第5図は本発明の実施例
を示すブロック図、第4図は基本特徴を説明する図であ
る。 図において10はパターンメモリ、11は基本特徴抽出
手段、12は基本特徴レジスタ、13は候補決定用辞書
、14は候補決定手段、15は候補文字レジスタ、17
は判定手段、18は判定用辞書、19は出力レジスタ、
2川ま判定制御回路、23,25は上行及び下行検出手
段、29は交差列検出手段、31は検証手段である。 オー図 オ2図 才3図 才4図 オ5図 汁6図
FIG. 1 shows one of the recognized input characters, FIGS. 2 and 6 show examples of patterns that can be distinguished by applying the present invention, and FIGS. 3 and 5 show examples of patterns that can be distinguished by applying the present invention. FIG. 4, a block diagram showing the embodiment, is a diagram explaining the basic features. 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 register, 17
is a judgment means, 18 is a judgment dictionary, 19 is an output register,
A two-way determination control circuit, 23 and 25 are upper row and lower row detection means, 29 is a cross column detection means, and 31 is a verification means. O figure O 2 figure O 3 figure O 4 figure O 5 figure Juice 6 figure

Claims (1)

【特許請求の範囲】[Claims] 1 1文字分の入力パターンから端点、分岐点、及びス
トロークの方向等の基本特徴を抽出し、基本特徴を用い
た複数個の標準パターンと照合して候補文字名が備える
べき条件として記述された複数個の特徴を基本特徴及び
入力パターンから抽出して前記複数個の特徴の条件を満
たした候補文字名を入力文字名として決定するようにし
た文字認識装置において、入力パターンを記憶したメモ
リの内指定された分岐点の行座標値から前記メモリを第
一の方向へ走査を行ないつつ前記第一の方向に直交し互
いに方向の異なる第二および第三の行方向にそれぞれ読
み出し、初めて入力パターンと交差しない走査行より一
走査前の行座標値を、前記第二の方向、第三の方向の第
一の行座標値及び第二の行座標値として検出し、検出さ
れた前記2個の行座標値が示す間を前記メモリの列の端
より前記第二の方向または第三の方向の行方向に走査を
行ないつゝ前記第一の方向または第一の方向に対して逆
の方向のうちの指定された列方向に読み出し初めて入力
パターンに1回交差する走査列の列座標値を検出し、前
記列座標値上で指定する前記第二の方向または第三の方
向と同じ方向に走査して最初に検出される入力パターン
の行座標値と前記指定の第二、第三の方向に対応する前
記検出の第一、第二の行座標値との差の値と、前記分岐
点の行座標値と前記指定と同じ第二、第三の方向に対応
する前記第一、第二の行座標値との差の値との比である
値を入力パターンの認識用特徴として検出するようにし
たことを特徴とするパターンの特徴抽出方式。
1 Basic features such as end points, branching points, and stroke direction are extracted from the input pattern for one character, and the conditions are described as the conditions that candidate character names should have by comparing them with multiple standard patterns using the basic features. In a character recognition device that extracts a plurality of features from basic features and an input pattern and determines a candidate character name that satisfies the conditions of the plurality of features as an input character name, While scanning the memory in the first direction from the row coordinate value of the designated branch point, the memory is read in second and third row directions that are perpendicular to the first direction and different from each other, and for the first time, the input pattern is read out. Detecting the row coordinate values one scan before the non-intersecting scanning rows as the first row coordinate values and the second row coordinate values in the second direction and the third direction, and detecting the two detected rows. Scanning the interval indicated by the coordinate values from the end of the column of the memory in the row direction in the second direction or the third direction; Detects the column coordinate value of a scanning line that intersects the input pattern once for the first time in the specified column direction, and scans in the same direction as the second or third direction specified on the column coordinate value. The value of the difference between the row coordinate value of the first detected input pattern and the detected first and second row coordinate values corresponding to the specified second and third directions, and the row of the branch point. A value that is a ratio of the difference value between the coordinate value and the first and second row coordinate values corresponding to the same second and third directions as specified above is detected as a recognition feature of the input pattern. A feature extraction method for patterns characterized by
JP52074631A 1977-06-22 1977-06-22 Pattern feature extraction method Expired JPS6015994B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52074631A JPS6015994B2 (en) 1977-06-22 1977-06-22 Pattern feature extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52074631A JPS6015994B2 (en) 1977-06-22 1977-06-22 Pattern feature extraction method

Publications (2)

Publication Number Publication Date
JPS548934A JPS548934A (en) 1979-01-23
JPS6015994B2 true JPS6015994B2 (en) 1985-04-23

Family

ID=13552734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52074631A Expired JPS6015994B2 (en) 1977-06-22 1977-06-22 Pattern feature extraction method

Country Status (1)

Country Link
JP (1) JPS6015994B2 (en)

Also Published As

Publication number Publication date
JPS548934A (en) 1979-01-23

Similar Documents

Publication Publication Date Title
US5267332A (en) Image recognition system
EP0965943A2 (en) Optical character reading method and system for a document with ruled lines and their application
JPH08305796A (en) Pattern extraction device, pattern re-recognition table creation device, and pattern recognition device
KR100383858B1 (en) Character extracting method and device
JPS6015994B2 (en) Pattern feature extraction method
JP3673616B2 (en) Gift certificate identification method and apparatus
JPS6046753B2 (en) Pattern feature extraction method
IE921953A1 (en) Image recognition system
JP2686745B2 (en) Character reader
JP2510722B2 (en) How to distinguish uppercase and lowercase letters in English
KR100473660B1 (en) Word recognition method
JPH0262682A (en) Method for recognizing character
JPH0877293A (en) Character recognition apparatus and method for creating dictionary for character recognition
JP2973898B2 (en) Character recognition method and device
JPS6022792B2 (en) Pattern feature extraction method
JPH0259504B2 (en)
JPS6379193A (en) character reading device
JP2578767B2 (en) Image processing method
JP2578768B2 (en) Image processing method
JPH0113583B2 (en)
JPH0353392A (en) Character recognizing device
JPH01191992A (en) character recognition device
JPH0436885A (en) Optical character reader
JPH03122786A (en) Optical character reader
JPH0256709B2 (en)