JPH0962678A - Handwritten character selection device and handwritten character selection method - Google Patents
Handwritten character selection device and handwritten character selection methodInfo
- Publication number
- JPH0962678A JPH0962678A JP7169934A JP16993495A JPH0962678A JP H0962678 A JPH0962678 A JP H0962678A JP 7169934 A JP7169934 A JP 7169934A JP 16993495 A JP16993495 A JP 16993495A JP H0962678 A JPH0962678 A JP H0962678A
- Authority
- JP
- Japan
- Prior art keywords
- character
- data
- selection
- partial
- handwriting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Character Input (AREA)
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 正しい文字単位に検切されていない手書き文
字データに対して、正しく編集範囲を指定できなかった
ときでも使用者の意図通りに編集対象を選択する。
【構成】 判定手段7、8は、選択範囲と文字外包図形
とを用いて文字データ記憶手段5に記憶されている文字
データのうちどの文字が選択されているか、かつ文字の
全体が選択されているか一部が選択されているかも判定
する。部分文字構成手段10、11は、一部が選択され
ていると判定された場合に当該文字データに属する一の
筆跡データ示す座標の最大値と他の一の筆跡データの示
す座標の最小値とを全ての筆跡データについて比較し、
所定の関係にある筆跡データを逐次連鎖的に結合し部分
文字を構成する。部分文字選択判定手段7、8は、構成
された部分文字と選択範囲を用いて、どの部分文字が選
択されているかを判定する。
(57) [Summary] [Purpose] With respect to handwritten character data that has not been cut into correct character units, even when the edit range cannot be specified correctly, the edit target is selected as intended by the user. [Structure] The determination means 7 and 8 determine which character is selected from the character data stored in the character data storage means 5 using the selection range and the character envelope figure, and the entire character is selected. It is also determined whether or not some of them are selected. When it is determined that a part of the character data is selected, the partial character forming means 10 and 11 determine the maximum value of the coordinates of one piece of handwriting data belonging to the character data and the minimum value of the coordinates of another piece of handwriting data. For all handwriting data,
The handwriting data having a predetermined relationship are sequentially connected in a chain to form a partial character. The partial character selection determining means 7 and 8 determine which partial character is selected using the configured partial characters and the selection range.
Description
【0001】[0001]
【産業上の利用分野】本発明は、タブレット装置から入
力された手書き文字をそのままの形で画面上に表示する
と共に、表示した文字を削除など編集する装置に関し、
特に使用者の意図通りに文字単位に編集対象を選択する
手書き文字選択装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for displaying handwritten characters input from a tablet device as they are on a screen and for editing the displayed characters by deleting them.
In particular, the present invention relates to a handwritten character selection device that selects an editing target for each character as intended by the user.
【0002】[0002]
【従来の技術】近年、タブレット等を用いて手書きによ
り情報をコンピュータに入力し、筆跡をそのままの形で
表示したり、編集を行なうシステムが登場してきてい
る。例えば、情報処理学会論文誌1991年 Vol.
32 No.8「ストロークエディタと直接指示・操作
方式」において、罫線の引かれた画面上にペン型入力装
置で文章を書き込み、ワープロのように文字単位、行単
位で編集を行なうシステムが報告されている。2. Description of the Related Art In recent years, a system for inputting information into a computer by handwriting using a tablet or the like and displaying or editing handwriting as it is has appeared. For example, IPSJ Journal 1991 Vol.
32 No. In "8. Stroke editor and direct instruction / operation method", a system has been reported in which a pen-type input device is used to write a text on a screen with ruled lines and to edit character by character or line by line like a word processor.
【0003】このようなシステムにおいて編集指示を入
力する際に、ジェスチャーと呼ばれる校正記号を編集対
象の手書き文字の上に書き、編集対象の選択と編集指示
を同時に入力する技術が開発されつつある。このような
技術として本発明者は先に特願平6−92696号とし
て出願した。当該技術は、正しい文字単位に検切されて
いない手書きデータに対しても意図通りに文字を削除等
するものである。例えば、図10(a)に示すように
「あ」「い」「う」「え」の4文字が正しく検切され
ず、「あい」、「うえ」の2文字として検切されている
とする。この場合に図10(b)に示すように「う」の
文字を削除すべくジェスチャー703にて指示を行う。
当該ジェスチャー703で特定される編集範囲704
と、文字「う」を構成する各筆跡とを筆跡単位に比較す
る。この文字「う」を構成する筆跡は、すべて所定割合
以上編集範囲内に含まれているので、当該筆跡すべてが
削除の対象であると判断され、図10(d)に示すよう
に「う」の文字が削除される。In such a system, when inputting an editing instruction, a technique is being developed in which a calibration symbol called a gesture is written on a handwritten character to be edited, and the selection of the editing object and the editing instruction are inputted at the same time. As such a technique, the present inventor has previously filed a patent application No. 6-92696. This technique deletes characters as intended even for handwritten data that has not been cut into correct character units. For example, as shown in FIG. 10 (a), if the four characters "a", "i", "u", and "e" are not correctly cut, but are cut as two characters "ai" and "ue". To do. In this case, the gesture 703 is used to instruct to delete the character "U" as shown in FIG.
Editing range 704 specified by the gesture 703
And each handwriting forming the character "U" are compared in units of handwriting. Since all the handwritings forming the character “U” are included in the editing range by a predetermined ratio or more, it is determined that all the handwritings are to be deleted, and “U” is displayed as shown in FIG. Is deleted.
【0004】このように、正しい文字単位に検切が行わ
れていない場合であっても、削除対象とする文字の筆跡
毎に削除すべきか否かを判断するので、ジェスチャーに
て編集範囲が正しく指定されている限りは、使用者の意
図通りに削除が行われる。As described above, even if the cutoff is not performed for each correct character, it is determined whether or not to delete for each handwriting of the character to be deleted. As long as it is specified, the deletion is done as intended by the user.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記の
技術においては、ジェスチャーにて編集範囲を特定する
ため編集範囲の指示が曖昧になり、編集範囲から編集対
象とする文字がはみ出してしまう場合がある。例えば図
11に示すように、「松」「竹」「梅」の文字が、正し
く検切が行われず502と503に示す2文字として切
り出されているとする。この場合に使用者が「松」の文
字を削除すべくジェスチャーにて編集範囲504を指示
したが少しずれてしまい「松」の字の一部がはみ出して
しまう場合等である。このような場合に上記技術では、
各筆跡単位に各筆跡が編集範囲に所定の割合以上含まれ
ているか否かにより当該筆跡を選択するか否か判定する
ので、筆跡505は選択されず、506に示すように
「松」の字の一部が残ってしまう。However, in the technique described above, since the edit range is specified by a gesture, the instruction of the edit range becomes ambiguous, and the character to be edited may overflow from the edit range. . For example, as shown in FIG. 11, it is assumed that the characters “pine”, “bamboo”, and “ume” are cut out as two characters 502 and 503 without being properly inspected. In this case, the user has instructed the edit range 504 with a gesture to delete the character "pine", but the character is slightly displaced and a part of the character "pine" protrudes. In such cases, the above technology
The handwriting 505 is not selected because it is determined whether or not the handwriting is selected for each handwriting unit depending on whether or not each handwriting is included in the editing range by a predetermined ratio or more. Some of it will remain.
【0006】本発明は上記問題点に鑑み、正しい文字単
位に検切されていない手書き文字データに対して、正し
く編集範囲を指定できなかったときでも使用者の意図通
りに編集対象を選択する手書き文字選択装置及び手書き
文字選択方法を提供することを目的とする。In view of the above problems, the present invention is a handwriting which selects an editing target as intended by the user even when the editing range cannot be correctly specified for the handwritten character data which has not been cut into correct character units. An object is to provide a character selection device and a handwritten character selection method.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するた
め、請求項1における発明では、座標データとして入力
され、文字単位に検切された筆跡データ群と、当該筆跡
データ群を内包する図形である文字外包図形とを関連付
けて文字データとして記憶する文字データ記憶手段と、
記憶されている筆跡データ群に基づいて各文字を画面上
に表示する表示手段と、表示手段の表示内容に基づいて
編集対象を選択するための選択範囲の入力を受け付ける
選択範囲受付手段と、選択範囲と前記文字外包図形とを
用いて、前記文字データ記憶手段に記憶されているすべ
ての文字データのうちどの文字が選択されているかを判
定し、さらに当該文字データの文字の全体が選択されて
いるか一部が選択されているかを判定する判定手段と、
文字データの文字の一部が選択されていると判定された
場合に、当該文字データに属する全ての筆跡データにつ
いて、一の筆跡データの座標データが有する最大座標値
と他の一の筆跡データが有する最小座標値とを所定の手
順で比較し、比較結果が所定の関係にある筆跡データを
逐次連鎖的に結合することにより各部分文字を構成する
部分文字構成手段と、構成された各部分文字と前記選択
範囲とを用いて、どの部分文字が選択されているか判定
する部分文字選択判定手段とを備えたことを特徴とす
る。In order to achieve the above object, in the invention according to claim 1, a handwriting data group input as coordinate data and cut off in character units, and a figure including the handwriting data group are included. A character data storage means for storing as a character data in association with a certain character envelope figure;
Display means for displaying each character on the screen based on the stored handwriting data group, selection range receiving means for receiving input of a selection range for selecting an edit target based on the display content of the display means, and selection By using the range and the character envelope figure, it is determined which character is selected from all the character data stored in the character data storage means, and further the entire character of the character data is selected. And a determination means for determining whether or not a part is selected,
When it is determined that a part of the characters of the character data is selected, the maximum coordinate value of the coordinate data of one handwriting data and the other handwriting data of all the handwriting data belonging to the character data are determined. Partial character composing means for composing each partial character by sequentially connecting the handwriting data whose comparison result has a predetermined relationship by comparing with the minimum coordinate value possessed by a predetermined procedure, and each composed partial character And partial character selection determining means for determining which partial character is selected using the selection range.
【0008】請求項2における発明では、前記部分文字
構成手段は、前記判定手段にて文字データの文字の一部
が選択されていると判定された場合に、当該文字データ
の属する行が横書きであるか縦書きであるかを判定する
行方向判定部と、文字データに属する筆跡データそれぞ
れについて、前記行方向判定部で判定された行方向にお
ける最大座標値と最小座標値で示される範囲を求める座
標範囲算出部と、前記座標範囲算出部で算出された座標
範囲が互いに重なる筆跡データどうしを連結することに
より部分文字を構成する部分文字構成部とを備えたこと
を特徴とする。According to another aspect of the present invention, when the determining unit determines that a part of the characters of the character data is selected, the partial character forming unit horizontally writes the line to which the character data belongs. For each of the line direction determination unit that determines whether there is vertical writing and the handwriting data that belongs to the character data, obtain the range indicated by the maximum coordinate value and the minimum coordinate value in the line direction determined by the line direction determination unit. A coordinate range calculation unit and a partial character configuration unit that forms a partial character by connecting handwriting data in which the coordinate ranges calculated by the coordinate range calculation unit overlap each other.
【0009】請求項3における発明では、前記手書き文
字選択装置は、さらに、文字外包図形と選択範囲の重な
る面積を文字外包図形の面積で除した値である対象選択
割合を算出する対象選択割合算出手段を備え、前記判定
手段は、文字データの対象選択割合が所定の対象選択基
準値以上であれば当該文字データの文字全体が選択され
ていると判定する第1の選択判定部と、文字データの対
象選択割合が所定の対象選択基準値より小さくかつ選択
されていないとの判断の基準となる所定の非選択基準値
より大きければ当該文字データの文字の一部が選択され
ていると判定する第2の選択判定部とを備えたことを特
徴とする。In the invention according to claim 3, the handwritten character selection device further calculates a target selection ratio which is a value obtained by dividing an area where the character envelope graphic and the selection range overlap by the area of the character envelope graphic. A first selection determination unit that determines that the entire character of the character data is selected if the target selection ratio of the character data is greater than or equal to a predetermined target selection reference value; If the target selection ratio is smaller than a predetermined target selection reference value and is larger than a predetermined non-selection reference value that is a criterion for determining that it is not selected, it is determined that a part of the characters of the character data is selected. A second selection determination unit is provided.
【0010】請求項4における発明では、前記対象選択
割合算出手段は、さらに、構成された部分文字に属する
筆跡データ群に基づいて部分文字外包図形を作成する部
分文字外包図形作成部と、部分文字外包図形作成部で作
成された部分文字外包図形と選択範囲の重なる面積を部
分文字外包図形の面積で除した値である対象選択割合を
算出する対象選択割合算出部を備え、前記部分文字選択
判定手段は、部分文字の対象選択割合が所定の対象選択
基準値以上である場合のみ当該部分文字が選択されてい
ると判定する判定部を備えたことを特徴とする。According to another aspect of the present invention, the target selection ratio calculating means further comprises a partial character envelope graphic creating unit for creating a partial character envelope graphic based on the handwriting data group belonging to the constructed partial character, and the partial character envelope. The target character selection ratio calculation unit that calculates a target selection ratio that is a value obtained by dividing the area where the partial character outer shape graphic created by the outer character graphic creation unit and the selection range overlap by the area of the partial character outer property graphic is provided, and the partial character selection determination is performed. The means is provided with a determination unit that determines that the partial character is selected only when the target selection ratio of the partial character is equal to or more than a predetermined target selection reference value.
【0011】請求項5における前記部分文字選択判定手
段は、一つの文字データを構成する部分文字群のうち一
つでも選択されていれば、他の部分文字を判定する際に
は対象選択基準値を下げることを特徴とする。請求項6
における発明では、前記手書き文字選択装置は、さら
に、前記部分文字選択判定手段で選択されていると判定
された部分文字群と選択されていない他の部分文字群を
各々一つの文字データとして再構成し、前記文字データ
記憶手段の記憶内容を更新する部分文字再構成更新手段
を備えたことを特徴とする。According to the fifth aspect of the present invention, if the partial character selection determination means selects at least one of the partial character groups forming one character data, the target selection reference value when determining other partial characters. It is characterized by lowering. Claim 6
In the invention described above, the handwritten character selection device further reconstructs a partial character group determined to be selected by the partial character selection determination means and another partial character group not selected as one character data. The character data storage means is further provided with a partial character reconstruction updating means for updating the stored content.
【0012】請求項7における発明では、前記手書き文
字選択装置は、さらに、前記部分文字選択判定手段によ
って選択されていないと判定された部分文字の部分文字
外包図形と選択範囲の重なる面積を選択範囲の面積で除
した値である選択範囲割合を算出する選択範囲割合算出
手段と、算出された選択範囲割合が所定の選択範囲基準
値以上の場合は、部分文字の一部が選択されていると判
定する第2の部分文字選択判定手段と、部分文字の一部
が選択されていると判定された場合に、部分文字を構成
する各筆跡データに対して選択判定を行ない、選択され
た筆跡データ群を新たな部分文字として検切し選択する
筆跡選択手段とを備えたことを特徴とする。In the invention according to claim 7, the handwritten character selection device further selects an area in which the partial character envelope figure of the partial character determined not to be selected by the partial character selection determination means overlaps the selected range. Selection range ratio calculating means for calculating a selection range ratio which is a value divided by the area of the area, and when the calculated selection range ratio is equal to or larger than a predetermined selection range reference value, it is determined that a part of the partial characters is selected. Second partial character selection determining means for determining, and when it is determined that a part of the partial character is selected, selection determination is performed on each piece of handwriting data forming the partial character, and the selected handwriting data And a handwriting selecting means for inspecting and selecting the group as a new partial character.
【0013】請求項8における発明では、記憶されてい
る筆跡データ群に基づいて各文字を画面上に表示する表
示ステップと、表示手段の表示内容に基づいて編集対象
を選択するための選択範囲の入力を受け付ける選択範囲
受付ステップと、選択範囲と前記文字データ記憶手段に
記憶されている文字外包図形とを用いて、前記文字デー
タ記憶手段に記憶されているすべての文字データのうち
どの文字が選択されているかを判定する第1の判定ステ
ップと、選択範囲と前記文字データ記憶手段に記憶され
ている文字外包図形とを用いて、前記文選択されている
と判定された文字データの文字の全体が選択されている
か一部が選択されているかを判定する第2の判定ステッ
プと、文字データの文字の一部が選択されていると判定
された場合に、当該文字データに属する全ての筆跡デー
タについて、一の筆跡データの座標データが有する最大
座標値と他の一の筆跡データが有する最小座標値とを所
定の手順で比較し、所定の関係にある筆跡データを逐次
連鎖的に結合することにより各部分文字を構成する部分
文字構成ステップと、構成された各部分文字と前記選択
範囲を用いて、どの部分文字が選択されているかを判定
する部分文字選択判定ステップとを備えたことを特徴と
する。According to another aspect of the present invention, there is provided a display step of displaying each character on the screen based on the stored handwriting data group, and a selection range for selecting an edit target based on the display content of the display means. Which character is selected from all the character data stored in the character data storage means by using the selection range receiving step of receiving an input and the selection range and the character envelope figure stored in the character data storage means. Using the first determination step for determining whether the sentence is selected, the selection range and the character envelope figure stored in the character data storage means, the entire character of the character data determined to be the sentence is selected. The second determination step for determining whether or not is selected, and when it is determined that a part of the characters of the character data is selected, For all the handwriting data belonging to the character data, the maximum coordinate value of the coordinate data of one handwriting data and the minimum coordinate value of the other handwriting data are compared in a predetermined procedure, and the handwriting data is in a predetermined relationship. A partial character forming step of forming each partial character by sequentially connecting the partial characters, and using the formed partial characters and the selection range, a partial character selection judgment for judging which partial character is selected And a step.
【0014】請求項9における発明では、前記部分文字
構成ステップは、前記第2の判定ステップにて文字デー
タの文字の一部が選択されていると判定された場合に、
当該文字データの属する行が横書きであるか縦書きであ
るかを判定する行方向判定ステップと、文字データの属
する筆跡データそれぞれについて、前記行方向判定部で
判定された行方向における最大座標値と最小座標値で示
される範囲を求める座標範囲算出ステップと、前記座標
範囲算出部で算出された座標範囲が互いに重なる筆跡デ
ータどうしを連結することにより部分文字を構成する部
分文字構成ステップとを備えたことを特徴とする。In the invention according to claim 9, in the partial character forming step, when it is judged in the second judging step that a part of the characters of the character data is selected,
A line direction determination step of determining whether the line to which the character data belongs is horizontal writing or vertical writing, and for each of the handwriting data to which the character data belongs, the maximum coordinate value in the line direction determined by the line direction determination unit and A coordinate range calculating step of obtaining a range indicated by the minimum coordinate value and a partial character forming step of forming a partial character by connecting handwriting data in which the coordinate ranges calculated by the coordinate range calculating section overlap each other. It is characterized by
【0015】請求項10における発明では、前記手書き
文字選択方法は、さらに、判定ステップの処理に先立
ち、文字外包図形と選択範囲の重なる面積を文字外包図
形の面積で除した値である対象選択割合を算出する対象
選択割合算出ステップを備え、前記判定ステップは、文
字データの対象選択割合が所定の対象選択基準値以上で
あれば当該文字データの文字全体が選択されていると判
定する第1の選択判定ステップと、文字データの対象選
択割合が所定の対象選択基準値より小さくかつ選択され
ていないとの基準となる所定の非選択基準値より大きけ
れば当該文字データの文字の一部が選択されていると判
定する第2の選択判定ステップとを備えたことを特徴と
する。According to a tenth aspect of the present invention, in the handwritten character selection method, the target selection ratio is a value obtained by dividing the area where the character envelope shape and the selection range overlap by the area of the character envelope graphic prior to the processing of the determination step. A target selection ratio calculation step for calculating, wherein the determination step determines that the entire character of the character data is selected if the target selection ratio of the character data is greater than or equal to a predetermined target selection reference value. In the selection determination step, and if the target selection ratio of the character data is smaller than a predetermined target selection reference value and larger than a predetermined non-selection reference value that is not selected, a part of the characters of the character data is selected. And a second selection determination step for determining that
【0016】請求項11における発明では、前記対象選
択割合算出ステップは、構成された部分文字に属する筆
跡データ群に基づいて外包図形を作成する部分文字外包
図形作成ステップと、部分文字外包図形作成ステップで
作成された外包図形と選択範囲の重なる面積を外包図形
の面積で除した値である対象選択割合を算出する対象選
択割合算出ステップを備え、前記部分文字選択判定ステ
ップは、部分文字の対象選択割合が所定の対象選択基準
値以上である場合のみ当該部分文字が選択されていると
判定する判定ステップを備えたことを特徴とする。In the invention according to claim 11, the target selection ratio calculating step includes a partial character envelope figure creating step for creating an envelope figure based on the handwriting data group belonging to the constituted partial characters, and a partial character envelope figure creating step. The target character selection ratio calculation step of calculating a target selection ratio, which is a value obtained by dividing the overlapping area of the outer shape and the selected range by the area of the outer shape pattern, is included in the partial character selection determination step. It is characterized by comprising a determination step of determining that the partial character is selected only when the ratio is equal to or more than a predetermined target selection reference value.
【0017】[0017]
【作用】上記請求項1の発明によれば、判定手段が、選
択範囲と文字外包図形とを用いて、文字データ記憶手段
に記憶されているすべての文字データのうちどの文字が
選択されているかを判定する。さらに当該判定手段は、
選択されていると判定された文字データの文字の全体が
選択されているか一部が選択されているかも判定する。
部分文字構成手段は、文字データの文字の一部が選択さ
れていると判定された場合に、当該文字データに属する
一の筆跡データの座標データが示す座標の最大値と他の
一の筆跡データの座標データが示す座標の最小値とを所
定の手順で全ての筆跡データについて比較し、比較結果
が所定の関係にある筆跡データを逐次連鎖的に結合し部
分文字を構成する。部分文字選択判定手段は、構成され
た部分文字と選択範囲を用いて、どの部分文字が選択さ
れているかを判定する。According to the first aspect of the invention, which character is selected from all the character data stored in the character data storage means by the determination means using the selection range and the character envelope figure. To judge. Further, the determination means is
It is also determined whether all or some of the characters of the character data determined to be selected are selected.
When it is determined that a part of the characters of the character data is selected, the partial character forming means determines the maximum value of the coordinates indicated by the coordinate data of the one handwriting data belonging to the character data and the other one of the handwriting data. The minimum value of the coordinate indicated by the coordinate data is compared with all the handwriting data in a predetermined procedure, and the handwriting data whose comparison results have a predetermined relationship are sequentially and sequentially combined to form a partial character. The partial character selection determining means determines which partial character is selected using the configured partial characters and the selection range.
【0018】請求項2の発明によれば、部分文字構成手
段の行方向判定部が、文字データの属する行が横書きで
あるか縦書きであるかを判定する。座標範囲算出部は、
筆跡データそれぞれについて、行方向判定部で判定され
た行方向における範囲を求める。部分文字構成部が算出
された範囲が互いに重なる筆跡データどうしを連結する
ことにより部分文字を構成する。According to the second aspect of the invention, the line direction determination unit of the partial character construction means determines whether the line to which the character data belongs is horizontal writing or vertical writing. The coordinate range calculation unit
For each piece of handwriting data, the range in the row direction determined by the row direction determination unit is obtained. A partial character is formed by connecting handwriting data in which the ranges calculated by the partial character forming unit overlap each other.
【0019】請求項3の発明によれば、判定手段の第1
の選択判定部は、文字データの対象選択割合が所定の対
象選択基準値以上であれば当該文字データの文字全体が
選択されていると判定し、第2の選択判定部は、文字デ
ータの対象選択割合が所定の対象選択基準値以下かつ所
定の非選択基準値より大きければ当該文字データの文字
の一部が選択されていると判定する。According to the invention of claim 3, the first judging means
If the target selection ratio of the character data is greater than or equal to a predetermined target selection reference value, the selection determination unit determines that the entire character of the character data is selected, and the second selection determination unit determines the target of the character data. If the selection ratio is less than or equal to the predetermined target selection reference value and greater than the predetermined non-selection reference value, it is determined that a part of the characters of the character data is selected.
【0020】請求項4の発明によれば、部分文字選択判
定手段は、部分文字の対象選択割合が所定の対象選択基
準値以上であれば当該部分文字が選択されていると判定
し、所定の対象選択基準値以下であれば当該部分文字は
選択されていないと判定する。請求項5の発明によれ
ば、部分文字選択判定手段は、一つの文字データを構成
する部分文字群のうち一つでも選択されていれば、他の
部分文字を判定する際には対象選択基準値の値を下げる
ことによって他の部分文字が選択されやすくする。According to the invention of claim 4, the partial character selection determining means determines that the partial character is selected if the target selection ratio of the partial character is equal to or more than a predetermined target selection reference value, and the predetermined partial character is selected. If it is less than or equal to the target selection reference value, it is determined that the partial character is not selected. According to the invention of claim 5, the partial character selection determining means determines the target selection criterion when determining another partial character if at least one of the partial character groups forming one character data is selected. Lowering the value makes it easier for other subcharacters to be selected.
【0021】請求項6の発明によれば、部分文字再構成
手段は、部分文字選択判定手段で選択すると判定した部
分文字群と選択しないと判定した部分文字群を各々一つ
の文字データとして再構成する。請求項7の発明によれ
ば、第2の部分文字選択判定手段は、算出された選択範
囲割合が所定の選択範囲基準値以上の場合は、部分文字
の一部が選択されていると判定し、筆跡選択手段は、部
分文字の一部が選択されていると判定された場合に、部
分文字を構成する各筆跡に対して選択判定を行ない、選
択された筆跡群を新たな部分文字として検切し選択す
る。According to the invention of claim 6, the partial character reconstructing means reconstructs the partial character group determined to be selected by the partial character selection determining means and the partial character group determined not to be selected as one character data. To do. According to the invention of claim 7, the second partial character selection determining means determines that a part of the partial characters is selected when the calculated selection range ratio is equal to or greater than a predetermined selection range reference value. The handwriting selection means, when it is determined that a part of the partial characters is selected, makes a selection determination for each handwriting that constitutes the partial character, and detects the selected handwriting group as a new partial character. Cut and select.
【0022】請求項8から請求項11の発明は、請求項
1から請求項4の発明と同様の作用をなす。The inventions of claims 8 to 11 have the same operations as the inventions of claims 1 to 4.
【0023】[0023]
【実施例】図1は本発明の手書き文字選択装置の1実施
例の構成図である。当該手書き文字選択装置は、手書き
データ入力手段1、筆跡データ/選択範囲データ経路切
替手段2、筆跡描画データ作成手段3、文字検切手段
4、文字データ記憶手段5、選択領域作成手段6、対象
選択割合/選択範囲割合算出手段7、対象選択判断手段
8、座標投影データ記憶部9、部分文字分割手段10、
部分文字再構成手段11、編集対象選択バッファ12、
編集手段13、表示手段14から構成されている。な
お、編集手段13は本発明によって選択された文字デー
タを編集するための手段であり、文字選択装置の構成要
素ではない。1 is a block diagram of an embodiment of a handwritten character selection device of the present invention. The handwritten character selection device includes a handwritten data input unit 1, a handwriting data / selection range data path switching unit 2, a handwriting drawing data creation unit 3, a character inspection unit 4, a character data storage unit 5, a selection area creation unit 6, and a target. Selection ratio / selection range ratio calculation means 7, target selection determination means 8, coordinate projection data storage unit 9, partial character division means 10,
Partial character reconstructing means 11, edit target selection buffer 12,
It is composed of editing means 13 and display means 14. The editing means 13 is means for editing the character data selected by the present invention, and is not a component of the character selection device.
【0024】手書きデータ入力手段1は、タブレット装
置とペン型指示装置の組合せ等によって構成される。ペ
ン型指示装置がタブレット装置に触れている間、ペン型
指示装置の接触位置を表す座標データを、一定の間隔も
しくは可変の間隔で筆跡データ/選択範囲データ経路切
替手段2に送出する。このペン型指示装置がタブレット
装置に触れてから離れるまでの座標の点列データを筆跡
データと呼ぶ。The handwritten data input means 1 is composed of a combination of a tablet device and a pen type pointing device. While the pen-type pointing device is touching the tablet device, the coordinate data representing the contact position of the pen-type pointing device is sent to the handwriting data / selected range data path switching means 2 at fixed intervals or variable intervals. The point sequence data of the coordinates from when the pen-type pointing device touches the tablet device until it leaves is called handwriting data.
【0025】筆跡データ/選択範囲データ経路切替手段
2は、手書きデータ入力手段1を選択範囲を入力する手
段としても機能させるための切替え装置であり、手書き
データ入力モードと編集モードとの二つのモードを有す
る。具体的には入力モードの場合は、手書きデータ入力
手段1から送出される点列データを筆跡描画データ作成
手段3並びに文字検切手段4に送る。編集モードの場合
は選択領域作成手段6に送る。The handwriting data / selection range data path switching means 2 is a switching device for causing the handwriting data input means 1 to function also as means for inputting a selection range, and has two modes, a handwriting data input mode and an editing mode. Have. Specifically, in the input mode, the point sequence data sent from the handwriting data input means 1 is sent to the handwriting drawing data creation means 3 and the character inspection means 4. In the edit mode, it is sent to the selection area creating means 6.
【0026】筆跡描画データ作成手段3は、受け取った
点列データである筆跡データの点間を補間することによ
って、表示手段14において連続筆跡と表示するための
データである筆跡描画データを作成する。手書きデータ
入力手段1から送出された点列データを受けとった時、
もしくは編集操作によって文字データ記憶手段5の記憶
する文字データが更新された時に、筆跡描画データを作
成して表示手段14に送出する。The handwriting drawing data creating means 3 creates the handwriting drawing data which is the data for displaying continuous handwriting on the display means 14 by interpolating between the points of the received handwriting data which is the point sequence data. When receiving the point sequence data sent from the handwriting data input means 1,
Alternatively, when the character data stored in the character data storage means 5 is updated by an editing operation, handwriting drawing data is created and sent to the display means 14.
【0027】文字検切手段4は、受け取った筆跡データ
群を文字単位、行単位に検切し、文字データ記憶手段5
に当該筆跡データ及び文字の区切り、行の区切りを通知
する。筆跡データ群を文字単位、行単位に検切する方法
は従来技術を用いる。文字データ記憶手段5は、文字検
切手段4で文字単位に検切された筆跡データ群と、その
筆跡データ群全てを内包する矩形である文字外接矩形と
を関連付けて文字データとして記憶する。さらに文字検
切手段4が行単位に検切した文字データの集まりを行デ
ータとして行単位で行データとして記憶する。具体的に
は、文字データ記憶手段5の記憶内容の例として図2に
示す。ここでは、文字検切手段4で行単位、文字単位に
検切した筆跡データ群を、階層的に記憶している。階層
は、1行単位の筆跡データからなる行データ201、2
02、…と、1文字単位の筆跡データからなる文字デー
タ209、210、…と、1筆跡データからなる筆跡デ
ータ216、217、…との階層からなる。図中におい
て矢印は、ポインタ情報で連結されていることを示し、
破線で示す矢印は、ポインタが指す先を省略しているこ
とを表す。The character inspection means 4 inspects the received handwriting data group character by character and line by character, and the character data storage means 5
Notify the handwriting data, character delimiters, and line delimiters to. A conventional technique is used for the method of inspecting the handwriting data group for each character or each line. The character data storage unit 5 stores the handwriting data group cut out in character units by the character checking unit 4 and a character circumscribing rectangle that is a rectangle that includes the entire handwriting data group in association with each other as character data. Further, the character inspection means 4 stores a collection of character data which is inspected line by line as line data and stores it as line data in line units. Specifically, FIG. 2 shows an example of the stored contents of the character data storage means 5. Here, the handwriting data group cut out line by line and character by line by the character cutoff unit 4 is hierarchically stored. The hierarchy is line data 201 and 2 composed of line-by-line handwriting data.
, ..., character data 209, 210, ... composed of handwriting data in units of one character, and handwriting data 216, 217 ,. In the figure, the arrow indicates that the pointer information is connected,
An arrow indicated by a broken line indicates that the point pointed by the pointer is omitted.
【0028】行データ201において、外接矩形情報2
04は、当該行データに属する全ての筆跡データを内包
する行外接矩形の情報であり、一般的には矩形の左上角
の座標データと、右下角の座標データ、つまり対角の座
標データによって表現される。文字数205は、当該行
データに属する文字データ数の情報である。文字データ
へのポインタ206は、当該行データに属する文字デー
タ群の先頭へのポインタ情報である。前行へのポインタ
207は、複数行データがある場合の、前行データへの
ポインタ情報である。当該行データが行データ群の先頭
である場合、値はセットされない。次行データへのポイ
ンタ208は、複数行データがある場合の、次行データ
へのポインタ情報である。当該行データが行データ群の
最後尾である場合、値はセットされない。In the row data 201, the circumscribed rectangle information 2
Reference numeral 04 is information about a line circumscribing rectangle that encloses all handwriting data belonging to the line data, and is generally expressed by coordinate data of the upper left corner of the rectangle and coordinate data of the lower right corner of the rectangle, that is, diagonal coordinate data. To be done. The number of characters 205 is information on the number of character data items belonging to the line data. The pointer 206 to the character data is pointer information to the head of the character data group belonging to the line data. The pointer 207 to the preceding line is pointer information to the preceding line data when there are plural lines of data. If the row data is at the beginning of the row data group, no value is set. The pointer 208 to the next line data is pointer information to the next line data when there is a plurality of lines of data. If the row data is at the end of the row data group, no value is set.
【0029】文字データ209において、外接矩形情報
211は、当該文字データに属する全ての筆跡データを
内包する文字外接矩形の情報である。筆跡データ数21
2は、当該文字データに属する筆跡データ数の情報であ
る。筆跡データへのポインタ213は、当該文字データ
に属する筆跡データ群の先頭へのポインタ情報である。
前文字データへのポインタ214は、1行データ中に複
数文字データがある場合の、前文字データへのポインタ
情報である。当該文字データが文字データ群の先頭であ
る場合、値はセットされない。次文字データへのポイン
タ215は、複数文字データがある場合の、次文字デー
タへのポインタ情報である。当該文字データが文字デー
タ群の最後尾である場合、値はセットされない。In the character data 209, the circumscribing rectangle information 211 is information on a circumscribing rectangle of a character that includes all handwriting data belonging to the character data. 21 handwriting data
2 is information on the number of handwriting data belonging to the character data. The pointer 213 to the handwriting data is pointer information to the head of the handwriting data group belonging to the character data.
The pointer 214 to the previous character data is pointer information to the previous character data when there is a plurality of character data in one line data. If the character data is at the beginning of the character data group, no value is set. The pointer 215 to the next character data is pointer information to the next character data when there is a plurality of character data. If the character data is at the end of the character data group, no value is set.
【0030】筆跡データ216において、座標点数21
8は、当該筆跡データ中の座標データ数の情報である。
次筆跡データへのポインタ219は、1文字データ中に
複数筆跡データが存在する場合の、次筆跡データへのポ
インタ情報である。当該筆跡データが筆跡データ群の最
後尾である場合、値はセットされない。座標データ群2
20は、筆跡データを構成する座標データの集まりであ
る。画面上に筆跡を描画する場合は、この座標データ間
を直線等で補間することにより、一本の筆跡を表示す
る。なお、1筆跡データ中の座標データ数は可変であ
る。In the handwriting data 216, the number of coordinate points is 21.
8 is information on the number of coordinate data in the handwriting data.
The pointer 219 to the next handwriting data is pointer information to the next handwriting data when plural pieces of handwriting data exist in one character data. If the handwriting data is at the end of the handwriting data group, no value is set. Coordinate data group 2
Reference numeral 20 is a collection of coordinate data that constitutes handwriting data. When a handwriting is drawn on the screen, one handwriting is displayed by interpolating the coordinate data with a straight line or the like. The number of coordinate data in one handwriting data is variable.
【0031】選択領域作成手段6は、編集モード時に手
書きデータ入力手段1から入力された選択範囲指示を受
け取り、文字を選択するための領域である選択範囲領域
を作成する。具体的には以下の通りである。例えば先ず
ペン型指示装置によって書かれた×印や囲み線等の筆跡
データを受けとる。受け取った筆跡データが×印の場合
は、×印のx座標における最大値と最小値及びy座標に
おける最大値と最小値とに基づいて定められる矩形を選
択範囲領域とする。受け取った筆跡データが囲み線の場
合は、閉曲線で囲まれた領域を選択範囲領域とすること
も可能である。本実施例の説明では、選択範囲領域は前
者の矩形を用いる。The selection area creating means 6 receives the selection range instruction input from the handwriting data input means 1 in the edit mode, and creates a selection area area which is an area for selecting characters. Specifically, it is as follows. For example, first, handwriting data such as an X mark and a surrounding line written by a pen type pointing device is received. When the received handwriting data is the x mark, a rectangle defined based on the maximum value and the minimum value of the x mark at the x coordinate and the maximum value and the minimum value of the y coordinate is set as the selection range area. When the received handwriting data is an enclosing line, it is possible to set the area surrounded by the closed curve as the selection range area. In the description of this embodiment, the former rectangle is used as the selection range area.
【0032】対象選択割合/選択範囲割合算出手段7
は、後述する対象選択判断手段8の指示により、対象選
択割合や選択範囲割合を算出し対象選択判断手段8に通
知する。ここで対象選択割合は、文字データ記憶手段5
に記憶されている検査対象の文字データに関連付けられ
た文字外接矩形と前記選択範囲領域との重なる面積を、
文字外接矩形の面積で除した値である。同様に選択範囲
割合は、文字外接矩形と前記選択範囲領域との重なる面
積を選択範囲領域の面積で除した値である。また検査対
象が行データや筆跡データの場合は、行データや筆跡デ
ータについても対象選択割合を求める。Target selection ratio / selection range ratio calculation means 7
The target selection determination unit 8 calculates the target selection ratio and the selection range ratio according to an instruction from the target selection determination unit 8 described later, and notifies the target selection determination unit 8. Here, the target selection ratio is the character data storage means 5
The overlapping area of the character circumscribing rectangle associated with the character data to be inspected stored in
It is the value divided by the area of the rectangle circumscribing the character. Similarly, the selection range ratio is a value obtained by dividing the overlapping area of the character circumscribing rectangle and the selection range area by the area of the selection range area. If the inspection target is line data or handwriting data, the target selection ratio is also obtained for the line data or handwriting data.
【0033】対象選択判断手段8は、文字データ記憶手
段5に記憶されている全ての文字データに対して順次検
査を行ない、当該検査対象となっている検査文字データ
を選択するか、選択しないか、あるいは部分文字に分割
するかを判断する。さらに検査文字データを選択すると
判断した場合は、検査文字を後述する編集対象選択バッ
ファ12に格納し、選択しないと判断した場合は、文字
データ記憶手段5に記憶されている次の文字データを検
査し、部分文字に分割すると判断した場合は後述する部
分文字分割手段10を起動する。この選択するか、しな
いか、あるいは部分文字に分割するかの判断は、前記対
象選択割合/選択範囲割合算出手段7から受け取った対
象選択割合をもとに判断する。詳細は図3に示すフロー
チャートに示し、後述する動作のところで説明する。The object selection judgment means 8 sequentially inspects all the character data stored in the character data storage means 5 and selects whether or not the inspection character data to be inspected is selected. , Or whether to divide into partial characters. When it is determined that the inspection character data is further selected, the inspection character is stored in the edit target selection buffer 12 described later, and when it is determined that the inspection character data is not selected, the next character data stored in the character data storage means 5 is inspected. However, when it is determined that the character is divided into the partial characters, the partial character dividing means 10 to be described later is activated. Whether to select, not to select, or to divide into partial characters is determined based on the target selection ratio received from the target selection ratio / selection range ratio calculation means 7. The details are shown in the flowchart shown in FIG. 3, and will be described later in the operation.
【0034】座標投影データ記憶部9は、後述する部分
文字分割手段10が検査文字データを部分文字に分割す
る際に一時作成する座標投影データを記憶する。当該座
標投影データは、文字データに属する筆跡データ群から
抽出されたデータであり、各筆跡データに対応する。具
体的には座標投影データの一例としては図6に示すよう
に、投影座標最小値MIN604と、投影座標最大値M
AX605と、前座標投影データへのポインタ606
と、次座標投影データへのポインタ607との要素から
なるものがあげられる。ここで矢印はポインタ情報で連
結されていることを示し、破線矢印は以降の情報を省略
していることを意味する。投影座標最小値MIN604
は、筆跡データ内の座標データをX軸もしくはY軸に投
影して得られる値のうち最小値のものである。具体的に
はX軸に投影して得られる投影座標最小値MINは、当
該座標データのうち最小値をとるX軸成分の値である。
同様にY軸に投影して得られる投影座標最小値MIN
は、当該座標データのうち最小値をとるY軸成分の値で
ある。投影座標最大値MAX605は、筆跡データ内の
座標データをX軸もしくはY軸に投影して得られる値の
うち最大値のものである。具体的にはX軸に投影して得
られる投影座標最大値MAXは、当該座標データのうち
最大値をとるX軸成分の値である。これらの投影座標最
小値MIN604や投影座標最大値MAX605は、部
分文字に分割される文字データが横書きの行データに属
していれば筆跡データを構成する座標データのうちX座
標値の最小値と最大値がセットされ、縦書きの場合はY
座標値の最小値と最大値がセットされる。前座標投影デ
ータへのポインタ606は、座標投影データが複数存在
する場合に、一つ前の座標投影データへのポインタ情報
である。次座標投影データへのポインタ607は、座標
投影データが複数存在する場合に、一つ後の座標投影デ
ータへのポインタ情報である。これら前座標投影データ
へのポインタ606と次座標投影データへのポインタ6
07は、新たな座標投影データを作成するときや、座標
投影データを破棄する場合や、連結順序を入れ換えると
きに更新される。新たな座標投影データの作成時には一
番後ろの座標投影データの後ろに連結され、座標投影デ
ータを破棄する時には前後の座標投影データのポインタ
が連結される。The coordinate projection data storage unit 9 stores coordinate projection data temporarily created when the partial character dividing means 10 described later divides the inspection character data into partial characters. The coordinate projection data is data extracted from the handwriting data group belonging to the character data and corresponds to each handwriting data. Specifically, as an example of the coordinate projection data, as shown in FIG. 6, the projection coordinate minimum value MIN 604 and the projection coordinate maximum value M
AX 605 and pointer 606 to front coordinate projection data
And a pointer 607 to the next coordinate projection data. Here, the arrow indicates that the pointer information is connected, and the broken arrow means that the subsequent information is omitted. Minimum projection coordinates MIN604
Is the minimum value of the values obtained by projecting the coordinate data in the handwriting data on the X axis or the Y axis. Specifically, the projection coordinate minimum value MIN obtained by projecting on the X axis is the value of the X axis component having the minimum value in the coordinate data.
Similarly, the minimum projection coordinate value MIN obtained by projecting on the Y axis
Is the value of the Y-axis component that takes the minimum value in the coordinate data. The maximum projected coordinate value MAX 605 is the maximum value among the values obtained by projecting the coordinate data in the handwriting data on the X axis or the Y axis. Specifically, the projected coordinate maximum value MAX obtained by projecting on the X axis is the value of the X axis component having the maximum value in the coordinate data. The minimum projected coordinate value MIN604 and the maximum projected coordinate value MAX605 are the minimum and maximum values of the X coordinate value of the coordinate data forming the handwriting data if the character data divided into the partial characters belongs to the horizontal line data. A value is set, Y for vertical writing
The minimum and maximum coordinate values are set. The pointer 606 to the previous coordinate projection data is pointer information to the previous coordinate projection data when there are a plurality of coordinate projection data. The pointer 607 to the next coordinate projection data is pointer information to the next coordinate projection data when there are a plurality of coordinate projection data. A pointer 606 to the previous coordinate projection data and a pointer 6 to the next coordinate projection data
07 is updated when new coordinate projection data is created, when the coordinate projection data is discarded, or when the connection order is changed. When the new coordinate projection data is created, it is connected after the last coordinate projection data, and when the coordinate projection data is discarded, the pointers of the front and rear coordinate projection data are connected.
【0035】部分文字分割手段10は、対象選択判断手
段8で部分文字に分割すると判断された検査文字データ
を部分文字に分割し、対象選択判断手段8に対し分割し
た部分文字データを通知する。部分文字への分割は、具
体的には図7、図8に示すフローに従って行われる。以
下当該フローを概説する。先ず検査文字に属する筆跡デ
ータ群に基づいて、図6に示す座標投影データを作成す
る(ステップS411〜ステップS418)。次に作成
した座標投影データを投影座標最小値MINの昇順にソ
ートする(ステップS419)。検査座標投影データの
範囲と次座標投影データ範囲とが重なるか否かを判断す
る(ステップS420〜ステップS422)。ここで座
標投影データの範囲とは、投影座標最小値MINから投
影座標最大値MAXまでの値の範囲である。重なる場合
は、検査座標投影データの投影座標最大値MAXの値を
次投影データ最大値MAXの値で更新する。さらに次座
標投影データを削除する(ステップS423)。このよ
うにして、座標投影データの範囲が重なる場合は、検査
座標投影データと次座標投影データを連結して行く。次
に、連結された一の座標投影データの範囲に属する筆跡
データ群を連結し、一の部分文字データとする(ステッ
プS425〜ステップS427)。これをすべての座標
投影データに対して行う(ステップS428、ステップ
S430)。このようにして、検査文字データを部分文
字に分割する。さらに詳細には、後述する動作のところ
で説明する。The partial character dividing means 10 divides the inspection character data which the object selection judging means 8 judges to be divided into partial characters into partial characters, and notifies the object selection judging means 8 of the divided partial character data. The division into the partial characters is specifically performed according to the flows shown in FIGS. 7 and 8. The flow will be outlined below. First, the coordinate projection data shown in FIG. 6 is created based on the handwriting data group belonging to the inspection character (steps S411 to S418). Next, the created coordinate projection data is sorted in ascending order of the projection coordinate minimum value MIN (step S419). It is determined whether or not the range of the inspection coordinate projection data and the range of the next coordinate projection data overlap (step S420 to step S422). Here, the range of the coordinate projection data is a range of values from the minimum projection coordinate value MIN to the maximum projection coordinate value MAX. If they overlap, the value of the maximum projection coordinate value MAX of the inspection coordinate projection data is updated with the value of the maximum next projection data value MAX. Further, the secondary coordinate projection data is deleted (step S423). In this way, when the ranges of the coordinate projection data overlap, the inspection coordinate projection data and the next coordinate projection data are linked. Next, the handwriting data group belonging to the range of the combined one piece of coordinate projection data is combined into one piece of partial character data (steps S425 to S427). This is performed for all coordinate projection data (steps S428 and S430). In this way, the inspection character data is divided into partial characters. Further details will be described in the operation described later.
【0036】部分文字再構成手段11は、対象選択判断
手段8において部分文字単位で選択が行なわれた場合
に、選択された部分文字群を再構成して1の文字データ
を作成し、かつ選択されなかった部分文字群も再構成し
て他の1の文字データを作成する。作成した文字データ
は文字データ記憶手段5に通知する。編集対象選択バッ
ファ12は、対象選択判断手段8で選択された文字デー
タを格納する。但し、格納された文字データが、さらに
後述する編集手段13によって編集処理を施された場合
は、文字データ記憶手段5に通知して記憶している文字
データの内容を更新する。例えば、図9の(d)におい
て、文字データ819が編集対象選択バッファ12に格
納されたのちに削除の編集処理が施された場合は、文字
データ記憶手段5の内容を文字データ819が削除され
るように更新する。また、部分文字分割手段10が分割
した部分文字を格納する部分文字バッファを内部に有す
る。The partial character reconstructing means 11 reconstructs the selected partial character group to create one character data when the object selection judging means 8 makes a selection in the unit of partial characters, and selects it. The partial character group that has not been created is also reconstructed to create another character data. The created character data is notified to the character data storage means 5. The edit target selection buffer 12 stores the character data selected by the target selection determination means 8. However, when the stored character data is further edited by the editing means 13 which will be described later, the content of the stored character data is updated by notifying the character data storage means 5. For example, in FIG. 9D, when the edit processing for deletion is performed after the character data 819 is stored in the edit target selection buffer 12, the content of the character data storage means 5 is deleted. To update. Further, it has a partial character buffer for storing the partial characters divided by the partial character dividing means 10.
【0037】編集手段13は、編集モード時に使用者の
指示によって編集対象選択バッファ12に格納された文
字データの削除、移動などの編集を行なう。この手段は
従来から用いられているものを使用する。表示手段14
は、筆跡描画データ作成手段3から筆跡描画データを受
け取り、画面上に筆跡を表示する。例えばタブレット装
置と一体となった液晶ディスプレイ装置などで実現され
る。The editing means 13 performs editing such as deletion and movement of the character data stored in the edit target selection buffer 12 according to a user's instruction in the edit mode. As this means, those conventionally used are used. Display means 14
Receives the handwriting drawing data from the handwriting drawing data creating means 3 and displays the handwriting on the screen. For example, it is realized by a liquid crystal display device integrated with a tablet device.
【0038】以上のように構成された手書き文字選択装
置について、図3、図4、図5、及び図7、図8のフロ
ーチャート、並びに図9を用いて文字選択の動作を説明
する。図9(a)は、使用者は「松」「竹」「梅」の3
文字を入力したが、当該文字選択装置は、切り出しに失
敗し、文字データ802と文字データ803に示すよう
に2文字として認識している状態で、使用者が「松」の
文字を削除すべく「×」のジェスチャーにて選択範囲領
域804を指定していることを示している。当該選択範
囲領域804は、範囲指定が不完全であり、「松」の文
字の上端部が選択範囲領域からはみ出していることが分
かる。また行データ801は、文字データ802、文字
データ803からなる。The character selection operation of the handwritten character selection device configured as described above will be described with reference to the flowcharts of FIGS. 3, 4, 5, 7, and 8 and FIG. In Fig. 9 (a), the user has three choices: "pine", "bamboo", and "ume".
Although a character has been input, the character selection device fails to cut it out, and while the character selection device recognizes it as two characters as shown in the character data 802 and the character data 803, the user should delete the character "pine". This indicates that the selection range area 804 is designated by the “x” gesture. It can be seen that the selection range area 804 is incompletely specified and the upper end of the character "pine" is out of the selection range area. The line data 801 is composed of character data 802 and character data 803.
【0039】なお、説明の簡略化のために、文字データ
記憶手段5で記憶されているデータは、行データ801
を構成するもの以外は存在しないものとする。図3にお
いて、先ず管理されている行データの先頭である801
を検査行とする(ステップS301)。次に検査行に対
する対象選択割合を算出する(ステップS302)。算
出された対象選択割合は、行データ801の外接矩形と
選択範囲領域804とが重なっていることより0以上で
あるので(ステップS303)、検査行を構成する文字
群の先頭を検査文字とする(ステップS304)。具体
的には、文字データ802を検査文字とする。対象選択
基準値として0.9をセットし、検査文字に対する対象
選択割合を算出する(ステップS305、ステップS3
06)。ここで算出される対象選択割合は、文字データ
802の外接矩形と選択範囲領域804との重なる領域
を文字データ802の外接矩形で除したものであるの
で、0以上ではあるが(ステップS307)、明らかに
0.9以下である(ステップS308)。従って図4に
示すサブルーチン部分文字選択判断処理を行う(ステッ
プS309)。For simplification of description, the data stored in the character data storage means 5 is the line data 801.
There shall be nothing other than what constitutes a. In FIG. 3, the head 801 of the row data that is managed first
Is an inspection line (step S301). Next, the target selection ratio for the inspection row is calculated (step S302). Since the calculated target selection ratio is 0 or more because the circumscribed rectangle of the line data 801 and the selection range area 804 overlap (step S303), the head of the character group forming the check line is set as the check character. (Step S304). Specifically, the character data 802 is used as the inspection character. 0.9 is set as the target selection reference value, and the target selection ratio for the inspection character is calculated (steps S305 and S3).
06). The target selection ratio calculated here is 0 or more because the area where the circumscribing rectangle of the character data 802 and the selection range area 804 overlap is divided by the circumscribing rectangle of the character data 802 (step S307). It is clearly 0.9 or less (step S308). Therefore, the subroutine partial character selection determination process shown in FIG. 4 is performed (step S309).
【0040】以下図4に示すサブルーチン部分文字選択
判断処理において、先ず、サブルーチン部分文字分割処
理を行う(ステップS315)。ここでサブルーチン部
分文字分割処理は本発明の特徴となる部分であるが後述
する。図9(c)における部分文字816、817、8
18は、当該サブルーチン部分文字分割処理によって文
字データ802を部分文字に分割した結果である。次
に、対象選択基準値に0.7にセットし、かつ検査部分
文字にサブルーチン部分文字分割処理で得られた部分文
字群の先頭である部分文字816を設定する(ステップ
S316)。検査部分文字816の対象選択割合を算出
し、その算出した対象選択割合が対象選択基準値以上で
あるかどうかを判断する(ステップS317、ステップ
S318)。この場合、図9(c)に示されるように、
部分文字816の外接矩形に対して選択領域804の重
なる範囲は7割以上であり対象選択割合は0.7以上と
なるので、当該検査部分文字816を部分文字選択バッ
ファに格納する(ステップS319)。次に対象選択基
準値を0.7から0.6に引き下げる(ステップS32
0)。これによって、同一文字データ内の他の部分文字
に対して選択する際の基準を緩くし、他の部分文字を選
択しやすくしている。次に検査部分文字816の次の部
分文字817が存在するので、検査部分文字として部分
文字817を設定する(ステップS321、ステップS
322)。前回と同様に処理を行い、算出した対象選択
割合は0.6以上であるので(ステップS317、ステ
ップS318)、部分文字817も部分文字バッファに
格納する(ステップS319、ステップS320)。さ
らに次の部分文字818に対しても同様の処理を行なう
が、検査部分文字が818の場合は、選択領域804と
重なっていないため、ステップS317で算出される対
象選択割合は0となる(ステップS321、ステップS
322、ステップS317)。従って対象選択割合は対
象選択基準値である0.6より小さいので(ステップS
318)、選択範囲割合を算出する(ステップS32
3)。算出される選択範囲割合は、重なっている部分が
ないため0となる。次に選択範囲基準値を算出する(ス
テップS324)。選択範囲基準値は、選択範囲領域の
幅と高さのうち大きい方をmax、小さい方をmimと
すると以下のように算出される。In the subroutine partial character selection determination process shown in FIG. 4 below, first, a subroutine partial character division process is performed (step S315). Here, the subroutine partial character division process is a feature of the present invention, and will be described later. Partial characters 816, 817, 8 in FIG.
18 is a result of dividing the character data 802 into partial characters by the subroutine partial character dividing process. Next, the target selection reference value is set to 0.7, and the inspection partial character is set to the partial character 816 which is the head of the partial character group obtained by the subroutine partial character division processing (step S316). The target selection ratio of the inspection partial character 816 is calculated, and it is determined whether the calculated target selection ratio is greater than or equal to the target selection reference value (step S317, step S318). In this case, as shown in FIG.
Since the range in which the selection area 804 overlaps the circumscribed rectangle of the partial character 816 is 70% or more and the target selection ratio is 0.7 or more, the inspection partial character 816 is stored in the partial character selection buffer (step S319). . Next, the target selection reference value is reduced from 0.7 to 0.6 (step S32
0). This loosens the reference when selecting other partial characters in the same character data, and makes it easier to select other partial characters. Next, since there is a partial character 817 next to the inspection partial character 816, the partial character 817 is set as the inspection partial character (step S321, step S321).
322). The same processing as the previous time is performed, and the calculated target selection ratio is 0.6 or more (steps S317 and S318), so the partial character 817 is also stored in the partial character buffer (steps S319 and S320). Further, similar processing is performed on the next partial character 818. However, when the inspection partial character is 818, it does not overlap with the selection area 804, so the target selection ratio calculated in step S317 is 0 (step S317). S321, step S
322, step S317). Therefore, the target selection ratio is smaller than 0.6 which is the target selection reference value (step S
318) and the selection range ratio is calculated (step S32).
3). The calculated selection range ratio is 0 because there is no overlapping portion. Next, the selection range reference value is calculated (step S324). The selection range reference value is calculated as follows, where the larger one of the width and height of the selection range region is max and the smaller one is mim.
【0041】 選択範囲基準値=min÷max×0.8 この場合選択範囲領域804は若干横長な形状のため、
選択範囲基準値は0.7程度になる。ここで選択範囲割
合は0であるので、算出した選択範囲基準値より小さい
と判断する(ステップS325)。また、ステップS3
26へ進むのは、選択範囲割合が算出した選択範囲基準
値よりも大きいときである。その場合は筆跡単位の選択
処理であるサブルーチン筆跡選択処理が起動されること
になる。当該サブルーチン筆跡選択処理については後述
する。Selection range reference value = min ÷ max × 0.8 In this case, since the selection range region 804 has a slightly laterally long shape,
The selection range reference value is about 0.7. Since the selection range ratio is 0 here, it is determined that it is smaller than the calculated selection range reference value (step S325). Step S3
The process proceeds to 26 when the selection range ratio is larger than the calculated selection range reference value. In that case, a subroutine handwriting selection process, which is a selection process in units of handwriting, is started. The subroutine handwriting selection processing will be described later.
【0042】次に検査部分文字818の次の部分文字は
存在しないので(ステップS321)、部分文字選択バ
ッファを調べ、部分文字816と817が存在するの
で、これらを一つの文字データ819として再構成して
文字データ記憶手段5に通知し、その文字データを編集
対象選択バッファ12に格納する(ステップS32
7)。再構成された文字データ819は、図9(d)に
示される。一方、選択されなかった部分文字818を文
字データ820として再構成し、文字データ記憶手段5
に通知する(ステップS328)。再構成された文字デ
ータ820は、図9(d)に示される。以上でサブルー
チン部分文字選択判断処理を終了するので、ステップS
311に制御が戻る。Next, since the next partial character of the inspection partial character 818 does not exist (step S321), the partial character selection buffer is checked, and since the partial characters 816 and 817 exist, they are reconstructed as one character data 819. Then, the character data storage means 5 is notified and the character data is stored in the edit target selection buffer 12 (step S32).
7). The reconstructed character data 819 is shown in FIG. On the other hand, the partial character 818 not selected is reconstructed as the character data 820, and the character data storage means 5
(Step S328). The reconstructed character data 820 is shown in FIG. This is the end of the subroutine partial character selection determination process, so step S
Control returns to 311.
【0043】ステップS311では、検査文字802の
次に記憶されている文字データがあるかどうか判断す
る。この場合、文字データ803が存在するので、検査
文字に文字データ803を設定する(ステップS31
2)。図9(a)に示すように選択範囲領域804と検
査文字803は重なっていないので、対象選択割合は0
となる(ステップS305〜ステップS307)。従っ
て、ステップS311に進み、検査文字803の次には
文字データが存在していないので、さらに検査行の次に
行データがあるか判断する(ステップS313)。検査
行801の他に行データが存在しないので、文字選択判
断処理を終了する。In step S311, it is determined whether or not there is character data stored next to the check character 802. In this case, since the character data 803 exists, the character data 803 is set as the inspection character (step S31).
2). As shown in FIG. 9A, since the selection range area 804 and the inspection character 803 do not overlap, the target selection ratio is 0.
(Steps S305 to S307). Therefore, the process proceeds to step S311, and since character data does not exist after the inspection character 803, it is determined whether there is line data next to the inspection line (step S313). Since there is no line data other than the inspection line 801, the character selection determination process ends.
【0044】その後、編集手段13が起動される。編集
手段13は、編集対象選択バッファ12内に文字データ
819が存在するので、文字データ819に対して削除
編集を行ない、文字データ記憶手段5に通知する。文字
データ記憶手段5は、文字データ819の削除の通知を
受け、筆跡描画データ作成手段3に対して文字データ8
19を削除したのちの筆跡描画データ作成を指示し、表
示手段14に表示することによって、図9(e)のよう
な編集結果を得る。After that, the editing means 13 is activated. Since the character data 819 exists in the edit target selection buffer 12, the editing means 13 deletes and edits the character data 819 and notifies the character data storage means 5. The character data storage means 5 is notified of the deletion of the character data 819, and sends the character data 8 to the handwriting drawing data creation means 3.
By instructing to create handwriting drawing data after deleting 19, and displaying on the display means 14, an editing result as shown in FIG. 9E is obtained.
【0045】次にサブルーチン部分文字分割処理につい
て、図7、図8のフロー図及び文字データ802を用い
て説明する。当該サブルーチン部分文字分割処理は、図
4に示すサブルーチン部分文字選択判断処理のステップ
S315で起動されたサブルーチンである。検査文字が
文字データ802であるとすると、先ず検査文字802
が属する行データ801の書かれた方向を判定する(ス
テップS411)。この場合、行データ801の外接矩
形の形状が横長であり、また文字データ802と文字デ
ータ803も横並びであるため、横書きであると判断す
る。次に座標投影データ数と部分文字データ数とに検査
文字802の筆跡データ数を設定し、さらに検査筆跡に
検査文字を構成する先頭の筆跡データを設定する(ステ
ップS412、ステップS413)。この場合、検査文
字802は図9(b)に示すように筆跡データ805〜
815の11個から構成されているので、共に11に設
定する。検査筆跡には、検査文字802の先頭の筆跡デ
ータ805を設定する。既にステップS411で行デー
タ801が横書きであると判定されているので、図6に
示す座標投影データ601を一つ作成し、投影座標最小
値MIN604に検査筆跡である筆跡データ805のX
座標データ最小値を設定し、投影座標最大値MAX60
5に筆跡データ805のX座標データの最大値を設定す
る(ステップS415)。この時点で座標投影データは
座標投影データ601一つだけであるので、座標投影デ
ータのポインタ606、607には何もセットされない
が、これ以降に他の座標投影データが作成される時に
は、ポインタ情報がセットされて座標投影データのリス
トが作成される。次に、文字データ802に属する検査
筆跡805の次の筆跡データがあるかどうかを判断する
(ステップS417)。この場合、筆跡データ806が
存在するので、同様に次の座標投影データ602を作成
する(ステップS414〜ステップS418)。次の筆
跡データがなくなるまで上記処理を繰り返す(ステップ
S414〜ステップS418)。すると各筆跡データに
対応する11個の座標投影データが作成される。以降の
説明のために、筆跡データ805〜815に対応する座
標投影データをP805〜P815と呼ぶ。Next, the subroutine partial character division processing will be described with reference to the flow charts of FIGS. 7 and 8 and the character data 802. The sub-routine partial character division process is a subroutine started in step S315 of the sub-routine partial character selection determination process shown in FIG. If the inspection character is the character data 802, first, the inspection character 802
The writing direction of the row data 801 to which the is written is determined (step S411). In this case, the shape of the circumscribed rectangle of the line data 801 is horizontally long, and the character data 802 and the character data 803 are also horizontally arranged, so it is determined to be horizontal writing. Next, the number of handwriting data of the inspection character 802 is set to the number of coordinate projection data and the number of partial character data, and further the leading handwriting data forming the inspection character is set to the inspection handwriting (steps S412 and S413). In this case, the inspection character 802 is the handwriting data 805 to 805 as shown in FIG.
Since it is composed of 11 pieces of 815, both are set to 11. In the inspection handwriting, the handwriting data 805 at the head of the inspection character 802 is set. Since it is already determined in step S411 that the line data 801 is horizontal writing, one piece of coordinate projection data 601 shown in FIG. 6 is created, and the X of the handwriting data 805 which is the inspection handwriting is created in the minimum projected coordinate MIN604.
Set the minimum coordinate data and set the maximum projected coordinate MAX60.
5 is set to the maximum value of the X coordinate data of the handwriting data 805 (step S415). Since there is only one piece of coordinate projection data 601 at this point, nothing is set in the pointers 606 and 607 of the coordinate projection data, but when other coordinate projection data is created thereafter, pointer information Is set and a list of coordinate projection data is created. Next, it is determined whether or not there is handwriting data next to the inspection handwriting 805 belonging to the character data 802 (step S417). In this case, since the handwriting data 806 exists, the next coordinate projection data 602 is similarly created (steps S414 to S418). The above process is repeated until there is no more handwriting data (step S414 to step S418). Then, eleven coordinate projection data corresponding to each handwriting data are created. For the following description, the coordinate projection data corresponding to the handwriting data 805 to 815 will be referred to as P805 to P815.
【0046】次に作成した座標投影データリストを投影
座標最小値MINの小さい順に並べ替える(ステップS
419)。例えば、座標投影データP810は座標投影
データP811よりも先に作成され、リスト上でも作成
順に並んでいるが、投影座標最小値MINはP811の
方が小さくなるので、リスト上の順序を入れ換えること
になる。全ての座標投影データの投影座標最小値MIN
を検査して順序を入れ換えると、P807、P805、
P806、P808、P811、P809、P810、
P812、P813、P814、P815の順に座標投
影データが並ぶことになる。Next, the created coordinate projection data list is sorted in ascending order of the minimum projection coordinate value MIN (step S).
419). For example, the coordinate projection data P810 is created before the coordinate projection data P811, and is arranged in the order of creation on the list, but the projection coordinate minimum value MIN is smaller in P811, so the order in the list should be changed. Become. Minimum projection coordinate value MIN of all coordinate projection data
Are checked and the order is changed, P807, P805,
P806, P808, P811, P809, P810,
The coordinate projection data are arranged in the order of P812, P813, P814, and P815.
【0047】次に座標投影データリストの先頭を検査投
影データにセットする(ステップS420)。この場
合、筆跡データ807に対応する座標投影データP80
7がセットされる。検査投影データP807の次の座標
投影データが存在するか否か判断する(ステップS42
1)。この場合、次の座標投影データ805が存在する
ので、検査投影データP807が持つ投影座標最小値M
IN(以下MIN値という。)と投影座標最大値MAX
(以下MAX値という。)の範囲と、次の座標投影デー
タP805が持つMIN値とMAX値との範囲が重なっ
ているかどうかを判断する(ステップS422)。P8
07のMAX値>P805のMIN値であるから重なっ
ていると判断する。重なっていると判断された場合は、
検査投影データP807のMAX値を、座標投影データ
P807のMAX値と次座標投影データ805のMAX
値のうち大きい方、この場合はP805のMAX値で更
新する。さらに座標投影データP805を座標投影デー
タリストから削除し、部分文字データ数を1だけデクリ
メントする(ステップS423)。これによって、座標
投影データP807とP805は範囲が重なっているの
で連結され、一つの座標投影データになる。同様に処理
を繰り返し(ステップS421〜ステップS423)、
座標投影データP808までP805に連結する。P8
08が削除され(ステップS423)、検査投影データ
の次の座標投影データがP811になった時、検査投影
データの範囲とP811の範囲とが重なっていないので
(ステップS422)、検査投影データに座標投影デー
タP811を設定する。ここまでの処理で、座標投影デ
ータP805に座標投影データP807、P805、P
806、P808が連結されている。さらに新たな検査
投影データP811についても同様な処理を繰り返す
(ステップS421〜ステップS423)。この処理に
より座標投影データP811に座標投影データP80
9、P810、P812が連結される。そして検査投影
データの次の座標投影データがP813になった時、検
査投影データ範囲とP813の範囲とは重なっていない
ので(ステップS422)、検査投影データに座標投影
データP813を設定し、さらに同様の処理を繰り返す
(ステップS421〜ステップS424)。この処理に
より座標投影データP813に、座標投影データP81
4、P815が連結される。P815が連結された時、
検査投影データの次の座標投影データが存在しなくなる
(ステップS421)。この時点で座標投影データはP
807に連結しているものと、P811に連結している
ものと、P813に連結しているものとの3つになって
いる。説明の便宜上これらの座標投影データをそれぞれ
PD1、PD2、PD3と呼ぶ。Next, the head of the coordinate projection data list is set to the inspection projection data (step S420). In this case, the coordinate projection data P80 corresponding to the handwriting data 807
7 is set. It is determined whether there is coordinate projection data next to the inspection projection data P807 (step S42).
1). In this case, since the next coordinate projection data 805 exists, the projection coordinate minimum value M of the inspection projection data P807 is
IN (hereinafter referred to as MIN value) and maximum projection coordinate value MAX
It is determined whether or not the range (hereinafter referred to as the MAX value) and the range of the MIN value and the MAX value of the next coordinate projection data P805 overlap (step S422). P8
Since the MAX value of 07> MIN value of P805, it is determined that they overlap. If it is determined that they overlap,
The MAX value of the inspection projection data P807 is set to the MAX value of the coordinate projection data P807 and the MAX value of the next coordinate projection data 805.
The larger of the values, in this case the MAX value of P805 is updated. Further, the coordinate projection data P805 is deleted from the coordinate projection data list, and the number of partial character data is decremented by 1 (step S423). As a result, since the coordinate projection data P807 and P805 have overlapping ranges, they are linked to form one coordinate projection data. The same process is repeated (steps S421 to S423),
Coordinate projection data P808 to P805 are connected. P8
08 is deleted (step S423), and when the next coordinate projection data of the inspection projection data becomes P811, since the range of the inspection projection data and the range of P811 do not overlap (step S422), the coordinates are added to the inspection projection data. The projection data P811 is set. By the processing up to this point, the coordinate projection data P805 is added to the coordinate projection data P807, P805, P.
806 and P808 are connected. Similar processing is repeated for new inspection projection data P811 (steps S421 to S423). By this process, the coordinate projection data P811 is converted into the coordinate projection data P80.
9, P810 and P812 are connected. Then, when the next coordinate projection data of the inspection projection data becomes P813, the inspection projection data range and the range of P813 do not overlap (step S422), so the coordinate projection data P813 is set in the inspection projection data, and Is repeated (steps S421 to S424). By this processing, the coordinate projection data P813 is added to the coordinate projection data P81.
4, P815 are connected. When P815 is linked,
The coordinate projection data next to the inspection projection data does not exist (step S421). At this point, the coordinate projection data is P
There are three, one connected to 807, one connected to P811, and one connected to P813. For convenience of explanation, these coordinate projection data will be referred to as PD1, PD2, and PD3, respectively.
【0048】ステップS421で次の座標投影データが
存在しないと判断されたので、部分文字データ数だけ部
分文字用データを作成する(ステップS425)。この
部分文字用データは、文字データ209と同様のデータ
構造を持つ。部分文字データ数は3となっているので、
部分文字用データも3つ作成する。作成した部分文字用
データは816、817、818とする。さらに検査文
字を構成する筆跡群の先頭である筆跡データ805を検
査筆跡に設定する(ステップS426)。Since it is determined in step S421 that the next coordinate projection data does not exist, the partial character data is created by the number of partial character data (step S425). This partial character data has the same data structure as the character data 209. Since the number of partial character data is 3,
Three pieces of partial character data are also created. The created partial character data is 816, 817, and 818. Further, the handwriting data 805 which is the head of the handwriting group forming the inspection character is set as the inspection handwriting (step S426).
【0049】次に最終的に残った3つの座標投影データ
PD1、PD2、PD3のMIN、MAX値と、検査筆
跡のX座標データを比較し、作成した部分文字データに
検査筆跡を連結する(ステップS427)。具体的に
は、検査筆跡805のX座標データの範囲は、座標投影
データPD1のMINとMAXの間に存在するので、当
該検査筆跡805を部分文字用データ816に連結す
る。この場合、816には他に筆跡データが存在してい
ないので、816の筆跡データへのポインタに検査筆跡
805をセットする。以降816に筆跡データを連結す
る場合は、筆跡データへのポインタで参照される筆跡デ
ータ内の次筆跡データへのポインタに順次連結する。次
に部分文字用データ816の外接矩形情報を、筆跡デー
タ805の座標データが全て内包されるように更新し、
さらに筆跡データ数を1だけインクリメントする(ステ
ップS428)。検査筆跡805の次に筆跡データが記
憶されているかどうかを判断する。この場合、筆跡デー
タ806が存在するので新たに検査筆跡806とする
(ステップS429、ステップS430)。Next, the MIN and MAX values of the finally remaining three coordinate projection data PD1, PD2, PD3 are compared with the X coordinate data of the inspection handwriting, and the inspection handwriting is connected to the created partial character data (step S427). Specifically, since the range of the X coordinate data of the inspection handwriting 805 exists between MIN and MAX of the coordinate projection data PD1, the inspection handwriting 805 is connected to the partial character data 816. In this case, since there is no other handwriting data in 816, the inspection handwriting 805 is set to the pointer to the handwriting data in 816. When the handwriting data is connected to 816 thereafter, it is sequentially connected to the pointer to the next handwriting data in the handwriting data referred to by the pointer to the handwriting data. Next, the circumscribed rectangle information of the partial character data 816 is updated so that all the coordinate data of the handwriting data 805 is included,
Further, the number of handwriting data is incremented by 1 (step S428). It is determined whether handwriting data is stored next to the inspection handwriting 805. In this case, since the handwriting data 806 exists, it is newly set as the inspection handwriting 806 (steps S429 and S430).
【0050】次に同様に処理を行い、検査筆跡が筆跡デ
ータ815になるまで繰り返す(ステップS427〜S
430)。この様な処理を行った結果、筆跡データ80
5〜808は座標投影データPD1に包含されると判断
され、部分文字用データ816に連結される。筆跡デー
タ809〜812は、PD2に包含されると判断され、
部分文字用データ817に連結される。筆跡データ81
3〜815は、PD3に包含されると判断され、部分文
字用データ818に連結される。検査筆跡が筆跡データ
815になった時、サブルーチン部分文字分割処理を終
了し、サブルーチン部分文字選択判断処理に制御が戻
る。Next, the same processing is performed and repeated until the inspection handwriting becomes the handwriting data 815 (steps S427 to S427).
430). As a result of performing such processing, handwriting data 80
5 to 808 are determined to be included in the coordinate projection data PD1 and are connected to the partial character data 816. The handwriting data 809 to 812 are determined to be included in PD2,
It is linked to the partial character data 817. Handwriting data 81
3 to 815 are determined to be included in PD3 and are connected to the partial character data 818. When the inspection handwriting becomes the handwriting data 815, the subroutine partial character division processing ends, and the control returns to the subroutine partial character selection determination processing.
【0051】次に図5に示すサブルーチン筆跡選択処理
について説明する。当該サブルーチン筆跡選択処理は、
サブルーチン部分文字選択判断処理のステップS326
で起動される。先ず、検査筆跡に検査部分文字を構成す
る先頭筆跡データを設定する(ステップS328)。次
に当該検査筆跡を構成する座標データ情報を参照して検
査筆跡に外接する矩形を作成し、検査筆跡外接矩形と選
択範囲領域の重なる面積を検査筆跡外接矩形面積で除し
た値である対象選択割合を算出する(ステップS32
9)。算出した対象選択割合が対象選択基準値以上であ
るかどうかを判断し、対象選択基準値以上あれば検査筆
跡を筆跡選択バッファにセットする(ステップS33
3、ステップS331)。次に検査筆跡の次の筆跡デー
タがあるか否かを判断し(ステップS332)、次の筆
跡データがあれば検査筆跡に次の筆跡データを設定し
(ステップS333)、次の筆跡データがなくなるまで
同様の処理を繰り返す(ステップS329〜ステップS
333)。次の筆跡データがなくなれば、筆跡選択バッ
ファ内に筆跡データ群があれば、それらを一つの部分文
字として統合し、部分文字選択バッファにセットする
(ステップS334)。また選択されなかった筆跡デー
タを部分文字として再構成する(ステップS335)。
以上でサブルーチン筆跡選択処理を終了し、部分文字選
択判断処理のステップS321に制御を戻す。Next, the subroutine handwriting selection processing shown in FIG. 5 will be described. The subroutine handwriting selection process is
Step S326 of the subroutine partial character selection determination processing
Started by First, the leading handwriting data forming the inspection partial character is set in the inspection handwriting (step S328). Next, a rectangle that circumscribes the inspection handwriting is created by referring to the coordinate data information that composes the inspection handwriting, and the overlapping area of the inspection handwriting circumscribing rectangle and the selection range area is divided by the inspection handwriting circumscribing rectangular area. Calculate the ratio (step S32)
9). It is determined whether the calculated target selection ratio is equal to or higher than the target selection reference value, and if it is equal to or higher than the target selection reference value, the inspection handwriting is set in the handwriting selection buffer (step S33).
3, step S331). Next, it is judged whether or not there is handwriting data next to the inspection handwriting (step S332), and if there is the next handwriting data, the next handwriting data is set in the inspection handwriting (step S333), and the next handwriting data is lost. The same processing is repeated until (step S329 to step S329).
333). If there is no next handwriting data, if there is a handwriting data group in the handwriting selection buffer, these are integrated as one partial character and set in the partial character selection buffer (step S334). Further, the handwriting data not selected is reconstructed as a partial character (step S335).
Thus, the subroutine handwriting selection processing is completed, and the control is returned to step S321 of the partial character selection determination processing.
【0052】なお、文字データに対する対象選択基準値
を0.9、部分文字データに対する対象選択基準値を
0.7、一つでも部分文字が選択された時の部分文字に
対する対象選択基準値を0.6としたが、この値は任意
に使用者が指定する構成であってもよい。また、図4に
示すサブルーチン部分文字選択判断処理において、部分
文字が選択されたらその時から、対象選択基準値を0.
7から0.6に変更するようにしたが、その時からでな
く処理に先立ち最初に変更するようにしてもよい。具体
的には、処理に先立ち全ての部分文字の対象選択割合と
対象選択基準値0.7とを比較し、一つでも対象選択基
準値条件値よりも大きい部分文字が存在したら、対象選
択基準値を0.6に変更し、その後その変更された対象
選択基準値を用いて処理を行う。The target selection reference value for character data is 0.9, the target selection reference value for partial character data is 0.7, and the target selection reference value for a partial character when at least one partial character is selected is 0. However, this value may be arbitrarily specified by the user. In the subroutine partial character selection determination process shown in FIG. 4, when a partial character is selected, the target selection reference value is set to 0.
The number is changed from 7 to 0.6, but it may be changed first instead of from that time and prior to the processing. Specifically, prior to the processing, the target selection ratios of all the partial characters are compared with the target selection reference value of 0.7, and if any one of the partial characters is larger than the target selection reference value condition value, the target selection criterion is found. The value is changed to 0.6, and then the process is performed using the changed target selection reference value.
【0053】また、文字データ記憶手段5に記憶されて
いるデータを、行データ、文字データ、筆跡データの3
階層としたが、記憶する階層の数を制限するものではな
い。また、サブルーチン部分文字分割処理において、少
しでも重なる座標投影データを連結するとしたが、座標
投影データ同士の重なり具合を算出して、所定の値以上
の場合には連結する構成であっても良い。Further, the data stored in the character data storage means 5 is converted into line data, character data, and handwriting data.
Although the number of layers is set, the number of layers to be stored is not limited. Further, in the sub-partial character division processing, the coordinate projection data that overlaps as much as possible is connected, but the degree of overlap between the coordinate projection data may be calculated, and if it is equal to or larger than a predetermined value, it may be connected.
【0054】また、文字の外包図形を矩形としたが、文
字の形状によっては文字の外包図形として円形や多角形
を用いてもよい。Although the envelope figure of the character is rectangular, a circle or a polygon may be used as the envelope figure of the character depending on the shape of the character.
【0055】[0055]
【発明の効果】以上のように請求項1の発明によれば、
文字データの一部が選択されていると判断された場合
は、部分文字構成手段が当該文字データに属する筆跡デ
ータを用いて部分文字を構成し、さらにその部分文字に
ついて選択されているか否かを部分文字選択判定手段が
判定するので、正しい文字単位に検切されていない手書
き文字データに対して、正しく編集範囲を指定できなか
ったときでも使用者の意図通りに編集対象を選択するこ
とができる。As described above, according to the invention of claim 1,
When it is determined that a part of the character data is selected, the partial character forming means forms a partial character using the handwriting data belonging to the character data, and further determines whether or not the partial character is selected. Since the partial character selection determination means makes a determination, it is possible to select the edit target as intended by the user even when the edit range cannot be correctly specified for the handwritten character data that has not been cut into correct character units. .
【0056】請求項2の発明によれば、部分文字構成手
段は、行方向判定部とX座標範囲算出部と第1の部分文
字構成部とY座標範囲算出部と第2の部分文字構成部と
を有することにより部分文字を構成するので、正しい文
字単位に検切されていない手書き文字データに対して、
正しく編集範囲を指定できなかったときでも使用者の意
図通りに編集対象を選択することができる。According to the second aspect of the present invention, the partial character forming means includes a line direction determining section, an X coordinate range calculating section, a first partial character forming section, a Y coordinate range calculating section, and a second partial character forming section. Since partial characters are configured by having and, for handwritten character data that is not cut off in correct character units,
Even when the edit range cannot be specified correctly, the edit target can be selected as intended by the user.
【0057】請求項3の発明によれば、対象選択割合算
出手段は対象選択割合を算出し、対象選択判定手段は算
出した対象選択割合と対象選択基準値と非選択基準値と
を用いてより正確に判定を行うので、正しい文字単位に
検切されていない手書き文字データに対して、正しく編
集範囲を指定できなかったときでも使用者の意図通りに
編集対象を選択することができる。According to the invention of claim 3, the target selection ratio calculation means calculates the target selection ratio, and the target selection determination means uses the calculated target selection ratio, the target selection reference value and the non-selection reference value. Since the determination is made accurately, it is possible to select the edit target as intended by the user even when the edit range cannot be correctly specified for the handwritten character data that has not been cut into correct character units.
【0058】請求項4の発明によれば、部分文字選択判
定手段は、対象選択基準値を用いてより正確に部分文字
の選択の判定を行うので、正しい文字単位に検切されて
いない手書き文字データに対して、正しく編集範囲を指
定できなかったときでも使用者の意図通りに編集対象を
選択することができる。請求項5の発明によれば、部分
文字選択判定手段は一つの文字データを構成する部分文
字群のうち一つでも選択されていれば、対象選択基準値
を下げるので、さらに他の部分文字を選択されやすくす
るという効果がある。According to the fourth aspect of the invention, the partial character selection determining means more accurately determines the selection of the partial character by using the target selection reference value. Therefore, the handwritten character which is not cut into correct character units is not used. Even when the edit range cannot be specified correctly for the data, the edit target can be selected as intended by the user. According to the invention of claim 5, the partial character selection determining means lowers the target selection reference value if at least one of the partial character groups forming one character data is selected. This has the effect of making it easier to select.
【0059】請求項6の発明によれば、部分文字再構成
手段を備えているので、部分文字選択判定手段で選択さ
れていると判定された部分文字群と選択されていないと
判定した部分文字群を各々一つの文字データとして再構
成することができる。請求項7の発明によれば、算出さ
れた選択範囲割合が所定の選択範囲基準値以上の場合
に、部分文字の一部が選択されていると判定し、部分文
字を構成する各筆跡データに対して選択判定を行い選択
された筆跡群を新たな部分文字として検切するので、部
分文字単位よりも小さな筆跡単位で編集対象を選択する
ことができる。According to the invention of claim 6, since the partial character reconstructing means is provided, the partial character group judged to be selected by the partial character selection judging means and the partial character judged not to be selected. Each group can be reconstructed as one character data. According to the invention of claim 7, when the calculated selection range ratio is equal to or more than a predetermined selection range reference value, it is determined that a part of the partial character is selected, and each handwriting data forming the partial character is determined. On the other hand, the selection determination is performed and the selected handwriting group is cut off as a new partial character, so that the editing target can be selected in units of handwriting smaller than the unit of partial characters.
【0060】請求項8から請求項11までの発明は、請
求項1から請求項4までの発明と同様の効果をなす。The inventions of claims 8 to 11 have the same effects as the inventions of claims 1 to 4.
【図1】本発明の手書き文字選択装置の1実施例の構成
図である。FIG. 1 is a configuration diagram of an embodiment of a handwritten character selection device of the present invention.
【図2】文字データ記憶手段5の記憶内容の例を示す図
である。FIG. 2 is a diagram showing an example of contents stored in a character data storage unit 5.
【図3】手書き文字選択装置の文字選択の動作を説明す
るための図である。FIG. 3 is a diagram for explaining a character selection operation of the handwritten character selection device.
【図4】サブルーチン部分文字選択判断処理のフロー図
である。FIG. 4 is a flowchart of a subroutine partial character selection determination process.
【図5】サブルーチン筆跡選択処理のフロー図である。FIG. 5 is a flowchart of a subroutine handwriting selection process.
【図6】座標投影データの一例を示す図である。FIG. 6 is a diagram showing an example of coordinate projection data.
【図7】サブルーチン部分文字分割処理のフロー図であ
る。FIG. 7 is a flowchart of a subroutine partial character division process.
【図8】図7の続きの図である。FIG. 8 is a continuation of FIG. 7;
【図9】本発明の動作を説明するための図である。FIG. 9 is a diagram for explaining the operation of the present invention.
【図10】従来技術の動作を説明するための図である。FIG. 10 is a diagram for explaining the operation of the conventional technique.
【図11】従来技術の動作を説明するための図である。FIG. 11 is a diagram for explaining the operation of the related art.
1 手書きデータ入力手段 2 筆跡データ/選択範囲データ経路切替手段 3 筆跡描画データ作成手段 4 文字検切手段 5 文字データ記憶手段 6 選択領域作成手段 7 対象選択割合/選択範囲割合算出手段 8 対象選択判断手段 9 座標投影データ記憶部 10 部分文字分割手段 11 部分文字再構成手段 12 編集対象選択バッファ 13 編集手段 14 表示手段 1 Handwriting Data Input Means 2 Handwriting Data / Selection Range Data Path Switching Means 3 Handwriting Drawing Data Making Means 4 Character Inspection Means 5 Character Data Storage Means 6 Selection Area Making Means 7 Target Selection Ratio / Selection Range Ratio Calculation Means 8 Target Selection Judgment Means 9 Coordinate projection data storage unit 10 Partial character dividing unit 11 Partial character reconstructing unit 12 Editing target selection buffer 13 Editing unit 14 Displaying unit
Claims (11)
装置であって、 座標データとして入力され、文字単位に検切された筆跡
データ群と、当該筆跡データ群を内包する図形である文
字外包図形とを関連付けて文字データとして記憶する文
字データ記憶手段と、 記憶されている筆跡データ群に基づいて各文字を画面上
に表示する表示手段と、 表示手段の表示内容に基づいて編集対象を選択するため
の選択範囲の入力を受け付ける選択範囲受付手段と、 選択範囲と前記文字外包図形とを用いて、前記文字デー
タ記憶手段に記憶されているすべての文字データのうち
どの文字が選択されているかを判定し、さらに当該文字
データの文字の全体が選択されているか一部が選択され
ているかを判定する判定手段と、 文字データの文字の一部が選択されていると判定された
場合に、当該文字データに属する全ての筆跡データにつ
いて、一の筆跡データの座標データが有する最大座標値
と他の一の筆跡データが有する最小座標値とを所定の手
順で比較し、比較結果が所定の関係にある筆跡データを
逐次連鎖的に結合することにより各部分文字を構成する
部分文字構成手段と、 構成された各部分文字と前記選択範囲とを用いて、どの
部分文字が選択されているか判定する部分文字選択判定
手段とを備えたことを特徴とする手書き文字選択装置。1. A device for selecting handwritten handwriting data on a character-by-character basis, the handwriting data group being input as coordinate data and cut off on a character-by-character basis, and a character envelope figure that is a figure containing the handwriting data group. And a character data storage means for storing as character data in association with each other, a display means for displaying each character on the screen based on the stored handwriting data group, and an object to be edited based on the display content of the display means. Using a selection range receiving means for receiving an input of a selection range, and the selection range and the character envelope figure, which character is selected from all the character data stored in the character data storage means. Judgment means for judging whether all or some of the characters of the character data are selected and a part of the characters of the character data are selected. If it is determined that the maximum coordinate value of the coordinate data of one handwriting data and the minimum coordinate value of the other handwriting data of all the handwriting data belonging to the character data are determined by a predetermined procedure. By using the partial character forming means for forming each partial character by sequentially connecting the handwriting data whose comparison results have a predetermined relationship in a chained manner and each partial character formed and the selection range, A handwritten character selection device comprising: a partial character selection determining means for determining whether a partial character is selected.
いると判定された場合に、当該文字データの属する行が
横書きであるか縦書きであるかを判定する行方向判定部
と、 文字データに属する筆跡データそれぞれについて、前記
行方向判定部で判定された行方向における最大座標値と
最小座標値で示される範囲を求める座標範囲算出部と、 前記座標範囲算出部で算出された座標範囲が互いに重な
る筆跡データどうしを連結することにより部分文字を構
成する部分文字構成部とを備えたことを特徴とする請求
項1記載の手書き文字選択装置。2. The partial character forming means, when the determining means determines that a part of the characters of the character data is selected, determines whether the line to which the character data belongs is horizontal writing or vertical writing. A line direction determination unit that determines whether there is a coordinate range calculation unit that determines a range indicated by the maximum coordinate value and the minimum coordinate value in the line direction determined by the line direction determination unit for each of the handwriting data that belongs to the character data. The handwritten character selection device according to claim 1, further comprising: a partial character forming unit that forms a partial character by connecting pieces of handwriting data in which the coordinate ranges calculated by the coordinate range calculating unit overlap each other. .
面積で除した値である対象選択割合を算出する対象選択
割合算出手段を備え、 前記判定手段は、 文字データの対象選択割合が所定の対象選択基準値以上
であれば当該文字データの文字全体が選択されていると
判定する第1の選択判定部と、 文字データの対象選択割合が所定の対象選択基準値より
小さくかつ選択されていないとの判断の基準となる所定
の非選択基準値より大きければ当該文字データの文字の
一部が選択されていると判定する第2の選択判定部とを
備えたことを特徴とする請求項1又は請求項2記載の手
書き文字選択装置。3. The handwritten character selection device further comprises a target selection ratio calculation means for calculating a target selection ratio which is a value obtained by dividing an area where the character inclusion graphic and the selection range overlap by the area of the character inclusion graphic. The determining unit determines whether the target selection ratio of the character data is equal to or larger than a predetermined target selection reference value, the first selection determination unit that determines that the entire character of the character data is selected, and the target selection ratio of the character data. A second selection determination that is smaller than a predetermined target selection reference value and is larger than a predetermined non-selection reference value that is a reference for determining that the character is not selected The handwritten character selection device according to claim 1 or 2, further comprising a section.
分文字外包図形を作成する部分文字外包図形作成部と、 部分文字外包図形作成部で作成された部分文字外包図形
と選択範囲の重なる面積を部分文字外包図形の面積で除
した値である対象選択割合を算出する対象選択割合算出
部を備え、 前記部分文字選択判定手段は、 部分文字の対象選択割合が所定の対象選択基準値以上で
ある場合のみ当該部分文字が選択されていると判定する
判定部を備えたことを特徴とする請求項3記載の手書き
文字選択装置。4. The target selection ratio calculation means further comprises a partial character envelope graphic creating unit for creating a partial character envelope graphic based on a handwriting data group belonging to the constructed partial characters, and a partial character envelope graphic creating unit. The target character selection ratio calculating unit for calculating a target selection ratio, which is a value obtained by dividing an overlapping area of the created partial character envelope graphic and the selection range by the area of the partial character envelope graphic, is provided. 4. The handwritten character selection device according to claim 3, further comprising a determination unit that determines that the partial character is selected only when the target selection ratio of is equal to or greater than a predetermined target selection reference value.
選択されていれば、他の部分文字を判定する際には対象
選択基準値を下げることを特徴とする請求項4記載の手
書き文字選択装置。5. The partial character selection determining means lowers a target selection reference value when determining another partial character if at least one of partial character groups forming one character data is selected. The handwritten character selection device according to claim 4, wherein.
た部分文字群と選択されていない他の部分文字群を各々
一つの文字データとして再構成し、前記文字データ記憶
手段の記憶内容を更新する部分文字再構成更新手段を備
えたことを特徴とする請求項1乃至請求項5何れか記載
の手書き文字選択装置。6. The handwritten character selection device further reproduces a partial character group determined to be selected by the partial character selection determination means and another partial character group not selected as one character data. The handwritten character selection device according to any one of claims 1 to 5, further comprising a partial character reconfiguration updating unit configured to update the stored contents of the character data storage unit.
判定された部分文字の部分文字外包図形と選択範囲の重
なる面積を選択範囲の面積で除した値である選択範囲割
合を算出する選択範囲割合算出手段と、 算出された選択範囲割合が所定の選択範囲基準値以上の
場合は、部分文字の一部が選択されていると判定する第
2の部分文字選択判定手段と、 部分文字の一部が選択されていると判定された場合に、
部分文字を構成する各筆跡データに対して選択判定を行
ない、選択された筆跡データ群を新たな部分文字として
検切し選択する筆跡選択手段とを備えたことを特徴とす
る請求項4乃至請求項5何れか記載の手書き文字選択装
置。7. The handwritten character selection device further divides an area where the partial character envelope figure of the partial character determined not to be selected by the partial character selection determination unit and the selection range overlap by the area of the selection range. A selection range ratio calculating means for calculating a selection range ratio which is a value; and a second judgment that a part of the partial characters is selected when the calculated selection range ratio is equal to or larger than a predetermined selection range reference value. Partial character selection determination means, and when it is determined that part of the partial character is selected,
5. A handwriting selecting unit that performs selection determination for each handwriting data that forms a partial character, and cuts and selects the selected handwriting data group as a new partial character. Item 5. The handwritten character selection device according to any one of items 5.
検切された筆跡データ群と、当該筆跡データ群を内包す
る図形である文字外包図形とを関連付けて文字データと
して記憶する文字データ記憶手段と、記憶されている筆
跡データ群に基づいて各文字を画面上に表示する表示手
段と、選択範囲の入力を受け付ける選択範囲受付手段
と、前記各手段を制御する制御手段とを備えた手書き文
字選択装置における手書き文字選択方法であって、 記憶されている筆跡データ群に基づいて各文字を画面上
に表示する表示ステップと、 表示手段の表示内容に基づいて編集対象を選択するため
の選択範囲の入力を受け付ける選択範囲受付ステップ
と、 選択範囲と前記文字データ記憶手段に記憶されている文
字外包図形とを用いて、前記文字データ記憶手段に記憶
されているすべての文字データのうちどの文字が選択さ
れているかを判定する第1の判定ステップと、 選択範囲と前記文字データ記憶手段に記憶されている文
字外包図形とを用いて、前記文選択されていると判定さ
れた文字データの文字の全体が選択されているか一部が
選択されているかを判定する第2の判定ステップと、 文字データの文字の一部が選択されていると判定された
場合に、当該文字データに属する全ての筆跡データにつ
いて、一の筆跡データの座標データが有する最大座標値
と他の一の筆跡データが有する最小座標値とを所定の手
順で比較し、所定の関係にある筆跡データを逐次連鎖的
に結合することにより各部分文字を構成する部分文字構
成ステップと、 構成された各部分文字と前記選択範囲を用いて、どの部
分文字が選択されているかを判定する部分文字選択判定
ステップとを備えたことを特徴とする手書き文字選択方
法。8. A character data storage means for storing, as character data, a handwriting data group inputted as coordinate data and cut out in character units, and a character envelope figure which is a figure including the handwriting data group in association with each other. , Handwritten character selection including display means for displaying each character on the screen based on the stored handwriting data group, selection range receiving means for receiving an input of the selection range, and control means for controlling the respective means A method for selecting handwritten characters in a device, comprising a display step of displaying each character on a screen based on a stored handwriting data group, and a selection range for selecting an edit target based on the display content of the display means. Using the selection range receiving step of receiving an input and the selection range and the character envelope figure stored in the character data storage unit, the character data storage unit Using the first determination step of determining which character is selected from all the character data stored in, and the selection range and the character envelope figure stored in the character data storage means, A second determination step of determining whether all or some of the characters of the character data determined to be selected are selected, and that some of the characters of the character data are selected. If determined, for all handwriting data belonging to the character data, the maximum coordinate value of the coordinate data of one handwriting data and the minimum coordinate value of another handwriting data are compared in a predetermined procedure, Which partial sentence is formed by using the partial character constructing step of constructing each partial character by sequentially connecting handwriting data in a predetermined relationship, and each constructed partial character and the selection range. Handwritten character selection method characterized by but has a partial character selection judgment step of judging whether it is selected.
選択されていると判定された場合に、当該文字データの
属する行が横書きであるか縦書きであるかを判定する行
方向判定ステップと、 文字データの属する筆跡データそれぞれについて、前記
行方向判定部で判定された行方向における最大座標値と
最小座標値で示される範囲を求める座標範囲算出ステッ
プと、 前記座標範囲算出部で算出された座標範囲が互いに重な
る筆跡データどうしを連結することにより部分文字を構
成する部分文字構成ステップとを備えたことを特徴とす
る請求項8記載の手書き文字選択方法。9. The partial character forming step, if the character string of the character data is judged to be selected in the second judging step, whether the line to which the character data belongs is in horizontal writing. A line direction determination step of determining whether the line is vertical writing, and a coordinate range for obtaining a range indicated by the maximum coordinate value and the minimum coordinate value in the line direction determined by the line direction determination unit for each of the handwriting data to which the character data belongs 9. The handwriting according to claim 8, further comprising: a calculation step; and a partial character configuration step of configuring a partial character by connecting handwriting data in which the coordinate ranges calculated by the coordinate range calculation section overlap each other. Character selection method.
判定ステップの処理に先立ち、 文字外包図形と選択範囲の重なる面積を文字外包図形の
面積で除した値である対象選択割合を算出する対象選択
割合算出ステップを備え、 前記判定ステップは、 文字データの対象選択割合が所定の対象選択基準値以上
であれば当該文字データの文字全体が選択されていると
判定する第1の選択判定ステップと、 文字データの対象選択割合が所定の対象選択基準値より
小さくかつ選択されていないとの基準となる所定の非選
択基準値より大きければ当該文字データの文字の一部が
選択されていると判定する第2の選択判定ステップとを
備えたことを特徴とする請求項8又は請求項9記載の手
書き文字選択方法。10. The handwritten character selection method further comprises:
Prior to the processing of the determination step, a target selection ratio calculation step of calculating a target selection ratio that is a value obtained by dividing an area where the character envelope shape and the selection range overlap by the area of the character envelope graphic is provided, and the determination step includes: If the target selection ratio is greater than or equal to the predetermined target selection reference value, the first selection determination step of determining that the entire character of the character data is selected, and the target selection ratio of the character data is greater than the predetermined target selection reference value. A second selection determination step of determining that a part of the characters of the character data is selected if the size is smaller and larger than a predetermined non-selection reference value that is a reference not to be selected. The handwritten character selection method according to claim 8 or 9.
包図形を作成する部分文字外包図形作成ステップと、 部分文字外包図形作成ステップで作成された外包図形と
選択範囲の重なる面積を外包図形の面積で除した値であ
る対象選択割合を算出する対象選択割合算出ステップを
備え、 前記部分文字選択判定ステップは、 部分文字の対象選択割合が所定の対象選択基準値以上で
ある場合のみ当該部分文字が選択されていると判定する
判定ステップを備えたことを特徴とする請求項10記載
の手書き文字選択方法。11. The target selection ratio calculating step comprises: a partial character envelope figure creating step of creating an envelope figure based on a handwriting data group belonging to the constituted partial characters; and an envelope created in the partial character envelope figure creating step. The method includes a target selection ratio calculating step of calculating a target selection ratio that is a value obtained by dividing an overlapping area of the figure and the selection range by the area of the envelope figure. 11. The handwritten character selection method according to claim 10, further comprising a determination step of determining that the partial character is selected only when it is equal to or more than a selection reference value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7169934A JPH0962678A (en) | 1995-06-12 | 1995-07-05 | Handwritten character selection device and handwritten character selection method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7-144564 | 1995-06-12 | ||
| JP14456495 | 1995-06-12 | ||
| JP7169934A JPH0962678A (en) | 1995-06-12 | 1995-07-05 | Handwritten character selection device and handwritten character selection method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0962678A true JPH0962678A (en) | 1997-03-07 |
Family
ID=26475945
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7169934A Pending JPH0962678A (en) | 1995-06-12 | 1995-07-05 | Handwritten character selection device and handwritten character selection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0962678A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013021878A1 (en) * | 2011-08-11 | 2013-02-14 | シャープ株式会社 | Information processing device, operating screen display method, control program and recording medium |
-
1995
- 1995-07-05 JP JP7169934A patent/JPH0962678A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013021878A1 (en) * | 2011-08-11 | 2013-02-14 | シャープ株式会社 | Information processing device, operating screen display method, control program and recording medium |
| JP2013041332A (en) * | 2011-08-11 | 2013-02-28 | Sharp Corp | Information processing device, operation screen display method, control program and recording medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0051857B1 (en) | Method for editing document | |
| JPH07160827A (en) | Handwriting stroke editing apparatus and method | |
| JPH0869543A (en) | Image editing method and editing system | |
| JP5097133B2 (en) | Apply effects to merged text paths | |
| US5469539A (en) | Method for abstracting/detailing structuring elements of system specification information | |
| JPH0812663B2 (en) | Image processing system and method thereof | |
| JP3083314B2 (en) | Document processing method and apparatus | |
| JPH0962678A (en) | Handwritten character selection device and handwritten character selection method | |
| JPH08255221A (en) | Character / graphic input / editing device | |
| JP2785941B2 (en) | Window information division / integration processing method | |
| JP3356541B2 (en) | Handwritten stroke editing apparatus and handwritten stroke editing method | |
| JP2002056403A (en) | Drawing instruction apparatus, drawing instruction method, and computer-readable storage medium | |
| JPH11219386A (en) | Drafting apparatus and recording medium | |
| JP3029822B2 (en) | Document processing apparatus, document processing method, and computer-readable recording medium recording program for causing computer to execute the method | |
| JP2723109B2 (en) | Image processing method | |
| JP3715431B2 (en) | Typesetting method, typesetting device, and recording medium recording a program for executing the processing | |
| JP3674905B2 (en) | Document editing device | |
| JPH0554114A (en) | Image display | |
| JPS60167059A (en) | System for using chart and data in document | |
| JP3227219B2 (en) | Information processing method and apparatus | |
| JPH08166950A (en) | Document editing device | |
| JPS6375964A (en) | Table creation method | |
| JP2616426B2 (en) | String display device | |
| JPH05189424A (en) | Device and method for editing document | |
| JPH06282538A (en) | Document creation device |