JPS6186881A - Recording system for on-line handwritten character - Google Patents

Recording system for on-line handwritten character

Info

Publication number
JPS6186881A
JPS6186881A JP59208178A JP20817884A JPS6186881A JP S6186881 A JPS6186881 A JP S6186881A JP 59208178 A JP59208178 A JP 59208178A JP 20817884 A JP20817884 A JP 20817884A JP S6186881 A JPS6186881 A JP S6186881A
Authority
JP
Japan
Prior art keywords
stroke
inter
input character
strokes
standard pattern
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.)
Granted
Application number
JP59208178A
Other languages
Japanese (ja)
Other versions
JPH0465431B2 (en
Inventor
Akihiro Asada
昭広 浅田
Hidefumi Goto
英文 後藤
Tetsuo Furuya
古谷 哲夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59208178A priority Critical patent/JPS6186881A/en
Publication of JPS6186881A publication Critical patent/JPS6186881A/en
Publication of JPH0465431B2 publication Critical patent/JPH0465431B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the calculating time of the resemblance between patterns with correct correspondence of strokes secured between an input character and a standard pattern even in case the input character has an error of the stroke making order, by defining the sum total of inter-stroke resemblance degrees showing each maximum value as an inter-pattern resemblance degree. CONSTITUTION:The character information equivalent to a character written on a tablet by an input pen is fetched every fixed time point and separated into the writing point coordinate series for each stroke to recognize it after the pre-processing like the normalization, the decision of a size, etc. A feature extraction processor 43 extracts the features based on the pre-processed character information. The extracted input character information is expressed in a multi-dimensional vector space containing each stroke as an element. In a discrimination processing mode, the inter-pattern resemblance degree rhoC is obtained to a standard pattern to be collated based on the input character information. Then a character code PC of the standard pattern which gives the maximum inter-pattern resemblance degree is delivered. The inter-pattern resemblance degree is obtained based on the inter-stroke resemblance degree between each stroke of an input character and that of the standard pattern.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、誤筆順によっても文字識別能力が低下しない
オンライン手書き文字認識方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an online handwritten character recognition system in which the ability to identify characters does not deteriorate even if the order of strokes is incorrect.

〔発明の背景〕[Background of the invention]

従来、オンライン手書き文字認識方式においては、一般
の活字と異な9手書き文字が筆順(ストロークの順序)
情報を含んでいることを利用して、認識すべき入力文字
およびこれと照合すべき標準パターン間で、筆順的に対
応する各ストローク間の類似度を計算し、その総和をパ
ターン間類似度とし、照合すべきすべての標準パターン
とのパターン間類似度のうち最大類似度を与える標準パ
ターンを入力文字の認識結果として出力する手法が採ら
れている。
Conventionally, in online handwritten character recognition methods, nine handwritten characters, which are different from ordinary printed characters, are classified in stroke order (order of strokes).
Taking advantage of the fact that information is included, the similarity between each stroke that corresponds in stroke order between the input character to be recognized and the standard pattern to be matched is calculated, and the sum of these is taken as the similarity between patterns. , a method is adopted in which the standard pattern that provides the maximum similarity among all the standard patterns to be matched is output as the recognition result of the input character.

この手法は、入力文字の各ストロークが標準パターンの
筆順にそって筆記されることを前提としたもので!、入
力文字において筆順を誤まると、筆順的に対応するスト
ローク間の類似度は極めて小さな値とな9、誤識別の原
因となる。
This method assumes that each stroke of the input character is written according to the standard stroke order! If the stroke order of the input characters is incorrect, the degree of similarity between strokes corresponding to each other in stroke order will be extremely small9, causing erroneous identification.

入力文字に筆順誤シがある場合でも、入力文字と標準パ
ターンとの各ストロークをストロークを正しく対応づけ
て、パターン間類似度を求める方法として、特公昭58
−27551号公報に記されているストローク間類似度
行列による方法が知られている。
Tokuko Sho 58 was developed as a method to correctly match each stroke between the input character and the standard pattern and calculate the similarity between patterns even when there is an error in the stroke order of the input character.
A method using an inter-stroke similarity matrix described in Japanese Patent No. 27551 is known.

この方法は、入力文字の各ストローク毎に、標準パター
ンの全てのストロークとの類似度を計算して、その内の
最大類似度を与える標準パターンのストロークを入力文
字のストロークに対応するものとみなし、入力文字の全
てのストロークについて求めた各最大類似度の総和を以
って、入力文字と標準パターンとのパターン間類似度と
するものである。
This method calculates, for each stroke of the input character, the degree of similarity with all strokes of the standard pattern, and considers the stroke of the standard pattern that gives the maximum degree of similarity to correspond to the stroke of the input character. , the sum of the maximum similarities obtained for all strokes of the input character is used as the inter-pattern similarity between the input character and the standard pattern.

この方法によれば、入力文字にどのような筆順誤pがお
っても、入力文字と標準パターンとの各ストロークを正
しく対応づけてパターン間類似度を得ることができる。
According to this method, no matter what kind of stroke order error p occurs in the input character, it is possible to correctly associate each stroke between the input character and the standard pattern and obtain the inter-pattern similarity.

しかし、この方法によれば、入力文字と標準パターンの
各ストローク相互の類似度の計算回数(ストローク間類
似度行列の要素の数)は、入力文字のストローク数の2
乗回となるので、特に、ストローク数が多く、かつ、カ
テゴリー数(照合すべき標準パターン数)かばう大な漢
字を認識する場合、ストローク間類似度計算回数がぼう
犬となり、多大な時間を要する。これは、入力文字を筆
記後、直ちに認識結果を出力するというオンライン手書
き文字認識の即時性実時間性をそこなうものとなる。
However, according to this method, the number of calculations of the mutual similarity between each stroke of the input character and the standard pattern (the number of elements of the inter-stroke similarity matrix) is equal to 2 times the number of strokes of the input character.
Since the number of multiplications is large, especially when recognizing large kanji with a large number of strokes and the number of categories (the number of standard patterns to be matched), the number of times the similarity between strokes is calculated becomes excessive and it takes a lot of time. . This impairs the immediacy and real-time nature of online handwritten character recognition, which outputs recognition results immediately after writing input characters.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、入力文字に筆順誤りが存在する場合で
も、入力文字と標準パターンとの各ストロークを正しく
対応させ、かつ、パターン間類似度計算時間を大幅に低
減するオンライン手書き文字認識方式を提供することに
おる。
An object of the present invention is to provide an online handwritten character recognition method that can correctly match each stroke between an input character and a standard pattern even when there is a stroke order error in the input character, and can significantly reduce the time required to calculate similarity between patterns. We are committed to providing this.

〔発明の概要〕[Summary of the invention]

漢字は、r會、j 、″″″、糸、言、・・・jなどい
わゆる部分パターンの組合せで1文字を形成する。例え
は文字「認」は「言、刃、心」の3つの部分パターンで
構成されていると言える。このような漢字を筆記すると
き、筆1’Elは、「言」。
Kanji forms one character by combining so-called partial patterns, such as r kai, j, ``″'', thread, word, ... j.For example, the character ``ken'' has three parts: ``word, blade, and heart.'' It can be said that it is composed of partial patterns. When writing these kanji, brush 1'El is ``word''.

「刃」、「心」の部−分パターンの順で筆記し、この部
分パターンの筆記順序が誤まることはほとんどない。し
かし、ストローク単位の筆ノ碗は各部分パターン内で、
しばしば誤まることが生ずる・ ここで、本来正しい筆順として第2番目に書くべきスト
ロークを、第番番目に曹いたとき、筆順変動量をi−)
と定義すれば、 ストローク数m、 、 m、 、・・・扉いなるル個の
部分パターンで構成される文字を筆記したとき、筆順変
動量の最大値は、±l rnOL−(町、n2.・・・
9m・)−11である。
The partial patterns of ``blade'' and ``heart'' are written in this order, and the writing order of these partial patterns is almost never incorrect. However, the stroke-based Fudenowan is within each partial pattern.
Mistakes often occur.Here, when the correct stroke order is the stroke that should be drawn second, the stroke order variation is i-)
Then, when writing a character consisting of partial patterns with the number of strokes m, , m, , .・・・・・・
9m・)-11.

