JPS61208186A - Correspondence processing system for on line handwriting character feature point - Google Patents

Correspondence processing system for on line handwriting character feature point

Info

Publication number
JPS61208186A
JPS61208186A JP60048746A JP4874685A JPS61208186A JP S61208186 A JPS61208186 A JP S61208186A JP 60048746 A JP60048746 A JP 60048746A JP 4874685 A JP4874685 A JP 4874685A JP S61208186 A JPS61208186 A JP S61208186A
Authority
JP
Japan
Prior art keywords
feature point
points
circuit
correspondence
stack
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.)
Pending
Application number
JP60048746A
Other languages
Japanese (ja)
Inventor
Ichiji Ishigaki
一司 石垣
Tetsuji Morishita
森下 哲次
Atsushi Ogata
緒方 篤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60048746A priority Critical patent/JPS61208186A/en
Publication of JPS61208186A publication Critical patent/JPS61208186A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To obtain tolerance to a flicker while maintaining equal order by selecting one or plural couples of next corresponding candidata feature points in consideration of a couple of feature points which are already made to correspond and performing back track operation when correspondence processing reaches its limits. CONSTITUTION:Handwriting character data inputted on a tablet 1 is converted by a feature point extracting circuit 2 into a feature point sequence consisting of both ends of a stroke and an inflection point and sent to an input pattern storage circuit 3. A feature point correspondence circuit 6 matches the data in this input pattern storage circuit 3 with data which is read out of a standard pattern storage circuit 4 and stored in a standard pattern storage circuit 5. In this case, a calculation part 40 determines couples of feature points as objects of distance calculation successively, but couples of candidate points which are already made to correspond are held in the stack in said circuit 6; if the correspondence processing reaches its limits, the back track operation is performed by using the contents of the stack 22 and when the correspondence processing is carried out to the end an output is sent to a signal line.

Description

【発明の詳細な説明】 〔概要〕 オンライン手書文字の入力パターンと標準パターンとの
特徴点の対応づけ処理に当たって、特徴点対応づけ回路
をそなえて、既対応特徴点対を考慮しつつ1つまたは複
数個の次対応候補特徴点対を選定しておき、1つの次対
応候補特徴点対を選んだ上で進めてゆ(対応づけ処理に
ゆきづまりが生じたときにバック・トラックを行う機能
をもつよう構成することによって、筆順にしたがう対応
づけを厳格に守りつつ、対応づけに裕度を与えるように
することが開示されている。
[Detailed Description of the Invention] [Summary] In the process of associating feature points between an input pattern of online handwritten characters and a standard pattern, a feature point matching circuit is provided, and a feature point pair that has already been matched is taken into consideration. Alternatively, you can select multiple next corresponding candidate feature point pairs, select one next corresponding candidate feature point pair, and then proceed. It is disclosed that, by configuring the characters to have the same character, the correspondence according to the order of strokes can be strictly observed, while giving some latitude to the correspondence.

〔産業上の利用分野〕[Industrial application field]

本発明は、オンライン手書文字特徴点の対応づけ処理方
式に係わり、特に文字を構成する特徴点を入力パターン
と標準パターンの間で画数に依らず筆順通りに厳密に対
応づける特徴点の対応づけ処理方式に関する。
The present invention relates to an online handwritten character feature point matching processing method, and in particular, feature point matching that strictly matches feature points forming characters according to the stroke order between an input pattern and a standard pattern, regardless of the number of strokes. Regarding processing method.

〔従来の技術〕[Conventional technology]

従来のオンライン手書文字認識装置では2画数や筆順の
変動に対処できるようにして認識率を向上させる為に、
ストロークの順番を入れ換えたり。
In conventional online handwritten character recognition devices, in order to improve the recognition rate by being able to deal with variations in the number of double strokes and stroke order,
Change the order of strokes.

長さを伸縮させたりして、入力パターンと辞書パターン
との間で類似度を計算し認識を行う方式がいくつか知ら
れている。しかしながら、これらの方式は、入力パター
ンと標準パターンの間で全体をバランスよく対応づけて
距離計算を行う方式であるので1局所的なストロークの
相異等は無視される傾向にあり、したがって、誤字や認
識対象外文字に対してもなんらかの候補を出力してしま
い。
Several methods are known in which recognition is performed by calculating the similarity between an input pattern and a dictionary pattern by expanding or contracting the length. However, since these methods calculate the distance by associating the input pattern and the standard pattern in a well-balanced manner as a whole, local differences in strokes, etc., tend to be ignored. Some kind of candidates are output even for characters that are not recognized.

リジェクトすることができないという欠点があった。The drawback was that it could not be rejected.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は、ストロークを構成する特徴点を、入力パター
ンと標準パターンとの間で画数に依らずに筆順通りに厳
密に対応づけることによって、認識対象文字に対しては
安定に認識を行いながら。
The present invention allows for stable recognition of characters to be recognized by strictly associating feature points that make up strokes between an input pattern and a standard pattern according to stroke order, regardless of the number of strokes.

誤字や認識対象外文字については確実にリジェクトする
ような認識を実現する為の特徴点の対応づけ処理方式を
提供するようにしている。
A feature point matching processing method is provided to achieve recognition that reliably rejects misspellings and non-recognized characters.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示している。 FIG. 1 shows a block diagram of the principle of the present invention.

図においてタブレット1から入力された手書文字データ
は特徴点抽出回路2によってストロークの両端点と屈曲
点からなる特徴点列に変換され。
In the figure, handwritten character data input from a tablet 1 is converted by a feature point extraction circuit 2 into a feature point sequence consisting of both end points and bending points of a stroke.

入力パターン格納回路3へ送られる。標準パターン記憶
回路4には同様な特徴点列で表現された認識用の標準パ
ターンデータが多数個記憶され、その中からマツチング
を行う標準パターンデータが順々に取り出され、標準パ
ターン格納回路5にセントされる。この状態において特
徴点の対応づけを行う特徴点対応づけ回路6が起動され
る。回路6は、距離計算部40とスタック22と次対応
特徴点決定回路部16とをそなえていて、距離計算を行
って特徴点対を順次決定してゆく。そしてその対応づけ
の結果が対応結果格納回路7に送られる。
It is sent to the input pattern storage circuit 3. The standard pattern storage circuit 4 stores a large number of standard pattern data for recognition expressed by similar feature point sequences, from which standard pattern data for matching are sequentially extracted and stored in the standard pattern storage circuit 5. cent. In this state, the feature point matching circuit 6 for matching feature points is activated. The circuit 6 includes a distance calculation section 40, a stack 22, and a next corresponding feature point determination circuit section 16, and performs distance calculations to sequentially determine feature point pairs. Then, the result of the correspondence is sent to the correspondence result storage circuit 7.

信号線8は、特徴点対応づけ回路6からパターン間類似
度計算回路9へ送られるもので、対応づけが最後まで終
了したか、途中で中止したかを示す制御信号である。信
号線8が対応づけが最後まで終了したことを示す場合の
み、パターン間類似度計算回路9が起動されて、対応づ
けの結果を基にパターン間の距離計算が行われる。
A signal line 8 is sent from the feature point matching circuit 6 to the inter-pattern similarity calculation circuit 9, and is a control signal indicating whether the matching has been completed to the end or has been stopped midway. Only when the signal line 8 indicates that the matching has been completed to the end, the inter-pattern similarity calculating circuit 9 is activated, and distance calculation between patterns is performed based on the matching result.

距離計算の結果はソーティング回路10に送られ、標準
パターン記憶回路4から送られた文字コードが距離の小
さい順番に並びかえられ、認識結果として出力される。
The results of distance calculation are sent to the sorting circuit 10, where the character codes sent from the standard pattern storage circuit 4 are rearranged in descending order of distance and output as a recognition result.

上記処理の間、特徴点対応づけ回路6において対応づけ
が行われた候補点対については、当該回路6内のスタッ
ク22内に保持され、必要に応じて上述したバック・ト
ラックが行われる。
During the above processing, candidate point pairs matched in the feature point matching circuit 6 are held in the stack 22 in the circuit 6, and the above-mentioned backtracking is performed as necessary.

〔作用〕[Effect]

本発明における処理においては2文字を表現する特徴点
として、第2図に示す入力パターン図Aに対応する特徴
点表現図Bに示す如く、各ストロークの両端点と複数個
(0個以上)の屈曲点を用いるようにする。なお黒丸が
端点て白丸が屈曲点に対応している。対応づける2つの
特徴点列をA= (a++ at、・・・、 aN) 
+ B= (bM、bz、・、 bM )とするとき、
第一の特徴点aI+  bMをいわば強制約に対応づけ
てから終点a、、、bイに至るまで。
In the process of the present invention, as feature points representing two characters, both end points of each stroke and a plurality of (0 or more) Try to use bend points. The black circles correspond to end points and the white circles correspond to bending points. Two feature point sequences to be associated are A= (a++ at,..., aN)
When + B = (bM, bz, ., bM),
From associating the first feature point aI+bM with a forced contract, so to speak, to the end point a,...,ba.

筆順通りに、先に対応づけた特徴点対を利用して。Follow the stroke order and use the feature point pairs that were matched earlier.

順次1次に対応する特徴点対を決定してゆくようにする
Pairs of feature points corresponding to the first order are determined sequentially.

本発明の実施例の場合1文字全体の対応づけを画数によ
らず厳密かつ安定に行う為に以下第(1)項ないし第(
3)項に示す次のような特徴を持っている。
In the embodiment of the present invention, in order to strictly and stably match one character as a whole regardless of the number of strokes, the following items (1) to (
It has the following characteristics shown in section 3).

(1)  対応づけを厳密に行う為に複数の特徴量によ
る距離計算を基に対応を決定すること。
(1) In order to make the correspondence strictly, the correspondence is determined based on distance calculation using multiple feature values.

前対応特徴点を(am l  bJ )とすると特徴点
(aつ、b、)に対する対応づけ距離りを、第3図を参
照すると明瞭となる如く次のように定義する。
Assuming that the previous corresponding feature point is (am l bJ ), the correspondence distance for the feature point (a, b,) is defined as follows, as will become clearer with reference to FIG.

D” (dB ・Wl  +d、−wl+d2  ’ 
Wl )/(w、+wt+w3) ただしd冒よ石一式と5二ばとのなす角度であり。
D" (dB ・Wl +d, -wl+d2'
Wl )/(w, +wt+w3) However, it is the angle formed by the set of d blasphemy stones and the 5 niba.

一ン + (Lx  1bjbt l) である。One + (Lx 1bjbt l) It is.

またd3は鱈:ηゴと口bt−+ とのなす角度であり
1重みWに関しては WZ  =  γ Wl = 8 ・m1n(l ak al+1 l 、
 lマjl )(β、γはある定数) である。
