JP3585386B2 - Processing method of handwritten data in ink data format - Google Patents

Processing method of handwritten data in ink data format Download PDF

Info

Publication number
JP3585386B2
JP3585386B2 JP36785598A JP36785598A JP3585386B2 JP 3585386 B2 JP3585386 B2 JP 3585386B2 JP 36785598 A JP36785598 A JP 36785598A JP 36785598 A JP36785598 A JP 36785598A JP 3585386 B2 JP3585386 B2 JP 3585386B2
Authority
JP
Japan
Prior art keywords
data
point
points
point sequence
handwritten
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 - Fee Related
Application number
JP36785598A
Other languages
Japanese (ja)
Other versions
JP2000194844A (en
Inventor
雅之 澤村
誠二郎 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP36785598A priority Critical patent/JP3585386B2/en
Publication of JP2000194844A publication Critical patent/JP2000194844A/en
Application granted granted Critical
Publication of JP3585386B2 publication Critical patent/JP3585386B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、インクデータ形式の手書きデータを扱うデータ処理方法に関する。
【0002】
【従来の技術】
従来の手書きデータのデータ形式としては、インクデータ形式とビットマップ描画形式とがある。インクデータ形式は、デバイスから受け取った点データを点列のデータとして保持し、点列をつないだデータを線として扱うことにより、手書きデータの画面上の移動や変形などの操作が容易であるという特徴を有し、保持するデータ量も点列データの数のみで済むという利点を持つ。ビットマップ描画形式は、直接画像データ形式に書き込みを行うもので、画面データとしてデータを保持するため、扱いやすいという利点を持つ。
【0003】
【発明が解決しようとする課題】
手書きによる書込み操作を行う場合、インクデータ形式では書き込んだデータだけの操作・加工が容易であるが、データを塊としてしか扱えないために、線の一部の消去などの操作が出来ない。逆にビットマップ形式では一部分の消去は可能だが、一部の書き込みであっても画面データとなるため、処理に不向きな大容量データとなってしまう。また、手書きデータはハードウェアの手書きデバイスからの信号入力のタイミングに依存するため、システムの負荷状況によっては信号落ちが激しくなり、スムーズな描画が出来なくなる。
【0004】
図5は、従来のインクデータ形式手書きデータが有する問題点の一つを説明する図である。通常、ペン等の入力デバイスを用いて手書きによる線を引いた場合、図5(a)に示すように、線50は多くの点からなる点列51によって構成される。個々の点51は入力デバイスの入力タイミングで取り入れられた座標点である。ところが入力者が速いスピードで書いた場合やシステムがビジー状態では、入力デバイスによって取り入れられる点の数は図5(b)に示すように極端に減ってしまい、これらの疎らな点列51a,51b,51c,51dを結んで線53が構成される。
【0005】
いま、このような疎らな点列51a〜51eを結んで構成される線53に対し、手書き入力者がイレーサを用いて図5(c)に示すように、範囲54の消去動作を行ったとする。この例の場合、消去範囲54に入っている点51cが消去され、同時にその点51cと点51cに隣接する点51c,51dとを結んでいる線分が消去されるため、図5(d)に示すように、手書き入力者が意図するより広いも範囲55で線が消去されてしまう。あるいは、図5(c)に示した消去範囲54に点が一つも入っていない場合には、イレーサを用いて消去動作を行ったとしても、表示画面には何の変化も生じず、手書き入力者の意図する消去は実行されない。
【0006】
本発明は、このような従来技術の問題点に鑑みなされたもので、インクデータ形式の処理の手軽さを有しながら、ビットマップ描画形式と同等の操作感覚を有し、デバイス性能の影響を最低限に押さえて滑らかな手書きデータを描画できるデータ処理方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成するために、本発明は、手書きデバイスによる入力方法を用いて、デバイスで発生するイベントの度に点を記憶し、一連の点をつないで一つの線にしていくインクデータ形式において、距離の開いた点の間に自動的に点を補い、点と点の間の距離を閾値以下にすることにより、デバイスで発生するイベント間隔に依存しない滑らかな手書きデータを作成する。また、手書き図形の消去方法として、実際に点列データを削除するのではなく、消去対象範囲に含まれる点列を非表示属性とすることで、その点列の前後の短い線が表示上消去されたように見せる方法をとる。本発明では描画時に前述の点列補間処理を行っているため、点列の前後幅が一定となり、消去時に指定された範囲の線分が消去されたように表示することができる。
【0008】
すなわち、本発明によるインクデータ形式手書きデータの処理方法は、点列をつないで線を構成するインクデータ形式手書きデータの処理方法において、隣接する2つの点の間の距離が閾値以下となるように距離の開いた2点の間に点を補うことを特徴とする。具体的には、入力デバイスから一つの点が入力される毎に前回入力された点との間の距離を判定し、その距離が閾値を超えているときはその間に点を補う処理を行うようにすればよい。
【0009】
この処理方法によると、距離の開いた点の間に自動的に点を補い、点と点の間の距離を閾値以下にすることにより、デバイスで発生するイベント間隔に依存しない、点の密な手書きデータを作成することができ、その一部を消去する際にも最小限度の範囲での消去、すなわち手書き入力者の意図と合致した線分消去が可能となる。
【0010】
本発明によるインクデータ形式手書きデータの処理方法は、また、点列をつないで線を構成するインクデータ形式手書きデータの処理方法において、前記点列をつないで構成される線からなる図形の変形に伴ない点列間の距離が変化したとき、隣接する2点間の距離が閾値以下となるように点を補うことを特徴とする。
【0011】
この処理方法によると、図形の変形、例えば図形の拡大処理に伴ない点列の距離が変化した場合、自動的に点を補って点と点の間の距離を閾値以下にすることにより、手書きデータを点の密な手書きデータに再構成することができ、その一部を消去する際に、最小限度の範囲での消去、すなわち手書き入力者の意図と合致した線分消去が可能となる。
【0012】
また、本発明によるインクデータ形式手書きデータの処理方法は、点列の一部を消去する操作指示を受けたとき、その消去対象範囲に含まれる点列のデータを削除することなく非表示属性とすることで表示しないようにすることを特徴とする。この処理により、インクデータ形式のままビットマップ形式のように手書き入力者の意図と合致した線分消去が可能となる。
【0013】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態を説明する。
図1は、本発明の処理方法を実施する手書き入力システムの構成の一例を示すブロック図である。この手書き入力システムは、手書きデータ入力装置10、入力された情報を手書きデータとして処理して表示する中央処理装置11、及び手書きデータ表示装置12により構成される。手書き入力されたデータは中央処理装置11で処理された後、液晶プロジェクタに代表される手書きデータ表示装置12によって、例えば電子ボード上に実際に書き込みを行ったかのように手書きの軌跡が表示される。また、ペンの軌跡の設定をイレーサに変更した場合は、軌跡はイレーサとなり、イレーサでなぞった領域の手書きデータが非表示とされ、表示画面上から消去される。
【0014】
手書きデータ入力装置10は、タブレットや電子ボードのように、ペン等によって入力された手書きデータを座標データとして出力できるものである。中央処理装置11は、入力された手書きデータの座標データを点列データとして変換する点列データ取得部13、点列データを線分のデータとして合成する点列データ合成部14、状態により点列データを線分として表示する点列データ表示部15を有している。点列データ取得部13は、手書きデータ入力装置10から入力した座標データを点列データとしてペン又はイレーサ属性を付加していく。
【0015】
点列データ合成部14は、点列データ補間部14aと消去範囲判定部14bを備える。点列データ補間部14aでは、最初の点と次の点の間隔を論理座標から求めた閾値と比較して、間隔の方が大きければ間に点を追加していく。消去範囲判定部14bでは、点列データがイレーサ属性の場合にその点列の周囲に他の点列がないかを判定し、存在する場合はその点列の属性を非表示に変更する。点列データ表示部15では、点列の属性に合わせて前後の点列を結ぶ直線の表示を行い、非表示属性の点列に対しては前後の点列との直線の表示は行わないことにより、線分の追加及び消去された結果を手書きデータ表示装置12に出力して、表示する。
【0016】
図2は、本発明によるインクデータ形式手書きデータの処理方法の一例を説明する模式図である。入力者が速いスピードで書いた場合やシステムがビジー状態では、図2(a)に示すように、点列データ取得部13によって取得される点列21a〜21eの数は極端に減ってしまう。これに対して、本発明では点列データ合成部14の点列データ補間部14aにて点列の補間を行って、粗い点21aと点21bの間、粗い点21bと点21cの間等に細かい点22を付加し、隣接する2点間の間隔を予め設定されている閾値以下とする。付加された細かい点22は、点列データ取得部13によって取得された点列21a〜21eと同等に取り扱われる。点列データ表示部15は、これらの点列21a〜21e及び補間された点列22を結んで線20とし、手書きデータ表示装置12に出力する。こうして線20の表示が行われる。
【0017】
いま、この線20に対して、手書き入力者がイレーサを用いて図2(b)に示すように、範囲23の消去動作を行ったとする。すると、点列合成部14の消去範囲判定部14bは、消去範囲23に入っている点列21c及び22の属性を非表示に変更する。点列データ表示部15は、非表示属性とされた点列間の直線及びその前後の点列との直線を表示しない表示データを作成し手書きデータ表示部12に送り、手書きデータ表示部12では図2(c)に示すように、途中が一部消去された線24を表示する。この場合、線20は密に配置された点列によって構成され、点列の間隔が閾値以下であるため、手書き入力者が意図した消去範囲23とほぼ同じ範囲25で線が消去される。
【0018】
図3は、点列データ合成部14における処理のフローチャートである。この処理は、システムの状態にも依存するが、例えばマウス入力の場合にはおよそ30ms間隔で実行される。まず、ステップ31において、点列データ取得部13で取得された座標データの書き込み属性がペンかイレーサかの判定を行う。書き込み属性がペンの場合は、ステップ32に進んで、その点が最初の点かどうかを判定する。最初の点である場合にはステップ35に進み、その点を記憶して処理を終了する。
【0019】
ステップ32で、取得された点が最初の点でない場合にはステップ33に進み、その点と同一の線上にある前の点との間の距離が予め設定された閾値より大きいかどうかを判定する。間隔が閾値より狭い場合には、ステップ35に進み、その新しい点を記憶して処理を終了する。ステップ33において、2点間の間隔が閾値よりも広いと判定された場合は、ステップ34に進み、その2点間に閾値間隔で点を埋めて補間する。次に、ステップ35に進み、最新の点及び補間された点を記憶して処理を終了する。ここで、閾値の大きさは論理的解像度により決定するため、手書きデータ入力装置10及び手書きデータ出力装置12の解像度に依存する。
【0020】
ステップ31で書き込み属性がイレーサであった場合には、ステップ36に進み、イレーサ属性に設定された領域内に入る既存の線の点列を検索する。次にステップ37に進み、検索によって得られた点列に非表示属性を設定し、終了する。
図4は、本発明によるインクデータ形式手書きデータの処理方法の他の例を説明する模式図である。点列の補間は図形描画時だけでなく、既存の図形の変形時にも必要となる。ここでは、図形を変形した際における点列の補間について説明する。
【0021】
図4(a)は、本発明の方法によって手書き入力され、記憶されているインクデータの図形40を示す略図である。この図形40は複数の点41からなる点列で構成され、その点列間隔は手書き入力時に、図2及び図3で説明したような処理によって閾値以下とされている。いま、この図形40に対して変形処理、例えば拡大処理を行ったとする。すると、図4(b)に模式的に示すように、入力時には閾値以下であった点列41a,41b,41c,41d,41e,…の間隔が、拡大図形42では閾値以上となってしまうことがある。そして、この拡大した図形に対してイレーサを用いた消去動作を行うと、手書き入力者が意図した消去範囲より広い範囲の線が消去されてしまう、図5で説明したのと同様の問題が生じる。 そこで、本発明では、点列の間隔が広がる可能性があるような図形の変形処理を行った際には、変形処理後に点列の間隔の見直しを行い、同じ直線上の隣接2点間の間隔で予め設定した閾値より広くなった箇所がある場合には、その間に閾値間隔で点を補間する処理を行うようにする。図4(c)は、この点列補間処理を行った後の拡大図形43及び点列を示す。図中の黒丸44は、補間処理によって挿入された点列である。
【0022】
図4(d)は、拡大処理を行った図形43に対してイレーサを用いて範囲45を消去する操作を行った様子を示す。消去範囲45に含まれる点列のデータは非表示属性とされ、表示画面には現れない。このとき、点列の補間を行っていて点の間隔が密になっているため、図4(e)に示すように、手書き入力者が意図したのとほぼ同じ範囲46で消去が行われる。これに対して、本発明にように図形の拡大処理の際に点列の補間を行わない場合には、図形の拡大によって点列の間隔が粗くなっているため、図4(f)に示すように、手書き入力者の意図した消去範囲45より広い範囲47の図形が消去されてしまう。
【0023】
【発明の効果】
本発明によると、デバイスで発生するイベント間隔に依存しない滑らかな手書きデータを作成することができ、また入力者の意図した通りの消去が可能となる。さに、インクデータ形式の図形の変形により、構成する点列データの間隔が変更される場合でも、最小範囲での図形消去が可能になる。
【図面の簡単な説明】
【図1】本発明の処理方法を実施する手書き入力システムの構成の一例を示すブロック図。
【図2】本発明によるインクデータ形式手書きデータの処理方法の一例を説明する模式図。
【図3】点列データ合成部14における処理のフローチャート。
【図4】本発明によるインクデータ形式手書きデータの処理方法の他の例を説明する模式図。
【図5】従来のインクデータ形式手書きデータが有する問題点の一つを説明する図。
【符号の説明】
10…手書きデータ入力装置、11…中央処理装置、12…手書きデータ表示装置、13…点列データ取得部、14…点列データ合成部、14a…点列データ補間部、14b…消去範囲判定部、15…点列データ表示部、20…線、21a〜21e…粗い点列、22…補間された点、23…消去範囲、24…一部が消去された線、25…消去された範囲、40…インクデータ形式の図形、41,41a〜41e…点列、42…拡大図形、43…点列補間処理を行った拡大図形、44…補間処理で挿入された点列、45…意図した消去範囲、46,47…消去された範囲、50…線、51…点列、51a〜51e…点列、53…疎らな点列を結んで構成される線、54…消去範囲、55…消去された範囲
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data processing method for handling handwritten data in an ink data format.
[0002]
[Prior art]
Conventional data formats of handwritten data include an ink data format and a bitmap drawing format. The ink data format holds point data received from the device as point sequence data, and handles data connecting the point sequence as lines, making it easy to move and deform handwritten data on the screen. It has the advantage that the amount of data to be held is only the number of point sequence data. The bitmap drawing format directly writes data in the image data format, and has an advantage that it is easy to handle because data is held as screen data.
[0003]
[Problems to be solved by the invention]
When performing a writing operation by handwriting, in the ink data format, it is easy to operate and process only the written data, but since the data can be handled only as a lump, operations such as erasing a part of a line cannot be performed. Conversely, in the bitmap format, part of the data can be erased, but even part of the data becomes screen data, which results in large-capacity data unsuitable for processing. In addition, since handwritten data depends on the timing of signal input from a hardware handwriting device, signal drops become severe depending on the system load, and smooth drawing cannot be performed.
[0004]
FIG. 5 is a diagram for explaining one of the problems of the conventional ink data format handwritten data. Normally, when a line is drawn by hand using an input device such as a pen, the line 50 is composed of a point sequence 51 including many points, as shown in FIG. Each point 51 is a coordinate point taken in at the input timing of the input device. However, when the input person writes at a high speed or when the system is busy, the number of points taken by the input device is extremely reduced as shown in FIG. 5B, and these sparse point sequences 51a, 51b , 51c, 51d to form a line 53.
[0005]
Now, it is assumed that the handwriting input person has performed an erasing operation of the range 54 on the line 53 formed by connecting such sparse dot sequences 51a to 51e using the eraser as shown in FIG. 5C. . In the case of this example, the point 51c in the erasure range 54 is erased, and at the same time, the line segment connecting the point 51c and the points 51c and 51d adjacent to the point 51c is erased. As shown in (2), the line is erased in a range 55 wider than the handwriting input person intends. Alternatively, when no point is included in the erasing range 54 shown in FIG. 5C, even if the erasing operation is performed using the eraser, no change occurs on the display screen, and the handwriting input is performed. The intentional erasure is not performed.
[0006]
The present invention has been made in view of such a problem of the related art, and has the same operational feeling as the bitmap drawing format while having the simplicity of processing in the ink data format, and has an influence on device performance. An object of the present invention is to provide a data processing method capable of drawing smooth handwritten data while keeping it to a minimum.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the present invention uses an input method by a handwriting device to store a point every time an event occurs in a device, and to connect a series of points into a single line in an ink data format. By automatically supplementing the points between the points having a large distance and making the distance between the points equal to or less than a threshold value, smooth handwritten data independent of an event interval generated in the device is created. Also, as a method of erasing a handwritten figure, short lines before and after the point sequence are erased on the display by setting the point sequence included in the deletion target range to the non-display attribute instead of actually deleting the point sequence data. Take a way to make it look like it was done. In the present invention, since the above-described point sequence interpolation processing is performed at the time of drawing, the front and rear widths of the point sequence become constant, and it is possible to display as if line segments in a specified range were deleted at the time of deletion.
[0008]
That is, the method of processing handwritten data in the ink data format according to the present invention is such that the distance between two adjacent points is equal to or less than the threshold value in the processing method of the handwritten data in the ink data format that forms a line by connecting a sequence of points. It is characterized in that a point is supplemented between two points that are far apart. Specifically, every time one point is input from the input device, the distance between the input point and the previously input point is determined, and when the distance exceeds a threshold, processing for supplementing the point is performed. What should I do?
[0009]
According to this processing method, the points are automatically supplemented between the open points, and the distance between the points is set to be equal to or less than the threshold value. Handwritten data can be created, and even when a part of the data is to be deleted, it is possible to delete a minimum range, that is, delete a line segment that matches the intention of the handwritten input user.
[0010]
The method of processing handwritten data in the ink data format according to the present invention is also directed to a method of processing handwritten data in the ink data format in which a line of points is connected to form a figure formed by connecting lines of the point sequence. When the distance between the accompanying point sequences changes, the points are supplemented so that the distance between two adjacent points is equal to or less than a threshold value.
[0011]
According to this processing method, when the distance of the point sequence changes due to the deformation of the figure, for example, the enlargement processing of the figure, the points are automatically supplemented to make the distance between the points equal to or less than the threshold value, so that handwriting can be performed. The data can be reconstructed into handwritten data with dense points, and when erasing a part of the data, erasure within a minimum range, that is, elimination of line segments matching the intention of the handwriting input person, is possible.
[0012]
In addition, the method of processing handwritten data in the ink data format according to the present invention, when receiving an operation instruction to delete a part of the point sequence, without deleting the data of the point sequence included in the deletion target range, the non-display attribute In order to prevent the display. With this processing, it is possible to delete line segments that match the intention of the handwriting input person, such as in the bitmap format, in the ink data format.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating an example of a configuration of a handwriting input system that implements the processing method of the present invention. The handwriting input system includes a handwriting data input device 10, a central processing unit 11 for processing and displaying input information as handwritten data, and a handwriting data display device 12. After the data input by handwriting is processed by the central processing unit 11, the handwritten data display device 12 typified by a liquid crystal projector displays a handwritten trajectory as if, for example, writing was actually performed on an electronic board. If the pen trace is changed to an eraser, the trace becomes an eraser, and the handwritten data in the area traced by the eraser is hidden and erased from the display screen.
[0014]
The handwritten data input device 10 can output handwritten data input with a pen or the like as coordinate data, like a tablet or an electronic board. The central processing unit 11 includes a point sequence data acquisition unit 13 that converts the coordinate data of the input handwritten data as point sequence data, a point sequence data synthesis unit 14 that combines the point sequence data as line segment data, and a point sequence depending on the state. It has a point sequence data display section 15 for displaying data as line segments. The point sequence data acquiring unit 13 adds the pen or eraser attribute as the point sequence data using the coordinate data input from the handwritten data input device 10.
[0015]
The point sequence data synthesis unit 14 includes a point sequence data interpolation unit 14a and an erasure range determination unit 14b. The point sequence data interpolation unit 14a compares the interval between the first point and the next point with a threshold value obtained from the logical coordinates, and if the interval is larger, adds points between them. When the point sequence data has the eraser attribute, the erasure range determination unit 14b determines whether there is another point sequence around the point sequence, and if so, changes the attribute of the point sequence to non-display. The point sequence data display unit 15 displays a straight line connecting the preceding and following point sequences according to the attribute of the point sequence, and does not display a straight line with the preceding and succeeding point sequences for the non-display attribute point sequence. As a result, the result of addition and deletion of the line segment is output to the handwritten data display device 12 and displayed.
[0016]
FIG. 2 is a schematic diagram illustrating an example of a method for processing handwritten data in the ink data format according to the present invention. When the input person writes at a high speed or when the system is busy, as shown in FIG. 2A, the number of the point sequences 21a to 21e obtained by the point sequence data obtaining unit 13 is extremely reduced. On the other hand, in the present invention, the point sequence data interpolating unit 14a of the point sequence data synthesizing unit 14 interpolates the point sequence to obtain a point between the coarse points 21a and 21b, a point between the coarse points 21b and 21c, and the like. A fine point 22 is added, and an interval between two adjacent points is set to be equal to or less than a preset threshold. The added fine points 22 are handled in the same manner as the point sequences 21 a to 21 e acquired by the point sequence data acquisition unit 13. The point sequence data display unit 15 connects these point sequences 21a to 21e and the interpolated point sequence 22 to form a line 20, and outputs the line 20 to the handwritten data display device 12. Thus, the display of the line 20 is performed.
[0017]
Now, it is assumed that the handwritten input user has performed an erasing operation on the line 20 using the eraser, as shown in FIG. Then, the erasure range determination unit 14b of the point sequence synthesis unit 14 changes the attributes of the point sequences 21c and 22 included in the erasure range 23 to non-display. The point sequence data display unit 15 creates display data that does not display a straight line between the point sequences having the non-display attribute and a straight line between the preceding and succeeding point sequences and sends the display data to the handwritten data display unit 12. As shown in FIG. 2 (c), a line 24 is displayed in which a part of the line 24 is deleted. In this case, the line 20 is formed by a densely arranged point sequence, and since the interval between the point sequences is equal to or less than the threshold value, the line is erased in a range 25 substantially the same as the erase range 23 intended by the handwriting input person.
[0018]
FIG. 3 is a flowchart of the process in the point sequence data synthesizing unit 14. This processing is executed at intervals of about 30 ms in the case of mouse input, for example, depending on the state of the system. First, in step 31, it is determined whether the writing attribute of the coordinate data acquired by the point sequence data acquiring unit 13 is a pen or an eraser. If the writing attribute is the pen, the process proceeds to step 32, and it is determined whether the point is the first point. If it is the first point, the process proceeds to step 35, where that point is stored, and the process ends.
[0019]
In step 32, if the acquired point is not the first point, the process proceeds to step 33, and it is determined whether or not the distance between the point and the previous point on the same line is larger than a preset threshold. . If the interval is smaller than the threshold, the process proceeds to step 35, where the new point is stored, and the process ends. If it is determined in step 33 that the interval between the two points is wider than the threshold value, the process proceeds to step 34, in which the points are filled with the threshold interval and interpolated. Next, the process proceeds to step 35, where the latest point and the interpolated point are stored, and the process ends. Here, since the size of the threshold is determined by the logical resolution, it depends on the resolution of the handwritten data input device 10 and the handwritten data output device 12.
[0020]
If it is determined in step 31 that the write attribute is the eraser, the process proceeds to step 36 to search for a point sequence of an existing line that falls within the area set in the eraser attribute. Then, the process proceeds to a step 37, at which a non-display attribute is set for the point sequence obtained by the search, and the process is terminated.
FIG. 4 is a schematic diagram illustrating another example of the method for processing handwritten data in the ink data format according to the present invention. Interpolation of a point sequence is necessary not only when drawing a figure, but also when deforming an existing figure. Here, interpolation of a sequence of points when a figure is deformed will be described.
[0021]
FIG. 4A is a schematic diagram showing a graphic 40 of ink data that has been handwritten and stored by the method of the present invention. The figure 40 is composed of a series of points composed of a plurality of points 41, and the interval between the series of points is set to be equal to or smaller than the threshold value by the processing described with reference to FIGS. Now, it is assumed that a deformation process, for example, an enlargement process has been performed on the figure 40. Then, as schematically shown in FIG. 4B, the intervals of the point sequences 41a, 41b, 41c, 41d, 41e,... There is. When an erase operation using the eraser is performed on the enlarged figure, a line similar to the erase range intended by the handwriting input person is erased, causing a problem similar to that described with reference to FIG. . Therefore, in the present invention, when performing a deformation process of a graphic that may increase the interval between the point sequences, the interval between the point sequences is reviewed after the deformation process, and the interval between two adjacent points on the same straight line is checked. If there is a portion where the interval is wider than a preset threshold value, a process of interpolating points at the threshold interval is performed during the interval. FIG. 4C shows the enlarged graphic 43 and the point sequence after the point sequence interpolation processing has been performed. A black circle 44 in the figure is a point sequence inserted by the interpolation processing.
[0022]
FIG. 4D shows a state where an operation of erasing the range 45 using the eraser is performed on the graphic 43 subjected to the enlargement processing. The data of the dot sequence included in the erasure range 45 has the non-display attribute and does not appear on the display screen. At this time, since the point sequence is interpolated and the intervals between the points are dense, as shown in FIG. 4E, erasing is performed in a range 46 substantially the same as intended by the handwritten input user. On the other hand, when the interpolation of the point sequence is not performed at the time of the enlargement processing of the figure as in the present invention, the interval between the point series is coarsened by the enlargement of the figure. As described above, the graphic in the range 47 wider than the deletion range 45 intended by the handwriting input person is deleted.
[0023]
【The invention's effect】
According to the present invention, it is possible to create smooth handwritten data that does not depend on an event interval generated in a device, and it is possible to erase data as intended by an input person. Et al is, by the deformation of the graphic ink data format, even if the distance between the point sequence data for configuration changes, it is possible to figure erased at minimum range.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of a configuration of a handwriting input system that implements a processing method of the present invention.
FIG. 2 is a schematic diagram illustrating an example of a method for processing ink-format handwritten data according to the present invention.
FIG. 3 is a flowchart of a process in a point sequence data synthesizing unit 14;
FIG. 4 is a schematic diagram illustrating another example of a method of processing handwritten data in the ink data format according to the present invention.
FIG. 5 is a view for explaining one of the problems of the conventional ink data format handwritten data.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... Handwritten data input device, 11 ... Central processing unit, 12 ... Handwritten data display device, 13 ... Point sequence data acquisition part, 14 ... Point sequence data synthesis part, 14a ... Point sequence data interpolation part, 14b ... Erasure range determination part , 15: Point sequence data display section, 20: Line, 21a to 21e: Coarse point sequence, 22: Interpolated point, 23: Erasure range, 24: Partially erased line, 25: Erasure range, 40: graphic in ink data format, 41, 41a to 41e: point sequence, 42: enlarged graphic, 43: enlarged graphic subjected to point sequence interpolation processing, 44: point sequence inserted by interpolation processing, 45: intended deletion Range, 46, 47: erased range, 50: line, 51: point sequence, 51a to 51e: point sequence, 53: line formed by connecting sparse point sequence, 54: erase range, 55: erased Range

Claims (1)

点列をつないで線を構成するインクデータ形式手書きデータの処理方法において、前記点列をつないで構成される線からなる図形の変形に伴ない前記点列の隣接する2点間の距離が拡大変化したとき、当該変形した図形の線を構成する点列の隣接する2点間の距離が閾値以下となるように当該距離が拡大変化した2点間に点を補うことを特徴とするインクデータ形式手書きデータの処理方法。In a method of processing handwritten data in an ink data format in which a line is formed by connecting a series of points , the distance between two adjacent points in the series of points is increased with the deformation of a figure formed by connecting the series of points. Ink data which, when changed , supplements points between two points whose distance has been enlarged and changed so that the distance between two adjacent points in the sequence of points forming the line of the deformed figure is equal to or less than a threshold value. How to process formal handwritten data.
JP36785598A 1998-12-24 1998-12-24 Processing method of handwritten data in ink data format Expired - Fee Related JP3585386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36785598A JP3585386B2 (en) 1998-12-24 1998-12-24 Processing method of handwritten data in ink data format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36785598A JP3585386B2 (en) 1998-12-24 1998-12-24 Processing method of handwritten data in ink data format

Publications (2)

Publication Number Publication Date
JP2000194844A JP2000194844A (en) 2000-07-14
JP3585386B2 true JP3585386B2 (en) 2004-11-04

Family

ID=18490374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36785598A Expired - Fee Related JP3585386B2 (en) 1998-12-24 1998-12-24 Processing method of handwritten data in ink data format

Country Status (1)

Country Link
JP (1) JP3585386B2 (en)

Also Published As

Publication number Publication date
JP2000194844A (en) 2000-07-14

Similar Documents

Publication Publication Date Title
US7050070B2 (en) Image editing method and image editing apparatus
US6437799B1 (en) Method and apparatus for logical zooming of a directed graph
US8164578B2 (en) Linear shape processing device, linear shape processing method, information recording medium, and program
US6404434B1 (en) Curve generating apparatus and method, storage medium storing curve generating program, and method of setting associate points
JP3585386B2 (en) Processing method of handwritten data in ink data format
JPH0812668B2 (en) Handwriting proofreading method
JP3513490B2 (en) Recording medium, image processing apparatus and method
JP2562458B2 (en) Character generation method for computer system
JP2001154779A (en) Mouse cursor control method
JP4323101B2 (en) Polygonal geometry clipping device
CN105184844A (en) Timeline Tool For Producing Computer-generated Animations
JP2610825B2 (en) Graphic processing unit
JPH09258716A (en) Stroke information processing method
JPH0855214A (en) Map display control system
JPS61250688A (en) Curve generation system
JPS62115580A (en) Closed area paint out system
JP2904994B2 (en) Coordinate connection display method
JP3358743B2 (en) Offset figure generation system
JP2597875B2 (en) Binary image similarity conversion pixel data generator
JP3004993B2 (en) Image processing device
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JP2827670B2 (en) 2D polygon closed area figure synthesis method
JPH11102177A (en) Font data creation device and method thereof, and storage medium
JP2846165B2 (en) Character learning device
JP2783090B2 (en) Drawing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040618

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040727

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040803

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees