JP3299614B2 - Handwriting input data processing device - Google Patents

Handwriting input data processing device

Info

Publication number
JP3299614B2
JP3299614B2 JP32505593A JP32505593A JP3299614B2 JP 3299614 B2 JP3299614 B2 JP 3299614B2 JP 32505593 A JP32505593 A JP 32505593A JP 32505593 A JP32505593 A JP 32505593A JP 3299614 B2 JP3299614 B2 JP 3299614B2
Authority
JP
Japan
Prior art keywords
character
size
character size
line
stroke
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP32505593A
Other languages
Japanese (ja)
Other versions
JPH07182449A (en
Inventor
理 加茂
康浩 櫻井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP32505593A priority Critical patent/JP3299614B2/en
Publication of JPH07182449A publication Critical patent/JPH07182449A/en
Application granted granted Critical
Publication of JP3299614B2 publication Critical patent/JP3299614B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Processing Or Creating Images (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は手書き入力データを扱う
手書き入力データ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwritten input data processing device for handling handwritten input data.

【0002】[0002]

【従来の技術】近年、コンピュータへの入力方法とし
て、手書き入力への要求は強く、その用途も広大であ
る。手書き入力データを文字認識せずにイメージ情報に
変換して記録するメモ帳機能をもったワードプロセッ
サ、電子手帳などが商品化されている。そして、タブレ
ットを入力装置として使い、手書き入力データ文字を認
識し文字コードに変換して記録するワードプロセッサ等
もある。
2. Description of the Related Art In recent years, there has been a strong demand for handwriting input as a method of inputting data to a computer, and its use has been extensive. Word processors and electronic notebooks having a notepad function of converting handwritten input data into image information without character recognition and recording the converted information have been commercialized. There is also a word processor or the like that uses a tablet as an input device, recognizes handwritten input data characters, converts them into character codes, and records them.

【0003】さらに手書き入力データをイメージや文字
コードに変換せずにストローク情報として記録する技術
が以下の文献で開示されている。 『運筆データからの行の切出し』 ヒューマン・インタ
フェース・シンポジウム論文集 VOL.5TH PAGE.101-1
08 '89 『運筆データからの字の切出し』 電子情報通信学会論
文誌 Dー2 VOL.73NO.10 PAGE.1796-1798 '90 『ストロークエディタと直接指示・操作方式』情報処理
学会論文誌 VOL.32 No.8 PAGE.1022-1029 '91 上記文献において、手書き入力データをストローク、文
字、行などの塊に分類し、行や文字を切り出す方法、及
び手書き入力データの選択、挿入、削除、複写、移動な
どの編集のみを目的とした方法が紹介されている。
Further, a technique for recording handwritten input data as stroke information without converting it into an image or a character code is disclosed in the following document. "Line Extraction from Handwriting Data" Proceedings of the Human Interface Symposium VOL.5TH PAGE.101-1
08 '89 “Extracting characters from handwriting data” IEICE Transactions on Electronics, D-2 VOL.73 NO.10 PAGE.1796-1798 '90 “Stroke Editor and Direct Instruction / Operation Method” IPSJ Transactions VOL. 32 No.8 PAGE.1022-1029 '91 In the above literature, handwritten input data is classified into chunks such as strokes, characters, lines, etc., and methods for cutting out lines and characters, and selection, insertion, deletion, and copying of handwritten input data Introduces a method intended only for editing, such as moving.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
従来技術によれば、手書き入力データに対して、挿入、
削除、消去、移動等の編集手段を開示しているに過ぎ
ず、一般に手書き入力データを入力した場合に、文字や
行の乱れや不揃いがそのまま表示されるという問題点を
有していた。具体的には、文字の並びの乱れや、文字の
傾き、文字の大きさの不揃い、行間の不揃いなどがあ
る。この原因として、筆記具を使って紙に書くような操
作感がタブレット装置では得られないことや入力速度が
早くなると筆跡が乱れることなどが考えられる。
However, according to the above-mentioned prior art, insertion, insertion,
It merely discloses editing means such as deletion, erasure, movement, etc., and generally has a problem that when handwritten input data is input, disturbances and irregularities in characters and lines are displayed as they are. Specifically, there are irregularities in the arrangement of characters, inclination of characters, irregularities in character sizes, irregularities in line spacing, and the like. As the cause, it is considered that an operation feeling like writing on paper using a writing instrument cannot be obtained with the tablet device, and handwriting is disturbed when the input speed is increased.

【0005】本発明は上記の課題に鑑み、手書き入力デ
ータの乱れや不揃いを整えて表示をする手書き入力デー
タ処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a handwritten input data processing device for displaying disordered and irregular handwritten input data.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

【0007】[0007]

【0008】[0008]

【0009】[0009]

【0010】また、本発明は、一連の座標で与えられる
ストローク情報で表される手書き入力データを処理する
手書き入力データ処理装置であって、文字単位に分割さ
れた手書き入力データとその文字を構成するストローク
を囲む最小の矩形を示す文字情報を記憶する文字記憶手
段と、行単位に分割された手書き入力データとその行を
構成する文字の矩形を囲む最小の矩形を示す行情報を記
憶する行記憶手段と、一連の行からなるブロックと、そ
の位置情報を示すブロック位置情報を記憶するブロック
記憶手段と、前記文字記憶手段の文字情報及びストロー
ク情報に基づいて、文字の傾きを検出し傾きに応じて
文字を回転し傾きを揃える文字傾き調整手段と、前記傾
き調整後、前記文字記憶手段の文字情報に基づいて全て
の文字サイズを計算し、計算された文字サイズの頻度分
布に基いて、文字の大きさの不揃いを調整する文字サイ
ズ調整手段と、前記文字サイズ調整後、分割された文字
を行として整えるための基準線を行情報に基づいて設定
し、行内における各文字毎に、基準線と文字位置とのず
れを検出し、行内における各文字毎に、そのずれが所定
のしきい値より大きいか、否かにより移動するかどうか
を判断し、移動すると判断された文字をずれの分だけ移
動する文字位置調整手段と、前記文字位置調整後、ブロ
ック位置情報が示すブロック内に含まれる全ての行につ
いて、行情報に基づいてすべての行間を検出し、行間の
不揃いを調整する行位置調整手段とを備えている。
The present invention also relates to a handwriting input data processing apparatus for processing handwritten input data represented by stroke information given by a series of coordinates, comprising: Character storage means for storing character information indicating a minimum rectangle enclosing a stroke to be drawn, and a line for storing line information indicating a minimum rectangle enclosing a rectangle of characters constituting the line and handwritten input data divided for each line Storage means, a block consisting of a series of rows, block storage means for storing block position information indicating the position information, character information and a straw in the character storage means
Based on the click information, and detects the tilt of the character, a character inclination adjusting means for aligning the inclination by rotating the characters in accordance with the inclination, the inclination
After the adjustment, all the characters are adjusted based on the character information in the character storage unit.
Is calculated, and the frequency of the calculated character size
A character size that adjusts for irregular character sizes based on the cloth.
Size adjustment means and the divided characters after the character size adjustment.
Set a reference line for arranging lines as lines based on line information
For each character in the line, the reference line and the character position
Is detected, and the deviation is determined for each character in the line.
Whether to move depending on whether it is greater than or not
And move the characters determined to be moved by the amount of the shift.
Moving character position adjusting means, and after the character position adjustment, for all lines included in the block indicated by the block position information, detect all line spacing based on the line information, and adjust line alignment for irregularity between the lines. Means.

【0011】[0011]

【0012】また、本発明は、一連の座標で与えられる
ストローク情報で表される手書き入力データを処理する
手書き入力データ処理装置であって、文字単位に分割さ
れた手書き入力データとその文字を構成するストローク
を囲む最小の矩形を示す文字情報を記憶する文字記憶手
段と、行単位に分割された手書き入力データとその行を
構成する文字の矩形を囲む最小の矩形を示す行情報を記
憶する行記憶手段と、行情報に基づいて、文字情報を調
整して、行内における文字の並びの乱れを整える文字位
置調整手段とを備え、前記文字位置調整手段は、分割さ
れた文字を行として整えるための基準線を行情報に基づ
いて設定する基準線設定手段と、行内における各文字毎
に、基準線と文字位置とのずれを検出するずれ検出手段
と、行内における各文字毎に、そのずれが所定のしきい
値より大きいか、否かにより移動するかどうかを判断す
る移動判断手段と、移動すると判断された文字をずれの
分だけ移動する文字移動手段とからなることを特徴とす
る。
Further , the present invention is provided by a series of coordinates.
Process handwritten input data represented by stroke information
A handwriting input data processing device that is divided into character units.
Handwritten input data and strokes that compose the characters
Character storage that stores character information indicating the smallest rectangle surrounding the
Column and the handwritten input data divided by line and its line
Line information indicating the smallest rectangle surrounding the rectangle of the characters
Character information based on the line storage means and the line information.
Character position to adjust the order of characters within a line
The character position adjusting means includes a reference line setting means for setting a reference line for arranging the divided characters as lines based on line information, and a reference line for each character in the line. Displacement detection means for detecting a deviation from a character position; movement determination means for determining, for each character in a line, whether or not the movement is based on whether or not the deviation is greater than a predetermined threshold value; Character moving means for moving the selected character by the amount of the shift.

【0013】また、本発明は、一連の座標で与えられる
ストローク情報で表される手書き入力データを処理する
手書き入力データ処理装置であって、文字単位に分割さ
れた手書き入力データとその文字を構成するストローク
を囲む最小の矩形を示す文字情報を記憶する文字記憶手
段と、前記文字記憶手段の文字情報に基づいて、文字の
傾きを検出し、傾きに応じて文字を回転し傾きを揃える
文字傾き調整手段とを備え、前記文字傾き調整手段は、
文字が、水平・垂直に近いストロークを持っているかを
判断する水平・垂直ストローク判断手段と、水平・垂直
に近いストロークを持っていると判断された場合に、水
平・垂直に近いストロークにより文字の傾きを検出する
傾き検出手段と、傾き検出手段で検出された傾き応じ
て、文字を回転させることにより傾きの修正を行う文字
回転手段とを備えたことを特徴とする。
Further , the present invention is provided by a series of coordinates.
Process handwritten input data represented by stroke information
A handwriting input data processing device that is divided into character units.
Handwritten input data and strokes that compose the characters
Character storage that stores character information indicating the smallest rectangle surrounding the
Based on the character information in the character storage means.
Detect tilt and rotate text according to tilt to align tilt
Character inclination adjusting means, wherein the character inclination adjusting means,
Horizontal / vertical stroke determining means for determining whether a character has a stroke close to horizontal / vertical; and, when it is determined that the character has a stroke close to horizontal / vertical, the stroke of the character is determined by a stroke close to horizontal / vertical. It is characterized by comprising a tilt detecting means for detecting the tilt , and a character rotating means for correcting the tilt by rotating the character in accordance with the tilt detected by the tilt detecting means.

【0014】また、前記文字傾き調整手段は、文字が、
水平・垂直に近いストロークを持っているかを判断する
水平・垂直ストローク判断手段と、水平・垂直ストロー
クを持っていないと判断された場合に、ストローク情報
より、ストローク上の点で矩形の底辺上になく底辺に最
も近い点と矩形の底辺からの距離を検出し、その距離が
所定のしきい値以下か、それより大きいかを判断するし
きい値判断手段と、前記距離が所定のしきい値以下と判
断された場合に、前記距離により当該文字の傾きを検出
する傾き検出手段と、傾き検出手段で検出された傾き
応じて、文字を回転させることにより傾きの修正を行う
文字回転手段とを備えたことを特徴とする。
[0014] In addition, the character inclination adjustment means, characters,
Horizontal / vertical stroke determining means for determining whether the stroke has a horizontal / vertical stroke, and, when it is determined that the stroke does not have a horizontal / vertical stroke, the stroke information indicates a point on the stroke on the bottom of the rectangle. A threshold value judging means for detecting a distance between a point closest to the base and the base of the rectangle, and judging whether the distance is equal to or smaller than a predetermined threshold or larger than the predetermined threshold; Below
If it is sectional, and the inclination detection means for detecting an inclination of the character by the distance, depending <br/> the inclination detected by the inclination detection means, character rotation for correcting the tilt by rotating the character Means.

【0015】また、前記文字傾き調整手段は、文字が、
水平・垂直に近いストロークを持っているかを判断する
水平・垂直ストローク判断手段と、水平・垂直に近いス
トロークを持っていると判断された場合に、水平・垂直
に近いストロークにより文字の傾きを検出する第1の傾
き検出手段と、水平・垂直ストロークを持っていないと
判断された場合に、ストローク情報より、ストローク上
の点で矩形の底辺上になく底辺に最も近い点と矩形の底
辺からの距離を検出し、その距離が所定のしきい値以下
か、それより大きいかを判断するしきい値判断手段と、
前記距離が所定のしきい値以下と判断された場合に、
記距離により当該文字の傾きを検出する第2の傾き検出
手段と、第1の傾き検出手段と第2の傾き検出手段のい
ずれかで検出された傾き応じて、文字を回転させるこ
とにより傾きの修正を行う文字回転手段とを備えたこと
を特徴とする。
[0015] In addition, the character inclination adjustment means, characters,
Horizontal / vertical stroke determination means to determine whether the stroke has a horizontal / vertical stroke, and if it is determined that the stroke has a horizontal / vertical stroke, the inclination of the character is detected based on the horizontal / vertical stroke The first inclination detecting means, and when it is determined that there is no horizontal / vertical stroke, from the stroke information, a point on the stroke that is not on the bottom of the rectangle but is closest to the bottom of the rectangle and the distance from the bottom of the rectangle. Threshold detecting means for detecting a distance and determining whether the distance is equal to or less than a predetermined threshold or greater than the predetermined threshold;
When the distance is determined to be equal to or less than a predetermined threshold , one of a second inclination detecting means for detecting the inclination of the character based on the distance, and one of the first inclination detecting means and the second inclination detecting means And a character rotating means for correcting the inclination by rotating the character in accordance with the inclination detected in (1).

【0016】[0016]

【0017】また、本発明は、一連の座標で与えられる
ストローク情報で表される手書き入力データを処理する
手書き入力データ処理装置であって、文字単位に分割さ
れた手書き入力データとその文字を構成するストローク
を囲む最小の矩形を示す文字情報を記憶する文字記憶手
段と、前記文字記憶手段の文字情報に基づいて、文字の
大きさを検出し、文字の大きさの不揃いを調整する文字
サイズ調整手段とを備え、前記文字サイズ調整手段は、
前記文字記憶手段の文字情報より全ての文字サイズを計
算する文字サイズ計算手段と、前記文字サイズ計算手段
により計算された全ての文字サイズのヒストグラムより
基準となる文字サイズを設定する基準文字サイズ設定手
段と、基準となる文字サイズと変更対象の文字のサイズ
を比較し、その差が所定のしきい値より大きければ文字
のサイズを変更する対象から除外することを判断する文
字サイズ変更判断手段と、前記文字サイズ変更判断手段
によって除外されなかった文字に対して、前記基準文字
サイズ設定手段によって設定された基準文字サイズに、
文字のサイズを変更する文字サイズ変更手段とからなる
ことを特徴とする。
Further , the present invention is given by a series of coordinates.
Process handwritten input data represented by stroke information
A handwriting input data processing device that is divided into character units.
Handwritten input data and strokes that compose the characters
Character storage that stores character information indicating the smallest rectangle surrounding the
Based on the character information in the character storage means.
Text that detects size and adjusts for irregular text size
Size adjusting means, wherein the character size adjusting means comprises:
A character size calculating means for calculating all character sizes from the character information in the character storage means, and a reference character size setting means for setting a character size to be a reference from a histogram of all character sizes calculated by the character size calculating means And a character size change determination unit that compares the reference character size with the size of the character to be changed and, if the difference is greater than a predetermined threshold, determines that the character size is to be excluded from the target to be changed. For characters that are not excluded by the character size change determining means, the reference character size set by the reference character size setting means is:
Character size changing means for changing the character size is provided.

【0018】また、前記文字サイズ調整手段は、前記文
字記憶手段の文字情報より全ての文字サイズを計算する
文字サイズ計算手段と、前記文字サイズ計算手段により
計算された全ての文字サイズのヒストグラムにおいて
番目のピークとなる文字サイズを第1基準文字サイズと
して設定する第1基準文字サイズ設定手段と、前記文字
サイズ計算手段により計算された全ての文字サイズのヒ
ストグラムにおいてピークとなる文字サイズが前記第1
基準文字サイズ以外に一つだけ存在するか、二つ以上存
在するかを判断するピーク判断手段と、前記ピーク判断
手段によりピークとなる文字サイズが一つだけ存在する
と判断された場合に、前記文字サイズ計算手段により計
算された全ての文字サイズのヒストグラムにおいて2番
目のピークとなる文字サイズを第2基準文字サイズとし
設定する第2基準文字サイズ設定手段と、前記ピーク
判断手段によりピークとなる文字サイズが前記第1基準
文字サイズ以外に二つ以上存在すると判断された場合
に、それら二つ以上の文字サイズと前記第1基準文字サ
イズとの平均値を第3基準文字サイズとして設定する第
3基準文字サイズ設定手段と、第2基準文字サイズが設
定されている場合、第1基準文字サイズと第2基準文字
サイズの間の範囲において、出現頻度が最小の値をとる
文字のサイズである分岐値を設定する分岐値設定手段
と、基準文字サイズのうち小さい方のサイズと変更対象
の文字のサイズ比較し、その差が所定のしきい値より大
きければ文字のサイズを変更する対象から除外すること
を判断する文字サイズ変更判断手段と、第2基準文字サ
イズが設定されている場合、前記文字サイズ変更判断手
段により、文字サイズを変更する対象から除外されなか
った文字に対して、該文字のサイズと分岐値との大小の
比較によって、第1基準文字サイズと第2基準文字サイ
ズのどちらの文字サイズに変更するか判断する文字サイ
ズ分岐値判断手段と、第2基準文字サイズが設定されて
いる場合は前記文字サイズ分岐値判断手段により判断さ
れた文字サイズに、第3基準文字サイズが設定されてい
る場合は第3基準文字サイズに、第2基準文字サイズも
第3基準文字サイズも設定されていない場合は第1基準
文字サイズに、文字のサイズを変更する文字サイズ変更
手段とからなることを特徴とする。
Further, the character size adjustment means, the characters and the character size calculation means for calculating all the character size from the character information storage unit, 1 in all character sizes histogram calculated by said character size calculating means
The first peak character size is defined as the first reference character size.
A first reference character size setting unit that sets the character size which is the peak in the histogram of all character sizes calculated by the character size calculation unit.
A peak determining unit that determines whether there is only one character other than the reference character size, or two or more characters; and if the peak determining unit determines that there is only one character size at the peak, the character the character size as the second peak in all the character size histogram calculated by the size calculating unit and the second reference character size
A second reference character size setting means for setting Te, character size becomes a peak by the peak determining means said first reference
When other than the character size is determined to exist two or more, they more than one character size and the first reference character Sa
And a third reference character size setting means for setting an average value of the size as a third reference character size, and a range between the first reference character size and the second reference character size when the second reference character size is set. A branch value setting means for setting a branch value which is a size of a character whose appearance frequency takes a minimum value, and a comparison between the smaller size of the reference character size and the size of the character to be changed, and the difference is determined by a predetermined value. A character size change determining unit that determines that the character size is to be excluded from the target for changing the character size if the size is larger than the threshold, and a character size change determining unit that sets the character size when the second reference character size is set. For a character that is not excluded from the object to be changed, by comparing the size of the character with the branch value, the character size of either the first reference character size or the second reference character size is determined. And a third reference character size is set to the character size determined by the character size branch value determining means when the second reference character size is set. Character size changing means for changing the size of the character to the third reference character size if the second reference character size is not set, and to the first reference character size if neither the second reference character size nor the third reference character size is set. It is characterized by.

【0019】[0019]

【0020】[0020]

【作用】[Action]

【0021】[0021]

【0022】また、本発明の構成によれば、文字単位に
分割された手書き入力データとその文字を構成するスト
ロークを囲む最小の矩形を示す文字情報が文字記憶手段
に記憶され、行単位に分割された手書き入力データとそ
の行を構成する文字の矩形を囲む最小の矩形を示す行情
報が行記憶手段に記憶され、一連の行からなるブロック
と、その位置情報を示すブロック位置情報がブロック記
憶手段に記憶され、文字傾き調整手段が、前記文字記憶
手段の文字情報及びストローク情報に基づいて、文字の
傾きを検出し、傾きに応じて文字を回転し傾きを揃え
る。
Further , according to the structure of the present invention, the character unit
The divided handwritten input data and the text
Character information indicating the smallest rectangle surrounding the roke is stored in character storage means.
And the handwritten input data that is stored in
Line information indicating the smallest rectangle surrounding the rectangles of the characters that make up the line
Information is stored in the row storage means, and a block consisting of a series of rows.
And the block position information indicating the position information
The character inclination adjusting means stores the character
Based on the character information and stroke information of the
Detect tilt and rotate text according to tilt to align tilt
You.

【0023】そして、文字サイズ調整手段が、前記傾き
調整後、前記文字記憶手段の文字情報に基づいて全ての
文字サイズを計算し、計算された文字サイズの頻度分布
に基いて、文字の大きさの不揃いを調整し、文字位置調
整手段が、前記文字サイズ調整後、分割された文字を行
として整えるための基準線を行情報に基づいて設定し、
行内における各文字毎に、基準線と文字位置とのずれを
検出し、行内における各文字毎に、そのずれが所定のし
きい値より大きいか、否かにより移動するかどうかを判
断し、移動すると判断された文字をずれの分だけ移動す
る。そして、行位置調整手段が、前記文字位置調整後、
ブロック位置情報が示すブロック内に含まれる全ての行
について、行情報に基づいてすべての行間を検出し、行
間の不揃いを調整する。
Then, the character size adjusting means is provided with the inclination
After the adjustment, all of the characters are stored based on the character information in the character storage unit.
Calculate the font size and the calculated font size frequency distribution
Adjusts the size of the characters based on the
Adjusting the character size after adjusting the character size.
Based on the line information, set a reference line to prepare as
For each character in the line, the difference between the reference line and the character position
Detected, and for each character in the line, the deviation
It is determined whether to move depending on whether it is greater than the threshold or not.
And move the characters determined to be moved by the amount of the shift.
You. Then, the line position adjusting means adjusts the character position,
All lines included in the block indicated by the block position information
For all rows based on row information
Adjust the gap between them.

【0024】また、本発明の構成によれば、文字単位に
分割された手書き入力データとその文字を構成するスト
ロークを囲む最小の矩形を示す文字情報が文字記憶手段
に記憶され、行単位に分割された手書き入力データとそ
の行を構成する文字の矩形を囲む最小の矩形を示す行情
報が行記憶手段に記憶され、文字位置調整手段が、行情
報に基づいて、文字情報を調整して、行内における文字
の並びの乱れを整える。
Further , according to the structure of the present invention, the character
The divided handwritten input data and the text
Character information indicating the smallest rectangle surrounding the roke is stored in character storage means.
And the handwritten input data that is stored in
Line information indicating the smallest rectangle surrounding the rectangles of the characters that make up the line
Information is stored in the line storage means, and the character position adjusting means
Character information based on the information
To arrange the disorder.

【0025】ここで、前記文字位置調整手段に含まれる
基準線設定手段が、分割された文字を行として整えるた
めの基準線を行情報に基づいて設定し、ずれ検出手段
が、行内における各文字毎に、基準線と文字位置とのず
れを検出し、移動判断手段が、行内における各文字毎
に、そのずれが所定のしきい値より大きいか、否かによ
り移動するかどうかを判断し、文字移動手段が、移動す
ると判断された文字をずれの分だけ移動する。
Here, it is included in the character position adjusting means.
The reference line setting means arranges the divided characters as lines.
A reference line based on the line information,
Is the difference between the reference line and the character position for each character in the line.
Is detected, and the movement judging means detects each character in the line.
Depends on whether the deviation is greater than a predetermined threshold.
Character moving means, and the character moving
The character determined to be moved is moved by the amount of the shift.

【0026】また、本発明の構成によれば、文字単位に
分割された手書き入力データとその文字を構成するスト
ロークを囲む最小の矩形を示す文字情報が文字記憶手段
に記憶され、文字傾き調整手段が、文字情報に基づい
て、文字の傾きを検出し、傾きに応じて文字を回転し傾
きを揃える。 ここで、前記文字傾き調整手段に含まれる
水平・垂直ストローク判断手段が、文字が、水平・垂直
に近いストロークを持っているかを判断し、傾き検出手
段が、水平・垂直に近いストロークを持っていると判断
された場合に、水平・垂直に近いストロークにより文字
の傾きを検出し、文字回転手段が、傾き検出手段で検出
された傾きに応じて、文字を回転させることにより傾き
の修正を行う。
Further , according to the structure of the present invention, the character
The divided handwritten input data and the text
Character information indicating the smallest rectangle surrounding the roke is stored in character storage means.
And the character inclination adjusting means is based on the character information.
To detect the tilt of the character, and rotate and tilt the character according to the tilt.
Align. Here, the horizontal / vertical stroke determining means included in the character tilt adjusting means determines whether the character has a stroke close to horizontal / vertical, and the tilt detecting means has a stroke close to horizontal / vertical. If it is determined that the character is inclined, the inclination of the character is detected by a stroke close to the horizontal and vertical directions, and the character rotation unit corrects the inclination by rotating the character according to the inclination detected by the inclination detection unit. .

【0027】また、前記文字傾き調整手段に含まれる水
平・垂直ストローク判断手段が、文字が、水平・垂直に
近いストロークを持っているかを判断し、しきい値判断
手段が、水平・垂直ストロークを持っていないと判断さ
れた場合に、ストローク情報より、ストローク上の点で
矩形の底辺上になく底辺に最も近い点と矩形の底辺から
の距離を検出し、その距離が所定のしきい値以下か、そ
れより大きいかを判断し、傾き検出手段が、前記距離が
所定のしきい値以下と判断された場合に、前記距離によ
り当該文字の傾きを検出し、文字回転手段が傾き検出手
段で検出された傾きに応じて、文字を回転させることに
より傾きの修正を行う。
Further, the water included in the character inclination adjusting means is
The horizontal / vertical stroke judgment means
Judge if you have a close stroke, threshold judgment
Means are determined not to have horizontal and vertical strokes
The stroke information from the point on the stroke
From the point closest to the base but not on the base of the rectangle and the base of the rectangle
Is detected, and if the distance is below a predetermined threshold,
It is determined whether the distance is greater than the distance.
If it is determined that the distance is equal to or less than a predetermined threshold, the distance is determined.
The character rotation means detects the inclination of the character.
Rotating characters according to the inclination detected at the step
Correct the inclination more.

【0028】また、前記文字傾き調整手段に含まれる水
平・垂直ストローク判断手段が、文字が、水平・垂直に
近いストロークを持っているかを判断し、第1の傾き検
出手段が、水平・垂直に近いストロークを持っていると
判断された場合に、水平・垂直に近いストロークにより
文字の傾きを検出し、しきい値判断手段が、水平・垂直
ストロークを持っていないと判断された場合に、ストロ
ーク情報より、ストローク上の点で矩形の底辺上になく
底辺に最も近い点と矩形の底辺からの距離を検出し、そ
の距離が所定のしきい値以下か、それより大きいかを判
断し、第2の傾き検出手段が、前記距離が所定のしきい
値以下と判断された場合に、前記距離により当該文字の
傾きを検出し、文字回転手段が、第1の傾き検出手段と
第2の傾き検出手段のいずれかで検出された傾きに応じ
て、文字を回転させることにより傾きの修正を行う。
The water included in the character inclination adjusting means
The horizontal / vertical stroke judgment means
Judge whether the stroke is close or not, and perform the first tilt detection.
If the delivery means has a stroke that is nearly horizontal or vertical
If it is determined, a stroke close to horizontal and vertical
Detects the inclination of the character and sets the threshold
If it is determined that there is no stroke,
The stroke information indicates that the point on the stroke is not on the bottom of the rectangle
The distance between the point closest to the base and the base of the rectangle is detected, and
Is less than or equal to a predetermined threshold.
And the second inclination detecting means detects that the distance is a predetermined threshold.
If it is determined to be less than or equal to the value,
The inclination is detected, and the character rotation unit is connected to the first inclination detection unit.
According to the tilt detected by any of the second tilt detecting means
Then, the inclination is corrected by rotating the character.

【0029】また、本発明の構成によれば、文字単位に
分割された手書き入力データとその文字を構成するスト
ロークを囲む最小の矩形を示す文字情報が文字記憶手段
に記憶され、文字サイズ調整手段が、文字情報に基づい
て、文字の大きさを検出し、文字の大きさの不揃いを調
整する。 ここで、前記文字サイズ調整手段に含まれる文
字サイズ計算手段が、前記文字記憶手段の文字情報より
全ての文字サイズを計算し、基準文字サイズ設定手段
が、前記文字サイズ計算手段により計算された全ての文
字サイズのヒストグラムより基準となる文字サイズを設
定し、文字サイズ変更判断手段が、基準となる文字サイ
ズと変更対象の文字のサイズを比較し、その差が所定の
しきい値より大きければ文字のサイズを変更する対象か
ら除外することを判断し、文字サイズ変更手段が、前記
文字サイズ変更判断手段によって除外されなかった文字
に対して、前記基準文字サイズ設定手段によって設定さ
れた基準文字サイズに、文字のサイズを変更する。
Further , according to the structure of the present invention, the character unit
The divided handwritten input data and the text
Character information indicating the smallest rectangle surrounding the roke is stored in character storage means.
The character size adjustment means is based on the character information.
To detect the character size and adjust for irregular character sizes.
Adjust. Here, the character size calculating means included in the character size adjusting means calculates all character sizes from the character information in the character storage means, and the reference character size setting means calculates all the character sizes calculated by the character size calculating means. A reference character size is set from the character size histogram of the character, and the character size change determination unit compares the reference character size with the size of the character to be changed. If the difference is larger than a predetermined threshold value, It is determined that the character size is not to be changed, and the character size changing unit sets the reference character size set by the reference character size setting unit to the character not excluded by the character size change determining unit. , Change the text size.

【0030】また、前記文字サイズ調整手段に含まれる
文字サイズ計算手段が、前記文字記憶手段の文字情報よ
り全ての文字サイズを計算し、第1基準文字サイズ設定
手段が、前記文字サイズ計算手段により計算された全て
の文字サイズのヒストグラムにおいて1番目のピークと
なる文字サイズを第1基準文字サイズとして設定し、ピ
ーク判断手段が、前記文字サイズ計算手段により計算さ
れた全ての文字サイズのヒストグラムにおいてピークと
なる文字サイズが前記第1基準文字サイズ以外に一つだ
け存在するか、二つ以上存在するかを判断する。
The character size adjusting means includes
The character size calculation means is configured to read the character information from the character storage means.
Calculate all character sizes and set the first reference character size
Means are all calculated by the character size calculating means.
The first peak in the character size histogram
Is set as the first reference character size,
The work determination means is calculated by the character size calculation means.
Peaks in histograms of all character sizes
Character size other than the first reference character size
It is determined whether or not there are two or more.

【0031】そして、第2基準文字サイズ設定手段が、
前記ピーク判断手段によりピークとなる文字サイズが一
つだけ存在すると判断された場合に、前記文字サイズ計
算手段により計算された全ての文字サイズのヒストグラ
ムにおいて2番目のピークとなる文字サイズを第2基準
文字サイズとして設定する。
Then, the second reference character size setting means:
The peak character size may be one
If it is determined that there is only one
Histogram of all character sizes calculated by calculation means
The second peak character size in the system
Set as character size.

【0032】さらに、第3基準文字サイズ設定手段が、
前記ピーク判断手段によりピークとなる文字サイズが前
記第1基準文字サイズ以外に二つ以上存在すると判断さ
れた場合に、それら二つ以上の文字サイズと前記第1基
準文字サイズとの平均値を第3基準文字サイズとして設
定し、分岐値設定手段が、第2基準文字サイズが設定さ
れている場合、第1基準文字サイズと第2基準文字サイ
ズの間の範囲において、出現頻度が最小の値をとる文字
のサイズである分岐値を設定する。
Further, the third reference character size setting means includes:
The character size at which the peak is determined by the peak determination means is
It is determined that there are two or more
If two or more character sizes and the first
The average value with the quasi-character size is set as the third criterion character size.
And the branch value setting means sets the second reference character size.
If the first reference character size and the second reference character size
Characters with the lowest occurrence frequency in the range between
Set the branch value that is the size of.

【0033】文字サイズ変更判断手段が、基準文字サイ
ズのうち小さい方のサイズと変更対象の文字のサイズ比
較し、その差が所定のしきい値より大きければ文字のサ
イズを変更する対象から除外することを判断し、文字サ
イズ分岐値判断手段が、第2基準文字サイズが設定され
ている場合、前記文字サイズ変更判断手段により、文字
サイズを変更する対象から除外されなかった文字に対し
て、該文字のサイズと分岐値との大小の比較によって、
第1基準文字サイズと第2基準文字サイズのどちらの文
字サイズに変更するか判断する。
When the character size change determining means determines that the reference character size
Size ratio of the smaller of the characters to the size of the character to be changed
If the difference is greater than a predetermined threshold, the character
Judgment to exclude from the target to change the size
Is set to the second reference character size.
If the character size change
For characters not excluded from resizing
By comparing the size of the character with the branch value,
Either the first reference size or the second reference size
Determine whether to change the font size.

【0034】そして、文字サイズ変更手段が、第2基準
文字サイズが設定されている場合は前記文字サイズ分岐
値判断手段により判断された文字サイズに、第3基準文
字サイズが設定されている場合は第3基準文字サイズ
に、第2基準文字サイズも第3基準文字サイズも設定さ
れていない場合は第1基準文字サイズに、文字のサイズ
を変更する。
Then, the character size changing means is set to the second reference
If character size is set, branch to the character size
The third reference sentence is added to the character size determined by the value determination means.
If the font size is set, the third reference character size
In addition, both the second reference character size and the third reference character size are set.
If not, set the size of the character to the first reference character size.
To change.

【0035】[0035]

【0036】[0036]

【0037】[0037]

【0038】[0038]

【0039】[0039]

【0040】[0040]

【0041】[0041]

【0042】[0042]

【0043】[0043]

【0044】[0044]

【実施例】以下、本発明の第1の実施例を図面に従い、
具体的に説明する。図1は手書き入力データ処理装置の
外観を示すものであり、他の実施例にも共通する。11
は手書き入力データ処理装置本体であり12は手書き
入力用のペンである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
This will be specifically described. FIG. 1 shows the appearance of a handwritten input data processing device, which is common to other embodiments. 11
Is a handwriting input data processing apparatus main body, 12 is a pen for handwriting input.

【0045】図2は、本発明の第1の実施例における手
書き入力データ処理装置の構成図であり、入力装置2
1、表示装置22、文字分割装置23、行分割装置2
4、文字表示位置調整装置25からなる。入力装置21
は、入力用ペン12の入力している座標を、手書き入力
データとして検出する。
FIG. 2 is a block diagram of a handwritten input data processing device according to the first embodiment of the present invention.
1, display device 22, character dividing device 23, line dividing device 2
4. It comprises a character display position adjusting device 25. Input device 21
Detects the coordinates input by the input pen 12 as handwritten input data.

【0046】表示装置22は手書き入力データの筆跡を
表示する。文字分割装置23は手書き入力データを文字
単位に分割する。文字単位への分割の手法としては、従
来技術の文献、「運筆データからの字の切出し」 電子
情報通信学会論文誌 D−2 VOL.73 NO.10 PAGE.1796
-1798 '90 に記載されているので、省略する。又、分
割された文字のストローク情報、分割された文字の外接
矩形の位置座標を含む位置情報を保持していることとす
る。さらに横書き、縦書きにも対応して文字単位に分割
することとする。
The display device 22 displays the handwriting of the handwritten input data. The character dividing device 23 divides the handwritten input data into character units. As a method of dividing into character units, a document in the related art, "Extraction of Characters from Handwriting Data" Transactions of the Institute of Electronics, Information and Communication Engineers D-2 VOL.73 NO.10 PAGE.1796
-1798 Since it is described in '90, it is omitted. It is also assumed that stroke information of the divided character and position information including position coordinates of a circumscribed rectangle of the divided character are held. In addition, it is divided into characters in correspondence with horizontal writing and vertical writing.

【0047】行分割装置24は手書き入力データを行単
位に分割する。行字単位への分割の手法としては、従来
技術の文献、「運筆データからの行の切出し」 ヒュー
マン・インターフェース・シンポジウム論文集 VOL.5T
H PAGE.101-108 '89 に記載されているので、省略す
る。又、分割された行の外接矩形の位置座標を含む位置
情報を保持しているものとする。さらに横書き、縦書き
にも対応して行単位に分割することとする。
The line dividing device 24 divides the handwritten input data in line units. For the method of dividing into line units, see the literature of the prior art, "Line segmentation from handwriting data", Human Interface Symposium Proceedings VOL.5T
H PAGE.101-108 '89. It is also assumed that position information including the position coordinates of the circumscribed rectangle of the divided row is held. Furthermore, it is assumed that the image is divided into line units corresponding to horizontal writing and vertical writing.

【0048】文字表示位置調整装置25は、行内におけ
る文字の表示位置を仮想基準線に揃うように、再配置す
る機能を有する。図3は、文字表示位置調整装置25の
詳細な構成を示すブロック図であり、仮想基準線設定部
31、ずれ検出部32、移動判断部33、文字データ移
動部34、終了判断部35から構成されている。
The character display position adjusting device 25 has a function of rearranging the characters so that the display positions of the characters in the line are aligned with the virtual reference line. FIG. 3 is a block diagram showing a detailed configuration of the character display position adjusting device 25, which is composed of a virtual reference line setting unit 31, a shift detecting unit 32, a movement determining unit 33, a character data moving unit 34, and an end determining unit 35. Have been.

【0049】仮想基準線設定部31は、行分割装置24
によって分割された行の位置座標を取り込み、横書きの
場合は行の下端の線を、縦書きの場合は行の中心線を仮
想基準線として設定する。ここで仮想基準線とは、分割
された文字を、行として整えて表示するための並び換え
る際の基準となる線であり、当実施例における横書きの
場合では、行の外接矩形の下端の線としている。
The virtual reference line setting unit 31 includes the line dividing device 24
Then, the position coordinates of the line divided by are written, and the line at the lower end of the line is set as a virtual reference line in the case of horizontal writing, and the center line of the line in the case of vertical writing. Here, the virtual reference line is a line serving as a reference when rearranging the divided characters so as to be arranged and displayed as a line, and in the case of horizontal writing in the present embodiment, the line at the lower end of the circumscribed rectangle of the line And

【0050】ずれ検出部32は、仮想基準線設定部31
で設けられた仮想基準線と、文字分割装置23からのス
トローク情報から得られる文字の下端の線とのずれを検
出する。移動判断部33は、ずれ検出部32によって検
出されたずれが、移動するかどうかの判断の基準となる
しきい値より大きいか、否かにより移動するかどうかを
判断する。
The shift detecting section 32 includes a virtual reference line setting section 31.
Is detected from the virtual reference line provided in step (2) and the line at the lower end of the character obtained from the stroke information from the character dividing device 23. The movement judging unit 33 judges whether or not the shift is detected based on whether or not the shift detected by the shift detecting unit 32 is larger than a threshold value as a criterion for judging whether or not to move.

【0051】文字データ移動部34は、移動判断部33
により、移動すると判断された文字に対して、ずれの分
だけ文字分割装置23に保持されている情報を基に移動
する。終了判断部35は、文字分割装置23によって分
割された文字全てについて、ずれ検出部32、移動判断
部33、文字データ移動部34の処理が終了したかどう
かを、判断し、終了していない場合は、次の文字の処理
を行うため、ずれ検出部32に次の文字の検出を行わせ
る。
The character data moving section 34 includes a movement determining section 33
Thus, the character determined to be moved is moved by the amount of the displacement based on the information held in the character dividing device 23. The end determining unit 35 determines whether or not the processing of the shift detecting unit 32, the moving determining unit 33, and the character data moving unit 34 has been completed for all the characters divided by the character dividing device 23. Causes the shift detection unit 32 to detect the next character in order to perform the processing of the next character.

【0052】また、手書き入力データ処理装置11は、
入力装置21と表示装置22を重ねて配置しており、入
力用ペン12の軌跡を表示する。以上のように構成され
た本実施例の手書き入力データ処理装置について、以下
その動作を説明する。入力装置21より入力された手書
きデータは、文字分割装置23、行分割装置24により
座標情報、サンプリング時刻を元に自動的に文字、行へ
分割される。図4(a)(c)に示した手書き入力データが、
文字分割、行分割された編集の矩形枠を付加したを図
5(a)(c)に示す。51は文字に分割された手書き入力デ
ータに外接する矩形である。52、53は行に分割され
た手書き入力データに外接する矩形である。ただし図5
では、文字と行の矩形が分かりやすいように説明の都合
上、行の外接矩形を実際より大きく示してある。
Further, the handwritten input data processing device 11
The input device 21 and the display device 22 are arranged so as to overlap each other, and display the trajectory of the input pen 12. The operation of the handwritten input data processing device of the present embodiment configured as described above will be described below. The handwritten data input from the input device 21 is automatically divided into characters and lines by the character dividing device 23 and the line dividing device 24 based on the coordinate information and the sampling time. The handwritten input data shown in FIGS.
FIGS . 5 (a) and 5 (c) are diagrams in which a rectangular frame for editing that is divided into characters and lines is added. Reference numeral 51 denotes a rectangle circumscribing the handwritten input data divided into characters. Reference numerals 52 and 53 denote rectangles circumscribing the handwritten input data divided into lines. However, FIG.
In the figure, the circumscribed rectangle of the line is larger than the actual rectangle for convenience of explanation so that the rectangle of the character and the line can be easily understood.

【0053】この場合の手法については従来の文献に記
載されているので省略する。この分割された文字データ
を基に、図6に示す動作フローに従って文字表示位置調
整装置25は、以下の動作を行う。ただし、図6は、横
書きの場合のみについてのみ記載されている。まず、仮
想基準線設定部31が、行分割装置24によって分割さ
れた行の位置座標を取り込み、横書きの場合は行である
外接矩形53の下端の線を、縦書きの場合は行の中心線
である中央線55を仮想基準線として設定する(ステッ
プS61)。 つぎに、ずれ検出部32が、仮想基準線設
定部31で設けられた仮想基準線と、文字分割装置23
によって得られる文字データの座標に対して、横書きの
場合は上下、縦書きの場合は左右のずれを検出する(ス
テップS62)。移動判断部33は、ずれ検出部32に
よって検出されたずれが、しきい値より大きいか、否か
を判断することにより、文字データを移動するかどうか
を判断する(ステップS63)。移動する場合は、文字
データ移動部34に移動を行こなわせ、移動しない場合
は、終了判断部35に、終了判定を行わせる。また、し
きい値と判断する理由として、図5の54のような文字
を、行の外接矩形53の底辺部に位置する仮想基準線に
そろえることは不具合いがあるので、このような入力デ
ータに対応するために、原手書き入力データの表示位置
と調整後の表示位置の差がある設定されたしきい値を越
えない場合のみ表示位置を調整するようにするからであ
る。文字データ移動部34は、移動判断部33により、
移動すると判断するとみなされた文字に対して、横書き
の場合はずれの分だけ下方に、縦書きの場合は左右に、
文字分割装置23に保持されている情報を基に文字デー
タを移動する(ステップS64)。終了判断部35は、
移動すべきデータが全て終了したがどうか、文字分割装
置23、行分割装置24から判断し、終了していない場
合は、次の文字の移動を行うため、ずれ検出部32に次
の文字の検出を行わせる。終了している場合は、動作を
終了する(ステップS65)。
The method in this case is described in the conventional literature.
The description is omitted. This divided character data
And character display position adjustment according to the operation flow shown in FIG.
The adjusting device 25 performs the following operation. However, FIG.
Only the case of writing is described. First, temporary
The reference line setting unit 31 separates
The position coordinates of the specified row, and the row if horizontal writing
The bottom line of the circumscribed rectangle 53 is the center line of the line in the case of vertical writing
Is set as a virtual reference line (step
S61). Next, the shift detection unit 32 sets the virtual reference line.
The virtual reference line provided by the defining unit 31 and the character dividing device 23
To the coordinates of the character data obtained byfor, Horizontal
In the case of vertical writing, the left and right misalignment is detected in vertical writing.
Step S62). The movement determining unit 33 sends the
Therefore, whether the detected deviation is larger than the threshold or not
To determine whether to move character data
Is determined (step S63). If you want to move,
When the movement is performed by the data movement unit 34 and the movement is not performed
IsThe end determination unit 35 makes the end determination. Also
Characters such as 54 in FIG. 5 are used to determine the threshold.
To the virtual reference line located at the bottom of the circumscribed rectangle 53 of the row.
Alignment is not good, so input data like this
Display position of the original handwritten input data in order to support
The difference between the display position after adjustment and the
Adjust the display position only when it is not possible.
You. The character data moving unit 34 uses the movement determining unit 33
Horizontal writing for characters that are deemed to move
In the case of, it is shifted downward by the distance, and in the case of vertical writing, it is
Based on the information held in the character dividing device 23,
(Step S64). The end determination unit 35
Check whether all data to be moved is complete.
If the judgment has not been made based on the
In order to move the next character,
The character of is detected. If it is finished,
The process ends (step S65).

【0054】終了したら、表示装置22は、表示位置を
修正された文字を表示する。表示位置を修正された後の
図は、図4(b)(d)に示し、説明のため矩形枠を付加した
図を図5(b)(d)に示す以上のように本実施例によれば
手書き入力データを文字、行に分割し、行内の文字の表
示位置を調整することにより整った表示を得ることがで
きる次に本発明の第2の実施例を図7から図11に基づ
き説明する。本実施例の手書き入力データ処理装置の外
観は図1に示した実施例と同様である。
Upon completion, the display device 22 displays the character whose display position has been corrected. FIGS. 4 (b) and 4 (d) show diagrams after the display position is corrected, and FIGS. 5 (b) and 5 (d) show diagrams with a rectangular frame added for explanation . Second embodiment of the present invention in the following that it is possible to obtain a display of the handwritten input data according to this embodiment is divided character, in a row, well-equipped by adjusting the display position of the row of characters as above Will be described with reference to FIGS. The appearance of the handwritten input data processing device of this embodiment is the same as that of the embodiment shown in FIG.

【0055】図7は、本実施例における手書き入力デー
タ処理装置の構成図であり、第1の実施例の構成に加え
て、文字傾き調整装置71を備える。文字傾き調整装置
71は、文字の傾きの検出を行う。図8は、文字傾き調
整装置71の詳細な構成を示すブロック図である。文字
傾き調整装置71は、水平・垂直ストローク判断部8
1、しきい値判断部82、傾き検出部A83、傾き検出
部B84、回転座標決定部85、文字データ回転部8
6、終了判断部87から構成される。
FIG. 7 is a block diagram of a handwritten input data processing apparatus according to the present embodiment, which is provided with a character inclination adjusting device 71 in addition to the configuration of the first embodiment. The character inclination adjusting device 71 detects the inclination of the character. FIG. 8 is a block diagram showing a detailed configuration of the character inclination adjusting device 71. The character inclination adjusting device 71 includes a horizontal / vertical stroke determining unit 8.
1, threshold value judgment unit 82, inclination detection unit A83, inclination detection unit B84, rotation coordinate determination unit 85, character data rotation unit 8
6. An end determination unit 87.

【0056】水平・垂直ストローク判断部81は、文字
分割装置23が保持する文字のストローク情報より、そ
の文字が、水平、垂直に近いストロークを持っているか
判断する。もし持っていれば、傾き検出部A83に傾き
の検出を行わせ、もし持っていなければ、しきい値判断
部82を起動する。しきい値判断部82は、文字分割装
置23が保持する文字のストローク情報より、ストロー
ク上の点で矩形の底辺上になく底辺に最も近い点である
最下点と矩形の底辺からの距離を検出し、その距離があ
るしきい値以下か、それより大きいかを判断する。ある
しきい値以下の場合は、その距離を傾き検出部B84に
送り、傾きの検出を行わせ、あるしきい値以上の場合
は、終了判断部87に、終了判定を行わせる。
The horizontal / vertical stroke judging section 81 judges from the stroke information of the character held by the character dividing device 23 whether the character has a stroke which is almost horizontal or vertical. If it does, the inclination detecting unit A83 detects the inclination, and if not, the threshold judging unit 82 is started. From the stroke information of the character held by the character segmenting device 23, the threshold value judging section 82 calculates the distance between the lowest point, which is the point on the stroke that is not on the base of the rectangle but the closest to the base, and the base of the rectangle. Then, it is determined whether the distance is equal to or less than a certain threshold value or greater than the threshold value. If the distance is equal to or less than a certain threshold, the distance is sent to the inclination detecting unit B84 to cause the inclination to be detected. If the distance is equal to or more than the certain threshold, the end determining unit 87 performs the end determination.

【0057】傾き検出部A83は、水平、垂直に近いス
トロークの傾きにより、文字の傾きを検出する。本実施
例では、水平、垂直にもっとも近いストロークの傾きを
文字の傾きとして検出する。傾き検出部B84は、しき
い値判断部82によって検出されたストロークの最下点
と矩形の底辺からの距離により、文字の傾きを検出す
る。本実施例では、底辺とストロークが接する点の座標
と、前記最下点との座標に基づいて傾きを計算する。
The inclination detecting unit A83 detects the inclination of the character based on the inclination of the stroke which is almost horizontal or vertical. In this embodiment, the inclination of the stroke closest to the horizontal and vertical directions is detected as the inclination of the character. The inclination detection unit B84 detects the inclination of the character based on the distance from the lowest point of the stroke detected by the threshold value judgment unit 82 to the bottom of the rectangle. In the present embodiment, the inclination is calculated based on the coordinates of the point where the stroke contacts the base and the coordinates of the lowest point.

【0058】回転座標決定部85は、傾き検出部A83
または傾き検出部B84で傾傾きが検出された文字に対
して、文字分割装置23が保持する位置情報により、矩
形の中心座標を回転座標として求める。文字データ回転
部86は、回転座標決定部85で求められた回転座標を
中心として、回転対象の文字を、検出された傾きによ
り、文字を回転させることにより傾きの修正を行う。
The rotation coordinate determination section 85 includes an inclination detection section A83
Alternatively, for the character whose inclination is detected by the inclination detection unit B84, the center coordinate of the rectangle is obtained as the rotation coordinate based on the position information held by the character dividing device 23. The character data rotation unit 86 corrects the inclination by rotating the character to be rotated around the rotation coordinate obtained by the rotation coordinate determination unit 85 based on the detected inclination.

【0059】終了判断部87は、文字分割装置23によ
って分割された文字全てについて、水平・垂直ストロー
ク判断部81の処理が終了したかどうかを、判断し、終
了していない場合は、次の文字の処理を行うため、水平
・垂直ストローク判断部81に次の文字の検出を行わせ
る。以上のように構成された本実施例の手書き入力デー
タ処理装置について、以下その動作を説明する。
The end judging section 87 judges whether or not the processing of the horizontal / vertical stroke judging section 81 has been completed for all of the characters divided by the character dividing device 23. Is performed, the horizontal / vertical stroke determination unit 81 is caused to detect the next character. The operation of the handwritten input data processing device of the present embodiment configured as described above will be described below.

【0060】第1の実施例の場合と同様に、入力装置2
1より入力された手書きデータは文字分割装置23、行
分割装置24により座標情報、サンプリング時刻を基に
自動的に文字、行に分割される。図9(a)に示した手書
き入力データが、文字分割、行分割された説明のため矩
形枠を付加した図を図10(a)に示す。ここまでは、第
1の実施例の場合と同様である。
As in the case of the first embodiment, the input device 2
The handwritten data input from 1 is automatically divided into characters and lines by the character dividing device 23 and the line dividing device 24 based on the coordinate information and the sampling time. FIG. 10A shows a diagram in which the handwritten input data shown in FIG. 9A is divided into characters and lines and a rectangular frame is added for explanation. Up to this point, the operation is the same as in the first embodiment.

【0061】この分割された文字データを基に、図11
に示す動作フローに従って文字傾き調整装置71は、以
下の動作を行う。ただし、図11は、横書きの場合につ
いてのみ記載されている。まず、水平・垂直ストローク
判断部81は、文字分割装置23が保持する文字のスト
ローク情報より、その文字が、水平、垂直に近いストロ
ークを持っているか判断する(ステップS111)。も
し持っていれば、傾き検出部A83に傾きの検出を行わ
せ(ステップS112)、もし持っていなければ、しき
い値判断部82に、しきい値との比較を行わせる(ステ
ップS113)。傾き検出部A83による傾き検出は
(ステップS112)、文字分割装置23が保持する文
字のストローク情報のうち、水平、垂直に近いストロー
クの傾きにより、文字の傾きを検出する。傾きが検出さ
れたら、実際の回転動作に入るため、回転座標決定部8
5は、回転対象の文字に対して、文字分割装置23が保
持する位置情報により、回転座標を求める(ステップS
114)。そして、文字データ回転部86は、回転座標
決定部85で求められた回転座標を中心として、回転対
象の文字を、傾き検出部A83または傾き検出部B84
で求められた傾きにより、文字を回転させる。(ステッ
プS115)、回転が終了したら、終了判断部87によ
り、終了判定(ステップS117)が行われる。もし終
了でなければ、水平・垂直ストローク判断部81によ
る、水平、垂直に近いストロークを持っているかの判断
(ステップS111)に、戻る。もし終了であれば処理
を終了する。
Based on the divided character data, FIG.
The character inclination adjusting device 71 performs the following operation according to the operation flow shown in FIG. However, FIG. 11 describes only the case of horizontal writing. First, the horizontal / vertical stroke determining unit 81 determines whether the character has a stroke that is nearly horizontal or vertical based on the stroke information of the character held by the character dividing device 23 (step S111). If so, the inclination detecting unit A83 is caused to detect the inclination (step S112), and if not, the threshold value judging unit 82 is compared with the threshold value (step S113). In the inclination detection by the inclination detection unit A83 (step S112), the inclination of the character is detected based on the inclination of the stroke that is nearly horizontal or vertical in the stroke information of the character held by the character dividing device 23. When the inclination is detected, the actual rotation operation is started.
5, for the character of the rotating object, the character division unit 23 by the position information held, obtains the rotating coordinate (step S
114). Then, the character data rotation unit 86 converts the character to be rotated around the rotation coordinates obtained by the rotation coordinate determination unit 85 into the inclination detection unit A83 or the inclination detection unit B84.
The character is rotated according to the inclination obtained in. (Step S115) When the rotation is completed, the end determination unit 87 makes an end determination (Step S117). If not, the process returns to the horizontal / vertical stroke determination section 81 which determines whether the stroke has a horizontal or vertical stroke (step S111). If it is completed, the process is completed.

【0062】ステップS111で、水平、垂直に近いス
トロークを持っていないと判断された場合しきい値判
断部82は、文字分割装置23が保持する文字のストロ
ーク情報より、ストロークの最下点と矩形の底辺からの
距離が、あるしきい値以下か、それより大きいかを判断
する(ステップS113)。あるしきい値以上の場合
は、終了判断部87(ステップS117)に、終了判定
を行わせる。あるしきい値以下の場合は、傾き検出部B
84に傾きの検出を行わせ(ステップS116)、傾き
検出部B84は、しきい値判断部82によって検出され
たストロークの最下点と矩形の底辺からの距離により、
文字の傾きを検出する。その後、検出された傾きによ
り、実際の回転動作、(ステップS114、ステップS
115)に進み、以下前述と同様である。
If it is determined in step S111 that the character does not have a stroke close to horizontal and vertical , the threshold value determining unit 82 determines the lowest point of the stroke from the stroke information of the character held by the character dividing device 23. It is determined whether the distance from the bottom of the rectangle is equal to or less than a certain threshold value or greater (step S113). If it is equal to or greater than a certain threshold value, the termination determination section 87 (step S117) is caused to make a termination determination. If the difference is less than a certain threshold, the inclination detection unit B
84 is detected (step S116), and the inclination detection unit B84 calculates the inclination from the lowest point of the stroke detected by the threshold value judgment unit 82 and the distance from the bottom of the rectangle.
Detect character inclination. Then, based on the detected inclination, the actual rotation operation (Step S114, Step S114)
115), and the same as described above.