Also, d3 is the angle between the cod: η and the mouth bt-+, and for 1 weight W, WZ = γ Wl = 8 ・m1n(l ak al+1 l ,
lmajl) (β and γ are certain constants).

ここで+  all+bLのうち一方もしくは両方が特
徴点列A、Bの最終点である場合には、距M a 3と
加重値W、とは不定になるが、その場合には次のように
定義する。
Here, if one or both of +all+bL is the final point of the feature point arrays A and B, the distance M a 3 and the weight value W become undefined, but in that case, they are defined as follows. do.

a)ak、b、両方が最終点の場合 d、−0°、W、=δ(定数) b)a、btの一方のみが最終点の場合dユ=180 
’ 、 w、−δ 上記距離計算において、後述する第(2)項にいう。
a) If ak, b, both are the final point, d, -0°, W, = δ (constant) b) If only one of a, bt is the final point, d = 180
', w, -δ In the above distance calculation, this is referred to in section (2) described later.

対応づけ範囲の中で、対応づけ距離がある閾値以下のも
のがあれば、それを対応候補点対とし、なければ、バッ
ク・トラックを行って先にスタックしておいた他の候補
に戻って対応づけを行うようにする。このために対応候
補点対が複数個存在する場合には、距離最小のものを当
面の次対応特徴点対とし、その他のものは前対応点対と
ともにスタックに退避しておくようにする。
If there is a matching distance within the matching range that is less than a certain threshold, it is used as a matching candidate point pair, and if there is not, backtracking is performed to return to the other previously stacked candidates. Make a correspondence. For this reason, when a plurality of corresponding point candidate pairs exist, the one with the smallest distance is set as the next corresponding feature point pair for the time being, and the others are saved in the stack together with the previous corresponding point pair.

(2)計算量を低減し、不自然な対応を許さないように
、対応範囲を制限すること。
(2) Limiting the range of correspondence to reduce the amount of calculation and to prevent unnatural correspondence.

第4図に示す如く、黒丸で示す前対応点(at。As shown in FIG. 4, the previous corresponding point (at) is indicated by a black circle.

b、)に対し1次対応点(ah、bt)は図示斜線で示
す次のような条件を満たす範囲から選ばれる。
The primary corresponding points (ah, bt) with respect to b, ) are selected from a range that satisfies the following conditions indicated by diagonal lines in the figure.

即ち i)k≧t+1  かつ ρ≧j+1 であって、かつ 1i)k=i+l  または ρ=j+1その際、計算
量を低減するとともに、不自然な対応づけを行わないよ
うに、対応範囲を次のように制限する。
That is, i) k≧t+1 and ρ≧j+1, and 1i) k=i+l or ρ=j+1. At that time, in order to reduce the amount of calculation and to avoid unnatural correspondence, the corresponding range is set as follows. Limit as follows.

(a)  長さによる制限 す、をb j+1に固定して+aiからakに至る以降
との対応づけは行われない。
(a) Limitation by length is fixed at bj+1 and no correspondence is made from +ai to ak.

同様に、a、をa i、に固定して、bjからb【は+
bL+1′以降との対応づけは行われない。
Similarly, fix a to a i, and from bj to b[ is +
No correspondence is made with bL+1' and beyond.

伽) 省略不能点による制限 am  (k≧i+1)が省略不能点ならばaK41以
降との対応づけは行われない。同様にす、 (Q≧j+
1)が省略不能点ならばす、。1以降との対応づけは行
われない。
佽) Restriction by non-omissible point am If (k≧i+1) is a non-omissible point, no association is made with aK41 or later. Similarly, (Q≧j+
If 1) is a non-omissible point, then No correspondence is made with 1 or later.

ただし、特徴点akは次の条件を満たすとき省略不能点
であると定義する。
However, feature point ak is defined as a non-omissible point when it satisfies the following conditions.

i)aKがストロークの始点または終点であり。i) aK is the start or end point of the stroke;

ii)am−+τでとa、、ak+1のなす角度がある
闇値を超えており(鋭角)。
ii) The angle formed by am-+τ and a, ak+1 exceeds a certain dark value (acute angle).

一一一一−−→         ・ iii)amが始点ならばaK−Iakの長さがIak
が終点ならばa、、a?I の長さがある闇値を超えて
いる(十分長い)。
1111--→ ・iii) If am is the starting point, the length of aK-Iak is Iak
If is the end point, a,,a? The length of I exceeds a certain darkness value (sufficiently long).

またakが標準パターンを構成する特徴点である場合に
は、それが省略不能であるか、否かは。
Also, if ak is a feature point constituting a standard pattern, whether or not it cannot be omitted is a question.

あらかじめ人為的に設定する場合もある。It may also be artificially set in advance.

(C)  特徴点の種類による制限 i)ストロークの始点と終点とは対応づけない。(C) Restrictions based on the type of feature points i) There is no correspondence between the start point and end point of the stroke.

1i)bcをb j+lに固定してb j 41 とa
、がともにストロークの始点ならばa k+2以降とは
対応づけない。
1i) Fix bc to b j + l and calculate b j 41 and a
, are both stroke starting points, they are not associated with a k+2 or later.

同様にakをai。1に固定してai。8とす、がとも
にストロークの始点ならばbL+寞以降との対応づけは
行わない。これらの制限は、実際のストロークをストロ
ークとストロークとの間を結ぶ仮想的なストローク(オ
フ・ストローク)に対応づけるような不自然な対応を抑
制する為である。
Similarly, ak is ai. Fixed ai to 1. If both 8 and 8 are the starting points of the stroke, no correspondence is made between bL+对 and later. These restrictions are intended to suppress unnatural correspondences such as associating actual strokes with virtual strokes (off strokes) connecting strokes.

