JPH05143738A - On-line graphic recognizing device - Google Patents

On-line graphic recognizing device

Info

Publication number
JPH05143738A
JPH05143738A JP30621191A JP30621191A JPH05143738A JP H05143738 A JPH05143738 A JP H05143738A JP 30621191 A JP30621191 A JP 30621191A JP 30621191 A JP30621191 A JP 30621191A JP H05143738 A JPH05143738 A JP H05143738A
Authority
JP
Japan
Prior art keywords
stroke
point
data
feature point
points
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
JP30621191A
Other languages
Japanese (ja)
Inventor
Hitoshi Nakamura
仁 中村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP30621191A priority Critical patent/JPH05143738A/en
Publication of JPH05143738A publication Critical patent/JPH05143738A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

(57)【要約】 【目的】 2線分間の角度又はストロークの長さの比に
より特徴点を抽出し、一筆書きが行える順番に1つのル
ールを付加することにより図形の認識を行うオンライン
図形認識装置を提供する。 【構成】 手書き入力される線図形の時系列的な座標デ
ータを取得する手書入力取得手段と、座標データを一時
記憶するメモリと、その取得した座標データを必要なデ
ータ量に変換し正規化するデータ前処理手段と、データ
を認識する辞書5と、入力図形と辞書パターン図形とを
比較し認識する図形認識手段とを備えたオンライン図形
認識装置において、データの連続する3点を直線で結ん
で作られる線分間の角度のみにより、1ストロークの特
徴点、及び、一続きに描かれた複数のストロークの結合
点とされた特徴点を抽出する特徴点抽出手段を設けた。
(57) [Abstract] [Purpose] Online figure recognition that recognizes figures by extracting feature points by the ratio of the angle between two lines or stroke length and adding one rule in the order in which one stroke can be written. Provide the device. [Structure] A handwriting input acquisition means for acquiring time-series coordinate data of a line figure input by handwriting, a memory for temporarily storing the coordinate data, and the acquired coordinate data are converted into a required data amount for normalization. In an online figure recognition device equipped with a data pre-processing means, a dictionary 5 for recognizing data, and a figure recognizing means for comparing and recognizing an input figure and a dictionary pattern figure, three consecutive data points are connected by a straight line. A feature point extracting means is provided for extracting a feature point of one stroke and a feature point which is a connection point of a plurality of strokes drawn in a row only by the angle between the line segments created in (1).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文書編集装置等に用い
られるオンライン図形認識装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an on-line graphic recognition device used in a document editing device or the like.

【0002】[0002]

【従来の技術】従来におけるオンライン図形認識装置に
類するものとしては、例えば、下記に述べるような各種
の装置がある。その第一の例として、特開昭55−13
8172号公報に「オンライン文字特徴抽出装置」なる
タイトルで開示されているものがある。これは、ストロ
ークの直線度、相対長比、始点から終点に向かう方向角
度、さらには、ストロークの曲りの角度変化の4種類の
特徴量の時系列を文字の特徴量として抽出し、これによ
り、ストロークのわずかな違いも検出し、類似文字間の
識別を正しく行うことができるというものである。
2. Description of the Related Art As a conventional online graphic recognition device, there are various devices described below. As the first example, Japanese Patent Laid-Open No. 55-13
Some of them are disclosed in Japanese Patent No. 8172, entitled "Online Character Feature Extraction Device". This is to extract a time series of four types of characteristic amounts of stroke linearity, relative length ratio, direction angle from the start point to the end point, and further, the change in angle of stroke bending as the character characteristic amount. It is possible to detect even a slight difference in stroke and correctly identify similar characters.

【0003】また、その第二の従来例として、特開昭6
1−28180号公報に「オンライン手書き図形認識装
置」なるタイトルで開示されているものがある。これ
は、手書き図形の任意の2つのサンプル点を結ぶ直線に
基づく特徴量から手書き筆跡を複数の線分に分割して認
識することにより、図形入力状態に依存せずに手書き図
形をオンラインで自動認識することができ、これによ
り、従来よりもマンマシン性を一段と向上させることが
できるというものである。
Further, as a second conventional example thereof, Japanese Patent Laid-Open No.
There is one disclosed in the title of "Online handwritten figure recognition device" in Japanese Patent Publication 1-28180. This is to recognize the handwriting handwriting by dividing it into a plurality of line segments from the feature quantity based on the line connecting any two sample points of the handwriting figure, and to recognize the handwriting figure online automatically without depending on the figure input state. Therefore, the man-machine characteristic can be further improved as compared with the conventional case.

【0004】さらに、その第三の従来例として、特開昭
61−29980号公報に「オンライン手書き図形認識
装置」なるタイトルで開示されているものがある。これ
は、手書き筆跡の複数サンプル点の任意の2点を結ぶ直
線から得られる特徴量により手書き筆跡を複数の線分に
分割して認識することにより、図形入力時間の筆跡に依
存せずに認識を得られるようにすることができ、これに
より、手書き図形入力の際の、画数、筆順、回転、区切
りの制約を大幅に緩和させることができるものである。
Further, as a third conventional example thereof, there is one disclosed in Japanese Patent Application Laid-Open No. 61-29980 under the title "Online handwritten figure recognition device". This is because the handwriting handwriting is divided into a plurality of line segments by the feature amount obtained from a straight line connecting arbitrary two points of the handwriting handwriting sample points, and the recognition is performed without depending on the handwriting of the figure input time. By doing so, it is possible to greatly relax the restrictions on the number of strokes, stroke order, rotation, and division when inputting a handwritten figure.

【0005】さらにまた、その第四の従来例として、特
開昭62−82486号公報に「オンライン手書き図形
認識装置」なるタイトルで開示されているものがある。
これは、隣り合う2つの線分の角度変化量だけでなく、
2つ以上の線分の角度変化をも考慮に入れて辞書の線分
列の角度変化と比較することにより、手書きのあいまい
さを吸収して認識を可能とすることができ、これによ
り、手書き図形が大きな変形を伴ったり、回転した状態
のものであっても、常に正しく認識することができるも
のである。
Further, as a fourth conventional example thereof, there is one disclosed in Japanese Patent Application Laid-Open No. 62-82486 under the title "Online handwritten figure recognition device".
This is not only the angle change amount of two adjacent line segments,
By taking into account the angle change of two or more line segments and comparing it with the angle change of the line segment sequence of the dictionary, it is possible to absorb the ambiguity of the handwriting and enable the recognition. Even if the figure is greatly deformed or is in a rotated state, it can always be recognized correctly.

【0006】[0006]

【発明が解決しようとする課題】上述した第一の従来例
にみられるように、文字の特徴量を抽出する手段として
は、ストローク直線度、相対長比、方向角度、角度変化
の4種類を検出することにより行っているが、このよう
な抽出方法では処理時間がかかり、複雑化するという問
題がある。
As can be seen from the above-mentioned first conventional example, there are four types of means for extracting character feature amounts: stroke straightness, relative length ratio, direction angle, and angle change. Although it is performed by detecting, there is a problem that such an extraction method takes time and becomes complicated.