【0063】以上で、文字傾き調整装置71の内部の動
作が終了し、その傾きが修正された文字データを、文字
表示位置調整装置25によって、第1の実施例と同様に
仮想基準線に対して揃うように表示位置を調整し、以下
第1の実施例と同様である。終了したら、表示装置22
は、表示位置を修正された文字を表示する。表示位置を
修正された後の図は、図9(b)に示し、説明のため矩形
枠を付加した図を図10(b)に示す。
With the above, the internal operation of the character inclination adjusting device 71 is completed, and the character data whose inclination has been corrected is transferred to the virtual reference line by the character display position adjusting device 25 in the same manner as in the first embodiment. The display positions are adjusted so that they are aligned, and this is the same as in the first embodiment. When finished, display device 22
Displays a character whose display position has been corrected. FIG. 9B shows a diagram after the display position is corrected, and FIG. 10B shows a diagram with a rectangular frame added for explanation.

【0064】以上のように本実施例によれば、手書き入
力データを文字、行に分割し、文字の傾きを調整し、行
内の文字の表示位置を調整することにより、例えば右上
がりの癖のあるような手書き入力データに対しても、整
った表示を得ることができるなお、本実施例では、傾
きを検出する方法として、2種類の検出方法を組み合わ
せて実施しているが、本実施例の構成よりしきい値判断
部82と、傾き検出部B84を除いた構成でも十分実施
出来き、また本実施例の構成より傾き検出部A83を除
いた構成でも実施出来る。
As described above, according to this embodiment, the input data is divided into characters and lines, the inclination of the characters is adjusted, and the display position of the characters in the lines is adjusted. A well-designed display can be obtained even for certain handwritten input data . In the present embodiment, two types of detection methods are used in combination to detect the inclination. However, a configuration in which the threshold value determination unit 82 and the inclination detection unit B84 are removed from the configuration of the present embodiment. However, the present embodiment can be sufficiently implemented, and can also be implemented with a configuration excluding the inclination detecting unit A83 from the configuration of the present embodiment.

【0065】次に本発明の第3の実施例を図12から図
17に基づき説明する。本実施例の手書き入力データ処
理装置の外観は図1に示した実施例と同様である。図1
2は、本実施例における手書き入力データ処理装置の構
成図であり、第1の実施例の構成に加えて、文字サイズ
調整装置121を備える。文字サイズ調整装置121
は、文字分割装置23により分割された文字に対して、
文字のサイズの計算を行い、出現頻度のピークのサイズ
に合わせて、他の文字を拡大縮小することにより揃え
る。ここで、サイズとは、文字に外接する矩形の縦横ど
ちらか長い方の辺の長さのことであり、またピークと
は、文字全てについて横軸に文字のサイズ縦軸に文字の
出現頻度をとったヒストグラムにおいて、山になる所を
指し、山がいくつもある場合は、そのそれぞれがピーク
となる。ピークのサイズとは、ピークとなるところの頂
点の文字のサイズである。
Next, a third embodiment of the present invention will be described with reference to FIGS. The appearance of the handwritten input data processing device of this embodiment is the same as that of the embodiment shown in FIG. FIG.
2 is a configuration diagram of a handwriting input data processing device according to the present embodiment, and includes a character size adjustment device 121 in addition to the configuration of the first embodiment. Character size adjustment device 121
Is for the character divided by the character dividing device 23,
The size of the character is calculated, and the other characters are scaled up and down to match the size of the peak of the appearance frequency. Here, the size is the length of the longer side of the rectangle circumscribing the character, whichever is longer, and the peak is the size of the character on the horizontal axis and the appearance frequency of the character on the vertical axis for all the characters. In the histogram taken, it indicates a place where a mountain is formed, and when there are a plurality of mountains, each of them becomes a peak. The size of the peak is the size of the character at the vertex at the peak.