(3)局所的な誤りを全体に波及させないため、適時バ
ック・トラックを行う。
(3) Perform backtracking in a timely manner to prevent local errors from spreading throughout the system.

対応づけ範囲内において対応づけ距離が閾値内の特徴点
対がひとつも存在しない場合には、スタックに退避され
ている特徴点対を用いてバック・トラックが行われる。
If there is no feature point pair whose matching distance is within the threshold within the matching range, backtracking is performed using the feature point pairs saved in the stack.

スタックが空である場合には対応づけは中止される。If the stack is empty, the association is aborted.

この場合、バック・トラックによる計算量が指数関数的
に増大しないように9次のような工夫を行っている。
In this case, the following measures are taken to prevent the amount of calculation due to backtracking from increasing exponentially.

(a)  一般に複数個存在する対応候補点対をスタッ
クに退避する順番を、対応づけ距離が大きいものを先に
なるようにする。こうすることによって対応づけ距離の
小さい、すなわち可能性の高い対応づけが先に評価され
ることになり、対応づけが正常に終了する場合にはより
少ない計算量で最終的な対応づけ結果が得られる。
(a) In general, the order in which a plurality of matching candidate point pairs are saved to the stack is set such that the one with the largest matching distance comes first. By doing this, the mapping with the smaller mapping distance, that is, the mapping with the highest probability, will be evaluated first, and if the mapping is completed successfully, the final mapping result can be obtained with less calculation. It will be done.

(b)  先に対応づけを行い、失敗した経路を記憶し
、再び同じ経路を通らないようにする。
(b) Make the correspondence first, memorize the failed route, and prevent the same route from being taken again.

具体的には、前対応点(ai +  J )に対し。Specifically, for the previous corresponding point (ai + J).

次対応点(ai+、bt)を記憶するNXMの配列パス
(PATH)を用いて次のような処理を行う。
The following processing is performed using the NXM array path (PATH) that stores the next corresponding point (ai+, bt).

i)配列PATHを(0,0)に初期化する。i) Initialize array PATH to (0,0).

ii )前対応点(at、bz)に対し、PATH(i
、j)の値が(0,0)でなければ、これは先に対応づ
けを行った結果失敗したPATHであるので、ただちに
バック・トラックを行う。
ii) For the previous corresponding point (at, bz), PATH(i
.

iii )前対応点(ai +  bj )に対し1次
対応点(am、bL)が定まればPATH(i、j)に
(k、Q)を代入する。
iii) Once the primary corresponding point (am, bL) is determined for the previous corresponding point (ai + bj), substitute (k, Q) into PATH (i, j).

iv)バック・トランクが行われた場合にはスタックに
は次対応候補点対(a kl、bt’)の他に、その時
の前対応点対(ai ’ +  bj’ )も退避さ、
tしていj+(7)1?PATH(i’ 、j’ )=
(k’ 、Q’ ) として配列PATH4−IFき換
する0次に特徴点対(ak’*b、’)を前対応点対と
して次対応点対を決定してゆく。
iv) When back trunking is performed, in addition to the next corresponding candidate point pair (akl, bt'), the previous corresponding point pair (ai' + bj') at that time is also saved,
t and j + (7) 1? PATH(i', j')=
(k', Q') The next corresponding point pair is determined by using the zero-order feature point pair (ak'*b,'), which is exchanged with the array PATH4-IF, as the previous corresponding point pair.

(e)  標準パターンを構成する特徴点列に部首の切
れ自情報を付加し、その部首の切れ目まで正常に対応づ
けが進めばその時点で強制的にスタックをクリアする。
(e) Add radical end information to the feature point sequence constituting the standard pattern, and if the correspondence progresses normally up to the radical end, the stack is forcibly cleared at that point.

このようにすることによって対応づけが十分光へ進んだ
時の非所望なバック・トラックを抑制することができる
By doing this, it is possible to suppress undesired backtracking when the correspondence has progressed sufficiently to the light.

以上に述べたように1本発明では次対応特徴点対が求ま
らず、スタックが空でバック・トラックもできない場合
には対応づけはその時点で中止される。このために、筆
順を含めて字形的に類似したパターンのみについて最後
まで対応づけが進められてゆく。
As described above, in the present invention, if the next corresponding feature point pair cannot be found and the stack is empty and backtracking is not possible, the association is stopped at that point. For this reason, only patterns that are similar in character shape, including stroke order, are matched until the end.

〔実施例〕〔Example〕

第5図は第1図図示の特徴点対応づけ回路の機能ブロッ
ク図である。
FIG. 5 is a functional block diagram of the feature point matching circuit shown in FIG. 1.

図において、特徴点列データ格納回路11.12に対応
づけの対象となる特徴点列データがセットされると、初
めにNXMの配列を格納する対応情報格納回路13を(
0,O)に初期化する。
In the figure, when the feature point string data to be correlated is set in the feature point string data storage circuits 11 and 12, the correspondence information storage circuit 13 that stores the NXM array is first set (
Initialize to 0, O).

次に前対応特徴点の位置を格納するレジスタ14.15
を(1)に初期化してから次対応特徴点決定回路16を
起動する。
Next, registers 14 and 15 store the position of the previous corresponding feature point.
is initialized to (1), and then the next corresponding feature point determining circuit 16 is activated.

回路16では、初めに、データ線17.18を使って前
対応特徴点対(i、j)に対して回路13に記憶されて
いる値を読み出し、それが(0゜0)でない場合はバッ
ク・トラックの処理を行うことができる(後述)。
The circuit 16 first reads the value stored in the circuit 13 for the previous corresponding feature point pair (i, j) using the data lines 17 and 18, and if it is not (0°0), backs up. - Track processing can be performed (described later).

次対応特徴点が計算されるが、対応候補点対がひとつ以
上存在する場合には、対応づけ距離を最小とするものが
レジスタ19.20にセットされる。対応候補点が複数
個ある場合には、レジスタ19.20にセットされたも
のを除く特徴点対がデータ線21によりスタック22に
前対応特徴点対(i、  j)とともに退避される。対
応候補点がひとつも存在しない場合には、バック・トラ
ックの処理が行われる(後述)。
The next corresponding feature point is calculated, and if there is one or more corresponding candidate point pairs, the one that minimizes the matching distance is set in registers 19 and 20. If there are a plurality of corresponding candidate points, the feature point pairs other than those set in the registers 19 and 20 are saved in the stack 22 via the data line 21 together with the previous corresponding feature point pair (i, j). If there are no corresponding candidate points, back tracking processing is performed (described later).

一方9次対応点対(k、  ρ)が決定された場合には
、データ線23を使って前対応点対(i、  j)とと
もに回路13へ送られ、配列の(i、j)の要素を(0
,0)から(k、  ρ)に書き換える。
On the other hand, when the ninth-order corresponding point pair (k, ρ) is determined, it is sent to the circuit 13 along with the previous corresponding point pair (i, j) using the data line 23, and the element (i, j) of the array is (0
, 0) to (k, ρ).

バック・トラックの処理は次のように行われる。Backtrack processing is performed as follows.

回路16から、信号線24を通じてバック・トラックの
処理が要求されると、スタック22からもっとも最近に
退避された特徴点対のベア(前対応特徴点対(1’ l
  J” )と次対応候補点対(k’Q″′)とが取り
出され9回路13の配列(19゜jw)の要素を(k’
、Q’)に書き換える。次に前対応点の位置を示すレジ
スタ14.15の値をそれぞれに’、Q’にセットする
ようにされる。
When back track processing is requested from the circuit 16 through the signal line 24, the bare feature point pair most recently saved from the stack 22 (previous corresponding feature point pair (1' l
J'') and the next corresponding candidate point pair (k'Q''') are extracted and the elements of the array (19°jw) of 9 circuits 13 are converted to (k'
, Q'). Next, the values of registers 14 and 15 indicating the position of the previous corresponding point are set to ' and Q', respectively.

スタックが空の場合には対応づけは中止される。If the stack is empty, the mapping is aborted.

一方、バック・トラックが行われることなく正常に次対
応特徴点対が決定されて、その位置を示す値(k、  
Q)がレジスタ19.20にセントされると、終了判定
回路25では、対応づけが特徴点列の終点にまで達した
かを判定し、達した場合には処理を終了する。達しない
場合にはゲート26.27を開き、  (k、Q)を新
しい前対応特徴点対の位置としてレジスタ14.15に
格納する。
On the other hand, the next corresponding feature point pair is successfully determined without backtracking, and the value (k,
When Q) is placed in the registers 19 and 20, the end determination circuit 25 determines whether the association has reached the end point of the feature point sequence, and if so, ends the process. If not, the gate 26.27 is opened and (k, Q) is stored in the register 14.15 as the position of the new previous corresponding feature point pair.

切り換えスイッチ28.29は、信号線24の値により
、バック・トラックを行う場合にはスタック22からの
データを9行わない場合にはレジスタ19.20からの
データを、レジスタ14,15にセットする為のもので
ある。
Depending on the value of the signal line 24, the changeover switches 28 and 29 set the data from the stack 22 in the case of backtracking, and the data from the registers 19 and 20 in the case of not backtracking, in the registers 14 and 15. It is for.

第6図は、第5図図示の次対応特徴点決定回路の働きを
説明したブロック図である。
FIG. 6 is a block diagram illustrating the operation of the next corresponding feature point determining circuit shown in FIG.

図において、特徴点列データ格納回路11.12に特徴
点列データが、レジスタ14.15に前対応点の位置を
示す位置データ(i、j)が、夫々セットされると、 
 (i、j)の値が判定回路34に送られ2判定回路3
4では、対応情報格納回路13に記憶されている2次元
の配列の(i、j)の要素を読み出し、それが(0,0
)でない場合にはバック・トラックを行うことを指示す
る制御信号36を送出する。配列の(t、j)の要素が
(0,0)である場合には信号線37により対応づけ範
囲決定回路38が起動され、上記〔作用〕の欄で述べた
如き態様で次対応点対を選ぶ範囲を決定する。
In the figure, when the feature point string data is set in the feature point string data storage circuit 11.12 and the position data (i, j) indicating the position of the previous corresponding point is set in the register 14.15,
The value of (i, j) is sent to the judgment circuit 34 and the value of 2 judgment circuit 3
4, the element (i, j) of the two-dimensional array stored in the correspondence information storage circuit 13 is read out, and it is
), a control signal 36 instructing to perform backtracking is sent. When the element (t,j) of the array is (0,0), the correspondence range determination circuit 38 is activated by the signal line 37, and the next corresponding point pair is determined in the manner described in the [Operation] section above. Determine the range to select.

決定された対応づけの範囲を表す特徴点対の集合((k
、Q))は記憶回路39に送られ、各特徴点対(k、 
 ρ)に対し、その対応づけ距離が対応づけ距離計算部
40によって計算される。対応づけ距離は、比較回路4
1でレジスタ42に格納されている閾値Thと比較され
、閾値Thよりも小さい特徴点対のみが9次対応候補点
対として次対応候補点対格納回路43に送られる。決定
回路44では回路43に格納されている特徴点対の中か
ら距離最小のものを選び出し1次対応特徴点対として出
力するとともに3回路13中の配列の要素を決定された
特徴点対に書き直す。選ばれなかった残りの特徴点対は
スタック(第5図図示22)へ退避される。
A set of feature point pairs ((k
, Q)) are sent to the storage circuit 39, and each feature point pair (k,
ρ), the correspondence distance is calculated by the correspondence distance calculation unit 40. The matching distance is determined by comparison circuit 4.
1 and is compared with a threshold value Th stored in the register 42, and only feature point pairs smaller than the threshold value Th are sent to the next corresponding candidate point pair storage circuit 43 as ninth-order corresponding candidate point pairs. The determining circuit 44 selects the one with the minimum distance from among the feature point pairs stored in the circuit 43 and outputs it as a primary corresponding feature point pair, and rewrites the elements of the array in the three circuits 13 into the determined feature point pair. . The remaining feature point pairs that were not selected are saved to the stack (22 shown in FIG. 5).

閾値Thより小さい対応づけ距離を持つ特徴点対が存在
せずかつ回路43が空な場合には、決定回路44はバッ
ク・トラックを行うことを指示する制御信号45を送出
する。
If there is no feature point pair with a matching distance smaller than the threshold Th and the circuit 43 is empty, the decision circuit 44 sends out a control signal 45 instructing to perform backtracking.

なお9本願発明は9次の如き点において特徴をもつ対応
づけ処理方式を提供している。
It should be noted that the present invention provides a correspondence processing method having the following characteristics.

(1)  ある特徴点対(aklbL)と前に対応した
特徴点対(at 、bj)とより計算される距離として
、特徴点a、とa、を結ぶベクトル[°1τ、と特徴点
す、とす、を結ぶベクトル肩bLと、特徴点a、とak
の次の特徴点a mo+を結ぶベクトルah ak*1
 と、特徴点す、とす。
(1) As the distance calculated from a certain feature point pair (aklbL) and the previously corresponding feature point pair (at, bj), the vector [°1τ, which connects the feature points a and a, and the feature point S, The vector shoulder bL that connects and, the feature points a, and ak
Vector ah ak*1 connecting the next feature point a mo+
And, the feature point is.

の次の特徴点bt*+を結ぶベクトルb、b、。1とに
対し。
Vector b, b, connecting the next feature point bt** of . 1 and against.

i)ベクトルai ak とベクトルb、bjO方開角
の差と ii)ベクトルai  a、、とベクトルb、bLの長
さの差と iii )ベクトルakak+1 とベクトルb、bt
++の方向角の差 の3つの距離の加重平均を用いて距離を計算すること。
i) Difference between vector ai ak and vector b, bjO opening angle, ii) Difference in length between vector ai a, , and vectors b, bL, and iii) Vector akak+1 and vector b, bt
Calculate the distance using a weighted average of the three distances of ++ direction angle differences.

