JPH0640297B2 - Brush command method - Google Patents
Brush command methodInfo
- Publication number
- JPH0640297B2 JPH0640297B2 JP58249456A JP24945683A JPH0640297B2 JP H0640297 B2 JPH0640297 B2 JP H0640297B2 JP 58249456 A JP58249456 A JP 58249456A JP 24945683 A JP24945683 A JP 24945683A JP H0640297 B2 JPH0640297 B2 JP H0640297B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- command
- stroke
- writing
- terminal
- 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
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
- Processing Or Creating Images (AREA)
- Character Discrimination (AREA)
- Document Processing Apparatus (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】 (1)技術の分野 本発明は筆画によるコマンドを入力する方式に係り、特
に、引線の方向の変化によってコマンドを認識する筆画
コマンド方式に関する。Description: TECHNICAL FIELD The present invention relates to a method for inputting a command by a stroke, and more particularly to a stroke command method for recognizing a command by a change in the direction of a stroke.
(2)技術の分野 近年、通信網において、単に音声だけでなく、タブレッ
ト等を使って画像を送ることが行なわれるようになって
きた。このような筆画通信システムの端末においては、
画像入出力エリアの他に各種コマンドのキイがあり、キ
イの押下によって操作していた。しかしながら高度な機
能を備えたシステムでは、キイの数が増えて大きな端末
が必要となり、操作しにくくなるため、筆画通信システ
ムに適したコマンド方式が望まれていた。(2) Field of Technology In recent years, in communication networks, not only voice but also images using a tablet or the like have been transmitted. In the terminal of such a stroke communication system,
In addition to the image input / output area, there are keys for various commands, which were operated by pressing the keys. However, in a system having advanced functions, the number of keys is increased and a large terminal is required, which makes it difficult to operate. Therefore, a command method suitable for a stroke communication system has been desired.
(3)従来技術と問題点 筆画通信システムに適したコマンド方式としては筆画コ
マンド方式が考えられている。これはタブレット等の入
力装置に手書きで記号を画き、それを端末が認識してコ
マンド入力する方式である。(3) Conventional Technology and Problems The stroke command method is considered as a command method suitable for the stroke communication system. This is a method in which a symbol is drawn by hand on an input device such as a tablet, and the terminal recognizes it and inputs a command.
手書きの画像を認識するものに文字認識があるが、コマ
ンドに使う記号は文字のように複雑な記号である必要は
なく、簡単な記号でよいため、単に引線の方向に関する
情報(以下方向指数と呼ぶ)によって認識することで充
分である。Although there is character recognition in what recognizes handwritten images, the symbols used for commands do not have to be complicated symbols such as letters and can be simple symbols. It is enough to recognize by calling.
第1図は従来の方向指数による記号認識方式のブロック
図であり、同図において1は角度計算部、2は分類部、
3はシフトレジスタをそれぞれ示す。第2図は方向の分
類の例である。FIG. 1 is a block diagram of a conventional symbol recognition method using a direction index. In FIG. 1, 1 is an angle calculation unit, 2 is a classification unit,
Reference numerals 3 indicate shift registers, respectively. FIG. 2 is an example of direction classification.
従来は第1図のように、あるサンプリング期間に動いた
x座標の増分dxとy座標の増分dyから、角度計算部1に
於いて角度θを計算して引線の方向を検出し、分類部2
に於いて例えば第2図のようにθ1〜θ4を境界として
〜の上下左右の4方向に対応する方向指数(direction
index;di)に分類し、該方向指数をシフトレジスタ3に
順次蓄え、記号を画き終わった後、前記シフトレジスタ
3に蓄えられた方向指数列によりコマンドを識別してい
た。Conventionally, as shown in FIG. 1, the angle calculator 1 calculates the angle θ from the increment dx of the x coordinate and the increment dy of the y coordinate that have moved during a certain sampling period to detect the direction of the trailing line, and the classifier Two
To In and example corresponding direction indices in the vertical and horizontal four directions of ~ as boundary theta 1 through? 4, as of FIG. 2 (direction
The command is identified by the direction index sequence stored in the shift register 3 after the direction index is stored in the shift register 3 sequentially after the symbols are classified into index;
しかしこの従来の方式によると、端末利用者は端末をい
つも正面から見ている訳ではなく、例えば方向を水平
方向として筆画するとは限らず、また、個人の癖によっ
て斜めに画くこともある為方向指数の判断に誤りを生じ
るおそれがある。However, according to this conventional method, the terminal user does not always look at the terminal from the front, and for example, the direction is not always drawn in the horizontal direction. There is a risk of making an error in determining the index.
(4)発明の目的 本発明の目的は、上記欠点をなくし、端末利用者が筆画
入力部の方向を意識しなくても正確な方向指数を得られ
る筆画コマンド方式を提供することにある。(4) Object of the Invention An object of the present invention is to eliminate the above-mentioned drawbacks and provide a stroke command method by which a terminal user can obtain an accurate direction index without being aware of the direction of the stroke input unit.
(5)発明の構成 手書き記号による筆画情報を入力とし、該記号に対応す
るコマンドを認識する筆画コマンド方式であって、実時
間で入力される座標値を順次記憶する手段、該記憶手段
に記憶された2点の座標値から引線方向を検出する手
段、書き始めの引線方向を記憶する手段、該書き始めの
引線方向を基準として後続する各時点の引線方向を計算
する手段、該計算された引線方向を複数の方向指数に分
類する手段、該方向指数をを順次記憶して書き始めと書
き終わりまでの方向指数列を得る手段を有し、該方向指
数列から該コマンドを認識することを特徴とする筆画コ
マンド方式。(5) Structure of the invention A stroke command method for recognizing a command corresponding to the handwriting by inputting handwriting information, and means for sequentially storing coordinate values input in real time, stored in the storage means Means for detecting the direction of the drawing line from the coordinate values of the two drawn points, means for storing the direction of the drawing line at the beginning of writing, means for calculating the direction of the drawing line at each subsequent time point based on the direction of the drawing line at the beginning of writing, the calculated There is provided means for classifying the direction of the drawing line into a plurality of direction indexes, means for sequentially storing the direction indexes to obtain a direction index sequence from the start to the end of writing, and recognizing the command from the direction index sequence. Characteristic brush command method.
(6)発明の実施例 以下、本発明の実施例について詳述する。(6) Examples of the Invention Hereinafter, examples of the present invention will be described in detail.
第3図は本発明筆画コマンド方式の実施例のブロック図
であり、同図に於いて4,5,6,7はレジスタ、8および9
は差分器、10は除算器、11はtan-1変換テーブル、
12は数値変換部、13,14,15,16は比較器、17は優先
順序付エンコーダ、18は微分器、19はシフトレジス
タをそれぞれ示す。FIG. 3 is a block diagram of an embodiment of the stroke command system of the present invention. In FIG. 3, 4,5,6,7 are registers, 8 and 9 are shown.
Is a subtractor, 10 is a divider, 11 is a tan −1 conversion table,
Reference numeral 12 is a numerical conversion unit, 13, 14, 15, 16 are comparators, 17 is a priority-ordered encoder, 18 is a differentiator, and 19 is a shift register.
本発明の実施例において、筆画の入力は入力ペンにより
x,yの2次元座標として、一定のサンプリング周期でリ
アルタイムに行なわれる。第1のレジスタ4,5はサンプ
リング周期毎にそれぞれ座標値x,yを記憶し、第2のレ
ジスタ6,7はサンプリング周期毎にそれぞれ前回第1の
レジスタ4,5記憶された座標値を記憶する。差分器8,9は
それぞれレジスタ4,5に記憶された新しい座標値x1,y1と
レジスタ6,7に記憶された前回の座標値x2,y2との差分d
x,dyを求める。除算器10はdy/dxを計算して引線の傾
きkを求める。tan-1変換テーブル11は傾きk及びdx
及びdyの符号ビットにより画像入力エリア上の角度θ
0(0゜<θ0<360゜)を求める。数値変換部12は書き始
めの角度θRを記憶していて、前記角度θ0をこのθRを
基準とした角度θ(0゜<θ<360゜)に変換する。比較器1
3,14,15,16はそれぞれθ1,θ2,θ3,θ4と前記角度θ
とを比較し、θの方が大きい場合に“1”の信号を、θ
の方が小さい場合に“0”の信号を優先順序付エンコー
ダ17に出力する。優先順序付エンコーダ17は比較器
13,14,15,16からの入力により、θ4<θ又はθ<θ1の
とき1、θ1<θ<θ2のとき2、θ2<θ<θ3のとき
3、θ3<θ<θ4のとき4の方向指数(di)を出力する。
微分器18はdiの値が変化したことを検出し、シフトレ
ジスタ19にパルスを出力する。シフトレジスタ19は
微分器18からパルスが来る毎に新しいdiの値を蓄え
る。記号を画き終えた後、diのシーケンス(方向指数
列)を制御部に予め登録されているシーケンスと照合し
て記号を決定する。In the embodiment of the present invention, the stroke is input by the input pen.
As two-dimensional coordinates of x and y, it is performed in real time at a fixed sampling period. The first registers 4 and 5 store the coordinate values x and y for each sampling period, and the second registers 6 and 7 store the coordinate values previously stored in the first registers 4 and 5 for each sampling period. To do. The differencers 8 and 9 respectively calculate the difference d between the new coordinate values x 1 and y 1 stored in the registers 4 and 5 and the previous coordinate values x 2 and y 2 stored in the registers 6 and 7.
Find x, dy. The divider 10 calculates dy / dx to obtain the slope k of the drawing line. The tan -1 conversion table 11 has slopes k and dx.
And angle dy on the image input area depending on the sign bit of dy
Find 0 (0 ° <θ 0 <360 °). The numerical conversion unit 12 stores the angle θ R at the beginning of writing and converts the angle θ 0 into an angle θ (0 ° <θ <360 °) with reference to the angle θ R. Comparator 1
3,14,15,16 are θ 1 , θ 2 , θ 3 , θ 4 and the angle θ
And when θ is larger, the signal of “1” is
If is smaller, the signal of “0” is output to the priority-ordered encoder 17. The priority-ordered encoder 17 is a comparator
By input from 13,14,15,16, 1 when θ 4 <θ or θ <θ 1 , 2 when θ 1 <θ <θ 2 , 3 when θ 2 <θ <θ 3 , and 3 θ 3 < When θ <θ 4 , the direction index (di) of 4 is output.
The differentiator 18 detects that the value of di has changed, and outputs a pulse to the shift register 19. The shift register 19 stores a new value of di each time a pulse comes from the differentiator 18. After drawing the symbol, the sequence of di (direction index sequence) is compared with the sequence registered in the control unit in advance to determine the symbol.
次に数値変換部12の動作を説明する。Next, the operation of the numerical conversion unit 12 will be described.
第4図は第3の数値変換部12のブロック図であり、同
図に於いて20は差分器、21はレジスタ、22はRS
フリップ・フロップ(RSFF)、23はシフトレジスタ、2
4および25は論理積回路をそれぞれ示す。FIG. 4 is a block diagram of the third numerical conversion unit 12, in which 20 is a differentiator, 21 is a register, and 22 is RS.
Flip-flop (RSFF), 23 is a shift register, 2
Reference numerals 4 and 25 denote AND circuits, respectively.
第5図は第4図におけるタイムチャートであり、同図に
於いて、stは記号入力スタート信号、aはRSFF22のQ
出力、scはサンプリングクロック、pはペン入力の有
無、bはシフトレジスタのa出力、cはレジスタ21の
CK入力をそれぞれ示す信号である。以下、第4図の動
作説明を第5図に従って説明する。FIG. 5 is a time chart in FIG. 4, in which st is a symbol input start signal and a is Q of RSFF22.
The output, sc is the sampling clock, p is the presence or absence of a pen input, b is the a output of the shift register, and c is the signal indicating the CK input of the register 21, respectively. The operation of FIG. 4 will be described below with reference to FIG.
コマンド入力可能を示す、制御部からの記号入力スター
ト信号stによってRSFF22のQ出力aがセットされる。
更にペン入力を示す信号pがONになるとサンプリング
クロックscに同期してシフトレジスタ23のQ出力bが
セットされる。a,bがセットされると、scの立ち上がり
と同期してレジスタ21のCK入力cが立ち上がり、レ
ジスタ21にθ0の値が取り込まれると同時にRSFFのQ
出力aがリセットされる。信号cは信号pよりscの1周
期以上遅れて立上がるため筆画記号入力開始直後の引線
の方向が決まり、レジスタ21に記憶され、これ以降基
準角θRとして差分器20は出力する。差分器20はθ0
−θRを計算してθRを基準としたサンプリング周期毎の
引線の角度θを求め、比較器13,14,15,16へ出力する。The Q output a of the RSFF 22 is set by the symbol input start signal st from the control section, which indicates that a command can be input.
Further, when the signal p indicating the pen input is turned on, the Q output b of the shift register 23 is set in synchronization with the sampling clock sc. When a and b are set, the CK input c of the register 21 rises in synchronization with the rise of sc, and the value of θ 0 is taken into the register 21, and at the same time, the Q of RSFF is changed.
The output a is reset. Since the signal c rises with a delay of one or more cycles of sc from the signal p, the direction of the drawing line is determined immediately after the start of input of the stroke symbol, and is stored in the register 21. Thereafter, the differencer 20 outputs it as the reference angle θ R. The difference unit 20 is θ 0
−θ R is calculated to obtain the angle θ of the drawn line for each sampling period with reference to θ R , and the result is output to the comparators 13, 14, 15, 16.
次に本発明実施例による端末の機能について説明する。Next, the function of the terminal according to the embodiment of the present invention will be described.
第6図は本発明実施例による端末を上から見た図であ
り、同図において26はペン、27は端末状態表示エリ
ア、28は固定コマンド入力エリア、29は筆画コマン
ド入力エリア、30は画像入力エリア、31は電話機の
送受話器をそれぞれ示す。FIG. 6 is a view of the terminal according to the embodiment of the present invention as seen from above, in which 26 is a pen, 27 is a terminal status display area, 28 is a fixed command input area, 29 is a stroke command input area, and 30 is an image. An input area, 31 indicates a handset of a telephone, respectively.
第6図に示す端末は表示部と入力部が一体になってい
て、ペン26によって入力された図形等がすぐに見え
る。最下欄は端末(呼出中など)表示エリア27、固定
コマンド(終了など)入力エリア28、筆画コマンド入
力エリア29がある。画像入力エリア30は相手に送り
たい画像を画くエリアである。ペン入力はリアルタイム
で行なわれるため端末は入力開始が分かる。第6図に示
す端末では、相手との通信は筆画通信と同時に端末の送
受話器31を通して行なわれる。In the terminal shown in FIG. 6, the display unit and the input unit are integrated so that the figure or the like input by the pen 26 can be seen immediately. The bottom column includes a terminal (during calling, etc.) display area 27, a fixed command (end, etc.) input area 28, and a stroke command input area 29. The image input area 30 is an area for drawing an image to be sent to the other party. Since the pen input is performed in real time, the terminal can know the input start. In the terminal shown in FIG. 6, communication with the other party is performed through the handset 31 of the terminal at the same time as the writing communication.
第7図は筆画コマンドの記号の例である。FIG. 7 shows an example of a symbol of a stroke command.
筆画コマンドは例えば第7図のような記号(もちろん、
もっと多くてもよい)を用いて入力する。第7図(a)は
表示画の記憶、(b)は記憶画の再生、(c)は消去、(d)は
次ページ表示を意味するものとする。又、書き始めの引
線の方向を基準として方向指数を分類するため、(e)の
記号は(f)のように書いても同じ方向指数列(−−
−−)になるため(e)と(f)の記号は同一のものと
して正確に認識される。The stroke command is, for example, a symbol as shown in Fig. 7 (of course,
Can be more). FIG. 7 (a) means storage of display image, (b) means reproduction of stored image, (c) means erase, and (d) means display of next page. Also, since the direction index is classified based on the direction of the drawn line at the beginning of writing, the same direction index sequence (-
Since −−), the symbols (e) and (f) are correctly recognized as the same.
(7)発明の効果 本発明により、一つの入力エリアに多くのコマンドを入
力することができるため端末を小さくすることが可能に
なり、又、方向を意識せずに入力できるため早く入力で
き、操作性が向上する。またコマンドの認識も正確にな
るという効果がある。(7) Effect of the Invention According to the present invention, it is possible to input a large number of commands in one input area, which makes it possible to reduce the size of a terminal. Operability is improved. It also has the effect of recognizing commands accurately.
また、本発明は簡単な記号によるコマンドの識に限ら
ず、方向指数を用いるものであれば、手書き文字も含め
て広い範囲の図形の認識にも適用し得る。Further, the present invention is not limited to the recognition of commands by simple symbols, but can be applied to the recognition of a wide range of figures including handwritten characters as long as the direction index is used.
第1図は従来の方向指数による記号認識方式のブロック
図、第2図は方向の分類の例、第3図は本発明筆画コマ
ンド方式の実施例のブロック図、第4図は数値変換部の
ブロック図、第5図は第4図の各信号のタイムチャー
ト、第6図は本発明実施例による端末を上から見た図、
第7図は筆画コマンドの記号の例である。 図面において、1は角度計算部、2は分類部、3はシフ
トレジスタ、4,5,6,7はレジスタ、8,9は差分器、10は
除算器、11はtan-1変換テーブル、12は数値変換
部、13,14,15,16は比較器、17は優先順序付エンコー
ダ、18は微分器、19はシフトレジスタ、20は差分
器、21はレジスタ、22はRSFF、23はシフトレジス
タ24,25は論理積回路、26はペン、27は端末状態表
示エリア、28は固定コマンド入力エリア、29は筆画
コマンド入力エリア、30は画像入力エリア、31は送
受話器をそれぞれ示す。FIG. 1 is a block diagram of a conventional symbol recognition method using a direction index, FIG. 2 is an example of direction classification, FIG. 3 is a block diagram of an embodiment of a stroke command method of the present invention, and FIG. A block diagram, FIG. 5 is a time chart of each signal of FIG. 4, FIG. 6 is a view of the terminal according to the embodiment of the present invention as seen from above,
FIG. 7 shows an example of a symbol of a stroke command. In the drawing, 1 is an angle calculation unit, 2 is a classification unit, 3 is a shift register, 4,5,6,7 are registers, 8,9 are differentiators, 10 are dividers, 11 is a tan −1 conversion table, 12 Is a numerical value conversion unit, 13, 14, 15, 16 are comparators, 17 is a priority-ordered encoder, 18 is a differentiator, 19 is a shift register, 20 is a differentiator, 21 is a register, 22 is RSFF, and 23 is a shift register. 24 and 25 are AND circuits, 26 is a pen, 27 is a terminal status display area, 28 is a fixed command input area, 29 is a stroke command input area, 30 is an image input area, and 31 is a handset.
フロントページの続き (72)発明者 阿部 俊二 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 昭57−79584(JP,A) 特開 昭55−115178(JP,A) 特開 昭57−212585(JP,A)Front page continued (72) Inventor Shunji Abe 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (56) References JP-A-57-79584 (JP, A) JP-A-55-115178 (JP, A) JP-A-57-212585 (JP, A)
Claims (1)
記号に対応するコマンドを認識する筆画コマンド方式で
あって、実時間で入力される座標値を順次記憶する手
段、該記憶手段に記憶された2点の座標値から引線方向
を検出する手段、書き始めの引線方向を記憶する手段、
該書き始めの引線方向を基準として後続する各時点の引
線方向を計算する手段、該計算された引線方向を複数の
方向指数に分類する手段、該方向指数をを順次記憶して
書き始めと書き終わりまでの方向指数列を得る手段を有
し、該方向指数列から該コマンドを認識することを特徴
とする筆画コマンド方式。1. A stroke command method for recognizing a command corresponding to a handwriting symbol as input, and means for sequentially storing coordinate values input in real time and stored in the storage means. Means for detecting the drawing direction from the coordinate values of the two points, means for storing the drawing direction at the beginning of writing,
A means for calculating a drawing direction at each subsequent time point based on the drawing direction at the beginning of writing, a means for classifying the calculated drawing direction into a plurality of direction indexes, and sequentially writing the starting indexes by sequentially storing the direction indexes. A stroke command system having means for obtaining a direction index sequence to the end and recognizing the command from the direction index sequence.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58249456A JPH0640297B2 (en) | 1983-12-26 | 1983-12-26 | Brush command method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58249456A JPH0640297B2 (en) | 1983-12-26 | 1983-12-26 | Brush command method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60136891A JPS60136891A (en) | 1985-07-20 |
| JPH0640297B2 true JPH0640297B2 (en) | 1994-05-25 |
Family
ID=17193227
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58249456A Expired - Lifetime JPH0640297B2 (en) | 1983-12-26 | 1983-12-26 | Brush command method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0640297B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0614364B2 (en) * | 1985-08-29 | 1994-02-23 | 株式会社日立製作所 | Figure recognition device and handwriting editing method |
| FR2925708B1 (en) * | 2007-12-20 | 2009-12-18 | Dav | METHOD FOR DETECTING AN ANGULAR VARIATION OF A CONTROL PATH ON A TOUCH SURFACE AND CORRESPONDING CONTROL MODULE |
-
1983
- 1983-12-26 JP JP58249456A patent/JPH0640297B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60136891A (en) | 1985-07-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102147935B1 (en) | Method for processing data and an electronic device thereof | |
| US4087788A (en) | Data compression system | |
| JP2004518198A (en) | Method, device and computer program for recognizing handwritten characters | |
| EP1530122A2 (en) | Apparatus and method for character recognition | |
| US20160004328A1 (en) | System and method for implementing sliding input of text based upon on-screen soft keyboard on electronic equipment | |
| CN112115936A (en) | Text recognition method and device, storage medium and electronic equipment | |
| CN107885430B (en) | Audio playing method and device, storage medium and electronic equipment | |
| CN108958627B (en) | Touch operation method and device, storage medium and electronic equipment | |
| JP4177335B2 (en) | Handwritten character input device and handwritten character input processing method | |
| JP2003308480A (en) | Online handwritten character pattern recognition and editing apparatus and method, and computer-executable program for implementing the method | |
| EP2442257A1 (en) | Writing stroke identification apparatus, mobile terminal and method for realizing spatial writing | |
| EP4030749B1 (en) | Image photographing method and apparatus | |
| JP7450868B2 (en) | Gesture stroke recognition in touch-based user interface input | |
| CN109992124A (en) | Input method, device and machine readable media | |
| CN101268434B (en) | Autonomous handheld device and method of controlling operation of autonomous handheld device | |
| CN102707891B (en) | A kind of method and mobile terminal calibrating touch-screen input | |
| US20050116045A1 (en) | Handheld device with tract input function | |
| KR20040010364A (en) | Document information input program, document information input apparatus and document information input method | |
| KR100777107B1 (en) | Character recognition device and method using acceleration sensor | |
| JPH0640297B2 (en) | Brush command method | |
| CN101866240A (en) | Handwritten input method and device with handwritten input function | |
| JP2010039769A (en) | Information processing apparatus, information processing method, and program | |
| CN110858291A (en) | Character segmentation method and device | |
| JPH0149998B2 (en) | ||
| CN115686236A (en) | Method for determining position, electronic pen and system for determining position |