[go: up one dir, main page]

JPH05127810A - Handwritten character processor - Google Patents

Handwritten character processor

Info

Publication number
JPH05127810A
JPH05127810A JP28894891A JP28894891A JPH05127810A JP H05127810 A JPH05127810 A JP H05127810A JP 28894891 A JP28894891 A JP 28894891A JP 28894891 A JP28894891 A JP 28894891A JP H05127810 A JPH05127810 A JP H05127810A
Authority
JP
Japan
Prior art keywords
pen
thickness
line
cpu
tablet
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.)
Withdrawn
Application number
JP28894891A
Other languages
Japanese (ja)
Inventor
広市 ▲吉▼田
Hiroichi Yoshida
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP28894891A priority Critical patent/JPH05127810A/en
Publication of JPH05127810A publication Critical patent/JPH05127810A/en
Withdrawn legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 この発明の目的は線の太さや線の濃さを操作
するタブレット上のペンのスピードや押圧力によって変
化させることにより、タブレットから入力される手書文
字について肉筆感を与えながら出力することのできる手
書文字処理装置を提供することである。 【構成】 CPU12と、CPU12に接続されるタブ
レット15、ドットマトリクスを含むメモリ16および
表示装置13を接続し、タブレット15でペン操作して
得られた手書文字を、検知したペンの操作量(スピード
および押圧力)に基づいて線の太さおよび濃さをドット
マトリクス上でドットのイメージデータにして展開し、
このイメージデータを逐次表示装置13に表示し、タブ
レット15上における手書入力文字を、ペン操作に応じ
た肉筆感を加えながら画面出力するように構成される。
(57) [Summary] [Object] An object of the present invention is to write a handwritten character input from a tablet by changing the thickness of the line and the thickness of the line depending on the speed and pressing force of the pen on the operating tablet. An object of the present invention is to provide a handwritten character processing device that can output while giving a feeling. [Structure] A CPU 12, a tablet 15 connected to the CPU 12, a memory 16 including a dot matrix, and a display device 13 are connected to each other, and handwriting characters obtained by pen operation on the tablet 15 are detected by a detected pen operation amount ( Based on the speed and pressing force), the line thickness and density are developed as dot image data on the dot matrix,
This image data is sequentially displayed on the display device 13, and the handwriting input character on the tablet 15 is output on the screen while adding a feeling of handwriting corresponding to the pen operation.

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 processing apparatus, and more particularly to a handwritten character processing apparatus for outputting a character handwritten by externally operating a tablet or the like while adding a feeling of handwriting.

【0002】[0002]

【従来の技術】図13は、従来の手書文字処理装置の概
略構成図である。
2. Description of the Related Art FIG. 13 is a schematic configuration diagram of a conventional handwritten character processing apparatus.

【0003】図において手書文字処理装置は該装置自体
を集中的に管理および制御するためにCPU(中央処理
装置の略)12を含む。CPU12は、外部からデータ
を入力するためのキーボードなどを含む入力装置11、
CRT(陰極線管)を含む表示装置13、該装置におい
て入力され、データ加工された文字データなどを記憶す
るための文章バッファ14、マウス15a、およびマウ
ス15aが外部操作されて得られたイメージデータをス
トアするためのメモリ16を接続する。
In the figure, the handwritten character processing device includes a CPU (abbreviation of central processing unit) 12 for centrally managing and controlling the device itself. The CPU 12 is an input device 11 including a keyboard for inputting data from the outside,
A display device 13 including a CRT (cathode ray tube), a text buffer 14 for storing character data and the like input and processed by the device, a mouse 15a, and image data obtained by externally operating the mouse 15a are displayed. The memory 16 for storing is connected.

【0004】上述した従来の手書文字処理装置において
は、マウス15aを机の上で移動させて線などを描け
ば、このマウスの動きに関するデータは、逐次CPU1
2に与えられる。CPU12は、与えられるデータをマ
ウス15aが移動することによって得られるイメージデ
ータなどを作成するためのアプリケーションプログラム
によりデータ処理し、予め指定された線の太さで、マウ
スの軌跡を、そのまま塗りつぶしてCRTなどの表示装
置13に画像出力していた。
In the conventional handwritten character processing apparatus described above, if the mouse 15a is moved on the desk to draw a line or the like, the data relating to the movement of the mouse is sequentially read by the CPU1.
Given to 2. The CPU 12 processes the given data by an application program for creating image data and the like obtained by moving the mouse 15a, and fills the trace of the mouse as it is with a predetermined line thickness to CRT. An image was output to the display device 13 such as.

【0005】図14は、前掲図13の手書文字処理装置
における操作画面の表示例を示す図である。
FIG. 14 is a diagram showing a display example of an operation screen in the handwritten character processing apparatus of FIG. 13 above.

【0006】図14において、表示装置13に表示され
る操作画面では、机上を任意に移動するマウス15aの
軌跡が指定部13aで指定された太さの線で画面表示さ
れる。言い換えれば、ユーザは、予め指定部13aにお
いて線の太さを指定し、線を引こうとする始点13cに
マウス15aを移動させることによりカーソルを合わせ
て、そこからマウス15aをボタンを押したまま机上を
動かすことによって操作部13bに示されるような線が
予め指定された太さで引かれる。
In FIG. 14, on the operation screen displayed on the display device 13, the locus of the mouse 15a that arbitrarily moves on the desk is displayed on the screen with a line having a thickness designated by the designation unit 13a. In other words, the user previously specifies the thickness of the line in the specification unit 13a, moves the mouse 15a to the starting point 13c where the line is to be drawn, moves the cursor to the starting point 13c, and holds the button of the mouse 15a from there. By moving on the desk, a line as shown on the operation unit 13b is drawn with a predetermined thickness.

【0007】[0007]

【発明が解決しようとする課題】上述したように、従来
の手書文字処理装置では図14に示されるように、マウ
ス15aは机上またはマット上で手動により操作されて
動かされると、応じて表示装置13の操作部13bでカ
ーソルが連動して動くので、操作部13b上における相
対的な位置入力は可能であるが、実際に鉛筆やポールペ
ンで紙の上で文字を書くように手軽に文字を書くことは
困難であるという課題があった。
As described above, in the conventional handwritten character processing apparatus, as shown in FIG. 14, when the mouse 15a is manually operated and moved on the desk or the mat, the mouse 15a is displayed accordingly. Since the cursor moves in conjunction with the operation unit 13b of the device 13, it is possible to input a relative position on the operation unit 13b, but it is easy to write characters on a piece of paper with a pencil or pole pen. There was a problem that it was difficult to write.

【0008】この課題を解決するために、タブレットな
どのペン操作で文字を書くという方法が提供されてき
た。タブレットなどのペン操作では、実際の鉛筆やボー
ルペンで紙の上に文字を書くように、手軽にペンを操作
してタブレット上に所望の文字を書けるので、前述した
マウス15aを用いた場合よりも、操作性に優れるとい
う長所がある。
In order to solve this problem, a method of writing a character by operating a pen such as a tablet has been provided. In pen operation of a tablet or the like, the desired character can be written on the tablet by operating the pen as easily as writing a character on paper with an actual pencil or ballpoint pen, so it is more convenient than using the mouse 15a described above. However, it has the advantage of excellent operability.

【0009】しかしながら、このタブレットなどのペン
操作で文字を書く場合でも、肉筆感を得られないという
問題があった。言い換えれば、実際に、紙の上などに字
を書く場合は、人がペンを動かすスピードやペンを押さ
える圧力によって、文字の線の太さや色の濃さが微妙に
変わってくる。しかし上述したマウスやタブレットで
は、それを動かすスピードや押圧力の変化に追従して、
描かれる線の太さや色の濃さが変化することはなく、常
に一定なので、ユーザが望むような肉筆感のある手書文
字を表現できないという問題があった。
However, there is a problem in that it is not possible to obtain a feeling of handwriting even when writing characters by operating a pen on this tablet or the like. In other words, when actually writing on a piece of paper such as paper, the line thickness and color density of the letters change subtly depending on the speed at which a person moves the pen and the pressure with which the pen is pressed. However, with the above-mentioned mouse and tablet, following the changes in the speed and pressing force to move it,
There is a problem in that the thickness and color density of the drawn line do not change and are always constant, so that it is not possible to express a handwritten character with the sense of handwriting desired by the user.

【0010】それゆえにこの発明の目的は、ユーザがタ
ブレット上にペンを用いて文字などを描く場合に、描か
れる文字についてユーザが所望するような肉筆の感じを
表現できる手書文字処理装置を提供することである。
Therefore, it is an object of the present invention to provide a handwritten character processing apparatus capable of expressing a feeling of a handwriting which a user desires for a drawn character when the user draws a character or the like on a tablet with a pen. It is to be.

【0011】[0011]

【課題を解決するための手段】この発明にかかる手書文
字処理装置は、検出手段と、記憶手段と、速度算出手段
と、太さ決定手段と、濃度決定手段と、データ書込手段
と、さらに出力手段とを備えて構成される。
A handwritten character processing apparatus according to the present invention comprises a detection means, a storage means, a speed calculation means, a thickness determination means, a density determination means, and a data writing means. Further, it comprises an output means.

