JP3174162B2 - Coordinate input control method and device - Google Patents

Coordinate input control method and device

Info

Publication number
JP3174162B2
JP3174162B2 JP23235092A JP23235092A JP3174162B2 JP 3174162 B2 JP3174162 B2 JP 3174162B2 JP 23235092 A JP23235092 A JP 23235092A JP 23235092 A JP23235092 A JP 23235092A JP 3174162 B2 JP3174162 B2 JP 3174162B2
Authority
JP
Japan
Prior art keywords
input
coordinate
coordinate data
data
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP23235092A
Other languages
Japanese (ja)
Other versions
JPH0683525A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP23235092A priority Critical patent/JP3174162B2/en
Publication of JPH0683525A publication Critical patent/JPH0683525A/en
Application granted granted Critical
Publication of JP3174162B2 publication Critical patent/JP3174162B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、座標入力面で指示され
た座標データを入力して処理する座標入力制御方法及び
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coordinate input control method and apparatus for inputting and processing coordinate data specified on a coordinate input surface.

【0002】[0002]

【従来の技術】近年、手書き文字認識等において、透明
な座標入力装置の下部に表示部を設け、この座標入力装
置上で入力された図形が、あたかもその表示部上に書か
れたように表示される装置が開発されている。このよう
な座標入力装置には、パネルとスタイラス間の電気的結
合を利用した電磁誘導方式や静電結合方式、また音波の
遅延時間によって入力指示された位置を検出する超音波
方式、2枚のガラス板に透明な抵抗膜を塗布しておき、
指などにより押されることによってこのガラス板同士が
接触して導通した結果、そこに流れる電流比を測定する
アナログ抵抗分割方式などがある。これらの方式のいず
れにおいても、座標入力があった場合には入力位置座標
を算出する前に、座標入力信号が安定するまで一定の時
間待ったり、A/D変換を行なったりする必要がある。
従って、座標入力が連続的に行なわれたような場合は、
ある指示された点の座標を読み込んでから、次に指示さ
れた点の座標を読み込むまでには、ある一定の時間間隔
を必要とする。
2. Description of the Related Art In recent years, in handwritten character recognition and the like, a display unit is provided below a transparent coordinate input device, and a figure input on the coordinate input device is displayed as if written on the display unit. Devices have been developed. Such a coordinate input device includes an electromagnetic induction method and an electrostatic coupling method using electric coupling between a panel and a stylus, an ultrasonic method for detecting a position designated by a delay time of a sound wave, and two sheets. Apply a transparent resistive film on a glass plate,
There is an analog resistance division method in which the glass plates are brought into contact with each other by being pressed by a finger or the like, and the current ratio flowing therethrough is measured. In any of these methods, when there is a coordinate input, it is necessary to wait a certain time until the coordinate input signal is stabilized or to perform A / D conversion before calculating the input position coordinates.
Therefore, when coordinate input is performed continuously,
It takes a certain time interval from reading the coordinates of a specified point to reading the coordinates of the next specified point.

【0003】このため、座標入力装置の座標入力面上で
連続して座標位置が指示される場合、この座標指示の速
度が一定速度でないと、図14に示すように、座標指示
速度が低速の時は座標入力検出点は密に、指示速度が高
速の時は座標入力検出点は粗に存在することになる。図
14において、白丸は検出された座標入力点を示し、1
40は入力開始点(線分の始点)、141は入力終了点
(線分の終点)を示している。一般に線分を入力する場
合は、線分の入力開始時と入力終了時には座標指示点の
移動速度が遅くなるので、線分の中点付近に比べて座標
入力検出点の数が密になって多くなる傾向がある。
For this reason, when a coordinate position is designated continuously on the coordinate input surface of the coordinate input device, unless the coordinate designation speed is constant, as shown in FIG. 14, the coordinate designation speed is low. At this time, the coordinate input detection points are dense, and when the pointing speed is high, the coordinate input detection points are coarse. In FIG. 14, white circles indicate detected coordinate input points, and 1
Reference numeral 40 denotes an input start point (a start point of a line segment), and 141 denotes an input end point (an end point of a line segment). In general, when inputting a line segment, the movement speed of the coordinate pointing point becomes slower at the start and end of the input of the line segment, so the number of coordinate input detection points becomes denser than near the middle point of the line segment. Tends to increase.

【0004】また、座標入力装置から入力された画像デ
ータに対して解像度変換などの画像処理を行なう場合、
その座標入力装置から入力された座標データをそのまま
使用していた。前述したように、入力された線分データ
は、線分の開始点および終了点付近ではデータの密度が
高く、その線分の中央付近では粗になるため、線分の端
部近傍では画像処理に必要なデータ数よりも過剰に座標
入力点が検出され、逆線分の中間点付近ではデータ数が
不足することがあった。その結果、余分な演算処理を行
なうことになり画像処理に要する時間が長くなったり、
或いは座標入力に対する反応速度が低下する等の問題が
あった。
When performing image processing such as resolution conversion on image data input from a coordinate input device,
The coordinate data input from the coordinate input device has been used as it is. As described above, the input line segment data has a high data density near the start point and end point of the line segment and becomes coarse near the center of the line segment. In some cases, a coordinate input point is detected in excess of the number of data required for the above, and the number of data may be insufficient near the midpoint of the reverse line segment. As a result, extra arithmetic processing is performed, and the time required for image processing becomes longer,
Alternatively, there has been a problem that the response speed to the coordinate input is reduced.

【0005】また更に、座標入力装置に要求される入力
解像度は、それを使用するアプリケーションにより決定
されていた。例えば手書き文字認識の場合には1mm当た
り10本の精度が必要であるとすると、これに対応して
座標入力装置の入力精度も1mm当たり10本のものを使
用しなければならなかった。しかし、精度の高い座標入
力装置は、電磁誘導方式、静電結合方式や超音波方式な
どを使用しており、これらはセンスライン、コイル、マ
イク、スピーカ等の付加装置を必要とするため高価であ
る。しかも必ずしも常に高精度の座標入力を必要とする
わけではないので、部品単体としての利用価値は良くな
かった。
Further, the input resolution required for the coordinate input device has been determined by an application using the same. For example, in the case of handwritten character recognition, if an accuracy of 10 lines per 1 mm is required, the input accuracy of the coordinate input device must be 10 lines per mm correspondingly. However, high-precision coordinate input devices use an electromagnetic induction method, an electrostatic coupling method, an ultrasonic method, or the like. These require additional devices such as sense lines, coils, microphones, and speakers, and are expensive. is there. In addition, since high-precision coordinate input is not always required, the value of use as a single component is not good.

【0006】[0006]

【発明が解決しようとする課題】前述したように、入力
された座標データは線分の開始点及び終了点付近では密
度が高く、線分の中間付近では密度が低いという傾向が
あるため、線分の開始点及び終了点付近ではデータを間
引き、線分の中点付近では新たに座標点を数値処理によ
って追加するような座標補間処理を行なうことになる。
この座標補間処理を行なうためには、入力点の連続性を
利用する必要があるため、この数値処理による座標点変
換は、少なくとも座標が入力された後でなければ行なう
ことができない。加えて、この座標補間処理は、変換の
精度にもよるが、かなりの計算量を要するため、座標入
力の途中で入力点の軌跡を表示しようとすると、上記理
由から座標入力に対する座標点表示の反応速度が遅くな
って使用感の悪いものとなる。そこで連続した座標入力
の場合は、それに対応した表示を行わないことも考えら
れるが、何も表示を行なわないとどのような図形を入力
したかがわかりにくく操作上極めて不便である。
As described above, the input coordinate data tends to have a high density near the start and end points of the line segment and a low density near the middle of the line segment. In the vicinity of the start and end points of the minute, data is thinned out, and in the vicinity of the midpoint of the line segment, a coordinate interpolation process is performed such that a new coordinate point is added by numerical processing.
Since it is necessary to use the continuity of the input points in order to perform the coordinate interpolation processing, the coordinate point conversion by the numerical processing can be performed only at least after the coordinates are input. In addition, this coordinate interpolation processing requires a considerable amount of calculation, although it depends on the accuracy of the conversion. Therefore, if the trajectory of the input point is to be displayed during the coordinate input, the coordinate point display for the coordinate input is performed for the above-described reason. The reaction speed becomes slow and the feeling of use becomes poor. Therefore, in the case of continuous coordinate input, it is conceivable that a display corresponding to the coordinate input is not performed. However, if no display is performed, it is difficult to understand what graphic is input, which is extremely inconvenient in operation.

【0007】また、前述したように、通常のアプリケー
ションは必ずしも常に高解像度の座標入力を必要として
いるわけではないので、高解像度の座標入力が要求され
た時にのみ、低解像度の座標入力装置からの入力座標デ
ータを高解像度の座標データに数値的に変換すれば良い
ことになる。このような座標変換を行なう際、その変換
倍率を数字で指定すると、その指定された変換倍率より
変換後の図形の大きさを直感的に判断することは困難で
ある。
Further, as described above, a normal application does not always require a high-resolution coordinate input. Therefore, only when a high-resolution coordinate input is requested, a low-resolution coordinate input device is used. What is necessary is to convert the input coordinate data into high-resolution coordinate data numerically. When performing such coordinate conversion, if the conversion magnification is designated by a number, it is difficult to intuitively determine the size of the converted graphic from the specified conversion magnification.

【0008】さらに、入力座標集合が一定の大きさより
も小さい場合は、このような座標補間処理を実行して
も、文字認識等の画像処理のために充分なデータを得る
ことができないので、座標集合の大きさにかかわらず常
に座標補間処理を行なうようにすると、入力装置として
の効率が悪いものとなる。
Further, when the input coordinate set is smaller than a certain size, even if such coordinate interpolation processing is executed, sufficient data for image processing such as character recognition cannot be obtained. If the coordinate interpolation process is always performed regardless of the size of the set, the efficiency of the input device becomes poor.

【0009】本発明は上記従来例に鑑みてなされたもの
で、連続的に入力された座標データの入力開始点、入力
終了点及び変曲点を保存したまま、座標データ間の距離
を略一定の範囲内に保つようにして、後段の画像処理を
効率よく行えるようにした座標入力制御方法及び装置を
提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and the distance between coordinate data is kept substantially constant while the input start point, input end point and inflection point of continuously input coordinate data are stored. It is an object of the present invention to provide a coordinate input control method and a coordinate input control method in which image processing in the subsequent stage can be performed efficiently by keeping the values within the range.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明の座標入力制御装置は以下のような構成を備え
る。即ち、座標入力面で指示された座標データを出力す
る座標入力制御装置であって、連続して入力される座標
データに基づいて前記座標データに対応する表示位置
に、座標入力面より指示されたことを示す記号を表示す
る表示手段と、連続する前記座標データの内の少なくと
も入力開始点、入力終了点及び変曲点を検出し、それら
の座標値を保持する保持手段と、前記座標データの内、
前記保持手段に保持されている座標値以外の点間距離を
求め、前記点間距離が所定の長さ以上であればその点間
に座標データを追加し、前記点間が所定の長さ以下であ
ればその座標データを削除する制御手段と、を有するこ
とを特徴とする。上記目的を達成するために本発明の座
標入力制御装置は以下のような構成を備える。即ち、座
標入力面上で指示された座標データを出力する座標入力
制御装置であって、座標データの入力範囲を指示する指
示手段と、前記指示手段により指示された入力範囲を表
示する表示手段と、前記指示手段により指示された入力
範囲と実際に入力された座標データの範囲とを比較し、
前記入力された座標データの変倍率を決定する変倍率決
定手段と、前記入力された座標データが前記入力範囲内
に収まるように、当該座標データを前記変倍率決定手段
により決定された変倍率で変倍する変倍手段と、を有す
ることを特徴とする。
In order to achieve the above object, a coordinate input control device according to the present invention has the following arrangement. That is, a coordinate input control device that outputs coordinate data specified on the coordinate input surface, and based on coordinate data that is continuously input, a display position corresponding to the coordinate data is specified from the coordinate input surface. Display means for displaying a symbol indicating that, at least input start point, input end point and inflection point of the continuous coordinate data are detected, and holding means for storing their coordinate values; and Of which
A point-to-point distance other than the coordinate values held in the holding means is obtained, and if the point-to-point distance is equal to or longer than a predetermined length, coordinate data is added between the points, and the point-to-point distance is equal to or shorter than a predetermined length. And control means for deleting the coordinate data. In order to achieve the above object, a coordinate input control device of the present invention has the following configuration. That is, a coordinate input control device that outputs coordinate data specified on a coordinate input surface, indicating means for indicating an input range of coordinate data, and display means for displaying the input range specified by the indicating means. Comparing the input range indicated by the indicating means with the range of the coordinate data actually input,
Scaling factor determining means for determining the scaling factor of the input coordinate data; and the coordinate data is determined by the scaling factor determined by the scaling factor determining means so that the input coordinate data falls within the input range. And a zooming means for zooming.

