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
JPH0366703B2 - - Google Patents
[go: Go Back, main page]

JPH0366703B2 - - Google Patents

Info

Publication number
JPH0366703B2
JPH0366703B2 JP58013259A JP1325983A JPH0366703B2 JP H0366703 B2 JPH0366703 B2 JP H0366703B2 JP 58013259 A JP58013259 A JP 58013259A JP 1325983 A JP1325983 A JP 1325983A JP H0366703 B2 JPH0366703 B2 JP H0366703B2
Authority
JP
Japan
Prior art keywords
strokes
stroke
pattern
standard
inter
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
JP58013259A
Other languages
Japanese (ja)
Other versions
JPS59139483A (en
Inventor
Tooru Wakahara
Michio Umeda
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
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 Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP58013259A priority Critical patent/JPS59139483A/en
Publication of JPS59139483A publication Critical patent/JPS59139483A/en
Publication of JPH0366703B2 publication Critical patent/JPH0366703B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 (1) 発明の属する分野の説明 本発明は、誤筆順あるいは誤画数によつても文
字識別能力が低下しないオンライン手書き文字認
識方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Description of the field to which the invention pertains The present invention relates to an online handwritten character recognition system in which character recognition ability does not deteriorate even due to incorrect stroke order or number of incorrect strokes.

(2) 従来の技術の説明 従来のオンライン手書き文字認識方式において
は、CRの場合と異なり、入力パターンが画数
(ストローク数)情報を含んでいることを利用し
て、認識すべき入力パターンは、これと画数の等
しい標準パターンとの間でだけ照合を行つて認識
する手法を採つていた。この場合、画数は正しく
筆記せねばならないという制約があつた。しか
し、画数の多い漢字など、形状が複雑になるほ
ど、画数を誤ることは多くなり、画数を正しく守
るという制約条件は、筆記者にとつて大きな負担
となつていた。
(2) Description of conventional technology In the conventional online handwritten character recognition method, unlike the case of CR, the input pattern to be recognized is The method used was to perform recognition by matching only this pattern with a standard pattern with the same number of strokes. In this case, there was a restriction that the number of strokes had to be written down correctly. However, the more complex the shape, such as a kanji with a large number of strokes, the more likely it is that the number of strokes is incorrect, and the constraint of maintaining the correct number of strokes was a heavy burden on scribes.

これを解決する1つの方法としては、画数を誤
りやすい文字について、画数の異なる様々な筆記
のしかたをすべて標準パターンとして登録してお
くことが考えられる。しかし、1つ1つの文字に
ついて画数の異なる書き方をすべて列挙すること
は実際上不可能であり、仮にそれらの一部だけを
標準パターンとして登録したとしても、標準パタ
ーン数が膨大なものとなるため、認識に要する計
算処理量が急増する上、登録してない誤画数で筆
記された場合は必ず誤認識になるという欠点があ
つた。
One way to solve this problem is to register all the various ways of writing characters with different numbers of strokes as standard patterns for characters that are likely to have incorrect stroke counts. However, it is practically impossible to list all the different ways of writing each character with different numbers of strokes, and even if only some of them were registered as standard patterns, the number of standard patterns would be enormous. However, the amount of calculation required for recognition increases rapidly, and if the number of incorrect strokes is not registered, it will always be recognized incorrectly.

もう1つの解決方法として、画数は正しく様々
な筆順の標準パターンを登録しておき、入力パタ
ーンが誤画数で筆記されることを想定し、入力パ
ターンおよび標準パターンとも一筆書きに変換し
認識を行うことが考えられたが、一筆書きパター
ンは手書き変形に敏感で誤認識を生じ易く、登録
されてない筆順には全く対処できないという欠点
があつた。
Another solution is to register standard patterns with the correct number of strokes in various stroke orders, and assuming that the input pattern is written with the wrong number of strokes, convert both the input pattern and the standard pattern into single strokes for recognition. However, the single stroke pattern was sensitive to handwritten deformation and could easily cause misrecognition, and it had the disadvantage that it could not handle unregistered stroke orders at all.

さらにもう1つの解決方法として、正しい筆
順・画数のもののみ標準パターンに登録してお
き、入力パターンが誤筆順、誤画数で筆記された
場合も、標準パターンとの間で画数の少ない方の
パターンのストロークを相手パターンのストロー
クにすべて対応させ画数の多い方のパターンの未
反応ストロークをそれぞれ筆順で先行する既対応
ストロークに結合し画数をそろえてから認識を行
うことが考えられた(特願昭57−46080)が、誤
画数で筆記した際に生じる特有の手書き変形のた
めに前段のストローク対応を誤ると後段での筆順
に従うストロークの結合も誤り、そのために誤認
識を生じるという欠点を持つていた。
Another solution is to register only the correct stroke order and number of strokes in the standard pattern, and even if the input pattern is written in the wrong stroke order and number of strokes, the pattern with the smaller number of strokes from the standard pattern can be registered. The idea was to match all the strokes of the other pattern to the strokes of the other pattern, and combine the unresponsive strokes of the pattern with the larger number of strokes with the previous corresponding strokes in the stroke order, and perform recognition after matching the number of strokes. 57-46080), but due to the unique handwriting deformation that occurs when writing with an incorrect number of strokes, if the stroke correspondence in the previous stage is incorrect, the combination of strokes that follow the stroke order in the latter stage will also be incorrect, resulting in erroneous recognition. Ta.

(3) 発明の目的 本発明は、上述した従来の問題点を解決して、
標準パターンとしては正しい筆順・画数のものの
み登録しておくだけで誤筆順、誤画数の筆記を許
し、とくに誤画数での筆記に伴う手書き変形に対
処して文字認識能力を低下させることのないオン
ライン手書き文字認識方式を提供することを目的
とする。
(3) Purpose of the invention The present invention solves the above-mentioned conventional problems, and
By simply registering only the correct stroke order and number of strokes as standard patterns, writing in the wrong stroke order and number of strokes is allowed, and in particular, handwriting deformation caused by writing with the wrong number of strokes can be dealt with without degrading character recognition ability. The purpose is to provide an online handwritten character recognition method.

(4) 発明の構成および作用の説明 以下に、本発明の詳細を実施例によつて説明す
る。
(4) Description of structure and operation of the invention The details of the present invention will be explained below with reference to Examples.

第1図は本発明の1実施例に使用する装置の機
能ブロツク図であつて、1は文字情報入力装置、
2は前処理装置、3はストローク特徴点抽出装
置、4は標準パターン格納装置、5はストローク
間距離算出装置、6はストローク対応づけ装置、
7は選択的ストローク結合装置、8はパターン間
距離計算装置、9は最小距離値検出装置であり、
以下各装置の動作について具体的に説明する。
FIG. 1 is a functional block diagram of a device used in one embodiment of the present invention, in which 1 is a character information input device;
2 is a preprocessing device, 3 is a stroke feature point extraction device, 4 is a standard pattern storage device, 5 is an inter-stroke distance calculation device, 6 is a stroke correspondence device,
7 is a selective stroke combination device, 8 is an inter-pattern distance calculation device, 9 is a minimum distance value detection device,
The operation of each device will be specifically explained below.

文字情報入力装置1は、既存のタブレツトから
構成され、入力パターンの各ストロークの筆跡の
X、Y座標を一定時間間隔で入力し、その筆点列
を前処理装置2に送出する。
The character information input device 1 is composed of an existing tablet, inputs the X and Y coordinates of the handwriting of each stroke of the input pattern at fixed time intervals, and sends the string of strokes to the preprocessing device 2.

前処理装置2は文字情報入力装置1から送出さ
れた筆点列に、公知の技術に基づき雑音除去や平
滑化や位置・大きさの正規化などを施し、その結
果得られる筆点列をストローク特徴点抽出装置3
に送出する。
The preprocessing device 2 performs noise removal, smoothing, normalization of position and size, etc. on the pen point sequence sent from the character information input device 1 based on known techniques, and processes the resulting pen point sequence into strokes. Feature point extraction device 3
Send to.

ストローク特徴点抽出装置3は、前処理装置2
から送出された各ストロークの筆点列に対し、ス
トローク上で曲線に沿う長さをあらかじめ定めた
刻み距離値△で等間隔に刻んでその位置に最も近
い筆点を順次選出して、各ストロークを代表する
特徴点列を抽出する。
The stroke feature point extraction device 3 is a preprocessing device 2.
For each stroke's line of pen points sent from Extract a sequence of feature points representative of .

入力パターンをS〓と記し、S〓はN個のストロー
クS1、…、Si…、SNから成つており、各ストロー
クの特徴点はX、Y座標を連ねてSi=(x1i、y1i
…、xoi、yoi)と表わされる。ここでnはSiに含
まれる特徴点の個数で、iは1≦i≦Nで筆順を
表わし、正しい筆順とは異なつていても構わな
い。入力パターンS〓より抽出したストローク特徴
点列は、ストローク間距離算出装置5と選択的ス
トローク結合装置7に送出される。
The input pattern is written as S〓, and S〓 consists of N strokes S 1 , ..., S i ..., S N , and the feature points of each stroke are expressed by connecting the X and Y coordinates as S i = ( , y 1i ,
..., x oi , y oi ). Here, n is the number of feature points included in S i , and i represents the stroke order with 1≦i≦N, which may be different from the correct stroke order. The stroke feature point sequence extracted from the input pattern S is sent to the inter-stroke distance calculation device 5 and the selective stroke combination device 7.

標準パターン格納装置4は、照合すべきすべて
の文字カテゴリーについて、正しい筆順・画数で
筆記されたおのおのの平均パターンから上述の刻
み距離値△を用いて各ストローク上で等間隔に抽
出したストローク特徴点のX、Y座標値系列を格
納しており、正しい筆順・画数を持つ該ストロー
ク特徴点列は、標準パターンとしてストローク間
距離算出装置5と選択的ストローク結合装置7に
送出される。
The standard pattern storage device 4 stores stroke feature points extracted at equal intervals on each stroke using the above-mentioned increment distance value △ from each average pattern written in the correct stroke order and number of strokes for all character categories to be matched. The stroke feature point sequence having the correct stroke order and number of strokes is sent to the inter-stroke distance calculation device 5 and the selective stroke combination device 7 as a standard pattern.

ストローク間距離算出装置5はストローク特徴
点抽出装置3から送出された入力パターンS〓の特
徴点列と標準パターン格納装置4から送出された
標準パターンの特徴点列との間ですべてのストロ
ーク対についてストローク間距離を算出する。
The inter-stroke distance calculation device 5 calculates all stroke pairs between the feature point sequence of the input pattern S sent out from the stroke feature point extraction device 3 and the feature point sequence of the standard pattern sent out from the standard pattern storage device 4. Calculate the distance between strokes.

標準パターンR〓と記し、R〓はM個のストローク
R1、…、Rj、…RMから成つており、第jストロ
ークRjは特徴点のX、Y座標を連ねてRj=(x1j
y1j、…、xnj、ynj)で表わすものとする。ここで
mはRjに含まれる特徴点の個数で、jは1≦j
≦Mで正しい筆順を表わす。入力パターンS〓の第
iストロークSi(x1i、y1i、…、xoi、yoi)(1≦i
≦N)と標準パターンR〓の第jストロークRj
(x1j、y1j、…、xnj、ynj)との少ない方の特徴点
数に基づくストローク間距離dijは、例えば2乗距
離を用いると、m≧nの場合には、 dij=αij・min 0≦R≦m−n Ni=1 {(xk+p,i−xkj2+(yk+p,i−ykj2}(1) により算出される。ここでαijは特徴点数の違い
を評価する因子で、例えばαij=m/nを用いる。
m<nの場合のdijの算出式は、上記式(1)でmとn
及びxとx′とそれぞれ交換したものになる。な
お、式(1)においてmin操作を行わず、始点あるい
は終点を合わせた2乗距離を用いることもでき
る。式(1)によりすべてのストローク対についてdij
を算出し、総数M・N個のストローク間距離値を
ストローク対応づけ装置6に送出する。
The standard pattern is written as R〓, where R〓 is M strokes.
It consists of R 1 , ..., R j , ... R M , and the j-th stroke R j connects the X and Y coordinates of the feature points to R j = (x 1j ,
y 1j , ..., x nj , y nj ). Here, m is the number of feature points included in R j , and j is 1≦j
≦M represents the correct stroke order. i-th stroke S i (x 1i , y 1i , ..., x oi , y oi ) (1≦i
≦N) and the j-th stroke R j of the standard pattern R〓
The inter-stroke distance d ij based on the smaller number of feature points of (x 1j , y 1j , ..., x nj , y nj ) is, for example, using the squared distance. If m≧n, d ij = α ij・min 0≦R≦m−n Ni=1 {(x k+p,i −x kj ) 2 +(y k+p,i −y kj ) 2 }(1) . Here, α ij is a factor for evaluating the difference in the number of feature points, and for example, α ij =m/n is used.
The formula for calculating d ij when m<n is m and n in the above formula (1).
and x and x', respectively. Note that in equation (1), it is also possible to use the square distance of the starting point or ending point without performing the min operation. By equation (1), d ij for all stroke pairs
is calculated, and a total of M·N inter-stroke distance values are sent to the stroke matching device 6.

ストローク対応づけ装置6は、ストローク間距
離算出装置5から送出されたM・N個のストロー
ク間距離値を用いて、ストローク数の少ない方の
パターンのすべてのストロークに対して相手パタ
ーンの中から同数のストロークを選出し、それぞ
れ対応づける。具体的にはストローク数M、Nの
大小に応じて、M≧Nのときは入力パターンの第
iストロークSiの対応ストロークを標準パターン
の第jiストロークとして、Mj=1 dijiを最小としかつ
j1、j2、…、jNに重複がないという条件を満たす
N個のストローク対を決定し、M<Nのときは標
準パターンの第jストロークRjの対応ストロー
クを入力パターンの第ijストロークとして、Ni=1 dijj
を最小としかつi1、i2、…、iMに重複がないM個
のストローク対を決定する。ストローク対応の決
定結果は、選択的ストローク結合装置7へ送出さ
れる。
The stroke matching device 6 uses the M/N inter-stroke distance values sent from the inter-stroke distance calculation device 5 to match the same number of strokes from the opponent pattern for all strokes of the pattern with the smaller number of strokes. Select the strokes and associate them with each other. Specifically, depending on the magnitude of the number of strokes M and N, when M≧N, the corresponding stroke of the i-th stroke S i of the input pattern is taken as the j -th stroke of the standard pattern, and Mj=1 d iji . minimum and
Determine N stroke pairs that satisfy the condition that j 1 , j 2 , ..., j N have no overlap, and when M<N, the corresponding stroke of the j-th stroke R j of the standard pattern is used as the i-th stroke of the input pattern. As j stroke, Ni=1 d ijj
Determine M stroke pairs with the minimum value and no overlap in i 1 , i 2 , . . . , i M . The stroke correspondence determination results are sent to the selective stroke combination device 7.

第2図に、5画で筆記された誤画数・誤筆順の
入力パターン「字」と正しく6画で筆記された標
準パターンの「字」とのストローク対応の例を示
す。丸印が対応を表わす。標準パターンの第5ス
トロークR5が未対応である。図中、ストローク
上の黒丸は特徴点の位置を表わす。
FIG. 2 shows an example of the stroke correspondence between an input pattern "character" written in five strokes with the number of incorrect strokes and the order of incorrect strokes, and a "character" in a standard pattern correctly written in six strokes. Circles indicate correspondence. The fifth stroke R5 of the standard pattern is not supported. In the figure, black circles on the stroke represent the positions of feature points.

選択的ストローク結合装置7は、ストローク特
徴点抽出装置3から送出された入力パターンのス
トローク特徴点および標準パターン格納装置4か
ら送出された標準パターンのストローク特徴点を
一時格納し、スローク対応づけ装置6より送出さ
れたストローク対応結果に基づき、ストローク数
の多いパターンの中で未対応として残つたストロ
ークについてそれぞれ筆順で前後する該パターン
の2本の既対応ストロークのいすれかとの結合の
うち相手パターン中の対応ストロークとの間で特
徴点列に基づく始点・終点を合せたストローク間
距離を計算し、該距離が小さくなる方の結合を選
択して実行する装置である。
The selective stroke combination device 7 temporarily stores the stroke feature points of the input pattern sent from the stroke feature point extraction device 3 and the stroke feature points of the standard pattern sent from the standard pattern storage device 4, and Based on the stroke correspondence results sent from the above, the remaining uncorresponding strokes in a pattern with a large number of strokes are combined with one of the two corresponding strokes of the pattern that precede and follow each other in the stroke order, in the other pattern. This device calculates the inter-stroke distance between the corresponding strokes by combining the start point and end point based on the feature point sequence, and selects and executes the combination that reduces the distance.

以下、選択的ストローク結合装置7の具体的動
作について、M≧NとM<Nの場合に分けて詳述
する。
Hereinafter, the specific operation of the selective stroke coupling device 7 will be explained in detail separately for the cases of M≧N and M<N.

M≧Nの場合、スローク対応づけ装置6により
標準パターンと入力パターンの間でN個のストロ
ーク対が決定されている。標準パターン内のそれ
らN本のストロークをRp1、Rp2、…、Rpk、…、
RpNと記し、添字は次式により筆順の若い順に付
す。
If M≧N, the stroke matching device 6 has determined N stroke pairs between the standard pattern and the input pattern. Those N strokes in the standard pattern are Rp 1 , Rp 2 , ..., Rp k , ...,
It is written as Rp N , and the subscripts are added in ascending order of stroke order using the following formula.

1≦p1<p2<…<pK<…<pN≦M (2) また、Rpk(1≦k≦N)はそれぞれ入力パタ
ーン内のSqk(1≦k≦N)と対応づけられてい
るものとする。本装置は、標準パターン内のM−
N本の未対応ストロークを順に既対応ストローク
に選択的に結合していく。いま、標準パターン内
の着目する未対応ストロークをRtと記す。i<
tを満たす未対応ストロークRiについては既に結
合相手が決定しているものとして、Rtの結合相
手の決定を次のようにして行う。
1≦p 1 <p 2 <...<p K <...<p N ≦M (2) Also, Rp k (1≦k≦N) corresponds to Sq k (1≦k≦N) in the input pattern, respectively. It is assumed that the This device supports M-
The N uncorresponding strokes are sequentially selectively combined with the corresponding strokes. Now, the uncorresponding stroke of interest in the standard pattern is denoted as Rt. i<
Assuming that the connection partner has already been determined for the uncorresponding stroke R i that satisfies t, the connection partner of Rt is determined as follows.

() t<p1の場合 式(2)により、この場合はRtに筆順で先行す
る既対応ストロークが存在しない。従つて、無
条件でRp1を結合相手とする。
() When t<p 1 According to equation (2), in this case, there is no corresponding stroke that precedes Rt in stroke order. Therefore, Rp 1 is unconditionally selected as the binding partner.

() pk<t<pk+1(1≦k≦N−1)の場合 Rpk自身およびRpkを結合相手とする未対応
ストローク群を合わせた中で、最も筆順の若い
ストロークをRuと記す。一般にu≦pkである。
ここで次に示す2種類の結合ストロークを生成
する。但し、〜は生起順にストロークを結合す
る操作を表わす。
() In the case of p k < t < p k+1 (1≦ k ≦N− 1 ), Ru It is written as In general, u≦p k .
Here, the following two types of combined strokes are generated. However, ~ represents an operation of combining strokes in the order of occurrence.

Rt′=Ru〜…〜Rpk〜…〜Rt−1〜Rt Rt″=Rt〜Rt+1〜…〜Rpk+1 第3図に、Rpk、Sqkの対応関係、および
Rt′とRt″の生成の概念図を示す。
Rt′=Ru〜…〜Rp k〜 …〜Rt−1〜Rt Rt″=Rt〜Rt+1〜…〜Rp k+1 Figure 3 shows the correspondence between Rp k and Sq k , and
A conceptual diagram of the generation of Rt′ and Rt″ is shown.

第3図に示したように、Rt′は入力パターン
内のSqkに対応すべきストロークである。一
方、Rt″はSqk+1に対応すべきストロークであ
る。そこで、Rt′とSqkおよびRt″とSqk+1との間
でそれぞれストローク間距離を算出して、その
値の小さい方の結合のしかたを選択する。すな
わち、次式により、Rtの結合相手を決定する。
As shown in FIG. 3, Rt' is the stroke that should correspond to Sq k in the input pattern. On the other hand, Rt″ is the stroke that should correspond to Sq k+1 . Therefore, calculate the distance between strokes between Rt′ and Sq k , and between Rt″ and Sq k+1 , and select the smaller value. Select the connection method. That is, the binding partner of Rt is determined by the following equation.

a′・d*qk,t′≦a″・d*qk+1,t″ →RtをRpkに結合 a′・d*qk,t′>a″・d*qk+1,t″ →RtをRpk+1に結合 但し、a′、a″は特徴点数の違いを評価する因
子(≧1)である。また、ストローク間距離
d*としては、公知の技術である、始点・終点
をそれぞれ対応づけた、DPマツチングによる
2乗距離を採用すればよい。その場合、Si=
(x1i、y1i、…、xoi、yoi)とRj=(x′1j、y′1j
…、xnj、y′nj)の距離d* ijは次式で算出される。
a′・d * q k , t′≦a″・d * q k+1 , t″ → Combine Rt to Rp k a′・d * q k , t′>a″・d * q k+1 , t″ → Rt is combined with Rp k+1 . However, a′, a″ are factors (≧1) that evaluate the difference in the number of feature points. Also, the distance between strokes
As d * , a square distance based on DP matching, which is a known technique in which the starting point and the ending point are associated with each other, may be used. In that case, Si=
(x 1i , y 1i , ..., x oi , y oi ) and Rj = (x′ 1j , y′ 1j ,
..., x nj , y′ nj ) distance d * ij is calculated by the following formula.

d* ij=min τ ok=1 {(xki−x′〓(k)j2+(yki−y′〓(k)j2}(3) 但し、τはτ(1)=1、τ(n)=mを満たす単調
非減少の対応づけ関数である。
d * ij = min τ ok=1 {(x ki −x′〓 (k)j ) 2 + (y ki −y′〓 (k)j ) 2 }(3) However, τ is τ(1 )=1, τ(n)=m is a monotonically non-decreasing matching function.

ここで、始点・終点を合わせたDPマツチン
グを用いるのは、結合により生成されたストロ
ークが入力パターン内の対応する1本のストロ
ークと全体で重なり合うべきであるとの要請に
基づく。
Here, the reason for using DP matching in which the start and end points are combined is based on the requirement that the strokes generated by the combination should completely overlap with a corresponding stroke in the input pattern.

() pN<tの場合 式(2)により、この場合はRtに筆順で後行す
る既対応ストロークが存在しない。従つて、無
条件でRpNを結合相手とする。
() When p N <t According to equation (2), in this case, there is no corresponding stroke that follows Rt in stroke order. Therefore, Rp N is unconditionally used as the binding partner.

以上、()、()、()に分けた手順により、
標準パターンの未対応ストロークはすべて結合相
手を決定され、それら結合を実行してN画のパタ
ーンに変換する。
By the above steps divided into (), (), and (),
All uncorresponding strokes of the standard pattern are determined to have a joining partner, and the joining is performed to convert them into a pattern of N strokes.

一方、M<Nの場合、ストローク対応づけ装置
6により標準パターンと入力パターンの間でM個
のストローク対が決定されている。入力パターン
内のそれらM本のストロークをSq1、…、Sqk
…、SqMと記し、添字は次式により筆順の若い順
に付す。
On the other hand, if M<N, the stroke matching device 6 has determined M stroke pairs between the standard pattern and the input pattern. Let these M strokes in the input pattern be Sq 1 ,..., Sq k ,
..., Sq M , and the subscripts are added in ascending order of stroke order using the following formula.

1≦q1<q2<…<qk<…<qM≦N (2)′ また、Sqk(1≦k≦M)はそれぞれ標準パタ
ーン内のRpk(1≦k≦M)と対応づけられてい
るものとする。本装置は、入力パターン内のN−
M本の未対応ストロークを順に既対応ストローク
に選択的に結合していく。具体的手順はM≧Nの
場合と同様であり、着目する未対応ストロークを
Stと記すと、()t<q1、()qk<t<qk+1
()qM<t、の場合に分けて結合相手が決定さ
れる。
1≦q 1 <q 2 <...<q k <...<q M ≦N (2)' Also, Sq k (1≦k≦M) is the same as Rp k (1≦k≦M) in the standard pattern, respectively. It is assumed that there is a correspondence. This device detects N− in the input pattern.
The M uncorresponding strokes are sequentially selectively combined with the corresponding strokes. The specific procedure is the same as in the case of M≧N, and the uncorresponding stroke of interest is
When written as St, ()t<q 1 , ()q k <t<q k+1 ,
The binding partner is determined separately in the case of ( )q M <t.

上記処理により、選択的ストローク結合装置7
は、入力パターンおよび標準パターンのストロー
ク数をK=(min(M,N))にそろえ、筆順およ
び画数のそろつたK個のストローク対を生成す
る。それらストローク対を改めてSk、Rk(1≦k
≦K)と記す。
Through the above process, the selective stroke coupling device 7
aligns the number of strokes of the input pattern and the standard pattern to K=(min(M,N)), and generates K stroke pairs with the same stroke order and number of strokes. These stroke pairs can be rewritten as S k , R k (1≦k
≦K).

この結果はパターン間距離計算装置8に送出さ
れる。
This result is sent to the inter-pattern distance calculation device 8.

第4図、第2図に示した「字」の例で未対応と
なつた標準パターンの第5ストロークR5が、選
択的ストローク結合によりR4と結合される処理
の過程を示す。図中、ストローク上の黒丸は特徴
点の位置を表わす。
4 and 2, the fifth stroke R5 of the uncorresponding standard pattern is combined with R4 by selective stroke combination. In the figure, black circles on the stroke represent the positions of feature points.

パターン間距離計算装置8は、選択的ストロー
ク結合装置7から送出されたストローク数および
筆順のそろつた該入力パターンと該標準パターン
の特徴点列を用いて、対応するストローク毎にス
トローク間距離を計算し、それらの加算結果をパ
ターン間距離として求める装置であり、ストロー
ク間距離としては公知の技術である始点・終点を
合せ、少ない方の特徴点数に基づくDPマツチン
グ手法を適用し、例えば式(3)を用い、上記K個の
ストローク対Sk、Rk(1≦k≦K)の各対につい
てストローク間距離d* kkを算出し、そして該パタ
ーン間距離をKk=1 d* kkとして計算する。算出され
た該パターン間距離は、最小距離値検出装置9に
送出される。
The inter-pattern distance calculation device 8 calculates the inter-stroke distance for each corresponding stroke using the input pattern with the same number of strokes and stroke order sent from the selective stroke combination device 7 and the feature point sequence of the standard pattern. The device calculates the summation result as the inter-pattern distance.The stroke-to-stroke distance is determined by matching the starting point and ending point, which is a known technique, and applying the DP matching method based on the smaller number of feature points, for example, by formula (3). ), calculate the inter-stroke distance d * kk for each of the K stroke pairs S k and R k (1≦k≦K), and calculate the inter-pattern distance as Kk=1 d * kk Calculate as. The calculated inter-pattern distance is sent to the minimum distance value detection device 9.

上述した装置5乃至8までの操作を、標準パタ
ーン格納装置4内に格納されているすべての標準
パターンについて行う。この操作が完了した時点
で、最小距離値検出装置9は、蓄積されたすべて
のパターン間距離のうち最小のものを検出し、こ
れに該当する標準パターンの文字カテゴリーを識
別結果として、当該装置から出力する。
The operations of devices 5 to 8 described above are performed for all standard patterns stored in the standard pattern storage device 4. When this operation is completed, the minimum distance value detection device 9 detects the minimum distance among all the accumulated inter-pattern distances, and sends the character category of the standard pattern corresponding to this as an identification result from the device. Output.

(5) 効果の説明 以上詳細に説明したように、本発明によれば、
これまで不可能とされてきた誤筆順、誤画数での
筆記を許容してオンライン手書き文字の認識機能
を格段に向上させることができる。とくに、標準
パターンとしては正しい筆順・画数のもののみ登
録しておくだけでよく、誤筆順・誤画数の入力パ
ターンと標準アターンとの間で、まず少ない方の
ストローク数分の筆順をそろえたストローク対を
決定し、次いでストローク数の多い方のパターン
中の未対応ストロークを該パターン間での重なり
が良くなるように既対応ストロークに選択的に結
合し誤画数で筆記した際に生じる特有の手書き変
形を吸収し、同筆順、同画数にそろえた結果とし
て高い認識精度を実現できることから、様々な筆
順・画数による筆記が頻繁に発生する不特定多数
の筆記者を相手とするオンライン手書き文字認識
の分野において適用される場合に利点が大きい。
(5) Description of effects As explained in detail above, according to the present invention,
It is possible to significantly improve the online handwritten character recognition function by allowing writing in the wrong order of strokes and with the wrong number of strokes, which has been considered impossible until now. In particular, it is only necessary to register only the correct stroke order and number of strokes as a standard pattern, and between the input pattern of incorrect stroke order and number of strokes and the standard pattern, first select the strokes that match the stroke order for the smaller number of strokes. The unique handwriting that occurs when a pair is determined, and then the uncorresponding strokes in the pattern with the larger number of strokes are selectively combined with the corresponding strokes to improve the overlap between the patterns, and the strokes are written with an incorrect number of strokes. High recognition accuracy can be achieved as a result of absorbing deformation and aligning strokes in the same stroke order and number of strokes.This makes it possible to realize online handwritten character recognition for an unspecified number of scribes who frequently write with various stroke orders and numbers of strokes. It has great advantages when applied in the field.

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

第1図は本発明の一実施例に使用する装置の機
能ブロツク図、第2図は第1図の装置6の動作を
説明するための具体例による概念図、第3図およ
び第4図はそれぞれ第1図の装置7の動作を説明
するための概念図および具体例による説明図であ
る。 図中、1は文字情報入力装置、2は前処理装
置、3はストローク特徴点抽出装置、4は標準パ
ターン格納装置、5はストローク間距離算出装
置、6はスローク対応づけ装置、7は選択的スト
ローク結合装置、8はパターン間距離計算装置、
9は最小距離値検出装置を示す。
FIG. 1 is a functional block diagram of a device used in one embodiment of the present invention, FIG. 2 is a conceptual diagram of a specific example for explaining the operation of the device 6 in FIG. 1, and FIGS. 3 and 4 are 2A and 2B are a conceptual diagram and a concrete example diagram for explaining the operation of the device 7 shown in FIG. 1, respectively. In the figure, 1 is a character information input device, 2 is a preprocessing device, 3 is a stroke feature point extraction device, 4 is a standard pattern storage device, 5 is a distance between strokes calculation device, 6 is a stroke matching device, and 7 is a selective 8 is an inter-pattern distance calculation device;
9 indicates a minimum distance value detection device.

Claims (1)

【特許請求の範囲】[Claims] 1 標準パターンとして各文字カテゴリーの正し
い画数・筆順で筆記された平均パターンのすべて
のストロークについてあらかじめ定めた刻み距離
値で等間隔に特徴点列を抽出して格納しておく段
階と、認識すべき入力パターンのすべてのストロ
ークについて前記刻み距離値を用い等間隔に特徴
点列を抽出し一時格納する段階と、該入力パター
ンのすべてのストロークと一般にはストローク数
の異なる標準パターンのすべてのストロークとの
間でそれぞれ少ない方の特徴点数に基づきストロ
ーク間距離を計算しておいてから該入力パターン
と該標準パターンでストローク数の少ない方のパ
ターンのすべてのストロークに対して相手パター
ンの中からストローク間距離和を最小としかつ重
複がない同数のストロークを選出しそれぞれ対応
づける段階と、ストローク数の多い方のパターン
の中で前記対応づけでは未対応として残つたスト
ロークについてそれぞれ筆順で前後する該パター
ンの2本の既対応ストロークいずれかとの結合を
想定し該結合のうちストローク数の少ない方のパ
ターン中の対応ストロークとの間で特徴点列に基
づく始点・終点を合せたストローク間距離を計算
し該距離が小さくなる方の結合を選択し実行する
段階と、ストローク数が等しくなつた該入力パタ
ーンと該標準パターンとの間で対応したストロー
ク対毎に特徴点列に基づく始点・終点を合せたス
トローク間距離を計算してそれらの加算結果を蓄
積する段階と、前記照合すべき標準パターンのす
べてについて上述のすべての段階を反復実行し前
記加算結果を順次蓄積する段階と、該段階の終了
後前記加算結果のうち最小のものを検出して該最
小加算結果に該当する標準パターンの文字カテゴ
リーを認識結果として出力する段階とを含むこと
を特徴とするオンライン手書き文字認識方式。
1. It should be recognized that this is a stage in which feature point sequences are extracted and stored at equal intervals with a predetermined increment distance value for all strokes of an average pattern written with the correct number of strokes and stroke order for each character category as a standard pattern. a step of extracting and temporarily storing a sequence of feature points at equal intervals for all strokes of the input pattern using the step distance value; After calculating the inter-stroke distance based on the smaller number of feature points between the input pattern and the standard pattern, calculate the inter-stroke distance from the other pattern for all strokes of the pattern with the smaller number of strokes between the input pattern and the standard pattern. Selecting the same number of strokes with the minimum sum and no overlap and associating them with each other, and selecting two strokes of the pattern that are arranged one after the other in the stroke order for the strokes that remain uncorresponded in the above-mentioned correspondence in the pattern with the larger number of strokes. Assuming a connection with one of the existing strokes of the book, calculate the inter-stroke distance between the corresponding stroke in the pattern with the smaller number of strokes and the starting point and end point based on the feature point sequence. The step of selecting and executing the combination that reduces a step of calculating distances and accumulating their addition results; a step of repeatedly performing all the above steps for all of the standard patterns to be matched and accumulating the addition results sequentially; and after completing the step, performing the addition. An online handwritten character recognition method comprising the step of detecting a minimum value among the results and outputting a character category of a standard pattern corresponding to the minimum addition result as a recognition result.
JP58013259A 1983-01-28 1983-01-28 Recognizing system of on-line handwritten character Granted JPS59139483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58013259A JPS59139483A (en) 1983-01-28 1983-01-28 Recognizing system of on-line handwritten character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58013259A JPS59139483A (en) 1983-01-28 1983-01-28 Recognizing system of on-line handwritten character

Publications (2)

Publication Number Publication Date
JPS59139483A JPS59139483A (en) 1984-08-10
JPH0366703B2 true JPH0366703B2 (en) 1991-10-18

Family

ID=11828218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58013259A Granted JPS59139483A (en) 1983-01-28 1983-01-28 Recognizing system of on-line handwritten character

Country Status (1)

Country Link
JP (1) JPS59139483A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6220094A (en) * 1985-07-19 1987-01-28 Sanyo Electric Co Ltd Handwritten character recognizing device

Also Published As

Publication number Publication date
JPS59139483A (en) 1984-08-10

Similar Documents

Publication Publication Date Title
CN103927532A (en) Handwriting registration method based on stroke characteristics
JP3761937B2 (en) Pattern recognition method and apparatus, and computer control apparatus
JPH07509576A (en) How to recognize characters
JPH0366703B2 (en)
CN111460860A (en) Target object identification method and device, electronic equipment and storage medium
CN115311665A (en) Handwritten numbered musical notation recognition method and system
CN109886887A (en) A kind of mural painting image repair processing method, system, device and storage medium
JPH0211950B2 (en)
JP3198218B2 (en) Online handwriting recognition method
CN103106308B (en) Personalized creative inflection point identification method and system thereof
JP2820221B2 (en) Online handwriting recognition method
JPS5835674A (en) Extracting method for feature of online hand-written character
CN115661825A (en) A character recognition method and system
JPS62162182A (en) Extraction system for bending point of hand-written picture input device
JPS6059486A (en) Recognizing system of handwritten character
JPH073670B2 (en) Stroke distance calculation method
JPH0922443A (en) Online handwriting recognition method
JPH10187968A (en) Author identification device and author identification method
JPS60237580A (en) Recognition system of on-line hand written character
JPH10247221A (en) Online character recognition device
JPS6336487A (en) Character reading system
JPH01258088A (en) On-line system for recognizing hand-written character
CN118072348A (en) A general person re-identification attack method based on reduced style features
JPH1040401A (en) Format analysis method for creating family register data
CN116502620A (en) A method of correcting students&#39; homework based on submission messages and codes