【0012】検出手段は、文字を含む図形を手書き入力
するために外部操作されるペンを含み、前記ペンの先端
が、その主面に接触することに応じて、前記接触の位置
および前記ペンの押圧力を検出するように構成され、記
憶手段は、この主面と相対的に等しい大きさのドットマ
トリクスを含むように構成される。
The detecting means includes a pen that is externally operated to input a figure including a character by handwriting. When the tip of the pen comes into contact with the main surface of the pen, the position of the contact and the position of the pen. The storage means is configured to detect a pressing force, and the storage means is configured to include a dot matrix having a size relatively equal to that of the main surface.

【0013】速度算出手段は、検出手段が検出する接触
位置を所定期間ごとに入力し、応じてペンの操作速度を
算出するよう構成される。
The speed calculation means is configured to input the contact position detected by the detection means every predetermined period and to calculate the operation speed of the pen accordingly.

【0014】太さ決定手段は、速度算出手段により算出
された操作速度または検出手段が検出する押圧力に基づ
いて前記ペンの軌跡の太さを決定するように構成され、
濃度決定手段は速度算出手段により算出された操作速度
に基づいて前記軌跡の濃度を決定するように構成され
る。
The thickness determining means is configured to determine the thickness of the locus of the pen on the basis of the operation speed calculated by the speed calculating means or the pressing force detected by the detecting means.
The density determining means is configured to determine the density of the locus based on the operation speed calculated by the speed calculating means.

【0015】データ書込手段は検出手段が出力する接触
位置と、太さ決定手段により決定された太さおよび濃度
決定手段により決定された濃度の少なくとも一方とに基
づいて軌跡をイメージデータにし、記憶手段のドットマ
トリクスに書込むように構成され、出力手段は、このデ
ータ書込手段により書込まれたイメージデータを逐次ド
ットマトリクスから読出して出力するように構成され
る。
The data writing means converts the locus into image data based on the contact position output by the detecting means and at least one of the thickness determined by the thickness determining means and the density determined by the density determining means, and stores the image data. The writing means is configured to write in the dot matrix, and the output means is configured to sequentially read out and output the image data written by the data writing means from the dot matrix.

【0016】[0016]

【作用】この発明にかかる手書文字処理装置は、検出手
段のペンが外部操作されて、その主面がペンでなぞられ
たときのペンの軌跡を、検出手段が検出するペンの押圧
力ならびに速度算出手段が算出するペンの操作速度を含
む操作量に基づいて、イメージデータにしてドットマト
リクスにストアしながら、逐次出力手段を介してリアル
タイムに外部出力しているので、出力されるペンの軌跡
は、ペンの操作量に応じて“濃さの変化”および“太さ
の変化”を示すので、紙面上に文字を書く場合と同様し
て肉筆感のある文字を含む図形を得ることができる。
In the handwritten character processing apparatus according to the present invention, the pen of the detecting means is externally operated and the trajectory of the pen when its main surface is traced by the pen is detected by the detecting means. Based on the operation amount including the operation speed of the pen calculated by the speed calculation means, image data is stored in the dot matrix, and externally output in real time through the sequential output means. Indicates "change in darkness" and "change in thickness" according to the amount of operation of the pen, so that a figure including a character with a sense of handwriting can be obtained as in the case of writing a character on the paper. ..

【0017】[0017]

【実施例】以下、この発明の一実施例について図面を参
照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0018】図1は、本発明の一実施例による手書文字
処理装置の概略構成図である。図において手書文字処理
装置20は、該装置自体を集中的に管理および制御する
ためのCPU12を含む。CPU12は、外部からデー
タなどを入力するためのキーボードなどを含む入力装置
11、CRTなどの表示装置13、外部から入力されて
データ処理して得られた文字データなどをストアするた
めの文章バッファ14、外部から、手書文字を入力する
ために設けられるタブレット15およびメモリ16が接
続される。
FIG. 1 is a schematic configuration diagram of a handwritten character processing apparatus according to an embodiment of the present invention. In the figure, handwritten character processing device 20 includes a CPU 12 for centrally managing and controlling the device itself. The CPU 12 includes an input device 11 including a keyboard for inputting data and the like from the outside, a display device 13 such as a CRT, and a text buffer 14 for storing character data and the like input from the outside and obtained by data processing. A tablet 15 and a memory 16 provided to input handwritten characters from the outside are connected.

【0019】CRTを含む表示装置13は、表示画面上
にメニュー画面などを表示し、ユーザにより所望のメニ
ューを選択してもらうために、ライトペンが一体的に設
けられる。ユーザは、画面上のメニューコードを参照
し、所望するメニューをライトペンを用いてピックする
と、応じてピックされた画面上の位置検出が行なわれ
て、この検出信号がCPU12に与えられ、CPU12
は、選択されたメニューコードを確認することができ
る。
The display device 13 including a CRT is integrally provided with a light pen for displaying a menu screen or the like on the display screen so that the user can select a desired menu. When the user refers to the menu code on the screen and picks the desired menu with the light pen, the position of the picked position on the screen is detected, and the detection signal is given to the CPU 12, and the CPU 12
Can check the selected menu code.

【0020】文章バッファ14は、該装置20において
手書きして入力された一連の文字データの集合を、文章
データにして蓄えるためのメモリであり、ここにストア
されたデータは、表示装置13を介して画面出力される
とともに、図示されないがプリンタなどを介して印字出
力されることも可能であり、また外部の記憶媒体である
フレキシブルディスクにデータ転送することも可能であ
る。
The text buffer 14 is a memory for storing a set of a series of character data input by handwriting in the device 20 as text data, and the data stored therein is displayed via the display device 13. In addition to the screen output, it is also possible to print out via a printer or the like (not shown), and it is also possible to transfer data to a flexible disk which is an external storage medium.

【0021】タブレット15についての詳細は後述す
る。メモリ16は、イメージデータを蓄えるためのメモ
リであり、タブレット15におけるデータ入力可能な面
積と相対的に等しい大きさきドットマトリクスを有す
る。
Details of the tablet 15 will be described later. The memory 16 is a memory for storing image data, and has a dot matrix having a size relatively equal to the data input area of the tablet 15.

【0022】図2は、前掲図1に示されたタブレット1
5の構成およびタブレット15とCPU12とのデータ
の入出力関係を説明するための図である。
FIG. 2 shows the tablet 1 shown in FIG. 1 above.
5 is a diagram for explaining the configuration of FIG. 5 and the data input / output relationship between the tablet 15 and the CPU 12. FIG.

【0023】図2においてタブレット15はペン17を
一体的に接続し、ユーザはペン17でタブレット15上
に所望の文字、図形をなぞっていくことによって、文字
データ、図形データを容易にCPU12に入力すること
ができる。
In FIG. 2, the tablet 15 is integrally connected to the pen 17, and the user traces a desired character or figure on the tablet 15 with the pen 17 to easily input character data or figure data to the CPU 12. can do.

【0024】ペン17は、その内部にペン17の軸方向
の圧力を検知する圧電素子を有し、ユーザがペン17を
タブレット15に押圧することにより、この圧電素子は
押圧力を検知し、タブレット15経由でCPU12に圧
力信号T3を出力する。また、タブレット15における
ペン17の位置は、いわゆるタブレット15上の原点を
基準にしたペン17による入力点の座標を、一般に知ら
れている電磁誘導方法、静電方式などによって検出して
いる。これらによる位置検出信号は座標信号T2にして
CPU12に与えられる。
The pen 17 has a piezoelectric element for detecting the pressure in the axial direction of the pen 17, and when the user presses the pen 17 against the tablet 15, the piezoelectric element detects the pressing force and the tablet is pressed. The pressure signal T3 is output to the CPU 12 via 15. The position of the pen 17 on the tablet 15 is obtained by detecting the coordinates of the input point of the pen 17 based on the so-called origin on the tablet 15 by a generally known electromagnetic induction method, electrostatic method, or the like. The position detection signal based on these signals is given to the CPU 12 as a coordinate signal T2.

【0025】また、ペン17はCPU12にペンスイッ
チ信号T1を出力する。CPU12は信号T1が入力さ
れると、応じてこれを外部割り込み信号として信号処理
する。ペンスイッチ信号T1はペン17に内蔵される圧
電素子の出力が有るとき能動化される信号である。
The pen 17 also outputs a pen switch signal T1 to the CPU 12. When the signal T1 is input, the CPU 12 processes it as an external interrupt signal. The pen switch signal T1 is a signal that is activated when there is an output of the piezoelectric element incorporated in the pen 17.

【0026】図示されるように、ユーザはペン17をタ
ブレット15上の線を引きたい始点におき、そこからペ
ン17を動かすことによって、逐次信号T1ないしT3
がCPU12に与えられる。これにより、CPU12は
メモリ16の対応するドットマトリクス上のドットをオ
ンする。このようにしてドット単位でオンとオフがスト
アされたドットマトリクスがタブレット15上で手書入
力された文字のイメージデータとしてメモリ16にスト
アされる。CPU12がメモリ16のドットマトリクス
を、適宜表示装置13に表示するよう制御することによ
って、ユーザはペン17を操作しながら表示装置13が
表示する画面で描いた文字を確認することができる。
As shown, the user places the pen 17 at the starting point on the tablet 15 where he wants to draw a line, and then moves the pen 17 from there to generate successive signals T1 through T3.
Are given to the CPU 12. As a result, the CPU 12 turns on the dots on the corresponding dot matrix of the memory 16. In this way, the dot matrix in which ON and OFF are stored in dot units is stored in the memory 16 as image data of characters manually input on the tablet 15. By controlling the CPU 12 to display the dot matrix of the memory 16 on the display device 13 as appropriate, the user can confirm the characters drawn on the screen displayed by the display device 13 while operating the pen 17.

【0027】ユーザは文字入力を終了しようとすると
き、ペン17をタブレット15から離し、ペン17とタ
ブレット15を非接触状態にする。
When the user wants to finish the character input, the pen 17 is separated from the tablet 15 to bring the pen 17 and the tablet 15 into a non-contact state.

【0028】ペン17がタブレット15上で接触状態に
なったことは、ペン17がタブレット15に接触したと
き、ペンスイッチ信号T1がCPU12に外部割り込み
をかけることで判明する。
The fact that the pen 17 has come into contact with the tablet 15 is revealed by the pen switch signal T1 which externally interrupts the CPU 12 when the pen 17 contacts the tablet 15.

【0029】ペン17がタブレット15上を接触しなが
ら動いている期間は、CPU12は一定時間ごと(たと
えば、0.1sec)ごとに内部割り込みをかけて、座
標信号T2を入力しペン17のタブレット15上におけ
る現在位置(座標)を得る。このとき、メモリ16のド
ットマトリクスデータがリアルタイムに更新され、応じ
て表示装置13の画面上の表示データが更新される。
While the pen 17 is in contact with the tablet 15 and is moving, the CPU 12 makes an internal interrupt at regular intervals (for example, 0.1 sec) and inputs the coordinate signal T2 to input the coordinate signal T2. Get the current position (coordinates) on the top. At this time, the dot matrix data of the memory 16 is updated in real time, and the display data on the screen of the display device 13 is updated accordingly.

【0030】ユーザがペン17をタブレット15から離
し文字入力を終了しようとすると、応じてペン17の圧
電素子出力レベルはペンスイッチ信号T1を不能化し、
応じてCPU12はペン17による手書文字入力が終了
(一時停止)したことを認識する。
When the user releases the pen 17 from the tablet 15 to end the character input, the piezoelectric element output level of the pen 17 disables the pen switch signal T1 accordingly,
In response, the CPU 12 recognizes that the handwriting character input by the pen 17 has ended (temporarily stopped).

【0031】図3は、前掲図2に示されたタブレット上
のペン操作量の初期値を設定した場合の表示画面の一例
を示す図である。
FIG. 3 is a diagram showing an example of a display screen when the initial value of the pen operation amount on the tablet shown in FIG. 2 is set.

【0032】図3に示されるように、この場合は手書文
字の線の基本の太さは0.5mm、ペン17のスピード
比率は1と初期設定された場合に得られる表示画面であ
る。なお、スピード比率に代えてペン17の圧力比率を
設定することもできる。この線の基本の太さおよびスピ
ード比率(圧力比率)はユーザがキーボードを含む入力
装置11からデータ入力して設定することもでき、また
表示装置13上にメニュー画面を表示させて、ユーザが
画面上をライトペンを用いてピックすることにより、所
望する基本の線の太さおよびスピード比率(圧力比率)
をCPU12に与えるようにしてもよい。
As shown in FIG. 3, in this case, the basic thickness of the handwritten character line is 0.5 mm, and the speed ratio of the pen 17 is 1, which is the display screen obtained when the initial setting is made. The pressure ratio of the pen 17 can be set instead of the speed ratio. The basic thickness and speed ratio (pressure ratio) of this line can be set by the user by inputting data from the input device 11 including a keyboard, and by displaying a menu screen on the display device 13, the user can display the screen. By picking the top with a light pen, the desired basic line thickness and speed ratio (pressure ratio)
May be given to the CPU 12.

【0033】図3に示されるようにユーザがこれから入
力しようとする手書文字の基本の線の太さおよびペン1
7のスピード比率(圧力比率)を予め初期設定すると、
これらのデータを基準にしてこれから入力される手書文
字についてのイメージデータ処理が行なわれる。
As shown in FIG. 3, the basic line thickness of the handwritten character which the user is about to enter and the pen 1
If you set the speed ratio (pressure ratio) of 7 in advance,
Based on these data, image data processing for handwritten characters to be inputted is performed.

【0034】図4(a)および(b)は、本発明の一実
施例によるペン操作時のスピードおよび圧力と手書文字
の線の太さの関係をグラフにして表わす図である。
FIGS. 4A and 4B are graphs showing the relationship between the speed and pressure during pen operation and the line thickness of handwritten characters according to an embodiment of the present invention.

【0035】図4(a)は縦軸に描かれる文字の線の太
さがとられ、横軸にペンの操作スピードがとられる。図
4(b)は、縦軸に文字の線の太さがとられ、横軸には
ペンの操作量である押圧力がとられる。いずれも、文字
の線の太さの初期設定値が大きいほど、グラフの傾斜は
大きくなり、言い換えれば、ペンの操作スピード(圧
力)の変化に追従して文字の線の太さの変化が激しいこ
とを表わしている。
In FIG. 4A, the line thickness of the character drawn on the vertical axis is taken, and the operation speed of the pen is taken on the horizontal axis. In FIG. 4B, the vertical axis represents the thickness of the character line, and the horizontal axis represents the pressing force that is the operation amount of the pen. In both cases, the larger the initial setting of the line thickness of the character, the greater the inclination of the graph. In other words, the change in the line thickness of the character is more rapid following the change in the operation speed (pressure) of the pen. It means that.

【0036】図5は、本発明の一実施例による線の基本
の太さとペンの操作スピードより手書文字の線の太さを
決定するためのテーブルを示す図である。
FIG. 5 is a diagram showing a table for determining the line thickness of a handwritten character from the basic line thickness and the pen operation speed according to an embodiment of the present invention.

【0037】図6は、本発明の一実施例による線の基本
の太さとペンの操作押圧力より手書文字の線の太さを決
定するためのテーブルを示す図である。
FIG. 6 is a diagram showing a table for determining the line thickness of a handwritten character from the basic line thickness and the pen pressing force according to an embodiment of the present invention.

【0038】図5および図6に示されるテーブルTB1
およびTB2は、それぞれCPU12の図示されない内
部メモリにストアされ、CPU12自身によって適宜ア
クセスされる。たとえば、前掲図3に示されるように基
本の線の太さ0.5mm(基準太さ1)およびスピード
比率1(遅い)が初期設定されたとき、図5のテーブル
TB1をCPU12はアクセスし、これから描かれる手
書文字の線の太さを4ドットと特定する。その後、ユー
ザがペン17を操作してそのスピードが2(標準)に上
昇すると、図4(a)に示されるように線の太さは細く
するように、CPU12はテーブルTB1をアクセス
し、描かれる手書文字の線の太さを3ドットに変更す
る。さらにスピードが速くなり3(速い)に上昇する
と、応じてCPU12は文字の太さを2ドットに変化さ
せる。これにより、通常のボールペンなどで紙の上に文
字を書く場合と同様にして、ペン17を速く動かせば動
かすほど手書文字される文字の線の太さが細くなるよう
に設定データの逐次変更が行なわれる。
Table TB1 shown in FIGS. 5 and 6
And TB2 are respectively stored in an internal memory (not shown) of the CPU 12 and appropriately accessed by the CPU 12 itself. For example, when the basic line thickness of 0.5 mm (reference thickness 1) and the speed ratio 1 (slow) are initialized as shown in FIG. 3, the CPU 12 accesses the table TB1 of FIG. The line thickness of handwritten characters to be drawn from now on is specified as 4 dots. After that, when the user operates the pen 17 to increase the speed to 2 (standard), the CPU 12 accesses the table TB1 so that the line thickness is thinned as shown in FIG. Change the line thickness of handwritten characters to 3 dots. When the speed further increases and rises to 3 (fast), the CPU 12 accordingly changes the character thickness to 2 dots. As a result, in the same way as when writing characters on paper with a normal ballpoint pen, etc., the setting data is changed sequentially so that the faster the pen 17 is moved, the thinner the line thickness of the handwritten character becomes. Is performed.