(2)上記3つの距離の加重平均の重みとして。(2) As the weight of the weighted average of the above three distances.

i)の距離に対してはベクトル17コ12とベクトルb
jbLの長さの平均値に比例する値を加重値とし、ii
)の距離に対しては定数値を加重値とし、1ii)の距
離に対してはベクトル丁7]0.とベクトルb、b、。
For the distance i), vector 17x12 and vector b
The weight value is a value proportional to the average value of the length of jbL, ii
) for the distance, a constant value is used as the weighting value, and for the distance 1ii), the vector 7]0. and vector b, b,.

1の長さの最小値に比例する値を加重値とした夫々の重
みを乗算すること。
Multiplying each weight using a value proportional to the minimum length of 1 as a weight value.

(3)特徴点を選択する際に、前に対応した特徴点対(
aibj)を基準として指定される範囲として、aiの
次の特徴点al。1とbJの次以降の特徴点bt  (
ρ≧j+1)からなる集合A= ((az++、 b、
 )  I Q>j+1 )と、b、の次の特徴点す、
。1とaiの次以降の特徴点ak(k≧i+1)からな
る集合B= ((ak、 bj、+ )  l k:?
:i+1 )とについて、和集合ALIBをとった範囲
とすること。
(3) When selecting feature points, previously matched feature point pairs (
aibj) as the range specified as a reference, the next feature point al of ai. The feature points bt after 1 and bJ (
A set A= ((az++, b,
) I Q>j+1) and the next feature point of b,
. Set B = ((ak, bj, +) l k:?
:i+1), the range should be the union ALIB.

(4)上記(at、b、)により指定される範囲として
(4) As the range specified by (at, b,) above.

集合((a=−+、 bt )  I Q ≧j+1 
)の中で特徴点す、からbLに至るベクトル列の長さの がベクトルai ai。、の長さで指定される範囲内で
あることを条件とする部分集合A9と、同様に 集合((am、 bJ+I )  l k≧i+1)が
ベクトルbjbj。、の長さで指定される範囲内である
ことを条件とする部分集合B’とについて、和集合A’
 UB’をとった範囲とすること。
Set ((a=-+, bt) I Q ≧j+1
), the length of the vector sequence from the feature point I to bL is the vector ai ai. Similarly, the subset A9 is within the range specified by the length of , and the set ((am, bJ+I) l k≧i+1) is the vector bjbj. The union set A' with respect to the subset B', which is within the range specified by the length of .
The range should be UB'.

(5)上記(ai、bJ)により指定される範囲として
、上記部分集合A9の中で、あらかじめある方式で省略
不能であると決定された特徴点す。
(5) The range specified by the above (ai, bJ) is a feature point that has been determined in advance to be non-omissible using a certain method in the above subset A9.

とai、Iとのペア(ai−+、bm )が含まれる場
合には、b、、の次以降の特徴点とa i+1 とのペ
アを部分集合A9から削除した部分集合A ”と。
When a pair (ai-+, bm) of and ai, I is included, a subset A'' is obtained by deleting the pair of the feature point after b, , and a i+1 from the subset A9.

同様の論理で得られる部分集合B vvとについて。Regarding the subset B vv obtained by similar logic.

和集合A ” U B ”をとった範囲とすること。The range should be the union A “U B”.

(6)  上記(at、b=)により指定される範囲と
して、上記和集合A”IJB”’から次の各条件のいず
れかを満たす特徴点対’(am、b、)を削除したもの
を用いること。
(6) As the range specified by the above (at, b=), delete the feature point pair '(am, b,) that satisfies any of the following conditions from the union A"IJB"'. to use

+)amがストロークの始点です、がストロークの終点 1i)aIIがストロークの終点です、がストロークの
始点 (7)  上記(5)における所の特徴点が省略不能で
あると決定するに当たって、特徴点a、が次の各条件を
すべて満たすとき省略不能であると決定すること。
+) am is the start point of the stroke, is the end point of the stroke 1i) aII is the end point of the stroke, is the start point of the stroke (7) In determining that the feature point in (5) above cannot be omitted, the feature point Determine that a is indispensable when it satisfies all of the following conditions.

