JPH11134107A - Coordinate correcting method - Google Patents
Coordinate correcting methodInfo
- Publication number
- JPH11134107A JPH11134107A JP30112697A JP30112697A JPH11134107A JP H11134107 A JPH11134107 A JP H11134107A JP 30112697 A JP30112697 A JP 30112697A JP 30112697 A JP30112697 A JP 30112697A JP H11134107 A JPH11134107 A JP H11134107A
- Authority
- JP
- Japan
- Prior art keywords
- coordinate
- coordinates
- abnormal
- data
- work
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 230000002159 abnormal effect Effects 0.000 claims abstract description 44
- 238000001514 detection method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、座標補正方法に関
し、特に座標入力機器における異常座標を予測し、正し
い座標に置き換えることを目的とした座標補正方法に関
する。The present invention relates to a coordinate correction method, and more particularly to a coordinate correction method for predicting abnormal coordinates in a coordinate input device and replacing the coordinates with correct coordinates.
【0002】[0002]
【従来の技術】従来の座標補正方法は、図5に示すよう
に、入力軌跡を座標として取得する入力装置N1と、取
得した座標を計算し異常座標を算出するデータ処理装置
N2と、過去の座標データを蓄積するための記憶装置N
3と、これらを使って算出された座標を出力する出力装
置N4とから構成されている。2. Description of the Related Art As shown in FIG. 5, a conventional coordinate correction method includes an input device N1 for acquiring an input locus as coordinates, a data processing device N2 for calculating acquired coordinates and calculating abnormal coordinates, and Storage device N for storing coordinate data
3 and an output device N4 for outputting the coordinates calculated using these.
【0003】また、データ処理装置N2は、初期データ
を入力装置N1から取得する座標取得手順N20と、記
憶装置N3に対し座標データを書き換えるための履歴デ
ータ更新手順N21、出力装置N4に生成座標を出力す
るための座標出力手順N22、座標データを入力装置N
1から取得する座標取得手順N23と、記憶装置N3に
格納された過去の履歴情報と現在の座標を比較するため
の座標比較手順N24とから構成されている。The data processing device N2 includes a coordinate acquisition procedure N20 for acquiring initial data from the input device N1, a history data update procedure N21 for rewriting the coordinate data in the storage device N3, and a generated coordinate in the output device N4. A coordinate output procedure N22 for outputting the coordinate data to the input device N
1 and a coordinate comparison procedure N24 for comparing current coordinates with past history information stored in the storage device N3.
【0004】さらに、記憶装置N3は、入力装置N1か
ら取得されたデータを格納するための座標記憶部N30
から構成されている。Further, a storage device N3 is provided with a coordinate storage unit N30 for storing data obtained from the input device N1.
It is composed of
【0005】次に、このような従来の座標補正方法の動
作を図面を参照して説明する。Next, the operation of such a conventional coordinate correction method will be described with reference to the drawings.
【0006】従来の座標補正方法の動作は、図6に示す
ように、まず第1に、処理L1で入力装置N1から取得
したX座標を最新X座標ワークXnに、取得したY座標
を最新Y座標ワークYnに格納する。第2に、処理L2
で最新X座標ワークXnを確定X座標ワークXoに、最
新Y座標ワークYnを確定Y座標ワークYoに格納す
る。第3に、処理L3では、出力装置N4に確定X座標
ワークXoと確定Y座標ワークYoの値を出力する。第
4に、処理L4では、新たに入力装置N1からのX座標
を最新X座標ワークXnに、Y座標を最新Y座標ワーク
Ynに格納する。第5に処理L5で、最新X座標ワーク
Xnが先の確定X座標ワークXoに対して、移動量が装
置の最大移動量Rの範囲内であるかを比べる。同じよう
に、最新Y座標ワークYnが先の確定Y座標ワークYo
に対して、移動量が装置の最大移動量Rの範囲内である
かを比べる。この結果が共に最大移動量Rの範囲内であ
る場合、処理L2に戻り、現在の最新座標Xn、Ynを
確定座標Xo、Yoとして格納する。もし、この結果が
最大移動量Rを越えていた場合、処理L3に戻り、現在
の確定座標Xo、Yoを続けて出力装置N4に出力す
る。従って、最新座標Xn、Ynが、確定座標Xo、Y
oの最大移動量Rを越えた位置に発生した場合、その座
標を異常座標として判断し、その代替えとして、現時点
での確定座標Xo、Yoを出力することとなる。As shown in FIG. 6, the operation of the conventional coordinate correcting method is as follows. First, the X coordinate acquired from the input device N1 in the processing L1 is stored in the latest X coordinate work Xn, and the obtained Y coordinate is converted into the latest Y coordinate. It is stored in the coordinate work Yn. Second, processing L2
Then, the latest X coordinate work Xn is stored in the determined X coordinate work Xo, and the latest Y coordinate work Yn is stored in the determined Y coordinate work Yo. Third, in process L3, the values of the confirmed X coordinate work Xo and the confirmed Y coordinate work Yo are output to the output device N4. Fourth, in process L4, the X coordinate from the input device N1 is newly stored in the latest X coordinate work Xn, and the Y coordinate is newly stored in the latest Y coordinate work Yn. Fifth, in process L5, the latest X coordinate work Xn is compared with the previously determined X coordinate work Xo to determine whether the movement amount is within the range of the maximum movement amount R of the apparatus. Similarly, the latest Y coordinate work Yn is replaced with the final determined Y coordinate work Yo.
Is compared with whether the movement amount is within the range of the maximum movement amount R of the apparatus. When both the results are within the range of the maximum movement amount R, the process returns to the processing L2, and the current latest coordinates Xn, Yn are stored as the determined coordinates Xo, Yo. If the result exceeds the maximum movement amount R, the process returns to the processing L3, and the current determined coordinates Xo, Yo are continuously output to the output device N4. Therefore, the latest coordinates Xn, Yn are determined coordinates Xo, Y
If it occurs at a position exceeding the maximum movement amount R of o, the coordinates are determined as abnormal coordinates, and as alternatives, the current confirmed coordinates Xo, Yo are output.
【0007】このように従来の座標補正方法は、入力装
置から取得した入力軌跡の座標が、先の確定座標から現
在の最新座標まで、どの程度移動したかを、X、Y毎に
移動量として検出し、移動量がその入力手法の最大移動
量より大きいかで、現在の軌跡が異常座標かであるかを
判断し、さらにその異常座標を前回の確定座標で置き換
えして座標を出力する方法であった。As described above, according to the conventional coordinate correction method, how much the coordinates of the input trajectory acquired from the input device have moved from the previously determined coordinates to the current latest coordinates is determined as the amount of movement for each of X and Y. A method of detecting and determining whether the movement amount is larger than the maximum movement amount of the input method and determining whether the current trajectory is abnormal coordinates, and further replacing the abnormal coordinates with the previously determined coordinates and outputting the coordinates. Met.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、従来の
座標補正方法は、異常座標の検出のために、最大移動量
を決定しなければならないため、最大移動量が装置の入
力手法、入力装置の種類などにより左右され、かつ利用
者の入力感覚にも影響してくるため、一概に値を決定す
ることが困難でり、また異常座標が検出された際に、異
常座標を前回の確定座標と同じ座標を出力するため、本
来の正しい座標を取得ができない課題があった。However, in the conventional coordinate correction method, the maximum movement amount has to be determined in order to detect abnormal coordinates. Therefore, the maximum movement amount is determined by the input method of the device and the type of input device. And it affects the user's input sensation, making it difficult to determine the value.When an abnormal coordinate is detected, the abnormal coordinate is set to the same as the last confirmed coordinate. Since the coordinates are output, there is a problem that the original correct coordinates cannot be obtained.
【0009】そこで、本発明の目的は、入力手法や入力
装置に依存せずに、異常座標を検出して本来の座標を予
測し、かつ置き換えを行なう座標補正方法を提供する。An object of the present invention is to provide a coordinate correction method for detecting abnormal coordinates, predicting original coordinates, and performing replacement without depending on an input method or an input device.
【0010】[0010]
【課題を解決するための手段】上述の課題を解決するた
めに、本発明の座標補正方法は、連続した移動軌跡を座
標として入力し、過去の座標履歴データとの比較をしな
がら補正計算を行い、この補正した座標データを出力す
る座標補正方法で、蓄積した上記座標データの座標間の
X、Y軸の移動量を計算して全体の移動方向を予測し、
上記座標データの前後の移動量が全体の移動方向に一致
していない場合、突発的に発生する異常な座標と判断
し、この異常と判断された座標の前後のデータから中点
を算出して上記異常な座標と置き換えることにより、正
確な座標を取得することを特徴とする。In order to solve the above-mentioned problems, a coordinate correction method according to the present invention is to input a continuous trajectory as coordinates and to perform correction calculation while comparing with a past coordinate history data. Then, with the coordinate correction method of outputting the corrected coordinate data, the amount of movement of the X and Y axes between the coordinates of the accumulated coordinate data is calculated to predict the entire moving direction,
If the amount of movement before and after the coordinate data does not match the overall movement direction, it is determined that the coordinates are abnormal abnormally occurring suddenly, and the middle point is calculated from the data before and after the coordinates determined to be abnormal. It is characterized in that accurate coordinates are obtained by replacing the abnormal coordinates.
【0011】[0011]
【発明の実施の形態】次に、本発明の一実施の形態によ
る座標補正方法を図面を参照して説明する。Next, a coordinate correcting method according to an embodiment of the present invention will be described with reference to the drawings.
【0012】図1は、本発明の一実施の形態による座標
補正方法の構成図である。FIG. 1 is a configuration diagram of a coordinate correction method according to an embodiment of the present invention.
【0013】図2は、本発明の一実施の形態による座標
補正方法の第1の流れ図である。FIG. 2 is a first flowchart of a coordinate correction method according to an embodiment of the present invention.
【0014】図3は、本発明の一実施の形態による座標
補正方法の第2の流れ図である。FIG. 3 is a second flowchart of the coordinate correction method according to the embodiment of the present invention.
【0015】図4は、本発明の一実施の形態による座標
補正方法の第3の流れ図である。FIG. 4 is a third flowchart of the coordinate correcting method according to the embodiment of the present invention.
【0016】本発明の一実施の形態による座標補正方法
は、図1に示すように、入力軌跡を座標として取得する
入力装置M1と、取得した座標を計算し異常座標を算出
するデータ処理装置M2と、過去の座標データを蓄積す
るための記憶装置M3と、これらを使って算出された座
標を出力する出力装置M4とから構成される。As shown in FIG. 1, a coordinate correction method according to an embodiment of the present invention includes an input device M1 for acquiring an input locus as coordinates, and a data processing device M2 for calculating the acquired coordinates and calculating abnormal coordinates. And a storage device M3 for storing past coordinate data, and an output device M4 for outputting coordinates calculated using the storage device M3.
【0017】また、データ処理装置M2は、入力装置M
1から座標データを取得し初期データを準備する初期デ
ータ取得手順M20と、入力装置M1からの座標データ
から移動量を計算し格納する座標/移動量取得手段M2
1、X軸の移動量に対して異常座標を検出する異常X座
標検出手順M22、古今のX座標データから予測した座
標で異常X座標を置き換える異常X座標置き換え手順M
23.Y軸の移動量に対して異常座標を検出する異常Y
座標検出手順M24、古今のY座標データから予測した
座標で異常Y座標を置き換える異常Y座標置き換え手順
M25、出力装置M4に対して、計算後の座標を出力す
る座標出力手順M26、記憶装置M3に蓄積された座標
データ、移動量データを更新する履歴データ更新手順M
27とから構成されている。The data processing device M2 includes an input device M
1. An initial data acquisition procedure M20 for acquiring coordinate data from the input device 1 and preparing initial data, and a coordinate / movement amount acquisition unit M2 for calculating and storing a movement amount from coordinate data from the input device M1.
1. An abnormal X coordinate detection procedure M22 for detecting abnormal coordinates with respect to the movement amount of the X axis, and an abnormal X coordinate replacement procedure M for replacing the abnormal X coordinates with coordinates predicted from old and current X coordinate data
23. Abnormal Y for detecting abnormal coordinates with respect to Y-axis movement
A coordinate detection procedure M24, an abnormal Y coordinate replacement procedure M25 for replacing the abnormal Y coordinate with the coordinates predicted from the old and current Y coordinate data, a coordinate output procedure M26 for outputting the calculated coordinates to the output device M4, and a storage device M3. History data update procedure M for updating accumulated coordinate data and movement amount data
27.
【0018】さらに、記憶装置M3は、取得したX座
標、Y座標を格納する座標記憶部M32、取得した座標
間の移動量をX移動量、Y移動量ごとに格納する移動量
格納部M31とから構成されている。Further, the storage device M3 includes a coordinate storage unit M32 for storing the acquired X coordinate and Y coordinate, a movement amount storage unit M31 for storing the movement amount between the acquired coordinates for each of the X movement amount and the Y movement amount. It is composed of
【0019】次に、本発明の一実施の形態による座標補
正方法の動作を図面を参照して説明する。Next, the operation of the coordinate correction method according to one embodiment of the present invention will be described with reference to the drawings.
【0020】本発明の一実施の形態による座標補正方法
の動作は、図2乃至図4に示すように、まず第1に、処
理S1、S2、S3、S4で、5つの初期座標データの
取得を行い、それぞれX座標、Y座標ごとに格納する。
処理S1は入力装置M1よりX座標、Y座標を取得し、
これをそれぞれ座標ワークX0、座標ワークY0に格納
する。処理S2も入力装置M1より座標を取得し、これ
をそれぞれ座標ワークX1、座標ワークY1に格納す
る。処理S3も入力装置M1より座標を取得し、これを
それぞれ座標ワークX2、座標ワークY2に格納する。
処理S4も入力装置M1より座標を取得し、各々座標ワ
ークX3、座標ワークY3に格納する。The operation of the coordinate correcting method according to the embodiment of the present invention is as follows. First, as shown in FIGS. 2 to 4, first, in steps S1, S2, S3 and S4, five initial coordinate data are obtained. And store the data for each of the X and Y coordinates.
The process S1 acquires an X coordinate and a Y coordinate from the input device M1,
These are stored in coordinate work X0 and coordinate work Y0, respectively. The process S2 also acquires coordinates from the input device M1, and stores the coordinates in the coordinate work X1 and the coordinate work Y1, respectively. The process S3 also acquires coordinates from the input device M1, and stores the coordinates in the coordinate work X2 and the coordinate work Y2, respectively.
The process S4 also acquires coordinates from the input device M1 and stores them in the coordinate work X3 and the coordinate work Y3, respectively.
【0021】第2に、処理S5、S6、S7で先に取得
した座標の座標間の移動量を計算する。この計算は先の
取得座標から次の取得座標までの差分により求められ
る。処理S5では、先に取得したX0、Y0から次に取
得されたX1、Y1までの移動量を計算し、それぞれX
軸、Y軸ごとに移動量ワーク△X01、移動量ワーク△
Y01に格納する。処理S6も、X1、Y1からX2、
Y2までの移動量をそれぞれ移動量ワーク△X12、移
動量ワーク△Y12に格納する。処理S7も、X2、Y
2からX3、Y3までの移動量をそれぞれ移動量ワーク
△X23、移動量ワーク△Y23に格納する。Second, in steps S5, S6 and S7, the amount of movement between the previously acquired coordinates is calculated. This calculation is obtained from the difference between the previously obtained coordinates and the next obtained coordinates. In processing S5, the movement amounts from the previously acquired X0, Y0 to the next acquired X1, Y1 are calculated, and X
Movement work {X01, movement work} for each axis and Y axis
Store it in Y01. The processing S6 is also performed from X1, Y1 to X2,
The movement amount up to Y2 is stored in the movement amount work # X12 and the movement amount work # Y12, respectively. Processing S7 is also performed in X2, Y
The movement amounts from 2 to X3 and Y3 are stored in a movement amount work # X23 and a movement amount work # Y23, respectively.
【0022】第3に、処理S8で入力装置M1よりX座
標、Y座標を取得し、これを座標ワークX4、座標ワー
クY4に格納する。処理S9は、先に取得したX3、Y
3から次に取得されたX4、Y4までの移動量を計算
し、それぞれX軸、Y軸ごとに移動量ワーク△X34、
移動量ワーク△Y34に格納する。Third, in step S8, an X coordinate and a Y coordinate are obtained from the input device M1 and stored in the coordinate work X4 and the coordinate work Y4. The processing S9 is performed on the previously acquired X3, Y
3 to the next acquired X4 and Y4 are calculated.
It is stored in the moving amount work # Y34.
【0023】第4に、処理S10でX0からX1の移動
量である移動量ワーク△X01と、X3からX4の移動
量である移動量ワーク△X34とが、ともに、正か負の
数かのいずれかになっている場合、ともに座標軌跡がX
軸に対して同方向に移動しているものとして処理S11
に進む。また、共に正負が一致していない場合、座標軌
跡がX軸に対して逆方向に移動しているものとして処理
S14へ進む。Fourth, in the process S10, the moving amount work # X01 which is the moving amount from X0 to X1 and the moving amount work # X34 which is the moving amount from X3 to X4 are both positive or negative numbers. If any of them, the coordinate locus is X
Processing S11 assuming that they are moving in the same direction with respect to the axis
Proceed to. If the signs do not match, the process proceeds to step S14 assuming that the coordinate locus is moving in the opposite direction to the X axis.
【0024】次に、処理S11では、X1からX2の移
動量である移動量ワーク△X12と、X2からX3の移
動量である移動量ワーク△X23とが、正と負の数又
は、負と正の数を持っている場合、X2の両側の移動量
がX軸に対して逆方向に移動しているものとし、この座
標X2を異常座標と予測して、処理S12に進む。ま
た、共に正負が一致している場合、同方向に移動してい
るものとして処理S14へ進み、処理S12では、座標
X2を異常座標と予測して、その前後のX座標データで
ある座標ワークX1と座標ワークX3から、その中点の
X座標を計算し、座標ワークX2に格納し、処理S13
では、処理S12で座標X2を変更してX2を基点に含
む移動量ワーク△X12と移動量ワーク△X23の再計
算を行う。Next, in step S11, a movement amount work # X12, which is a movement amount from X1 to X2, and a movement amount work # X23, which is a movement amount from X2 to X3, are positive and negative numbers or negative numbers. If it has a positive number, it is assumed that the movement amount on both sides of X2 is moving in the opposite direction with respect to the X axis, the coordinates X2 are predicted as abnormal coordinates, and the process proceeds to step S12. If both the signs match, the process proceeds to step S14 assuming that the coordinates X2 are moving in the same direction. In step S12, the coordinates X2 are predicted as abnormal coordinates, and the coordinate work X1 which is the X coordinate data before and after the coordinates X2 is predicted. From the coordinate work X3, the X coordinate of the midpoint is calculated, stored in the coordinate work X2, and the process S13 is performed.
In step S12, the coordinates X2 are changed, and the re-calculation of the moving amount work # X12 and the moving amount work # X23 including X2 as a base point is performed.
【0025】第5に、処理S14でY0からY1の移動
量である移動量ワーク△Y01と、Y3からY4の移動
量である移動量ワーク△Y34とが、ともに、正か負の
数かのいずれかになっている場合、ともに座標軌跡がY
軸に対して同方向に移動しているものとして処理S15
に進む。また、共に正負が一致していない場合、座標軌
跡がY軸に対して逆方向に移動しているものとして処理
S18へ進み、処理S15では、Y1からY2の移動量
である移動量ワーク△Y12と、Y2からY3の移動量
である移動量ワーク△Y23とが、正と負の数又は、負
と正の数を持っている場合、Y2の両側の移動量がY軸
に対して逆方向に移動しているものとし、この座標Y2
を異常座標と予測して、処理S16に進む。また、共に
正負が一致している場合、同方向に移動しているものと
して処理S18へ進み、処理S16では、座標Y2を異
常座標と予測して、その前後のY座標データである座標
ワークY1と座標ワークY3から、その中点のY座標を
計算し、座標ワークY2に格納し、処理S17では、処
理S16で座標Y2を変更したことにより、Y2を基点
に含む、移動量ワーク△Y12と移動量ワーク△Y23
の再計算を行う。Fifth, in step S14, the moving amount work △ Y01 which is the moving amount from Y0 to Y1 and the moving amount work △ Y34 which is the moving amount from Y3 to Y4 are both positive or negative numbers. If either, the coordinate locus is Y
Process S15 assuming that it is moving in the same direction with respect to the axis
Proceed to. If the signs do not match, the process proceeds to step S18 assuming that the coordinate locus is moving in the opposite direction with respect to the Y axis, and in process S15, the moving amount work △ Y12, which is the moving amount from Y1 to Y2. And the moving amount work △ Y23, which is the moving amount from Y2 to Y3, has positive and negative numbers or negative and positive numbers, the moving amounts on both sides of Y2 are opposite to the Y axis. And the coordinate Y2
Is predicted as abnormal coordinates, and the process proceeds to step S16. If both the signs are the same, the process proceeds to step S18 assuming that they are moving in the same direction. In step S16, the coordinate Y2 is predicted as the abnormal coordinate, and the coordinate work Y1 as the Y coordinate data before and after the coordinate Y2. From the coordinate work Y3, the Y coordinate of the middle point is calculated and stored in the coordinate work Y2. In the process S17, the coordinate Y2 is changed in the process S16. Moving amount work Y23
Is recalculated.
【0026】第6に、処理S18で、出力装置M4に、
確定座標として、座標ワークX0と座標ワークY0を出
力し、第7に、処理S19、S20、S21、S22
で、座標ワークの更新を行い、処理S19では、座標ワ
ークX0を座標ワークX1に、座標ワークY0を座標ワ
ークY1に更新して格納する。処理S20では、座標ワ
ークX1を座標ワークX2に、座標ワークY1を座標ワ
ークY2に更新し格納する。処理S21では、座標ワー
クX2を座標ワークX3に、座標ワークY2を座標ワー
クY3に更新し格納する。処理S22では、座標ワーク
X3を座標ワークX4に、座標ワークY3を座標ワーク
Y4に更新し格納する。Sixth, in step S18, the output device M4
The coordinate work X0 and the coordinate work Y0 are output as the fixed coordinates. Seventhly, the processing S19, S20, S21, S22
Then, in step S19, the coordinate work X0 is updated to the coordinate work X1 and the coordinate work Y0 is updated to the coordinate work Y1 and stored in step S19. In step S20, the coordinate work X1 is updated and stored in the coordinate work X2, and the coordinate work Y1 is updated and stored in the coordinate work Y2. In process S21, the coordinate work X2 is updated and stored in the coordinate work X3, and the coordinate work Y2 is updated and stored in the coordinate work Y3. In process S22, the coordinate work X3 is updated and stored in the coordinate work X4, and the coordinate work Y3 is updated and stored in the coordinate work Y4.
【0027】第8に、処理S23、S24、S25で、
移動量ワークの更新を行う。処理S23では、移動量ワ
ーク△X01を移動量ワーク△X12に、移動量ワーク
△Y01を移動量ワーク△Y12に更新し格納する。処
理S24では、移動量ワーク△X12を移動量ワーク△
X23に、移動量ワーク△Y12を移動量ワーク△Y2
3に更新し格納する。処理S25では、移動量ワーク△
X23を移動量ワーク△X34に、移動量ワーク△Y2
3を移動量ワーク△Y34に更新して格納し、その後、
処理S8に進み入力装置M1から新たな座標取得して処
理が続く。Eighth, in steps S23, S24 and S25,
Update the moving amount work. In the process S23, the moving amount work # X01 is updated and stored in the moving amount work # X12, and the moving amount work # Y01 is updated and stored in the moving amount work # Y12. In the process S24, the moving amount work {X12 is moved to the moving amount work}.
In X23, the moving amount work △ Y12 is moved to the moving amount work △ Y2.
Update to 3 and store. In the process S25, the moving amount work
X23 is set to the moving work △ X34, and the moving work △ Y2
3 is updated and stored in the moving amount work No. Y34, and thereafter,
Proceeding to step S8, new coordinates are acquired from the input device M1, and the process continues.
【0028】従って、この方法の概要は、取得した座標
をX軸とY軸に分解し、まず、X軸については、X0、
X1、X2、X3、X4の5つの座標軌跡の方向を移動
量△X01、△X34が同方向である時に軌跡が一定方
向に移動しているものとする。この時、調査座標となる
X2の両側の移動量△X12と△X23が逆方向である
とき、この座標X2を異常座標として判断し、その座標
X2の両側の座標X1、X3の中点を、新たに座標X2
として割り当てる。また、この際、座標X2の変化に伴
い、関連する移動量△X12、△X23の再計算も行わ
れる。同じようにY軸についても、Y0、Y1、Y2、
Y3、Y4の5つの座標軌跡の方向を移動量△Y01、
△Y34が同方向である時に軌跡が一定方向に移動して
いるものとする。この時、調査座標となるY2の両側の
移動量△Y12と△Y23が逆方向であるとき、この座
標Y2を異常座標として判断し、その座標Y2の両側の
座標Y1、Y3の中点を、新たに座標Y2として割り当
てる。また、この際、座標Y2の変化に伴い、関連する
移動量△Y12、△Y23の再計算も行われ、これらの
処理で座標X2、Y2の調査、補正されて処理が実行さ
れる。Therefore, the outline of this method is that the acquired coordinates are decomposed into an X axis and a Y axis.
It is assumed that the trajectory is moving in a certain direction when the movement amounts △ X01 and △ X34 are the same in the directions of the five coordinate trajectories X1, X2, X3 and X4. At this time, when the movement amounts △ X12 and △ X23 on both sides of the survey coordinate X2 are in opposite directions, the coordinate X2 is determined as an abnormal coordinate, and the middle point of the coordinates X1 and X3 on both sides of the coordinate X2 is New coordinate X2
Assign as At this time, the associated movement amounts △ X12 and △ X23 are also recalculated with the change in the coordinate X2. Similarly, for the Y axis, Y0, Y1, Y2,
The directions of the five coordinate trajectories Y3 and Y4 are represented by a moving amount △ Y01,
It is assumed that the trajectory is moving in a certain direction when ΔY34 is in the same direction. At this time, when the movement amounts △ Y12 and △ Y23 on both sides of Y2, which are the survey coordinates, are in the opposite directions, the coordinates Y2 are determined as abnormal coordinates, and the middle point between the coordinates Y1 and Y3 on both sides of the coordinates Y2 is A new coordinate Y2 is assigned. At this time, the associated movement amounts 座標 Y12 and △ Y23 are also recalculated along with the change in the coordinate Y2, and the coordinates X2 and Y2 are checked and corrected in these processes, and the process is executed.
【0029】[0029]
【発明の効果】以上説明した通り、本発明の座標補正方
法によれば、過去の座標履歴から移動量を算出し比較す
ることにより、最大移動量を使用せずに異常座標を検出
でき、かつ異常座標として検出した座標の本来の位置
を、その前後の座標データから生成することにより、よ
り正確な座標に置き換えて出力できる効果がある。As described above, according to the coordinate correction method of the present invention, by calculating and comparing the movement amount from the past coordinate history, it is possible to detect abnormal coordinates without using the maximum movement amount, and By generating the original position of the coordinates detected as the abnormal coordinates from the coordinate data before and after that, there is an effect that the coordinates can be replaced with more accurate coordinates and output.
【図1】本発明の一実施の形態による座標補正方法の構
成図である。FIG. 1 is a configuration diagram of a coordinate correction method according to an embodiment of the present invention.
【図2】本発明の一実施の形態による座標補正方法の第
1の流れ図である。FIG. 2 is a first flowchart of a coordinate correction method according to an embodiment of the present invention.
【図3】本発明の一実施の形態による座標補正方法の第
2の流れ図である。FIG. 3 is a second flowchart of the coordinate correction method according to the embodiment of the present invention;
【図4】本発明の一実施の形態による座標補正方法の第
3の流れ図である。FIG. 4 is a third flowchart of the coordinate correction method according to the embodiment of the present invention;
【図5】従来の座標補正方法の構成図である。FIG. 5 is a configuration diagram of a conventional coordinate correction method.
【図6】従来の座標補正方法の流れ図である。FIG. 6 is a flowchart of a conventional coordinate correction method.
M1 入力装置 M2 データ処理装置 M3 記憶装置 M4 出力装置 M20 初期データ取得手順 M21 座標/移動量取得手段 M22 異常X座標検出手順 M23 異常X座標置き換え手順 M24 異常Y座標検出手順 M25 異常Y座標置き換え手順 M26 座標出力手順 M27 履歴データ更新手順 M31 移動量格納部 M32 座標記憶部 M1 input device M2 data processing device M3 storage device M4 output device M20 initial data acquisition procedure M21 coordinate / movement amount acquisition means M22 abnormal X coordinate detection procedure M23 abnormal X coordinate replacement procedure M24 abnormal Y coordinate detection procedure M25 abnormal Y coordinate replacement procedure M26 Coordinate output procedure M27 History data update procedure M31 Movement amount storage unit M32 Coordinate storage unit
Claims (1)
過去の座標履歴データとの比較をしながら補正計算を行
い、この補正した座標データを出力する座標補正方法
で、蓄積した上記座標データの座標間のX、Y軸の移動
量を計算して全体の移動方向を予測し、上記座標データ
の前後の移動量が全体の移動方向に一致していない場
合、突発的に発生する異常な座標と判断し、この異常と
判断された座標の前後のデータから中点を算出して上記
異常な座標と置き換えることにより、正確な座標を取得
することを特徴とする座標補正方法。1. A continuous movement locus is input as coordinates,
Correction calculation is performed while comparing with the past coordinate history data, and the coordinate correction method of outputting the corrected coordinate data is used to calculate the amount of movement of the accumulated X and Y axes between the coordinates of the coordinate data, thereby obtaining the whole. If the amount of movement before and after the coordinate data does not match the entire movement direction, it is determined that abnormal coordinates occur suddenly, and the data before and after the coordinates determined to be abnormal is predicted. A coordinate correction method comprising: obtaining an accurate coordinate by calculating a middle point from the coordinates and replacing the abnormal coordinate with the abnormal coordinate.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30112697A JPH11134107A (en) | 1997-10-31 | 1997-10-31 | Coordinate correcting method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30112697A JPH11134107A (en) | 1997-10-31 | 1997-10-31 | Coordinate correcting method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11134107A true JPH11134107A (en) | 1999-05-21 |
Family
ID=17893147
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP30112697A Pending JPH11134107A (en) | 1997-10-31 | 1997-10-31 | Coordinate correcting method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11134107A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010122825A1 (en) * | 2009-04-22 | 2010-10-28 | 株式会社東芝 | Mobile terminal |
| JP2013228881A (en) * | 2012-04-25 | 2013-11-07 | Kyocera Corp | Electronic device |
| JP5716019B2 (en) * | 2010-05-21 | 2015-05-13 | レノボ・イノベーションズ・リミテッド(香港) | Touch panel pointing position determining device, touch panel device, electronic device including the same, touch panel pointing position determining method, and computer program storage medium |
| JP2016085518A (en) * | 2014-10-23 | 2016-05-19 | アルパイン株式会社 | Touch panel input device and computer program |
-
1997
- 1997-10-31 JP JP30112697A patent/JPH11134107A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010122825A1 (en) * | 2009-04-22 | 2010-10-28 | 株式会社東芝 | Mobile terminal |
| JP5716019B2 (en) * | 2010-05-21 | 2015-05-13 | レノボ・イノベーションズ・リミテッド(香港) | Touch panel pointing position determining device, touch panel device, electronic device including the same, touch panel pointing position determining method, and computer program storage medium |
| JP2013228881A (en) * | 2012-04-25 | 2013-11-07 | Kyocera Corp | Electronic device |
| JP2016085518A (en) * | 2014-10-23 | 2016-05-19 | アルパイン株式会社 | Touch panel input device and computer program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12517488B2 (en) | Cutting control apparatus, cutting control method, and cutting-control non-transitory computer-readable recording medium | |
| JPH11134107A (en) | Coordinate correcting method | |
| Swornowski | A new concept of continuous measurement and error correction in Coordinate Measuring Technique using a PC | |
| JP2005056231A5 (en) | ||
| JP6176303B2 (en) | Altitude acquisition device, altitude acquisition method, and program | |
| JP2005056231A (en) | Image processing device | |
| JP3333578B2 (en) | Area calculator | |
| JPH07146130A (en) | Control system of three-dimensional position | |
| JP2013191181A (en) | Image matching method, image matching device employing the same and program | |
| JP2000347717A (en) | Scheduling device | |
| JP2002207554A (en) | Character input device and character input method | |
| JP2001356879A (en) | Display device with touch panel | |
| JPS63186329A (en) | Pre-processor for trigonometric function | |
| JP3211236B2 (en) | Automatic knowledge corrector for approximate inference | |
| CN114001737B (en) | Method for generating action path of tool | |
| JP3119269B2 (en) | Coordinate input device and coordinate input method | |
| JP7801948B2 (en) | Energy calculation device and energy calculation method | |
| JPH08101129A (en) | Date character pattern generation device and method | |
| JP2003295916A (en) | Numerical control device with input verification means | |
| JP2012043226A (en) | Touch panel device | |
| JP4099669B2 (en) | Scale character display method, information processing apparatus, and program | |
| JP7151869B2 (en) | IMAGE PROCESSING METHOD, IMAGE PROCESSING APPARATUS, AND PROGRAM | |
| JP3990331B2 (en) | Time correction control circuit, time correction control method, and time correction control program | |
| JPH01243178A (en) | Statistic corrector | |
| JP3399217B2 (en) | Measuring device and measuring method |