【0039】同様にして、ペン17の操作押圧力に関し
てもテーブルTB2に示されるように、CPU12は逐
次ペン17の押圧力を検知し、その変化に追従して描か
れる手書文字の線の太さを変化させるようにテーブルT
B2をアクセスする。したがって、通常ボールペンなど
を用いて紙の上で文字を書く場合と同様にして、図4
(b)に示されるようにペンを軽く押さえれば押さえる
ほど手書文字の線の太さは細くなり、逆にペンを強く押
さえれば押さえるほど文字の線の太さは太くなるという
ようなデータの変更が容易に可能となる。
Similarly, as to the operation pressing force of the pen 17, the CPU 12 successively detects the pressing force of the pen 17 as shown in the table TB2, and the thick line of the handwritten character drawn following the change. Table T to change the height
Access B2. Therefore, in the same manner as when writing characters on paper using a ballpoint pen or the like, as shown in FIG.
As shown in (b), the lighter the pen is, the thinner the line width of the handwritten character becomes. On the contrary, the harder the pen is, the thicker the line of the character becomes. Changes can be made easily.

【0040】図7は、本発明の一実施例による手書文字
の線の太さとペン操作量の初期値入力のための処理フロ
ー図である。
FIG. 7 is a process flow diagram for inputting initial values of handwriting character line thickness and pen operation amount according to an embodiment of the present invention.

【0041】図示される処理フローは、予めプログラム
としてCPU12の内部メモリにストアされる。そして
このプログラムの実行はCPU12の制御の下に行なわ
れる。
The process flow shown in the figure is stored as a program in the internal memory of the CPU 12 in advance. The execution of this program is performed under the control of the CPU 12.

【0042】図7のステップS1(図中、S1と略す)
において、CPU12はまず、ユーザが選択した基準の
線の太さを特定するためのデータを入力する。その後、
次ステップS2の処理に移行し、ユーザが選択したペン
17の操作量であるスピード(押圧力)の基準値を入力
する。この入力された値は、いずれもCPU12の内部
レジスタに一時的にストアされる。また、ユーザの所望
に応じて、これら初期設定値を前掲図3に示されたよう
にして画面表示する。
Step S1 in FIG. 7 (abbreviated as S1 in the figure)
In, the CPU 12 first inputs data for specifying the thickness of the reference line selected by the user. afterwards,
The process proceeds to the next step S2, and the reference value of the speed (pressing force) which is the operation amount of the pen 17 selected by the user is input. Each of the input values is temporarily stored in the internal register of the CPU 12. Also, these initial setting values are displayed on the screen as shown in FIG. 3 above according to the user's desire.

【0043】CPU12は、この初期設定された基準の
線の太さおよび基準のスピード(押圧力)に関するデー
タに基づいて予め内部にストアされたテーブルTB1ま
たはテーブルTB2をアクセスし、これから描かれるべ
き手書文字の太さ(ドット単位)を特定する。
The CPU 12 accesses the table TB1 or the table TB2 stored in advance on the basis of the data regarding the initially set reference line thickness and the reference speed (pressing force), and the hand to be drawn from now on. Specifies the thickness (in dots) of calligraphy characters.

【0044】図8は、本発明の一実施例によるペンの操
作スピードに追従して手書文字の線の太さを変更するた
めの処理フロー図である。
FIG. 8 is a processing flow chart for changing the line thickness of the handwritten character in accordance with the operation speed of the pen according to the embodiment of the present invention.

【0045】この処理フローは、予めプログラムとして
CPU12の内部メモリにストアされるとともに、CP
U12の制御の下に実行される。
This processing flow is stored as a program in the internal memory of the CPU 12 in advance, and the CP
It is executed under the control of U12.

【0046】また、この処理フローはCPU12の内部
割り込み(一定時間ごと:0.1secごと)に応じて
実行開始される。
Further, this processing flow is started in response to an internal interrupt of the CPU 12 (every fixed time: every 0.1 sec).

【0047】まずCPU12はステップS11の処理に
おいて現在ペン17がタブレット15上に接触されてい
るか否かを、ペンスイッチ信号T1の信号入力により判
定する。そのとき信号T1が入力されていなければ、ペ
ン17はタブレット15と非接触状態にあるので以降の
処理は行なわれず再びステップS11の処理に戻る。
First, the CPU 12 determines whether or not the pen 17 is currently in contact with the tablet 15 in the process of step S11 by inputting the pen switch signal T1. If the signal T1 is not input at that time, the pen 17 is in a non-contact state with the tablet 15, so that the subsequent processing is not performed and the processing returns to the processing of step S11.

【0048】ステップS11の処理において、信号T1
の入力がありペン17がタブレット15と接触状態にあ
ることが確認されると応じて次のステップS12の処理
においてCPU12は座標信号T2を入力しペン17の
タブレット15上における座標を入力する。この座標値
は一時内部レジスタにストアされる。その後次のステッ
プS13の処理において、ペン17は連続してタブレッ
ト15と接触状態にあるか否か、すなわち文字入力状態
にあるか否かが判定される。この判定はCPU12が予
め内部レジスタにストアした前回の接触状態データと今
回の接触状態データとを比較し連続して接触ON状態で
なければペン17が動いていない状態なので、処理は再
びステップS11に戻る。
In the processing of step S11, the signal T1
When it is confirmed that the pen 17 is in contact with the tablet 15, the CPU 12 inputs the coordinate signal T2 and the coordinates of the pen 17 on the tablet 15 in the process of the next step S12. This coordinate value is temporarily stored in an internal register. After that, in the processing of the next step S13, it is determined whether or not the pen 17 is continuously in contact with the tablet 15, that is, whether or not the pen 17 is in a character input state. In this determination, the CPU 12 compares the previous contact state data stored in advance in the internal register with the present contact state data, and the pen 17 is not moving unless the contact is continuously ON. Therefore, the process returns to step S11. Return.

【0049】ステップS13の処理においてペン17が
動いており手書文字入力状態にあることが判断されると
ステップS14以降の処理が実行される。
When it is determined in the process of step S13 that the pen 17 is moving and the handwritten character is being input, the processes of step S14 and thereafter are executed.

【0050】ステップS14およびS15の処理におい
ては、ペン17の手書文字入力における操作スピードが
算出される。すなわち、CPU12は予め内部レジスタ
にストアした前回の入力座標値と今回の入力座標値との
差をとり、その差を前述の一定時間(0.1sec)で
除算することによりペン17のスピードを算出する。
In the processes of steps S14 and S15, the operation speed of the handwriting input of the pen 17 is calculated. That is, the CPU 12 calculates the speed of the pen 17 by taking the difference between the previous input coordinate value stored in the internal register in advance and the current input coordinate value, and dividing the difference by the above-mentioned constant time (0.1 sec). To do.

【0051】ステップS16の処理においては、算出さ
れたペン17のスピードに基づいてCPU12はテーブ
ルTB1をアクセスし、該当する太さ(ドット)で前回
の座標と今回の座標との間に線を引く。詳細にはCPU
12はメモリ16のドットマトリクスをアクセスし、マ
トリクス上の前回の入力座標と今回の入力座標に該当す
る2点間を、テーブルTB1をアクセスして得られた太
さ(ドット)の線で塗りつぶすように、対応するマトリ
クス上のドットをON設定する。これにより、表示装置
13の表示画面にも対応する2点間にそのペンスピード
に応じた太さの線が引かれることになる。
In the processing of step S16, the CPU 12 accesses the table TB1 based on the calculated speed of the pen 17 and draws a line between the previous coordinate and the current coordinate with a corresponding thickness (dot). .. CPU in detail
12 accesses the dot matrix of the memory 16, and fills between the two points corresponding to the previous input coordinate and the current input coordinate on the matrix with the line of the thickness (dot) obtained by accessing the table TB1. Then, the dot on the corresponding matrix is set to ON. As a result, a line having a thickness corresponding to the pen speed is drawn between the two points corresponding to the display screen of the display device 13.

【0052】前述のステップS13においてペン17が
連続して接触ON状態にないと判別されれば、スピード
の算出および算出されたスピードに基づく線の太さの変
更は行なわれないので、この場合は前回の線の太さが保
持される。また、前回の入力座標がレジスタに保持され
ていなければ、今回の入力座標が手書文字入力のための
開始点となる。
If it is determined in step S13 that the pen 17 is not continuously in the contact ON state, the speed is not calculated and the thickness of the line is not changed based on the calculated speed. The previous line thickness is retained. If the previous input coordinates are not held in the register, the current input coordinates will be the starting point for handwritten character input.

【0053】図9は、本発明の一実施例によるペンの操
作押圧力の変化に追従して手書文字の線の太さをを変更
するための処理フロー図である。
FIG. 9 is a processing flow chart for changing the line thickness of handwritten characters in accordance with the change in the pen pressing force according to the embodiment of the present invention.

【0054】この処理フローは、予めプログラムとして
CPU12の内部メモリにストアされ、CPU12の制
御の下に実行される。また、この処理フローは一定時間
ごと(0.1secごと)にCPU12の内部割り込み
により実行開始される。
This processing flow is stored as a program in the internal memory of the CPU 12 in advance and is executed under the control of the CPU 12. Further, this processing flow is started by an internal interrupt of the CPU 12 at regular time intervals (every 0.1 seconds).

【0055】ステップS21の処理においては、CPU
12はペンスイッチ信号T1を入力し、応じてペン17
がタブレット15と接触状態にあるか否かを判断する。
このとき非接触状態であれば以降の処理を行なわれず再
びステップS21の処理が行なわれる。
In the processing of step S21, the CPU
12 receives the pen switch signal T1 and responds to the pen 17
Determines whether is in contact with the tablet 15.
At this time, in the non-contact state, the subsequent processing is not performed and the processing of step S21 is performed again.