【0011】上記目的を達成するために本発明の座標入
力制御方法は以下のような工程を備える。即ち、座標入
力装置より座標データを入力し、その座標データに基づ
く表示を行なう座標入力制御方法であって、連続的に入
力される座標データに基づき、前記座標データの入力順
に前記座標データに対応する表示位置にドットを表示
し、連続する座標データ群の入力開始点、入力終了点及
び変曲点を保存したまま、前記座標データの編集を行な
うことを特徴とする。上記目的を達成するために本発明
の座標入力制御方法は以下のような工程を備える。即
ち、座標入力面で指示された座標データを出力する座標
入力制御方法であって、連続して入力される座標データ
に基づいて前記座標データに対応する表示位置に、座標
入力面より指示されたことを示す記号を表示する表示工
程と、連続する前記座標データの内の少なくとも入力開
始点、入力終了点及び変曲点を検出し、それらの座標値
を保持する保持工程と、前記座標データの内、前記保持
工程で保持された座標値以外の点間距離を求め、前記点
間距離が所定の長さ以上であればその点間に座標データ
を追加し、前記点間が所定の長さ以下であればその座標
データを削除する制御工程と、を有することを特徴とす
る。上記目的を達成するために本発明の座標入力制御方
法は以下のような工程を備える。即ち、座標入力面上で
指示された座標データを出力する座標入力制御方法であ
って、座標データの入力範囲を指示する指示工程と、前
記指示工程で指示された入力範囲を表示部に表示する表
示工程と、前記指示工程で指示された入力範囲と実際に
入力された座標データの範囲とを比較し、前記入力され
た座標データの変倍率を決定する変倍率決定工程と、前
記入力された座標データが前記入力範囲内に収まるよう
に、当該座標データを前記変倍率決定工程で決定された
変倍率で変倍する変倍工程と、を有することを特徴とす
る。
[0011] In order to achieve the above object, a coordinate input control method of the present invention includes the following steps. That is, a coordinate input control method for inputting coordinate data from a coordinate input device and performing display based on the coordinate data. The coordinate input control method corresponds to the coordinate data in the input order of the coordinate data based on continuously input coordinate data. A dot is displayed at a display position to be edited, and the coordinate data is edited while the input start point, input end point, and inflection point of a continuous coordinate data group are stored. In order to achieve the above object, a coordinate input control method of the present invention includes the following steps. That is, a coordinate input control method for outputting coordinate data specified on a coordinate input surface, wherein a display position corresponding to the coordinate data is specified from the coordinate input surface based on continuously input coordinate data. A display step of displaying a symbol indicating that the coordinate data is detected, at least an input start point, an input end point, and an inflection point of the continuous coordinate data are detected, and a storage step of storing their coordinate values; and Among them, a distance between points other than the coordinate values held in the holding step is obtained, and if the distance between the points is a predetermined length or more, coordinate data is added between the points, and the distance between the points is a predetermined length. And a control step of deleting the coordinate data in the following case. In order to achieve the above object, a coordinate input control method of the present invention includes the following steps. That is, a coordinate input control method for outputting coordinate data designated on a coordinate input surface, wherein an instruction step of designating an input range of coordinate data and an input range designated in the instruction step are displayed on a display unit. A display step, a magnification ratio determining step of comparing the input range designated in the instruction step with the range of the actually input coordinate data, and determining a magnification ratio of the input coordinate data; A scaling step of scaling the coordinate data by the scaling factor determined in the scaling factor determining step so that the coordinate data falls within the input range.

【0012】[0012]

【作用】以上の構成において、連続的に入力される座標
データに基づき、その座標データの入力順に、その座標
データに対応する表示位置にドットを表示し、連続する
座標データ群の入力開始点、入力終了点及び変曲点を保
存したまま、座標データの編集を行なうように動作す
る。又本発明の構成によれば、連続して入力される座標
データに基づいて、その座標データに対応する表示位置
に、座標入力面より指示されたことを示す記号を表示
し、連続する前記座標データの内の少なくとも入力開始
点、入力終了点及び変曲点を検出し、それらの座標値を
保持し、前記座標データの内、保持されている座標値以
外の点間距離を求め、その点間距離が所定の長さ以上で
あればその点間に座標データを追加し、前記点間が所定
の長さ以下であればその座標データを削除するように動
作する。又本発明の構成によれば、座標データの入力範
囲を指示し、その指示された入力範囲を表示部に表示
し、その入力範囲と実際に入力された座標データの範囲
とを比較し、入力された座標データの変倍率を決定し、
入力された座標データが、その入力範囲内に収まるよう
に、当該座標データを、その決定された変倍率で変倍す
るように動作する。
In the above arrangement, dots are displayed at the display positions corresponding to the coordinate data in the input order of the coordinate data based on the coordinate data input continuously, and the input start point of the continuous coordinate data group is displayed. It operates so as to edit the coordinate data while keeping the input end point and the inflection point. Further, according to the configuration of the present invention, based on coordinate data that is continuously input, a sign indicating that an instruction has been given from the coordinate input surface is displayed at a display position corresponding to the coordinate data, and the continuous coordinate data is displayed. At least the input start point, the input end point, and the inflection point of the data are detected, their coordinate values are held, and a distance between points other than the held coordinate values is obtained from the coordinate data. If the distance is equal to or greater than a predetermined length, coordinate data is added between the points, and if the distance between the points is equal to or less than a predetermined length, the coordinate data is deleted. Further, according to the configuration of the present invention, the input range of the coordinate data is designated, the designated input range is displayed on the display unit, and the input range is compared with the range of the actually input coordinate data. Determine the magnification of the coordinate data
An operation is performed so that the input coordinate data is scaled at the determined scaling factor so that the input coordinate data falls within the input range.

【0013】[0013]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0014】図1は、ある線分データの座標入力例を示
す図で、白丸及び黒丸で示された各点は座標入力の検出
点を示している。101は座標入力の始点、102は終
点を示し、103〜106の黒丸は隣接する2点間で座
標値の増減が切り替わる変曲点を示している。これら変
曲点付近でも座標指示の速度が遅くなる傾向があるの
で、始点101及び終点近傍と同様に入力座標点の密度
は高くなる。これら始点、終点、変曲点を総称して、以
後「特異点」と呼ぶこととする。尚、本実施例では、座
標入力時には座標入力された点をそのまま表示し、入力
終了後、表示された座標点の表示を終了する。
FIG. 1 is a diagram showing an example of coordinate input of certain line segment data. Each point indicated by a white circle and a black circle indicates a detection point of the coordinate input. 101 indicates a start point of coordinate input, 102 indicates an end point, and black circles 103 to 106 indicate inflection points at which the increase or decrease of coordinate values is switched between two adjacent points. Since there is a tendency for the speed of the coordinate designation to be slow even near these inflection points, the density of the input coordinate points becomes high similarly to the vicinity of the start point 101 and the end point. These start points, end points, and inflection points are collectively referred to as “singular points” hereinafter. In the present embodiment, at the time of coordinate input, the point at which the coordinate is input is displayed as it is, and after the input is completed, the display of the displayed coordinate point is ended.

【0015】さらに、座標変換処理を筺体などに設置さ
れた外部スイッチの状態に応じて制御することにより、
特定入力時のみに座標変換を行なう等、利用するアプリ
ケーションに応じた座標変換処理を行なう。
Further, by controlling the coordinate conversion process according to the state of an external switch installed in a housing or the like,
Coordinate conversion processing according to the application to be used, such as performing coordinate conversion only at the time of specific input, is performed.

【0016】また、上記座標変換を行なう際、その変換
倍率を数字で指定するのではなくて変換後の図形の大き
さを指定した後、座標入力を行なう。
Further, when performing the coordinate conversion, the coordinate input is performed after designating the size of the converted graphic instead of designating the conversion magnification by a number.

【0017】また、入力終了と共に入力された座標集合
の外形の大きさを計算し、この大きさがある一定の大き
さの枠よりも小さい場合は、この枠を表示し、入力デー
タを無効となるようにする。
Further, upon completion of the input, the size of the outer shape of the input coordinate set is calculated. If this size is smaller than a certain size frame, this frame is displayed and the input data is invalidated. To be.

【0018】以下詳しく説明する。The details will be described below.

【0019】図2は本実施例の座標入力装置の座標入力
部の構成を示す図である。
FIG. 2 is a diagram showing the configuration of the coordinate input unit of the coordinate input device of the present embodiment.

【0020】201は表示部202の前面に配置された
透明な座標入力部である。尚、この座標入力部201
は、表示部202の後面に配置しても構わない。但しこ
の場合は、座標指示手段と座標入力部201の表面とが
非接触でも、座標入力可能な非接触方式のものを使用す
る必要がある。
Reference numeral 201 denotes a transparent coordinate input unit arranged on the front of the display unit 202. Note that this coordinate input unit 201
May be arranged on the rear surface of the display unit 202. However, in this case, it is necessary to use a non-contact type in which the coordinates can be input even if the coordinates indicating means and the surface of the coordinates input unit 201 are not in contact with each other.

【0021】図3は本発明の第1実施例の座標入力装置
の概略構成を示すブロック図である。
FIG. 3 is a block diagram showing a schematic configuration of the coordinate input device according to the first embodiment of the present invention.

【0022】301は座標入力部201を制御する制御
回路で、座標指示部302よりの指示に従って、その座
標入力の検出、その指示された座標位置の検出を行な
う。この座標指示部302は、座標入力部201と対と
なって座標入力を行なう静電容量方式や電磁誘導方式の
場合のスタイラスである。303はCPUで、ROM3
05に記憶された制御プログラムに従って各種アプリケ
ーションの実行、各種デバイスの制御などを行なう。3
04はRAMで、本座標入力装置の制御の様々な演算や
処理を行なう際のプログラムやデータを記憶する。RO
M305には各種制御プログラムやデータなどが記録さ
れている。
Reference numeral 301 denotes a control circuit for controlling the coordinate input unit 201. According to an instruction from the coordinate instruction unit 302, detection of the coordinate input and detection of the designated coordinate position are performed. The coordinate indicating unit 302 is a stylus in the case of a capacitance type or an electromagnetic induction type in which coordinates are input in pairs with the coordinate input unit 201. 303 is a CPU, which is a ROM 3
In accordance with the control program stored in the CPU 05, various applications are executed and various devices are controlled. 3
A RAM 04 stores programs and data for performing various calculations and processes for controlling the coordinate input device. RO
Various control programs and data are recorded in M305.