例えば、14画の文字「認」を、「言、刃、心」の3つ
の部分パターンで構成されているものと見なせば、各部
分パターンのストローク数ハ、7.3.4画なので、筆
順変動量の最大値は、±1max(7,3,1i)−I
I−±6である・しかし、この値は、7画の部分パター
ン「宮」を、筆順的に全く逆順に筆記したときめるいは
、第1(第7)番目に書くべきヌトロ−りを第7(第1
)番目に書いたときに対応し実際には、はとんど生じな
い。実際に筆記される文字においては、筆順変動量は、
かなり小さいものである。
For example, if we consider the 14-stroke character ``recognition'' as consisting of three partial patterns: ``word, blade, and heart,'' the number of strokes in each partial pattern is 7.3.4 strokes. The maximum value of stroke order variation is ±1max(7,3,1i)-I
I-±6.However, if you write the 7-stroke partial pattern "Miya" in completely reverse stroke order, this value will change the number of strokes that should be written in the first (seventh) position. 7th (1st
), which corresponds to when written in practice, rarely occurs. In the characters actually written, the amount of variation in stroke order is
It is quite small.

第1図は、教育漢字の8画文字、27名文の文字計25
38字中、筆順誤シの存在する文字626字の2608
 (= 326 X 8 )ストロークの筆順変動量の