【0066】ここでピークが、2つ存在する場合つまり
山が2つ存在する場合は、2つのピークを用い、2つの
ピークのサイズについてどちらか適切な方に文字を拡大
縮小する事により揃えることができる。さらに山が3以
上存在する場合は、各ピークの文字サイズの平均値を唯
一の基準文字サイズとして揃えることができる。またピ
ークのサイズから極端に離れるような文字については、
文字サイズの調整を行わない。これらにより漢字を大き
く、平仮名を小さく書いた場合や、『ぁ』のような小文
字が混在した手書き入力データにも対応できる。
Here, when there are two peaks, that is, when there are two peaks, the two peaks are used, and the size of the two peaks is scaled up or down to the appropriate one, thereby aligning the characters. Can be. Further, when there are three or more peaks, the average value of the character sizes of the peaks can be aligned as the only reference character size. For characters that deviate extremely from the peak size,
Do not adjust the font size. Thus, it is possible to cope with a case where a large kanji is written and a small hiragana is written or handwritten input data in which lowercase letters are mixed such as "@".

【0067】図13は、文字サイズ調整装置121の詳
細な構成を示すブロック図である。文字サイズ調整装置
121は、文字サイズ計算部1301、文字サイズ記憶
部1302、記憶終了判断部1303、第1基準文字サ
イズ設定部1304、第2ピーク検出判断部1305、
第3ピーク検出判断部1306、平均文字サイズ設定部
1307、第2基準文字サイズ設定部1308、分岐値
設定部1309、文字サイズしきい値判断部1310、
文字サイズ分岐値判断部1311、文字サイズ変更部1
312、終了判断部1313から構成される。
FIG. 13 is a block diagram showing a detailed configuration of the character size adjusting device 121. The character size adjustment device 121 includes a character size calculation unit 1301, a character size storage unit 1302, a storage end determination unit 1303, a first reference character size setting unit 1304, a second peak detection determination unit 1305,
A third peak detection determination unit 1306, an average character size setting unit 1307, a second reference character size setting unit 1308, a branch value setting unit 1309, a character size threshold value determination unit 1310,
Character size branch value judgment unit 1311, character size change unit 1
312 and an end determination unit 1313.

【0068】文字サイズ計算部1301は、文字分割装
置23が保持する文字の位置情報より、文字に外接する
矩形の縦横どちらか長い方の辺の長さをサイズとして計
算する。文字サイズ記憶部1302は、文字サイズ計算
部1301で計算された文字のサイズを全て記憶する記
憶領域を備え、記憶する。
The character size calculation unit 1301 calculates the size of the longer side of the rectangle circumscribing the character, whichever is longer or shorter, based on the position information of the character held by the character division device 23. The character size storage unit 1302 includes and stores a storage area for storing all the character sizes calculated by the character size calculation unit 1301.

【0069】記憶終了判断部1303は、文字分割装置
23に保持されている文字全てについて、文字サイズ計
算部1301と、文字サイズ記憶部1302による処理
が全ての文字に対して終了したかどうかを判断する。も
し終了していなければ、文字サイズ計算部1301に次
の文字の処理を行わせる。第1基準文字サイズ設定部1
304は、文字サイズ記憶部1302に記憶されている
全ての文字サイズのヒストグラムより、ピークとなる文
字サイズのうち第1番目に山が高いピークの文字サイズ
を第1基準文字サイズとして設定する。
The storage end determination unit 1303 determines whether the processing by the character size calculation unit 1301 and the character size storage unit 1302 has been completed for all the characters held in the character division device 23. I do. If the processing has not been completed, the character size calculation unit 1301 causes the next character to be processed. First reference character size setting unit 1
304 sets the character size of the peak with the first highest peak among the character sizes of the peaks from the histogram of all character sizes stored in the character size storage unit 1302 as the first reference character size.

【0070】第2ピーク検出判断部1305は、文字サ
イズ記憶部1302に記憶されている全ての文字サイズ
のヒストグラムより、ピークとなる文字サイズのうち第
2番目に山が高いピークが存在するかを検出し、存在す
る場合は、第3ピーク検出判断部1306を起動し、存
在しない場合は、文字サイズしきい値判断部1310を
起動するとともに第2基準文字サイズ設定部1308に
第2基準文字サイズとして’0’及び分岐値設定部13
09に分岐値として’0’を設定する。
The second peak detection determination unit 1305 determines whether or not there is a peak having the second highest peak among the peak character sizes from the histograms of all character sizes stored in the character size storage unit 1302. If it is detected and present, the third peak detection / judgment unit 1306 is activated. If it is not present, the character size threshold value judging unit 1310 is activated and the second reference character size setting unit 1308 stores the second reference character size. '0' and the branch value setting unit 13
09 is set to '0' as a branch value.

【0071】第3ピーク検出判断部1306は、ピーク
となる文字サイズのうち第1番目、第2番目に大きいピ
ーク以外にもピークが存在するかを検出し、存在しない
場合は、第2基準文字サイズ設定部1308を起動し、
存在する場合は、平均文字サイズ設定部1307を起動
する。平均文字サイズ設定部1307は、各ピークとな
る文字サイズよりそれらの文字サイズの平均値を求め、
第1基準文字サイズ設定部1304で設定された第1基
準文字サイズをこの求められた平均値で置き換え新たな
第1基準文字サイズとして再設定されるとともに、第2
基準文字サイズ設定部1308に第2基準文字サイズと
して’0’及び分岐値設定部1309に分岐値として’
0’を設定する。
[0071] The third peak detecting determination unit 1306, the first of the character size as a peak, also detects whether peaks exist in addition to a large peak in the second, if it does not exist, the second reference Activate the character size setting unit 1308,
If there is, the average character size setting unit 1307 is activated. The average character size setting unit 1307 obtains the average value of the character sizes from the character sizes at the peaks,
The first reference character size set by the first reference character size setting unit 1304 is replaced with the obtained average value, and is reset as a new first reference character size.
'0' as the second reference character size in the reference character size setting unit 1308 and '
Set to 0 '.

【0072】第2基準文字サイズ設定部1308は、文
字サイズ記憶部1302に記憶されている全ての文字サ
イズのヒストグラムより、ピークとなる文字サイズのう
ち第2番目に山が高いピークの文字サイズを第2基準文
字サイズとして設定し、分岐値設定部1309を起動す
る。分岐値設定部1309は、第1基準文字サイズと第
2基準文字サイズの間の範囲において、最小の出現頻度
の値をとる文字のサイズ、つまりピークに対して谷とな
る部分の文字のサイズを、分岐値として設定する。
The second reference character size setting unit 1308 determines the character size of the peak with the second highest peak among the peak character sizes from the histograms of all character sizes stored in the character size storage unit 1302. The value is set as the second reference character size, and the branch value setting unit 1309 is activated. The branch value setting unit 1309 determines the size of the character having the minimum value of the appearance frequency in the range between the first reference character size and the second reference character size, that is, the size of the character at the valley with respect to the peak. , As a branch value.

【0073】文字サイズしきい値判断部1310は、対
象文字のサイズを基準となる文字サイズのうち小さい方
と比較し、その差が所定のしきい値より大きければ、対
象文字のサイズを変更せずに終了判断部1313を起動
し、その差が所定のしきい値より小さければ、文字サイ
ズ分岐値判断部1311を起動する。文字サイズ分岐値
判断部1311は、まず対象文字のサイズと分岐値とを
比較し対象文字の方が大きい場合は、第1基準文字サイ
ズと、第2基準文字サイズとの文字サイズの大小を比較
し、第1基準文字サイズの方が大きければ、文字サイズ
変更部1312に対象文字を第1基準文字サイズに変更
させ、第2基準文字サイズの方が大きければ、文字サイ
ズ変更部1312に対象文字を第2基準文字サイズに変
更させる。次に、対象文字のサイズと分岐値とを比較し
分岐値の方が大きい場合は、第1基準文字サイズと、第
2基準文字サイズとの文字サイズの大小を比較し、第2
基準文字サイズの方が大きければ、文字サイズ変更部1
312に対象文字を第1基準文字サイズに変更させ、第
1基準文字サイズの方が大きければ、文字サイズ変更部
1312に対象文字を第2番基準文字サイズに変更させ
る。
Character size threshold value judging section 1310 compares the size of the target character with the smaller of the reference character sizes, and if the difference is larger than a predetermined threshold, changes the size of the target character. If the difference is smaller than a predetermined threshold value, the character size branch value judgment unit 1311 is started. The character size branch value determining unit 1311 first compares the size of the target character with the branch value, and if the target character is larger, compares the size of the first reference character size with the size of the second reference character size. If the first reference character size is larger, the character size changing unit 1312 changes the target character to the first reference character size. If the second reference character size is larger, the character size changing unit 1312 changes the target character. Is changed to the second reference character size. Next, the size of the target character is compared with the branch value. If the branch value is larger, the first reference character size and the second reference character size are compared with each other, and the second reference character size is compared with the second reference character size.
If the reference character size is larger, the character size changing unit 1
In step 312, the target character is changed to the first reference character size. If the first reference character size is larger, the character size changing unit 1312 changes the target character to the second reference character size.

【0074】文字サイズ変更部1312は、対象文字の
サイズを、文字サイズ分岐値判断部1311の指示に従
い、第1基準文字サイズ設定部1304若しくは第2基
準文字サイズ設定部1308に設定されている文字サイ
ズを基に対象文字のサイズを変更する。文字サイズの変
更は、左下頂点を基準に行なう。終了判断部1313
は、文字分割装置23に保持されている文字全てについ
て、文字サイズしきい値判断部1310による処理が、
全ての文字に対して行われたかどうかを判断し、終了し
ていない場合は、次の文字の処理を行うため、文字サイ
ズしきい値判断部1310に次の文字の判断を行わせ
る。
The character size changing unit 1312 changes the size of the target character according to the instruction of the character size branch value determining unit 1311 and is set in the first reference character size setting unit 1304 or the second reference character size setting unit 1308. Change the size of the target character based on the size. The character size is changed based on the lower left vertex. End determination unit 1313
Indicates that the processing performed by the character size threshold value determination unit 1310 for all the characters held in the character division device 23
It is determined whether or not the processing has been performed for all the characters. If the processing has not been completed, the character size threshold value determination unit 1310 is made to determine the next character in order to process the next character.

【0075】第1の実施例の場合と同様に、入力装置2
1より入力された手書きデータは文字分割装置23、行
分割装置24により座標情報、サンプリング時刻を元に
自動的に文字、行へ分割される。図14(a)に示した手
書き入力データが、文字分割、行分割された編集の説明
のため矩形枠を付加した図を図15(a)に示す。ここま
では、第1の実施例の場合と同様である。
As in the case of the first embodiment, the input device 2
The handwritten data input from 1 is automatically divided into characters and lines by the character dividing device 23 and the line dividing device 24 based on the coordinate information and the sampling time. FIG. 15A shows a diagram in which a rectangular frame is added to explain the editing in which the handwritten input data shown in FIG. 14A is divided into characters and lines. Up to this point, the operation is the same as in the first embodiment.

【0076】この分割された文字データを基に、図1
6、図17に示す動作フローに従って文字サイズ調整装
置121は、以下の動作を行う。ただし、図16、図1
7は、横書きの場合についてのみ記載されている。ま
ず、文字サイズ計算部1301は、文字分割装置23が
保持する文字の位置情報より、文字に外接する矩形の縦
横どちらか長い方の辺の長さをサイズとして計算する
(ステップS1601)。次に文字サイズ記憶部130
2は、文字サイズ計算部1301で計算された文字のサ
イズを記憶する(ステップS1602)。そして、記憶
終了判断部1303は、文字分割装置23に保持されて
いる文字全てについて、文字サイズ計算部1301と、
文字サイズ記憶部1302による処理が全ての文字に対
して終了したかどうかを判断する、もし終了していなけ
れば、文字サイズ計算部1301に次の文字の処理を行
わせる。(ステップS1603)。終了していれば、第
1基準文字サイズ設定部1304は、文字サイズ記憶部
1302に記憶されている全ての文字サイズのヒストグ
ラムより、ピークとなる文字サイズのうち第1番目に大
きいピークの文字サイズを第1基準文字サイズとして設
定する(ステップS1604)。第1基準文字サイズを
設定されたら、第2ピーク検出判断部1305は、ピー
クとなる文字サイズのうち第2番目に大きいピークが存
在するかを検出し、存在する場合は、第3ピーク検出判
断部1306を起動し、存在しない場合(図18aの場
合)は、文字サイズしきい値判断部1310を起動する
とともに、第2基準文字サイズ設定部1308に第2基
準文字サイズとして’0’及び分岐値設定部1309に
分岐値として’0’を設定する(ステップS160
5)。
Based on the divided character data, FIG.
6. The character size adjusting device 121 performs the following operation according to the operation flow shown in FIG. However, FIG. 16, FIG.
No. 7 is described only for the case of horizontal writing. First, the character size calculating unit 1301 calculates the length of the longer or shorter side of the rectangle circumscribing the character as the size from the position information of the character held by the character dividing device 23 (step S1601). Next, the character size storage unit 130
2 stores the character size calculated by the character size calculation unit 1301 (step S1602). Then, the storage end determination unit 1303 determines the character size calculation unit 1301 for all the characters held in the character division device 23,
It is determined whether or not the processing by the character size storage unit 1302 has been completed for all characters. If not, the character size calculation unit 1301 causes the character size calculation unit 1301 to perform processing for the next character. (Step S1603). If the processing has been completed, the first reference character size setting unit 1304 determines the first largest character size among the peak character sizes from the histogram of all character sizes stored in the character size storage unit 1302. Is set as the first reference character size (step S1604). When the first reference character size is set, the second peak detection determination unit 1305 detects whether a second largest peak exists in the peak character size, and if so, the third peak detection determination The unit 1306 is activated, and if it does not exist (in the case of FIG. 18A), the character size threshold value judging unit 1310 is activated, and the second reference character size setting unit 1308 sends “0” as the second reference character size and branches. “0” is set as a branch value in the value setting unit 1309 (step S160)
5).

【0077】ステップS1605で起動された第3ピー
ク検出判断部1306は、ピークとなる文字サイズのう
ち第1番目、第2番目に大きいピーク以外にもピーク
在するかを検出し、存在しない場合(図18bの場
合)は、第2基準文字サイズ設定部1308を起動し、
存在する場合(図18cの場合)は、平均文字サイズ設
定部1307を起動する(ステップS1606)。ステ
ップS1606で起動された平均文字サイズ設定部13
07は、各ピークとなる文字サイズよりそれらの文字サ
イズの平均値を求め、第1基準文字サイズ設定部130
4で設定された第1基準文字サイズをこの求められた平
均値で置き換え新たな第1基準文字サイズとして再設定
されるとともに、第2基準文字サイズ設定部1308に
第2基準文字サイズとして’0’及び分岐値設定部13
09に分岐値として’0’を設定する(ステップS16
07)。ステップS1606で起動された第2基準文字
サイズ設定部1308は、文字サイズ記憶部1302に
記憶されている全ての文字サイズのヒストグラムより、
ピークとなる文字サイズのうち第2番目に大きいピーク
の文字サイズを第2基準文字サイズとして設定し、分岐
値設定部1309を起動する(ステップS1608)。
起動された分岐値設定部1309は、第1基準文字サイ
ズと第2基準文字サイズの間の範囲において、最小の出
現頻度の値をとる文字のサイズ、つまりピークに対して
谷となる部分の文字のサイズを、分岐値として設定し、
文字サイズしきい値判断部1310を起動する(ステッ
プS1609)。
The third peak detection / judgment unit 1306 started in step S1605 determines that the peaks other than the first and second largest peaks among the character sizes to be the peaks are determined.
Detecting whether the existence, in the absence (in the case of FIG. 18b) activates the second reference character size setting unit 1308,
If it exists (in the case of FIG. 18c), the average character size setting unit 1307 is activated (step S1606). Average character size setting unit 13 activated in step S1606
07 calculates the average of the character sizes from the peak character sizes, and sets the first reference character size setting unit 130.
4. The first reference character size set in step 4 is replaced with the obtained average value and reset as a new first reference character size, and the second reference character size setting unit 1308 sets the second reference character size to '0'. 'And branch value setting unit 13
09 is set to “0” as a branch value (step S16)
07). The second reference character size setting unit 1308 activated in step S1606 uses the histograms of all character sizes stored in the character size storage unit 1302 to determine
The character size of the second largest peak among the peak character sizes is set as the second reference character size, and the branch value setting unit 1309 is activated (step S1608).
The activated branch value setting unit 1309 determines the size of the character having the minimum appearance frequency value in the range between the first reference character size and the second reference character size, that is, the character in the portion that is a valley with respect to the peak. Is set as the branch value,
The character size threshold value judgment unit 1310 is activated (step S1609).

【0078】文字サイズしきい値判断部1310は、ま
ず第2基準文字サイズが0であるかどうかを判断し(ス
テップS1610)、第2基準文字サイズが0である場
合は、第1基準文字サイズから対象文字サイズを引いた
値がしきい値より大きければ、対象文字のサイズを変更
せずに終了判断部1313を起動し、第1基準文字サイ
ズから対象文字サイズを引いた値がしきい値より大きく
なければ、文字サイズ分岐値判断部1311を起動する
(ステップS1614)。またステップS1610で、
第2基準文字サイズが0でないと判断された場合は、第
1基準文字サイズと第2基準文字サイズの大小を比較し
(ステップS1612)、第1基準文字サイズの方が大
きくなければ、ステップS1611に進み、第1基準文
字サイズの方が大きければ、第2基準文字サイズから対
象文字サイズを引いた値がしきい値より大きいかどうか
を判断し(ステップS1613)、第2基準文字サイズ
から対象文字サイズを引いた値がしきい値より大きけれ
ば、終了判断部1313を起動し、第2基準文字サイズ
から対象文字サイズを引いた値がしきい値より大きくな
ければ、文字サイズ分岐値判断部1311を起動する
(ステップS1614)。
The character size threshold value judging unit 1310 first judges whether or not the second reference character size is 0 (step S1610). If the second reference character size is 0, the first reference character size is determined. If the value obtained by subtracting the target character size from the target character size is larger than the threshold value, the end determination unit 1313 is started without changing the target character size, and the value obtained by subtracting the target character size from the first reference character size is equal to the threshold value. Bigger
If not , the character size branch value determination unit 1311 is activated (step S1614). Also, in step S1610,
If it is determined that the second reference character size is not 0, the first reference character size is compared with the second reference character size (step S1612), and the first reference character size is larger.
If not, the flow proceeds to step S1611. If the first reference character size is larger, it is determined whether a value obtained by subtracting the target character size from the second reference character size is larger than a threshold value (step S1613). if the value obtained by subtracting the target character size from the second reference character size is larger than the threshold value, starts the end determination unit 1313, a value obtained by subtracting the target character size from the second reference character size is I greater than the threshold value
If it is , the character size branch value judgment unit 1311 is activated (step S1614).

【0079】起動された文字サイズ分岐値判断部131
1は、まず対象文字のサイズと分岐値とを比較し(ステ
ップS1617)対象文字の方が大きい場合は、第1基
準文字サイズと、第2基準文字サイズとの文字サイズの
大小を比較し(ステップS1618)、第1基準文字サ
イズの方が大きければ、文字サイズ変更部1312に対
象文字を第1基準文字サイズに変更させ(ステップS1
616)、第2基準文字サイズの方が大きければ、文字
サイズ変更部1312に対象文字を第2基準文字サイズ
に変更させる(ステップS1617)。次に、対象文字
のサイズと分岐値とを比較し分岐値の方が大きい場合
は、第1基準文字サイズと、第2基準文字サイズとの文
字サイズの大小を比較し(ステップS1618)、第2
基準文字サイズの方が大きければ、文字サイズ変更部1
312に対象文字を第1基準文字サイズに変更させ(ス
テップS1616)、第1基準文字サイズの方が大きけ
れば、文字サイズ変更部1312に対象文字を第2基準
文字サイズに変更させる(ステップS1617)。ま
た、それぞれのサイズの変更が終了したら終了判断部1
313を起動する。
The activated character size branch value judgment unit 131
1 first compares the size of the target character with the branch value (step S1617), and if the target character is larger, compares the size of the first reference character size with the size of the second reference character size ( If the first reference character size is larger, the character size changing unit 1312 changes the target character to the first reference character size (step S118).
616) If the second reference character size is larger, the character size changing unit 1312 changes the target character to the second reference character size (step S1617). Next, the size of the target character is compared with the branch value. If the branch value is larger, the character sizes of the first reference character size and the second reference character size are compared (step S1618). 2
If the reference character size is larger, the character size changing unit 1
312 changes the target character to the first reference character size (step S1616). If the first reference character size is larger, the character size changing unit 1312 changes the target character to the second reference character size (step S1617). . When the change of each size is completed, the end determination unit 1
313 is started.

【0080】起動された終了判断部1313は、文字分
割装置23に保持されている文字全てについて、文字サ
イズしきい値判断部1310による処理が、全ての文字
に対して行われたかどうかを判断し(ステップS161
6)、まだ行われていない場合は、次の文字の処理を行
うため、文字サイズしきい値判断部1310に次の文字
の判断を行わせる(ステップS1610)。
The activated end judging unit 1313 judges whether the processing by the character size threshold judging unit 1310 has been performed for all the characters held in the character dividing device 23 for all the characters. (Step S161
6) If not, the character size threshold value determination unit 1310 is made to determine the next character in order to process the next character (step S1610).

【0081】以上で、文字サイズ調整装置121の内部
の動作が終了し、その文字サイズが修正された文字デー
タを、文字表示位置調整装置25によって、第1の実施
例と同様に仮想基準線に対して揃うように表示位置を調
整し、以下第1の実施例と同様である。 終了したら、
表示装置22は、表示位置を修正された文字を表示す
る。
With the above, the internal operation of the character size adjusting device 121 is completed, and the character data whose character size has been corrected is transferred to the virtual reference line by the character display position adjusting device 25 as in the first embodiment. The display positions are adjusted so as to be aligned with each other, and are the same as in the first embodiment below. When finished,
The display device 22 displays the character whose display position has been corrected.

【0082】表示位置を修正された後の図は、図14
(b)に示し、説明のため矩形枠を付加した図を図15(b)
に示す。以上のように本実施例によれば手書き入力デー
タを文字、行に分割し、文字の大きさを調整し、行内の
文字の表示位置を調整することにより行内の各文字の大
きさが等しくないような手書き入力データに対しても整
った表示を得ることができる。
FIG. 14 is a diagram after the display position is corrected.
FIG. 15 (b) is a diagram in which a rectangular frame is added for explanation.
Shown in As described above, according to the present embodiment, the handwritten input data is divided into characters and lines, the size of the characters is adjusted, and the display positions of the characters in the lines are adjusted so that the sizes of the characters in the lines are not equal. An even display can be obtained for such handwritten input data.

【0083】なお、本実施例では、第1基準文字サイズ
と、第2基準文字サイズを求めてサイズの変更を行って
いるが、第1基準文字サイズだけで、つまり本実施例の
構成より第2ピーク検出判断部1305、第3ピーク検
出判断部1306、平均文字サイズ設定部1307、第
2基準文字サイズ設定部1308、分岐値設定部130
9、文字サイズ分岐値判断部1311を除いた構成でも
十分効果のある実施が出来る。
In the present embodiment, the first reference character size and the second reference character size are obtained and the size is changed. However, only the first reference character size, that is, 2 peak detection determination unit 1305, third peak detection determination unit 1306, average character size setting unit 1307, second reference character size setting unit 1308, branch value setting unit 130
9. Even with the configuration excluding the character size branch value determination unit 1311, a sufficiently effective implementation can be performed.

【0084】次に本発明の第4の実施例を図19から図
23に基づき説明する。本実施例の手書き入力データ処
理装置の外観は図1に示した実施例と同様である。図1
9は、本実施例における手書き入力データ処理装置の構
成図であり、第1の実施例の構成に加えて、ブロック分
割装置171、行表示位置調整装置172を備える。
Next, a fourth embodiment of the present invention will be described with reference to FIGS. The appearance of the handwritten input data processing device of this embodiment is the same as that of the embodiment shown in FIG. FIG.
9 is a configuration diagram of a handwriting input data processing device according to the present embodiment, which includes a block division device 171 and a line display position adjustment device 172 in addition to the configuration of the first embodiment.

【0085】ブロック分割装置171は、行分割装置2
4によって行単位に分割された行の集まりを1ブロック
として、分割するブロック分割装置である。ブロック単
位への分割の手法としては、文字分割装置23、行分割
装置24の手法を準用する。また、またブロックの位置
座標を含む位置情報を保持してることとする。行表示
位置調整装置172は、同一ブロック内の行に対して行
間が等しくなるように行の表示位置を調整する。
The block dividing device 171 is provided for the line dividing device 2.
This is a block dividing device that divides a set of lines divided in units of lines by 4 into one block. As a method of dividing into blocks, the method of the character dividing device 23 and the line dividing device 24 is applied mutatis mutandis. Further, also the Rukoto holds the position information including the position coordinates of the block. The line display position adjusting device 172 adjusts the display position of the line so that the line spacing becomes equal for the lines in the same block.

【0086】図20は、行表示位置調整装置172の詳
細な構成を示すブロック図である。行表示位置調整装置
172は、行間検出部181、行間記憶部182、記憶
終了判断部183、平均行間設定部184、行移動部1
85、終了判断部186から構成される。行間検出部1
81は、行分割装置24と、ブロック分割装置171の
位置データより、一つめの行目の行間を検出する。
FIG. 20 is a block diagram showing a detailed configuration of the line display position adjusting device 172. The line display position adjusting device 172 includes a line spacing detecting unit 181, a line spacing storage unit 182, a storage end determining unit 183, an average line spacing setting unit 184, and a line moving unit 1.
85, an end determination unit 186. Line spacing detector 1
81 detects the line spacing of the first line from the position data of the line dividing device 24 and the block dividing device 171.

【0087】行間記憶部182は、記憶する記憶領域を
備え、行間検出部181で検出された行間を全て記憶す
る。記憶終了判断部183は、行分割装置24に保持さ
れている行全てについて、行間検出部181と、行間記
憶部182による処理が終了したかどうかを判断する。
もし終了していなければ、行間検出部181に次の行の
処理を行わせる。
The line space storage unit 182 has a storage area for storing, and stores all the line spaces detected by the line space detection unit 181. The storage end determination unit 183 determines whether or not the processing by the line spacing detection unit 181 and the line spacing storage unit 182 has been completed for all the rows held in the row dividing device 24.
If the processing has not been completed, the processing for the next line is performed by the line interval detection unit 181.

【0088】平均行間設定部184は、行間記憶部18
2に記憶されている行間の平均値である平均行間を求め
る。行移動部185は、平均行間設定部184に設定さ
れた平均行間と、行分割装置24の位置情報により、行
間隔が平均行間になるように行を移動する。終了判断部
186は、行分割装置24に保持されている行全てにつ
いて、行移動部185による処理が終了したかどうかを
判断し、終了していない場合は、次の行の処理を行うた
め、引き続き、行移動部185に次の行の処理を行わせ
る。
The average line spacing setting section 184 stores the line spacing storage section 18
The average line spacing, which is the average value between the lines stored in 2, is obtained. The line moving unit 185 moves the lines based on the average line spacing set by the average line spacing setting unit 184 and the position information of the line dividing device 24 so that the line spacing becomes the average line spacing. The end determination unit 186 determines whether or not the processing by the row moving unit 185 has been completed for all the rows held in the row dividing device 24. If the processing has not been completed, the processing of the next row is performed. Subsequently, the processing of the next line is performed by the line moving unit 185.

【0089】以上のように構成された本実施例の手書き
入力データ処理装置について、以下その動作を説明す
る。第1の実施例の場合と同様に、入力装置21より入
力された手書きデータは文字分割装置23、行分割装置
24により座標情報、サンプリング時刻を基に自動的に
文字、行、ブロックに分割される。図21(a)に示した
手書き入力データが、文字分割、行分割された編集の説
明のため矩形枠を付加した図を図22(a)に示す。20
1は文字に分割された手書き入力データに外接する矩形
である。202は行に分割された手書き入力データに外
接する矩形である。203は、ブロックに分割され手書
き入力データに外接する矩形である。ブロックとは、連
続して書かれた一塊の手書き入力データを指す。20
5、206は、行間を示す。図22では、文字と行とブ
ロックの矩形が分かりやすいように説明の都合上、意図
的に行、ブロックの外接矩形を実際より大きく示してあ
る。ここまでは、第1の実施例の場合と同様である。
The operation of the handwritten input data processing apparatus of the present embodiment configured as described above will be described below. As in the first embodiment, the handwritten data input from the input device 21 is automatically divided into characters, lines, and blocks by the character dividing device 23 and the line dividing device 24 based on the coordinate information and the sampling time. You. FIG. 22A is a diagram in which a rectangular frame is added to explain the editing in which the handwritten input data shown in FIG. 21A is divided into characters and lines. 20
1 is a rectangle circumscribing handwritten input data divided into characters. Reference numeral 202 denotes a rectangle circumscribing the handwritten input data divided into lines. A rectangle 203 is divided into blocks and circumscribes the handwritten input data. A block refers to a block of handwritten input data written continuously. 20
Reference numerals 5 and 206 indicate line spacing. In FIG. 22, the circumscribed rectangle of the line or block is intentionally shown larger than the actual one for convenience of explanation so that the rectangle of the character, line and block can be easily understood. Up to this point, the operation is the same as in the first embodiment.

【0090】この分割された文字データを基に、図23
に示す動作フローに従って行表示位置調整装置172
は、以下の動作を行う。ただし、図23は、横書きの場
合についてのみ記載されている。まず、行間検出部18
1は、行分割装置24と、ブロック分割装置171の位
置データより、一行目の行間を検出する(ステップS2
11)。そして、行間記憶部182は、行間検出部18
1で検出された行間を記憶する(ステップS212)。
記憶終了判断部183は、行分割装置24に保持されて
いる行全てについて、行間検出部181と、行間記憶部
182による処理が終了したかどうかを判断する(ステ
ップS213)。もし終了していなければ、行間検出部
181に次の行字の処理を行わせる(ステップS21
1)。終了していれば、平均行間設定部184を起動す
る。起動された平均行間設定部184は、行間記憶部1
82に記憶されているの行間平均値を求め設定する(ス
テップS214)。行間平均値が設定されたら、行移動
部185は、平均行間設定部184に設定された平均行
間と、行分割装置24の位置情報により、行間隔が平均
行間になるように行を移動する(ステップS215)。
一つの行の移動が終了したら、終了判断部186は、行
分割装置24に保持されている文字全てについて、行移
動部185による処理が終了したかどうかを判断し(ス
テップS216)、終了していない場合は、次の行の処
理を行うため、引き続き、行移動部185に次の行の処
理を行わせる(ステップS215)。終了している場合
は、以上で行表示位置調整装置172の内部の動作が終
了であり、その表示位置を調整された行に属する文字デ
ータを、文字表示位置調整装置25によって、第1の実
施例と同様に仮想基準線に対して揃うように表示位置を
調整し、以下第1の実施例と同様である。
Based on the divided character data, FIG.
The line display position adjusting device 172 according to the operation flow shown in FIG.
Performs the following operation. However, FIG. 23 illustrates only the case of horizontal writing. First, the line spacing detector 18
1 detects the line spacing of the first line from the position data of the line dividing device 24 and the block dividing device 171 (step S2).
11). Then, the line space storage unit 182 stores the line space detection unit 18.
The line spacing detected in step 1 is stored (step S212).
The storage end determination unit 183 determines whether the processing by the line spacing detection unit 181 and the line spacing storage unit 182 has been completed for all the rows held in the row dividing device 24 (step S213). If the processing has not been completed, the line spacing detection unit 181 performs processing for the next line character (step S21).
1). If the processing has been completed, the average line spacing setting unit 184 is activated. The activated average line spacing setting unit 184 stores the line spacing storage unit 1
The average value between the lines stored in 82 is obtained and set (step S214). When the line spacing average value is set, the line moving unit 185 moves the lines based on the average line spacing set in the average line spacing setting unit 184 and the position information of the line dividing device 24 such that the line spacing becomes the average line spacing ( Step S215).
When the movement of one line is completed, the end determination unit 186 determines whether or not the processing by the line movement unit 185 has been completed for all the characters held in the line dividing device 24 (step S216). If not, the next line is processed by the line moving unit 185 (step S215). If it has been completed, the operation inside the line display position adjusting device 172 has been completed, and the character data belonging to the line whose display position has been adjusted is converted by the character display position adjusting device 25 into the first embodiment. The display position is adjusted so as to be aligned with the virtual reference line as in the example, and the same as in the first embodiment below.

【0091】終了したら、表示装置22は、表示位置を
修正された文字を表示する。表示位置を修正された後の
図は、図21(b)に示し、説明のため矩形枠を付加した
図を図22(b)に示す。以上のように本実施例によれば
手書き入力データを文字、行、ブロックに分割し、行内
の文字の表示位置とブロック内の行の表示位置を調整す
ることにより整った表示を得ることができる。
When the processing is completed, the display device 22 displays the character whose display position has been corrected. FIG. 21B shows a diagram after the display position has been corrected, and FIG. 22B shows a diagram with a rectangular frame added for explanation. As described above, according to this embodiment, the handwritten input data is divided into characters, lines, and blocks, and a display can be obtained by adjusting the display position of the characters in the line and the display position of the lines in the block. .

【0092】なお、本発明は、第1の実施例から第4の
実施例を任意に組み合わせて、実施することも考えられ
る。例えば、第2、3、4の実施例を組み合わせると、
手書きデータの文字の傾きを調整し、大きさをそろえ、
行内の文字の表示位置を調整し、またブロック内の行の
表示位置を調整する機能を有することもできる。なお、
第3の実施例では、ピークの文字サイズに他の文字を拡
大したり、縮小したりしているが、必ずしもピークの文
字サイズでなくてもよく、平均の文字サイズであって
も、規定の文字サイズであっても構わないとする。
The present invention may be implemented by arbitrarily combining the first to fourth embodiments. For example, combining the second, third, and fourth embodiments,
Adjust the inclination of the characters in the handwritten data, adjust the size,
It may have a function of adjusting the display position of a character in a line and adjusting the display position of a line in a block. In addition,
In the third embodiment, other characters are enlarged or reduced to the peak character size. However, the size of the other characters is not necessarily limited to the peak character size. It is assumed that the font size may be used.

【0093】[0093]

【発明の効果】以上説明したように、本発明によれば、
手書きデータを文字、行に分割し、行内の文字の並びの
乱れを調整することにより、整った表示を得ることがで
きるという効果がある。また、手書きデータの文字の傾
きを調整することにより、整った表示を得ることができ
るという効果がある。
As described above, according to the present invention,
By dividing the handwritten data into characters and lines and adjusting the disorder of the arrangement of the characters in the lines, there is an effect that an ordered display can be obtained. Further, by adjusting the inclination of the characters of the handwritten data, there is an effect that an ordered display can be obtained.

