JPH06187501A - Handwritten character/graphic recognizing - Google Patents

Handwritten character/graphic recognizing

Info

Publication number
JPH06187501A
JPH06187501A JP5212509A JP21250993A JPH06187501A JP H06187501 A JPH06187501 A JP H06187501A JP 5212509 A JP5212509 A JP 5212509A JP 21250993 A JP21250993 A JP 21250993A JP H06187501 A JPH06187501 A JP H06187501A
Authority
JP
Japan
Prior art keywords
input
recognition
stroke
stroke information
coordinates
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
JP5212509A
Other languages
Japanese (ja)
Inventor
Yasushi Fukunaga
泰 福永
壮四郎 ▲葛▼貫
Soshiro Kuzunuki
Hiroshi Shojima
正嶋  博
Takanori Yokoyama
孝典 横山
Kazuyoshi Koga
和義 古賀
Kotaro Hirasawa
宏太郎 平沢
Shinichi Kawada
信一 川田
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 JP5212509A priority Critical patent/JPH06187501A/en
Publication of JPH06187501A publication Critical patent/JPH06187501A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To provide a handwritten character/graphic recognizing system which can satisfactorily recognize the handwritten characters and graphics even when no rectangular area is shown on an input screen. CONSTITUTION:A handwritten character/graphic recognizing system includes an input means 3 which reads handwriting input stroke information, a recognizing means 7 which secures the matching with a dictionary based on the feature value of the input stroke information and recognizes the characters and graphics, and a display means 2 which shows the input stroke information and the recognizing results. The means 7 performs the matching for each input of the input stroke information and then repeats the matching with the next input stroke information if no matching is secured with the first input stroke information. As a result, the handwritten characters and graphics are satisfactorily recognized with higher operability even when no rectangular area is shown on an input screen.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は手書き文字・図形認識シ
ステムに関し、特に、手書き入力されたストローク情報
の表示と認識結果の表示に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwritten character / graphic recognition system, and more particularly to display of stroke information input by handwriting and display of recognition result.

【0002】[0002]

【従来の技術】手書認識システムとしては、特開昭58−
144287号公報に示されるように、文字認識システムが中
心である。文字と図形が混在する手書き文字・図形認識
システムにおいて、手書き入力されたストローク情報の
表示と認識結果の表示をどのようにして行うかの技術的
な面での示唆或いは具体的な提案は、今までのところな
い。
2. Description of the Related Art As a handwriting recognition system, Japanese Patent Laid-Open No.
As shown in Japanese Patent No. 144287, the character recognition system is the main one. In the handwritten character / figure recognition system in which characters and figures are mixed, technical suggestions or concrete suggestions on how to display the stroke information input by handwriting and the recognition result are now available. Not so far.

【0003】上記、特開昭58−144287号公報では、入力
面上を、複数の矩形エリアに分割し、矩形エリア内にス
トロークを表示するようにして、矩形エリア単位に認識
が終了すれば、当該矩形エリア内を認識表示に変更して
いた。
In the above-mentioned Japanese Laid-Open Patent Publication No. 58-144287, the input surface is divided into a plurality of rectangular areas, and strokes are displayed in the rectangular areas. The inside of the rectangular area was changed to a recognition display.

【0004】この結果、認識前のストロークは、矩形エ
リア単位に自動的に消去されていた。
As a result, the stroke before recognition was automatically erased in units of rectangular areas.

【0005】しかしながら、文字だけでなく、図形が混
在する手書き文字・図形認識システムにおいて、矩形エ
リア単位に認識表示への変更を行うと、次のような問題
が生じる。
However, in a handwritten character / graphic recognition system in which not only characters but also graphics are mixed, if the recognition display is changed in units of rectangular areas, the following problems occur.

【0006】(1)手書き文字を図形線上に書くと、手
書きの文字ストロークを消去する為には、矩形エリア単
位に認識表示に変更しなければならず、この結果、当該
矩形エリア内の図形としての線が切れてしまう。この様
子を示したのが図1(a),(b)であり、(a)は認識
前、(b)は認識後を示している。
(1) When a handwritten character is written on a graphic line, in order to erase the handwritten character stroke, it is necessary to change the recognition display to a rectangular area unit, and as a result, as a graphic in the rectangular area. The line is cut. This state is shown in FIGS. 1A and 1B, where FIG. 1A shows before recognition and FIG. 1B shows after recognition.

【0007】(2)図形をストロークで入力し、認識結
果を表示するように制御すると、ストローク表示を消去
することができなくなる。つまり、図形認識では文字認
識の如く、矩形エリア単位の認識方法を採用しないの
で、認識結果だけを表示しようとすると、認識済みの他
の文字等を消去してしまう場合があり、認識済みのスト
ローク情報のみを消去することができなくなる。
(2) If the figure is input by stroke and the recognition result is controlled to be displayed, the stroke display cannot be erased. In other words, the figure recognition does not employ a recognition method in units of rectangular areas, unlike the character recognition. Therefore, if only the recognition result is displayed, other recognized characters may be erased, and the recognized strokes may be deleted. It becomes impossible to erase only the information.