分布を示したものである。
Figure 1 shows 8 stroke characters of educational kanji, 25 characters in total of 27 famous sentences.
Out of 38 characters, 2608 of 626 characters have stroke order errors.
(= 326 x 8 ) This shows the distribution of the stroke order variation amount of strokes.

同区に示すように、筆順変動量は、−7から7まで均一
に分布するのではなく、0を中心に狭い範囲に分布して
いる0例えば、筆順変動量−2から2までの分布の割合
は5’7.5%である。
As shown in the same section, the stroke order variation is not uniformly distributed from -7 to 7, but is distributed in a narrow range centered around 0. For example, the stroke order variation is distributed from -2 to 2. The ratio is 5'7.5%.

よって、この例の場合、入力文字の第を番目のス)o−
りは、本来i−2からi+2番目の標準パターンのスト
ロークのいずれかに対応すれは、97.5%の割合で正
しくストロークを対応つけることが可能でおると言える
Therefore, in this example, the th input character is the th st)o-
In other words, it is possible to correctly associate strokes with any one of the i-2 to i+2 standard pattern strokes at a rate of 97.5%.

第1図では8画の文字について示したが、前述したよう
に、筆順誤シは、部分パターン内で生ずることを考えれ
ば、他の画数の文字についても、回様の筆順変kh量の
分布を示すと考えられる。
Although Fig. 1 shows a character with 8 strokes, as mentioned above, considering that stroke order errors occur within a partial pattern, the distribution of the amount of stroke order change kh for characters with other stroke numbers can also be considered. This is considered to indicate that

本発明によるオンライン手書き文字認識方式は、このよ
うな筆順変動量の分布にもとづき、入力文字の第番番目
のストロークと標準パターンの第i−A番目から第&+
A番目までの2A+1個のストロークのみとのストロー
ク間類似度を計算し、そのうち最大類似度を与える標準
パターンのストロークを入力文字の第1番目のストロー
クに対応させ、入力文字の全てのストロークについて求
めた各最大角度の総和を以って、入力文字と標準パター
ンとのパターン間類似度とするものである。
The online handwritten character recognition method according to the present invention is based on the distribution of the stroke order variation amount, and the number stroke of the input character and the i-Ath to &+
Calculate the inter-stroke similarity with only 2A+1 strokes up to the A-th stroke, make the standard pattern stroke that gives the maximum similarity correspond to the first stroke of the input character, and calculate for all strokes of the input character. The sum of the maximum angles obtained is the inter-pattern similarity between the input character and the standard pattern.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第2図により説明する。 An embodiment of the present invention will be described below with reference to FIG.

第2図は、本発明の一実施例に使用する装置の構成図で
おって、1は、文字入力装置で、たとえはタブレットで
あり、文字を筆記中の筆記具いわゆる入力ペン2のタブ
レット1の組配置への圧着か否かを示す情報(以下ペン
アップダウン情報と称す。)および筆跡の座標値情報を
一定時間毎に出力するものである。3は、タブレットイ
ンタフェイス部で、タブレット1がらの出力信号をマイ
クロプロセッサ4に入力できる信号に変換するものであ
る。マイクロプロセッサ4は、タブレットインタフェイ
ス部3よシ入力した入力文字の情報をもとに、認識処理
を行ない認識結果である標準パターンの文字コードを出
力インタフェイヌ部5を介して出力端子8に出力する動
作を行なうものである。6は、例えばランダムアクセス
メモリ(RAM)−T:l>D認識処理における作業領
域などに用いるものである。7は、例えばリードオンリ
メモリ(ROM)であり、照合すべき標準パターンの情
報およびマイクロプロセッサ4の動作を規定するプログ
ラムなどを記録しておくものである。
FIG. 2 is a block diagram of a device used in an embodiment of the present invention, in which 1 is a character input device, for example a tablet, and the tablet 1 is a writing instrument used to write characters, so-called input pen 2. Information indicating whether or not the pen is crimped to the set arrangement (hereinafter referred to as pen up-down information) and coordinate value information of handwriting are output at regular intervals. 3 is a tablet interface unit that converts an output signal from the tablet 1 into a signal that can be input to the microprocessor 4; The microprocessor 4 performs recognition processing based on the input character information inputted through the tablet interface unit 3 and outputs a standard pattern character code, which is the recognition result, to the output terminal 8 via the output interface unit 5. It performs the following actions. 6 is used, for example, as a work area in a random access memory (RAM)-T:l>D recognition process. Reference numeral 7 denotes a read-only memory (ROM), for example, which records information on the standard pattern to be verified, a program defining the operation of the microprocessor 4, and the like.

以下、第2図のマイクロプロセッサ4が行なう認識処理
の概要を第3図を用いて説明する。
An overview of the recognition processing performed by the microprocessor 4 in FIG. 2 will be described below with reference to FIG. 3.