【0094】また、行内における手書きデータの文字の
大きさを揃えることにより、整った表示を得ることがで
きるという効果がある。また、手書きデータを文字、
行、ブロックに分割し、行内の文字の表示位置を調整
し、ブロック内の行の表示位置を調整することにより、
整った表示を得ることができるという効果がある。
Further, by making the size of the characters of the handwritten data in the line uniform, it is possible to obtain a uniform display. In addition, handwritten data is converted to characters,
By dividing into lines and blocks, adjusting the display position of the characters in the line, and adjusting the display position of the lines in the block,
There is an effect that an ordered display can be obtained.

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

【図1】本発明の実施例における手書き入力データ処理
装置の外観図である。
FIG. 1 is an external view of a handwritten input data processing device according to an embodiment of the present invention.

【図2】本発明の第1の実施例における手書き入力デー
タ処理装置の構成図である。
FIG. 2 is a configuration diagram of a handwriting input data processing device according to the first embodiment of the present invention.

【図3】本発明の第1の実施例の手書き入力データ処理
装置における文字表示位置装置の詳細な構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing a detailed configuration of a character display position device in the handwriting input data processing device according to the first embodiment of the present invention.

【図4】(a)は、入力装置21から手書きにより入力さ
れた横書き筆跡の場合の、加工されていない筆跡であ
る。(b)は、本発明によって、加工された横書き筆跡の
場合の結果を表示装置22に表示したものである。(c)
は、入力装置21から手書きにより入力された縦書き筆
跡の場合の、加工されていない筆跡である。(d)は、本
発明によって、加工された縦書き筆跡の場合の結果を表
示装置22に表示したものである。
FIG. 4A shows an unprocessed handwriting in the case of a horizontal writing handwriting input by handwriting from the input device 21; (b) shows the result in the case of the horizontally written handwriting processed by the present invention on the display device 22. (c)
Is an unprocessed handwriting in the case of a vertical writing handwriting input by handwriting from the input device 21. (d) shows the result in the case of the vertically written handwriting processed by the present invention on the display device 22.

【図5】図4における、文字、行への分割と文字配置
を、わかりやすいよう具体的に示した説明のため矩形枠
を付加した図である。(a)は、入力装置21から手書き
により入力された横書き筆跡の場合の、加工されていな
い筆跡である。(b)は、本発明によって、加工された横
書き筆跡の場合の結果を表示装置22に表示したもので
ある。(c)は、入力装置21から手書きにより入力され
た縦書き筆跡の場合の、加工されていない筆跡である。
(d)は、本発明によって、加工された縦書き筆跡の場合
の結果を表示装置22に表示したものである。
FIG. 5 is a diagram in which a rectangular frame is added for the purpose of specifically illustrating the division into characters and lines and the character arrangement in FIG. 4 for easy understanding. (a) is an unprocessed handwriting in the case of a horizontal writing handwriting input by handwriting from the input device 21. (b) shows the result in the case of the horizontally written handwriting processed by the present invention on the display device 22. (c) is an unprocessed handwriting in the case of a vertical writing handwriting input by handwriting from the input device 21.
(d) shows the result in the case of the vertically written handwriting processed by the present invention on the display device 22.

【図6】本発明の第1の実施例の手書き入力データ処理
装置における文字表示位置装置の動作フロー図である。
FIG. 6 is an operation flowchart of the character display position device in the handwriting input data processing device of the first embodiment of the present invention.

【図7】本発明の第2の実施例における手書き入力デー
タ処理装置の構成図である。
FIG. 7 is a configuration diagram of a handwritten input data processing device according to a second embodiment of the present invention.

【図8】本発明の第2の実施例の手書き入力データ処理
装置における文字傾き調整装置の詳細な構成を示すブロ
ック図である。
FIG. 8 is a block diagram showing a detailed configuration of a character inclination adjusting device in a handwriting input data processing device according to a second embodiment of the present invention.

【図9】(a)は、入力装置21から手書きにより入力さ
れた、加工されていない筆跡である。(b)は、本発明に
よって、加工された結果を表示装置22に表示したもの
である。
FIG. 9A shows an unprocessed handwriting input by handwriting from the input device 21. (b) shows the result processed by the present invention on the display device 22.

【図10】図9における、文字、行への分割と文字配置
を、わかりやすいよう具体的に示した説明のため矩形枠
を付加した図である。(a)は、入力装置21から手書き
により入力された、加工されていない筆跡である。(b)
は、本発明によって、加工された結果を表示装置22に
表示したものである。
FIG. 10 is a diagram in which a rectangular frame is added for the purpose of specifically illustrating the division into characters and lines and the character arrangement in FIG. 9 for easy understanding. (a) is an unprocessed handwriting input by handwriting from the input device 21. (b)
Is a display of the result processed by the present invention on the display device 22.

【図11】本発明の第2の実施例の手書き入力データ処
理装置における文字傾き調整装置の動作フロー図であ
る。
FIG. 11 is an operation flowchart of the character inclination adjusting device in the handwritten input data processing device according to the second embodiment of the present invention.

【図12】本発明の第3の実施例における手書き入力デ
ータ処理装置の構成図である。
FIG. 12 is a configuration diagram of a handwritten input data processing device according to a third embodiment of the present invention.

【図13】本発明の第3の実施例の手書き入力データ処
理装置における文字サイズ調整装置の詳細な構成を示す
ブロック図である。
FIG. 13 is a block diagram showing a detailed configuration of a character size adjusting device in a handwriting input data processing device according to a third embodiment of the present invention.

【図14】(a)は、入力装置21から手書きにより入力
された、加工されていない筆跡である。(b)は、本発明
によって、加工された結果を表示装置22に表示したも
のである。
FIG. 14A shows an unprocessed handwriting input by handwriting from the input device 21. (b) shows the result processed by the present invention on the display device 22.

【図15】図14における、文字、行への分割と文字配
置を、わかりやすいよう具体的に示した説明のため矩形
枠を付加した図である。(a)は、入力装置21から手書
きにより入力された、加工されていない筆跡である。
(b)は、本発明によって、加工された結果を表示装置2
2に表示したものである。
FIG. 15 is a diagram in which a rectangular frame is added for the sake of explanation in which the division into characters and lines and the character arrangement in FIG. 14 are specifically shown for easy understanding. (a) is an unprocessed handwriting input by handwriting from the input device 21.
(b) shows the result of processing according to the present invention on the display device 2.
2 is displayed.

【図16】本発明の第3の実施例の手書き入力データ処
理装置における文字サイズ調整装置の動作フロー図であ
る。
FIG. 16 is an operation flowchart of the character size adjusting device in the handwritten input data processing device according to the third embodiment of the present invention.

【図17】本発明の第3の実施例の手書き入力データ処
理装置における文字サイズ調整装置の動作フロー図の続
きである。
FIG. 17 is a continuation of the operation flowchart of the character size adjusting device in the handwriting input data processing device of the third embodiment of the present invention.

【図18】文字サイズと出現頻度のヒストグラムであ
る。
FIG. 18 is a histogram of a character size and an appearance frequency.

【図19】本発明の第4の実施例における手書き入力デ
ータ処理装置の構成図である。
FIG. 19 is a configuration diagram of a handwritten input data processing device according to a fourth embodiment of the present invention.

【図20】本発明の第4の実施例の手書き入力データ処
理装置における行表示位置調整装置の詳細な構成を示す
ブロック図である。
FIG. 20 is a block diagram showing a detailed configuration of a line display position adjusting device in a handwritten input data processing device according to a fourth embodiment of the present invention.

【図21】(a)は、入力装置21から手書きにより入力
された、加工されていない筆跡である。(b)は、本発明
によって、加工された結果を表示装置22に表示したも
のである。
FIG. 21 (a) is an unprocessed handwriting input by handwriting from the input device 21. (b) shows the result processed by the present invention on the display device 22.

【図22】図19における、文字、行への分割と文字配
置を、わかりやすいよう具体的に示した説明のため矩形
枠を付加した図である。(a)は、入力装置21から手書
きにより入力された、加工されていない筆跡である。
(b)は、本発明によって、加工された結果を表示装置2
2に表示したものである。
FIG. 22 is a diagram in which a rectangular frame is added for the sake of explanation in which the division into characters and lines and the character arrangement in FIG. 19 are specifically shown for easy understanding. (a) is an unprocessed handwriting input by handwriting from the input device 21.
(b) shows the result of processing according to the present invention on the display device 2.
2 is displayed.

【図23】本発明の第4の実施例の手書き入力データ処
理装置における行表示位置調整装置の動作フロー図であ
る。
FIG. 23 is an operation flowchart of the line display position adjusting device in the handwritten input data processing device according to the fourth embodiment of the present invention.

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