【0008】この様子を示したのが図1(c),(d)で
ある。
This situation is shown in FIGS. 1 (c) and 1 (d).

【0009】(c)は手書き図形入力ストロークの認識
前の表示を示し、(d)は手書き図形入力ストロークが
消去されないまま残っている認識後の表示を示してい
る。
(C) shows the display before the recognition of the handwritten figure input stroke, and (d) shows the display after the recognition that the handwritten figure input stroke remains unerased.

【0010】一方、認識結果表示の際に、全てのストロ
ーク表示を消去してしまうと、まだ認識されていないス
トロークまで消去してしまうことがあり、不都合があ
る。
On the other hand, if all strokes are erased when the recognition result is displayed, there is a problem in that strokes that have not been recognized may be erased.

【0011】[0011]

【発明が解決しようとする課題】上記従来技術では、入
力面上に予め複数の矩形エリアが表示され、その矩形エ
リア毎に入力ストロークの認識と、筆跡である入力スト
ロークの消去を実行するものであり、認識のための入力
ストロークの切り出しは、ストロークの入力が、第1の
矩形エリアから次の矩形エリアへ移行した場合に、その
第1の矩形エリア内に存在する入力ストロークを切り出
し認識処理を実行するものである。従って、入力面上に
矩形エリアが表示されていないものにおいては、入力ス
トロークを切り出し認識を行うことはできないという問
題があった。
In the above prior art, a plurality of rectangular areas are displayed in advance on the input surface, and the recognition of the input stroke and the erasure of the input stroke, which is the handwriting, are executed for each rectangular area. Yes, the input stroke is cut out for recognition by cutting out the input stroke existing in the first rectangular area when the stroke input is transferred from the first rectangular area to the next rectangular area. It is what you do. Therefore, in the case where the rectangular area is not displayed on the input surface, the input stroke cannot be cut out and recognized.

【0012】本発明の目的は、入力面上に矩形エリアが
表示されていないものにおいても、良好に文字・図形の
認識が可能な手書き文字・図形認識システムを提供する
ことにある。
It is an object of the present invention to provide a handwritten character / graphics recognition system capable of satisfactorily recognizing characters / graphics even when a rectangular area is not displayed on the input surface.

【0013】[0013]

【課題を解決するための手段】本発明は、手書き入力さ
れた文字・図形のストローク情報を読み取る入力手段
と、前記読み取られた入力ストローク情報の特徴量を用
いて辞書とマッチングを行い文字・図形の認識を行う認
識手段と、前記入力ストローク情報及び前記認識手段に
より得られた認識結果を表示する表示手段を有する手書
き文字・図形認識システムにおいて、前記認識手段は、
前記入力手段によりストローク情報が入力される毎に前
記辞書とのマッチングを行い、マッチングの結果一致し
ない場合には次の入力ストローク情報と合わせて再度マ
ッチングを行うように構成したことに特徴がある。
DISCLOSURE OF THE INVENTION According to the present invention, input means for reading stroke information of characters / graphics input by handwriting, and a character / graphic by performing matching with a dictionary using the feature amount of the read input stroke information. In a handwriting character / graphics recognition system having a recognition means for recognizing, and a display means for displaying the input stroke information and the recognition result obtained by the recognition means, the recognition means comprises:
Each time the stroke information is input by the input means, it is matched with the dictionary, and if the result of the matching is that they do not match, the matching is performed again with the next input stroke information.

【0014】[0014]

【作用】本発明によれば、ストローク情報が入力される
毎に逐次辞書とのマッチングが行われ、マッチングの結
果一致する場合には認識結果が表示される。また、マッ
チングの結果一致するものがない場合には、次に入力さ
れたストローク情報と合わせてマッチングが行われ、認
識結果が得られまで同様の処理が繰返し実行される。こ
れにより、入力面上に矩形エリアが表示されていないも
のにおいても、ストローク情報が入力される毎に認識が
行われるので、自動的に入力ストローク情報が切り出さ
れ認識されることとなり、操作性の向上を図ることが可
能となる。
According to the present invention, each time stroke information is input, matching is successively performed with the dictionary, and if the matching results match, the recognition result is displayed. If there is no match as a result of matching, matching is performed with the stroke information input next, and similar processing is repeatedly executed until a recognition result is obtained. As a result, even when the rectangular area is not displayed on the input surface, the recognition is performed each time the stroke information is input, so that the input stroke information is automatically cut out and recognized. It is possible to improve.

【0015】[0015]

【実施例】図2は本発明の一実施例の全体構成図を示
し、1は電磁誘導型のスタイラスペン、2は液晶ディス
プレイ、3は電磁タブレット、4は処理装置、5はフレ
ームメモリ、6は表示制御装置、7は手書き文字・図形
認識装置、8はカバーである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is an overall configuration diagram of an embodiment of the present invention. 1 is an electromagnetic induction type stylus pen, 2 is a liquid crystal display, 3 is an electromagnetic tablet, 4 is a processing device, 5 is a frame memory, and 6 Is a display control device, 7 is a handwritten character / graphic recognition device, and 8 is a cover.