【0023】以上の構成により、使用者は表示部202
に表示されたマークのある位置を、ペンあるいは座標指
示部302を使って指示することで本装置に対して指示
を行ったり、座標入力部201の座標入力面をなぞって
文字や図形を入力する。
With the above configuration, the user can display the display unit 202.
The position of the mark displayed on the screen is designated by using the pen or the coordinate designating unit 302 to give an instruction to the apparatus or to input characters or figures by tracing the coordinate input surface of the coordinate input unit 201. .

【0024】本実施例の装置では、連続する2点間の距
離に対して、閾値を2つ設定し、小さい方の閾値(L1
とする)よりも2点間の距離が短い場合はその点を削除
し、大きい方の閾値(L2 とする)よりも距離が長い場
合は2点を結ぶ直線上に座標を追加することによって座
標間の距離を一定範囲内に保つ。その結果、見かけの解
像度を向上させ、必要以上のデータを捨てることによっ
て効率の良いデータを生成する。
In the apparatus of this embodiment, two thresholds are set for the distance between two consecutive points, and the smaller threshold (L 1
By when the distance between two points is short deletes the point, when the distance than is longer larger threshold (and L 2) is to add the coordinates on a straight line connecting the two points than) the Keep the distance between coordinates within a certain range. As a result, the apparent resolution is improved, and efficient data is generated by discarding unnecessary data.

【0025】次に図4のフローチャートを参照して、本
実施例の座標入力装置における線画図形入力処理のソフ
トウェア制御方法を説明する。尚、本実施例では、入力
処理において連続座標入力された座標点の集合を「線
分」、一定時間間隔以内に入力された線分の集合を「座
標集合」と呼ぶ。この処理を実行する制御プログラムは
ROM305に記憶されている。
Next, a software control method of a line drawing / graphics input process in the coordinate input device of the present embodiment will be described with reference to the flowchart of FIG. In the present embodiment, a set of coordinate points input in continuous coordinates in the input process is called a “line segment”, and a set of line segments input within a predetermined time interval is called a “coordinate set”. A control program for executing this processing is stored in the ROM 305.

【0026】この処理は座標指示部302よりの座標入
力指示が入力されることにより開始され、ステップS2
で、その座標指示された座標データが入力される。次に
ステップS3に進み、この指示入力された座標データに
対応する位置にドット或いは線等を表示する。次にステ
ップS4に進み、線分データ入力が終了したかどうか、
即ち、連続座標入力が終了したかを判定する。終了でな
ければステップS2へ戻り、前述した処理を実行する。
このステップS4では、座標入力部201よりの信号を
検出し、その検出結果によって連続座標の入力が終了し
たかどうかを判別する。ここでは座標入力部201より
の出力信号は、読出されるまで保持されるように構成さ
れており、例えば出力信号がハイレベルならば座標入力
があったことを示し、ロウレベルならば座標入力部20
1で座標入力が無かったことを示すようにすることで判
断できる。
This process is started when a coordinate input instruction is input from the coordinate instruction section 302, and the process proceeds to step S2.
Then, the coordinate data indicated by the coordinates is input. Next, the process proceeds to step S3, where a dot or a line is displayed at a position corresponding to the input coordinate data. Next, the process proceeds to step S4 to determine whether the input of the line segment data has been completed.
That is, it is determined whether the continuous coordinate input has been completed. If not, the process returns to step S2 to execute the above-described processing.
In step S4, a signal from the coordinate input unit 201 is detected, and it is determined whether or not the input of continuous coordinates has been completed based on the detection result. Here, the output signal from the coordinate input unit 201 is configured to be held until read out. For example, if the output signal is at a high level, it indicates that a coordinate input has been performed.
The determination can be made by indicating that there is no coordinate input at 1.

【0027】ステップS5では、座標集合データ入力が
終了したかどうかを判定する。ここでは、座標集合デー
タ入力は線分データの入力が終了したときにタイマをス
タートし、このタイマがある一定時間間隔をカウントし
てタイムアウトした場合に終了と判断している。尚、こ
のタイマによる計時中にも、座標入力部201からの出
力信号を監視しておき、座標入力がタイムアウト前にあ
った場合は、ステップS2へ戻り、次の線分データ入力
処理となる。
In step S5, it is determined whether or not the coordinate set data input has been completed. Here, the input of the coordinate set data starts a timer when the input of the line segment data ends, and determines that the input ends when the timer counts out a certain time interval and times out. Note that the output signal from the coordinate input unit 201 is monitored during the counting by the timer. If the coordinate input is performed before the timeout, the process returns to step S2 to perform the next line segment data input processing.

【0028】座標集合データの入力が終了するとステッ
プS6に進み、読み込んだ座標データを格納する。この
とき座標点、線分データは入力された時系列がわかるよ
うなデータ構造を持ち、また座標点はどの線分データに
属するかもわかるような構造を持つものとする。次にス
テップS7に進み、入力された座標データに基づく表示
処理を終了し、ステップS8で線画図形入力処理を終了
する。
When the input of the coordinate set data is completed, the flow advances to step S6 to store the read coordinate data. At this time, it is assumed that the coordinate points and the line segment data have a data structure so that the input time series can be understood, and that the coordinate points belong to which line segment data. Next, proceeding to step S7, the display processing based on the input coordinate data is ended, and the line drawing figure input processing is ended in step S8.

【0029】次に図5のフローチャートを参照して、本
実施例の座標入力装置における座標補間処理について説
明する。尚、この座標補間処理は、図4のフローチャー
トを参照して説明した線画図形入力処理で入力された座
標集合に属する各線分に対して実行する。この処理を実
行する制御プログラムはROM305に記憶されてい
る。
Next, the coordinate interpolation processing in the coordinate input device of the present embodiment will be described with reference to the flowchart of FIG. Note that this coordinate interpolation processing is executed for each line segment belonging to the coordinate set input in the line drawing figure input processing described with reference to the flowchart of FIG. A control program for executing this processing is stored in the ROM 305.

【0030】まずステップS11において、座標集合に
属する全線分データに対して補間処理を行なったかどう
かを判定する。全線分データに対して補間処理を行なっ
ていない場合はステップS12に進み、全線分データに
対する処理が終了するとメイン処理に戻る。ステップS
12では、補間処理を行なう線分データを一つ選択す
る。次にステップS13に進み、例えば図1に示した線
分における特異点の選別を行う。次にステップS14に
進み、最初に処理する2点として始点a1 と2番目に入
力された点a2 を選択する初期設定を行う。
First, in step S11, it is determined whether interpolation processing has been performed on all line segment data belonging to the coordinate set. If the interpolation processing has not been performed on all the line segment data, the process proceeds to step S12, and when the processing on all the line segment data ends, the process returns to the main process. Step S
At 12, one line segment data to be subjected to the interpolation processing is selected. Next, the process proceeds to step S13, for example, selection of a singular point in the line segment shown in FIG. Next, in step S14, performs a first starting point a 1 as two points to be processed in the initial setting for selecting a 2 point input to the second.

【0031】図6は線分座標データの例を示す図で、座
標データをan で表し、nは1≦n≦N(Nは自然数)
の数値で、nが小さいほうが時間的に前に入力された点
であることを示している。また、an とan-1 との距離
をDn-1 で表わしている。
FIG. 6 is a diagram showing an example of a line segment coordinate data represent coordinate data in a n, n is 1 ≦ n ≦ N (N is a natural number)
Indicates that the smaller n is the point input earlier in time. Also, it represents the distance between a n and a n-1 in D n-1.

【0032】次にステップS15に進み、処理する2点
間の座標のうち後から入力された点が特異点であるかど
うかを判定する。特異点でなければステップS16に進
み、特異点であればステップS22に進む。ステップS
16では2点間の距離Dn-1が前述した閾値L1 よりも
短いかどうかを判定する。ここでL1 は先に説明した2
点間距離の2つの閾値の小さいほうである。この2点間
距離Dn-1 がL1 よりも小さい場合はステップS17に
進む。ステップS18では、座標データ番号の更新を行
う。このとき点an は点an-1 に近接し過ぎているた
め、この点を削除し、点an+1 をan にデータ番号をシ
フトして更新する。ただし、an-1 以前のデータは更新
しない。このときの座標点の削除の例を図7に示す。図
7において、70で示す点線で示された丸は、削除され
た座標点(図6の点an )を示している。
Then, the process proceeds to a step S15, and it is determined whether or not the later input point among the coordinates between the two points to be processed is a singular point. If it is not a singular point, the process proceeds to step S16, and if it is a singular point, the process proceeds to step S22. Step S
At 16, it is determined whether the distance D n-1 between the two points is shorter than the above - described threshold L 1 . Here, L 1 is 2 described above.
The smaller of the two thresholds of the point-to-point distance. If the distance D n−1 between the two points is smaller than L 1 , the process proceeds to step S17. In step S18, the coordinate data number is updated. Because the this time too close the point a n to a point a n-1, remove the point and updates the point a n + 1 shifts the data number in a n. However, data before an -1 is not updated. FIG. 7 shows an example of deleting coordinate points at this time. In FIG. 7, a circle indicated by a dotted line indicated by 70 indicates a deleted coordinate point (point a n in FIG. 6).

【0033】次にステップS18に進み、座標データ群
から次の処理で使用する2点を設定する。具体的には座
標データ番号nを1だけインクリメントすることで行
う。この処理の後、ステップS15に戻る。
Next, the process proceeds to step S18, where two points to be used in the next process are set from the coordinate data group. More specifically, the coordinate data number n is incremented by one. After this processing, the process returns to step S15.

【0034】一方ステップS16で2点間距離Dn-1
閾値L1 以上であった場合はステップS19に進み、2
点間距離Dn-1 が閾値L2 よりも長いかどうかを判定す
る。ここでL2 は先に説明した2点間距離の2つの閾値
の大きいほうである。2点間距離がL2 よりも大きい場
合はステップS20に進み、直線(an −an-1 )上で
点an-1 から距離L3 の位置に1点を追加する(図8参
照)。ここでは追加点の座標計算を行う。また、この距
離L3 は予めL1 以上でL2 以下の範囲内に設定してお
く。このときの座標追加の例を図8に示す。
On the other hand if the distance between two points D n-1 were the threshold L 1 or more in step S16 advances to step S19, 2
It is determined whether the point distance D n-1 is longer than the threshold L 2 . Here L 2 is towards the two thresholds of the distance between the two points previously described large. If the distance between the two points is greater than L 2, the process proceeds to step S20, straight line (a n -a n-1) Add 1 point from the point a n-1 at a distance L 3 on (see FIG. 8 ). Here, the coordinates of the additional point are calculated. Further, the distance L 3 is preset in L 1 or in L 2 within the following ranges. FIG. 8 shows an example of adding coordinates at this time.