11 手書き入力データ処理装置 12 入力用ペン 21 入力装置 22 表示装置 23 文字分割装置 24 行分割装置 25 文字表示位置調整装置 31 仮想基準線設定部 32 ずれ検出部 33 移動判断部 34 文字データ移動部 35 終了判断部 71 文字傾き調整装置 81 水平・垂直ストローク判断部 82 しきい値判断部 83 傾き検出部A 84 傾き検出部B 85 回転座標決定部 86 文字データ回転部 87 終了判断部 121 文字サイズ調整装置 1301 文字サイズ計算部 1302 文字サイズ記憶部 1303 記憶終了判断部 1304 第1基準文字サイズ設定部 1305 第2ピーク検出判断部 1306 第3ピーク検出判断部 1307 平均文字サイズ設定部 1308 第2基準文字サイズ設定部 1309 分岐値設定部 1310 文字サイズしきい値判断部 1311 文字サイズ分岐値判断部 1312 文字サイズ変更部 1313 終了判断部 171 ブロック分割装置 172 行表示位置調整装置 181 行間検出部 182 行間記憶部 183 記憶終了判断部 184 平均行間設定部 185 行移動部 186 終了判断部 REFERENCE SIGNS LIST 11 handwriting input data processing device 12 input pen 21 input device 22 display device 23 character dividing device 24 line dividing device 25 character display position adjusting device 31 virtual reference line setting unit 32 shift detecting unit 33 movement determining unit 34 character data moving unit 35 End determination unit 71 character inclination adjustment unit 81 horizontal / vertical stroke determination unit 82 threshold value determination unit 83 inclination detection unit A 84 inclination detection unit B 85 rotation coordinate determination unit 86 character data rotation unit 87 end determination unit 121 character size adjustment device 1301 character size calculation unit 1302 character size storage unit 1303 storage end determination unit 1304 first reference character size setting unit 1305 second peak detection determination unit 1306 third peak detection determination unit 1307 average character size setting unit 1308 second reference character size setting Section 1309 Branch value setting section 1310 Statement Character size threshold value determining unit 1311 Character size branch value determining unit 1312 Character size changing unit 1313 End determining unit 171 Block dividing device 172 Line display position adjusting device 181 Line spacing detecting unit 182 Line spacing storage unit 183 Storage end determining unit 184 Average line spacing setting Part 185 line moving part 186 end judgment part

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−282128(JP,A) 特開 平4−241074(JP,A) 特開 平3−278186(JP,A) 特開 平1−98091(JP,A) 特開 昭57−161894(JP,A) 特開 昭62−175886(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/08 G06K 9/00 - 9/82 G06T 1/00 G06T 11/60 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-5-282128 (JP, A) JP-A-4-241074 (JP, A) JP-A-3-278186 (JP, A) JP-A-1- 98091 (JP, A) JP-A-57-161894 (JP, A) JP-A-62-175886 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3/08 G06K 9 / 00-9/82 G06T 1/00 G06T 11/60

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一連の座標で与えられるストローク情報
で表される手書き入力データを処理する手書き入力デー
タ処理装置であって、 文字単位に分割された手書き入力データとその文字を構
成するストロークを囲む最小の矩形を示す文字情報を記
憶する文字記憶手段と、 行単位に分割された手書き入力データとその行を構成す
る文字の矩形を囲む最小の矩形を示す行情報を記憶する
行記憶手段と、 行情報に基づいて、文字情報を調整して、行内における
文字の並びの乱れを整える文字位置調整手段とを備え、 前記文字位置調整手段は、 分割された文字を行として整えるための基準線を行情報
に基づいて設定する基準線設定手段と、 行内における各文字毎に、基準線と文字位置とのずれを
検出するずれ検出手段と、 行内における各文字毎に、そのずれが所定のしきい値よ
り大きいか、否かにより移動するかどうかを判断する移
動判断手段と、 移動すると判断された文字をずれの分だけ移動する文字
移動手段と、 からなることを特徴とする手書き入力データ処理装置。
1. A handwriting input data processing device for processing handwritten input data represented by stroke information given by a series of coordinates, wherein the handwritten input data is divided into character units and the strokes constituting the characters are surrounded. Character storage means for storing character information indicating a minimum rectangle, and line storage means for storing line information indicating the minimum rectangle surrounding the rectangles of the characters constituting the line and the handwritten input data divided on a line-by-line basis; Character position adjusting means for adjusting character information based on the line information to adjust the order of characters in the line, wherein the character position adjusting means sets a reference line for adjusting the divided characters as a line. A reference line setting means for setting based on line information; a deviation detecting means for detecting a deviation between a reference line and a character position for each character in the line; Movement determining means for determining whether or not the movement is based on whether or not the shift is greater than or equal to a predetermined threshold value; and character moving means for shifting the character determined to be moved by the amount of the shift. Input data processing device.
【請求項2】 一連の座標で与えられるストローク情報
で表される手書き入力データを処理する手書き入力デー
タ処理装置であって、 文字単位に分割された手書き入力データとその文字を構
成するストロークを囲む最小の矩形を示す文字情報を記
憶する文字記憶手段と、 前記文字記憶手段の文字情報に基づいて、文字の傾きを
検出し、傾きに応じて文字を回転し傾きを揃える文字傾
き調整手段とを備え、 前記文字傾き調整手段は、 文字が、水平・垂直に近いストロークを持っているかを
判断する水平・垂直ストローク判断手段と、 水平・垂直に近いストロークを持っていると判断された
場合に、水平・垂直に近いストロークにより文字の傾き
を検出する傾き検出手段と、 傾き検出手段で検出された傾きに応じて、文字を回転さ
せることにより傾きの修正を行う文字回転手段と、 を備えたことを特徴とする手書き入力データ処理装置。
2. Stroke information given by a series of coordinates
Handwritten input data that processes handwritten input data represented by
A handwriting input device which is divided into character units and the characters
Character information indicating the smallest rectangle surrounding the stroke to be formed.
Character storage means for storing, and the inclination of the character based on the character information of the character storage means.
Character tilt that detects and rotates characters according to the tilt to align the tilt
And a come adjusting means, the character inclination adjustment means, character, determines the horizontal and vertical stroke determination means for determining whether it has a stroke nearly horizontal and vertical, and have a stroke nearly horizontal and vertical And a character rotation means for correcting the inclination by rotating the character in accordance with the inclination detected by the inclination detection means. A handwriting input data processing device comprising:
【請求項3】 一連の座標で与えられるストローク情報
で表される手書き入力データを処理する手書き入力デー
タ処理装置であって、 文字単位に分割された手書き入力データとその文字を構
成するストロークを囲む最小の矩形を示す文字情報を記
憶する文字記憶手段と、 前記文字記憶手段の文字情報に基づいて、文字の傾きを
検出し、傾きに応じて文字を回転し傾きを揃える文字傾
き調整手段とを備え、 前記文字傾き調整手段は、 文字が、水平・垂直に近いストロークを持っているかを
判断する水平・垂直ストローク判断手段と、 水平・垂直ストロークを持っていないと判断された場合
に、ストローク情報より、ストローク上の点で矩形の底
辺上になく底辺に最も近い点と矩形の底辺からの距離を
検出し、その距離が所定のしきい値以下か、それより大
きいかを判断するしきい値判断手段と、 前記距離が所定のしきい値以下と判断された場合に、前
記距離により当該文字の傾きを検出する傾き検出手段
と、 傾き検出手段で検出された傾き応じて、文字を回転さ
せることにより傾きの修正を行う文字回転手段と、 を備えたことを特徴とする手書き入力データ処理装置。
3. Stroke information given by a series of coordinates
Handwritten input data that processes handwritten input data represented by
A handwriting input device which is divided into character units and the characters
Character information indicating the smallest rectangle surrounding the stroke to be formed.
Character storage means for storing, and the inclination of the character based on the character information of the character storage means.
Character tilt that detects and rotates characters according to the tilt to align the tilt
And a come adjusting means, the character inclination adjustment means, characters, it is determined with horizontal and vertical stroke determination means for determining whether it has a stroke nearly horizontal and vertical, and do not have a horizontal and vertical stroke In this case, from the stroke information, a point on the stroke that is not on the base of the rectangle but on the bottom and a distance from the base of the rectangle is detected, and whether the distance is equal to or less than a predetermined threshold or greater than the threshold is determined. and threshold determining means for determining, when the distance is determined to below a predetermined threshold, the inclination detecting means for detecting an inclination of the character by the distance, depending on the inclination detected by the inclination detection means And a character rotating means for correcting a tilt by rotating the character.
【請求項4】 一連の座標で与えられるストローク情報
で表される手書き入力データを処理する手書き入力デー
タ処理装置であって、 文字単位に分割された手書き入力データとその文字を構
成するストロークを囲む最小の矩形を示す文字情報を記
憶する文字記憶手段と、 前記文字記憶手段の文字情報に基づいて、文字の傾きを
検出し、傾きに応じて文字を回転し傾きを揃える文字傾
き調整手段とを備え、 前記文字傾き調整手段は、 文字が、水平・垂直に近いストロークを持っているかを
判断する水平・垂直ストローク判断手段と、 水平・垂直に近いストロークを持っていると判断された
場合に、水平・垂直に近いストロークにより文字の傾き
を検出する第1の傾き検出手段と、 水平・垂直ストロークを持っていないと判断された場合
に、ストローク情報より、ストローク上の点で矩形の底
辺上になく底辺に最も近い点と矩形の底辺からの距離を
検出し、その距離が所定のしきい値以下か、それより大
きいかを判断するしきい値判断手段と、 前記距離が所定のしきい値以下と判断された場合に、前
記距離により当該文字の傾きを検出する第2の傾き検出
手段と、 第1の傾き検出手段と第2の傾き検出手段のいずれかで
検出された傾き応じて、文字を回転させることにより
傾きの修正を行う文字回転手段と、 を備えたことを特徴とする手書き入力データ処理装置。
4. Stroke information given by a series of coordinates
Handwritten input data that processes handwritten input data represented by
A handwriting input device which is divided into character units and the characters
Character information indicating the smallest rectangle surrounding the stroke to be formed.
Character storage means for storing, and the inclination of the character based on the character information of the character storage means.
Character tilt that detects and rotates characters according to the tilt to align the tilt
And a come adjusting means, the character inclination adjustment means, character, determines the horizontal and vertical stroke determination means for determining whether it has a stroke nearly horizontal and vertical, and have a stroke nearly horizontal and vertical The first inclination detecting means for detecting the inclination of the character by a stroke close to the horizontal and the vertical, and when it is determined that the character does not have the horizontal and the vertical stroke, the stroke information is used to determine a point on the stroke. A threshold judging means for detecting a distance from the point closest to the base, not on the base of the rectangle, and the base of the rectangle, and judging whether the distance is equal to or smaller than a predetermined threshold, or larger than the threshold; If it is determined that the distance is equal to or less than a predetermined threshold value, the second inclination detecting means for detecting the inclination of the character based on the distance, and one of the first inclination detecting means and the second inclination detecting means. Has been in accordance with the inclination, the handwriting input data processing apparatus characterized by comprising a character rotating means for correcting the tilt by rotating the characters.
【請求項5】 一連の座標で与えられるストローク情報
で表される手書き入力データを処理する手書き入力デー
タ処理装置であって、 文字単位に分割された手書き入力データとその文字を構
成するストロークを囲む最小の矩形を示す文字情報を記
憶する文字記憶手段と、 前記文字記憶手段の文字情報に基づいて、文字の大きさ
を検出し、文字の大きさの不揃いを調整する文字サイズ
調整手段とを備え、 前記文字サイズ調整手段は、 前記文字記憶手段の文字情報より全ての文字サイズを計
算する文字サイズ計算手段と、 前記文字サイズ計算手段により計算された全ての文字サ
イズのヒストグラムより基準となる文字サイズを設定す
る基準文字サイズ設定手段と、 基準となる文字サイズと変更対象の文字のサイズを比較
し、その差が所定のしきい値より大きければ文字のサイ
ズを変更する対象から除外することを判断する文字サイ
ズ変更判断手段と、 前記文字サイズ変更判断手段によって除外されなかった
文字に対して、前記基準文字サイズ設定手段によって設
定された基準文字サイズに、文字のサイズを変更する文
字サイズ変更手段と、 からなることを特徴とする手書き入力データ処理装置。
5. Stroke information given by a series of coordinates
Handwritten input data that processes handwritten input data represented by
A handwriting input device which is divided into character units and the characters
Character information indicating the smallest rectangle surrounding the stroke to be formed.
A character storage unit for憶, based on the character information of the character storage means, character size
Character size that detects and adjusts for irregular character sizes
Adjusting means, wherein the character size adjusting means calculates a total character size from the character information of the character storage means; and a histogram of all character sizes calculated by the character size calculating means. A reference character size setting means for setting a reference character size; comparing the reference character size with the size of the character to be changed; if the difference is larger than a predetermined threshold, the character size to be changed Character size change determining means for determining exclusion; and changing the character size to a reference character size set by the reference character size setting means for characters not excluded by the character size change determining means. A handwriting input data processing device comprising: character size changing means;
【請求項6】 一連の座標で与えられるストローク情報
で表される手書き入力データを処理する手書き入力デー
タ処理装置であって、 文字単位に分割された手書き入力データとその文字を構
成するストロークを囲む最小の矩形を示す文字情報を記
憶する文字記憶手段と、 前記文字記憶手段の文字情報に基づいて、文字の大きさ
を検出し、文字の大きさの不揃いを調整する文字サイズ
調整手段とを備え、 前記文字サイズ調整手段は、 前記文字記憶手段の文字情報より全ての文字サイズを計
算する文字サイズ計算手段と、 前記文字サイズ計算手段により計算された全ての文字サ
イズのヒストグラムにおいて1番目のピークとなる文字
サイズを第1基準文字サイズとして設定する第1基準文
字サイズ設定手段と、 前記文字サイズ計算手段により計算された全ての文字サ
イズのヒストグラムにおいてピークとなる文字サイズが
前記第1基準文字サイズ以外に一つだけ存在するか、二
つ以上存在するかを判断するピーク判断手段と、 前記ピーク判断手段によりピークとなる文字サイズが一
つだけ存在すると判断された場合に、前記文字サイズ計
算手段により計算された全ての文字サイズのヒストグラ
ムにおいて2番目のピークとなる文字サイズを第2基準
文字サイズとして設定する第2基準文字サイズ設定手段
と、 前記ピーク判断手段によりピークとなる文字サイズが前
記第1基準文字サイズ以外に二つ以上存在すると判断さ
れた場合に、それら二つ以上の文字サイズと前記第1基
準文字サイズとの平均値を第3基準文字サイズとして設
定する第3基準文字サイズ設定手段と、 第2基準文字サイズが設定されている場合、第1基準文
字サイズと第2基準文字サイズの間の範囲において、出
現頻度が最小の値をとる文字のサイズである分岐値を設
定する分岐値設定手段と、 基準文字サイズのうち小さい方のサイズと変更対象の文
字のサイズ比較し、その差が所定のしきい値より大きけ
れば文字のサイズを変更する対象から除外することを判
断する文字サイズ変更判断手段と、 第2基準文字サイズが設定されている場合、前記文字サ
イズ変更判断手段により、文字サイズを変更する対象か
ら除外されなかった文字に対して、該文字のサイズと分
岐値との大小の比較によって、第1基準文字サイズと第
2基準文字サイズのどちらの文字サイズに変更するか判
断する文字サイズ分岐値判断手段と、 第2基準文字サイズが設定されている場合は前記文字サ
イズ分岐値判断手段により判断された文字サイズに、第
3基準文字サイズが設定されている場合は第3基準文字
サイズに、第2基準文字サイズも第3基準文字サイズも
設定されていない場合は第1基準文字サイズに、文字の
サイズを変更する文字サイズ変更手段と、 からなることを特徴とする手書き入力データ処理装置。
6. Stroke information given by a series of coordinates
Handwritten input data that processes handwritten input data represented by
A handwriting input device which is divided into character units and the characters
Character information indicating the smallest rectangle surrounding the stroke to be formed.
A character storage unit for憶, based on the character information of the character storage means, character size
Character size that detects and adjusts for irregular character sizes
Adjusting means, wherein the character size adjusting means calculates all character sizes from the character information in the character storage means, and a histogram of all character sizes calculated by the character size calculating means. First reference character size setting means for setting a first peak character size as a first reference character size; and a peak character size in a histogram of all character sizes calculated by the character size calculation means. A peak determining means for determining whether there is only one or two or more than one reference character size; and when the peak determining means determines that there is only one peak character size, It becomes the second peak in the histogram of all character sizes calculated by the character size calculation means. A second reference character size setting unit that sets a character size as a second reference character size; and a case where the peak determination unit determines that two or more peak character sizes other than the first reference character size exist. A third reference character size setting unit configured to set an average value of the two or more character sizes and the first reference character size as a third reference character size; Branch value setting means for setting a branch value which is a size of a character having a minimum appearance frequency in a range between the first reference character size and the second reference character size; Character size change determining means for comparing the size of the character to be changed and, if the difference is greater than a predetermined threshold value, determining that the character is to be excluded from the target for changing the size When the second reference character size is set, the character size change determination means compares the size of the character and the branch value with respect to a character that has not been excluded from the target of changing the character size. A character size branch value determining unit for determining which of the first reference character size and the second reference character size to change, and a character size branch value determining unit when the second reference character size is set. When the third reference character size is set to the character size determined by the above, the third reference character size is set. When neither the second reference character size nor the third reference character size is set, the first reference character size is set. And a character size changing means for changing the size of the character.
【請求項7】 一連の座標で与えられるストローク情報
で表される手書き入力データを処理する手書き入力デー
タ処理装置であって、 文字単位に分割された手書き入力データとその文字を構
成するストロークを囲む最小の矩形を示す文字情報を記
憶する文字記憶手段と、 行単位に分割された手書き入力データとその行を構成す
る文字の矩形を囲む最小の矩形を示す行情報を記憶する
行記憶手段と、 一連の行からなるブロックと、その位置情報を示すブロ
ック位置情報を記憶するブロック記憶手段と、 前記文字記憶手段の文字情報及びストローク情報に基づ
いて、文字の傾きを検出し、傾きに応じて文字を回転し
傾きを揃える文字傾き調整手段と、 前記傾き調整後、前記文字記憶手段の文字情報に基づい
て全ての文字サイズを計算し、計算された文字サイズの
頻度分布に基いて、文字の大きさの不揃いを調整する文
字サイズ調整手段と、 前記文字サイズ調整後、分割された文字を行として整え
るための基準線を行情報に基づいて設定し、行内におけ
る各文字毎に、基準線と文字位置とのずれを検出し、行
内における各文字毎に、そのずれが所定のしきい値より
大きいか、否かにより移動するかどうかを判断し、移動
すると判断された文字をずれの分だけ移動する文字位置
調整手段と、 前記文字位置調整後、ブロック位置情報が示すブロック
内に含まれる全ての行について、行情報に基づいてすべ
ての行間を検出し、行間の不揃いを調整する行位置調整
手段とを備えたことを特徴とする手書き入力データ処理
装置。
7. A handwriting input data processing device for processing handwritten input data represented by stroke information given by a series of coordinates, wherein the handwriting input data is divided into character units and the strokes constituting the characters are surrounded. Character storage means for storing character information indicating a minimum rectangle, and line storage means for storing line information indicating the minimum rectangle surrounding the rectangles of the characters constituting the line and the handwritten input data divided on a line-by-line basis; A block consisting of a series of lines, a block storage means for storing block position information indicating the position information, and detecting the inclination of the character based on the character information and stroke information of the character storage means, Character inclination adjusting means for rotating and adjusting the inclination, and, after the inclination adjustment, calculating all character sizes based on the character information in the character storage means, Character size adjusting means for adjusting the irregularity of the character size based on the frequency distribution of the character size, and a reference line for adjusting the divided characters as lines after the character size adjustment is set based on the line information. Then, for each character in the line, a shift between the reference line and the character position is detected, and for each character in the line, it is determined whether the shift is greater than a predetermined threshold or not and whether or not to move. A character position adjusting unit that moves a character determined to be moved by an amount corresponding to a shift; and after the character position adjustment, for all lines included in the block indicated by the block position information, all line spacings are determined based on the line information. A handwriting input data processing device, comprising: a line position adjusting unit that detects and adjusts an irregularity between lines.
JP32505593A 1993-12-22 1993-12-22 Handwriting input data processing device Expired - Lifetime JP3299614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32505593A JP3299614B2 (en) 1993-12-22 1993-12-22 Handwriting input data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32505593A JP3299614B2 (en) 1993-12-22 1993-12-22 Handwriting input data processing device

Publications (2)

Publication Number Publication Date
JPH07182449A JPH07182449A (en) 1995-07-21
JP3299614B2 true JP3299614B2 (en) 2002-07-08

Family

ID=18172651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32505593A Expired - Lifetime JP3299614B2 (en) 1993-12-22 1993-12-22 Handwriting input data processing device

Country Status (1)

Country Link
JP (1) JP3299614B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6317762B1 (en) * 1995-11-22 2001-11-13 Fujitsu Limited Document creating apparatus creates free format document from handwritten data converting into normalized size
WO2002077914A1 (en) * 2001-03-23 2002-10-03 International Business Machines Corporation Method, system and program for inputting handwritten characters
JP5123588B2 (en) 2007-07-17 2013-01-23 キヤノン株式会社 Display control apparatus and display control method
JP5024019B2 (en) * 2007-12-17 2012-09-12 大日本印刷株式会社 Terminal device and program thereof
JP2012108893A (en) * 2010-10-22 2012-06-07 Metamoji Corp Hand-written entry method
JP2013182512A (en) * 2012-03-02 2013-09-12 Casio Comput Co Ltd Handwritten character processing device and program
JP6081606B2 (en) 2013-09-20 2017-02-15 株式会社東芝 Electronic apparatus and method
CN114283749B (en) * 2021-12-30 2023-07-21 京东方科技集团股份有限公司 Source driver, display panel, display device and data driving method

Also Published As

Publication number Publication date
JPH07182449A (en) 1995-07-21

Similar Documents

Publication Publication Date Title
US5987171A (en) Page analysis system
Tanaka et al. Layout Analysis of Tree-Structured Scene Frames in Comic Images.
EP0739521B1 (en) Method of splitting handwritten input
JP2933801B2 (en) Method and apparatus for cutting out characters
WO2009117810A1 (en) Method and tool for recognizing a hand-drawn table
EP0389988A2 (en) Detecting line segments and predetermined patterns in an optically scanned document
JP3299614B2 (en) Handwriting input data processing device
JP3411472B2 (en) Pattern extraction device
JP2000112599A (en) Device and method for processing document image
CN100456317C (en) Program, method and device for determining line direction
JP2890306B2 (en) Table space separation apparatus and table space separation method
CN112561928A (en) Layout analysis method and system for ancient Tibetan books
JPH07220081A (en) Segmenting method for graphic of image recognizing device
JPH04352295A (en) System and device for identifing character string direction
JP2000113106A (en) Document image processor
EP0767941B1 (en) Automatic determination of landscape scan in binary images
JP3167799B2 (en) Online handwritten character recognition device
JP3095470B2 (en) Character recognition device
JP3052438B2 (en) Table recognition device
JPH09288714A (en) Method and device for recognizing table
JPH0679348B2 (en) Line cutting method
JP3190794B2 (en) Character segmentation device
JP3024234B2 (en) Document image ruled line extraction device
JPH01124082A (en) Character recognizing device
JPH1055408A (en) Pattern separating device and its method for separating contact pattern

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080419

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100419

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110419

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120419

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130419

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130419

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140419

Year of fee payment: 12

EXPY Cancellation because of completion of term