i)特徴点a、はあるストロークの始点もしくは終点で
ある。
i) Feature point a is the starting point or ending point of a certain stroke.

ii )特徴点a1とその前の特徴点a、−1とを結ぶ
ベクトルamam−1に対する。特徴点a。
ii) For the vector amam-1 connecting the feature point a1 and the previous feature point a,-1. Feature point a.

と次の特徴点a、。1とを結ぶベクトル7;1ゴのなす
角度がある閾値よりも小さいこと。
and the next feature point a,. Vector 7 connecting 1: The angle formed by 1 is smaller than a certain threshold.

1ii)a、が始点ならばベクトルミニ乙コの長さがr
  amが終点ならばベクトル八a+a+1の長さがあ
る闇値より長いこと。
1ii) If a is the starting point, then the length of the vector mini O is r
If am is the end point, the length of the vector 8a+a+1 is longer than a certain dark value.

(8)  特徴点対をスタックに退避する順番として距
離が大きいものを先に退避し、バック・トラックに当た
って先に利用するようにすること 。
(8) In the order in which feature point pairs are saved to the stack, those with larger distances are saved first, and used in the back track first.

(9)  対応づけ処理が先に進まないとする判断は。(9) What is the determination that the matching process will not proceed further?

対応づけが特徴点対(ai、bJ)に至った段階で9次
の各条件のいずれかを満たす時に対応づけが先に進まな
いと決定すること。
When the matching reaches the feature point pair (ai, bJ), it is determined that the matching will not proceed further if any of the 9-order conditions is satisfied.

i)閾値内にある距離にあるものが、(aム、bJ)の
次に対応する特徴点対としてひとつも存在しない。
i) There is no feature point pair next to (am, bJ) that is located at a certain distance within the threshold.

ii)すくなくとも−回収上対応づけのあと戻りが起こ
っており、過去に(at、bj)を対応づけたことがあ
る。
ii) At least - Backtracking of the association has occurred for collection purposes, and (at, bj) has been associated in the past.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く1本発明によれば、バック・トラック
を行い得るようにすることができるために、筆順を厳格
に守りつつ多少の位置のゆらぎについて裕度を与えるこ
とが可能となる。
As explained above, according to the present invention, it is possible to perform backtracking, so that it is possible to strictly maintain the stroke order while providing some margin for positional fluctuation.

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

第1図は本発明の原理ブロック図、第2図は入力パター
ンと特徴点との関連を説明する説明図。 第3図は対応づけ距離を説明する説明図、第4図は対応
づけ範囲を説明する説明図、第5図は第1図図示の特徴
点対応づけ回路の一実施例構成図。 第6図は第5図図示の次対応特徴点決定回路の一実施例
構成図を示す。 図中、1はタブレット、2は特徴点抽出回路。 3は入力パターン格納回路、4は標準パターン記憶回路
、5は標準パターン格納回路、6は特徴点対応づけ回路
、7は対応結果格納回路、9はパターン間類似度計算回
路、10はソーティング回路。 16は次対応特徴点決定回路、22はスタック。 40は対応づけ距離計算部を表す。
FIG. 1 is a block diagram of the principle of the present invention, and FIG. 2 is an explanatory diagram illustrating the relationship between input patterns and feature points. FIG. 3 is an explanatory diagram for explaining the correspondence distance, FIG. 4 is an explanatory diagram for explaining the correspondence range, and FIG. 5 is a configuration diagram of an embodiment of the feature point correspondence circuit shown in FIG. FIG. 6 shows a block diagram of an embodiment of the next corresponding feature point determination circuit shown in FIG. In the figure, 1 is a tablet and 2 is a feature point extraction circuit. 3 is an input pattern storage circuit, 4 is a standard pattern storage circuit, 5 is a standard pattern storage circuit, 6 is a feature point correspondence circuit, 7 is a correspondence result storage circuit, 9 is an inter-pattern similarity calculation circuit, and 10 is a sorting circuit. 16 is a next corresponding feature point determining circuit, and 22 is a stack. 40 represents a correspondence distance calculation unit.