【0007】また、パターンマッチングによる認識方法
における特徴点の対応は、文字の場合、筆順の制限をし
ない場合、入力点1点に対して全ての点の距離計算を行
うため時間がかかってしまう。そこで、ある程度の筆順
変動を予測して距離計算を行う数を減らし、処理時間の
向上を図っているものがあるが、装置の構成が複雑化す
る恐れがある。また、図形では、特徴が似ているものが
多く、距離計算では十分に認識を行えないような場合が
ある。このような時、特徴点の順番を一筆書きにより行
う方法はあるが、図形によっては複数の書き方があり面
倒である。
Further, in the recognition method by pattern matching, the correspondence of the feature points takes time because it calculates the distances of all the points with respect to one input point in the case of a character and without limiting the stroke order. Therefore, there is an attempt to improve the processing time by reducing the number of distance calculations by predicting the stroke order variation to some extent, but the configuration of the device may be complicated. In addition, in many cases, the features are similar to each other, and it may not be possible to sufficiently recognize the distance calculation. In such a case, there is a method in which the order of the feature points is written by one stroke, but there are a plurality of writing methods depending on the figure, which is troublesome.

【0008】[0008]

【課題を解決するための手段】請求項1記載の発明で
は、手書き入力される線図形の時系列的な座標データを
取得する手書入力取得手段と、前記座標データを一時記
憶するメモリと、その取得した座標データを必要なデー
タ量に変換し正規化するデータ前処理手段と、データを
認識する辞書と、入力図形と辞書パターン図形とを比較
し認識する図形認識手段とを備えたオンライン図形認識
装置において、データの連続する3点を直線で結んで作
られる線分間の角度のみにより、1ストロークの特徴
点、及び、一続きに描かれた複数のストロークの結合点
とされた特徴点を抽出する特徴点抽出手段を設けた。
According to a first aspect of the present invention, there is provided a handwriting input obtaining means for obtaining time-series coordinate data of a line figure input by handwriting, and a memory for temporarily storing the coordinate data. An online graphic provided with a data preprocessing means for converting the acquired coordinate data into a required data amount and normalizing it, a dictionary for recognizing the data, and a graphic recognizing means for comparing and recognizing the input graphic and the dictionary pattern graphic. In the recognition device, a feature point of one stroke and a feature point which is a connection point of a plurality of strokes drawn in a row are determined only by the angle between line segments formed by connecting three consecutive data points with a straight line. A feature point extracting means for extracting is provided.

【0009】請求項2記載の発明では、手書き入力され
る線図形の時系列的な座標データを取得する手書入力取
得手段と、前記座標データを一時記憶するメモリと、そ
の取得した座標データを必要なデータ量に変換し正規化
するデータ前処理手段と、データを認識する辞書と、入
力図形と辞書パターン図形とを比較し認識する図形認識
手段とを備えたオンライン図形認識装置において、一続
きに描かれたストロークの長さとそのストロークの始点
と終点とを結んだ長さとの比によりストロークを分割す
ることにより、1ストロークの特徴点、及び、一続きに
描かれた複数のストロークの結合点とされた特徴点を抽
出する特徴点抽出手段を設けた。
According to a second aspect of the present invention, handwriting input acquisition means for acquiring time-series coordinate data of a line figure input by handwriting, a memory for temporarily storing the coordinate data, and the acquired coordinate data are stored in the memory. An online graphic recognition apparatus comprising a data preprocessing means for converting the data into a required data amount and normalizing it, a dictionary for recognizing data, and a graphic recognition means for comparing and recognizing an input graphic and a dictionary pattern graphic. By dividing the stroke by the ratio of the length of the stroke drawn in Fig. 1 and the length connecting the start point and the end point of the stroke, the characteristic point of one stroke and the connecting point of a plurality of strokes drawn in succession A feature point extraction means is provided for extracting the feature points identified as

【0010】請求項3記載の発明では、請求項1,2記
載の発明において、1ストロークの特徴点と、一続きに
描かれた複数のストロークの結合点とされた特徴点とに
より特徴点情報リストを作成し、この特徴点情報リスト
の各特徴点の情報に1ストロークで描く順番と1ルール
とを付加させることにより手書き入力された図形と辞書
により認識した図形との特徴点を対応させる特徴点対応
付け手段を設けた。
According to a third aspect of the present invention, in the first and second aspects of the present invention, feature point information is obtained by the feature point of one stroke and the feature point which is a connecting point of a plurality of strokes drawn in a row. A feature that associates the feature points of the figure input by handwriting with the figure recognized by the dictionary by creating a list and adding the order of drawing with one stroke and one rule to the information of each feature point in this feature point information list Point matching means was provided.

【0011】[0011]

【作用】請求項1記載の発明では、図形を折れ線近似し
たときの2線分の間の角度のみで特徴点を抽出するよう
にしたので、特徴点を十分に抽出することができると共
に、処理を減少させることが可能となる。
According to the invention described in claim 1, since the feature points are extracted only by the angle between the two line segments when the figure is approximated by the polygonal line, the feature points can be sufficiently extracted and the processing is performed. Can be reduced.

【0012】請求項2記載の発明では、ストロークの長
さと、ストロークの始点と終点とを結んだ直線の長さと
の比により直線であるか否かを判断し、直線でなければ
仮分離を行い、さらに、仮分離したそれぞれのストロー
クに他方のデータ点を加え、直線であるかを判断するこ
とにより、精度のよい特徴点を抽出することが可能とな
る。
According to the second aspect of the present invention, it is determined whether or not the line is a straight line based on the ratio of the length of the stroke and the length of the straight line connecting the start point and the end point of the stroke. Further, by adding the other data point to each of the temporarily separated strokes and determining whether or not the stroke is a straight line, it becomes possible to extract the characteristic point with high accuracy.

【0013】請求項3記載の発明では、入力した図形の
特徴点とマッチングを行う辞書データとの対応を結合情
報により分類を行った後、一筆書きの順番に1つのルー
ルを加えることにより、特徴点の類似図形でもマッチン
グの結果が著しく異なる結果を求めることが可能とな
る。
According to the third aspect of the present invention, the correspondence between the feature points of the input graphic and the dictionary data to be matched is classified by the combined information, and then one rule is added in the order of one stroke writing. It is possible to obtain a result in which the matching result is remarkably different even for the similar figure of points.

【0014】[0014]

【実施例】請求項1記載の発明の一実施例を図1〜図8
に基づいて説明する。まず、図1はオンライン図形認識
装置の全体構成を示すものである。本装置には、図形入
力部1と、この図形入力部1から手書き入力される線図
形の時系列的な座標データを取得する手書入力取得手段
としてのデータ取得部2と、前記座標データを一時記憶
するメモリ3と、その取得した座標データを必要なデー
タ量に変換し正規化するデータ前処理手段としてのデー
タ前処理部4と、データを認識する辞書としての認識辞
書部5と、入力図形と辞書パターン図形とを比較し認識
する図形認識手段としての図形認識部6と、図形を画面
に表示する表示部7とが設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the invention according to claim 1 is shown in FIGS.
It will be explained based on. First, FIG. 1 shows the overall configuration of an online figure recognition device. This apparatus includes a graphic input unit 1, a data acquisition unit 2 as a handwriting input acquisition unit for acquiring time-series coordinate data of a line graphic handwritten and input from the graphic input unit 1, and the coordinate data. A memory 3 for temporary storage, a data preprocessing unit 4 as a data preprocessing unit for converting the acquired coordinate data into a required data amount and normalizing it, a recognition dictionary unit 5 as a dictionary for recognizing data, and an input A graphic recognition unit 6 as a graphic recognition means for comparing and recognizing the graphic and the dictionary pattern graphic, and a display unit 7 for displaying the graphic on the screen are provided.