【0035】次にステップS21に進み、座標データ番
号の更新を行う。このとき点an をan+1 にデータ番号
をシフトし、追加座標点をan として更新する。ただ
し、a n-1 以前のデータは更新しない。この後、ステッ
プS18に進み、前述と同様の処理をくり返す。尚、ス
テップS19で2点間距離Dn-1 がL2 以下であった場
合は、Dn-1 はL1 以上L2 以下であるので座標補間処
理は行わず、そのままステップS18に進む。
Next, the process proceeds to step S21, where the coordinate data number
Update the issue. Then point an An + 1 To data number
And add an additional coordinate point to an Update as However
Then a n-1 Do not update previous data. After this,
Proceeding to step S18, the same processing as described above is repeated. In addition,
Distance D between two points in step S19n-1 Is LTwo If the following
If Dn-1 Is L1 LTwo Since it is less than
The process proceeds to step S18 without performing the process.

【0036】また、ステップS15で、点an が特異点
であった場合はステップS22に進み、点an が終点か
どうかを判断する。an が終点でない場合はステップS
18に進む。即ち、特異点では処理を行なわない。これ
は、特異点は線分データの形を特徴付ける重要なデータ
であるので補間処理を行なったために位置関係が崩れな
いようにするためである。一方、点an が終点であった
場合はステップS11に進む。こうしてステップS11
で全線分データに対して座標補間処理が終わったと判定
した場合はメイン処理へ戻る。
Further, in step S15, if the point a n was specific point proceeds to step S22, the point a n determines whether the end point. If a n is not the end point, step S
Proceed to 18. That is, no processing is performed at the singular point. This is because the singular point is important data characterizing the shape of the line segment data, so that the positional relationship does not collapse due to the interpolation processing. On the other hand, when the point a n was the end point proceeds to step S11. Thus, step S11
If it is determined that the coordinate interpolation processing has been completed for all line segment data, the process returns to the main processing.

【0037】上述した処理によれば、座標入力部201
から入力されたデータを一定範囲内の間隔をおいた座標
群に補間処理することによって、必要以上のデータを捨
て、効率の良いデータ保持を可能とするものである。
According to the above-described processing, the coordinate input unit 201
By interpolating the data input from the data into a coordinate group spaced at an interval within a certain range, unnecessary data is discarded, and efficient data holding is enabled.

【0038】以上に述べた制御方法を用いれば本発明の
第1実施例である座標入力装置を実現することができ
る。 <第2実施例>本実施例のように表示部と座標入力部が
物理的に重ねて構成されている座標入力装置において線
画図形を入力する場合、通常座標入力部201上に書い
た大きさと物理的に同じ大きさでデータを保持し、表示
部に表示する。しかし、座標入力部201が充分な解像
度を持たない場合は、使用者が入力したい線画図形の実
物よりも大きな寸法で入力し、座標補間処理を行なった
後、座標変換によって寸法を縮小した形でデータとして
保持して表示することで、疑似的に座標入力部201の
解像度を上げることができる。
By using the control method described above, the coordinate input device according to the first embodiment of the present invention can be realized. <Second Embodiment> When inputting a line drawing in a coordinate input device in which a display unit and a coordinate input unit are physically overlapped as in this embodiment, the size written on the coordinate input unit 201 is usually The data is stored in the same physical size and displayed on the display unit. However, if the coordinate input unit 201 does not have a sufficient resolution, the user inputs a line drawing figure that is larger than the actual size of the line drawing figure to be input, performs coordinate interpolation processing, and then reduces the size by coordinate conversion. By storing and displaying the data, the resolution of the coordinate input unit 201 can be artificially increased.

【0039】本実施例では外部にスイッチを設け、その
スイッチの状態によって寸法縮小の座標変換を行なうか
どうかを決定する。以後、寸法縮小の座標変換を行なう
モードを縮小入力モードと呼ぶ。
In this embodiment, a switch is provided externally, and it is determined whether or not to perform coordinate conversion for size reduction according to the state of the switch. Hereinafter, the mode for performing the coordinate conversion for the size reduction is referred to as a reduction input mode.

【0040】また、縮小変換時の縮小倍率は数値で指定
するのではなく、座標入力装置上に矩形の枠を書いて縮
小変換後の大きさを指定し、その後、枠外の領域に大き
く入力された線画図形を囲む最小の矩形枠(以降、最小
外接枠と呼ぶ)を抽出して、これら2つの枠から縮小倍
率を計算して決定する。この倍率を用いて縮小変換を行
い、先に指定した矩形枠内に表示する。このような本発
明の第2実施例である座標入力装置の概観図を図9に示
す。
Also, instead of specifying the reduction ratio at the time of the reduction conversion by a numerical value, a rectangular frame is written on the coordinate input device to specify the size after the reduction conversion, and thereafter, the size is greatly input to an area outside the frame. A minimum rectangular frame (hereinafter, referred to as a minimum circumscribed frame) surrounding the drawn line drawing figure is extracted, and a reduction ratio is calculated and determined from these two frames. Reduction conversion is performed using this magnification, and the image is displayed in the previously specified rectangular frame. FIG. 9 shows an overview of such a coordinate input device according to the second embodiment of the present invention.

【0041】図9において、210は装置本体を示し、
この本体210は、例えばデスク上に水平に置いて使用
されることを想定している。201は座標入力部、20
2は表示部である。尚、これら座標入力部201と表示
部202は前述の第1の実施例と同じようにどちらが前
面にあってもかまわない。211は寸法縮小の座標変換
を行なうかどうかを指示するスイッチである。このスイ
ッチ211は座標入力時のパームレストを兼ねており、
使用者がペンを握って線画入力を行なう場合に手をパー
ムレスト、即ちスイッチ211の上に置くとスイッチ2
11が押され、モードが切り替わるような構造になって
いる。この場合、アイコンの選択など概略位置の指示の
際はパームレストを使用せずに直接指示するため、入力
モードは切り替わらない。
In FIG. 9, reference numeral 210 denotes an apparatus main body;
The main body 210 is assumed to be used, for example, placed horizontally on a desk. 201 is a coordinate input unit;
Reference numeral 2 denotes a display unit. Either of the coordinate input unit 201 and the display unit 202 may be located on the front surface as in the first embodiment. Reference numeral 211 denotes a switch for instructing whether to perform coordinate conversion for size reduction. This switch 211 also serves as a palm rest when inputting coordinates,
When the user holds the pen to input a line drawing, the user places his hand on the palm rest, that is, the switch 211, and the switch 2
11 is pressed and the mode is switched. In this case, the input mode is not switched because the instruction is performed directly without using the palm rest when indicating the approximate position such as selecting an icon.

【0042】次に図9に示した第2実施例の座標入力装
置の概略構成を図10に示し、前述の図3と共通する部
分は同じ番号で示している。
Next, FIG. 10 shows a schematic configuration of the coordinate input device of the second embodiment shown in FIG. 9, and the same parts as those in FIG. 3 are denoted by the same reference numerals.

【0043】301aは座標入力部201を制御する制
御回路で、座標指示部302よりの指示に従って、その
座標入力の検出、その指示された座標位置の検出を行な
うとともに、モード切換スイッチ211よりのモード切
換指示を入力している。この座標指示部302は、座標
入力部201と対となって座標入力を行なう静電容量方
式や電磁誘導方式の場合のスタイラスである。303a
はCPUで、ROM305aに記憶された制御プログラ
ムに従って各種アプリケーションの実行、各種デバイス
の制御などを行なう。304aはRAMで、本座標入力
装置の制御の様々な演算や処理を行なう際のプログラム
やデータを記憶する。ROM305aには各種制御プロ
グラムやデータなどが記録されている。
Numeral 301a denotes a control circuit for controlling the coordinate input unit 201, which detects a coordinate input and a designated coordinate position in accordance with an instruction from the coordinate instructing unit 302, and sets a mode from the mode changeover switch 211. A switching instruction has been input. The coordinate indicating unit 302 is a stylus in the case of a capacitance type or an electromagnetic induction type in which coordinates are input in pairs with the coordinate input unit 201. 303a
Is a CPU that executes various applications and controls various devices according to a control program stored in the ROM 305a. A RAM 304a stores programs and data for performing various calculations and processes for controlling the present coordinate input device. Various control programs and data are recorded in the ROM 305a.

【0044】次に図11のフローチャートを参照して、
第2実施例の座標入力装置における座標入力モード切換
え処理を説明する。
Next, referring to the flowchart of FIG.
A coordinate input mode switching process in the coordinate input device according to the second embodiment will be described.

【0045】まずステップS31で、現在の入力モード
を記憶する。これは入力モードの切り換えスイッチ21
1より入力される信号を読込んでRAM304aに格納
するものである。次にステップS32に進み、RAM3
04aに格納しておいた入力モードを読込み、縮小モー
ドかどうかを判定する。縮小モードであるときはステッ
プS33に進み、座標入力部201より入力される線画
図形の入力を行なう。この処理内容は、前述の第1実施
例(図4のフローチャート)で説明した処理に準ずる。
なお、ここでは縮小変換後、表示する大きさを指定する
矩形枠を入力する。
First, in step S31, the current input mode is stored. This is the input mode switch 21
1 is to read a signal input from the device 1 and store it in the RAM 304a. Next, the process proceeds to step S32, where the RAM 3
The input mode stored in 04a is read, and it is determined whether or not the input mode is the reduction mode. If the mode is the reduction mode, the flow advances to step S33 to input a line drawing figure input from the coordinate input unit 201. The contents of this processing conform to the processing described in the first embodiment (the flowchart of FIG. 4).
Here, after the reduction conversion, a rectangular frame for specifying the size to be displayed is input.