【0056】ペン17がタブレット15と接触状態にあ
り手書文字入力可能な状態にあることが判断されると、
ステップS22の処理においてCPU12は座標信号T
2を入力し、現在のペン17の座標を入力する。この入
力座標はCPU12の内部レジスタに一時的に格納され
る。
When it is determined that the pen 17 is in contact with the tablet 15 and is ready for handwritten character input,
In the process of step S22, the CPU 12 causes the coordinate signal T
2 is input, and the current coordinates of the pen 17 are input. This input coordinate is temporarily stored in the internal register of the CPU 12.

【0057】その後、CPU12はステップS23の処
理に移行しペン17が連続して接触状態にあるか否かを
判断する。CPU12はペン17はタブレット15上で
連続して接触状態にないことを判断すると、応じて再び
ステップS21の処理に移行する。
After that, the CPU 12 shifts to the processing of step S23 and determines whether or not the pen 17 is continuously in contact. When the CPU 12 determines that the pen 17 is not in contact with the tablet 15 continuously, the CPU 12 accordingly shifts to the process of step S21.

【0058】ステップS23の処理においてペン17が
連続して接触状態にあり、ペン17が操作されて手書文
字入力中であることを判断すると、ステップS24の処
理が行なわれ、CPU12は圧力信号T3に基づいて現
在のペン17の押圧力を検出する。
When it is determined in the process of step S23 that the pen 17 is continuously in contact with the pen 17 and the pen 17 is operated to input handwritten characters, the process of step S24 is performed, and the CPU 12 causes the pressure signal T3. The current pressing force of the pen 17 is detected based on

【0059】その後、ステップS25の処理においてC
PU12は検出された圧力に対応する太さで前回の座標
と今回の座標との間に線を引くよう処理する。詳細に
み、CPU12は検出された圧力に基づいてテーブルT
B2をアクセスし、該当の太さ(ドット)を読出す。C
PU12は読出されたドット幅に基づいてメモリ16の
ドットマトリクスをアクセスし、マトリクス上の対応す
る前回の座標と今回の座標との間の線を塗りつぶすよう
に、対応するドットをオン設定する。これによりメモリ
16のドットマトリクス上には現在までの手書文字のイ
メージデータがストアされるとともに、CPU12によ
りこのイメージデータは逐次表示装置13に画面表示さ
れてユーザにペン17操作に追従して現在の手書文字を
画面表示することになる。
Then, in the processing of step S25, C
The PU 12 performs processing so as to draw a line between the previous coordinate and the current coordinate with the thickness corresponding to the detected pressure. In detail, the CPU 12 determines the table T based on the detected pressure.
B2 is accessed and the corresponding thickness (dot) is read. C
The PU 12 accesses the dot matrix of the memory 16 based on the read dot width, and turns on the corresponding dot so as to fill the line between the corresponding previous coordinate and the present coordinate on the matrix. As a result, the image data of the handwritten character up to the present is stored in the dot matrix of the memory 16, and the image data is successively displayed on the display device 13 by the CPU 12 so that the user can follow the operation of the pen 17 at the present time. Will be displayed on the screen.

【0060】なお、ステップS23の処理においてペン
17は連続して検出状態になくペン17がタブレット1
5上の一点で停止し、手書文字入力が中断もしくは、開
始時であれば、検出圧力に基づく文字の太さの変更処理
は行なわれない。また、ステップS23の処理において
今回の信号T1入力が手書文字の開始によるものと判断
された場合は、予めユーザにより初期設定された基本の
線の太さで手書文字が書かれることになる。
It should be noted that in the process of step S23, the pen 17 is not in the detection state continuously, and the pen 17 does not detect the tablet 1.
If the handwriting character input is interrupted or started at one point on 5, the processing for changing the character thickness based on the detected pressure is not performed. If it is determined in step S23 that the input of the signal T1 this time is due to the start of the handwritten character, the handwritten character is written with the basic line thickness initialized by the user in advance. ..

【0061】図10は、本発明の一実施例によるペンの
操作スピードの変化に追従して手書文字の線の太さを変
更し、かつペンの操作押圧力の変化に追従して手書文字
の線の濃さを変更するための処理フロー図である。
FIG. 10 shows that the handwriting character line thickness is changed in accordance with the change in the pen operation speed according to one embodiment of the present invention, and the handwriting is performed in accordance with the change in the pen operation pressing force. It is a processing flow figure for changing the line density of a character.

【0062】この処理フローは予めプログラムとしてC
PU12の内部メモリにストアされるとともに、CPU
12の制御の下に実行される。また、この処理フロー
は、一定時間ごと(0.1secごと)にCPU12の
内部割り込みに応じて実行開始される。
This processing flow is C as a program in advance.
The CPU is stored in the internal memory of the PU 12 and
It is executed under the control of 12. Further, this processing flow is started at regular intervals (every 0.1 seconds) in response to an internal interrupt of the CPU 12.

【0063】ステップS31の処理におていCPU12
はペンスイッチ信号T1の入力の有無を検知し、ペン1
7がタブレット15と接触状態にあり手書文字入力可能
状態にあるか否かを判断している。このときペン17が
タブレット15と非接触状態にあることが確認されると
以降の処理は行なわれず再びステップS31の処理が実
行される。
In the processing of step S31, the CPU 12
Detects whether or not the pen switch signal T1 is input,
It is determined whether or not 7 is in contact with the tablet 15 and is ready for handwritten character input. At this time, if it is confirmed that the pen 17 is not in contact with the tablet 15, the subsequent processing is not performed and the processing of step S31 is performed again.

【0064】ステップS31の処理においてペン17が
タブレット15と接触状態にあり、手書文字入力可能状
態にあることか確認されると、応じてステップS32以
降の処理が実行される。ステップS32の処理において
は、CPU12は座標信号T2を入力し、ペン17のタ
ブレット15における現在の座標を入力する。この入力
座標は、CPU12内部のレジスタに一時的にストアさ
れる。
When it is confirmed in the process of step S31 that the pen 17 is in contact with the tablet 15 and the handwritten character can be input, the processes of step S32 and thereafter are executed accordingly. In the process of step S32, the CPU 12 inputs the coordinate signal T2 and the current coordinates of the pen 17 on the tablet 15. This input coordinate is temporarily stored in a register inside the CPU 12.

【0065】次のステップS33の処理において、CP
U12はペン17がタブレット15上で手書文字入力中
にあるか否かを判断している。詳細には、CPU12は
ペン17が連続して接触状態にあるか否かを判断してい
る。このときペン17が連続して接触状態にないと判断
した場合は、再びステップS31の処理に移行する。
In the next step S33, the CP
U12 determines whether or not the pen 17 is inputting handwritten characters on the tablet 15. Specifically, the CPU 12 determines whether or not the pen 17 is continuously in contact. At this time, if it is determined that the pen 17 is not continuously in contact with the pen 17, the process proceeds to step S31 again.

【0066】ステップS33の処理において、ペン17
が操作されて連続して検出状態にあり手書文字入力中で
あることが判断されると、ステップS34およびステッ
プS35の処理において、前回の入力座標値と今回の入
力座標値との差を算出し、この得られた差を前述の一定
時間(0.1sec)で除算しペン17の操作スピード
を算出する。この算出されたスピードはCPU12の内
部レジスタに一時的にストアされる。
In the process of step S33, the pen 17
Is determined to be in the detection state continuously and the handwriting character is being input, the difference between the previous input coordinate value and the current input coordinate value is calculated in the processes of step S34 and step S35. Then, the obtained difference is divided by the aforementioned constant time (0.1 sec) to calculate the operation speed of the pen 17. The calculated speed is temporarily stored in the internal register of the CPU 12.

【0067】ステップS36の処理において、CPU1
2は与えられる圧力信号T3に基づいてペン17操作に
おける押圧力を検出し、検出された圧力を一時的に内部
レジスタにストアする。
In the process of step S36, the CPU1
2 detects the pressing force by the operation of the pen 17 based on the applied pressure signal T3, and temporarily stores the detected pressure in the internal register.

【0068】次のステップ37の処理において、CPU
12は前回の座標と今回の座標との間にペン17の操作
量に応じた太さおよび濃さを有する線を引くよう処理す
る。詳細には、CPU12は前述のステップS35およ
びS36で算出されて一時的に内部レジスタにストアさ
れたペン17の操作スピードおよび押圧力に基づいて前
回の座標と今回の座標間に対応する動作でかつ濃さを有
する線を引く。線の太さは、検出された押圧力に基づい
てテーブルTB2をアクセスし、該当するドットを読取
ることにより決定される。また線の濃さはドットの間引
きの度合いで実現する。
In the next step 37, the CPU
12 performs processing so as to draw a line having a thickness and a darkness corresponding to the operation amount of the pen 17 between the previous coordinate and the current coordinate. Specifically, the CPU 12 performs an operation corresponding to the previous coordinate and the current coordinate based on the operation speed and the pressing force of the pen 17 calculated in steps S35 and S36 and temporarily stored in the internal register. Draw a line with the thickness. The thickness of the line is determined by accessing the table TB2 based on the detected pressing force and reading the corresponding dot. The line density is realized by the degree of dot thinning.

【0069】このドットの間引きは、前回のペン17の
スピードよりも遅ければドットを追加して濃くし、速け
れば掠れを表わすためにドットを間引きするようにして
濃さの変化を実現する。このように決定される太さおよ
び濃さを有する線は、メモリ16のドットマトリクス上
の該当する2点間を結ぶ線を対応する太さで、かつ対応
する濃淡度合いでドットを塗りつぶすことにより、ペン
17の操作に追従した手書文字のイメージデータが作成
される。この作成されたイメージデータは、逐次表示装
置13に画面表示されるので、ユーザは、ペン17を操
作しながら、画面表示される手書文字を確認しながら、
操作の度合い(スピードおよび押圧力)を所望するよう
に変化させることができる。
The thinning of dots is performed by adding dots if the speed of the pen 17 is slower than the previous speed, and thinning the dots to represent blurring when the speed is high, thereby realizing a change in darkness. The line having the thickness and the darkness thus determined is formed by filling the dots with the corresponding thickness of the line connecting the corresponding two points on the dot matrix of the memory 16 and the corresponding shade level. Image data of handwritten characters following the operation of the pen 17 is created. Since the created image data is sequentially displayed on the screen of the display device 13, the user operates the pen 17 while checking the handwritten characters displayed on the screen,
The degree of operation (speed and pressing force) can be changed as desired.

【0070】以上のように前掲図10の処理フローに従
えば、筆などを用いて紙に文字を書くとき、筆を速く動
かせば文字は掠れるという状態を実現でき、また筆を強
く押さえれば文字が太くなるという状態を実現すること
ができる。
As described above, according to the processing flow of FIG. 10 above, when writing a character on a paper with a brush or the like, it is possible to realize a state in which the character is blurred by moving the brush quickly, and if the brush is strongly pressed. It is possible to realize a state in which characters are thick.

【0071】図11は、本発明の一実施例によるペンの
操作量の変位を逐次補正しながら、手書文字を滑らかに
出力するための処理フロー図である。
FIG. 11 is a processing flow chart for smoothly outputting handwritten characters while sequentially correcting the displacement of the operation amount of the pen according to an embodiment of the present invention.

【0072】図12(a)ないし(c)は、前掲図11
の処理フローを実行することにより得られる補正後の出
力文字の太さを補正前の出力文字の太さと比較するため
の図である。
FIGS. 12A to 12C are shown in FIG.
It is a figure for comparing the thickness of the output character after correction obtained by performing the processing flow of above with the thickness of the output character before correction.

【0073】図11に示される処理フローは、予めプロ
グラムとしてCPU12の内部メモリにストアされると
ともに、CPU12の制御の下に実行される。
The processing flow shown in FIG. 11 is stored as a program in the internal memory of the CPU 12 in advance and is executed under the control of the CPU 12.

【0074】また図11に示される処理フロープログラ
ムは、ユーザの外部入力によりペンの操作量の逐次補正
を要求するデータが与えられたことにより、実行可能状
態となる。
Further, the processing flow program shown in FIG. 11 becomes ready for execution when data for requesting the sequential correction of the operation amount of the pen is given by an external input from the user.

【0075】一般に、線(第1の線と呼ぶ)と線(第2
の線と呼ぶ)をつなぐような処理をする場合、第2線の
始点と終点である2点間の間隔が狭い場合は第1の線と
の太さおよび濃さの違いは目立つことがない。したがっ
て、第2の線の始点と終点の2点間で処理をして第1の
線と第2の線との違いを気にすることなく両線をつなぐ
ことができる。
In general, a line (called the first line) and a line (the second line)
When the processing is performed to connect the two lines), the difference in thickness and darkness from the first line is not noticeable if the distance between the two points that are the start and end points of the second line is narrow. .. Therefore, it is possible to connect the two lines by processing between the start point and the end point of the second line without worrying about the difference between the first line and the second line.

【0076】しかしながら、第2の線の始点と終点との
間にかなりの距離があり、この2点間だけで線の太さが
第1の線のそれとは大きく変わると、前後の線とのつな
ぎ具合が極端に不自然となるので、このような不自然さ
を解消するためには第2の線の太さ(または濃さ)を第
1の線の太さ(または濃さ)から連続的に変化するよう
に補正処理すればこの2つの線のつなぎは滑らかになり
極めて自然な状態となる。この補正に関して以下に説明
する。
However, there is a considerable distance between the starting point and the ending point of the second line, and if the thickness of the line changes greatly from that of the first line only between these two points, it becomes Since the connection condition is extremely unnatural, in order to eliminate such unnaturalness, the thickness (or darkness) of the second line is continued from the thickness (or darkness) of the first line. If the correction processing is performed so that the two lines change, the connection between these two lines becomes smooth and becomes an extremely natural state. This correction will be described below.

【0077】この補正には処理時間が必要とされるため
に、直前の座標値との距離や、直前に引かれた線との太
さ(濃さ)の差により補正するかどうかを任意に選択し
て、キーボードなどの入力装置11からキー入力して補
正の要求をするか、または表示装置13のメニュー画面
に示される該当データをピックして、補正の要求を与え
るようにしてもよい。これら補正の要求は、速やかにC
PU12に与えられる。
Since processing time is required for this correction, whether or not to correct is arbitrarily determined based on the distance from the immediately preceding coordinate value and the difference in thickness (darkness) from the line drawn immediately before. It is also possible to select and make a key input from the input device 11 such as a keyboard to request the correction, or to pick the corresponding data displayed on the menu screen of the display device 13 to give the correction request. Requests for these corrections are prompt
It is given to the PU 12.

【0078】CPU12は、前述したように入力装置1
1もしくは表示装置13から補正の要求が与えられる
と、応じて図11に示される処理フローのプログラムを
実行可能状態に設定する。
The CPU 12 uses the input device 1 as described above.
1 or when a correction request is given from the display device 13, the program of the processing flow shown in FIG. 11 is set to an executable state accordingly.

【0079】まずCPU12は内部タイマの一定時間ご
と(0.1secごと)にかかる内部割り込みに応じて
ステップS41以降の処理を実行開始する。
First, the CPU 12 starts execution of the processing from step S41 onward in response to an internal interrupt taken by the internal timer at regular time intervals (every 0.1 seconds).

【0080】ステップS41の処理において、CPU1
2は前回与えられた入力座標が予め内部レジスタにスト
アされているかどうかを確認する。このとき、前回デー
タがストアしてなければ、この補正処理は行なわれず終
了する。
In the processing of step S41, the CPU1
2 confirms whether the input coordinates given last time are stored in the internal register in advance. At this time, if the previous data has not been stored, this correction process is not performed and the process ends.

【0081】ステップS41の処理に戻り、前回の入力
座標データが予めレジスタにストアされていれば、応じ
て次のステップS42以降の処理を実行開始する。
Returning to the processing of step S41, if the previous input coordinate data is stored in the register in advance, the processing of the next step S42 and thereafter is started to be executed accordingly.

【0082】ステップS42の処理においては今回のデ
ータを内部レジスタに取込む。すなわち、ペン17の操
作によって得られる座標信号T2および圧力信号T3を
入力し、応じて今回の入力座標およびペン17の押圧力
を内部レジスタにストアする。
In the processing of step S42, the current data is fetched in the internal register. That is, the coordinate signal T2 and the pressure signal T3 obtained by the operation of the pen 17 are input, and accordingly, the present input coordinate and the pressing force of the pen 17 are stored in the internal register.

【0083】その後、次のステップS43の処理におい
て、直前に得られたデータ、すなわち直前に得られたペ
ン17の入力座標および押圧力を、それが予めストアさ
れたレジスタから取込み、ステップS44の処理に移行
する。
Then, in the processing of the next step S43, the data obtained immediately before, that is, the input coordinates and the pressing force of the pen 17 obtained immediately before are fetched from the register in which they are stored in advance, and the processing of step S44. Move to.

【0084】ステップS44の処理においては、補正処
理が行なわれる。すなわち、前述したようにしてペン1
7の操作スピードを求めるとともに、押圧力を求める。
そして求められたスピードと押圧力により、前述したテ
ーブルTB1およびTB2をアクセスし、文字の太さを
決定する。また押圧力に従って、文字の濃さを決定す
る。このようにして得られた今回の太さおよび濃さと前
回に得られた文字の太さおよび濃さのそれぞれとの平均
を算出し、これを今回得られた文字の太さおよび濃さに
設定して今回得られたデータを補正する。
In the process of step S44, the correction process is performed. That is, as described above, the pen 1
The operation speed of 7 and the pressing force are obtained.
Then, the above-mentioned tables TB1 and TB2 are accessed based on the obtained speed and pressing force to determine the thickness of the character. Also, the density of characters is determined according to the pressing force. Calculate the average of the thickness and darkness of this time obtained in this way and the thickness and darkness of the character obtained last time, and set this to the thickness and darkness of the character obtained this time. Then, the data obtained this time is corrected.