【0015】本実施例では、このような各部の機能を備
えたオンライン図形認識装置において、データの連続す
る3点を直線で結んで作られる線分間の角度のみによ
り、1ストロークの特徴点、及び、一続きに描かれた複
数のストロークの結合点とされた特徴点を抽出する特徴
点抽出手段を設けたものである。この特徴点抽出手段の
詳細な説明については後述する。
In the present embodiment, in the online figure recognition apparatus having the functions of the respective parts as described above, the characteristic point of one stroke, and the characteristic point of one stroke are determined only by the angle between the line segments formed by connecting three consecutive points of data with a straight line. A feature point extracting means for extracting a feature point which is a connecting point of a plurality of strokes drawn in a row is provided. A detailed description of this feature point extraction means will be given later.

【0016】このような構成において、図形入力部1
は、手書き図形を入力するためのタブレット8と、スタ
イラスペン9とからなっている。今、タブレット8上に
描かれた図形は、データ取得部2により定時的にサンプ
リングされ、座標点としてメモリ3に記憶される。デー
タ前処理部4によりメモリ3に記憶されている入力図形
の座標点列データを読み出し、データの雑音除去及びス
ムージング、データの標本化、正規化処理等の前処理を
行い、図形認識部6により認識辞書部5を参照して認識
を行い、これにより得られた認識結果を表示部7に表示
を行う。
In such a configuration, the graphic input unit 1
Includes a tablet 8 for inputting handwritten figures and a stylus pen 9. The figure drawn on the tablet 8 is sampled at regular intervals by the data acquisition unit 2 and stored in the memory 3 as coordinate points. The data preprocessing unit 4 reads the coordinate point sequence data of the input graphic stored in the memory 3, performs preprocessing such as data noise removal and smoothing, data sampling, and normalization processing, and the graphic recognition unit 6 performs the preprocessing. The recognition is performed by referring to the recognition dictionary unit 5, and the recognition result obtained by this is displayed on the display unit 7.