【0016】図3は図2の動作説明用のタイムチャート
であり、(A)は電磁タブレット3の動作、(B),
(D),(E),(F)は手書き文字・図形認識装置7の動
作、(C),(G),(H)は処理装置4の動作を示してい
る。
FIG. 3 is a time chart for explaining the operation of FIG. 2. (A) is the operation of the electromagnetic tablet 3, (B),
(D), (E) and (F) show the operation of the handwritten character / graphic recognition device 7, and (C), (G) and (H) show the operation of the processing device 4.

【0017】液晶ディスプレイ2の上から電磁波を出力
するスタイラスペン1でストロークを入力すると、電磁
波は、液晶ディスプレイ2を通りぬけて、電磁タブレッ
ト3に到達し、入力ポイントの座標が読み取られる。こ
の入力座標は、電磁タブレット3より、順次、バス10
1を介して手書き文字・図形認識装置7(以下認識装置
と略称する)へ送出される(図3の(A)の処理)。
When a stroke is input from the stylus pen 1 that outputs an electromagnetic wave from above the liquid crystal display 2, the electromagnetic wave passes through the liquid crystal display 2 and reaches the electromagnetic tablet 3, and the coordinates of the input point are read. These input coordinates are sequentially transferred from the electromagnetic tablet 3 to the bus 10
It is sent to the handwritten character / graphics recognition device 7 (hereinafter abbreviated as recognition device) via 1 (process of FIG. 3A).

