JPH0650527B2 - Real-time handwriting trajectory recognition method - Google Patents

Real-time handwriting trajectory recognition method

Info

Publication number
JPH0650527B2
JPH0650527B2 JP58244009A JP24400983A JPH0650527B2 JP H0650527 B2 JPH0650527 B2 JP H0650527B2 JP 58244009 A JP58244009 A JP 58244009A JP 24400983 A JP24400983 A JP 24400983A JP H0650527 B2 JPH0650527 B2 JP H0650527B2
Authority
JP
Japan
Prior art keywords
stroke
character
input
handwriting
stroke length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58244009A
Other languages
Japanese (ja)
Other versions
JPS60136890A (en
Inventor
壮四郎 葛貫
正嶋  博
孝典 横山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58244009A priority Critical patent/JPH0650527B2/en
Publication of JPS60136890A publication Critical patent/JPS60136890A/en
Publication of JPH0650527B2 publication Critical patent/JPH0650527B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Image Analysis (AREA)
  • Character Input (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、手書き軌跡の認識方法に係り、特に実時間で
入力される手書き文字と図形とを良好に分離し得る実時
間手書き軌跡認識方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwriting trajectory recognition method, and more particularly to a real-time handwriting trajectory recognition method capable of favorably separating a handwritten character and a graphic input in real time. .

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

従来の実時間手書き認識技術では、入力に応じてモード
を指定し、手書き文字か手書き図形かの判定をしていた
(例えば特開昭55-143681号公報)。
In the conventional real-time handwriting recognition technology, a mode is designated according to an input, and it is determined whether it is a handwritten character or a handwritten figure (for example, JP-A-55-143681).

この方法では入力時又は編集時に、タブレツト上の座標
エリアに設けられたフアンクシヨンエリアを、スタイラ
スペンで押下げて指定することで、モード指定を行う。
In this method, when inputting or editing, a mode area provided in the coordinate area on the tablet is pressed down with a stylus pen to specify the mode.

ところが、このモード指定は、手書き図形の中へ手書き
文字を入力するとき、逆に、手書き文字入力中に認識し
た文字を編集しようとするとき、煩雑さ故にしばしば忘
れられ、入力エラーが発生してマンマシン性が損われて
いた。
However, this mode designation is often forgotten because of complexity when inputting handwritten characters into handwritten figures, and conversely when trying to edit characters recognized during handwritten character input, and an input error occurs. The man-machine characteristic was impaired.

一方、オフライン処理においては、一旦手書き情報を2
値画像に変換し、この2値画像に対し細線化及び端点除
去処理,縮小処理,マスクによるしみ取り処理を行つ
て、文字と図形とを分離しようとする方法が開示されて
いる(特開昭57-105084号公報)。
On the other hand, in the offline processing, once handwritten information is
A method is disclosed in which a character image is converted into a value image, and the binary image is subjected to a thinning process, an end point removal process, a reduction process, and a stain removal process using a mask to separate a character from a figure. 57-105084).

この方法はオフライン処理であるため処理の迅速性に欠
ける問題があつた。
Since this method is an off-line processing, there is a problem that the processing speed is insufficient.

以上のように従来の手書き認識技術には、実時間で手書
き文字入力と手書き図形入力とをモード切替なしで効率
良く分離する手段がなく、マンマシンインターフエース
が不連続であつた。
As described above, the conventional handwriting recognition technology has no means for efficiently separating the handwritten character input and the handwritten figure input in real time without mode switching, and the man-machine interface is discontinuous.

〔発明の目的〕[Object of the Invention]

本発明の目的は、実時間で入力される手書き文字と図形
とを良好に分離し得る実時間手書き軌跡認識方法を提供
するにある。
An object of the present invention is to provide a real-time handwriting trajectory recognition method that can favorably separate a handwritten character and a graphic input in real time.

〔発明の概要〕[Outline of Invention]

上記目的を達成するため、本発明は図形と文字それぞれ
のストロークの特徴事項を巧みに利用して図形と文字の
入力ストロークを分離するものである。(尚、ストロー
クとはペンダウンからペンアツプまでの線分をいう。) すなわち、 (1)文字の大きさは、図形の大きさに比べて小さい場合
を想定していること (2)図形に比べて文字は、その画数に相当するストロー
ク数が多いこと の2点から、文字は図形に比べストローク長が短いてい
う特徴が導かれる。
In order to achieve the above object, the present invention skillfully utilizes the characteristic features of the strokes of each of the figure and the character to separate the input strokes of the figure and the character. (Note that the stroke means the line segment from pen down to pen up.) That is, (1) It is assumed that the size of the character is smaller than the size of the figure. (2) Compared with the figure Characters have a large number of strokes corresponding to the number of strokes, which leads to the characteristic that characters have a shorter stroke length than figures.

本発明の特徴は、手書きストロークが入力される毎に、
入力されたストローク長を求め、この求めたストローク
長と所定の閾値とを比較し、ストローク長が所定の閾値
以上であれば図形を構成するストロークと、また、スト
ローク長が所定の閾値に満たない場合は、文字を構成す
るストロークと識別し、その識別結果が手書きストロー
クの入力順に、文字から図形あるいは図形から文字へと
変化する状態が連続して発生した場合、即ち、識別結果
が文字、図形、文字とあるいは図形、文字、図形となつ
ている場合、識別結果に対して修正を行なうことにあ
る。
The feature of the present invention is that each time a handwritten stroke is input,
The input stroke length is calculated, and the calculated stroke length is compared with a predetermined threshold value. If the stroke length is greater than or equal to the predetermined threshold value, the stroke forming the figure and the stroke length are less than the predetermined threshold value. In this case, when the strokes that make up a character are identified, and the result of the identification continuously changes in the input order of handwriting strokes from character to figure or from figure to character, that is, the identification result is a character or figure. , And a character or a figure, or a character and a figure, the identification result is corrected.

〔発明の実施例〕Example of Invention

以下、本発明の一実施例を第1図から第10図を用いて
説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 10.

第1図は本発明の一実施例である実時間手書き軌跡認識
装置の全体ブロツク構成である。
FIG. 1 is an overall block configuration of a real-time handwritten trajectory recognition device which is an embodiment of the present invention.

座標入力装置1(いわゆるタブレツト)と、スタイラス
ペン2で検出された座標入力列(ストローク情報)は、
まず手書認識処理装置9へ入力される。
The coordinate input device 1 (so-called tablet) and the coordinate input sequence (stroke information) detected by the stylus pen 2 are
First, it is input to the handwriting recognition processing device 9.

次に前記ストローク情報は、入力を学習して閾値を算出
する閾値学習手段と、文字ストロークか図形ストローク
かを分離するためのストローク分離手段とにより、手書
き文字を認識する文字認識手段5と、手書き図形を認識
する図形認識手段6とに分離して送信される。
Next, the stroke information includes a character recognizing means 5 for recognizing a handwritten character by a threshold value learning means for learning an input to calculate a threshold value and a stroke separating means for separating a character stroke or a graphic stroke, and handwriting. It is transmitted separately to the figure recognition means 6 for recognizing the figure.

次に認識手段5及び6からの信号は、文字図形表示手段
7を介してCRTデイスプレイ8に送られ、認識された
文字,図形が表示される。
Next, the signals from the recognition means 5 and 6 are sent to the CRT display 8 via the character / graphic display means 7 to display the recognized characters / graphics.

以下、本発明の特徴部分であるストローク分離手段3と
閾値学習手段4について詳細に説明する。
Hereinafter, the stroke separating means 3 and the threshold learning means 4, which are characteristic parts of the present invention, will be described in detail.

第2図から第7図に本発明の一実施例の処理概要を、第
8図から第10図に具体的な処理流れ図を示す。
2 to 7 show an outline of processing of one embodiment of the present invention, and FIGS. 8 to 10 show concrete processing flow charts.

第2図は、文字と図形が混在した手書き入力の例を示し
たもので、図形の中に文字がある場合である。ここに、
lはストロークを示し、添字はストロークの順序を表わ
す。すなわち、l〜lは手書き図形のストローク、
〜l13は手書き文字のストローク、l14〜l16は手
書き図形のストロークを示す。
FIG. 2 shows an example of handwriting input in which characters and graphics are mixed, and there is a character in the graphics. here,
l indicates a stroke, and subscripts indicate the order of strokes. That is, l 1 to l 3 are strokes of handwritten figures,
l 4 to l 13 are strokes of handwritten characters, and l 14 to l 16 are strokes of handwritten figures.

以上のような手書き情報を入力した場合、処理装置9の
ストローク分離手段3、閾値学習手段4では、どのよう
に判定するかについてが、本発明の課題である。
It is an object of the present invention to determine how the stroke separation means 3 and the threshold learning means 4 of the processing device 9 make a determination when the above handwritten information is input.

第2図の手書き入力をストローク順に並べたものを第3
図に示す。今、予め設定された所定の閾値lTHと、スト
ローク長l(iはストローク順序)とを比較し、 l>lTHのとき1、 l≦lTHのとき0、 とする。
The handwritten input shown in FIG. 2 arranged in stroke order is shown in FIG.
Shown in the figure. Now, a predetermined threshold value l TH set in advance is compared with a stroke length l i (i is a stroke order), and 1 is set when l i > l TH , and 0 is set when l i ≦ l TH .

一般的には閾値の設定が適当で、かつ、手書き文字,図
形の入力が適当なサイズでは、このストローク長の比較
結果が、ストロークの図形(“1”),文字(“0”)
の分離を意味する。
Generally, when the threshold value is set appropriately and the size of handwritten characters or figures is appropriate, the stroke length comparison result is the stroke figure (“1”) or character (“0”).
Means separation of.

しかし、次の様な場合、分離誤りが生ずることが予想さ
れる。つまり、手書き入力のアンバランスがあつて、l
が文字ストロークであるにもかかわず、“1”と判定
されてしまう(第2図,第3図)。
However, separation errors are expected to occur in the following cases. In other words, there is an imbalance in handwriting input, and l
Even though 7 is a character stroke, it is determined to be "1" (FIGS. 2 and 3).

そこで本発明の一実施例では、前後のストローク長の比
較結果(差分)から、再度判定をやり直す手段を有して
いる(第4図)。
Therefore, in one embodiment of the present invention, there is provided a means for making the determination again based on the comparison result (difference) of the stroke lengths before and after (FIG. 4).

第3図で述べた比較結果は後述のストロークフラグテー
ブルSF(i)に順次格納されるが、このSF(i)の
前後を比較し、変化したストローク番号を探索する。こ
の探索は、ストローク番号iとi+1との排他的論理和
をとれば求めることができる。
The comparison result described in FIG. 3 is sequentially stored in a stroke flag table SF (i) described later, but before and after this SF (i) is compared to search for a changed stroke number. This search can be obtained by taking the exclusive OR of the stroke numbers i and i + 1.

すなわち、SF(i)SF(i+1)を考えると、第
4図では となり、ストローク番号3から4のとき、6から7のと
き、7から8のとき、さらに13から14のとき、それ
ぞれストロークが変化していると探索できる。
That is, considering SF (i) SF (i + 1), in FIG. Therefore, it can be searched that the strokes change when the stroke numbers are 3 to 4, 6 to 7, 7 to 8, and 13 to 14, respectively.

ここで問題となるのは、ストローク番号6,7,8のス
トロークで、上記のように2回続けて変化しているとこ
ろである。すなわち、前後の状況から判断して、ストロ
ーク番号7は再度判定し直す必要があると考えられる。
他のストロークについては、所定の閾値との比較結果に
より、“1”のとき図形ストロークG、“0”のとき文
字ストロークCと分離できる。
The problem here is that the strokes of stroke numbers 6, 7, and 8 are changing twice in succession as described above. That is, it is considered that the stroke number 7 needs to be determined again based on the circumstances before and after.
Other strokes can be separated from the graphic stroke G when "1" and the character stroke C when "0" according to the result of comparison with a predetermined threshold.

従つてストローク番号7のストロークlについては、
下記により再度判定を行う。
For stroke l 7 of the slave go-between stroke number 7,
Judge again by the following.

>lTHの比較結果列が0→1→0のとき(例え
ば、ストローク番号6,7,8のとき)、 IF k・l>lTH THEN G ELSE C (k:第2の係数) …(2) l>lTHの比較結果列が1→0→1のとき、 IF l/k>lTH THEN G ELSE C …(3) ここで係数kは、たとえば0.7を選ぶと、 (2)式についてはストローク長の3割減、 (3)式についてはストローク長の3割増、 として再度、所定の閾値と比較して図形のストローク
か、文字のストロークかを判断することとなる。
When the comparison result sequence of l i > l TH is 0 → 1 → 0 (for example, when the stroke numbers are 6, 7, and 8), IF k 2 · l i > l TH THEN G ELSE C (k 2 : second (2) When the comparison result sequence of l i > l TH is 1 → 0 → 1, IF l i / k 2 > l TH THEN G ELSE C (3) Here, the coefficient k 2 is, for example, When 0.7 is selected, stroke length is reduced by 30% for equation (2), stroke length is increased by 30% for equation (3), and again compared to the predetermined threshold, the stroke of the figure or the stroke of the character. Will be determined.

このような処理を施すことにより、閾値附近のストロー
ク長の判定が正確に行い得る。第4図の例のストローク
は以上の処理で文字ストロークと判定される。第5
図は、第4図の例のストロークフラグテーブルの内容で
ある。
By performing such processing, the stroke length near the threshold value can be accurately determined. The stroke l 7 in the example of FIG. 4 is determined as a character stroke by the above processing. Fifth
The drawing shows the contents of the stroke flag table in the example of FIG.

第6図,第7図は、(3)式を適用するような手書き入力
がされた場合の例で、この図では、l′が“0”と判
定され、再度ストロークの比較判断が行われる。
FIGS. 6 and 7 are examples of the case where handwriting input is applied to apply equation (3). In this figure, l 4 ′ is determined to be “0”, and stroke comparison determination is performed again. Be seen.

なお、所定の閾値lTHの設定方法であるが、あらかじ
め、手書き入力対象や、環境がわかつている場合、例え
ば、サイズの固定された原稿用紙を用いるとき、文字入
力ストローク長は、原稿用紙のマス目サイズで決まつて
しまうため、固定値でよい。しかし、入力環境が種々変
化すると、この方法は採用できない。従つて、本発明の
一実施例の第1図で述べたように、この閾値を学習して
決定することになる。
Although the method of setting the predetermined threshold value l TH is used, when the handwriting input target and the environment are known in advance, for example, when using a fixed size manuscript paper, the character input stroke length is A fixed value is sufficient because it is determined by the size of the squares. However, this method cannot be adopted when the input environment changes variously. Therefore, as described in FIG. 1 of the embodiment of the present invention, this threshold value is learned and determined.

以上、本発明の一実施例の処理概要を述べたが、以下、
第8図〜第10図のフローチャートを用いて説明する。
The processing outline of the embodiment of the present invention has been described above.
This will be described with reference to the flowcharts of FIGS.

第8図は、後述の第9図,第10図のフローで用いるテ
ーブル構成図で(a),(b)はタブレツト1より入力された
ストロークテーブルであり、タイミングの異つた2つの
テーブル、STROKENEW,STROKEOLDがある。(c)および(d)
は図形認識手段(第1図,6)と文字認識手段(第1
図,5)へ渡すためのストロークテーブルで、図形スト
ロークテーブルSTROKEG,文字ストロークテーブルSTROK
ECである。すなわち、本発明の方式により、分離された
ストロークを格納するテーブルである。(e)は第5図,
第7図で述べたように、ストローク長と所定の閾値とを
比較した結果を格納するストロークフラグテーブルSF
である。(f)は入力されたストロークの長さを格納する
ストローク長テーブルlである。(g)は学習した所定の
閾値lTH、第1の所定の係数K、第2の所定の係数
、処理用の内部カウンタCOUNT、ストローク番号i
を格納するテーブルである。
FIG. 8 is a table configuration diagram used in the flow of FIGS. 9 and 10 which will be described later. (A) and (b) are stroke tables input from the tablet 1, and two tables with different timing, STROKENEW There is STROKEOLD. (c) and (d)
Is a graphic recognition means (FIGS. 1 and 6) and a character recognition means (first
Stroke table for passing to figure, 5), graphic stroke table STROKEG, character stroke table STROK
It is EC. That is, it is a table that stores strokes separated by the method of the present invention. (e) is Fig. 5,
As described in FIG. 7, a stroke flag table SF that stores the result of comparison between the stroke length and a predetermined threshold value.
Is. (f) is a stroke length table 1 which stores the length of the input stroke. (g) is a learned predetermined threshold value l TH , a first predetermined coefficient K 1 , a second predetermined coefficient K 2 , a processing internal counter COUNT, a stroke number i
Is a table for storing.

第9図は入力ストロークの文字,図形分離のための処理
フローである。
FIG. 9 is a processing flow for separating characters and figures of input strokes.

まずステツプ3aにより第8図のテーブルクリア,スト
ローク番号のセツト(i=1)等のイニシヤル処理が行
われ、次にタブレツトからの座標入力処理が行われ、こ
の座標はSTROKNEWテーブルに格納される(ステツプ3
b)。次に入力されたSTROKNEWテーブルの始点から終点
までのストローク長l(i)を演算する(ステツプ3
c)。ストローク長は入力された点列の座標より幾何学
的に容易に計算できる。
First, in step 3a, initial processing such as table clear and stroke number setting (i = 1) in FIG. 8 is performed, then coordinate input processing from the tablet is performed, and these coordinates are stored in the STROKNEW table ( Step 3
b). Next, the stroke length l (i) from the start point to the end point of the input STROKNEW table is calculated (step 3
c). The stroke length can be geometrically calculated easily from the coordinates of the input point sequence.

ストローク長l(i)が演算されたら、所定の閾値l
THと比較して(ステツプ3d)、もし、 l(i)>lTH が成立するならSF(i)に“1”をセツトし、成立し
ないとき“0”をセツトする(ステツプ3e,3f)。
次にストローク番号iが1かどうか判定し、もし1であ
れば、つまり最初のストロークであれば、ステツプ3t
にジヤンプし、ストロークテーブルのSTROKENEWを、タ
イミングの異なる別のストロークテーブルSTROKEOLDに
格納しておく(ステツプ3g,3t)。ストローク番号
が1以外であれば、前後のストロークフラグテーブルの
排他的論理和(EOR)を取り、ストローク長の比較結
果の変化点を探索する(ステツプ3h)。
When the stroke length l (i) is calculated, a predetermined threshold l
Compared with TH (step 3d), if l (i)> l TH is satisfied, set SF (i) to "1", and if not satisfied, set "0" to it (steps 3e, 3f). .
Next, it is determined whether or not the stroke number i is 1, and if it is 1, that is, if it is the first stroke, step 3t.
The stroke table STROKENEW is stored in another stroke table STROKEOLD with different timing (steps 3g, 3t). If the stroke number is other than 1, the exclusive OR (EOR) of the preceding and following stroke flag tables is taken, and the change point of the comparison result of the stroke lengths is searched (step 3h).

ステツプ3hでFORの結果が“0”のとき、カウンタ
COUNTをクリア(ステツプ3h)し、i−1番目のスト
ロークフラグSF(i−1)をチエツクする(ステツプ
3q)。もしSF(i−1)=1のときi−1番目のス
トロークテーブル、すなわち、1つ前のSTROKEOLDをSTR
OKEGへ転送、SF(i−1)=0のとき、STROKECへ転
送する(ステツプ3r,3s)。
When the result of the FOR is “0” at step 3h, the counter
COUNT is cleared (step 3h), and the i-1th stroke flag SF (i-1) is checked (step 3q). If SF (i-1) = 1, the i-1th stroke table, that is, the previous STROKEOLD is STR
Transfer to OKEG, transfer to STROKEC when SF (i-1) = 0 (steps 3r, 3s).

一方ステツプ3hのFORの結果が“1”のとき、スト
ローク長比較結果に変化があるため、カウンタCOUNTを
加算する。このカウンタCOUNTはストローク長の比較結
果の変化が2度続けて発生したことを示すためのもの
で、1は1回、2は2回続けて発生した場合である(ス
テツプ3i)。したがつて、ステツプ3jでカウンタCO
UNTが2かどうかチエツクし、もし、そうでないなら、
ステツプ3qに行き、上記と同様の処理を行う。カウン
タCOUNTが2つのとき、すなわち、2回続けて前後のス
トローク長の判定が変化したとき、ストローク長の再計
算を行い、かつ再度閾値と比較することとなる(ステツ
プ3l,3m,3n,3o,3p)。ストローク長の再
計算と比較は前述の(2),(3)式に示す通りである。
On the other hand, when the result of the FOR of step 3h is "1", there is a change in the stroke length comparison result, so the counter COUNT is added. This counter COUNT indicates that the change in the stroke length comparison result has occurred twice in succession, where 1 is once and 2 is twice in succession (step 3i). Therefore, in step 3j, the counter CO
Check if UNT is 2 and if not,
At step 3q, the same processing as above is performed. When the counter COUNT is two, that is, when the determination of the stroke length before and after the stroke is changed twice in succession, the stroke length is recalculated and compared with the threshold value again (steps 3l, 3m, 3n, 3o). , 3p). The recalculation and comparison of the stroke length are as shown in the above equations (2) and (3).

次に、ストロークテーブルの入れかえを行い(ステツプ
3t)、全ストロークについて処理したかどうかチエツ
ク(ステツプ3u)し、処理が終了していないとき、ス
トローク番号iを増加させて以下同様の処理を繰返す。
全ストロークについて処理が終了して処理中止となる。
Next, the stroke table is replaced (step 3t), and whether or not all strokes have been processed is checked (step 3u). When the processing is not completed, the stroke number i is incremented and the same processing is repeated.
The processing ends for all strokes and is stopped.

なお、第9図のストローク分離処理と、第1図の文字認
識,図形認識はマルチ処理が行われているものとする。
したがつて、文字ストロークテーブル,図形ストローク
テーブルにデータが格納されるたびに文字および図形は
認識され、その結果がCRTに表示される。
It is assumed that the stroke separation processing of FIG. 9 and the character recognition and graphic recognition of FIG. 1 are multi-processed.
Therefore, every time data is stored in the character stroke table and the graphic stroke table, the character and the graphic are recognized, and the result is displayed on the CRT.

第10図は、所定の閾値lTHの学習のための処理フロ
ーで、本処理は、タブレツト上のフアンクシヨン指定用
のスイツチ等の指示により起動される。まず、イニシヤ
ル処理でテーブルクリアや、ストローク番号がセツトさ
れる(ステツプ4a)。次にタブレツトより座標を入力
し、ストロークテーブルSTROKENEWへデータを格納する
と同時に文字ストロークテーブルSTROKECへも転送する
(ステツプ4b,4c)。座標データを文字ストローク
テーブルSTROKECへ転送するのは、学習中においても、
文字認識を実行するためである。
FIG. 10 is a processing flow for learning a predetermined threshold value l TH , and this processing is started by an instruction such as a switch for designating a function on the tablet. First, the table is cleared and the stroke number is set by the initial process (step 4a). Next, coordinates are input from the tablet, the data is stored in the stroke table STROKENEW, and at the same time transferred to the character stroke table STROKEC (steps 4b and 4c). Transferring coordinate data to the character stroke table STROKEC, even during learning
This is to execute character recognition.

次にストローク長l(i)の計算を、ストローク長の累
算lを計算する(ステツプ4d,4e)。全てのスト
ロークについて学習が終了したかどうかチエツクし(ス
テツプ4f,4h)、もし終了のとき所定の閾値lTH
を平均ストローク長l/iに係数Kを乗じて計算す
る(ステツプ4g)。
Next, the stroke length l (i) is calculated and the cumulative stroke length l S is calculated (steps 4d and 4e). Check whether learning has been completed for all strokes (steps 4f, 4h), and if completed, a predetermined threshold l TH
Is calculated by multiplying the average stroke length l S / i by the coefficient K 1 (step 4g).

以上のように学習によつて文字ストロークの平均ストロ
ーク長を演算できるため、適当な閾値を設定可能であ
る。
Since the average stroke length of the character strokes can be calculated by learning as described above, an appropriate threshold can be set.

次に、本発明の他の実施例を述べる。本発明の一実施例
の所定の閾値として学習により設定しているが、これを
学習をせず、固定値としても良い。この場合、手書き文
字サイズは限定される。また、本発明の一実施例では、
ストローク分離をストローク入力毎に判定して処理して
いたが、これを全ストローク入力後、判定しても良い。
この場合、第9図の座標入力を全てのストロークについ
て終了してからストローク長計算や、閾値比較を行いス
トローク分離を行えば良い。当然、ストロークテーブル
等のテーブルは全ストロークについて格納するためメ
モリサイズが大きくなる、オフライン処理となりマン
マシン性が悪くなる、という欠点が生じる。しかし、手
書き入力を全て終了してから認識したい応用分野には、
この他の実施例でも手書入力を文字と図形に分離するこ
とが可能である。
Next, another embodiment of the present invention will be described. Although the predetermined threshold value is set by learning in the embodiment of the present invention, it may be set as a fixed value without learning. In this case, the handwritten character size is limited. Further, in one embodiment of the present invention,
Although stroke separation is determined and processed for each stroke input, it may be determined after inputting all strokes.
In this case, stroke input may be performed for all strokes and stroke length calculation and threshold value comparison may be performed to separate strokes. As a matter of course, since a table such as a stroke table is stored for all strokes, there are disadvantages that the memory size becomes large and the processing becomes offline and man-machine property deteriorates. However, in the application field that you want to recognize after completing all handwriting input,
Also in this other embodiment, it is possible to separate the handwriting input into characters and figures.

さらに、所定の閾値を学習により演算する場合、文字ス
トロークの平均ストローク長に係数を乗じて求めていた
が、これを平均ストローク長と分散値で求めても良い。
Further, when the predetermined threshold is calculated by learning, the average stroke length of the character strokes is obtained by multiplying the coefficient, but this may be obtained by the average stroke length and the variance value.

〔発明の効果〕〔The invention's effect〕

まず第1の効果として、手書き文字認識,手書き図形認
識のモードを指定する操作が自動化され、マンマシン性
が著しく向上することが挙げられる。例えば、第11
図,第12図に本発明の応用形態を示すように、既に清
書されたテキスト(文書)をJISの校正記号である図
形シンボルを入力することにより非常に簡単にテキスト
編集を行うことができる。
First, as a first effect, the operation of designating the modes of handwritten character recognition and handwritten figure recognition is automated, and the man-machine characteristic is remarkably improved. For example, the eleventh
As shown in the applied mode of the present invention in FIGS. 12 and 13, it is possible to edit texts which have already been written in plain text (documents) by inputting a graphic symbol which is a JIS proof symbol.

第11図は削除の図形シンボルで、これを手書き図形と
して認識し、かつ削除のコマンドと対応させた場合の例
で、この場合、B,C,Dのテキストが削除されること
になる。また、第12図は、テキストAとEの間に、
B,C,Dの手書き文字を挿入する場合の例で、B,
C,Dは手書き文字、それ以外は手書き図形として分離
され、それぞれ認識される。以上のように、文字と図形
の入力をモード指定なしに行うことができる。勿論、第
2図のように手書き図形を編集用コマンドと対応させ
ず、通常の図形入力としても文字と図形のモード指定は
不要となる。
FIG. 11 shows a delete graphic symbol, which is recognized as a handwritten graphic and is associated with a delete command. In this case, B, C, and D texts are deleted. In addition, in FIG. 12, between the texts A and E,
In the example of inserting B, C, and D handwritten characters, B,
C and D are separated as handwritten characters, and the other characters are separated as handwritten figures and recognized respectively. As described above, characters and figures can be input without specifying the mode. Of course, as shown in FIG. 2, the handwritten figure is not made to correspond to the editing command, and the mode designation of the character and the figure becomes unnecessary even in the case of the normal figure input.

次に第2の効果として、ストローク長を判定する所定の
閾値を予め文字ストロークを入力し学習して設定するた
め、ストローク分離が良好に行うことができる。
Next, as a second effect, since a predetermined threshold value for determining the stroke length is set by inputting and learning character strokes in advance, stroke separation can be performed favorably.

第3の効果として、前後のストローク長と所定の閾値の
比較演算結果が2回連続して、判定が異つた場合、再度
ストローク長の見直し判定を行うため、閾値附近のスト
ロークに対し誤り判定を少なくすることができる。
As a third effect, when the comparison calculation results of the front and rear stroke lengths and the predetermined threshold value are consecutive twice and the determination is different, the stroke length is reviewed and determined again. Therefore, the error determination is performed for the strokes near the threshold value. Can be reduced.

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

第1図は本発明の一実施例の全体ブロック構成図、第2
図から第7図は本発明の一実施例の処理概要を説明する
ための図、第8図から第10図は本発明の一実施例の詳
細説明のためのテーブル構成図及びフローチヤート、第
11図から第12図は本発明の応用例を示す図である。 1…タブレツト、2…スタイラスペン、3…ストローク
分離手段、4…閾値学習手段、5…文字認識手段、6…
図形認識手段、7…文字図形表示手段、8…CRTデイ
スプレイ装置、9…実時間手書き認識装置。
FIG. 1 is an overall block diagram of an embodiment of the present invention, FIG.
FIG. 7 to FIG. 7 are diagrams for explaining the processing outline of one embodiment of the present invention, and FIGS. 8 to 10 are table configuration diagrams and flow charts for detailed explanation of one embodiment of the present invention. 11 to 12 are views showing an application example of the present invention. 1 ... Tablet, 2 ... Stylus pen, 3 ... Stroke separating means, 4 ... Threshold learning means, 5 ... Character recognition means, 6 ...
Graphic recognition means, 7 ... Character graphic display means, 8 ... CRT display device, 9 ... Real-time handwriting recognition device.

フロントページの続き (72)発明者 横山 孝典 茨城県日立市幸町3丁目1番1号 株式会 社日立製作所日立研究所内 (56)参考文献 特開 昭55−162176(JP,A)Front Page Continuation (72) Inventor Takanori Yokoyama 3-1-1 Sachimachi, Hitachi City, Ibaraki, Hitachi Research Laboratory, Hitachi, Ltd. (56) References JP-A-55-162176 (JP, A)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】時々刻々と入力される手書きストロークを
文字又は図形と認識する実時間手書き軌跡認識方法にお
いて、 前記手書き入力されたストローク長を計算し、当該求め
たストローク長と所定の閾値とを比較し、当該比較結果
に基づいて入力されたストロークが文字か図形かを識別
し、前記手書き入力されたストロークの入力順に、文字
から図形あるいは図形から文字へと識別結果が変化する
状態が連続して発生した場合に、当該連続して変化した
識別結果に対応するストローク長を再度判定することを
特徴とする実時間手書き軌跡認識方法。
1. A real-time handwritten trajectory recognition method for recognizing handwritten strokes that are input momentarily as characters or graphics, wherein the stroke length input by handwriting is calculated, and the calculated stroke length and a predetermined threshold value are calculated. Based on the result of the comparison, the stroke input based on the comparison result is identified to be a character or a graphic, and the state in which the identification result changes from the character to the graphic or from the graphic to the character in the input order of the handwritten stroke is continuous. If it occurs, the stroke length corresponding to the continuously changed identification result is determined again, and the real-time handwriting trajectory recognition method is characterized.
【請求項2】特許請求の範囲第1項において、 前記手書き入力されたストロークの入力順に、文字から
図形あるいは図形から文字へと識別結果が変化する状態
が連続して発生した場合とは、前記識別結果が入力順
に、文字、図形、文字と、あるいは、図形、文字、図形
となった場合であることを特徴とする実時間手書き軌跡
認識方法。
2. The case according to claim 1, wherein a state in which an identification result changes from a character to a figure or from a figure to a character occurs continuously in the input order of the strokes input by handwriting. A real-time handwritten trajectory recognition method, wherein the identification result is a character, a figure, a letter, or a figure, a letter, and a figure in the order of input.
【請求項3】特許請求の範囲第2項において、 前記連続して変化した識別結果に対応するストローク長
を再度判定するとは、当該連続して変化した識別結果に
対応する手書きストローク長に所定の補正係数を乗じ
て、再度前記所定の閾値と比較し、当該比較結果に基づ
いて入力されたストロークが文字か図形かを判定するこ
とであることを特徴とする実時間手書き軌跡認識方法。
3. The method according to claim 2, wherein the stroke length corresponding to the continuously changed identification result is determined again by a predetermined handwriting stroke length corresponding to the continuously changed identification result. A real-time handwriting trajectory recognition method, which comprises multiplying by a correction coefficient, comparing again with the predetermined threshold value, and determining whether the input stroke is a character or a graphic based on the comparison result.
【請求項4】特許請求の範囲第1項において、 前記図形は、校正記号である図形シンボルを含むことを
特徴とする実時間手書き軌跡認識方法。
4. The real-time handwritten trajectory recognition method according to claim 1, wherein the graphic includes a graphic symbol which is a calibration symbol.
【請求項5】特許請求の範囲第1項において、 前記手書き入力されたストローク長の計算、求めたスト
ローク長と所定の閾値との比較による文字か図形かの識
別及び連続して変化した識別結果に対応するストローク
長の再判定処理を、前記手書きストロークが入力される
毎に実行することを特徴とする実時間手書き軌跡認識方
法。
5. The claim 1 according to claim 1, wherein calculation of the stroke length input by handwriting, identification of a character or a figure by comparison of the obtained stroke length with a predetermined threshold, and an identification result that has continuously changed. The real-time handwriting trajectory recognition method is characterized in that the stroke length re-determination process corresponding to is executed every time the handwriting stroke is input.
JP58244009A 1983-12-26 1983-12-26 Real-time handwriting trajectory recognition method Expired - Lifetime JPH0650527B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58244009A JPH0650527B2 (en) 1983-12-26 1983-12-26 Real-time handwriting trajectory recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58244009A JPH0650527B2 (en) 1983-12-26 1983-12-26 Real-time handwriting trajectory recognition method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP4138377A Division JPH05189618A (en) 1992-05-29 1992-05-29 On-line hand-written character editing method

Publications (2)

Publication Number Publication Date
JPS60136890A JPS60136890A (en) 1985-07-20
JPH0650527B2 true JPH0650527B2 (en) 1994-06-29

Family

ID=17112352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58244009A Expired - Lifetime JPH0650527B2 (en) 1983-12-26 1983-12-26 Real-time handwriting trajectory recognition method

Country Status (1)

Country Link
JP (1) JPH0650527B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63303420A (en) * 1987-06-03 1988-12-12 Canon Inc Information input/output device
US5864635A (en) * 1996-06-14 1999-01-26 International Business Machines Corporation Distinguishing gestures from handwriting in a pen based computer by stroke analysis
JP4098880B2 (en) * 1997-06-06 2008-06-11 松下電器産業株式会社 Information retrieval device
US20030215145A1 (en) * 2002-05-14 2003-11-20 Microsoft Corporation Classification analysis of freeform digital ink input
JP4653445B2 (en) * 2004-09-01 2011-03-16 株式会社リコー Handwritten information dividing device, handwritten information dividing method, handwritten information dividing program, and recording medium
JP2009238045A (en) * 2008-03-27 2009-10-15 Just Syst Corp Handwriting input method, handwriting input program, and handwriting input device
JP6072148B2 (en) * 2015-07-08 2017-02-01 株式会社東芝 Handwritten document processing apparatus, method and program
US20170068868A1 (en) * 2015-09-09 2017-03-09 Google Inc. Enhancing handwriting recognition using pre-filter classification
US20230070034A1 (en) 2021-09-07 2023-03-09 Takuroh YOSHIDA Display apparatus, non-transitory recording medium, and display method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55162176A (en) * 1979-05-31 1980-12-17 Matsushita Electric Ind Co Ltd Picture extraction system

Also Published As

Publication number Publication date
JPS60136890A (en) 1985-07-20

Similar Documents

Publication Publication Date Title
US7203903B1 (en) System and methods for spacing, storing and recognizing electronic representations of handwriting, printing and drawings
US5613019A (en) System and methods for spacing, storing and recognizing electronic representations of handwriting, printing and drawings
JPH04104324A (en) Program generating device
EP0816995B1 (en) Image processing method and apparatus
JP2002007963A (en) Image recognizing device, image recognizing method, computer-readable storage medium recording image recognizing program
JPH0650527B2 (en) Real-time handwriting trajectory recognition method
JP2002203207A (en) Character recognizing method and program, and recording medium
CN110490157B (en) Character evaluation method, character learning method, device, equipment and storage medium
JPH0812668B2 (en) Handwriting proofreading method
JPS5935277A (en) Controlling method by real-time recognition of handwritten character pattern
US5073957A (en) Graphic editing system
JPH0149998B2 (en)
KR100577722B1 (en) Method for processing fonts by checking input velociy on touch screen
JPH05189618A (en) On-line hand-written character editing method
JP4158696B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2708441B2 (en) Handwritten character recognition device with input procedure teaching function
JP3367973B2 (en) Character processing method and apparatus
JPS613287A (en) Graphic form input system
JPH0522948B2 (en)
JP2755299B2 (en) Image processing method
JP3093366B2 (en) Image processing method and apparatus
JP2682873B2 (en) Recognition device for tabular documents
JPS62190565A (en) Device for making fair copy of hand-written pattern
JP2840355B2 (en) Document processing device
CN118302739A (en) Method, device, display system and medium for editing space-free gestures

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term