認識処理は、入力文字データの取込み処理41゜前処理
42.特徴抽出処理43.識別処理44および識別結果
の出力45の手順で行なう。
The recognition process includes input character data import processing 41. Preprocessing 42. Feature extraction process 43. This is carried out by the steps of identification processing 44 and identification result output 45.

まず入力文字データの取込み処理41は、タブレット1
上に入力ペン2で筆記された1文字分の文字情報(ペン
アップダウン情報および筆跡の座標値情報)をタブレッ
トインタフェイス部3を介して一定時間毎に取込み、R
AM乙の所定のエリアに格納する。そして、前処理42
において、ペンアップダウン情報をもとに、入力文字の
ストローク数を検出するとともに、入力文字情報を、各
ス)o−り毎の筆点座標値系列に分離する。さらに、公
知の雑音除去、筆点座標値系列の正規化および位置、大
きさ等の前処理を行なう。
First, the input character data import process 41 is performed on the tablet 1.
The character information (pen up-down information and handwriting coordinate value information) for one character written on the top with the input pen 2 is taken in at regular intervals via the tablet interface section 3, and the R
AM Store it in a predetermined area of B. And pre-processing 42
In this step, the number of strokes of an input character is detected based on the pen up-down information, and the input character information is separated into a series of pen point coordinate values for each stroke. Further, known noise removal, normalization of the writing point coordinate value series, and preprocessing of position, size, etc. are performed.

上記前処理された入力文字情報にもとづいて特徴抽出処
理43において、公知の特徴抽出を行なう。特徴抽出さ
れた入力文字情報文は、入力文字のストローク数をM、
特徴抽出されたストロークの各々を筆順(ストローク順
)にX、 、 X、 、・・・・、xMとすれば、 大= (X+ 、 X2 、・・・、X、)・・・・・
・・−・・・・・・・・・・・・・・・・(1)なる多
次元ベクトル空間で表わされる。
In a feature extraction process 43, known feature extraction is performed based on the preprocessed input character information. The input character information sentence from which features have been extracted has the number of strokes of the input character M,
If each of the extracted strokes is written in stroke order (stroke order) as X, , X, ,..., xM, then large = (X+, X2,...,
It is expressed in a multidimensional vector space called ・・・-・・・・・・・・・・・・・・・(1).

この特徴抽出された入力文字・jh報Xiもとに識別処
理44において、照合すべき標準パターンとのパターン
間類似度ρゝを求め、最大パターン間類似度を与える標
準パターンの文字コードPCを識別結果とする。そして
、この識別結果を、識別結果の出力45にて、出力イン
タフェイス部5を介して出力端子8に出力する。
Based on the extracted input characters/jh information Xi, in the identification process 44, the inter-pattern similarity ρ with the standard pattern to be matched is determined, and the character code PC of the standard pattern that gives the maximum inter-pattern similarity is identified. Result. Then, this identification result is outputted to the output terminal 8 via the output interface section 5 as an identification result output 45.

識別処理44の処理は、まず441にて最大パターン間
類似度ρ11111JをCo (定数)に初期設定し、
照合すべき標準パターンS(ただしt=1〜Lで、Lは
照合すべき標準パターンの数)とのパターン間類似度ρ
0を443にて計算し、4441にてρ′がρ二、1よ
り犬なるとき、4442にてρ二1、をこのρ0に置換
するとともに、4443にてこのときの標準パターンy
の文字コードPC′を文字コードPCに記憶する。この
手順を、442にて照合すべき標準パターンの個数り個
について、くシ返す。このとき、照合すべき標準パター
ン群は、入力文字のストローク数Mと等しい標準パター
ンで、ROM yに所定の順序で格納されているものか
ら、順次マイクロプロセッサ4に取込み、パターン間類
似度を計算する。
In the identification process 44, first, in 441, the maximum inter-pattern similarity ρ11111J is initialized to Co (constant),
Inter-pattern similarity ρ with the standard pattern S to be matched (where t=1 to L, L is the number of standard patterns to be matched)
0 is calculated at 443, and when ρ' is greater than ρ2, 1 at 4441, ρ21 is replaced with this ρ0 at 4442, and the standard pattern y at this time is calculated at 4443.
The character code PC' is stored in the character code PC. This procedure is repeated at step 442 for each standard pattern to be matched. At this time, the group of standard patterns to be matched are standard patterns equal to the number of strokes M of the input characters, which are stored in the ROM y in a predetermined order, and are sequentially imported into the microprocessor 4 to calculate the similarity between the patterns. do.

以下本発明の特徴である443におけるパターン間類似
度ρ6の計算法を、第4図に一例を示して説明する。
The method of calculating the inter-pattern similarity ρ6 in step 443, which is a feature of the present invention, will be described below with reference to an example shown in FIG.

パターン間類似度ρ゛は、入力文生えのストロークX、
と標準パターンyのストロークS′ と! のス)o−り間類似度にもとづいて求める。
The similarity between patterns ρ゛ is the stroke X of the input sentence,
and the stroke S' of the standard pattern y! Step 2) Calculate based on the similarity between the two points.