【0018】認識装置7では、ストローク表示を行わせ
るため、バス102を介して処理装置4へ入力座標を、
座標変換して送出する(図3(B))。処理装置4では、
液晶ディスプレイ2上にストロークを表示させるため、
前に入力されている座標と今回入力された座標を直線で
接続するよう、フレームメモリ5の対応座標に書き込む
(図3(C))、一方、認識装置7は入力されたストロー
クを基に手書き認識を行い(図3(D))、図示していな
い辞書内の図形又は文字と一致しなければ、次の入力ス
トロークの入力を待つ(図3(E))。一致した場合は、
認識結果をバス102を介して処理装置4へ送出する
((図3(F))。この場合、認識された図形或いは文字
コードを送出するだけではなく、後述する如く入力スト
ロークのどこまでが認識されたかの情報も共に送られ
る。認識結果を受信した処理装置4は、まず、入力スト
ロークのどこまでが認識されたかの情報を基に、バス1
03を介して、認識の終了したストロークをフレームメ
モリ5から消去する指令を出力する(図3(G))。
In the recognition device 7, in order to display the stroke, the input coordinates are input to the processing device 4 via the bus 102.
The coordinates are converted and transmitted (FIG. 3 (B)). In the processing device 4,
In order to display strokes on the liquid crystal display 2,
The previously input coordinates and the coordinates input this time are written in the corresponding coordinates of the frame memory 5 so as to connect them with a straight line (FIG. 3 (C)), while the recognition device 7 is handwritten based on the input strokes. Recognition is performed (FIG. 3D), and if the figure or character in the dictionary (not shown) does not match, input of the next input stroke is waited for (FIG. 3E). If they match,
The recognition result is sent to the processing device 4 via the bus 102 ((FIG. 3 (F)). In this case, not only the recognized figure or character code but also the input stroke is recognized as will be described later. The processing device 4, which has received the recognition result, first of all, based on the information of how much of the input stroke is recognized, the bus 1
A command for deleting the recognized stroke from the frame memory 5 is output via 03 (FIG. 3 (G)).

【0019】更に、処理装置4は、バス104を介して
認識結果をフレームメモリ5に書き込む(図3(H))。
Further, the processing device 4 writes the recognition result in the frame memory 5 via the bus 104 (FIG. 3 (H)).

【0020】フレームメモリ5の内容は、60Hz以上
の周波数で、常に、表示制御装置6より読み取られ、バ
ス107,108を介して液晶ディスプレイ2へ送出さ
れているため、フレームメモリ5の変化は瞬時に液晶デ
ィスプレイ2上に表示される。
The contents of the frame memory 5 are constantly read by the display controller 6 at a frequency of 60 Hz or more and sent to the liquid crystal display 2 via the buses 107 and 108, so that the change in the frame memory 5 is instantaneous. Is displayed on the liquid crystal display 2.

【0021】以上が、全体的な動作概要であるが、次に
各部の詳細動作を以下で順次説明する。
The above is the outline of the overall operation. Next, the detailed operation of each part will be sequentially described below.

【0022】(1)入力座標読み取り 電磁タブレット3は、前述の如く、スタイラスペン1か
らの電磁波を受けて、ペン先の座標を検出する。タブレ
ットとペンについては、たとえばセイコー電子株式会社
製のDT−4010を使用することができ、その原理の
詳細は、例えばトランジスタ技術1983年5月号に掲
載されている。
(1) Input coordinate reading The electromagnetic tablet 3 receives the electromagnetic wave from the stylus pen 1 and detects the coordinates of the pen tip as described above. For the tablet and pen, for example, DT-4010 manufactured by Seiko Denshi Co., Ltd. can be used, and details of the principle thereof are described in, for example, Transistor Technology May 1983 issue.

【0023】ペン先の座標情報と共に、ペンが液晶ディ
スプレイ2、又はカバー8上を押下しているか、してい
ないかの情報をも読み取ることが可能である。そしてバ
ス101を介して電磁タブレット3の絶対座標及びペン
が押下されているか(pendown status)押下されていな
いか(pen up status)の情報が手書き文字・図形認識
装置7に入力される。
In addition to the coordinate information of the pen tip, it is possible to read the information as to whether the pen is pressing the liquid crystal display 2 or the cover 8 or not. Then, through the bus 101, the absolute coordinates of the electromagnetic tablet 3 and the information as to whether the pen is pressed (pen down status) or not (pen up status) are input to the handwritten character / graphic recognition device 7.

【0024】(2)手書き文字・図形認識装置7の動作 図4に、電磁タブレット3と、液晶ディスプレイ2の表
示部、及び液晶表示部の上から見た位置関係、更に、フ
レームメモリ5のどの部分を表示するかを指示するエリ
アの関係を示す。電磁タブレット3は、図4の全エリア
の座標を入力することが可能で、手書き文字・図形認識
装置7はバス101から入力されたタブレット座標を、
図4の位置関係から、液晶表示部内の座標,表示位置指
示エリアの座標,1/2表示エリアの座標、それ以外に
分離する処理を行う。表示位置指示エリアや、1/2表
示エリアは、液晶表示部が小さいため、フレームメモリ
5の全体を表示することができないため設けられたもの
である。具体的には、1280×1024ドットを有するフ
レームメモリ5の中の640×256ドットが液晶ディ
スプレイ2へ表示されており、表示する左上の座標を表
示位置指定エリアで、1280×512ドットを1/2
に縮小して表示する表示を1/2指示エリアをペンで押
下することで指定できる。こうした情報は、バス109
を介して表示制御装置6へ送られ、フレームメモリ5の
読み出しアドレスが変更される。
(2) Operation of the handwritten character / figure recognition device 7 In FIG. 4, the electromagnetic tablet 3, the display section of the liquid crystal display 2, the positional relationship seen from above the liquid crystal display section, and the frame memory 5 are shown. The relationship of the areas instructing whether to display the part is shown. The electromagnetic tablet 3 can input the coordinates of the entire area of FIG. 4, and the handwritten character / graphics recognition device 7 changes the tablet coordinates input from the bus 101 to
Based on the positional relationship of FIG. 4, a process of separating the coordinates in the liquid crystal display unit, the coordinates of the display position designating area, the coordinates of the 1/2 display area, and others is performed. The display position designating area and the 1/2 display area are provided because the liquid crystal display unit is small and the entire frame memory 5 cannot be displayed. Specifically, 640 × 256 dots in the frame memory 5 having 1280 × 1024 dots are displayed on the liquid crystal display 2, and the upper left coordinates to be displayed are the display position designation area, and 1280 × 512 dots are 1 / Two
The display reduced in size can be specified by pressing the 1/2 instruction area with a pen. This information is available on bus 109
Is sent to the display control device 6 via the, and the read address of the frame memory 5 is changed.

【0025】一方、ペンで、図4の液晶表示部を押下し
た場合の動作につき以下で説明する。
On the other hand, the operation when the liquid crystal display section of FIG. 4 is depressed with the pen will be described below.

【0026】電磁タブレット3の入力座標(X,Y)は、
フレームメモリ5内の座標(x,y)に座標変換式
The input coordinates (X, Y) of the electromagnetic tablet 3 are
Coordinate conversion formula for coordinates (x, y) in the frame memory 5

【0027】[0027]

【数1】 [Equation 1]

【0028】でもって変換される。ここで、Mは、通常
表示時は、1,1/2縮小表示時は2とする定数で、
(a,b,c,d)は、タブレット座標を、液晶表示面
の座標へ変換するための変換マトリックス座標、
(X0,Y0)は、フレームメモリ5のどの位置から液晶
ディスプレイ2に表示されているかを示す基準座標であ
る。
Is converted by Here, M is a constant that is 1 for normal display and 2 for 1/2 reduced display,
(A, b, c, d) are conversion matrix coordinates for converting the tablet coordinates into the coordinates of the liquid crystal display surface,
(X 0 , Y 0 ) are reference coordinates indicating from which position of the frame memory 5 the liquid crystal display 2 is displayed.

【0029】変換された座標(x,y)は、pen up/pe
n downのステータス情報と共にバス102を介して処理
装置4へ送られる。
The converted coordinates (x, y) are pen up / pe
It is sent to the processing device 4 via the bus 102 together with the status information of n down.

【0030】一方、(X,Y)の座標情報、及びpen up
/pen downのステータス情報を基に手書き文字・図形認
識装置7は手書き認識を行う。
On the other hand, (X, Y) coordinate information and pen up
The handwritten character / figure recognition device 7 performs handwriting recognition based on the / pen down status information.

【0031】まず、入力ストロークのpen up/pen down
情報によって、入力座標をストローク単位に分離する。
これは、今までpen up状態でpen down状態になると、ス
トロークの開始であるため、入力座標をスタックし、再
度pen upになるとストロークが終了となる。一本のスト
ロークが入力されると、上記スタックされた座標情報を
用いて認識を行う。
First, input stroke pen up / pen down
Information is used to separate input coordinates into stroke units.
This is because the stroke starts when the pen up state is changed to the pen down state until now, and the input coordinates are stacked, and when the pen up is performed again, the stroke ends. When one stroke is input, recognition is performed using the stacked coordinate information.

【0032】辞書内の定義された辞書とマッチングしな
ければ、次のストローク情報の入力を待ち、マッチング
すれば、その結果を処理装置4へバス102を介して送
出する。
If there is no match with the defined dictionary in the dictionary, the input of the next stroke information is awaited. If there is a match, the result is sent to the processor 4 via the bus 102.

【0033】図5は、認識結果の送信データフォーマッ
トを示す。(a)は前に述べた座標情報を送出する場合
のフォーマットで、座標情報送出を意味するフラッグFl
agAとpen のup/down情報を示すPENと座標(x,
y)が送出される。(b)は文字認識結果を送出する場
合のフォーマットである。この場合は、文字認識送出を
示すフラッグFlagBと、認識に使用したストローク数n
と、認識された文字コードCHARと、文字のサイズ,
書かれた位置を示すSIZE&LOCATIONが送出される。
(c)は図形認識結果を示す場合のフォーマットであ
る。この場合は、文字認識の場合とほぼ同様で、認識さ
れた図形コードCODEを送出することが、文字認識の
場合と異なる。
FIG. 5 shows a transmission data format of the recognition result. (A) is the above-mentioned format for transmitting coordinate information, which is a flag Fl that indicates coordinate information transmission.
PEN indicating up / down information of agA and pen and coordinates (x,
y) is sent. (B) is a format for transmitting the character recognition result. In this case, the flag FlagB indicating the character recognition transmission and the stroke number n used for recognition
And the recognized character code CHAR and the character size,
SIZE & LOCATION indicating the written position is sent.
(C) is a format for showing the result of figure recognition. In this case, almost the same as in the case of character recognition, the difference is that the recognized graphic code CODE is sent out.

【0034】以上のようなフォーマットで、認識結果を
処理装置7に送出するが、認識に使用したストロークn
を送出することに特徴を有する。
Although the recognition result is sent to the processing device 7 in the above format, the stroke n used for recognition is used.
Is characterized in that

【0035】(3)処理装置の動作 図6は、処理装置4の内部構成を示したもので、文字・
図形認識装置7とのインタフェースである受信回路61
と、演算用レジスタを有した演算回路62と、記憶装置
として、2つのファーストイン,ファーストアウト(F
IFO)の記憶回路64,65、及び記憶回路64,6
5それぞれの入力ポインタ68,70と出力ポインタ6
7,69更にフレームメモリ5への出力回路63でもっ
て構成される。記憶回路64は1ストロークを構成する
座標数(電数)を、65は、x,y1組の座標情報を記
憶したり、読み出したりすることができる。
(3) Operation of processing device FIG. 6 shows the internal structure of the processing device 4.
Receiver circuit 61 which is an interface with the figure recognition device 7.
And an arithmetic circuit 62 having an arithmetic register and two first-in and first-out (F
IFO) memory circuits 64, 65 and memory circuits 64, 6
5 Input pointers 68 and 70 and output pointer 6 respectively
7, 69 and an output circuit 63 to the frame memory 5. The memory circuit 64 can store and read the number of coordinates (electric number) forming one stroke, and the unit 65 can store and read coordinate information of x, y1 sets.

【0036】演算回路62には、座標数mやp、状態を
示すstate、座標(α,β),(γ,δ)を記憶するレジ
スタ、更に、受信されたデータを保持するレジスタ等を
有し、これらを用いて加減算や、記憶回路64,65の
制御,出力回路63の制御を実施することができる。
The arithmetic circuit 62 has a register for storing the number of coordinates m and p, a state indicating the state, coordinates (α, β), (γ, δ), and a register for holding the received data. However, addition / subtraction, control of the memory circuits 64 and 65, and control of the output circuit 63 can be performed using these.

【0037】図7及び図8は、この演算回路62の動作
を示したフローチャートで、以下、このフローチャート
に従って動作を説明する。
7 and 8 are flow charts showing the operation of the arithmetic circuit 62, and the operation will be described below with reference to this flow chart.

【0038】イニシャライズの後で(図7(a))受信回
路61からの入力を待つ(図7(b))。入力があった場合
図5の入力データを用いて以下の処理を行う。まず
(c),(d)で受信したフラッグのチェックを行う。
フラッグが座標入力の場合は、図8の(f)で、ペンが
アップしているか、ダウンしているかがチェックされ
る。ペンアップの場合は、入力座標(x,y)にカーソ
ルを表示した後(図7(j))ストローク入力中かどうか
がチェックされ、ストローク入力中でない場合は、次の
座標入力待に戻る(図8(g))。
After the initialization (FIG. 7 (a)), the input from the receiving circuit 61 is waited for (FIG. 7 (b)). When there is an input, the following processing is performed using the input data of FIG. First, the flag received in (c) and (d) is checked.
When the flag is coordinate input, it is checked in (f) of FIG. 8 whether the pen is up or down. In the case of pen-up, after displaying the cursor at the input coordinates (x, y) (Fig. 7 (j)), it is checked whether or not stroke input is in progress. If stroke input is not in progress, the process returns to the next coordinate input wait ( FIG. 8 (g)).

【0039】ストローク入力中にペンアップを検出すれ
ば、ストローク入力が終了したことを意味するため、ス
テートをイニシャライズし、ストロークを形成する
(x,y)座標の個数mを、FIFO64に入力ポインタ
68を用いて書き込んだ後、入力ポインタ68をプラス
1し、mをイニシャライズする(図8(h))。
If pen-up is detected during stroke input, it means that stroke input is completed. Therefore, the state is initialized and a stroke is formed.
After writing the number m of (x, y) coordinates in the FIFO 64 by using the input pointer 68, the input pointer 68 is incremented by 1 to initialize m (FIG. 8 (h)).

【0040】図8(f)でpen downの時には、ステートが
イニシャライズであるかどうかがチェックされ(図8
(k))、イニシャライズの時は、ストローク入力が開始
されたことを示すため、ストローク入力モードにステー
トを変更する(図8(m))。一方、ストローク入力中
は、FIFO65の最後に入力された座標と、今回入力
された座標(x,y)を結ぶ直線が出力される(図8
(l))。更にモードに関係なく、入力された座標(x,
y)をFIFO65に書き込み、入力ポインタ70及び
ストロークを構成する座標個数を示す値mを更新する
(図8(m))。
At the time of pen down in FIG. 8F, it is checked whether the state is initialization (FIG. 8).
(k)) At the time of initialization, the state is changed to the stroke input mode to indicate that the stroke input has started (FIG. 8 (m)). On the other hand, during stroke input, a straight line connecting the last input coordinate of the FIFO 65 and the currently input coordinate (x, y) is output (FIG. 8).
(l)). Furthermore, regardless of the mode, the input coordinates (x,
y) is written in the FIFO 65, and the value m indicating the number of coordinates forming the input pointer 70 and the stroke is updated (FIG. 8 (m)).