【0085】その後次のステップS45の処理に移行
し、今回データ(補正されたデータ)の太さおよび濃さ
が今回の座標位置で得られるように線の太さおよび濃さ
が徐々に変位するような傾きを有して前回の座標値と今
回の座標値の2点間に線を引くように処理する。これ
は、メモリ16のドットマトリクス上においてイメージ
データにして処理される。
After that, the process proceeds to the next step S45, and the thickness and darkness of the line are gradually displaced so that the thickness and darkness of the current data (corrected data) can be obtained at the current coordinate position. With such an inclination, processing is performed so as to draw a line between the two points of the previous coordinate value and the current coordinate value. This is processed as image data on the dot matrix of the memory 16.

【0086】上述のような図11の処理フローに従った
補正により得られる文字の太さの変化が図12(a)な
いし(c)に示される。
Changes in the character thickness obtained by the correction according to the processing flow of FIG. 11 as described above are shown in FIGS. 12 (a) to 12 (c).

【0087】図12(a)においてはグラフの縦軸方向
に文字の太さがとられ横軸方向にペン17の操作に伴っ
て得られる押圧力の値が示される。図12(a)では図
11の補正プログラムに従った文字の太さの変化が実線
で示され、この補正が行なわれない場合の文字の太さの
変化が鎖線で示される。
In FIG. 12 (a), the vertical axis of the graph shows the thickness of the characters and the horizontal axis shows the value of the pressing force obtained with the operation of the pen 17. In FIG. 12A, a change in the thickness of the character according to the correction program of FIG. 11 is shown by a solid line, and a change in the thickness of the character when this correction is not performed is shown by a chain line.

【0088】図示されるように鎖線の補正なしの場合、
太さは測定される押圧力の変化に伴って極端に変化する
が、実線で示される補正処理が行なわれた場合、太さの
変化は補正して得られる押圧力に従って滑らかな状態と
なる。
As shown in the drawing, when the chain line is not corrected,
The thickness changes extremely in accordance with the change in the measured pressing force, but when the correction process indicated by the solid line is performed, the change in the thickness becomes smooth according to the pressing force obtained by the correction.

【0089】図12(b)は図11に示された補正処理
が行なわれなかった場合の線の太さの変化を示してお
り、図12(c)は、図11に示される補正処理が行な
われた場合の線の太さの変化を示している。
FIG. 12B shows a change in the line thickness when the correction process shown in FIG. 11 is not performed, and FIG. 12C shows the correction process shown in FIG. The change in line thickness when performed is shown.

【0090】図12(b)および(c)においてペン操
作により座標が1、2、3および4と変化するに従い、
図12(b)に示される補正をしない場合、文字の太さ
は検出される座標値ごとに段階的にかつ極端に変化する
ので、CRTなどの表示装置13に表示された場合、非
常に不自然で見苦しい状態となる。
In FIGS. 12B and 12C, as the coordinates change to 1, 2, 3 and 4 by the pen operation,
If the correction shown in FIG. 12 (b) is not performed, the thickness of the character changes stepwise and extremely for each detected coordinate value, so that when displayed on the display device 13 such as a CRT, it is very unsatisfactory. It becomes natural and unsightly.

【0091】一方、図12(c)に示される補正処理を
行なった場合、座標の変化に従って文字の太さは滑らか
に変化するようデータ処理されるので、表示装置13の
CRT画面などに表示した場合に、その表示される文字
の太さは非常に滑らかに変化し極めて見やすい状態とな
る。
On the other hand, when the correction process shown in FIG. 12C is performed, the data is processed so that the thickness of the character changes smoothly in accordance with the change in the coordinates, so that it is displayed on the CRT screen of the display device 13. In this case, the thickness of the displayed character changes very smoothly and becomes very easy to see.

【0092】なお、上述した実施例では、タブレット1
5でペン17を操作して得られた手書文字は、リアルタ
イムに表示装置13のCRTなどに画面表示するように
処理しているが、タブレット15自体を液晶マトリクス
により構成して、ペン17の軌跡をそのままタブレット
15の液晶駆動により表示してタブレット15の液晶マ
トリクス上に手書文字をリアルタイム表示するようにし
てもよい。
In the embodiment described above, the tablet 1
The handwritten characters obtained by operating the pen 17 with 5 are processed so as to be displayed on the screen of a CRT or the like of the display device 13 in real time. The locus may be displayed as it is by driving the liquid crystal of the tablet 15, and the handwritten character may be displayed in real time on the liquid crystal matrix of the tablet 15.

【0093】さらに、上述した実施例ではペン17の操
作量(押圧力およびスピード)に応じて文字の太さおよ
び濃さを可変設定するようにしているが、可変設定せず
ユーザが指定した初期値で維持することもできる。
Further, in the above-described embodiment, the thickness and the darkness of the character are variably set according to the operation amount (pressing force and speed) of the pen 17, but the initial value specified by the user is not variably set. It can also be maintained at a value.

【0094】なお、上述した実施例ではテーブルTB1
およびTB2を設けて、線の太さの変化の度合いは固定
にしているが、ユーザの所望に応じてその線の太さの変
化率が可変設定できるような機能を設けてもよい。
In the above embodiment, the table TB1
Although TB2 and TB2 are provided to fix the degree of change in the thickness of the line, a function for variably setting the rate of change in the thickness of the line may be provided according to the user's desire.

【0095】[0095]

【発明の効果】以上のようにこの発明によれば、検出手
段のペンが外部操作されて、その主面をペンでなぞった
ときのペンの軌跡を、ペンの操作量(押圧力およびスピ
ード)に基づいて太さおよび濃さを決定し、書込手段が
決定された太さおよび濃さに基づいてイメージデータに
しながらドットマトリクスにストアするとともに逐次、
出力手段を介して外部に出力するので、出力される線の
太さや線の濃さを検出手段のペンのスピードや圧力、ス
テップ操作量によって任意に変化させることが可能とな
るので、出力される画像に文字の掠れおよび太さの変化
などをリアルタイムに表示して肉筆感を表すことが可能
になるという効果がある。
As described above, according to the present invention, the trajectory of the pen when the pen of the detecting means is externally operated and the main surface of the pen is traced by the pen, the operation amount of the pen (pressing force and speed). The thickness and darkness are determined based on, and the writing means stores the image data in the dot matrix based on the determined thickness and darkness, and sequentially,
Since it is output to the outside via the output means, it is possible to arbitrarily change the thickness and thickness of the output line according to the speed and pressure of the pen of the detection means and the step operation amount. There is an effect that it is possible to display a feeling of handwriting on the image by displaying blurring of characters and changes in thickness in real time.

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

【図1】本発明の一実施例による手書文字処理装置の概
略構成図である。
FIG. 1 is a schematic configuration diagram of a handwritten character processing device according to an embodiment of the present invention.

【図2】図1に示されたタブレットの構成およびタブレ
ットとCPUとのデータの入出力関係を説明するための
図である。
FIG. 2 is a diagram for explaining a configuration of the tablet shown in FIG. 1 and a data input / output relationship between the tablet and a CPU.

【図3】図2に示されたタブレット上のペン操作量の初
期値を設定した場合の表示画面の一例を示す図である。
FIG. 3 is a diagram showing an example of a display screen when an initial value of a pen operation amount on the tablet shown in FIG. 2 is set.

【図4】(a)および(b)は、本発明の一実施例によ
るペン操作時のスピードおよび圧力と手書文字の線の太
さの関係をグラフにして表わす図である。
FIGS. 4A and 4B are graphs showing the relationship between speed and pressure during pen operation and line thickness of handwritten characters according to an embodiment of the present invention.

【図5】本発明の一実施例による線の基本の太さとペン
の操作スピードにより手書文字の線の太さを決定するた
めのテーブルを示す図である。
FIG. 5 is a diagram showing a table for determining a line thickness of a handwritten character based on a basic line thickness and a pen operation speed according to an embodiment of the present invention.

【図6】本発明の一実施例による線の基本の太さとペン
の操作押圧力により手書文字の線の太さを決定するため
のテーブルを示す図である。
FIG. 6 is a diagram showing a table for determining a line thickness of a handwritten character based on a basic line thickness and a pen pressing force according to an embodiment of the present invention.

【図7】本発明の一実施例による手書文字の線の太さと
ペン操作量の初期値入力ための処理フロー図である。
FIG. 7 is a process flow chart for inputting an initial value of a line thickness of a handwritten character and a pen operation amount according to an embodiment of the present invention.

【図8】本発明の一実施例によるペンの操作スピードの
変化に追従して手書文字の線の太さを変更するための処
理フロー図である。
FIG. 8 is a process flow chart for changing the line thickness of a handwritten character in accordance with a change in operation speed of a pen according to an embodiment of the present invention.

【図9】本発明の一実施例によるペンの操作押圧力の変
化に追従して手書文字の線の太さを変更するための処理
フロー図である。
FIG. 9 is a processing flow chart for changing the line thickness of a handwritten character in accordance with a change in pen pressing force according to an embodiment of the present invention.