【0046】次にステップS34に進み、ステップS3
3で入力された矩形枠を囲む最小外接枠を抽出する。こ
れは図12に示すように座標集合中のX座標、Y座標の
最大値(xmax ,ymax )、最小値(xmin ,ymin
から決定できる。図12において、120は入力された
線画図形を示し、121は、この線画図形120に基づ
いて抽出された最小外接枠を示している。xmin は入力
された線画図形120のX座標の最小値、ymin は入力
された線画図形120のY座標の最小値、xma x は入力
された線画図形120のX座標の最大値、,ymax は入
力された線画図形120のY座標の最大値である。
Then, the process proceeds to a step S34, and a step S3
The minimum circumscribed frame surrounding the rectangular frame input in step 3 is extracted. As shown in FIG. 12, the maximum value (x max , y max ) and the minimum value (x min , y min ) of the X coordinate and the Y coordinate in the coordinate set are obtained.
Can be determined from 12, reference numeral 120 denotes an input line drawing figure, and 121 denotes a minimum circumscribed frame extracted based on the line drawing figure 120. x min is the minimum value of the X coordinate of the line drawing graphic 120 that is input, y min is the minimum value of the Y coordinate of the line drawing graphic 120 that is input, x ma x is the maximum value of the X coordinate of the line drawing graphic 120 that is input ,, y max is the maximum value of the Y coordinate of the input line drawing graphic 120.

【0047】次にステップS35に進み、ステップS3
4で抽出した矩形枠を表示部202に表示する。ステッ
プS3では、線画図形の入力を行なう。この処理内容
はステップS33と同じである。次にステップS37に
進み、ステップS36で入力された線画図形を囲む最小
矩形枠を抽出する。この最小外接矩形枠は、ステップS
34と同様にして抽出できる。
Then, the process proceeds to a step S35, and a step S3
The rectangular frame extracted in step 4 is displayed on the display unit 202. In step S3 6, to input the line drawing graphic. This processing is the same as in step S33. Then, the process proceeds to a step S37, and a minimum rectangular frame surrounding the line drawing figure input in the step S36 is extracted. This minimum circumscribed rectangular frame is determined in step S
34, and can be extracted.

【0048】次にステップS38に進み、ステップS3
4及びステップS37で抽出した2つの矩形枠から縮小
倍率を計算する。このとき縮小倍率は、X軸、Y軸につ
いてそれぞれ計算し、倍率の大きいほうを選択する。こ
うすることによって、ステップS34で抽出した枠内
に、縮小変換後の座標集合を表示することができる。
Then, the process proceeds to a step S38, and a step S3
4 and the reduction magnification is calculated from the two rectangular frames extracted in step S37. At this time, the reduction ratio is calculated for each of the X axis and the Y axis, and the larger one is selected. By doing so, the coordinate set after the reduced conversion can be displayed in the frame extracted in step S34.

【0049】次にステップS39に進み、座標補間処理
を行う。この処理内容は前述の第1実施例の図5のフロ
ーチャートで説明した処理に準ずる。ステップS40で
は、補間処理を行なった座標集合の座標値を、ステップ
S38で算出した縮小倍率で変換する。次にステップS
41に進み、補間集合をステップS35で表示した矩形
枠内に表示する。このときステップS36で、既に表示
されていた線画図形の表示を終了した後に本処理を行な
う。次にステップS42に進み、ステップS35で表示
した矩形枠の表示を終了する。
Next, the process proceeds to a step S39, where a coordinate interpolation process is performed. The contents of this processing are in accordance with the processing described in the flowchart of FIG. 5 of the first embodiment. In step S40, the coordinate values of the coordinate set subjected to the interpolation processing are converted at the reduction ratio calculated in step S38. Next, step S
Proceeding to 41, the interpolation set is displayed in the rectangular frame displayed in step S35. At this time, in step S36, this processing is performed after the display of the line drawing figure already displayed is completed. Next, the process proceeds to step S42, and the display of the rectangular frame displayed in step S35 ends.

【0050】一方、ステップS32で縮小入力モードで
ない時はステップS43に進み、線画図形入力を行な
う。この処理内容はステップS33、ステップS36と
同様である。次にステップS44に進み、座標補間処理
を行う。この処理内容はステップS39と同様である。
こうしてステップS45に進み、座標集合を表示部20
2に表示する。この処理内容はステップS41と同様で
ある。
On the other hand, if the mode is not the reduced input mode in step S32, the flow advances to step S43 to input a line drawing figure. The contents of this processing are the same as in steps S33 and S36. Next, the process proceeds to step S44, where coordinate interpolation processing is performed. This processing is the same as in step S39.
Thus, the process proceeds to step S45, where the coordinate set is displayed on the display unit 20.
2 is displayed. This processing is the same as that in step S41.

【0051】以上のように、この第2実施例では、座標
入力前にスイッチ211で設定されている入力モードを
読込み、そのモードに従って線画図形の縮小変換を行う
ようにしている。尚、いつ使用者がスイッチ211を操
作して入力モードを変更するか分からないので、一定時
間間隔毎にスイッチ211で設定される入力モードを監
視しておく必要がある。
As described above, in the second embodiment, the input mode set by the switch 211 is read before inputting the coordinates, and the reduction conversion of the line drawing is performed according to the read mode. Since it is not known when the user operates the switch 211 to change the input mode, it is necessary to monitor the input mode set by the switch 211 at regular time intervals.

【0052】上述した方法では、使用者は外部スイッチ
211で簡単に入力モードを切り換えることができる。
また、縮小入力モードでは縮小後表示枠を入力した後に
線画図形を入力することにより自動的に縮小倍率を算出
できるので、倍率を数字で指定する必要がなく、直感的
に入力後の大きさを指定できる。
In the above-described method, the user can easily switch the input mode using the external switch 211.
In the reduction input mode, the reduction ratio can be automatically calculated by inputting a line drawing figure after inputting the display frame after the reduction, so that it is not necessary to specify the magnification numerically, and the size after the input is intuitively reduced. Can be specified.

【0053】また、座標入力部201上に大きく入力し
たデータを縮小変換して表示することで、座標入力部2
01が十分な解像度を持たない場合でも疑似的に座標入
力部201の解像度を上げることができる。 <第3実施例>座標入力部201から入力された線画図
形データを、予めシステムに記憶しておいた線画図形シ
ンボルの中の最も形状の近いシンボルへ変換する処理を
行なう場合、ある一定数以上の座標データを持つ線画図
形データが入力される必要がある。また、座標入力部2
01の解像度と読み取り装置上での線画図形の寸法が決
まれば、データ数を計算によって求めることができる。
The data input largely on the coordinate input unit 201 is reduced and converted and displayed.
Even when 01 does not have a sufficient resolution, the resolution of the coordinate input unit 201 can be artificially increased. <Third Embodiment> When performing a process of converting the line drawing graphic data input from the coordinate input unit 201 into a symbol having the closest shape among the line drawing graphic symbols stored in the system in advance, a certain number or more is required. It is necessary to input line drawing graphic data having the coordinate data of Also, a coordinate input unit 2
Once the resolution of 01 and the size of the line drawing on the reading device are determined, the number of data can be obtained by calculation.

【0054】以上の観点から、本発明の第3実施例で
は、シンボル変換のために必要となる座標データ数の閾
値を線画図形の座標入力部201上に描かれる大きさで
定義し、この閾値となる大きさに満たない線画図形が入
力されたときは、入力を無効とし、閾値に必要となる矩
形枠(以下、最小入力枠と呼ぶ)を表示部202に表示
して使用者に矩形枠以外の大きさでの線画図形の入力を
促す。
In view of the above, in the third embodiment of the present invention, the threshold value of the number of coordinate data required for symbol conversion is defined by the size drawn on the coordinate input unit 201 of the line drawing figure, and this threshold value is defined. When a line drawing figure smaller than the size is input, the input is invalidated, a rectangular frame required for the threshold value (hereinafter, referred to as a minimum input frame) is displayed on the display unit 202, and a rectangular frame is displayed to the user. Prompts you to enter a line drawing figure with a size other than.

【0055】本発明の第3実施例の座標入力装置の外観
構造及びブロック図は前述の第1実施例に準ずる。
The external structure and block diagram of the coordinate input device according to the third embodiment of the present invention conform to those of the first embodiment.

【0056】次に図13のフローチャートを参照して、
第3実施例の座標入力装置における処理を説明する。
Next, referring to the flowchart of FIG.
A process in the coordinate input device according to the third embodiment will be described.

【0057】ステップS51で、線画図形を入力する。
この処理は前述の第1実施例の図4のフローチャートに
準ずる。次にステップS52に進み、ステップS51で
入力された線画図形の最小外接枠を抽出する。この処理
内容は第2実施例のステップS34に準ずる。次にステ
ップS53では、ステップS52で抽出した最小外接枠
と、最小入力枠との大きさを比較し、最小外接枠の方が
小さい場合はステップS54に進む。このとき枠の大き
さの比較は、各々の枠の辺の長さによって行なう。
In step S51, a line drawing figure is input.
This process conforms to the flowchart of FIG. 4 of the first embodiment. Next, the process proceeds to step S52, and the minimum circumscribed frame of the line drawing figure input in step S51 is extracted. This processing is in accordance with step S34 of the second embodiment. Next, in step S53, the sizes of the minimum circumscribed frame extracted in step S52 and the minimum input frame are compared, and if the minimum circumscribed frame is smaller, the process proceeds to step S54. At this time, the comparison of the sizes of the frames is performed based on the length of the side of each frame.

【0058】ステップS54では、最小入力枠、入力さ
れた線画図形の表示を行い、最小入力枠は線画図形の入
力のあった位置に線画図形を重ねて表示する。この処理
の中で表示後、ウェイト動作を行なう。このウェイトに
よって適当な時間、最小入力枠、入力された線画図形を
表示する。次にステップS55に進み、表示した最小入
力枠、線画図形の表示を終了する。
In step S54, the minimum input frame and the input line drawing figure are displayed, and the minimum input frame is displayed with the line drawing figure superimposed on the position where the line drawing figure was input. After displaying during this processing, a wait operation is performed. An appropriate time, a minimum input frame, and an input line drawing figure are displayed by the weight. Next, the process proceeds to step S55, and the display of the displayed minimum input frame and the line drawing figure ends.

【0059】尚、ステップS53において、入力した線
画図形の最小外接枠の方が、最小入力枠よりも大きい場
合はこの処理を終了する。
If it is determined in step S53 that the minimum circumscribed frame of the input line drawing graphic is larger than the minimum input frame, the process ends.

【0060】この第3実施例では、線画図形が十分な大
きさを持っていない場合はその入力を無効とするが、十
分な大きさを持っていた場合はこの線画の入力終了後、
第1実施例で示した座標補間処理を行なう。また、最小
入力枠は座標入力部201の解像度とシンボル変換に必
要となるデータ数とからその大きさを計算しておき、こ
の座標入力装置に予め登録してあるものとする。
In the third embodiment, if the line drawing figure does not have a sufficient size, the input is invalidated, but if the line drawing figure has a sufficient size, after the input of the line drawing is completed,
The coordinate interpolation processing shown in the first embodiment is performed. Also, it is assumed that the size of the minimum input frame is calculated from the resolution of the coordinate input unit 201 and the number of data required for symbol conversion, and is registered in the coordinate input device in advance.

【0061】この第3実施例では、使用者が入力した線
画図形が無効である場合は、入力後に最小入力枠と線画
図形を同じ位置に表示した後、所定の時間後に表示が終
了するので、使用者は現在入力したデータが無効であっ
たことを知ることができ、表示された最小入力枠以上の
大きさで線画図形を入力する必要があることを知ること
ができる。
In the third embodiment, when the line drawing figure input by the user is invalid, the minimum input frame and the line drawing figure are displayed at the same position after the input, and the display ends after a predetermined time. The user can know that the currently input data is invalid, and can know that it is necessary to input a line drawing graphic with a size larger than the displayed minimum input frame.

【0062】以上説明したように前述した実施例によれ
ば、表示部と座標入力部201が物理的に重ねて構成さ
れている座標入力装置において、連続的に入力された座
標群の入力開始点、入力終了点及び変曲点を保存したま
ま、一部座標の削減を行なうか、あるいは連続する2点
の座標間の直線上に座標の追加を行なうことで、座標間
の距離を一定範囲内に保つようにしたため、線分の始
点、終点付近でもデータ数が過剰に多くならず、効率の
良いデータを保持できる。また線分の中間点付近では座
標が追加されるためにデータ数が増加し、この処理の後
の画像処理での信頼性が向上する。
As described above, according to the above-described embodiment, in the coordinate input device in which the display unit and the coordinate input unit 201 are physically overlapped, the input start point of the continuously input coordinate group is set. , While preserving the input end point and the inflection point, reduce some coordinates or add coordinates on a straight line between the coordinates of two consecutive points to keep the distance between the coordinates within a certain range. , The number of data is not excessively increased near the start and end points of the line segment, and efficient data can be held. In addition, since the coordinates are added near the midpoint of the line segment, the number of data increases, and the reliability in image processing after this processing is improved.

【0063】さらに、この座標補間処理を行なった結
果、効率の良いデータが生成されるので、その後の画像
処理時間が短縮され、座標入力に対する表示までの応答
速度が速くなり、使用感が向上する。
Further, as a result of performing the coordinate interpolation processing, efficient data is generated, so that the subsequent image processing time is shortened, the response speed up to the display for the coordinate input is increased, and the usability is improved. .

【0064】また、座標入力時には座標入力点をそのま
ま表示し、入力終了後、表示された座標点の表示を終了
するため、入力時は使用者の入力の軌跡が分かり、表示
が終了することで入力処理が終了し、次の処理へ移った
ことを使用者に知らせることができる。
When inputting coordinates, the coordinate input point is displayed as it is, and after the input is completed, the display of the displayed coordinate point is ended. Therefore, when inputting, the locus of the user's input is understood, and the display is terminated. The user can be notified that the input processing has been completed and the processing has shifted to the next processing.

【0065】さらに、座標変換処理を筺体などに設置さ
れた外部スイッチの状態に応じて制御することにより、
使用者は簡単に入力モードを切り換えることができる。
Further, by controlling the coordinate conversion processing in accordance with the state of an external switch installed in a housing or the like,
The user can easily switch the input mode.

【0066】また、上記座標変換を行なう際、その変換
倍率を数字で指定するのではなくて変換後の図形の大き
さを指定した後、座標入力を行ない、変換倍率を自動的
に算出するため、使用者は倍率を数字で指定する必要が
なく、直感的に入力後の大きさを指定できる。
When performing the above coordinate conversion, instead of specifying the conversion magnification numerically, the size of the figure after conversion is specified, and then the coordinates are input to automatically calculate the conversion magnification. The user does not need to specify the magnification numerically, and can intuitively specify the size after input.

【0067】入力座標入力部201上に大きく入力した
座標データを縮小変換して表示することで座標入力部2
01が十分な解像度をもたない場合でも疑似的に座標入
力部201の解像度を上げることができる。このとき入
力データの特異点を保存してあるため、座標変換によっ
て大きさが替わっても、形が崩れることはない。したが
って、安価な低解像度の座標入力部201でも使用が可
能となる。
The coordinate data input on the input coordinate input unit 201 is reduced and converted to display the coordinate data.
Even if 01 does not have a sufficient resolution, the resolution of the coordinate input unit 201 can be increased in a pseudo manner. At this time, since the singular point of the input data is stored, the shape is not lost even if the size is changed by the coordinate conversion. Therefore, it can be used even with the inexpensive low-resolution coordinate input unit 201.

【0068】また、入力終了と共に入力された座標集合
の外形の大きさを計算し、この大きさがある一定の大き
さの枠よりも小さい場合は座標補間処理を実行せず、こ
の枠を表示し、入力データを無効となるようにするた
め、使用者は座標補間処理時間待たされることなく、現
在入力したデータが無効であったことを知り、表示され
た最小入力枠以上の大きさで線画図形を入力する必要が
あることを知ることができる。次に本発明の第4実施例
の座標入力装置について説明する。
Also, upon completion of the input, the size of the outer shape of the input coordinate set is calculated, and if this size is smaller than a certain size frame, coordinate interpolation processing is not executed and this frame is displayed. In order to invalidate the input data, the user knows that the currently input data is invalid without waiting for the coordinate interpolation processing time, and draws a line drawing with a size larger than the displayed minimum input frame. You can know that you need to input a figure. Next, a coordinate input device according to a fourth embodiment of the present invention will be described.

【0069】図15は第4実施例の座標入力装置の概観
斜視図である。尚、以下の説明において、前述の実施例
と共通する部分は同じ番号で示し、それらの説明を省略
する。
FIG. 15 is a schematic perspective view of the coordinate input device of the fourth embodiment. Note that, in the following description, portions common to the above-described embodiment are denoted by the same reference numerals, and description thereof will be omitted.

【0070】201は座標入力部で、ここでは2枚の透
明な抵抗膜を塗布したガラス板が全面に亙って等間隔に
接地され、それらが指またはペンによって押下された時
に湾曲した互いに接触することにより電流を流し、その
電流比によって接触した位置(押下された位置)を求め
るアナログ抵抗分割型のタッチパネルである。203は
制御回路を示し、タッチパネル201や表示部202の
制御を行っている。204はスイッチで、各種指示を入
力するのに使用される。
Reference numeral 201 denotes a coordinate input unit. In this case, two glass plates coated with a transparent resistive film are grounded at equal intervals over the entire surface, and when they are pressed by a finger or a pen, they contact each other. This is an analog resistance division type touch panel that allows a current to flow and obtains a contact position (depressed position) based on the current ratio. A control circuit 203 controls the touch panel 201 and the display unit 202. A switch 204 is used to input various instructions.

【0071】図16は、この第5実施例の座標入力装置
の概略構成を示すブロック図である。
FIG. 16 is a block diagram showing a schematic configuration of the coordinate input device of the fifth embodiment.

【0072】160はコントローラで、スイッチ204
よりの指示入力及び座標入力部201で指示された位置
等を入力して各種制御を行っている。161はインター
フェース部で、座標入力部201よりのアナログ信号を
デジタル信号に変換して出力している。162はメモリ
で、コントローラ160の制御プログラムや、各種デー
タの一時記憶に使用される。163はCPUで、コント
ローラ160より入力した入力座標集合の表示、各種ア
プリケーションの実行、各種デバイスの制御等を行って
いる。164はメモリで、CPU163の制御プログラ
ムや各種データを記憶している。
Reference numeral 160 denotes a controller,
And input the position and the like designated by the coordinate input unit 201 to perform various controls. An interface unit 161 converts an analog signal from the coordinate input unit 201 into a digital signal and outputs the digital signal. A memory 162 is used for temporarily storing a control program of the controller 160 and various data. A CPU 163 displays an input coordinate set input from the controller 160, executes various applications, controls various devices, and the like. A memory 164 stores a control program of the CPU 163 and various data.

【0073】図17は、第5実施例の座標入力装置のコ
ントローラ160における座標入力処理を示すフローチ
ャートで、この処理を実行する制御プログラムはメモリ
162に記憶されている。
FIG. 17 is a flowchart showing a coordinate input process in the controller 160 of the coordinate input device of the fifth embodiment. A control program for executing this process is stored in the memory 162.

【0074】まずステップS61で、座標入力部201
よりのデータを入力し、これを論値座標値に変換する。
次にステップS62に進み、その座標値をCPU163
に出力し、座標入力部201に固有の解像度で表示部2
02に表示する。次にステップS63に進み、座標入力
部201よりの信号を基に、座標入力が連続している
か、即ち、連続してペン等により押下されているかどう
かを判断する。入力が終了していない時はステップS6
1に戻り、前述の処理を実行する。
First, in step S61, the coordinate input unit 201
Is input and converted to theoretical coordinate values.
Next, the process proceeds to step S62, in which the coordinate values are stored in the CPU 163.
To the display unit 2 at a resolution unique to the coordinate input unit 201.
02 is displayed. Next, in step S63, based on the signal from the coordinate input unit 201, it is determined whether the coordinate input is continuous, that is, whether the coordinate input is continuously pressed by a pen or the like. If the input has not been completed, step S6
Returning to step 1, the above-described processing is executed.

【0075】入力が終了するとステップS64に進み、
入力された座標データの縦、横、対角線の長さを求め
る。次にステップS65に進み、この対角線の長さが2
00ドット以上かどうかを調べ、そうでなければステッ
プS66に進み、その座標データを第2の解像度に変換
する。この処理については図19〜図23を参照して詳
しく後述する。
When the input is completed, the process proceeds to step S64,
The lengths of the vertical, horizontal, and diagonal lines of the input coordinate data are obtained. Next, proceeding to step S65, the length of this diagonal is 2
It is checked whether it is not less than 00 dots. If not, the process proceeds to step S66, and the coordinate data is converted to the second resolution. This processing will be described later in detail with reference to FIGS.

【0076】ステップS65の判定を図18を参照して
説明すると、図18では縦12ドット、横9ドットであ
るため、対角線は15ドットとなり、この場合はステッ
プS65からステップS66に進み、第2の解像度への
変換が行われる。尚、この200ドットという値は、図
形の品質として十分であると判断できる数値であれば、
いくつであっても良いことはもちろんである。
The determination in step S65 will be described with reference to FIG. 18. In FIG. 18, since there are 12 vertical dots and 9 horizontal dots, the diagonal is 15 dots. In this case, the process proceeds from step S65 to step S66, and the second Is converted to the resolution. Note that the value of 200 dots is a numerical value that can be determined to be sufficient as the quality of the figure.
Of course, any number is acceptable.

【0077】こうしてステップS67に進み、入力した
元の座標集合の下端と、ステップS66を実行した後で
あれば変換後の座標集合の下端とを合わせて、表示部2
02に入力された図形或いは変換後の図形を表示する。
次にステップS68に進み、この得られた画像データを
基に、CPU163により、例えば文字認識や輪郭抽出
等の画像処理を実行する。
The process then proceeds to step S67, where the lower end of the input original coordinate set and the lower end of the converted coordinate set after step S66 have been executed are combined, and
The figure input to 02 or the figure after conversion is displayed.
Next, the process proceeds to step S68, and the CPU 163 executes image processing such as character recognition and contour extraction based on the obtained image data.

【0078】図19は解像度変換の処理例を示す図で、
ここでは所定のドット数以下の場合におけるスムージン
グ処理を示している。
FIG. 19 is a diagram showing an example of resolution conversion processing.
Here, a smoothing process in a case where the number of dots is equal to or less than a predetermined number of dots is shown.

【0079】図20はこのスムージング処理を示すフロ
ーチャートで、この処理を実行する制御プログラムはメ
モリ162に記憶されている。
FIG. 20 is a flowchart showing the smoothing process. A control program for executing this process is stored in the memory 162.

【0080】まずステップS71で、入力された座標集
合を直接補間し、解像度変換の対象となる座標データが
全て連続した状態にする。この処理は図24のフローチ
ャートを参照して後述する。次にステップS72に進
み、ステップS71で得られた座標集合の最初のデータ
を着目点1とし、ステップS73で次の座標点を着目点
2とする。ステップS74では、次の着目点である着目
点2が空きかどうか、即ち、処理が終了したかを調べ
る。終了でない時はステップS75に進み、隣接する着
目点1と着目点2とが水平線或いは垂直線で結ばれてい
るかどうかを判断し、そうであればステップS79に進
み、この着目点2を新たに着目点1とし、再びステップ
S73に戻る。
First, in step S71, the input coordinate set is directly interpolated to make all coordinate data to be subjected to resolution conversion continuous. This processing will be described later with reference to the flowchart in FIG. Next, proceeding to step S72, the first data of the coordinate set obtained in step S71 is set as point of interest 1, and the next coordinate point is set as point of interest 2 in step S73. In step S74, it is checked whether or not the next point of interest, that is, the point of interest 2 is empty, that is, whether or not the processing has been completed. If not, the process proceeds to step S75, in which it is determined whether the adjacent point of interest 1 and the point of interest 2 are connected by a horizontal line or a vertical line. If so, the process proceeds to step S79, and the point of interest 2 is newly added. The point of interest 1 is set, and the process returns to step S73 again.

【0081】ステップS75で直線でない時はステップ
S76に進み、右上りの線か、右下がりの線かを判断
し、右下がりであればステップS77に進み、左下の2
点を削除し、右上の一点を追加する(図21参照)。一
方、ステップS76で右下がりの座標列でない時(右上
りの時)はステップS78に進み、右下の2点を削除
し、左上の1点を追加する(図22参照)。
If it is determined in step S75 that the line is not a straight line, the process proceeds to step S76, where it is determined whether the line is an upper right line or a lower right line.
The point is deleted, and one point on the upper right is added (see FIG. 21). On the other hand, if the coordinate sequence is not a right-downward coordinate line in step S76 (upward rightward), the process proceeds to step S78, in which two lower right points are deleted and one upper left point is added (see FIG. 22).

【0082】図21は右下がりの座標列における座標点
の削除及び追加処理を示しており、221が削除される
点、222が追加された点を示している。また、図22
は右上りの座標列における座標点の追加及び削除を示
し、223は削除される点を示し、224は追加される
点を示している。
FIG. 21 shows a process of deleting and adding a coordinate point in a coordinate line descending to the right, showing a point 221 to be deleted and a point 222 to be added. FIG.
Indicates addition and deletion of coordinate points in the upper right coordinate sequence, 223 indicates a point to be deleted, and 224 indicates a point to be added.

【0083】図24は直線補間の一例を示す図、図24
はこの直線補間の処理を示すフローチャートである。
FIG. 24 shows an example of linear interpolation.
Is a flowchart showing the linear interpolation processing.

【0084】図23において、231及び232は入力
された座標点を示し、図23の右側で示すように、これ
ら2つの座標点が補間された複数のドットにより接続さ
れている。
In FIG. 23, reference numerals 231 and 232 indicate input coordinate points. As shown on the right side of FIG. 23, these two coordinate points are connected by a plurality of interpolated dots.

【0085】図24において、まずステップS81で入
力点1から入力点2に向かって中心点同士を接続し、ス
テップS82で入力点1を着目点とする。次にステップ
S83に進み、着目点の周辺座標のうち、前回置いたド
ットを除く7座標の内、ステップS81で引かれた直線
が通過する長さが最も長い座標を選択する。この時、も
し線分の通過する長さが同じであれば、左側の座標を選
択する。これを図23の場合で説明すると、いま着目点
が点240とすると、ドット243とドット241の
内、ドット241の方が線分が通過する長さが長いの
で、ドット241が選択される。
In FIG. 24, first, the center points are connected from the input point 1 to the input point 2 in step S81, and the input point 1 is set as the point of interest in step S82. Next, the process proceeds to step S83, and among the coordinates around the point of interest, the coordinates having the longest length of the straight line drawn in step S81 are selected from among the seven coordinates excluding the previously placed dot. At this time, if the line segments have the same length, the left coordinate is selected. This will be described with reference to FIG. 23. Assuming that the point of interest is point 240, the dot 241 is selected because the dot 241 has a longer line segment passing length than the dot 243 and the dot 241.

【0086】次にステップS84に進み、ステップS8
3で選択された座標位置にドットを置き、そこに着目点
を移動する。次にステップS85に進み、ステップS8
4で設定された着目点が入力点2と一致するかどうか、
即ち、新たな着目点が最終点であるかを判定し、そうで
あれば処理を終了し、そうでない時はステップS83に
戻り、前述した処理を実行する。
Then, the process proceeds to a step S84, wherein a step S8 is executed.
A dot is placed at the coordinate position selected in step 3, and the point of interest is moved there. Next, the process proceeds to step S85, and step S8
Whether the point of interest set in step 4 matches input point 2
That is, it is determined whether the new point of interest is the final point. If so, the process is terminated. If not, the process returns to step S83 to execute the above-described process.

【0087】以上の処理を繰返すことにより、2のべき
乗のオーダーで解像度を上げることができる。従って、
入力した画像の解像度と、目標とする解像度とが2のべ
き乗の関係にない時は、目標の解像度よりも大きい一番
近い値になるようにべき乗での解像度変換を行い、その
後、間引き処理を行うことにより、目標とする解像度に
到達することができる。例えば、解像度を3倍に上げた
い場合は、図19に示す処理を2回行って解像度を4倍
にした後、縦、横とも4ドットに1ドットずつ間引くこ
とにより、3倍の解像度での画像データを得ることがで
きる。尚、解像度の変換は前述の処理に限定されるもの
でなく、他の方法を用いても良いことはもちろんであ
る。
By repeating the above processing, the resolution can be increased in the order of a power of two. Therefore,
When the resolution of the input image and the target resolution are not in a power of two relationship, the resolution is converted to a power which is the closest value larger than the target resolution. By doing so, the target resolution can be reached. For example, if it is desired to increase the resolution by a factor of three, the process shown in FIG. 19 is performed twice to increase the resolution by a factor of four, and then by thinning out every four dots in the vertical and horizontal directions, thereby reducing the resolution by a factor of three. Image data can be obtained. Note that the resolution conversion is not limited to the above-described processing, and it goes without saying that another method may be used.

【0088】前述の実施例では、解像度の変換は常に行
われていたが、この解像度の変換は必ずしも常に必要と
いうわけではない。そこで、高解像度を必要とする場合
にのみ解像度の変換を指示する手段を設け、解像度の変
換が指示された場合にのみ解像度の変換処理を実行し、
それ以外の場合は解像度の変換処理を行わないか、或い
は簡便な解像度の変換処理のみを実行することもでき
る。
In the above-described embodiment, the resolution conversion is always performed, but this resolution conversion is not always necessary. Therefore, a means for instructing a resolution conversion only when high resolution is required is provided, and a resolution conversion process is executed only when a resolution conversion is instructed,
In other cases, the resolution conversion process may not be performed, or only the simple resolution conversion process may be performed.

【0089】このような解像度の変換を指示する手段を
備えた本発明の第5実施例の座標入力装置の動作を図2
5のフローチャートを参照して説明する。
The operation of the coordinate input device according to the fifth embodiment of the present invention having such means for instructing the conversion of the resolution is shown in FIG.
This will be described with reference to the flowchart of FIG.

【0090】図25のステップS91〜S93は、前述
の図17のステップS61〜63と同様である。次にス
テップS94に進み、モード切り換えスイッチの状態を
調べ、このスイッチがオンであればステップS95に進
み、第2の解像度へ数値処理による解像度変換を行う。
この解像度の変換処理は、例えば図19〜図24で示し
た解像度の変換処理であっても良く、或いは他の解像度
変換処理であっても良い。一方、このスイッチがオフで
あればステップS96に進み、第3の解像度へ数値処理
による解像度変換を行う。これも例えば図19〜図24
で示した解像度の変換処理であっても良く、或いは他の
解像度変換処理であっても良い。
Steps S91 to S93 in FIG. 25 are the same as steps S61 to S63 in FIG. 17 described above. Next, proceeding to step S94, the state of the mode changeover switch is checked, and if this switch is on, proceeding to step S95, the resolution is converted to the second resolution by numerical processing.
This resolution conversion processing may be, for example, the resolution conversion processing shown in FIGS. 19 to 24 or another resolution conversion processing. On the other hand, if the switch is off, the process proceeds to step S96, and the resolution is converted to the third resolution by numerical processing. This is also shown in FIGS.
The conversion process of the resolution indicated by the symbol may be performed, or another resolution conversion process may be performed.

【0091】こうしてステップS97に進み、これら解
像度変換された座標集合を元の位置に表示し、ステップ
S98でその座標集合に対して画像処理を実行する。こ
れらの処理は前述の図17のステップS67及びステッ
プS68の処理と同様である。
Thus, the process proceeds to step S97, where the resolution-converted coordinate set is displayed at the original position, and image processing is performed on the coordinate set in step S98. These processes are the same as the processes in steps S67 and S68 in FIG. 17 described above.

【0092】以上説明したようにこれら第4及び第5実
施例によれば、座標入力部より入力された座標集合に解
像度変換を行い、そのデータを出力することにより、高
解像度のアプリケーションにも対応できる効果がある。
As described above, according to the fourth and fifth embodiments, the resolution conversion is performed on the coordinate set input from the coordinate input unit, and the data is output, thereby supporting a high-resolution application. There is an effect that can be done.

【0093】尚、本発明は複数の機器から構成されるシ
ステムに適用しても、1つの機器からなる装置に適用し
ても良い。また、本発明はシステム或は装置に、本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can also be applied to a case where the present invention is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0094】[0094]

【発明の効果】以上説明したように本発明によれば、連
続的に入力された座標データの入力開始点、入力終了点
及び変曲点を保存したまま、座標データ間の距離を略一
定の範囲内に保つようにして、後段の画像処理を効率よ
く行える効果がある。また本発明によれば、倍率を数字
で指定する必要がなく、入力した座標データに基づく図
形の大きさを直感的に指定できるという効果がある。
As described above, according to the present invention, the distance between coordinate data is kept substantially constant while the input start point, input end point and inflection point of continuously input coordinate data are stored. There is an effect that the subsequent image processing can be efficiently performed by keeping the range. According to the present invention, the magnification is set to a number.
Figure based on input coordinate data without having to specify
The effect is that the size of the shape can be specified intuitively.

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

【図1】座標入力装置より入力された線画図形の特異点
を説明する図である。
FIG. 1 is a diagram illustrating singular points of a line drawing figure input from a coordinate input device.

【図2】本発明の第1及び第3の実施例の座標入力装置
の外観構造図である。
FIG. 2 is an external structural view of a coordinate input device according to first and third embodiments of the present invention.

【図3】本発明の第1及び第3の実施例の座標入力装置
の概略構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a schematic configuration of a coordinate input device according to first and third embodiments of the present invention.

【図4】本発明の第1実施例の座標入力装置における線
画図形入力処理を示すフローチャートである。
FIG. 4 is a flowchart showing a line drawing figure input process in the coordinate input device according to the first embodiment of the present invention.

【図5】本発明の第1実施例における座標補間処理を示
すフローチャートである。
FIG. 5 is a flowchart illustrating a coordinate interpolation process according to the first embodiment of the present invention.

【図6】本実施例において入力された線画図形の線分デ
ータの一例を示す図である。
FIG. 6 is a diagram illustrating an example of line segment data of a line drawing figure input in the embodiment.

【図7】本実施例における入力された線画図形の線分デ
ータの座標点削除の一例を示した図である。
FIG. 7 is a diagram illustrating an example of deleting coordinate points of line segment data of an input line drawing graphic according to the present embodiment.

【図8】本実施例における入力された線画図形の線分デ
ータの座標点追加の一例を示した図である。
FIG. 8 is a diagram illustrating an example of adding coordinate points of line segment data of an input line drawing graphic according to the present embodiment.

【図9】本発明の第2の実施例の座標入力装置の外観構
造を示す図である。
FIG. 9 is a diagram showing an external structure of a coordinate input device according to a second embodiment of the present invention.

【図10】本発明の第2実施例の座標入力装置の概略構
成を示すブロック図である。
FIG. 10 is a block diagram illustrating a schematic configuration of a coordinate input device according to a second embodiment of the present invention.

【図11】本発明の第2実施例の線画図形縮小入力処理
を示すフローチャートである。
FIG. 11 is a flowchart showing a line drawing figure reduction input process according to the second embodiment of the present invention.

【図12】本発明の第2及び第3の実施例における入力
された線画図形の最小外接枠を説明するための図であ
る。
FIG. 12 is a diagram for explaining a minimum circumscribed frame of an inputted line drawing figure in the second and third embodiments of the present invention.

【図13】本発明の第3実施例の線画図形入力処理を示
すフローチャートである。
FIG. 13 is a flowchart showing a line drawing figure input process according to a third embodiment of the present invention.

【図14】線画図形入力時の座標検出点の検出例を示す
図である。
FIG. 14 is a diagram illustrating an example of detection of coordinate detection points when a line drawing figure is input.

【図15】本発明の第4実施例の座標入力装置の概観構
造図である。
FIG. 15 is a schematic structural view of a coordinate input device according to a fourth embodiment of the present invention.

【図16】第4実施例の座標入力装置の構成を示すブロ
ック図である。
FIG. 16 is a block diagram illustrating a configuration of a coordinate input device according to a fourth embodiment.

【図17】第4実施例の座標入力装置における座標入力
処理を示すフローチャートである。
FIG. 17 is a flowchart showing a coordinate input process in the coordinate input device of the fourth embodiment.

【図18】第4実施例における座標入力データの具体例
を示す図である。
FIG. 18 is a diagram showing a specific example of coordinate input data in the fourth embodiment.

【図19】第4実施例における解像度変換処理を説明す
るための図である。
FIG. 19 is a diagram illustrating a resolution conversion process according to the fourth embodiment.

【図20】第4実施例におけるスムージング処理を示す
フローチャートである。
FIG. 20 is a flowchart showing a smoothing process in the fourth embodiment.

【図21】第4実施例における解像度変換の方法を説明
するための図である。
FIG. 21 is a diagram illustrating a resolution conversion method according to a fourth embodiment.

【図22】第4実施例における解像度変換の方法を説明
するための図である。
FIG. 22 is a diagram for explaining a resolution conversion method in the fourth embodiment.

【図23】第4実施例における直線補間を説明するため
の図である。
FIG. 23 is a diagram for explaining linear interpolation in a fourth embodiment.

【図24】第4実施例における直線補間処理を示すフロ
ーチャートである。
FIG. 24 is a flowchart showing a linear interpolation process in the fourth embodiment.

【図25】本発明の第5実施例における座標入力処理を
示すフローチャートである。
FIG. 25 is a flowchart illustrating a coordinate input process according to a fifth embodiment of the present invention.

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

160 コントローラ 161 インターフェース 162,164 メモリ 201 座標入力部 202 表示部 203 制御回路 204 スイッチ 210 装置本体 211 モード切換スイッチ 301,301a 制御回路 302 座標指示部 303,303a,163 CPU 304,304a RAM 305,305a ROM 160 controller 161 interface 162, 164 memory 201 coordinate input unit 202 display unit 203 control circuit 204 switch 210 device body 211 mode changeover switch 301, 301a control circuit 302 coordinate indicating unit 303, 303a, 163 CPU 304, 304a RAM 305, 305a ROM

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 3/03 380 G06F 3/033 360 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 3/03 380 G06F 3/033 360

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 座標入力装置より座標データを入力し、
その座標データに基づく表示を行なう座標入力制御方法
であって、 連続的に入力される座標データに基づき、前記座標デー
タの入力順に前記座標データに対応する表示位置にドッ
トを表示し、連続する座標データ群の入力開始点、入力
終了点及び変曲点を保存したまま、前記座標データの編
集を行なうことを特徴とする座標入力制御方法。
1. Coordinate data is input from a coordinate input device,
A coordinate input control method for performing display based on the coordinate data, comprising: displaying dots at display positions corresponding to the coordinate data in the input order of the coordinate data based on continuously input coordinate data; A coordinate input control method, wherein the coordinate data is edited while the input start point, the input end point, and the inflection point of the data group are stored.
【請求項2】 入力された座標データの集合の外形寸法
を示す枠が入力されると、入力された座標データ群が前
記枠内に入るように縮小変換する工程を更に有すること
を特徴とする請求項1に記載の座標入力制御方法。
2. The method according to claim 1, further comprising the step of, when a frame indicating the outer dimensions of the set of input coordinate data is input, performing a reduction conversion so that the input coordinate data group falls within the frame. The coordinate input control method according to claim 1.
【請求項3】 前記座標データの編集は、座標データの
追加、削除を含むことを特徴とする請求項1又は2に記
載の座標入力制御方法。
3. The coordinate input control method according to claim 1, wherein the editing of the coordinate data includes addition and deletion of the coordinate data.
【請求項4】 座標入力面で指示された座標データを出
力する座標入力制御装置であって、 連続して入力される座標データに基づいて前記座標デー
タに対応する表示位置に、座標入力面より指示されたこ
とを示す記号を表示する表示手段と、 連続する前記座標データの内の少なくとも入力開始点、
入力終了点及び変曲点を検出し、それらの座標値を保持
する保持手段と、 前記座標データの内、前記保持手段に保持されている座
標値以外の点間距離を求め、前記点間距離が所定の長さ
以上であればその点間に座標データを追加し、前記点間
が所定の長さ以下であればその座標データを削除する制
御手段と、 を有することを特徴とする座標入力制御装置。
4. A coordinate input control device for outputting coordinate data designated on a coordinate input surface, wherein the coordinate input control device outputs, based on coordinate data continuously inputted, a display position corresponding to the coordinate data from a coordinate input surface. Display means for displaying a symbol indicating that the instruction has been made; at least an input start point of the continuous coordinate data;
Holding means for detecting an input end point and an inflection point and holding their coordinate values; and obtaining a distance between points other than the coordinate values held in the holding means, among the coordinate data, Control means for adding coordinate data between the points if is equal to or greater than a predetermined length, and deleting the coordinate data if the distance between the points is equal to or less than a predetermined length. Control device.
【請求項5】 座標入力面で指示された座標データを出
力する座標入力制御方法であって、 連続して入力される座標データに基づいて前記座標デー
タに対応する表示位置に、座標入力面より指示されたこ
とを示す記号を表示する表示工程と、 連続する前記座標データの内の少なくとも入力開始点、
入力終了点及び変曲点を検出し、それらの座標値を保持
する保持工程と、 前記座標データの内、前記保持工程で保持された座標値
以外の点間距離を求め、前記点間距離が所定の長さ以上
であればその点間に座標データを追加し、前記点間が所
定の長さ以下であればその座標データを削除する制御工
程と、 を有することを特徴とする座標入力制御方法。
5. A coordinate input control method for outputting coordinate data designated on a coordinate input surface, comprising: a display position corresponding to the coordinate data based on continuously input coordinate data; A display step of displaying a symbol indicating that the instruction has been made; and at least an input start point of the continuous coordinate data,
A holding step of detecting an input end point and an inflection point and holding their coordinate values; and finding a distance between points other than the coordinate values held in the holding step in the coordinate data, A control step of adding coordinate data between the points if the length is longer than a predetermined length, and deleting the coordinate data if the distance between the points is shorter than a predetermined length. Method.
【請求項6】 座標入力面上で指示された座標データを
出力する座標入力制御装置であって、 座標データの入力範囲を指示する指示手段と、 前記指示手段により指示された入力範囲を表示する表示
手段と、 前記指示手段により指示された入力範囲と実際に入力さ
れた座標データの範囲とを比較し、前記入力された座標
データの変倍率を決定する変倍率決定手段と、 前記入力された座標データが前記入力範囲内に収まるよ
うに、当該座標データを前記変倍率決定手段により決定
された変倍率で変倍する変倍手段と、 を有することを特徴とする座標入力制御装置。
6. A coordinate input control device for outputting coordinate data designated on a coordinate input surface, wherein said designation means designates an input range of coordinate data, and an input range designated by said designation means is displayed. a display unit, compared with the range of actual input coordinate data and instructions input range by said indicating means, is the input coordinate
A magnification determining means for determining the magnification ratio data, as the input coordinate data falls within the input range, determined by the magnification determining means the coordinate data
And a scaling means for changing the magnification at the set magnification.
【請求項7】 座標入力面上で指示された座標データを7. Coordinate data designated on a coordinate input surface is
出力する座標入力制御方法であって、A coordinate input control method for outputting, 座標データの入力範囲を指示する指示工程と、An instruction step of instructing an input range of coordinate data; 前記指示工程で指示された入力範囲を表示部に表示するDisplaying the input range specified in the specifying step on a display unit
表示工程と、Display step; 前記指示工程で指示された入力範囲と実際に入力されたThe input range indicated in the instruction step and the actual input
座標データの範囲とを比較し、前記入力された座標デーCompare with the coordinate data range and enter the input coordinate data.
タの変倍率を決定する変倍率決定工程と、A magnification determining step of determining the magnification of the data, 前記入力された座標データが前記入力範囲内に収まるよThe input coordinate data falls within the input range.
うに、当該座標データを前記変倍率決定工程で決定されAs described above, the coordinate data is determined in the magnification determining step.
た変倍率で変倍する変倍工程と、A variable magnification step of varying the magnification at を有することを特徴とする座標入力制御方法。And a coordinate input control method.
JP23235092A 1992-08-31 1992-08-31 Coordinate input control method and device Expired - Fee Related JP3174162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23235092A JP3174162B2 (en) 1992-08-31 1992-08-31 Coordinate input control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23235092A JP3174162B2 (en) 1992-08-31 1992-08-31 Coordinate input control method and device

Publications (2)

Publication Number Publication Date
JPH0683525A JPH0683525A (en) 1994-03-25
JP3174162B2 true JP3174162B2 (en) 2001-06-11

Family

ID=16937837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23235092A Expired - Fee Related JP3174162B2 (en) 1992-08-31 1992-08-31 Coordinate input control method and device

Country Status (1)

Country Link
JP (1) JP3174162B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010022044A (en) * 2009-10-14 2010-01-28 Panasonic Corp Electronic whiteboard system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4686886B2 (en) * 2001-04-06 2011-05-25 ソニー株式会社 Information processing device
JP4659651B2 (en) * 2006-03-13 2011-03-30 三菱電機株式会社 CAD / CAM device, CAD / CAM device program, and CAD / CAM data editing method
JP2009042970A (en) * 2007-08-08 2009-02-26 Dainippon Printing Co Ltd Terminal apparatus, program and electronic pen processing system
JP6606591B2 (en) * 2018-10-19 2019-11-13 シャープ株式会社 Touch panel device and image display method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010022044A (en) * 2009-10-14 2010-01-28 Panasonic Corp Electronic whiteboard system
JP4535205B2 (en) * 2009-10-14 2010-09-01 パナソニック株式会社 Electronic blackboard system

Also Published As

Publication number Publication date
JPH0683525A (en) 1994-03-25

Similar Documents

Publication Publication Date Title
US5600765A (en) Display system capable of accepting user commands by use of voice and gesture inputs
US5568604A (en) Method and system for generating a working window in a computer system
JP3585357B2 (en) Information processing apparatus and method, and recording medium recording information processing program
JPS59119438A (en) Display of current position of locator
JP3007232B2 (en) Drawing processing apparatus and method
JP3174162B2 (en) Coordinate input control method and device
US6448959B1 (en) Desired region specifying system in an image editing apparatus
CN110286827A (en) A kind of element zoom control method, device, equipment and storage medium
JPH0991116A (en) Device and method for processing information
JP3353957B2 (en) Handwritten input display device and method
JP3238065B2 (en) Information processing apparatus and reference pen pressure setting method in information processing apparatus
JPH1027257A (en) Information processor
JP2935336B2 (en) Graphic input / output device
JP2801288B2 (en) Graphic input device
JP3271718B2 (en) Shape input display device and shape input display control method
JP3187137B2 (en) Image processing method and apparatus
JPH04163592A (en) Method of window display
JP2536948B2 (en) Three-point specified circular arc detection method and device
JP2723058B2 (en) Line-symmetric figure input device
CN113986041A (en) Method and system for erasing electronic data based on electronic whiteboard eraser
JPH0128396B2 (en)
JP3072949B2 (en) Document editing system
JP3186175B2 (en) Automatic drafting equipment
JP2817935B2 (en) Graphic processing unit
JPH06202795A (en) Handwritten input information processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010302

LAPS Cancellation because of no payment of annual fees