【0041】以上の処理を行うことによって、FIFO
64には各ストロークの座標数が、FIFO65には、
座標(x,y)の値がスタックされる。
By performing the above processing, the FIFO
64 is the number of coordinates of each stroke, and FIFO 65 is
The values at coordinates (x, y) are stacked.

【0042】フラッグがB,Cの場合は、n個のストロ
ークを消去するため、以下の処理が行われる。
When the flags are B and C, the following processing is performed in order to erase n strokes.

【0043】まず、FIFO64から最初のストローク
の座標数pを読み出し、出力ポインタ67を更新する
(図7(o))。更に、FIFO65から、最初の座標
(α,β)を読み出し、FIFO65の出力ポインタ69
を更新し、またpを1減算する(図7(p))。更に次の
座標(γ,δ)も同様に読み出し(図7(r))、(α,
β)から(γ,δ)を結ぶ直線を消去する。消去後、
(γ,δ)を(α,β)へ代入して(図7(s))、次の
直線の消去を、ストロークの座標数pに達するまで実行
する(図7(u))。
First, the coordinate number p of the first stroke is read from the FIFO 64 and the output pointer 67 is updated (FIG. 7 (o)). Furthermore, from the FIFO65, the first coordinate
(α, β) is read and the output pointer 69 of the FIFO 65 is read.
Is updated and p is decremented by 1 (FIG. 7 (p)). Further, the next coordinates (γ, δ) are similarly read (FIG. 7 (r)), (α,
The line connecting (γ, δ) from (β) is deleted. After erasing,
By substituting (γ, δ) into (α, β) (FIG. 7 (s)), the next straight line is erased until the stroke coordinate number p is reached (FIG. 7 (u)).

【0044】1本のストロークの消去が終了するとnを
減算し、認識に使用したストローク本数に達するまで、
消去を繰返す(図7(v),(x))。
When the deletion of one stroke is completed, n is subtracted until the number of strokes used for recognition is reached.
The erasing is repeated (FIGS. 7 (v) and (x)).

【0045】以上の処理を行うことによって、認識が終
了したストロークのみ、順次消去することができる。
By performing the above processing, only strokes for which recognition has been completed can be sequentially erased.

【0046】出力回路63は、上記フローの中で、スト
ロークの出力,消去を制御する。出力,消去について
は、ここでは、排他的論理和を用いてフレームメモリ5
に書き込むことで、実施する。
The output circuit 63 controls the output and deletion of strokes in the above flow. For output and erasure, the exclusive OR is used here for the frame memory 5
Implement by writing in.

【0047】排他的論理和は、入力a,bに対し出力c
が下表のような形で表わされる。
The exclusive OR is output c for inputs a and b.
Is represented as shown in the table below.

【0048】[0048]

【表1】 [Table 1]

【0049】このため、Therefore,

【0050】[0050]

【数2】 [Equation 2]

【0051】となって、同じ値bで2度排他的論理和を
とると、前の値に戻るという性質を有する。
Therefore, when the exclusive OR is performed twice with the same value b, it has the property of returning to the previous value.

【0052】これにより、フレームメモリ5の座標F
(x,y)に対し、点を書き込もうとして、常に1で排
他的論理和をとると、
As a result, the coordinate F of the frame memory 5 is
When trying to write a point to (x, y) and always taking an exclusive OR with 1,

【0053】[0053]

【数3】 [Equation 3]

【0054】となる。更に消去するため再度1を書き込
むと、
It becomes If 1 is written again for further erasing,

【0055】[0055]

【数4】 [Equation 4]

【0056】となる。これによってF(x,y)の値が
元の値に戻り、消去することができる。
It becomes As a result, the value of F (x, y) returns to its original value and can be erased.

【0057】(4)表示制御装置6の動作 バス109を介して、表示基準座標(X0,Y0)及び通
常表示か1/2表示かの指示を連絡されているため、フ
レームメモリ5に対して読み出しアドレスをバス106
を介して送出する。フレームメモリ5のデータをバス1
05を介して受け取ると、液晶ディスプレイ2にアドレ
ス108とデータ107を送出する。これによってフレ
ームメモリ5の内容のディスプレイ2に送出される。
(4) Operation of the display control device 6 Since the display reference coordinates (X 0 , Y 0 ) and the instruction of normal display or 1/2 display are communicated via the bus 109, the frame memory 5 is informed. For the read address, the bus 106
Send through. Data from frame memory 5 is transferred to bus 1
When it is received via 05, the address 108 and the data 107 are sent to the liquid crystal display 2. As a result, the contents of the frame memory 5 are sent to the display 2.

【0058】以上述べてきたように、本実施例によれ
ば、認識表示前に、認識結果に対応するストローク表示
を消去することができ、また入力と出力を一体化するこ
とで、入力された場所に認識前のストローク情報と、認
識結果を時系列的に表示することができ、マン・マシン
性が向上する。
As described above, according to the present embodiment, the stroke display corresponding to the recognition result can be erased before the recognition display, and the input and the output are integrated to input the stroke. The stroke information before recognition and the recognition result can be displayed at a place in time series, and man-machine performance is improved.

【0059】一方、本発明の他の実施例としては、処理
装置4で認識も行ってしまう方式や、認識したストロー
ク数を連絡するのではなく、更に細かくストロークの座
標数を連絡する方式も考えられる。
On the other hand, as another embodiment of the present invention, a method in which the processing device 4 also performs recognition, or a method in which the number of recognized strokes is communicated more finely rather than the number of recognized strokes is considered. To be

【0060】[0060]

【発明の効果】本発明によれば、入力面上に矩形エリア
が表示されていないものにおいても、自動的に入力スト
ローク情報が切り出され、認識されることとなるため、
操作性の向上を図ることが可能となる。
According to the present invention, even if a rectangular area is not displayed on the input surface, the input stroke information is automatically cut out and recognized.
It is possible to improve operability.

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

【図1】従来技術の問題点の説明図である。FIG. 1 is an explanatory diagram of a problem of a conventional technique.

【図2】本発明が適用されるシステムの全体構成図であ
る。
FIG. 2 is an overall configuration diagram of a system to which the present invention is applied.

【図3】図2に示すシステムの動作を説明するフローチ
ャートである。
FIG. 3 is a flowchart illustrating an operation of the system shown in FIG.

【図4】入力一体化ディスプレイのレイアウト図であ
る。
FIG. 4 is a layout diagram of an input integrated display.

【図5】転送データのフォーマットを示した図である。FIG. 5 is a diagram showing a format of transfer data.

【図6】図2に示す処理装置の一実施例構成図である。FIG. 6 is a block diagram of an embodiment of the processing apparatus shown in FIG.

【図7】図6に示す処理装置の動作を説明するフローチ
ャートである。
7 is a flowchart illustrating an operation of the processing device shown in FIG.

【図8】図6に示す処理装置の動作を説明するフローチ
ャートである。
8 is a flowchart illustrating an operation of the processing apparatus shown in FIG.

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

1…スタイラスペン、2…液晶ディスプレイ、3…電磁
タブレット、4…処理装置、5…フレームメモリ、6…
表示制御装置、7…手書き文字・図形認識装置。
1 ... Stylus pen, 2 ... Liquid crystal display, 3 ... Electromagnetic tablet, 4 ... Processing device, 5 ... Frame memory, 6 ...
Display control device, 7 ... Handwritten character / graphic recognition device.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 横山 孝典 茨城県日立市幸町3丁目1番1号 株式会 社日立製作所日立研究所内 (72)発明者 古賀 和義 茨城県日立市幸町3丁目1番1号 株式会 社日立製作所日立研究所内 (72)発明者 平沢 宏太郎 茨城県日立市幸町3丁目1番1号 株式会 社日立製作所日立研究所内 (72)発明者 川田 信一 東京都千代田区神田駿河台四丁目6番地 株式会社日立製作所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Takanori Yokoyama, 3-1-1, Saiwaicho, Hitachi, Ibaraki Prefecture Hitachi Research Laboratory, Hitachi, Ltd. (72) Inventor, Kazuyoshi Koga, 3-chome, Hitachi, Hitachi, Ibaraki No. 1 in Hitachi Research Laboratory, Hitachi, Ltd. (72) Inventor Kotaro Hirasawa 3-1-1, Saiwaicho, Hitachi, Ibaraki Hitachi in Hitachi Research Laboratory, Ltd. (72) Shinichi Kawada Chiyoda-ku, Tokyo 4-6, Sugatadai, Kanda Inside Hitachi, Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】手書き入力された文字・図形のストローク
情報を読み取る入力手段と、前記入力手段からの入力ス
トローク情報の特徴量を用いて辞書とマッチングを行い
文字・図形の認識を行う認識手段と、前記入力ストロー
ク情報及び前記認識手段により得られた認識結果を表示
する表示手段を有する手書き文字・図形認識システムに
おいて、前記認識手段は、前記入力手段によりストロー
ク情報が入力される毎に前記辞書とのマッチングを行
い、マッチングの結果一致しない場合には次の入力スト
ローク情報と合わせて再度マッチングを行うことを特徴
とする手書き文字・図形認識システム。
1. Input means for reading stroke information of characters / graphics input by handwriting, and recognition means for recognizing characters / graphics by matching with a dictionary using the feature amount of input stroke information from the input means. In the handwritten character / graphics recognition system having a display unit for displaying the input stroke information and the recognition result obtained by the recognition unit, the recognition unit stores the dictionary in the dictionary each time the stroke information is input by the input unit. The handwriting character / graphics recognition system is characterized in that if the result of the matching does not match, the matching is performed again with the next input stroke information.
JP5212509A 1993-08-01 1993-08-27 Handwritten character/graphic recognizing Pending JPH06187501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5212509A JPH06187501A (en) 1993-08-01 1993-08-27 Handwritten character/graphic recognizing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5212509A JPH06187501A (en) 1993-08-01 1993-08-27 Handwritten character/graphic recognizing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP59060717A Division JPS60205686A (en) 1984-03-30 1984-03-30 Handwritten character and graphic recognizing system

Publications (1)

Publication Number Publication Date
JPH06187501A true JPH06187501A (en) 1994-07-08

Family

ID=16623854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5212509A Pending JPH06187501A (en) 1993-08-01 1993-08-27 Handwritten character/graphic recognizing

Country Status (1)

Country Link
JP (1) JPH06187501A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5471938A (en) * 1977-11-18 1979-06-08 Fujitsu Ltd On-line character input system
JPS5471939A (en) * 1977-11-18 1979-06-08 Fujitsu Ltd On-line hand-written character input system
JPS5471937A (en) * 1977-11-18 1979-06-08 Fujitsu Ltd Hand-written character input system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5471938A (en) * 1977-11-18 1979-06-08 Fujitsu Ltd On-line character input system
JPS5471939A (en) * 1977-11-18 1979-06-08 Fujitsu Ltd On-line hand-written character input system
JPS5471937A (en) * 1977-11-18 1979-06-08 Fujitsu Ltd Hand-written character input system

Similar Documents

Publication Publication Date Title
JPH0460269B2 (en)
US4633436A (en) Real-time rub-out erase for an electronic handwriting facility
US6476796B1 (en) Display device and display system incorporating such a device
US5900876A (en) Information processing apparatus and method with display book page turning
US5838302A (en) Data inputting devices for inputting typed and handwritten data in a mixed manner
EP0597379B1 (en) Pen input processing apparatus
JPH05330289A (en) Electronic blackboard device
JPH07295940A (en) Electronic equipment
US5636336A (en) Graphics processing unit for use with a stylus pen and tablet, and method therefore
JPH06187501A (en) Handwritten character/graphic recognizing
JP3598563B2 (en) Input device
JPS6228828A (en) Tablet input information processor
JPS61267128A (en) Display erasure system
JP2005108032A (en) Handwriting processing device
JPH0346081A (en) On-line hand-written character input method
JP2008027002A (en) Overwrite control system, overwrite page storage/display method, program, and recording medium
JPH08212306A (en) Handwriting data thinning-out method, dictionary generating method, and character recognition device
JP2801593B2 (en) Handwriting input calculator
JPH08297466A (en) Mapping device
JPH05181865A (en) Proofreading editing system
JPH0632082B2 (en) Pattern input device
JPH09258951A (en) Display control method and display controller
JPH05173709A (en) Display and input integrated device with image sensor
JPH08507891A (en) Computer for storing graphics images
JPH08286821A (en) Hand-written input device