ここで、標準パターンS の各ストロークラストローク
順にS、 、 S、 、・・・、S5とすれば、標準パ
ターン斥′は、 +t S=(S、、St、・・・、、5.)・・・・・・・・
・・・・・・・・叩・ +21なる多次元ベクトル空間
で表わされる。
Here, if each stroke stroke order of the standard pattern S is S, , S, , ..., S5, the standard pattern selection is +t S = (S,, St, ..., 5.)・・・・・・・・・
・・・・・・・・・Tap・ It is expressed in a multidimensional vector space of +21.

入力文字が必ずしも正しい筆順で書がれてぃないため、
入力文字と同一のカテゴリーの標準パターンとの照合と
の場合であっても、必ずしも、ストローク順序において
、一致する保証はない。すなわち、X、: S”;、 
X2; S: 、、、、、XM:斗 となる保証はない
。よって、入力文字の各ストo−りXiを、標準パター
ン鳶6の各ストロークStに正しく対応させ、正しく対
応したストローク間類度ρ8.の総和でもってパターン
間距離とする必要がある。
Because the input characters are not necessarily written in the correct stroke order,
Even when input characters are matched with standard patterns in the same category, there is no guarantee that they will match in stroke order. That is, X,: S”;,
There is no guarantee that X2; S: , , , , XM: Do. Therefore, each stroke Xi of the input character is made to correspond correctly to each stroke St of the standard pattern Tobi 6, and the degree of similarity between the strokes that corresponds correctly is ρ8. It is necessary to use the sum total as the inter-pattern distance.

入力文字のストロークXiの標準パターンノストローク
S、への対応づけは、前述した筆順変動量の分布(第1
図に示した)をもとに、筆順的K S、−jからSi 
+ Bまでのストロークのうち、最大ストローク間類似
度ρ:1.を与える標準パターンのストロークを対応さ
せる。そして、各ストロークXiに対応した標準パター
ンのストロークS′とのストローク間類似度ρ の総和
でもつノリ て、パターン間類似度ρCとする。
The correspondence between the stroke Xi of the input character and the standard pattern stroke S is based on the distribution of stroke order variation amount (first
) based on the stroke order K S, -j to Si
Among strokes up to +B, maximum inter-stroke similarity ρ: 1. Match the strokes of a standard pattern that gives . Then, the sum of the inter-stroke similarities ρ with the strokes S' of the standard pattern corresponding to each stroke Xi is defined as the inter-pattern similarity ρC.

以下このパターン間類似度ρCの計算法の手順を詳しく
説明する。
The procedure for calculating this inter-pattern similarity ρC will be explained in detail below.

まず、4431にて、パターン間類似度ρCの値を0に
初期設定する。そして、4432にて、入力文字の各ス
トローク順序毎に、以下に説明する4433 。
First, in 4431, the value of inter-pattern similarity ρC is initialized to 0. Then, at 4432, for each stroke order of the input character, 4433 is described below.

4434.4435.4436の処理をi=1〜Mまで
く9返す・ 4433では、入力文字のストロークXiに対する標準
パターンのストロークの対応すべき範囲を設定する。つ
まり、Xtに対して、峯順的にS かうS、、までの標
準パターンのストロ−クツS のいずれかに対応させるべき)’S、jEを設定する。
The processes of 4434, 4435, and 4436 are repeated 9 times from i=1 to M. In 4433, the range in which the strokes of the standard pattern should correspond to the strokes Xi of the input character is set. That is, for Xt, 'S' and jE are set which should correspond to any one of the standard pattern strokes S up to S in order.

ここでノSは、44331に示すようK、ノS=ムーA
ノ゛Eは44332 K示すように、ノE=i+Bとす
る。
Here, ノS is K as shown in 44331, and ノS=muA
No.E is 44332K. As shown, No.E=i+B.

また、443易の判定にてノ、5<1なるとき1.11
4334にてノ゛S = 1 、44335の判定にて
ノE>Nなるとき44336にてノ°E=Nとする。た
だし、Nは照合すべき標準パターンのストローク数で、
通常、入力文字のストローク数Mと同じ値である。
Also, when the judgment of 443 is 5<1, 1.11
If S=1 at 4334 and E>N as determined at 44335, then E=N at 44336. However, N is the number of strokes of the standard pattern to be matched,
Usually, it is the same value as the number of strokes M of the input character.

また、数値A、Bは、筆順変動量の分布にもとづいて決
定すべき値で、ここでは、ともに2として以下説明する
Further, the numerical values A and B are values that should be determined based on the distribution of the stroke order variation amount, and will be explained below assuming that both are 2 here.

第5図に入力文字のストローク数が8画の場合の各Xi
に対する標準パターンの対象ストローク範囲(斜線部以
外のところ)を示す。
Figure 5 shows each Xi when the number of strokes of the input character is 8 strokes.
The target stroke range (other than the shaded area) of the standard pattern is shown.

次に4434にて、最大ス)o−り間類像度ρ二、5の
値を定数C8に初期設定する。そして、4435にて、
先に設定したノS、ノEよりなる標準パターンのストロ
ークS、 ()=ノS〜ノE)に対して、入力文字のス
トロークXiとの各ストローク間類似度ρ、、を計算し
、そのうち最大値を与えるストローク間顛像度ρ二、1
を検出する。第5図において最大値を与えるρ8.を丸
印で囲んで表現しである。この検出は、44351にて
求めたストローク間類似度ρ、、が44352の判定に
てρ、、〉ρす、なるとき、714353にて、ρ乙、
=ρ、、と置換することによって行なう。そして、44
36にて、パターン間類似度ρ′にこのρ;、1を加算
、つまシρC=ρぐ+ρ二、1 を行なう。
Next, in step 4434, the value of the maximum degree of gradation ρ2,5 is initialized to a constant C8. And at 4435,
For the stroke S of the standard pattern consisting of ノS and ノE set previously, () = ノS ~ ノE), each inter-stroke similarity ρ with the stroke Xi of the input character is calculated, and among them The degree of image between strokes that gives the maximum value ρ2, 1
Detect. ρ8 which gives the maximum value in FIG. It is expressed by surrounding it with a circle. This detection is performed in 714353 when the inter-stroke similarity ρ, , determined in 44352 becomes ρ, 〉ρ,
This is done by replacing =ρ, . And 44
At step 36, this ρ;,1 is added to the inter-pattern similarity ρ', and the following formula is performed: ρC=ρ+ρ2,1.

この一連の処理手順によって、入力文字のストロークX
Lハ、標準パターンのストローク54(ノーi−2〜L
+2)のうち最大ストローク間類似度を与えるストロー
ク59  に対応させられ、これらの各Xiに対する対
応したS とのストローク間類似度(第5図における丸
印で囲んだρ1.の値)の総和でもって、パターン間類
似度ρCを得ることができる。
Through this series of processing steps, the stroke of the input character
Lc, standard pattern stroke 54 (no i-2~L
+2), which gives the maximum inter-stroke similarity, and the sum of the inter-stroke similarities (the value of ρ1. circled in Fig. 5) with the corresponding S for each of these Xi. Thus, the inter-pattern similarity ρC can be obtained.

以上の実施例では、入力文字のストロークXiを標準パ
ターンのストロ−クラ(ただし、)=i−A−i+B)
のうち最大ストローク間類似度を与えるストロークSL
に対応させるようにした処理 狸方法としたが、これに代えて、標準パターンのストロ
ークS′を入力文字のストロークXi(ただしL−ノー
A〜ノ十B)のウチ最大ストローク間類似度を与えるス
トロークXiに対応させるようにしても同様な効果が得
られることは言うまでもない。
In the above embodiment, the stroke Xi of the input character is a standard pattern stroker (where: )=i-A-i+B)
Stroke SL that gives the maximum similarity between strokes
However, instead of this, the stroke S' of the standard pattern is given the maximum similarity between strokes of the input character strokes Xi (L-No A to No 10 B). It goes without saying that the same effect can be obtained even if the stroke is made to correspond to the stroke Xi.

また、前述の実施例では、照合すべき標準パターンは、
入力文字のストロークIIMと等しいものとしたが、こ
の限りではなく、例えば、入力文字において、続は書き
が生じ、本来の文字よりストローク数が減少したような
入力文字の認識においても、本処理方法によって認識可
能とすることができる。例えば、入力文字にル個所の続
は書きを許すとすれば、照合すべき標準パターンは、入
力文字のストローク数がMのとき、M、M+1.・・・
1M+ル なる標準パターン群とすれば良い。
Furthermore, in the above embodiment, the standard pattern to be matched is
Although it is assumed that the stroke IIM is equal to the stroke IIM of the input character, this is not limited to this. For example, the present processing method can also be applied to the recognition of input characters in which the number of strokes is reduced compared to the original character due to the occurrence of writing in the input character. can be made recognizable by For example, if it is allowed to write the continuation of the input character, the standard pattern to be matched is, when the number of strokes of the input character is M, M, M+1, . ...
A standard pattern group of 1M+le may be used.

またこのとき、標準パターンのストローク数A’ = 
M、 Jf + i 、・・・1M+ルに対して、対象
となるストローク範囲を設定する定数Bを例えば、2.
3.・・・、2+7Lのように設定すれば良い。
Also, at this time, the number of strokes of the standard pattern A' =
For example, the constant B that sets the target stroke range for M, Jf + i, . . . 1M+le is 2.
3. ..., just set it like 2+7L.

また、定数A、Bは、認識の精度に応じて、可変するこ
とも可能である。
Further, the constants A and B can also be changed depending on the accuracy of recognition.

〔発明の効果−〕[Effects of the invention-]

以上説明したように1本発明によれば、入力文字に華順
誤りが存在する場合でも、入力文字と標準パターンとの
各ストロークを正しく対応させ、かつ、パターン間類似
度の計算時間を大幅に低減させることができる。
As explained above, according to the present invention, even if there is a flower order error in the input character, each stroke between the input character and the standard pattern can be correctly matched, and the time required to calculate the similarity between patterns can be significantly reduced. can be reduced.

例えば、入力文字のストロークXiに対する標準パター
ンのストロークS とのストローク間類像度ρ、、の計
算の範囲をノー2からノ+2までとすれば、入力文字が
8画の場合、ρ、、の計算回数は、34回となり従来の
64回に比し約53チに低減することができる。この値
は、画数が多くなるほど効果的で、12画では約35%
、18画では約26%となる。
For example, if the calculation range of the stroke similarity ρ, , between the stroke Xi of the input character and the stroke S of the standard pattern is from No2 to No+2, if the input character has 8 strokes, then ρ, , The number of calculations is 34, which can be reduced to about 53 compared to 64 in the conventional method. This value is more effective as the number of strokes increases; for 12 strokes, it is approximately 35%
, it is about 26% for 18 strokes.

このことは、画数が多くかつカテゴリー数の多い漢字は
ど、本発明によるパターン間類似度計算の大幅な低減を
可能にすることを示すものである。また、本発明は、処
理量の低減効果のみならず、入力文字のストロークXi
に対する標準パターンのストロークの対応の範囲を筆順
変動量の分布にもとづき、制限することによって7、)
ロークXiと標準パターンストロークSLノル −ノ1が極端に大きなストロークの誤対応をさけること
ができる。これは、ストローク間類似度ρ、Jをストロ
ークの形状情報のみで定義するような認識方式において
有効となる。なんとなれば、漢字は、同一あるいは類似
した形状のス1−o−りの組み合せでおるから、I i
 −)’ Iが極端に大きな対応が最大類似度を与える
ことがしばしば生ずるからである。
This shows that for kanji characters with a large number of strokes and a large number of categories, it is possible to significantly reduce the calculation of similarity between patterns according to the present invention. In addition, the present invention not only has the effect of reducing the amount of processing, but also
(7) by limiting the range of correspondence of standard pattern strokes to the stroke order based on the distribution of stroke order variations.
Roke Xi and standard pattern stroke SL Nor-no 1 can avoid mismatching of extremely large strokes. This is effective in a recognition method in which the inter-stroke similarity ρ, J is defined only by stroke shape information. This is because kanji are a combination of letters 1-o-ri with the same or similar shape, so I i
-)' This is because it often happens that correspondences with extremely large I give the maximum similarity.

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

第1図は筆順変動量の分布を示す図、第2図は本発明に
よるオンライン手書き文字認識方式を行なう構成の一例
を示す図、第3図は認識処理の概略手順を示す図、第4
図は本発明によるパターン間類似度の計算手順を示す図
、第5図はパターン間類似度の計算の動作を説明するた
めの概念図である。 1・・・・・・・・・・・タブレット 2・・・・・・・・・・・・入力ヘン 4・・・・・・・・・・・・マイクロプロセッサ6・・
・・・・・・・・・・RAM 7・・・・・・・・−・・ROM 443・・・・・・パターン間類似度計算処理4433
・・・・・対象ストローク範囲の設定処理鬼  1 図
FIG. 1 is a diagram showing the distribution of stroke order variation, FIG. 2 is a diagram showing an example of the configuration for performing the online handwritten character recognition method according to the present invention, FIG. 3 is a diagram showing the general procedure of recognition processing, and FIG.
FIG. 5 is a diagram showing a procedure for calculating similarity between patterns according to the present invention, and FIG. 5 is a conceptual diagram for explaining the operation of calculating similarity between patterns. 1...Tablet 2...Input 4...Microprocessor 6...
...... RAM 7...ROM 443... Inter-pattern similarity calculation process 4433
... Setting processing of target stroke range 1 Figure

Claims (1)

【特許請求の範囲】 1、認識すべき入力文字の各ストロークと照合されるべ
き標準パターンの各ストロークとのストローク間類似度
を計算し、該各ストローク間類似度を行列要素とするス
トローク間類似度行列にもとづいて、該入力文字を認識
するオンライン手書き文字認識方式において、該入力文
字の筆順的に第i番目のストロー クXiと標準パターンθの第j番目のストロークとのス
トローク間類似度ρ_i_j ここで、j=jS〜jEで jS=i−A、jE=i+B ただし、jS<1のときjS=1 jE>NのときjE=N Nは、標準パターンのスト ローク数 3 A、Bは、正の整数 を求め、このうち最大値を示すストローク間類度を検出
し、入力文字のすべてのストロークについて、検出した
各最大値を示すストローク間類似度の総和を、該標準パ
ターンθとのパターン間類似度とし、照合すべき標準パ
ターンのうち最大のパターン間類似度を与える標準パタ
ーンのコードを該認識すべき入力文字の認識結果とする
ことを特徴とするオンライン手書き文字認識方式。 2、該正の整数A、Bを、該認識すべき入力文字のスト
ローク数に無関係に、一定の値にしたことを特徴とする
特許請求の範囲第1項記載のオンライン手書き文字認識
方式。 3、該正の整数A、Bを、該認識すべき入力文字のスト
ローク数Mと、該照合すべき標準パターンのストローク
数Nとの差に応じて可変することを特徴とする特許請求
の範囲第1項記載のオンライン手書き文字認識方式。
[Claims] 1. Inter-stroke similarity between each stroke of an input character to be recognized and each stroke of a standard pattern to be matched is calculated, and the inter-stroke similarity is used as a matrix element. In an online handwritten character recognition method that recognizes the input character based on the degree matrix, the inter-stroke similarity ρ_i_j between the i-th stroke Xi of the input character in stroke order and the j-th stroke of the standard pattern θ So, j=jS to jE, jS=i-A, jE=i+B However, when jS<1, jS=1 When jE>N, jE=N N is the number of strokes of the standard pattern 3 A and B are the positive Find the integer of , detect the inter-stroke similarity that shows the maximum value, and calculate the sum of the inter-stroke similarities that show the detected maximum value for all strokes of the input character, and calculate the integer between the patterns with the standard pattern θ. An online handwritten character recognition method characterized in that a code of a standard pattern that gives a maximum similarity between patterns among standard patterns to be matched is used as a recognition result of the input character to be recognized. 2. The online handwritten character recognition method according to claim 1, wherein the positive integers A and B are constant values regardless of the number of strokes of the input character to be recognized. 3. Claims characterized in that the positive integers A and B are varied according to the difference between the number of strokes M of the input character to be recognized and the number of strokes N of the standard pattern to be compared. The online handwritten character recognition method described in Section 1.
JP59208178A 1984-10-05 1984-10-05 Recording system for on-line handwritten character Granted JPS6186881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59208178A JPS6186881A (en) 1984-10-05 1984-10-05 Recording system for on-line handwritten character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59208178A JPS6186881A (en) 1984-10-05 1984-10-05 Recording system for on-line handwritten character

Publications (2)

Publication Number Publication Date
JPS6186881A true JPS6186881A (en) 1986-05-02
JPH0465431B2 JPH0465431B2 (en) 1992-10-20

Family

ID=16551949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59208178A Granted JPS6186881A (en) 1984-10-05 1984-10-05 Recording system for on-line handwritten character

Country Status (1)

Country Link
JP (1) JPS6186881A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212298B1 (en) 1995-09-08 2001-04-03 Canon Kabushiki Kaisha Character recognition apparatus, method and computer readable memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212298B1 (en) 1995-09-08 2001-04-03 Canon Kabushiki Kaisha Character recognition apparatus, method and computer readable memory

Also Published As

Publication number Publication date
JPH0465431B2 (en) 1992-10-20

Similar Documents

Publication Publication Date Title
EP0114248B1 (en) Complex pattern recognition method and system
EP0114250B1 (en) Confusion grouping of strokes in pattern recognition method and system
US4718102A (en) Process and apparatus involving pattern recognition
US5315667A (en) On-line handwriting recognition using a prototype confusability dialog
US20130044943A1 (en) Classifier Combination for Optical Character Recognition Systems
JPS6186881A (en) Recording system for on-line handwritten character
JPS62111369A (en) Symbol recognition system
JP3977473B2 (en) Handwritten character recognition method and handwritten character recognition apparatus
JP3128357B2 (en) Character recognition processor
JP7285018B2 (en) Program, erroneous character detection device, and erroneous character detection method
JP3037727B2 (en) OCR system
JP2851865B2 (en) Character recognition device
JPS60247793A (en) On-line recognition device for handwritten character
Mukherjee et al. An efficient feature vector for segmentation-free recognition of online cursive handwriting based on a hybrid deep neural network
JPS60217483A (en) Recognizer of character
JP3015137B2 (en) Handwritten character recognition device
JPH10334187A (en) Device and method for character recognition
JP2727975B2 (en) Handwritten symbol recognition system
JPS61290584A (en) Information recognizing device
JP2519782B2 (en) Character separation method
JP2824704B2 (en) Character recognition device
JPH10247221A (en) On-line character recognizing device
JPS61114387A (en) Recognizer of on-line handwritten character
JPS608991A (en) Registering system of on-line handwriting character recognizing dictionary
JPH05324920A (en) Pattern recognizing device