【図10】本発明の一実施例によるペンの操作スピード
の変化に追従して手書文字の線の太さを変更し、かつペ
ンの操作押圧力の変化に追従して手書文字の線の濃さを
変更するための処理フロー図である。
FIG. 10 is a diagram showing a line of handwritten characters in which the thickness of a handwritten character is changed in accordance with a change in operation speed of a pen according to an embodiment of the present invention and a line of a handwritten character is changed in accordance with a change in operation pressure of the pen. It is a processing flow chart for changing the darkness of.

【図11】本発明の一実施例によるペンの操作量の変位
を逐次補正しながら、手書文字を滑らかに出力するため
の処理フロー図である。
FIG. 11 is a processing flow chart for smoothly outputting a handwritten character while sequentially correcting a displacement of a pen operation amount according to an embodiment of the present invention.

【図12】(a)ないし(c)は、図11の処理フロー
を実行することにより得られる補正後の出力文字の太さ
を補正前の出力文字の太さと比較するための図である。
12A to 12C are diagrams for comparing the thickness of an output character after correction obtained by executing the processing flow of FIG. 11 with the thickness of an output character before correction.

【図13】従来の手書文字処理装置の概略構成図であ
る。
FIG. 13 is a schematic configuration diagram of a conventional handwritten character processing device.

【図14】図13の手書文字処理装置における操作画面
の表示例を示す図である。
14 is a diagram showing a display example of an operation screen in the handwritten character processing device of FIG.

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

12 CPU 13 表示装置 15 タブレット 16 メモリ 17 ペン T1 ペンスイッチ信号 T2 座標信号 T3 圧力信号 TB1およびTB2 テーブル なお、各図中、同一符号は同一または相当部分を示す。 12 CPU 13 display device 15 tablet 16 memory 17 pen T1 pen switch signal T2 coordinate signal T3 pressure signal TB1 and TB2 table In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字を含む図形を手書入力するために外
部操作されるペンを含み、前記ペンの先端が、その主面
に接触することに応じて、前記接触の位置および前記ペ
ンの押圧力を検出する検出手段と、 前記主面と相対的に等しい大きさのドットマトリクスを
含む記憶手段と、 前記検出手段が検出する前記接触位置を所定期間ごとに
入力し、応じて前記ペンの操作速度を算出する速度算出
手段と、 前記速度算出手段により算出された前記操作速度または
前記検出手段が検出する前記押圧力に基づいて前記ペン
の軌跡の太さを決定する太さ決定手段と、 前記速度算出手段により算出された前記操作速度に基づ
いて前記軌跡の濃度を決定する濃度決定手段と、 前記検出手段が出力する前記接触位置と、前記太さ決定
手段により決定された前記太さおよび前記濃度決定手段
により決定された前記濃度の少なくとも一方とに基づい
て前記軌跡をイメージデータにして前記ドットマトリク
スに書込むデータ書込手段と、 前記データ書込手段により書込まれた前記イメージデー
タを逐次前記ドットマトリクスから読出して出力する出
力手段とを備えた、手書文字処理装置。
1. A pen including an externally operated pen for inputting a figure including a character by handwriting, the position of the contact and the pressing of the pen in response to contact of the tip of the pen with its main surface. Detecting means for detecting the pressure, storage means including a dot matrix of a size relatively equal to the main surface, and the contact position detected by the detecting means are input for every predetermined period, and the pen operation is performed accordingly. Speed calculating means for calculating a speed, thickness determining means for determining the thickness of the locus of the pen based on the operating speed calculated by the speed calculating means or the pressing force detected by the detecting means, The density determining means for determining the density of the trajectory based on the operation speed calculated by the speed calculating means, the contact position output by the detecting means, and the thick position determined by the thickness determining means. And data writing means for writing the locus into image data in the dot matrix based on at least one of the densities determined by the density determining means, and the image data written by the data writing means. An output device for sequentially reading and outputting from the dot matrix.
JP28894891A 1991-11-05 1991-11-05 Handwritten character processor Withdrawn JPH05127810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28894891A JPH05127810A (en) 1991-11-05 1991-11-05 Handwritten character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28894891A JPH05127810A (en) 1991-11-05 1991-11-05 Handwritten character processor

Publications (1)

Publication Number Publication Date
JPH05127810A true JPH05127810A (en) 1993-05-25

Family

ID=17736883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28894891A Withdrawn JPH05127810A (en) 1991-11-05 1991-11-05 Handwritten character processor

Country Status (1)

Country Link
JP (1) JPH05127810A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008159083A (en) * 2008-03-24 2008-07-10 Fujitsu Ltd Coordinate input / output device test method
JP2008198222A (en) * 2008-03-24 2008-08-28 Fujitsu Ltd Coordinate input / output device test method
JP2009087056A (en) * 2007-09-28 2009-04-23 Fujitsu Ltd Input device and computer program
JP2014505306A (en) * 2011-01-31 2014-02-27 北京壹人壹本信息科技有限公司 Method and apparatus for realizing handwritten original handwriting and electronic apparatus
WO2014034049A1 (en) * 2012-08-30 2014-03-06 パナソニック株式会社 Stylus detection device, and stylus detection method
CN105869194A (en) * 2015-11-13 2016-08-17 乐视移动智能信息技术(北京)有限公司 Writing input method and device, and mobile device
JP2019071104A (en) * 2018-12-28 2019-05-09 三菱電機株式会社 Input display device
US10510322B2 (en) 2015-05-28 2019-12-17 Mitsubishi Electric Corporation Input display device, input display method, and computer-readable medium
CN111027344A (en) * 2018-10-09 2020-04-17 珠海金山办公软件有限公司 Display method and device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009087056A (en) * 2007-09-28 2009-04-23 Fujitsu Ltd Input device and computer program
JP2008198222A (en) * 2008-03-24 2008-08-28 Fujitsu Ltd Coordinate input / output device test method
JP2008159083A (en) * 2008-03-24 2008-07-10 Fujitsu Ltd Coordinate input / output device test method
JP2014505306A (en) * 2011-01-31 2014-02-27 北京壹人壹本信息科技有限公司 Method and apparatus for realizing handwritten original handwriting and electronic apparatus
WO2014034049A1 (en) * 2012-08-30 2014-03-06 パナソニック株式会社 Stylus detection device, and stylus detection method
JPWO2014034049A1 (en) * 2012-08-30 2016-08-08 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Stylus detection device and stylus detection method
US9513720B2 (en) 2012-08-30 2016-12-06 Panasonic Intellectual Property Corporation Of America Stylus detecting device and stylus detecting method
US10510322B2 (en) 2015-05-28 2019-12-17 Mitsubishi Electric Corporation Input display device, input display method, and computer-readable medium
US10748506B2 (en) 2015-05-28 2020-08-18 Mitsubishi Electric Corporation Input display device and input display method
CN105869194A (en) * 2015-11-13 2016-08-17 乐视移动智能信息技术(北京)有限公司 Writing input method and device, and mobile device
WO2017080203A1 (en) * 2015-11-13 2017-05-18 乐视控股(北京)有限公司 Handwriting input method and device, and mobile device
CN111027344A (en) * 2018-10-09 2020-04-17 珠海金山办公软件有限公司 Display method and device
CN111027344B (en) * 2018-10-09 2023-12-26 珠海金山办公软件有限公司 Display method and device
JP2019071104A (en) * 2018-12-28 2019-05-09 三菱電機株式会社 Input display device

Similar Documents

Publication Publication Date Title
CN101770299B (en) System and method for realizing functions of navigation keys
US11402923B2 (en) Input method, apparatus based on visual recognition, and electronic device
US20160005205A1 (en) Smart eraser to erase digital strokes
KR100950838B1 (en) Computer-readable information recording medium that records trajectory information processing apparatus, trajectory information processing method and program
JP2001043010A (en) Pointing device using image to generate pointing signal
JP2007317159A (en) Input apparatus of electronic device and input method thereof
JPH05127810A (en) Handwritten character processor
US20180081535A1 (en) Document viewing apparatus and program
JPS59119438A (en) Display of current position of locator
US20160328088A1 (en) Controlling method for a sensing system
JP3075882B2 (en) Document creation and editing device
JP6566767B2 (en) Information processing apparatus, information processing apparatus control method, computer program, and storage medium
JPH08286829A (en) Menu control system
JPH06187089A (en) Scroll control method
JPH07219700A (en) Information processing equipment
JP2637440B2 (en) Cursor control method
JP2688520B2 (en) Handwriting input device
JP2851834B2 (en) Information processing device
JP2003122474A (en) Computer device, image display method, program, and recording medium
JP4097952B2 (en) Handwritten information processing method, apparatus therefor, handwritten information processing program, and recording medium on which the program is recorded
JPH08234907A (en) Data processing device
JP2014044561A (en) User interface device, method, and program capable of generating rendered image depending upon pressing force
JP2003196028A (en) Drawing method using display device with coordinate input function, program according to the method, and storage medium storing the program
JPH03118628A (en) Picture input device
JPH06266901A (en) Information processing equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204