Claims (1)

【特許請求の範囲】 手書入力されてくる入力パターンについてのストローク
の端点と屈曲点とを含む特徴点列を一方とし、予め与え
られている標準パターンについてのストロークの端点と
屈曲点とを含む特徴点列を他方とし、両者の間で、第1
点同士を対応づけてから、順次入力順に、次に対応する
特徴点を決定してゆくオンライン手書文字認識装置にお
いて、次に対応するか否かをチェックされる対応特徴点
対を(a_k、b_t)としかつ直前に対応した特徴点
対を(a_i、b_j)としたとき、上記夫々の特徴点
対にもとづいて距離計算を行う距離計算部40と、 当該距離計算部40によって計算された結果により得ら
れた1つまたは複数個の次対応候補特徴点対を保持する
スタック22と、 先に進めた対応づけ処理にゆきづまりが生じた際に上記
スタック22に保持しておいた他の次対応候補特徴点対
を選定してバック・トラックを行う機能をもつ次対応特
徴点決定回路部16と、を少なくとも有する特徴点対応
づけ回路6をそなえ、 当該特徴点対応づけ回路6が上記スタック22の内容に
もとづいて、対応づけ処理を進めてゆき、当該スタック
の内容が空になった状態で上記対応づけ処理にゆきづま
りが生じたとき、当該処理を中止するようにしたことを
特徴とするオンライン手書文字特徴点の対応づけ処理方
式。
[Claims] One feature point sequence includes stroke end points and bending points for an input pattern input by hand, and the other includes stroke end points and bending points for a standard pattern given in advance. The feature point sequence is the other, and between the two, the first
In an online handwritten character recognition device that associates points with each other and then determines the next corresponding feature point in the order of input, the next pair of corresponding feature points to be checked for correspondence is (a_k, b_t) and the immediately preceding pair of feature points is (a_i, b_j), a distance calculation section 40 that calculates a distance based on each of the above-mentioned respective feature point pairs, and a result calculated by the distance calculation section 40. A stack 22 that holds one or more next correspondence candidate feature point pairs obtained by , and other next correspondences that were held in the stack 22 when a bottleneck occurred in the matching process that proceeded earlier. A feature point matching circuit 6 having at least a next corresponding feature point determining circuit section 16 having a function of selecting a candidate feature point pair and backtracking is provided, and the feature point matching circuit 6 is connected to the stack 22. The online method is characterized in that the matching process is proceeded based on the content, and when a blockage occurs in the matching process when the content of the stack is empty, the process is stopped. Correspondence processing method for calligraphic character feature points.
JP60048746A 1985-03-12 1985-03-12 Correspondence processing system for on line handwriting character feature point Pending JPS61208186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60048746A JPS61208186A (en) 1985-03-12 1985-03-12 Correspondence processing system for on line handwriting character feature point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60048746A JPS61208186A (en) 1985-03-12 1985-03-12 Correspondence processing system for on line handwriting character feature point

Publications (1)

Publication Number Publication Date
JPS61208186A true JPS61208186A (en) 1986-09-16

Family

ID=12811846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60048746A Pending JPS61208186A (en) 1985-03-12 1985-03-12 Correspondence processing system for on line handwriting character feature point

Country Status (1)

Country Link
JP (1) JPS61208186A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816722A (en) * 1994-06-30 1996-01-19 Masaki Nakagawa Method and device for handwritten character on-line recognition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816722A (en) * 1994-06-30 1996-01-19 Masaki Nakagawa Method and device for handwritten character on-line recognition

Similar Documents

Publication Publication Date Title
Hosang et al. Learning non-maximum suppression
Sanfeliu et al. A distance measure between attributed relational graphs for pattern recognition
EP0325233B1 (en) Character string recognition system
JPS61208186A (en) Correspondence processing system for on line handwriting character feature point
US20230230404A1 (en) Recognizing handwritten text by combining neural networks
JPH05257982A (en) Character string recognizing method
EP0585861A2 (en) Image verification method
JPH05314320A (en) Recognition result evaluating system using difference of recognition distance and candidate order
JPS5848180A (en) Character decision processing system
CN107331030A (en) A kind of crown word number identification method, device, equipment and storage medium
JP2868770B2 (en) Structure of pattern dictionary
JPH03294983A (en) Character recognizing device
JP3099845B2 (en) Post-processing of pattern recognition
JPH01169588A (en) On-line character recognizing device
JP2851865B2 (en) Character recognition device
JPH09204490A (en) Method for selecting character string input means
JPS6280789A (en) Character recognizing device
JPH0746373B2 (en) Word recognizer
Chang et al. OFF-LINE RECOGNITION OF UNCONSTRAINED HANDWRITTEN CHARACTER USING DECISION TREE CLASSIFIER
JPH0527905B2 (en)
JPH02156388A (en) On-line handwritten character recognizing system
JPS59231682A (en) Character discriminating device
JPS6292090A (en) Pattern recognizing device
JPS6227886A (en) Pattern recognizing device
JPS6015996B2 (en) Series pattern matching device