【0017】次に、認識処理の流れを図2のフローに基
づいて説明する。まず、(a)において、タブレット8
上にスタイラスペン9で図形を描き入力を行う。これに
より入力された図形データは、時系列的に座標点として
取り込まれる。この時、ストローク(スタイラスペン9
をタブレット8上に降ろしてから上げるまでの一続きの
ライン)を描いた時のスタイラスペン9のアップダウン
の情報も取り込まれる。(b)において、(a)で手書
き入力した図形の座標データを雑音や手ぶれによる特異
点、スタイラスペン9を一点に停留していた場合などの
同じ座標一の点等の除去を行う。(c)において、デー
タを必要な点のみにするためデータの標本化を行う。
(d)において、正規化処理を行う。正規化の方法は、
例えば、総ストローク長がどの図形に対しても一定の長
さとする正規化方法等により行うことができる。(e)
に特徴点抽出を行い、その特徴点情報より(f)におい
て折線や曲線と直線を続けて描いたストロークの分離を
行う。(g)において、認識するための特徴点を対応付
けるために特徴点の並び変え処理を行う。(h)におい
て、ストロークの結合を行い、不必要になった特徴点を
除去する。(i)において、各特徴点により分類を行
い、認識対象図形を分類する。(j)において、(i)
により分類された認識対象図形の情報を辞書より読込
み、入力図形の認識を行う。(k)において、認識した
結果の出力を行う。
Next, the flow of recognition processing will be described based on the flow of FIG. First, in (a), the tablet 8
Draw a figure with the stylus pen 9 and input. The graphic data input by this is taken in as coordinate points in time series. At this time, stroke (stylus pen 9
The up and down information of the stylus pen 9 when drawing a continuous line from the time when the tablet is lowered onto the tablet 8 to the time when the tablet is raised is also captured. In (b), the coordinate data of the figure input by handwriting in (a) is removed from a singular point due to noise or camera shake, a point with the same coordinate when the stylus pen 9 is stopped at one point, and the like. In (c), data is sampled in order to limit the data to necessary points.
In (d), normalization processing is performed. The normalization method is
For example, it can be performed by a normalization method or the like in which the total stroke length is constant for any figure. (E)
Then, the characteristic points are extracted, and the strokes drawn by drawing the broken line or the curved line and the straight line in (f) are separated from the characteristic point information. In (g), rearrangement processing of feature points is performed in order to associate the feature points for recognition. In (h), the strokes are combined to remove unnecessary feature points. In (i), classification is performed according to each feature point to classify recognition target graphics. In (j), (i)
The information of the recognition target figure classified by is read from the dictionary and the input figure is recognized. In (k), the recognition result is output.

【0018】次に、特徴点抽出手段を用いて特徴点を抽
出する方法について述べる。今、入力された図形は、図
3のように時系列の座標点で表わされ、第1ストロー
ク、第2ストローク、第3ストロークと矢印方向に描か
れたものとする。これにより、入力された図形は、図4
に示すように、(a)〜(c)に示すような直線(水平
線、垂直線、斜線)、(d)(e)に示すような曲線、
(f)〜(h)に示すような結合線(直線、曲線の組合
せによるもの)、(i)(j)に示すような円、楕円等
のストロークや、これらの組合せによって作られるスト
ロークで描かれる。結合は、直線と直線或いは曲線と直
線の結合であり、これらの結合部分を「特徴点」として
分離し、直線と曲線のみにより入力図形を表わす。この
場合、ストロークでは、始点、終点、中間点が特徴点と
なり、また、結合線では分離した始点或いは終点が特徴
点となる。
Next, a method of extracting feature points using the feature point extraction means will be described. It is assumed that the input graphic is represented by time-series coordinate points as shown in FIG. 3 and is drawn in the arrow direction as the first stroke, the second stroke, and the third stroke. As a result, the input figure is
As shown in (a) to (c), straight lines (horizontal lines, vertical lines, diagonal lines), (d), curves as shown in (e),
Drawing with connecting lines (combining straight lines and curves) as shown in (f) to (h), strokes such as circles and ellipses as shown in (i) and (j), and strokes made by combining these. Be done. The combination is a combination of straight lines and straight lines or curved lines and straight lines. These connected portions are separated as "feature points", and the input figure is represented only by the straight lines and curved lines. In this case, in the stroke, the starting point, the ending point, and the intermediate point become the characteristic points, and in the connecting line, the separated starting point or the ending point becomes the characteristic point.

【0019】そこで、その特徴点の抽出方法を図5〜図
7に基づいて説明する。これら図5〜図7は、入力デー
タの連続する3点を結んだ折線の角度により特徴点を抽
出する方法を示すものである。まず、図5において、
(a)は、連続する入力データ間を直線で結び、折線で
表わしたストローク図形である。(b)は、入力データ
に対して前処理を行い、入力データの標本化を行った後
のストローク図形である。(c)は、(b)の破線内を
拡大して示したものである。この場合、連続する点Pi-
1,Pi,Pi+1 を結んで作られる折線の角度θiは、P
i-1 からPi を結んだ線をベクトルx、Pi からPi+1
を結んだ線をベクトルyとすると、 θi=cos~1(x・y/|x|・|y|) …(1) の式で求めることができる。
Therefore, a method of extracting the characteristic points will be described with reference to FIGS. 5 to 7 show a method of extracting feature points by the angle of a polygonal line connecting three consecutive points of input data. First, in FIG.
(A) is a stroke figure which connects continuous input data with a straight line and is represented by a broken line. (B) is a stroke figure after preprocessing the input data and sampling the input data. (C) is an enlarged view of the inside of the broken line in (b). In this case, consecutive points Pi-
The angle θi of the polygonal line formed by connecting 1, Pi and Pi + 1 is P
The line connecting i-1 to Pi is the vector x, and Pi to Pi + 1
If the line connecting the two is a vector y, then θi = cos ~ 1 (x · y / | x | · | y |) can be obtained by the equation (1).

【0020】そして、ストロークの全ての個所について
角度θを求め、角度θが予め定めた閾値αより小さい場
合、その点を特徴点とする。また、この場合、ストロー
クの始点と終点も特徴点とする。(d)は特徴点間を順
に直線でストロークの分離を行ったものである。この方
法により求めた角度θが閾値αより全て大きいストロー
クは、結合ストロークでない(直線、曲線)か、結合ス
トローク特徴点(結合部)が求められない場合である。
図6に示すように、入力図形が直線と曲線の結合ストロ
ークの場合、ストローク結合部は比較的角度が大きいた
め求められない場合がある。従って、図6に示した折線
の角度θi と一つ前の折線の角度θi-1が共に閾値βよ
り小さい場合、角度θi-1 の部分の点を特徴点とする。
ただし、角度閾値βは、β>αの関係にある。この2つ
の条件を満たす点を求めることにより、ストロークの分
離部分となる特徴を求めることができる。図7に示す円
の場合は、全て折線の角度が前述した条件(θ≦α、θ
i-1,θi≦β)を満たさず、比較的角度が大きいためそ
のような条件を満たさない図形において始点と終点の距
離が近傍である図形は別に分類を行い認識処理を行う。
Then, the angle θ is obtained for all points of the stroke, and when the angle θ is smaller than a predetermined threshold value α, that point is set as a feature point. In this case, the start point and the end point of the stroke are also feature points. In (d), strokes are sequentially separated by straight lines between characteristic points. A stroke in which the angle θ obtained by this method is all larger than the threshold value α is not a combined stroke (straight line, curved line) or a combined stroke feature point (combined portion) cannot be obtained.
As shown in FIG. 6, when the input figure is a combination stroke of a straight line and a curved line, the stroke connection portion may not be obtained because the angle is relatively large. Therefore, when the angle θi of the broken line and the angle θi-1 of the previous broken line shown in FIG. 6 are both smaller than the threshold value β, the point at the angle θi-1 is set as the feature point.
However, the angle threshold β has a relationship of β> α. By obtaining the points that satisfy these two conditions, it is possible to obtain the feature that is the separated portion of the stroke. In the case of the circle shown in FIG. 7, all the angles of the polygonal lines are in the above-mentioned conditions (θ ≦ α, θ
i-1, θi ≤ β) is not satisfied, and the angles that do not satisfy such a condition because the angle is comparatively large are classified and the recognition processing is performed separately for the graphics whose start point and end point are near each other.

【0021】次に、特徴点を抽出する処理の流れを図8
に基づいて説明する。まず、(a)において、前述した
図5(b)に示したように連続する3点を順に結んだ折
線角度の各θiを求める。(b)において、その求めた
角度θiが閾値αより小さい場合は、(c)に示すよう
にその点を特徴点として抽出した後、(d)において、
全てのデータに対して処理を行ったかを判断し、「Ye
s」であれば処理を終了し、「No」であれば(a)に
戻る。また、(b)において、求めた角度θiが角度閾
値αより大きい場合には(e)に進む。この(e)で
は、1つ前の角度θi-1 と角度θiが共に角度閾値βよ
り小さければ、(c)に示すように1つ前の点を特徴点
とする。このように、(b)の条件を満たせば直線間の
分離を行うことができ、(e)の条件を満たせば直線と
曲線との間の分離を行うことができ、(b)、(e)の
条件を共に満たさなければ円、楕円としてみなすことが
できる。
Next, the flow of processing for extracting the characteristic points is shown in FIG.
It will be explained based on. First, in (a), as shown in FIG. 5 (b) described above, each θi of the broken line angles obtained by sequentially connecting three consecutive points is obtained. In (b), when the obtained angle θi is smaller than the threshold value α, the point is extracted as a feature point as shown in (c), and then in (d),
Judge whether all data has been processed and
If "s", the process is terminated, and if "No", the process returns to (a). Further, in (b), when the obtained angle θi is larger than the angle threshold α, the process proceeds to (e). In this (e), if both the previous angle θi−1 and the angle θi are smaller than the angle threshold β, the previous point is set as the feature point as shown in (c). Thus, if the condition of (b) is satisfied, the separation between straight lines can be performed, and if the condition of (e) is satisfied, the separation between a straight line and a curve can be performed, and (b), (e If both conditions are not satisfied, it can be regarded as a circle or an ellipse.

【0022】上述したように、図形などは文字と異なり
ストロークを結合して描かれることが多く、ストローク
を分離することにより最小単位のストロークで図形を表
わし、分離した点を特徴点とするための特徴点抽出方法
を折線近似した線分の角度により抽出することができ
る。従って、このように折線近似した2つの線分の角度
のみで特徴を抽出することにより、従来の抽出方法に比
べで処理時間を減らすことが可能となり、また、円の場
合には設定する角度閾値の値により、描いた円のストロ
ークの中間に特徴点を抽出しないことにより抽出を行う
ことができる。
As described above, a figure or the like is often drawn by combining strokes unlike a character. By separating strokes, a figure is represented by a minimum unit stroke, and the separated points are used as feature points. The feature point extraction method can be extracted by the angle of the line segment approximated by the broken line. Therefore, by extracting features using only the angles of two line segments that are approximated by polygonal lines in this way, it is possible to reduce the processing time compared to the conventional extraction method, and in the case of circles, the angle threshold to be set is set. Depending on the value of, the extraction can be performed by not extracting the feature point in the middle of the stroke of the drawn circle.

【0023】次に、請求項2記載の発明の一実施例を図
9〜図11に基づいて説明する。本実施例では、前述し
た図1のオンライン図形認識装置において、特徴点を抽
出する特徴点抽出手段の方法を変えたものである。すな
わち、ここでの特徴点抽出手段は、一続きに描かれたス
トロークの長さとそのストロークの始点と終点とを結ん
だ長さと比によりストロークを分割することにより、1
ストロークの特徴点、及び、一続きに描かれた複数のス
トロークの結合点とされた特徴点を抽出するようにした
ものである。
Next, an embodiment of the invention described in claim 2 will be described with reference to FIGS. In the present embodiment, the method of the feature point extracting means for extracting the feature points is changed in the above-described online figure recognition apparatus of FIG. That is, the feature point extraction means here divides the stroke by the ratio of the length of the stroke drawn continuously and the length connecting the start point and the end point of the stroke, thereby
A feature point of a stroke and a feature point which is a connecting point of a plurality of strokes drawn in a row are extracted.

【0024】そこで、今、ストロークの始点と終点を結
んだ直線の長さと、ストロークの長さとの比により特徴
点を求める具体的な方法について述べる。図9は、1ス
トロークが曲線であるかを判断する方法を示すものであ
る。入力した1ストロークの連続する各点を直線で結び
折線近似したとき、各点間の直線の距離を全てトータル
した値をストロークの距離Lとする。1ストロークの始
点(ペンダウンした点)と終点(ペンをアップした点)
を直線で結んだ距離をLsとする。この2つの距離比が
閾値γより大きいとき(L/Ls≧γ)、そのストロー
クは、曲線或いは結合線と判断する。閾値γより小さい
とき(L/Ls<γ)は、直線と判断する(以後、この
処理を曲線判断処理と呼ぶ)。
Therefore, a specific method for obtaining the characteristic point by the ratio of the length of the straight line connecting the starting point and the ending point of the stroke to the length of the stroke will now be described. FIG. 9 shows a method for determining whether one stroke is a curve. A stroke distance L is a value obtained by summing all the distances of the straight lines between the points when the input continuous points of the strokes are connected by straight lines and approximated by a broken line. Start point (point where pen is down) and end point (point where pen is up) of one stroke
Let Ls be the distance connecting the two with a straight line. When the ratio of these two distances is larger than the threshold value γ (L / Ls ≧ γ), the stroke is determined to be a curve or a connecting line. When it is smaller than the threshold value γ (L / Ls <γ), it is determined to be a straight line (hereinafter, this process is referred to as a curve determination process).

【0025】曲線或いは結合線と判断したストロークか
ら結合部を抽出する方法を図10により説明する。
(a)において、前述した方法により直線であるかを判
断した結果、曲線或いは結合線と判断した場合、(b)
において、ストロークのトータル距離の中間となる位置
を中間点として仮ストロークとして分離する。(c)に
おいて、分離したそれぞれの分離ストローク10,11
を再度曲線判断の処理を行う。これら再度の曲線判断の
処理を行った結果が直線でない分離ストローク10の場
合、(d)において、その分離ストローク10にもう一
方の分離ストローク11の数点(破線内の点)を加えて
曲線判断を行う。このような分離処理をストロークの長
さが定めた値λまで行う。ただし、その定めた長さλ
は、直線と曲線の判断ができる長さとする。(e)にお
いて、再度分離した結果が直線と曲線の時には、(d)
において他方のストロークから加えた特徴点をどちらの
ストロークの点データにするかを判断し、(f)におい
てストロークの分離を終了させ、これにより分離した点
を特徴点とする。
A method of extracting a joint from a stroke determined to be a curve or a joint line will be described with reference to FIG.
In (a), when it is judged as a curved line or a connecting line as a result of judging whether it is a straight line by the above-mentioned method, (b)
In, a position that is in the middle of the total stroke distance is separated as a tentative stroke with the intermediate point. In (c), the separated separation strokes 10 and 11 are separated.
The curve determination process is performed again. When the result of performing the curve determination process again is a separation stroke 10 that is not a straight line, in (d), the curve determination is performed by adding several points (points within the broken line) of the other separation stroke 11 to the separation stroke 10. I do. Such separation processing is performed until the stroke length reaches a predetermined value λ. However, the specified length λ
Is a length that allows the determination of straight lines and curved lines. In (e), when the separated results are straight lines and curved lines, (d)
At (f), it is determined which stroke is to be used as the feature data added from the other stroke, and the stroke separation is terminated at (f).

【0026】次に、特徴点を抽出する処理の流れを図1
1に基づいて説明する。(a)において、1ストローク
の曲率を計算する。(b)において、曲率(L/Ls)
が定めた曲率γより小さい場合は直線と判断する。曲率
がγより大きい場合、(c)において、ストロークの長
さを計算し中間点を求める。(d)において、中間点に
よりストロークを2つに仮分離を行う。仮分離したスト
ロークの曲率をそれぞれ再度(e)において計算する。
(f)において、曲線判断(L/Ls≧γ)を行い、
「No」である場合には直線と判断し、(i)に進んで
残りのデータ(ストローク)があるかを判断し、もし、
ない場合は分離終了する。この時、残りのデータが有る
場合には(c)に戻る。そして、再び(f)において、
曲線判断が「Yes」の場合には、(g)においてスト
ロークの長さを判断し、ストロークの長さLiが直線と
曲線とが判断できる長さ(Li≧λ)であるかを判断す
る。ストロークの長さLiがλより小さい場合には、
(h)に示すように曲線と判断し、(g)においてスト
ロークの長さLiがλより大きい場合には、(c)に戻
る。このような方法により分離した点を特徴点とする。
Next, the flow of processing for extracting the characteristic points is shown in FIG.
It will be described based on 1. In (a), the curvature of one stroke is calculated. In (b), curvature (L / Ls)
If it is smaller than the curvature γ defined by, it is determined to be a straight line. When the curvature is larger than γ, the stroke length is calculated and the intermediate point is obtained in (c). In (d), the stroke is temporarily separated into two strokes at the intermediate point. The curvatures of the temporarily separated strokes are calculated again in (e).
In (f), curve judgment (L / Ls ≧ γ) is performed,
If “No”, it is determined to be a straight line, and the procedure proceeds to (i) to determine whether there is the remaining data (stroke).
If not, the separation ends. At this time, if there is remaining data, the process returns to (c). Then, in (f) again,
When the curve determination is “Yes”, the stroke length is determined in (g), and it is determined whether the stroke length Li is a length (Li ≧ λ) at which a straight line and a curve can be determined. When the stroke length Li is smaller than λ,
It is determined to be a curve as shown in (h), and if the stroke length Li is larger than λ in (g), the process returns to (c). The points separated by such a method are set as characteristic points.

【0027】上述したように、結合されて描かれたスト
ロークを分離する方法で、結合点があいまいとなってし
まう場合があり、ストロークの長さと、描いたストロー
クの始点と終点を結ぶ直線の長さとの比で仮分離を行
い、このような処理を繰り返して行うことにより精度良
く分離点を抽出することができる。
As described above, in the method of separating the strokes drawn by being connected, the connecting point may be ambiguous, and the length of the stroke and the length of the straight line connecting the start point and the end point of the drawn stroke. The separation point can be accurately extracted by performing the temporary separation at a ratio with the above and repeating such processing.

【0028】次に、請求項3記載の発明の一実施例を図
12〜図17に基づいて説明する。本実施例では、前述
した2つの実施例で特徴点抽出手段により抽出された特
徴点を用いて、特徴点対応付け手段により図形を認識す
る方法について述べる。その特徴点対応付け手段とは、
1ストロークの特徴点と、一続きに描かれた複数のスト
ロークの結合点とされた特徴点とにより特徴点情報リス
トを作成し、この特徴点情報リストの各特徴点の情報に
1ストロークで描く順番と1ルールとを付加させること
により手書き入力された図形と辞書により認識した図形
との特徴点を対応させ、これにより図形を認識するよう
にしたものである。以下、この特徴点対応付け手段を具
体例を挙げて順次説明する。
Next, an embodiment of the invention described in claim 3 will be described with reference to FIGS. In this embodiment, a method for recognizing a graphic by the feature point associating means using the feature points extracted by the feature point extracting means in the above-described two embodiments will be described. The feature point associating means is
A feature point information list is created from the feature points of one stroke and the feature points that are the connection points of a plurality of strokes drawn in a row, and the information of each feature point in this feature point information list is drawn with one stroke. By adding the order and one rule, the handwritten input figure and the figure recognized by the dictionary are made to correspond to each other, and the figure is recognized. Hereinafter, the feature point associating means will be sequentially described with a specific example.

【0029】図12に示すように、特徴点を抽出した図
形のストロークは、直線と曲線の判断を行い、直線は始
点と終点(以後、端点と呼ぶ)の2点(太丸)で表し、
曲線は端点と中間点の3点(太丸)で表す。曲線の中間
点はストロークの長さの中間の距離位置にある点により
近い入力データ点とする。図13は、入力図形を端点と
中間点で表した図形の例を示す。この場合、特徴点であ
る端点と中間点は、1ストロークから分離したものであ
れば、既に分離したストロークとの結合関係情報が得ら
れている。例えば、図形を対象としていない場合は、あ
る端点から定めた距離内にある端点を結合ストロークの
端点であるとすることにより、容易に結合関係を求める
ことができる。図14は、特徴点の情報を端点数、中間
点、各端点の結合関係として作成した特徴点情報リスト
12の様子を示すものである。この特徴点情報リスト1
2により、端点の結合順序を決定することができる。す
なわち、例えば、フローチャート等の記号図形は閉図形
が多く、各ストロークの端点は、他のストローク(ここ
でのストロークは、直線と曲線の最小単位で表した場合
のストロークとする)と結合していることが多いため、
特徴点の順番を決めることにより、認識時パターンのマ
ッチングを行う際の特徴点の対応を行うことができる。
図15は、方向と結合点情報による特徴点並び替えを説
明したものであり、これにより入力した図形を認識する
ためのパターンマッチングの点の対応を容易にすること
ができる。この図15では、フローチャート図記号の”
照合”を表す場合の例であり、三角形が上下に頂点を合
わせて結合された図形を示すものである。今、入力図形
が(a)に示すように入力されたとする。ここでの図番
は筆記順を示し、矢印は筆記したストロークの方向を示
す。この入力図形の特徴点を上述の特徴点抽出方法によ
り特徴点を求め、特徴点情報リストを得ることにより、
各特徴点の結合情報よりストローク方向(順番)を変え
ることが可能となる。
As shown in FIG. 12, the stroke of the figure from which the characteristic points are extracted is determined as a straight line or a curved line, and the straight line is represented by two points (bold circles) of a start point and an end point (hereinafter referred to as end points).
The curve is represented by three points (thick circles), an end point and an intermediate point. The midpoint of the curve is the input data point that is closer to the point at the intermediate distance position of the stroke length. FIG. 13 shows an example of a figure in which the input figure is represented by end points and intermediate points. In this case, if the end points and the intermediate points, which are the characteristic points, are separated from one stroke, the connection relation information with the already separated strokes is already obtained. For example, when a graphic is not a target, the connecting relation can be easily obtained by setting the end point within a distance defined from a certain end point as the end point of the connecting stroke. FIG. 14 shows a state of the feature point information list 12 in which the feature point information is created as the number of end points, the intermediate points, and the connection relation of each end point. This feature point information list 1
2, it is possible to determine the connecting order of the end points. That is, for example, many symbolic figures such as flowcharts are closed figures, and the end points of each stroke are combined with other strokes (the strokes here are strokes represented by the minimum unit of a straight line and a curved line). Because there are many
By determining the order of the feature points, it is possible to correspond the feature points when matching the patterns at the time of recognition.
FIG. 15 illustrates the rearrangement of the feature points based on the direction and the connection point information, which makes it possible to easily correspond the points of the pattern matching for recognizing the input graphic. In FIG. 15, the flowchart symbol ""
This is an example in the case of expressing "matching", and shows a figure in which triangles are combined with their upper and lower vertices aligned. Now, assume that the input figure is input as shown in (a). Indicates the writing order, and the arrow indicates the direction of the written stroke.The feature points of this input figure are obtained by the feature point extraction method described above, and the feature point information list is obtained.
It is possible to change the stroke direction (order) based on the combined information of each feature point.

【0030】次に、ストローク方向を変える方法につい
て述べる。今、図形の特徴点を各ストロークの始点Sと
し終点Eとする。入力した図形のデータは、特徴点のみ
が抽出され、次のような順番となる。
Next, a method of changing the stroke direction will be described. Now, let us say that the characteristic point of the figure is the starting point S and the ending point E of each stroke. Only the characteristic points are extracted from the input figure data, and the order is as follows.

【0031】(1S,1E,2S,2E,3S,3E,
4S,4E,5S,5E,6S,6E)なお、各点端は
座標値である。
(1S, 1E, 2S, 2E, 3S, 3E,
4S, 4E, 5S, 5E, 6S, 6E) Note that each point end is a coordinate value.

【0032】この場合、並べ替えのデータの始めの点
は、一筆書きが可能である場合は、一筆書きが行える点
を1番目として並び替えを行う。このように一筆書きが
行える点を並び替え始点とすることにより、認識時のマ
ッチング結果の類似度の違いが顕著に現れることにな
る。そして、図16(a)(b)が描かれた場合、上述
した特徴点抽出方法により得られる点は、(a)と
(b)とは同じ特徴点となる。このように一筆書きの順
でデータを対応させ、図16に示す番号順に点の対応を
させることにより、認識時のパターン間の距離計算によ
る認識結果の値は著しく違うものとなる。また、この他
に、一筆書きの始点となる点が複数ある場合や、一筆書
きが行えないような葉場合は、ある一定の「ルール」を
設定しておく。
In this case, when the first point of the rearrangement data can be written by one stroke, the point at which one stroke can be written is set as the first point. By thus setting the point where one-stroke writing is possible as the rearrangement start point, the difference in the degree of similarity of the matching result at the time of recognition becomes remarkable. Then, when FIGS. 16A and 16B are drawn, the points obtained by the above-described feature point extraction method are the same feature points as in FIGS. 16A and 16B. In this way, by associating the data in the order of one stroke and by associating the points in the order of the numbers shown in FIG. 16, the value of the recognition result by the distance calculation between the patterns at the time of recognition becomes significantly different. In addition, in addition to this, when there are a plurality of points that are the starting points of one-stroke writing, or when the leaves are such that one-stroke writing cannot be performed, a certain "rule" is set.

【0033】その一例として、図形の特徴点が左上であ
り、その点をもつストロークの対の点(始点或いは終
点)が下に向かうストロークの点として並び替えの始点
とする。図15(a)の図形の特徴点の順番は、(b)
のように,,の順番にa→b→cと、,,
の順番にd→e→fと並び替えられ、(3S,3E,2
E,2S,1E,1S,4S,4E,5S,5E,6
E,6S)となる。
As an example thereof, the characteristic point of the graphic is at the upper left, and the point (start point or end point) of the pair of strokes having that point is the starting point of the rearrangement as the point of the downward stroke. The order of the feature points of the figure in FIG. 15A is (b)
, A, b → c in the order of ,,,,,
Are rearranged in the order of d → e → f, and (3S, 3E, 2
E, 2S, 1E, 1S, 4S, 4E, 5S, 5E, 6
E, 6S).

【0034】そして、特徴点情報リストにより、3E,
2E,4S,6Sは結合関係にあることから、(3S,
3E,2S,1E,4S,4E,5E,6S)となる。
Then, according to the feature point information list, 3E,
Since 2E, 4S, and 6S are connected, (3S,
3E, 2S, 1E, 4S, 4E, 5E, 6S).

【0035】1ストロークで結合が行える場合は、スト
ロークを結合することにより、図15の(c)に示す図
形となり、特徴点の順番は、(3S,6E,5S,1
E)となる。
If the strokes can be combined in one stroke, the strokes are combined to form the figure shown in FIG. 15C, and the order of the characteristic points is (3S, 6E, 5S, 1).
E).

【0036】このようにして求めた特徴点を図17のフ
ローに示す特徴点数、中間点数により分類を行い、NY
入力図形の特徴点と辞書パターンの特徴点とのパターン
マッチングを行うことにより図形の認識が可能となる。
The feature points thus obtained are classified by the number of feature points and the number of intermediate points shown in the flow of FIG.
By performing pattern matching between the feature points of the input figure and the feature points of the dictionary pattern, the figure can be recognized.

【0037】上述したように、一筆書きが行える順番に
1つのルールを加えることによって、一筆書きを1つに
限定し、しかも、一筆書き出来ない図形にも対応させる
ことが可能となり、これにより、特徴点の類似図形にお
いてもマッチングの結果が著しく違う結果を求めること
ができる。
As described above, by adding one rule to the order in which one stroke can be written, it is possible to limit the number of strokes to one and to deal with figures that cannot be stroked. It is possible to obtain a result in which the matching result is remarkably different even in the similar figure of the feature points.

【0038】[0038]

【発明の効果】請求項1記載の発明は、手書き入力され
る線図形の時系列的な座標データを取得する手書入力取
得手段と、前記座標データを一時記憶するメモリと、そ
の取得した座標データを必要なデータ量に変換し正規化
するデータ前処理手段と、データを認識する辞書と、入
力図形と辞書パターン図形とを比較し認識する図形認識
手段とを備えたオンライン図形認識装置において、デー
タの連続する3点を直線で結んで作られる線分間の角度
のみにより、1ストロークの特徴点、及び、一続きに描
かれた複数のストロークの結合点とされた特徴点を抽出
する特徴点抽出手段を設けたので、図形を折れ線近似し
たときの2線分の間の角度のみで特徴点を抽出すること
が可能となり、これにより、特徴点を十分に抽出するこ
とができると共に、処理時間を減少させ作業効率を図る
ことができるものである。
According to the invention described in claim 1, handwriting input acquisition means for acquiring time-series coordinate data of a line figure input by handwriting, a memory for temporarily storing the coordinate data, and the acquired coordinates. In an online figure recognition device provided with a data preprocessing means for converting data into a required data amount and normalizing it, a dictionary for recognizing data, and a figure recognizing means for comparing and recognizing an input figure and a dictionary pattern figure, A feature point that extracts a feature point of one stroke and a feature point that is a connection point of a plurality of strokes drawn in a row only by the angle between line segments created by connecting three consecutive points of data with a straight line Since the extraction means is provided, it becomes possible to extract the feature points only by the angle between the two line segments when the figure is approximated by the polygonal line, whereby the feature points can be sufficiently extracted. It reduces the processing time in which it is possible to work efficiently.

【0039】請求項2記載の発明は、手書き入力される
線図形の時系列的な座標データを取得する手書入力取得
手段と、前記座標データを一時記憶するメモリと、その
取得した座標データを必要なデータ量に変換し正規化す
るデータ前処理手段と、データを認識する辞書と、入力
図形と辞書パターン図形とを比較し認識する図形認識手
段とを備えたオンライン図形認識装置において、一続き
に描かれたストロークの長さとそのストロークの始点と
終点とを結んだ長さと比によりストロークを分割するこ
とにより、1ストロークの特徴点、及び、一続きに描か
れた複数のストロークの結合点とされた特徴点を抽出す
る特徴点抽出手段を設けたので、ストロークの長さと、
ストロークの始点と終点とを結んだ直線の長さとの比に
より直線であるか否かを判断し、直線でなければ仮分離
を行い、その仮分離したそれぞれのストロークに他方の
データ点を加え、直線であるかを判断することができ、
これにより、精度のよい特徴点を抽出することができる
と共に、処理時間を減少させ作業効率を図ることができ
るものである。
According to a second aspect of the present invention, handwriting input acquisition means for acquiring time-series coordinate data of a line figure input by handwriting, a memory for temporarily storing the coordinate data, and the acquired coordinate data are stored in the memory. An online graphic recognition apparatus comprising a data preprocessing means for converting the data into a required data amount and normalizing it, a dictionary for recognizing data, and a graphic recognition means for comparing and recognizing an input graphic and a dictionary pattern graphic. By dividing the stroke according to the ratio of the length of the stroke drawn to the start point and the end point of the stroke, the characteristic point of one stroke and the connecting point of a plurality of strokes drawn in succession can be obtained. Since the feature point extracting means for extracting the extracted feature points is provided, the stroke length and the
Determine whether it is a straight line by the ratio of the length of the straight line connecting the start point and the end point of the stroke, if it is not a straight line, perform tentative separation, add the other data point to each tentatively separated stroke, You can judge whether it is a straight line,
This makes it possible to extract characteristic points with high accuracy, reduce the processing time, and improve work efficiency.

【0040】請求項3記載の発明は、請求項1,2記載
の発明において、1ストロークの特徴点と、一続きに描
かれた複数のストロークの結合点とされた特徴点とによ
り特徴点情報リストを作成し、この特徴点情報リストの
各特徴点の情報に1ストロークで描く順番と1ルールと
を付加させることにより手書き入力された図形と辞書に
より認識した図形との特徴点を対応させる特徴点対応付
け手段を設けたので、入力した図形の特徴点とマッチン
グを行う辞書データとの対応を結合情報により分類を行
った後、一筆書きの順番に1つのルールを加えることに
より、特徴点の類似図形でもマッチングの結果が著しく
異なる結果を求めることができるものである。
According to a third aspect of the present invention, in the first and second aspects of the present invention, feature point information is obtained by the feature point of one stroke and the feature point which is a connecting point of a plurality of strokes drawn in a row. A feature that associates the feature points of the figure input by handwriting with the figure recognized by the dictionary by creating a list and adding the order of drawing with one stroke and one rule to the information of each feature point in this feature point information list Since the point associating means is provided, the correspondence between the feature points of the input figure and the dictionary data to be matched is classified by the combined information, and then one rule is added in the order of one stroke to add the feature points. It is possible to obtain a result in which the matching result is significantly different even for similar figures.

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

【図1】請求項1記載の発明の一実施例であるオンライ
ン図形認識装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an online graphic recognition apparatus which is an embodiment of the invention described in claim 1.

【図2】認識処理の流れを示すフローチャートである。FIG. 2 is a flowchart showing a flow of recognition processing.

【図3】時系列の座標点で表された入力図形の様子を示
す解析説明図である。
FIG. 3 is an analysis explanatory diagram showing a state of an input figure represented by time-series coordinate points.

【図4】各種のストロークを分類して示す波形図であ
る。
FIG. 4 is a waveform chart showing various strokes classified.

【図5】特徴点抽出の際のストロークの分離の様子を示
す解析説明図である。
FIG. 5 is an analysis explanatory diagram showing how strokes are separated at the time of feature point extraction.

【図6】入力図形が直線と曲線の結合ストロークの場合
の様子を示す解析説明図である。
FIG. 6 is an analysis explanatory diagram showing a state in which the input figure is a combined stroke of a straight line and a curved line.

【図7】入力図形が円の場合の様子を示す解析説明図で
ある。
FIG. 7 is an analysis explanatory diagram showing a situation where an input figure is a circle.

【図8】特徴点抽出の流れを示すフローチャートであ
る。
FIG. 8 is a flowchart showing a flow of feature point extraction.

【図9】請求項2記載の発明の一実施例である1ストロ
ークが曲線であるか否かを判断する解析説明図である。
FIG. 9 is an analysis explanatory diagram for determining whether or not one stroke is a curve which is an embodiment of the invention described in claim 2;

【図10】曲率による特徴点抽出方法を示す解析説明図
である。
FIG. 10 is an analysis explanatory diagram showing a feature point extraction method based on curvature.

【図11】特徴点抽出の流れの様子を示すフローチャー
トである。
FIG. 11 is a flowchart showing a flow of feature point extraction.

【図12】点近似の様子を示す解析説明図である。FIG. 12 is an analysis explanatory diagram showing a state of point approximation.

【図13】近似図形の様子を示す解析説明図である。FIG. 13 is an analysis explanatory diagram showing a state of an approximate figure.

【図14】特徴点情報リストの構成を示す分類構成図で
ある。
FIG. 14 is a classification configuration diagram showing a configuration of a feature point information list.

【図15】方向と結合点情報による特徴点並び替えの様
子を示す解析説明図である。
FIG. 15 is an analysis explanatory diagram showing a state of rearranging feature points based on direction and connection point information.

【図16】一筆書きの手順を示す解析説明図である。FIG. 16 is an analysis explanatory diagram showing a procedure of one-stroke writing.

【図17】特徴点の分類及びパターンマッチングの処理
の流れを示すフローチャートである。
FIG. 17 is a flowchart showing the flow of processing of feature point classification and pattern matching.

【符号の説明】[Explanation of symbols]

2 手書入力取得手段 3 メモリ 4 データ前処理手段 5 辞書 6 図形認識手段 2 Handwriting input acquisition means 3 Memory 4 Data preprocessing means 5 Dictionary 6 Figure recognition means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 手書き入力される線図形の時系列的な座
標データを取得する手書入力取得手段と、前記座標デー
タを一時記憶するメモリと、その取得した座標データを
必要なデータ量に変換し正規化するデータ前処理手段
と、データを認識する辞書と、入力図形と辞書パターン
図形とを比較し認識する図形認識手段とを備えたオンラ
イン図形認識装置において、データの連続する3点を直
線で結んで作られる線分間の角度のみにより、1ストロ
ークの特徴点、及び、一続きに描かれた複数のストロー
クの結合点とされた特徴点を抽出する特徴点抽出手段を
設けたことを特徴とするオンライン図形認識装置。
1. A handwriting input acquisition unit for acquiring time-series coordinate data of a line figure input by handwriting, a memory for temporarily storing the coordinate data, and converting the acquired coordinate data into a required data amount. In the online figure recognition device provided with the data pre-processing means for normalizing the data, the dictionary for recognizing the data, and the figure recognizing means for comparing and recognizing the input figure and the dictionary pattern figure, three consecutive points of the data are straight lines. The feature point extracting means is provided for extracting a feature point of one stroke and a feature point which is a connection point of a plurality of strokes drawn in a row only by the angle between the line segments formed by connecting with each other. An online graphic recognition device.
【請求項2】 手書き入力される線図形の時系列的な座
標データを取得する手書入力取得手段と、前記座標デー
タを一時記憶するメモリと、その取得した座標データを
必要なデータ量に変換し正規化するデータ前処理手段
と、データを認識する辞書と、入力図形と辞書パターン
図形とを比較し認識する図形認識手段とを備えたオンラ
イン図形認識装置において、一続きに描かれたストロー
クの長さとそのストロークの始点と終点とを結んだ長さ
との比によりストロークを分割することにより、1スト
ロークの特徴点、及び、一続きに描かれた複数のストロ
ークの結合点とされた特徴点を抽出する特徴点抽出手段
を設けたことを特徴とするオンライン図形認識装置。
2. A handwriting input acquisition means for acquiring time-series coordinate data of a handwritten input line figure, a memory for temporarily storing the coordinate data, and converting the acquired coordinate data into a required data amount. In the online figure recognition device provided with the data pre-processing means for normalizing, the dictionary for recognizing the data, and the figure recognizing means for comparing and recognizing the input figure and the dictionary pattern figure, By dividing the stroke according to the ratio of the length and the length connecting the start point and the end point of the stroke, the feature point of one stroke and the feature point which is a connecting point of a plurality of strokes drawn in a row are determined. An on-line figure recognition device characterized in that a feature point extracting means for extracting is provided.
【請求項3】 1ストロークの特徴点と、一続きに描か
れた複数のストロークの結合点とされた特徴点とにより
特徴点情報リストを作成し、この特徴点情報リストの各
特徴点の情報に1ストロークで描く順番と1ルールとを
付加させることにより手書き入力された図形と辞書によ
り認識した図形との特徴点を対応させる特徴点対応付け
手段を設けたことを特徴とする請求項1,2記載のオン
ライン図形認識装置。
3. A feature point information list is created from the feature points of one stroke and the feature points that are the connection points of a plurality of strokes drawn in a row, and the information of each feature point of this feature point information list is created. A feature point associating unit that associates a feature point between a figure input by handwriting and a figure recognized by a dictionary by adding an order of drawing with one stroke and one rule to the character string is provided. 2. The online pattern recognition device described in 2.
JP30621191A 1991-11-21 1991-11-21 On-line graphic recognizing device Pending JPH05143738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30621191A JPH05143738A (en) 1991-11-21 1991-11-21 On-line graphic recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30621191A JPH05143738A (en) 1991-11-21 1991-11-21 On-line graphic recognizing device

Publications (1)

Publication Number Publication Date
JPH05143738A true JPH05143738A (en) 1993-06-11

Family

ID=17954332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30621191A Pending JPH05143738A (en) 1991-11-21 1991-11-21 On-line graphic recognizing device

Country Status (1)

Country Link
JP (1) JPH05143738A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005100417A (en) * 2003-09-24 2005-04-14 Microsoft Corp System and method for shape recognition of hand-drawn objects

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005100417A (en) * 2003-09-24 2005-04-14 Microsoft Corp System and method for shape recognition of hand-drawn objects

Similar Documents

Publication Publication Date Title
Ghosh et al. RNN based online handwritten word recognition in Devanagari and Bengali scripts using horizontal zoning
US5610996A (en) Method and apparatus for arc segmentation in handwriting recognition
US6144764A (en) Method and apparatus for on-line handwritten input character recognition and recording medium for executing the method
JP3176023B2 (en) Handwriting input collation method and apparatus
JP3453134B2 (en) How to determine equivalence of multiple symbol strings
CN110050277A (en) For handwritten text to be converted into the method and system of digital ink
Huang et al. Model-based chart image recognition
JPH0772905B2 (en) How to recognize a symbol string
US7778464B2 (en) Apparatus and method for searching for digital ink query
JPS6282486A (en) Online handwritten figure recognition device
JPH10240943A (en) Test signature inspecting method
JP2002515144A (en) Handwriting input stroke division method
CN104504385B (en) The recognition methods of hand-written adhesion numeric string
JPH05143738A (en) On-line graphic recognizing device
Dahake et al. On segmentation of words from online handwritten Gurmukhi sentences
JP2633523B2 (en) Handwriting input device
Inuganti et al. Recognition of online handwritten Telugu stroke by detected dominant points using curvature estimation
Jena et al. Hidden Markov Model Based Odia Numeral Recognition Using Moment and Structural
Yin et al. Lexicon-driven recognition of one-stroke character strings in visual gesture
JP4648084B2 (en) Symbol recognition method and apparatus
JP3514085B2 (en) Character string input method and apparatus, and storage medium storing character string input program
JP3329528B2 (en) Document reader
JPS6049482A (en) Online handwritten line figure approximation description device
KR940001739B1 (en) Online handwritten character recognition method through stroke recognition
JPH0776980B2 (en) Character recognition method