JP4029012B2 - Coordinate sequence acquisition method - Google Patents
Coordinate sequence acquisition method Download PDFInfo
- Publication number
- JP4029012B2 JP4029012B2 JP2002181369A JP2002181369A JP4029012B2 JP 4029012 B2 JP4029012 B2 JP 4029012B2 JP 2002181369 A JP2002181369 A JP 2002181369A JP 2002181369 A JP2002181369 A JP 2002181369A JP 4029012 B2 JP4029012 B2 JP 4029012B2
- Authority
- JP
- Japan
- Prior art keywords
- coordinates
- coordinate
- input
- pen
- coordinate sequence
- 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
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、座標列取得方法に関し、特に電子ボード上で描画する入力ペンの座標列を表す情報を取得する方法に関する。
【0002】
【従来の技術】
コンピュータなどの情報処理装置の情報入力装置として用いられるものの一つに電子ボードがある。電子ボードは、情報処理装置の表示画面出力をプロジェクタによってボード(スクリーン)の前面又は背面から投影し、ボード上での入力ペンの指示位置あるいはボード上で入力ペンがなぞった軌跡を座標データとして取り込む機能を有するものである。電子ボードとしては、入力用ペンが電子ボードと結線されていないコードレス方式のものが多く用いられている。コードレスの方式としては、電磁誘導方式、レーザ走査方式、超音波方式、感圧方式などがある。電磁誘導方式は、入力ペンから発生される交流磁界を電子ボードに布線した座標検出用のセンサワイヤ網で受けて入力ペンの位置を検出する方式である。レーザ走査方式は、ボードの表面に沿って平行に走査するレーザビームによって入力ペンの座標を検出する方式である。超音波方式は、入力ペンから超音波パルスを発信し、発信された超音波パルスをボードの周縁部に配置した超音波センサが検知するまでの時間差に基づいて入力ペンの座標を演算する方式である。また、感圧方式は、ボード全面に配置した感圧素子によって入力ペンによる押圧位置を検出する方式である。
【0003】
いずれの方式の電子ボードにおいても、検出信号にノイズが乗ることがある。例えば、赤外線や超音波により入力ペンの座標を検出する方式の電子ボードでは、太陽光や室内蛍光灯からの光線、環境音などの影響を受け、入力ペンの座標として不正な座標を情報処理装置に渡すことがある。入力ペンの位置として誤った座標が情報処理装置に渡されると、例えば直線を描いているのにジグザグの線になるなど、入力中の文字や図形が意図したものと異なって表示されることになる。無効な座標を判断する方法として、特開平10-11208号公報には、次に入力される座標を予測して、そこから実際に入力された座標が誤差の範囲外の場合は排除する方法が記載されている。
【0004】
【発明が解決しようとする課題】
入力座標が予測範囲外の場合、その座標を無効として排除する従来の方法では、一定時間ごとに入力があることを想定したハードウェアやソフトウェアを接続したときに問題が生じる可能性がある。また、入力座標列の一部が欠如することによって、入力ペンの軌跡が不自然な変形を受ける場合がある。
【0005】
本発明は、このような従来技術の問題点に鑑み、ノイズの影響を受けにくい電子ボードを提供することを目的とする。
【0006】
【課題を解決するための手段】
本発明においては、ノイズと判断される座標が検出された場合には、そのタイミングの出力を排除するのではなく、予測した座標を出力することによって前記目的を達成する。例えば、コンピュータ上のソフトウェアが電子ボードの座標検出装置から座標を受け取るときに、その座標とは別に直前までのペン座標の軌跡から現在の座標を推測する。そして、その推測座標と実際に座標検出装置から受け取った座標との距離が閾値以上の場合には受け取った座標を無効な座標と判断し、代わりに推測した値を出力する。閾値をペンの移動距離に合わせて動的に変更することで、より精度の高い補正を行うことができる。本発明によると、見かけ上は座標が欠けたようには見えず、座標点が滑らかに繋がった自然な形で座標入力を行うことが出来る。
【0007】
本発明のボード上における入力ペンの移動軌跡を表す座標列を取得する方法は、入力ペンの座標を検出する座標検出装置から所定のタイミングで入力ペンの座標を受信するステップと、現在の座標列を用いて次のタイミングにおける座標を推測するステップと、前記次のタイミングで座標検出装置から受信した座標と前記推測した座標との間の距離を計算するステップと、前記距離が閾値より小さいときは受信した座標を現在の座標列に追加し、前記距離が閾値以上のときは前記推測した座標を現在の座標列に追加するステップとを含むことを特徴とする。
【0008】
推測座標は、現在の座標列中の直近の過去3点の座標を通る円上に設定することができる。その場合、閾値は、現在の座標列中の直近の過去2点の座標間の移動速度及び前記円の中心と直近の過去2点の座標とをそれぞれ結ぶ2つの線分がなす角度に応じて動的に変化させるのが好ましい。
【0009】
本発明のボード上における入力ペンの移動軌跡を表す座標列を取得する方法は、また、入力ペンの座標を検出する座標検出装置から所定のタイミングで入力ペンの座標を受信するステップと、現在の座標列中の直近の過去3点の座標を通る円を求めるステップと、前記円の中心と直近の過去2点の座標とをそれぞれ結ぶ2つの線分がなす角度を求めるステップと、前記角度が予め定めた設定値以上の場合、現在の座標列中の直近の過去2点の座標間の移動速度と直近の過去の座標と受信した座標間の移動速度の変化率が設定値以下であれば受信した座標を現在の座標列に追加し、前記変化率が設定値より大きければ受信した座標を廃棄することを特徴とする。
【0010】
本発明のボード上における入力ペンの移動軌跡を表す座標列を取得する方法は、また、入力ペンの座標を検出する座標検出装置から所定のタイミングで入力ペンの座標を受信するステップと、現在の座標列中の直近の過去3点の座標を通る円を求めるステップと、前記円の中心と直近の過去2点の座標とをそれぞれ結ぶ2つの線分がなす角度を求めるステップと、前記角度が予め定めた設定値以上の場合、現在の座標列中の直近の過去2点の座標間の移動速度と直近の過去の座標と受信した座標間の移動速度の変化率が設定値以下であれば受信した座標を現在の座標列に追加し、前記変化率が設定値より大きければ受信した座標を廃棄するステップと、前記角度が予め定めた設定値より小さい場合、前記円上に次のタイミングにおける座標を推測するステップと、前記次のタイミングで座標検出装置から受信した座標と前記推測した座標との間の距離を計算するステップと、前記距離が、現在の座標列中の直近の過去2点の座標間の移動速度及び前記円の中心と前記直近の過去2点の座標とをそれぞれ結ぶ2つの線分がなす角度に依存して求められる閾値より小さいときは受信した座標を現在の座標列に追加し、前記距離が閾値以上のときは前記推測した座標を現在の座標列に追加するステップとを含むことを特徴とする。
【0011】
【発明の実施の形態】
以下、本発明を実施する場合の一形態を図面を参照して具体的に説明する。
【0012】
図1は、電子ボードの一般的な構成例を示す概念図である。ボード11には、コンピュータ14の表示画面がプロジェクタによる投影等によって表示されている。ユーザは、ボード11上に表示された画面上で入力ペン12を操作して文字や図形を描く。ボード11に固定された座標検出装置13は、入力ペン12の位置すなわちボード11上における入力ペン12の座標を定められたタイミングで断続的に検出し、それをコンピュータ14に伝達する。コンピュータ14は、座標検出装置13から送られてきた入力ペン12の座標列データに基づいて、ボード11上での入力ペン12の軌跡を作成し、それをプロジェクタ等によって電子ボード11上に投影する。従って、入力ペン12を用いてボード11に表示されている画像上に書き込みを行うと、あたかもボード11に実際に書き込みが行われているかのように、入力ペン12のなぞった通りの軌跡が表示される。
【0013】
図2は、入力ペンの座標検出方法の一例として、赤外線と超音波を利用した座標検出方法を説明する図である。本例の場合、図2(a)に示すように、入力ペン12は赤外線24と超音波25を発生することができ、座標検出装置13は赤外線受信部21と超音波受信部22,23を備える。入力ペン12のペン先がボード11に接すると、ペン先から赤外線24と超音波25が断続的かつ同時に出力される。図2(b)に示すように、赤外線受信部21はペン先から出力があるとほぼ同時に赤外線24を受信する。その後遅れて、図2(c)に示すように、2つの超音波受信部22,23がそれぞれ超音波25を受信する。従って、図2(d)に示すように、赤外線を受信してから超音波を受信するまでの時間差から、各超音波受信部22,23から入力ペン12までの距離a,bを算出することができ、各超音波受信部22,23を中心とした半径aおよびbの円の交点を求めることにより、入力ペン12の座標を検出することができる。
【0014】
図3は、本発明によって座標の補正を行うためのアルゴリズムを示すフローチャートである。
電子ペンがボードに押し付けられると処理が開始される(ステップ11)。まず、ペン座標を座標検出装置から取得する(ステップ12)。ペン座標の軌跡が次の座標を推測する数だけない場合は、ステップ13からステップ19に進み、座標の推測と不正な座標かどうかの判断はしないで、入力された座標をそのまま出力する。次のペン座標を推測するのに十分な軌跡がある場合には、ステップ13からステップ14に進み、直前までのペンの軌跡から、次に入力されるであろう座標を推測する。
【0015】
ここで、次に入力される座標の推測方法の詳細について、図4の説明図及び図5のフローチャートを参照して説明する。
【0016】
図4において、座標P1,P2,P3は直近の過去3点の入力座標である。t1,t2,t3はそれぞれの入力座標をサンプリングした時刻、t4は現在の時刻である。この直前の3点の座標P1,P2,P3から、現在のペン座標P4を推測する。推測は、座標P4が、座標P1,P2,P3を通る円上にあるとの仮定に基づいて行われる。
【0017】
まず、3点の座標P1,P2,P3から、その3点を通る円の方程式を求める(ステップ31)。次に、求めた方程式から円の中心Oの座標と半径rを計算する(ステップ32)。中心Oの座標がわかったら、中心Oと直前の2点の座標P2,P3を結ぶ線分のなす角αを求める(ステップ33)。次に、直前の点P3と中心Oを結ぶ線分と中心Oと現在の推測座標P4を結んだ線分との推測角度βをβ=α・(t4−t3)/(t3−t2)として求める(ステップ34)。角度βが求まったら、直前の座標P3を中心0の周りに角度βだけ回転させた点を推測点とする(ステップ35)。
【0018】
図3に戻り、次に、入力ペンの軌跡から推測した座標と実際に座標検出装置から入力された座標との距離を求める(ステップ15)。次に、判定のための閾値を入力ペンの速さと直前の座標との角度を用いて設定する(ステップ16)。閾値は直前の入力ペンの移動速度に応じて動的に変化させる。すなわち、入力ペンの動きが速い場合には閾値を大きく設定し、入力ペンの動きがゆっくりしている場合には閾値を小さく設定する。また、閾値は図4に示した直前の移動角度αによっても動的に変化させる。角度αが大きい場合には閾値を大きく設定し、角度αが小さい場合は閾値を小さく設定する。閾値wは、例えば次式(1)に基づいて設定することができる。ここで、vはペンの移動速度であり、v=(P3−P2)/(t3−t2)から計算される。また、k1,k2は定数である。
w=k1・v+k2・α …(1)
【0019】
ステップ17の判定において、角度αが予め定めた一定値より小さい場合は、ステップ18に進み、推測座標と入力座標の距離に基づいて不正な座標の判別を行う。ステップ18の判定において、ペンの軌跡から推測した座標と実際に座標検出装置13から入力された座標との距離が閾値w以下の場合は、座標検出装置から入力された座標を出力して(ステップ19)、その座標をペンの軌跡に追加する(ステップ20)。座標間の距離が閾値wよりも大きい場合には、実際に座標検出装置から入力された座標を不正な座標と判断し、その座標は無視して推測した座標を出力し(ステップ21)、その座標をペンの軌跡に追加する(ステップ22)。
【0020】
図6は、推測座標と入力座標との距離に基づいて不正な座標を判別する方法の説明図である。図6(a)は入力座標を正常な座標と判別する場合の模式図、図6(b)は入力座標を不正な座標と判別する場合の模式図である。
【0021】
図6中の符号の意味は、図4と同じである。新しく入力された座標はPである。図6(a)の場合、直前に入力された3点の座標P1,P2,P3から推測される時刻t4における座標P4と実際に入力された座標Pとの距離が上式(1)で計算される閾値wより小さいため、入力された座標Pを正常な座標と判別する。一方、図6(b)の場合には、入力された座標Pと推測座標P4との間の距離が上式(1)で計算される閾値w以上であるため、入力座標Pをノイズによる不正な座標と判別し、時刻t4の座標として座標Pではなく推測座標P4を採用する。
【0022】
図3に戻り、ステップ17の判定において、角度αが予め定めた一定値以上の場合には、ステップ17からステップ25に進み、軌跡が円上にあるという推測から不正な座標を判定するのではなく、不正な座標の判別方法をペンの速度の変化率を利用したものにする。ステップ25の判定では、2つ前のサンプリングタイミングの座標P2から直前のサンプリングタイミングの座標P3に至るペン速度をv1、座標P3から新しく入力された座標Pに至るペン速度をv2とするとき、kを定数として、|v2|≦k・|v1|であれば、入力座標Pを正常な座標と判断する。一方、|v2|>k・|v1|の時はペン速度の変化が急激すぎるので、入力座標Pはノイズに基づく不正な座標と判断する。ステップ25の判定で、入力座標が正常と判定されればステップ26に進んで、その座標を出力し、不正な座標と判定されれば入力座標を排除する。入力座標を単に排除するのは望ましくなく、通常は排除する入力座標の代わりに推測座標を用いることで問題を解決するが、どうしても推測が困難な場合にのみ速度変化率による判定をした上で座標を排除し、問題を最小限に抑える。また、排除された入力座標の次のタイミングにおける入力座標の不正判断は、入力済みの正常な座標の中から新しい座標を用いて行う。
【0023】
図7は、ペン速度の変化率に基づいて不正な座標を判別する方法の説明図である。図7(a)は入力座標を正常な座標と判別する場合の模式図、図7(b)は入力座標を不正な座標と判別する場合の模式図である。図7中の符号の意味は、図4及び図6と同じである。新しく入力された座標はPである。図7(a)の場合、ペン速度v1,v2の関係が|v2|≦k・|v1|を満たし、座標Pは正常な座標と判断される。一方、図7(b)の場合には、ペン速度v1,v2の関係が|v2|>k・|v1|であるため、座標Pは不正な座標と判断される。
【0024】
再び図3に戻り、ペンアップが行われるまでは、ステップ23からステップ12に戻り、再度ペンの座標を座標検出装置から入力する。ペンアップが行われた場合には、ステップ23からステップ24に進み、保持していたペン座標の軌跡をクリアする。
【0025】
図8は、ペン座標の補正を行うモジュール構成図である。座標検出装置からの座標は入力モジュール31に入力され、入力モジュール31からの入力座標はペン飛び判別モジュール32に入力される。ペン飛び判別モジュール32は座標推測モジュール33からの推測座標とシステムクロック34からの現在の時刻をもとに出力する座標を決定し、出力モジュール36に座標を出力する。出力モジュール36は、アプリケーションに座標を渡したり、マウスイベントを発行する。座標推測モジュール33は、ペン飛び判定モジュール32からの入力座標と時刻と軌跡データ35から次座標を推測し、推測した座標をペン飛び判定モジュール32に渡す。
【0026】
これまで、ペン座標補正のための装置はコンピュータ14の側にあるとして説明してきた。しかし、ペン座標補正装置は、座標検出装置13の次段の処理部として電子ボード側に設置することもできる。
【0027】
また、図3に示したフローチャートにおいて、ステップ17の判定はステップ14の次に行ってもよい。その場合、ステップ14では角度αのみを求める処理を行い、ステップ17の判定で角度が予め定めた一定値より小さいときに、ステップ15に進む前に次の座標を推測する処理を行うようにしてもよい。ステップ16の閾値を設定する処理は、ステップ14とステップ18の間であればどこで行ってもよい。ここでは、閾値wは数式の演算によって求める例を示したが、ペンの速さと角度を縦軸と横軸としたテーブルの形で保持していてもよい。このように、本明細書及び図面における開示から種々の変形が可能であるが、それらはいずれも本発明の範囲に属する。
【0028】
【発明の効果】
以上説明したように、本発明によれば、座標検出装置から不正な座標が入力された場合に、その座標を補正することで、不正な座標を含まない、座標列を得ることができる。
【図面の簡単な説明】
【図1】電子ボードの一般的な構成例を示す概念図。
【図2】赤外線と超音波を利用した座標検出方法の説明図。
【図3】本発明によって座標の補正を行うためのアルゴリズムを示すフローチャート。
【図4】入力座標の推測方法の説明図。
【図5】座標の推測手順を示すフローチャート。
【図6】推測座標と入力座標との距離に基づいて不正な座標を判別する方法の説明図。
【図7】ペン速度の変化率に基づいて不正な座標を判別する方法の説明図。
【図8】ペン座標の補正を行うモジュール構成図。
【符号の説明】
11…ボード、12…入力ペン、13…座標検出装置、14…コンピュータ、21…赤外線受信部、22,23…超音波受信部、24…赤外線、25…超音波[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a coordinate sequence acquisition method, and more particularly to a method for acquiring information representing a coordinate sequence of an input pen to be drawn on an electronic board.
[0002]
[Prior art]
An electronic board is used as one of information input devices for information processing devices such as computers. The electronic board projects the display screen output of the information processing apparatus from the front or the back of the board (screen) by a projector, and takes in the designated position of the input pen on the board or the trace traced by the input pen on the board as coordinate data. It has a function. As the electronic board, a cordless type in which the input pen is not connected to the electronic board is often used. Examples of the cordless method include an electromagnetic induction method, a laser scanning method, an ultrasonic method, and a pressure sensitive method. The electromagnetic induction method is a method of detecting the position of the input pen by receiving an AC magnetic field generated from the input pen with a sensor wire network for coordinate detection arranged on an electronic board. The laser scanning method is a method in which the coordinates of the input pen are detected by a laser beam that is scanned in parallel along the surface of the board. The ultrasonic method is a method of calculating the coordinates of the input pen based on the time difference until the ultrasonic pulse transmitted from the input pen is detected by the ultrasonic sensor arranged on the peripheral edge of the board. is there. In addition, the pressure-sensitive method is a method of detecting the pressing position by the input pen by using a pressure-sensitive element arranged on the entire surface of the board.
[0003]
In any type of electronic board, noise may be added to the detection signal. For example, an electronic board that detects the coordinates of an input pen using infrared rays or ultrasonic waves is affected by sunlight, light from indoor fluorescent lights, environmental sound, etc. May be passed to. If an incorrect coordinate is passed to the information processing device as the position of the input pen, the character or figure being input may be displayed differently from the intended one, such as a zigzag line even though a straight line is drawn. Become. As a method for determining an invalid coordinate, Japanese Patent Laid-Open No. 10-11208 discloses a method for predicting a next input coordinate and eliminating it when the actually input coordinate is out of the error range. Are listed.
[0004]
[Problems to be solved by the invention]
When the input coordinates are out of the prediction range, the conventional method of eliminating the coordinates as invalid may cause a problem when connecting hardware or software assuming that there is an input at regular intervals. Further, the absence of a part of the input coordinate sequence may cause the input pen trajectory to undergo unnatural deformation.
[0005]
An object of the present invention is to provide an electronic board that is less susceptible to noise in view of the problems of the prior art.
[0006]
[Means for Solving the Problems]
In the present invention, when a coordinate determined to be noise is detected, the above object is achieved by outputting the predicted coordinate, rather than eliminating the output of the timing. For example, when the software on the computer receives the coordinates from the coordinate detection device of the electronic board, the current coordinates are inferred from the trajectory of the previous pen coordinates separately from the coordinates. If the distance between the estimated coordinate and the coordinate actually received from the coordinate detection apparatus is equal to or greater than the threshold value, the received coordinate is determined as an invalid coordinate, and the estimated value is output instead. By changing the threshold value dynamically according to the movement distance of the pen, more accurate correction can be performed. According to the present invention, it is possible to input coordinates in a natural form in which the coordinates do not appear to be missing and the coordinate points are smoothly connected.
[0007]
According to the present invention, a method for obtaining a coordinate sequence representing a movement locus of an input pen on a board includes a step of receiving the coordinates of the input pen at a predetermined timing from a coordinate detection device that detects the coordinates of the input pen, and a current coordinate sequence. The step of estimating the coordinates at the next timing using the step, the step of calculating the distance between the coordinates received from the coordinate detection device at the next timing and the estimated coordinates, and when the distance is smaller than a threshold Adding the received coordinates to the current coordinate sequence, and adding the estimated coordinates to the current coordinate sequence when the distance is greater than or equal to a threshold value.
[0008]
The estimated coordinates can be set on a circle passing through the coordinates of the three most recent points in the current coordinate sequence. In this case, the threshold value depends on the moving speed between the coordinates of the two most recent past points in the current coordinate sequence and the angle formed by the two line segments connecting the center of the circle and the coordinates of the two most recent past points. It is preferable to change it dynamically.
[0009]
The method for obtaining a coordinate string representing the movement trajectory of the input pen on the board of the present invention also includes a step of receiving the input pen coordinate at a predetermined timing from a coordinate detection device for detecting the input pen coordinate, A step of obtaining a circle passing through the coordinates of the last three points in the coordinate sequence, a step of obtaining an angle formed by two line segments respectively connecting the center of the circle and the coordinates of the two past points, and the angle If it is greater than or equal to a preset value, if the rate of movement between the two most recent coordinates in the current coordinate sequence and the rate of change in the rate of movement between the most recent past and received coordinates are less than or equal to the set value The received coordinates are added to the current coordinate sequence, and if the rate of change is greater than a set value, the received coordinates are discarded.
[0010]
The method for obtaining a coordinate string representing the movement trajectory of the input pen on the board of the present invention also includes a step of receiving the input pen coordinate at a predetermined timing from a coordinate detection device for detecting the input pen coordinate, A step of obtaining a circle passing through the coordinates of the last three points in the coordinate sequence, a step of obtaining an angle formed by two line segments respectively connecting the center of the circle and the coordinates of the two past points, and the angle If it is greater than or equal to a preset value, if the rate of movement between the two most recent coordinates in the current coordinate sequence and the rate of change in the rate of movement between the most recent past and received coordinates are less than or equal to the set value Adding the received coordinates to the current coordinate sequence and discarding the received coordinates if the rate of change is greater than a set value; and if the angle is less than a predetermined set value, on the circle at the next timing Coordinates A step of measuring, a step of calculating a distance between the coordinate received from the coordinate detection device at the next timing and the estimated coordinate, and the distance is the coordinates of the last two points in the current coordinate sequence The received coordinates are added to the current coordinate sequence when the speed is less than the threshold determined depending on the moving speed and the angle formed by the two line segments connecting the center of the circle and the coordinates of the last two points. And adding the estimated coordinates to the current coordinate sequence when the distance is greater than or equal to a threshold value.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment for carrying out the present invention will be specifically described with reference to the drawings.
[0012]
FIG. 1 is a conceptual diagram illustrating a general configuration example of an electronic board. On the
[0013]
FIG. 2 is a diagram illustrating a coordinate detection method using infrared rays and ultrasonic waves as an example of a coordinate detection method for an input pen. In the case of this example, as shown in FIG. 2A, the
[0014]
FIG. 3 is a flowchart illustrating an algorithm for correcting coordinates according to the present invention.
When the electronic pen is pressed against the board, the process is started (step 11). First, pen coordinates are acquired from the coordinate detection device (step 12). If there are not as many pen coordinate trajectories as the number of next coordinates to be estimated, the process proceeds from
[0015]
Here, the details of the method of estimating the coordinates to be input next will be described with reference to the explanatory diagram of FIG. 4 and the flowchart of FIG.
[0016]
In FIG. 4, coordinates P1, P2, and P3 are the input coordinates of the three most recent past points. t 1 , t 2 , and t 3 are times when the input coordinates are sampled, and t 4 is the current time. The current pen coordinate P 4 is estimated from the coordinates P 1 , P 2 , and P 3 of the three immediately preceding points. The guess is made based on the assumption that the coordinate P 4 is on a circle passing through the coordinates P 1 , P 2 , P 3 .
[0017]
First, an equation of a circle passing through the three points P 1 , P 2 , P 3 is obtained (step 31). Next, the coordinates of the center O of the circle and the radius r are calculated from the obtained equation (step 32). If the coordinates of the center O are known, an angle α formed by a line segment connecting the center O and the two previous coordinates P 2 and P 3 is obtained (step 33). Next, the estimated angle β between the line segment connecting the previous point P 3 and the center O and the line segment connecting the center O and the current estimated coordinate P 4 is β = α · (t 4 −t 3 ) / (t 3− t 2 ) (step 34). When the angle β is obtained, a point obtained by rotating the immediately preceding coordinate P 3 around the center 0 by the angle β is set as an estimated point (step 35).
[0018]
Returning to FIG. 3, the distance between the coordinates estimated from the locus of the input pen and the coordinates actually input from the coordinate detection device is obtained (step 15). Next, a threshold value for determination is set using the angle between the speed of the input pen and the previous coordinate (step 16). The threshold value is dynamically changed according to the movement speed of the input pen immediately before. That is, when the input pen moves fast, the threshold is set large, and when the input pen moves slowly, the threshold is set small. The threshold value is also dynamically changed by the immediately preceding movement angle α shown in FIG. When the angle α is large, the threshold value is set large, and when the angle α is small, the threshold value is set small. The threshold value w can be set based on the following equation (1), for example. Here, v is the moving speed of the pen, and is calculated from v = (P 3 −P 2 ) / (t 3 −t 2 ). K 1 and k 2 are constants.
w = k 1 · v + k 2 · α (1)
[0019]
If it is determined in step 17 that the angle α is smaller than a predetermined value, the process proceeds to step 18 where an illegal coordinate is determined based on the distance between the estimated coordinate and the input coordinate. If the distance between the coordinates estimated from the pen trajectory and the coordinates actually input from the coordinate
[0020]
FIG. 6 is an explanatory diagram of a method for discriminating illegal coordinates based on the distance between the estimated coordinates and the input coordinates. FIG. 6A is a schematic diagram when the input coordinates are determined as normal coordinates, and FIG. 6B is a schematic diagram when the input coordinates are determined as incorrect coordinates.
[0021]
The meanings of the symbols in FIG. 6 are the same as those in FIG. The newly input coordinate is P. In the case of FIG. 6A, the distance between the coordinate P 4 estimated at the time t 4 estimated from the three coordinates P 1 , P 2 and P 3 inputted immediately before and the actually inputted coordinate P is given by the above equation. Since it is smaller than the threshold value w calculated in (1), the input coordinate P is determined as a normal coordinate. On the other hand, in the case of FIG. 6B, the distance between the input coordinate P and the estimated coordinate P 4 is equal to or greater than the threshold value w calculated by the above equation (1). It is determined that the coordinates are illegal, and the estimated coordinate P 4 is adopted instead of the coordinate P as the coordinate at time t 4 .
[0022]
Returning to FIG. 3, if the angle α is greater than or equal to a predetermined value in the determination in step 17, the process proceeds from step 17 to step 25, and it is not possible to determine an incorrect coordinate from the assumption that the locus is on a circle. Instead, a method for discriminating illegal coordinates is based on the rate of change in pen speed. The determination in
[0023]
FIG. 7 is an explanatory diagram of a method for discriminating illegal coordinates based on the change rate of the pen speed. FIG. 7A is a schematic diagram when the input coordinates are determined as normal coordinates, and FIG. 7B is a schematic diagram when the input coordinates are determined as incorrect coordinates. The meanings of the symbols in FIG. 7 are the same as those in FIGS. The newly input coordinate is P. In the case of FIG. 7A, the relationship between the pen velocities v 1 and v 2 satisfies | v 2 | ≦ k · | v 1 |, and the coordinate P is determined as a normal coordinate. On the other hand, in the case of FIG. 7B, since the relationship between the pen speeds v 1 and v 2 is | v 2 |> k · | v 1 |, the coordinate P is determined to be an illegal coordinate.
[0024]
Returning to FIG. 3 again, the process returns from
[0025]
FIG. 8 is a module configuration diagram for correcting the pen coordinates. Coordinates from the coordinate detection device are input to the
[0026]
So far, the device for correcting pen coordinates has been described as being on the
[0027]
In the flowchart shown in FIG. 3, the determination in step 17 may be performed after
[0028]
【The invention's effect】
As described above, according to the present invention, when an incorrect coordinate is input from the coordinate detection device, a coordinate string that does not include the incorrect coordinate can be obtained by correcting the coordinate.
[Brief description of the drawings]
FIG. 1 is a conceptual diagram illustrating a general configuration example of an electronic board.
FIG. 2 is an explanatory diagram of a coordinate detection method using infrared rays and ultrasonic waves.
FIG. 3 is a flowchart showing an algorithm for correcting coordinates according to the present invention.
FIG. 4 is an explanatory diagram of a method for estimating input coordinates.
FIG. 5 is a flowchart showing a coordinate estimation procedure;
FIG. 6 is an explanatory diagram of a method for discriminating illegal coordinates based on the distance between estimated coordinates and input coordinates.
FIG. 7 is an explanatory diagram of a method for discriminating illegal coordinates based on a change rate of a pen speed.
FIG. 8 is a module configuration diagram for correcting pen coordinates.
[Explanation of symbols]
DESCRIPTION OF
Claims (1)
前記コンピュータは、
前記入力ペンの座標を検出する座標検出装置から所定のタイミングで前記入力ペンの座標を受信するステップ、
現在の座標列を用いて次のタイミングにおける座標を推測するステップ、
前記次のタイミングで前記座標検出装置から受信した座標と前記推測した座標との間の距離を計算するステップ、
前記距離が閾値より小さいときは前記受信した座標を前記現在の座標列に追加し、前記距離が閾値以上のときは前記推測した座標を前記現在の座標列に追加するステップ、を実行するに際し、
前記コンピュータは、前記推測した座標を、前記現在の座標列中の直近の過去3点の座標を通る円上に設定し、前記閾値を、前記現在の座標列中の直近の過去2点の座標間の移動速度及び前記円の中心と前記直近の過去2点の座標とをそれぞれ結ぶ2つの線分がなす角度に応じて動的に変化させることを特徴とする座標列取得方法。In a method for obtaining a coordinate sequence representing a movement locus of an input pen on a board by a computer,
The computer
Receiving the coordinates of the input pen at a predetermined timing from a coordinate detection device for detecting the coordinates of the input pen;
Inferring coordinates at the next timing using the current coordinate sequence;
Calculating a distance between the coordinates received from the coordinate detection device at the next timing and the estimated coordinates;
When the distance is smaller than a threshold, the received coordinates are added to the current coordinate sequence, and when the distance is greater than or equal to the threshold, the estimated coordinates are added to the current coordinate sequence .
The computer sets the estimated coordinates on a circle passing through the coordinates of the three most recent past points in the current coordinate sequence, and sets the threshold as the coordinates of the two most recent past points in the current coordinate sequence. A coordinate sequence acquisition method characterized by dynamically changing in accordance with a moving speed between them and an angle formed by two line segments respectively connecting the center of the circle and the coordinates of the two most recent past points .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002181369A JP4029012B2 (en) | 2002-06-21 | 2002-06-21 | Coordinate sequence acquisition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002181369A JP4029012B2 (en) | 2002-06-21 | 2002-06-21 | Coordinate sequence acquisition method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2004029918A JP2004029918A (en) | 2004-01-29 |
JP2004029918A5 JP2004029918A5 (en) | 2005-07-28 |
JP4029012B2 true JP4029012B2 (en) | 2008-01-09 |
Family
ID=31178228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002181369A Expired - Fee Related JP4029012B2 (en) | 2002-06-21 | 2002-06-21 | Coordinate sequence acquisition method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4029012B2 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006072631A (en) | 2004-09-01 | 2006-03-16 | Sharp Corp | Coordinate input device |
JP4552685B2 (en) * | 2005-02-22 | 2010-09-29 | カシオ計算機株式会社 | Coordinate detection apparatus and coordinate detection method |
JP4926426B2 (en) | 2005-08-12 | 2012-05-09 | 株式会社半導体エネルギー研究所 | Electronics |
JP4632257B2 (en) * | 2006-06-07 | 2011-02-16 | 株式会社日立ソリューションズ | Electronic board system |
JP4046753B2 (en) * | 2006-06-22 | 2008-02-13 | 株式会社コナミデジタルエンタテインメント | Line shape processing apparatus, line shape processing method, and program |
JP4832217B2 (en) * | 2006-08-28 | 2011-12-07 | 三洋電機株式会社 | Pointer display control device |
JP5091591B2 (en) | 2007-08-30 | 2012-12-05 | 株式会社東芝 | Information processing apparatus, program, and information processing method |
JP6176907B2 (en) * | 2012-09-13 | 2017-08-09 | キヤノン株式会社 | Information processing apparatus, control method therefor, and program |
US20150338960A1 (en) * | 2013-01-09 | 2015-11-26 | Sharp Kabushiki Kaisha | Touch panel system |
WO2014141763A1 (en) * | 2013-03-15 | 2014-09-18 | シャープ株式会社 | Touch panel system |
-
2002
- 2002-06-21 JP JP2002181369A patent/JP4029012B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004029918A (en) | 2004-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2470981B1 (en) | Acoustic motion determination | |
US9024876B2 (en) | Absolute and relative positioning sensor fusion in an interactive display system | |
US8588467B2 (en) | Apparatus and method for detecting hands of subject in real time | |
US8224619B2 (en) | Gesture recognition apparatus, gesture recognition method and program | |
US6944557B2 (en) | Ultrasonic length measuring apparatus and method for coordinate input | |
US8305344B2 (en) | Projector and projector accessory | |
US8952906B2 (en) | Apparatus and method for inputting writing information according to writing pattern | |
JP4029012B2 (en) | Coordinate sequence acquisition method | |
JP2000222110A (en) | Coordinate input device | |
US8982050B2 (en) | Motion compensation in an interactive display system | |
JP2010237872A (en) | Device, method and program for detecting person area | |
Mulder et al. | An affordable optical head tracking system for desktop VR/AR systems | |
WO2008097024A1 (en) | Method and apparatus for inputting handwriting and input system using the same | |
US7750894B2 (en) | Coordinates input system, coordinates input method, coordinates input program, and computer-readable storage medium | |
US20060195800A1 (en) | Apparatus for displaying screen and recording medium recording a program thereof | |
KR20130101728A (en) | Interface device using motion recognition and control method thereof | |
CN110667287B (en) | Trace removal method and related product | |
JP3990799B2 (en) | Coordinate input device, control method therefor, and computer-readable memory | |
JP2003288157A (en) | Position-detecting device | |
US10802126B2 (en) | Electronic device and positioning method | |
KR101993257B1 (en) | Apparatus of correcting touch input based on compensation hand vibration | |
US9483125B2 (en) | Position information obtaining device and method, and image display system | |
JP2002032193A (en) | Coordinate input system, coordinate input method and recording medium with coordinate input program recorded thereon | |
JP2007272710A (en) | Handwriting input system | |
CN110221281B (en) | Electronic device and positioning method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041215 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041215 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061018 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061024 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061220 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070703 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070903 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20071002 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071015 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101019 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101019 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131019 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |