JP2010049469A - Coordinate processing apparatus and method, coordinate processing program, and computer readable recording medium with the coordinate processing program recorded thereon - Google Patents
Coordinate processing apparatus and method, coordinate processing program, and computer readable recording medium with the coordinate processing program recorded thereon Download PDFInfo
- Publication number
- JP2010049469A JP2010049469A JP2008212860A JP2008212860A JP2010049469A JP 2010049469 A JP2010049469 A JP 2010049469A JP 2008212860 A JP2008212860 A JP 2008212860A JP 2008212860 A JP2008212860 A JP 2008212860A JP 2010049469 A JP2010049469 A JP 2010049469A
- Authority
- JP
- Japan
- Prior art keywords
- state
- coordinate
- tracking
- instruction input
- coordinates
- 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
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本発明は、タッチパネル、タッチスクリーン、タブレット等における座標位置の検出処理に好適な座標処理装置及び方法、並びに、座標処理プログラム及びその座標処理プログラムを記録したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a coordinate processing apparatus and method suitable for coordinate position detection processing on a touch panel, a touch screen, a tablet, and the like, a coordinate processing program, and a computer-readable recording medium on which the coordinate processing program is recorded.
近年、複数点のタッチ入力が可能な表示パネル(例えば、タッチパネル、タッチスクリーン、タブレット)を備えた直感的な操作性を有する携帯機器が商品として開発されて来ており、今後もタッチ入力可能な表示パネルのニーズは拡大することが予想される。 In recent years, portable devices having intuitive operability equipped with a display panel (for example, a touch panel, a touch screen, and a tablet) capable of touch input at a plurality of points have been developed as products, and can be touch input in the future. The need for display panels is expected to expand.
複数点のタッチ入力が可能な表示パネルにおいては、時間的に連続する点の軌跡情報を得る際に、前のフレームでタッチされた複数の点と、現在のフレームでタッチされた複数の点とを対応付けることが必要となる。 In a display panel capable of touch input of multiple points, when obtaining trajectory information of temporally continuous points, a plurality of points touched in the previous frame and a plurality of points touched in the current frame Need to be associated.
例えば、特許文献1では、タッチパネルにおける操作において、時間的に連続する点の軌跡情報に基づいてドラッグ操作や回転操作、拡大/縮小操作などの解釈をする方法が開示されている。 For example, Patent Document 1 discloses a method of interpreting a drag operation, a rotation operation, an enlargement / reduction operation, and the like based on trajectory information of points that are continuous in time in an operation on a touch panel.
具体的には、特許文献1には、現在の点が前回のどの点と対応するかを判断する際に、前回の指示位置から最も近い点をそれぞれの現在の位置と判断する技術、複数箇所の指示位置の中で最も面積が近くなる点をそれぞれの現在の位置と判断する技術などが開示されている。 Specifically, Patent Document 1 discloses a technique for determining the point closest to the previous designated position as the current position when determining which point the current point corresponds to, and a plurality of locations. A technique for determining a point having the closest area among the indicated positions as the current position is disclosed.
すなわち、特許文献1には、複数の指示位置が同時に移動する軌跡の組み合わせにより表現された指示を解釈できる技術が開示されている。
しかしながら、特許文献1に記載の方法では、タッチパネルを装備した装置のノイズ等による誤検出や検出漏れが発生した場合や、利用者が意図せずに触れてしまった為に誤検出をした場合、タッチパネルに触れる力が弱く検出漏れをした場合、利用者による本来のタッチ意図とは異なる点をタッチ点としてしまう問題がある。さらに、タッチの継続による追跡点をタッチ終了(リリース)後の再タッチとしてしまう問題もある。 However, in the method described in Patent Document 1, in the case of erroneous detection or detection omission due to noise or the like of a device equipped with a touch panel, or in the case of erroneous detection because the user has unintentionally touched, When the touching force on the touch panel is weak and detection is omitted, there is a problem that a point different from the original touch intention by the user is used as a touch point. Further, there is a problem that the tracking point due to the continuation of the touch is retouched after the touch is finished (released).
このため、特許文献1に記載の方法では、ドラッグ操作や回転操作、拡大/縮小操作等の連続動作を正しく動作させることが困難であった。 For this reason, with the method described in Patent Document 1, it is difficult to correctly operate continuous operations such as a drag operation, a rotation operation, and an enlargement / reduction operation.
上記問題点に鑑み、本発明の目的は、装置のノイズ等や、利用者が意図せずタッチパネルに触れてしまったことによってタッチ検出が行われた場合や、タッチパネルへの押圧が弱く検出漏れが発生した場合でも、意図しない誤検出や検出漏れを低減し、ドラッグ操作や回転操作、拡大操作等の連続動作を正しく動作させる座標処理装置及び方法、並びに、座標処理プログラム及びその座標処理プログラムを記録したコンピュータ読み取り可能な記録媒体を提供することにある。 In view of the above problems, the object of the present invention is to detect noise when the touch detection is performed due to the noise of the device or the user unintentionally touching the touch panel, or when the touch on the touch panel is weak and detection omission is detected. Coordinate processing device and method for reducing unintentional false detections and omissions even when they occur and correctly operating continuous operations such as drag operations, rotation operations, and enlargement operations, and coordinate processing programs and coordinate processing programs thereof are recorded An object of the present invention is to provide a computer-readable recording medium.
上記目的を達成するために、本発明における座標処理装置は、利用者の指示入力により移動する指示位置の座標が表わす座標点を時系列に連続するフレーム上に配置し、各フレーム間における座標点の対応付けを追跡する追跡手段と、前記利用者の指示入力の状態としてあらかじめ定義された、前記指示入力の開始待機状態である第1の状態、前記指示入力により移動する指示位置の移動状態である第2の状態、及び、前記指示入力の終了待機状態である第3の状態、を含む複数の状態間における状態遷移を前記追跡手段による追跡結果に基づいて判定し、その判定された状態遷移が行なわれるときに実行される前記利用者の指示入力の動作を決定する判定手段とを備えていることを特徴とする。 In order to achieve the above object, the coordinate processing apparatus according to the present invention arranges coordinate points represented by the coordinates of the designated position to be moved by the user's designated input on a continuous frame in time series, and coordinates points between the frames. A tracking unit that tracks the correspondence between the user, a first state that is a standby state for starting the instruction input, and a movement state of an instruction position that is moved by the instruction input. A state transition between a plurality of states including a second state and a third state that is a waiting state for completion of the instruction input is determined based on a tracking result by the tracking unit, and the determined state transition Determination means for determining an operation of the user's instruction input that is executed when the operation is performed.
上記の座標処理装置では、追跡手段は、利用者の指示入力の動作により移動する指示位置の座標が表わす座標点を時系列に連続するフレーム上に配置し、各フレーム間における座標点の対応関係を追跡する。利用者の指示入力の状態として、指示入力の開始待機状態である第1の状態、指示入力により移動する指示位置の移動状態である第2の状態、及び、指示入力の終了待機状態である第3の状態、を含む複数の状態があらかじめ定義されており、判定手段は、それら状態間における状態遷移を追跡手段による追跡結果に基づいて判定する。そして、判定手段は、その判定された状態遷移が行なわれるときに実行される利用者の指示入力の動作を決定する。 In the coordinate processing apparatus, the tracking unit arranges the coordinate points represented by the coordinates of the designated position that is moved by the operation of the user's instruction input on a frame that is continuous in time series, and the correspondence relationship between the coordinate points between the frames. To track. As a state of the user's instruction input, a first state that is a start standby state of the instruction input, a second state that is a movement state of an instruction position that is moved by the instruction input, and a standby state that is the end of the instruction input A plurality of states including three states are defined in advance, and the determination unit determines a state transition between these states based on a tracking result by the tracking unit. Then, the determination means determines the operation of the user's instruction input that is executed when the determined state transition is performed.
すなわち、追跡手段が各フレーム間における座標点の対応付けを追跡しているので、利用者の意図しない誤った指示入力が一時的に検出された場合でも、誤った指示入力は無かったものと扱うことができる。このため、判定手段は誤った指示入力の影響を受けることなく、利用者の指示入力の状態遷移判定することができ、利用者の指示入力の動作を正確に決定することができる。 In other words, since the tracking means tracks the association of coordinate points between frames, even if an erroneous instruction input not intended by the user is temporarily detected, it is assumed that there was no erroneous instruction input. be able to. Therefore, the determination means can determine the state transition of the user's instruction input without being affected by an erroneous instruction input, and can accurately determine the operation of the user's instruction input.
また、逆に、利用者の意図した指示入力が一時的に検出されなかった場合でも、その指示入力はあったものとして扱うことができる。このため、検出されなかった指示入力の影響を受けることなく、利用者の指示入力の状態遷移判定することができ、利用者の指示入力の動作を正確に決定することができる。 Conversely, even if the instruction input intended by the user is not temporarily detected, the instruction input can be treated as being present. Therefore, it is possible to determine the state transition of the user's instruction input without being affected by the instruction input that has not been detected, and it is possible to accurately determine the operation of the user's instruction input.
前記追跡手段は、異なるフレームに配置された座標点間における距離があらかじめ定められた距離以下であるときに、当該異なるフレームの各々に配置された座標点同士を対応付けることが好ましい。 The tracking means preferably associates the coordinate points arranged in each of the different frames when the distance between the coordinate points arranged in different frames is equal to or less than a predetermined distance.
この場合、2つの座標点間の距離とあらかじめ定められた距離との大小関係の比較により、座標点同士を対応付けることができるので、座標点同士の対応付けを効率的に行うことができる。 In this case, since the coordinate points can be associated with each other by comparing the magnitude relationship between the distance between the two coordinate points and a predetermined distance, the coordinate points can be efficiently associated with each other.
前記判定手段が決定すべき前記利用者の指示入力の動作は、前記指示入力の開始確定を表わす第1の動作、前記指示位置の移動継続を表わす第2の動作、及び、前記指示入力の終了確定を表わす第3の動作、を含むことが好ましい。 The operation of the user's instruction input to be determined by the determination means includes a first operation indicating the start confirmation of the instruction input, a second operation indicating continuation of movement of the instruction position, and the end of the instruction input. Preferably, a third action representing confirmation is included.
この場合、利用者の指示入力の状態遷移に応じた適切な動作を決定することができる。 In this case, an appropriate operation according to the state transition of the user's instruction input can be determined.
前記判定手段は、前記第1の状態から前記第2の状態に状態遷移すると判定した場合、前記第1の動作を決定することが好ましい。 When the determination means determines that the state transition from the first state to the second state, it is preferable to determine the first operation.
この場合、利用者の指示入力の状態が第1の状態から前記第2の状態に遷移したときに適切な動作を決定することができる。 In this case, an appropriate operation can be determined when the state of the user's instruction input transitions from the first state to the second state.
前記判定手段は、前記追跡手段により座標点が配置されたフレームの数があらかじめ定められた第1のフレーム数以上となり、且つ、当該フレームのうち、互いに対応付けられた他の座標点を持つ座標点が配置されたフレームの数があらかじめ定められた第2のフレーム数以上となったときに、前記第1の状態から前記第2の状態に遷移すると判定することが好ましい。 The determination means has a number of frames in which the coordinate points are arranged by the tracking means equal to or more than a predetermined first frame number, and coordinates having other coordinate points associated with each other in the frames. It is preferable to determine that the transition from the first state to the second state occurs when the number of frames in which the points are arranged is equal to or greater than a predetermined second frame number.
この場合、利用者の指示入力の状態が第1の状態から第2の状態に遷移する状態遷移をより正確に判定することができる。 In this case, it is possible to more accurately determine the state transition in which the state of the user's instruction input transitions from the first state to the second state.
前記判定手段は、前記第2の状態から前記第2の状態に状態遷移すると判定した場合、または、前記第3の状態から前記第2の状態に状態遷移すると判定した場合、前記第2の動作を決定することが好ましい。 When the determination means determines that the state transition is from the second state to the second state, or when it is determined that the state transition is from the third state to the second state, the second operation Is preferably determined.
この場合、利用者の指示入力の状態が、第2の状態から第2の状態に遷移したとき、または、第3の状態から第2の状態に遷移したときに適切な動作を決定することができる。 In this case, it is possible to determine an appropriate operation when the state of the user's instruction input transitions from the second state to the second state or when the user transitions from the third state to the second state. it can.
前記判定手段は、前記第2の状態において、連続するフレームの各々に配置された座標点同士が対応付けられたときに、前記第2の状態から前記第2の状態に遷移すると判定することが好ましい。 In the second state, when the coordinate points arranged in each of successive frames are associated with each other in the second state, the determination unit determines to transition from the second state to the second state. preferable.
この場合、利用者の指示入力の状態が第2の状態から第2の状態に遷移する状態遷移をより正確に判定することができる。 In this case, it is possible to more accurately determine the state transition in which the state of the user's instruction input transitions from the second state to the second state.
前記判定手段は、前記第3の状態において、前記追跡手段により座標点が配置されたフレームのうち、互いに対応付けられた他の座標点を持たない座標点が配置されたフレームの数があらかじめ定められた第3のフレーム数以上となったときに、前記第3の動作を決定することが好ましい。 In the third state, the determination unit determines in advance the number of frames in which coordinate points that do not have other coordinate points associated with each other are arranged among the frames in which coordinate points are arranged by the tracking unit. Preferably, the third operation is determined when the number of frames exceeds the third frame number.
この場合、利用者の指示入力の状態が第3の状態における第3の動作の決定を適切に行うことができる。 In this case, it is possible to appropriately determine the third operation when the user's instruction input state is the third state.
本発明における座標処理方法は、利用者の指示入力により移動する指示位置の座標が表わす座標点を時系列に連続するフレーム上に配置し、各フレーム間における座標点の対応付けを追跡する追跡工程と、前記利用者の指示入力の状態としてあらかじめ定義された、前記指示入力の開始待機状態である第1の状態、前記指示入力により移動する指示位置の移動状態である第2の状態、及び、前記指示入力の終了待機状態である第3の状態、を含む複数の状態間における状態遷移を前記追跡工程による追跡結果に基づいて判定し、その判定された状態遷移が行なわれるときに実行される前記利用者の指示入力の動作を決定する判定工程とを備えていることを特徴とする。 According to the coordinate processing method of the present invention, a tracking step is performed in which coordinate points represented by coordinates of an instruction position that is moved by an instruction input by a user are arranged on a continuous frame in time series, and the association of the coordinate points between the frames is tracked. And a first state that is predefined as a state of instruction input of the user, a second state that is a movement state of an instruction position that is moved by the instruction input, It is executed when a state transition between a plurality of states including the third state, which is the end waiting state of the instruction input, is determined based on a tracking result by the tracking step and the determined state transition is performed. A determination step of determining an operation of the user's instruction input.
上記の座標処理方法では、追跡工程において、利用者の指示入力の動作により移動する指示位置の座標が表わす座標点を時系列に連続するフレーム上に配置し、各フレーム間における座標点の対応関係を追跡する。利用者の指示入力の状態として、指示入力の開始待機状態である第1の状態、指示入力により移動する指示位置の移動状態である第2の状態、及び、指示入力の終了待機状態である第3の状態、を含む複数の状態があらかじめ定義されており、判定工程においては、それら状態間における状態遷移を追跡手段による追跡結果に基づいて判定する。そして、その判定された状態遷移が行なわれるときに実行される前記利用者の指示入力の動作を決定する。 In the coordinate processing method described above, in the tracking step, the coordinate points represented by the coordinates of the designated position that is moved by the operation of the user's instruction input are arranged on a continuous frame in time series, and the correspondence relationship between the coordinate points between the frames. To track. As a state of the user's instruction input, a first state that is a start standby state of the instruction input, a second state that is a movement state of an instruction position that is moved by the instruction input, and a standby state that is the end of the instruction input A plurality of states including three states are defined in advance, and in the determination step, the state transition between these states is determined based on the tracking result by the tracking means. Then, the user instruction input operation to be executed when the determined state transition is performed is determined.
すなわち、各フレーム間における座標点の対応付けを追跡しているので、利用者の意図しない誤った指示入力が一時的に検出された場合でも、誤った指示入力は無かったものと扱うことができる。このため、誤った指示入力の影響を受けることなく、利用者の指示入力の状態遷移判定することができ、利用者の指示入力の動作を正確に決定することができる。 In other words, since the association of coordinate points between frames is tracked, even if an erroneous instruction input not intended by the user is temporarily detected, it can be handled that there is no erroneous instruction input. . Therefore, it is possible to determine the state transition of the user's instruction input without being affected by an erroneous instruction input, and to accurately determine the operation of the user's instruction input.
また、逆に、利用者の意図した指示入力が一時的に検出されなかった場合でも、その指示入力は有ったものとして扱うことができる。このため、検出されなかった指示入力の影響を受けることなく、利用者の指示入力の状態遷移判定することができ、利用者の指示入力の動作を正確に決定することができる。 Conversely, even if the instruction input intended by the user is not temporarily detected, the instruction input can be treated as being present. Therefore, it is possible to determine the state transition of the user's instruction input without being affected by the instruction input that has not been detected, and it is possible to accurately determine the operation of the user's instruction input.
なお、前記情報記録再生装置は、コンピュータによって実現してもよく、この場合には、コンピュータを前記各手段として動作させることにより前記情報記録再生装置をコンピュータにて実現させる情報記録再生装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The information recording / reproducing apparatus may be realized by a computer. In this case, a control program for the information recording / reproducing apparatus for realizing the information recording / reproducing apparatus by the computer by operating the computer as the respective means. And a computer-readable recording medium on which it is recorded also fall within the scope of the present invention.
本発明の座標処理装置は、以上のように、利用者の指示入力により移動する指示位置の座標が表わす座標点を時系列に連続するフレーム上に配置し、各フレーム間における座標点の対応付けを追跡する追跡手段と、前記利用者の指示入力の状態としてあらかじめ定義された、前記指示入力の開始待機状態である第1の状態、前記指示入力により移動する指示位置の移動状態である第2の状態、及び、前記指示入力の終了待機状態である第3の状態、を含む複数の状態間における状態遷移を前記追跡手段による追跡結果に基づいて判定し、その判定された状態遷移が行なわれるときに実行される前記利用者の指示入力の動作を決定する判定手段とを備えているものである。 As described above, the coordinate processing apparatus of the present invention arranges the coordinate points represented by the coordinates of the designated position to be moved by the user's designated input on the frames that are continuous in time series, and associates the coordinate points between the frames. Tracking means for tracking the first input state, a first state in which the instruction input is waiting to be started, and a movement state of the instruction position that is moved by the instruction input. And a state transition between a plurality of states including the third state which is a waiting state for completion of the instruction input based on the tracking result by the tracking unit, and the determined state transition is performed. Determination means for determining an instruction input operation of the user that is sometimes executed.
それゆえ、装置のノイズ等や、利用者が意図せずタッチパネルに触れてしまったことによってタッチ検出が行われた場合や、タッチパネルへの押圧が弱く検出漏れが発生した場合でも、意図しない誤検出や検出漏れを低減し、ドラッグ操作や回転操作、拡大操作等の連続動作を正しく動作させる座標処理装置及び方法、並びに、座標処理プログラム及びその座標処理プログラムを記録したコンピュータ読み取り可能な記録媒体を提供するという効果を奏する。 Therefore, unintentional false detection even when touch detection is performed due to device noise, etc., or when the user touches the touch panel unintentionally, or even when the touch panel is weak and a detection failure occurs. And coordinate processing apparatus and method for correctly operating continuous operations such as drag operation, rotation operation, and enlargement operation, and a coordinate processing program and a computer-readable recording medium recording the coordinate processing program The effect of doing.
以下、図面を参照しつつ本発明の実施の形態について説明する。なお、以下の説明に用いる図面では、同一の部品に同一の符号を付してある。それらの名称及び機能も同一である。したがって、それらについての詳細な説明は繰り返さない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings used for the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
(実施の形態1)
本発明の実施の形態1における座標処理装置は、例えば、利用者が指などによる位置入力が可能なタッチパネルに接続されており、タッチパネルから出力される信号に基づいて利用者の指示位置の座標を検出し、タッチパネル上における利用者の指示位置の移動によるドラッグ操作や回転操作、拡大/縮小操作などの連続動作を実現するものである。図1は、本発明の実施の形態1における座標処理装置の構成を示すブロック図である。
(Embodiment 1)
The coordinate processing apparatus according to Embodiment 1 of the present invention is connected to a touch panel on which a user can input a position with a finger or the like, for example, and the coordinates of the user's designated position are obtained based on a signal output from the touch panel. It detects and realizes continuous operations such as a drag operation, a rotation operation, and an enlargement / reduction operation by moving the user's designated position on the touch panel. FIG. 1 is a block diagram showing the configuration of the coordinate processing apparatus according to Embodiment 1 of the present invention.
図1に示すように、本発明の実施の形態1における座標処理装置100は、検出部10と、追跡部(追跡手段)11と、座標情報記憶部12と、判定部(判定手段)13と、生成部14と、設定部15と、第1閾値記憶部16と、第2閾値記憶部17と、を備える。
As shown in FIG. 1, the coordinate
検出部10は、利用者による位置入力が可能なタッチパネル500に接続されている。タッチパネル500から出力された信号が検出部10に入力されると、検出部10はタッチパネル500に利用者による位置入力が有ったものと判断し、その出力信号に基づいてタッチパネル500上における利用者による指示位置の座標を検出する。そして、検出部10は、この利用者による指示位置の座標を追跡部11に出力する。
The
検出部10による座標検出は、一定の周期(例えば、30Hz)で実行される。したがって、検出部10は、その座標検出を行なうタイミングにおいて、タッチパネル500の出力信号が入力されないときには、タッチパネル500に利用者による位置入力が無かったものと判断する。この場合、検出部10は、そのタイミングにおいては、利用者による指示位置の座標を出力することは無い。なお、タッチパネル500は、抵抗膜方式、静電容量方式、超音波表面弾性波方式等の公知の方式を用いたタッチパネルから適宜選択して用いることができる。
The coordinate detection by the
追跡部11は、検出部10から利用者による指示位置の座標が入力されると、その入力された座標に基づいて、その入力時点におけるフレーム情報を生成する。追跡部11は、検出部10から複数の座標が入力されたときには、その入力時点における同一のフレーム上に複数の座標が配置されたフレーム情報を生成する。
When the coordinates of the designated position by the user are input from the
図2は、追跡部11が生成するフレーム情報を説明するための図である。図2に示すように、追跡部11は、一定の周期で検出部10から出力される座標を、各フレーム21〜24上に配置し、各フレーム21〜24のフレーム情報を生成する。追跡部11は、それらのフレーム情報を後述する座標情報記憶部12に出力する。
FIG. 2 is a diagram for explaining the frame information generated by the
また、追跡部11は、検出部10から利用者による指示位置の座標が入力されたときには、その入力された座標及びその入力時点より過去のフレーム情報に基づいて追跡点情報を生成する。この追跡点情報は、各フレーム間において利用者による同一の指示入力に対応する点(以下、「追跡点」ともいう。)ごとに生成される。もちろん、異なるフレーム間において利用者による指示位置に移動があった場合には、その指示位置に対応する追跡点は各フレームにおいて異なる座標を持つことになる。この追跡点情報は追跡点ごとに生成される。
Further, when the coordinates of the position indicated by the user are input from the
座標情報記憶部12は、追跡部11から出力されたフレーム情報121及び追跡点情報122を記憶する。座標情報記憶部12は、ハードディスクドライブ(以下、「HDD」という)などの磁気ディスク装置や半導体メモリ等の公知の記憶装置から適宜選択して用いることができる。
The coordinate
図3に、座標情報記憶部12に記憶されている追跡点情報122を説明するための図である。図3に示すように、この追跡点情報122には、追跡点ごとに、現在の状態31、追跡フレーム数32、現在フレーム座標33、過去フレーム座標34、識別子35及び予約イベント36が含まれる。これらについては後述する。
FIG. 3 is a diagram for explaining the
判定部13は、利用者の指示位置の座標が検出部10から追跡部11に入力されたときに、その座標を追跡部11から取得する。そして、判定部13は、座標情報記憶部12に記憶されている追跡点情報122を用いて、その座標点に対する状態遷移判定を行ない、その判定結果に基づいて、各座標点に対応する追跡点情報122に、状態の更新及びイベントの予約(ダウンイベント、ムーブイベント、アップイベント、イベントなし等)を実行する。もちろん、判定部13は、同時に複数のイベントの生成も可)を出力する。
When the coordinates of the user's designated position are input from the
ここで、判定部13が行なう状態遷移判定に用いられている状態遷移オートマトンについて説明する。図6は、その状態遷移オートマトンの一例を示す図である。
Here, the state transition automaton used for the state transition determination performed by the
図6に示すように、判定部13による状態遷移判定に用いられる状態遷移オートマトンは、ダウン監視(第1の状態)、ムーブ(第2の状態)及びアップ監視(第3の状態)の3つの状態と、各状態遷移の接続関係を示す矢印と、各状態間の遷移内容に応じて生成されるダウンイベント(第1の動作)、ムーブイベント(第2の動作)及びアップイベント(第3の動作)の3つのイベント(動作)と、から構成されている。本実施の形態における座標処理装置100は、例えば、タッチパネル500を1本以上の指でタッチする動作(プレス)、タッチの継続、タッチを継続しながらのパネル上での移動、タッチの終了(リリース)といったタッチ動作によって得られるタッチ位置の座標を処理するものである。
As shown in FIG. 6, the state transition automaton used for the state transition determination by the
そこで、以下では、上述の各種動作について、タッチする動作(プレス)をダウンイベント、タッチの継続、並びにタッチを継続しながらのパネル上での移動をムーブイベント、タッチの終了(リリース)をアップイベントとして、各々表現する。このため、ダウンイベントが追跡点の確定を意味し、ムーブイベントが追跡点の継続を意味し、アップイベントが追跡点の消失確定を意味するものとなる。なお、本実施の形態では、利用者が1つのタッチを開始してからタッチを終了し、タッチパネル500から指を離すまでの一連の座標追跡を行なうにあたり、ダウンイベントはタッチ開始時の1回のみ、ムーブイベントは全てのフレームごと、アップイベントはタッチ終了時の1回のみ、実行される場合について説明する。
Therefore, in the following, for the various operations described above, the touch operation (press) is a down event, the touch is continued, and the movement on the panel while continuing the touch is a move event, and the touch end (release) is an up event. Respectively. Therefore, the down event means the tracking point is confirmed, the move event means the tracking point is continued, and the up event means the tracking point disappearance is confirmed. In the present embodiment, when a series of coordinate tracking is performed from when the user starts one touch to the end of the touch until the user releases the finger from the
生成部14は、座標情報記憶部12に記憶されている追跡点情報122からイベント予約された追跡点情報122に対応する追跡点を抽出する。生成部14は、その抽出結果に基づいて、例えば、イベント種別ごとの追跡点の座標を生成し、出力する。
The
設定部15は、例えば、テンキー、キーボードなどを持ち、第1閾値記憶部16に記憶されている第1閾値の初期化、設定、及び、第2閾値記憶部17に記憶されている第2閾値の初期化、設定を行なうためのものである。利用者は、この設定部15を用いて、第1閾値記憶部16に記憶されている第1閾値の初期化、設定、及び、第2閾値記憶部17に記憶されている第2閾値の初期化、設定を行なうことができる。
The setting
第1閾値記憶部16は、追跡部11が追跡点情報を生成する場合において、過去のフレーム上に配置された追跡点のうち、新たに入力された座標点と同一の指示入力に対応する点があるか否かを判定するために用いられる第1閾値を記憶している。
When the
この第1閾値は、例えば、新たな入力座標点からの距離であり、新たな入力座標点から最も距離の近い追跡点との距離がこの第1閾値以下のものがあれば、追跡部11は、その追跡点と入力座標点とが同一の指示入力に対応するものと判定する。一方、新たな入力座標点から最も距離の近い追跡点との距離がこの第1閾値を超えるものであれば、追跡部11は、入力座標と同一の指示入力に対応する追跡点は存在しないと判定する。
The first threshold is, for example, a distance from a new input coordinate point. If there is a distance from the new input coordinate point to the tracking point closest to the distance, the
第2閾値記憶部17は、判定部13が入力座標点に対する状態遷移判定を行なうために用いられる第2閾値を記憶している。判定部13は、追跡部11から新たな座標が入力されると、第2閾値記憶部17に記憶されている第2閾値を取得し、その第2閾値及び座標情報記憶部12に記憶されている追跡点情報122を用いて、その座標点に対する状態遷移判定を行なう。なお、この第2閾値の具体例については、後述する。
The second
次に、本発明の実施の形態1における座標処理装置100の動作について、図4を用いて説明する。図4は、本発明の実施の形態1における座標処理装置100の動作を説明するためのフローチャートである。
Next, the operation of the coordinate
図4に示すように、追跡部11は、検出部10から新たな座標が入力されると、座標情報記憶部12に記憶されているフレーム情報121を取得し、入力座標点の近傍に追跡点があるか否かを判定する(ステップS101)。
As shown in FIG. 4, when a new coordinate is input from the
具体的には、追跡部11は、検出部10から新たな座標が入力されると、座標情報記憶部12に記憶されているフレーム情報121から最新のフレームを読み出し、その読み出されたフレーム上の各追跡点と検出部10から入力された座標点との距離を比較して、近傍追跡点の有無を判定する。
Specifically, when a new coordinate is input from the
追跡部11は、第1閾値記憶部16に記憶されている第1閾値を取得する。この第1閾値は、利用者が設定部15を用いて第1閾値記憶部16にあらかじめ記憶させているものである。利用者は、この第1閾値を調節することにより、追跡部11による近傍追跡点有無の判定精度を変化させることができる。
The
追跡部11は、例えば第1閾値が所定の距離を表わすものであれば、最も近い追跡点が第1閾値以内の距離にあるときに、近傍追跡点ありと判定する(ステップS101YES)。
For example, if the first threshold represents a predetermined distance, the
一方、入力された座標点と最も近い追跡点との距離が第1閾値よりも大きければ、追跡部11は、近傍追跡点なしと判定する(ステップS101NO)。
On the other hand, if the distance between the input coordinate point and the closest tracking point is greater than the first threshold, the
ここで、上記のステップS101YESにおいては、追跡部11は、近傍追跡点ありと判定し、その近傍追跡点を入力座標点が追従する追跡点、つまり、利用者による同一の指示入力に対応する点であると判定する。そして、追跡部11は、その追跡点に対応する追跡点情報122の追跡フレーム数32を1つ加算すると共に、現在フレーム座標33として入力された座標を設定する。
Here, in the above step S101 YES, the
一方、上記のステップS101NOにおいては、追跡部11は、近傍追跡点なしと判定し、その入力座標点を新たな追加点とし、その追跡点情報122を生成する(ステップS102)。このとき、追跡部11は、この新たな追跡点情報122にその初期情報として、現在の状態31に「ダウン監視」、追跡フレーム数32に「1」、現在フレーム座標33に上記の入力座標を設定する。なお、過去フレーム座標34には、ここでは何も設定されない。
On the other hand, in the above step S101 NO, the
判定部13は、上記のステップS101YESにおいて入力座標が追従すると判定された追跡点、及び、上記のステップS102において新たに設定された追跡点について第1の状態遷移判定を実行する(ステップS103)。本ステップS103における第1の状態遷移判定の処理内容については後述する。
The
追跡部11及び判定部13は、検出部10から新たに入力された座標点の全てに対し、上記のステップS101〜103を実行するまで(ステップS104YES)、上記のステップS101〜103を繰り返して実行する(ステップS104NO)。
The
判定部13は、座標情報記憶部12に記憶されている追跡点情報122から状態遷移判定が未判定の追跡点の有無を判定し(ステップS105)、未判定の追跡点が有れば(ステップS105YES)、その追跡点について第2の状態遷移判定を実行する(ステップS106)。本ステップS106における第2の状態遷移判定の処理内容については、後述する。なお、上記ステップS103における第1の状態遷移判定の処理内容と本ステップS106における第2の状態遷移判定の処理内容とは同一である。
The
なお、本ステップS106においては、判定部13は、未判定の追跡点の状態遷移判定処理開始前に、その追跡点に対応する追跡点情報122の追跡フレーム数32に「1」を加算し、現在フレーム座標33を未設定状態にする。
In this step S106, the
生成部14は、座標情報記憶部12に記憶されている追跡点情報122から予約イベントの有無を判定し(ステップS107)、いずれの追跡点についてもイベントが予約されていなければ(ステップS107NO)、処理を終了する。
The
一方、イベントの予約があった場合には、生成部14は、イベント予約のある追跡点に対応する追跡点情報122から、その追跡点の識別子35、予約イベント36及び現在フレーム座標33を抽出する。そして、生成部14は、その抽出結果を用いて、例えば、イベントごとに、各イベントに対応する追跡点の識別子及び座標を生成し、出力する(ステップS108)。
On the other hand, when there is an event reservation, the
具体的には、例えば、あるフレームに対する処理を行った結果として、新たにタッチが確定(ダウンイベント)した点が1点(Xd1,Yd1)、追跡中の追従点として判定(ムーブイベント)された点が2点(Xm1,Ym1)、(Xm2,Ym2)であった場合では、生成部14は、ダウンイベントを生成するとともに、そのダウンイベントと対応付けられた座標として、座標(Xd1,Yd1)と識別子(例えば「追跡点C」)を出力する。また、ムーブイベントを生成するとともに、そのムーブイベントと対応付けられた座標として、座標(Xm1,Ym1)と識別子(例えば「追跡点A」)、及び、座標(Xm2,Ym2)と識別子(例えば「追跡点B」)を出力する。
Specifically, for example, as a result of processing for a certain frame, one point (Xd1, Yd1) at which a new touch is confirmed (down event) is determined as a tracking point being tracked (move event). When the number of points is two (Xm1, Ym1) and (Xm2, Ym2), the
なお、上述の具体例では、ある1つのフレームに対する処理を行った結果として、同種のイベントは各々最大1つずつしか出力されない場合を前提として、1つのイベントにつき対応する1つまたは複数の座標と識別子をイベントと対応付けて出力する場合について説明したが、同種のイベントが複数個出力されるようにしてもよいし、1つのイベントにつき1つの対応付けられた座標と識別子を出力するようにしてもよい。 In the above-described specific example, as a result of performing a process on a certain frame, one or a plurality of coordinates corresponding to each event are assumed on the assumption that only one event of the same kind is output at most. Although the case where an identifier is output in association with an event has been described, a plurality of events of the same type may be output, and one associated coordinate and identifier may be output for each event. Also good.
次に、図4のステップS103及びS106における第1及び第2の状態遷移判定の処理内容について説明する。図5は、ステップS103及びS106における第1及び第2の状態遷移判定の処理内容を示すフローチャートである。 Next, the processing contents of the first and second state transition determinations in steps S103 and S106 of FIG. 4 will be described. FIG. 5 is a flowchart showing the processing contents of the first and second state transition determinations in steps S103 and S106.
なお、判定部13は、上記のステップS103においては新たに設定された追跡点について第1の状態遷移判定を実行し、上記のステップS106においては未判定の追跡点について第2の状態遷移判定を実行する。第1の状態遷移判定と第2の状態遷移判定とは、それらの判定対象とする追跡点が異なるだけでは、処理内容自体は同様である。このため、以下では、上記のステップS103における第1の状態遷移判定について説明する。
Note that the
図5に示すように、判定部13は、追跡部11から新たな座標が入力されると、その座標点に対応する追跡点情報122を座標情報記憶部12から取得し、その座標点の現在の状態31を検出する(ステップS201)。判定部13は、ダウン監視状態の場合であれば、ステップS202に進む。また、ムーブ状態の場合であれば、ステップS207に進む。また、アップ監視状態の場合であれば、ステップS210に進む。
As shown in FIG. 5, when a new coordinate is input from the
まず、上記のステップS201において、ダウン監視状態であると判定された場合には、判定部13は、第2閾値記憶部17に記憶されている第2閾値の1つである閾値フレーム数Mdを取得し、座標点の追跡点情報122の追跡フレーム数32がその閾値フレーム数Mdに達しているか否か(経過しているか否か)を判定する(S202)。
First, in the above step S201, when it is determined that the state is the down monitoring state, the
ここで、閾値フレーム数Mdは、ダウンを確定、つまり、ダウン監視からムーブに状態遷移するまでに、どれだけのフレーム数を蓄積するか、すなわち、ダウンを判定するために要するフレーム数を意味する。したがって、例えば、閾値フレーム数Mdが小さいほど、上記のステップS202におけるダウン判定が早く出ることになり、閾値フレーム数Mdが大きいほど、上記のステップS202におけるダウン判定が遅く出ることになる。また、閾値フレーム数Mdと、後述の閾値フレーム数Ndとが大きいほど、ダウン判定の精度は向上する。このため、利用者は、設定部15を用いてこの閾値フレーム数Mdを調節することにより、判定部13による上記のステップS202におけるダウン判定の精度を変化させることができる。
Here, the threshold frame number Md means how many frames are accumulated from when down is confirmed, that is, until the state transition from down monitoring to move, that is, the number of frames required to determine down. . Therefore, for example, the smaller the threshold frame number Md, the faster the down determination in step S202 described above, and the larger the threshold frame number Md, the slower the down determination in step S202 described above. Moreover, the accuracy of down determination is improved as the threshold frame number Md and the threshold frame number Nd described later are larger. For this reason, the user can change the precision of the down determination in said step S202 by the
閾値フレーム数Mdに達していない場合(ステップS202NO)、判定部13は、その座標点に対応する追跡点情報122に対し、過去フレーム座標34の各々を、より過去のフレーム座標として1つずつシフトするとともに、現在フレーム座標を最新の過去フレーム座標として設定する。また、判定部13は、現在フレーム座標33を未設定状態にする。すなわち、判定部13は、現在フレーム座標33及び過去フレーム座標34の各座標を1フレーム分だけ過去にシフトするように更新する。このとき、各フレームに対応する座標のうち、近傍座標が検出されなかったフレームの座標、すなわち、未設定状態のフレーム座標についても、そのまま、シフト更新する。このようにして、判定部13による状態遷移判定がリターン(終了)する。
When the threshold frame number Md has not been reached (NO in step S202), the
一方、閾値フレーム数Mdに達していると判定された場合(ステップS202YES)、判定部13は、第2閾値記憶部17に記憶されている第2閾値の他の1つである閾値フレーム数Ndを取得し、その座標に対応する追跡点情報122の現在フレーム座標33及び過去フレーム座標34のうち、設定状態の数がその閾値フレーム数Nd以上か否かを判定する(S203)。
On the other hand, when it is determined that the threshold frame number Md has been reached (YES in step S202), the
ここで、閾値フレーム数Ndは、利用者による位置入力(ここでは、利用者によるタッチ)の確定に要するフレーム数を意味する。したがって、例えば、閾値フレーム数Ndが小さいほど、上記のステップS203においてタッチと判定されやすくなり、閾値フレーム数Ndが大きいほど、上記のステップS203においてタッチと判定されにくくなる。すなわち、閾値フレーム数Ndと、また前述の閾値フレーム数Mdとが大きいほど、ダウン判定の精度は向上する。このため、利用者は、設定部15を用いてこの閾値フレーム数Ndを調節することにより、判定部13による上記のステップS203におけるタッチ判定の精度を変化させることができる。
Here, the threshold frame number Nd means the number of frames required to determine the position input by the user (here, the touch by the user). Therefore, for example, the smaller the threshold frame number Nd, the easier it is to determine that the touch is made in step S203, and the larger the threshold frame number Nd is, the more difficult it is to determine that the touch is made in step S203. That is, the larger the threshold frame number Nd and the above-described threshold frame number Md, the more accurate the down determination. For this reason, the user can change the accuracy of the touch determination in step S <b> 203 by the
閾値フレーム数Nd以上と判定された場合(ステップS203YES)、判定部13は、その座標点に対応する追跡点情報122の予約イベント36としてダウンイベントを設定すると共に、その識別子35も併せて設定する(ステップS204)。
When it is determined that the threshold frame number is Nd or more (step S203 YES), the
そして、判定部13は、その座標点に対応する追跡点情報122の現在の状態31を「ムーブ状態」に更新する(S205)。さらに、判定部13は、その座標点に対応する追跡点情報122に対し、過去フレーム座標34の各々を、より過去のフレーム座標として1つずつシフトするとともに、現在フレーム座標を最新の過去フレーム座標として設定する。また、判定部13は、現在フレーム座標33に追跡部11から入力された座標を設定する。すなわち、判定部13は、現在フレーム座標33及び過去フレーム座標34の各座標を1フレーム分だけ過去にシフトするように更新する。このとき、各フレームに対応する座標のうち、近傍座標が検出されなかったフレームの座標、すなわち、未設定状態のフレーム座標についても、そのまま、シフト更新する。このようにして、判定部13による状態遷移判定がリターン(終了)する。
Then, the
一方、閾値フレーム数Nd未満と判定された場合(ステップS203NO)、判定部13は、その座標点に対応する追跡点情報122から、その座標点を破棄する(S206)。すなわち、追跡フレーム数が閾値フレーム数Ndに達しなかったことにより、その座標点は誤検出によって生成され、利用者の意図に反するものとして排除される。そして、判定部13は、上記と同様に、状態遷移判定をリターン(終了)する。
On the other hand, when it is determined that the number is less than the threshold frame number Nd (NO in step S203), the
次に、上記のステップS201において、ムーブ状態と判定された場合には、判定部13は、追跡部11から入力された新たな座標に対応する追跡点情報122の現在フレーム座標33があるか否か、つまり、現在フレーム座標33が設定状態であるか否かを判定する(ステップS207)。
Next, if it is determined in step S201 that the moving state is set, the
現在フレーム座標33があると判定された場合(ステップS207YES)、判定部13は、その座標点に対応する追跡点情報122の予約イベント36としてムーブイベントを設定すると共に、識別子35を設定する。さらに、判定部13は、その新たに入力された座標を現在フレーム座標33として設定する(ステップS208)。また、判定部13は、その追跡点情報122に関して、先に設定されていた現在フレーム座標33を最新の過去フレーム座標34として設定する。すなわち、フレーム座標の各々を1フレーム分だけ過去にシフトするように更新する。
When it is determined that the current frame coordinate 33 is present (YES in step S207), the
一方、現在フレーム座標33が無いと判定された場合(ステップS207NO)、判定部13は、その座標点に対応する追跡点情報122の現在の状態31を「アップ監視状態」に更新する(S209)。また、過去フレーム座標34をより過去のフレーム座標として1つずつシフトするとともに、最新の過去フレーム座標34及び現在フレーム座標33を未設定状態にする。すなわち、フレーム座標の各々を1フレーム分だけ過去にシフトするように更新する。このとき、各フレームに対応する座標のうち、近傍座標が検出されなかったフレームの座標、すなわち、未設定状態のフレーム座標についても、そのまま、シフト更新する。このようにして、判定部13による状態遷移判定がリターン(終了)する。
On the other hand, when it is determined that there is no current frame coordinate 33 (NO in step S207), the
最後に、上記のステップS201において、アップ監視状態と判定された場合には、判定部13は、追跡部11から入力された新たな座標に対応する追跡点情報122の現在フレーム座標33があるか否か、つまり、現在フレーム座標33が設定状態であるか否かを判定する(ステップS210)。
Finally, in the above-described step S201, when it is determined that the up monitoring state is present, the
現在フレーム座標33が無いと判定された場合(ステップS210YES)、判定部13は、第2閾値記憶部17に記憶されている第2閾値のさらに他の1つである閾値フレーム数Nuを取得し、その座標に対応する追跡点情報122の現在フレーム座標33及び過去フレーム座標34のうち未設定状態の数がその閾値フレーム数Nu以上か否かを判定する(S211)。
When it is determined that there is no current frame coordinate 33 (step S210 YES), the
ここで、閾値フレーム数Nuは、利用者による位置入力の終了(ここでは、利用者によるアップ)を確定させるまでに要するフレーム数を意味する。したがって、例えば、閾値フレーム数Nuが小さいほど、上記のステップS211におけるアップ判定が早く出ることになり、閾値フレーム数Nuが大きいほど、十分な期間、入力座標点の近傍に追跡点が検出されていないことが確認され、その判定精度は向上するが、上記のステップS211におけるアップ判定が遅く出ることになる。このため、利用者は、設定部15を用いてこの閾値フレーム数Nuを調節することにより、判定部13による上記のステップS211におけるアップ判定の精度を変化させることができる。
Here, the threshold frame number Nu means the number of frames required to determine the end of the position input by the user (here, up by the user). Therefore, for example, the smaller the threshold frame number Nu, the faster the up determination in step S211 described above. The larger the threshold frame number Nu, the longer the tracking point is detected in the vicinity of the input coordinate point for a sufficient period. It is confirmed that there is not, and the determination accuracy is improved, but the up determination in step S211 is delayed. For this reason, the user can change the accuracy of the up determination in step S211 by the
閾値フレーム数Nu未満の場合(ステップS211NO)、判定部13は、その座標点に対応する追跡点情報122の過去フレーム座標34を、より過去のフレーム座標として1つずつシフトするとともに、最新の過去フレーム座標34及び現在フレーム座標33を未設定状態にする。すなわち、フレーム座標の各々を1フレーム分だけ過去にシフトするように更新する。このとき、各フレームに対応する座標のうち、近傍座標が検出されなかったフレームの座標、すなわち、未設定状態のフレーム座標についても、そのまま、シフト更新する。このようにして、判定部13による状態遷移判定がリターン(終了)する。
When it is less than the threshold frame number Nu (step S211 NO), the
一方、閾値フレーム数Nu以上と判定された場合(ステップS211YES)、判定部13は、その座標点に対応する追跡点情報122の予約イベント36としてアップイベントを設定すると共に、その識別子35も併せて設定する(ステップS212)。そして、判定部13は、その座標点に対応する追跡点情報122から、その座標点を破棄する(S213)。すなわち、閾値フレーム数Nuに達したことにより、その座標点は検出漏れによる一時的なロス状態ではなく、利用者の意図によってリリース(アップ)されたものとして排除される。その後、判定部13は、上記と同様に、状態遷移判定をリターン(終了)する。
On the other hand, if it is determined that the threshold frame number Nu is greater than or equal to Nu (YES in step S211), the
現在フレーム座標33があると判定された場合(ステップS210NO)、判定部13は、その座標に対応する追跡点情報122の予約イベント36としてムーブイベントを設定すると共に、その識別子35も併せて設定する(ステップS214)。
When it is determined that there is the current frame coordinate 33 (NO in step S210), the
判定部13は、追跡点情報122の現在の状態31を「ムーブ状態」に更新する。そして、判定部13は、追跡点情報122の現在フレーム座標33を最新の過去フレーム座標34として設定し、現在フレーム座標は未設定状態にする。すなわち、判定部13は、フレーム座標の情報を1フレーム分だけ過去にシフトするように更新する。
The
次に、本発明の実施の形態1における座標処理装置100で実行される座標処理の具体例について説明する。
Next, a specific example of coordinate processing executed by the coordinate
(具体例1)
図7は、本発明の実施の形態1における座標処理装置100で実行される座標処理によるダウン確定の一例を説明するための図である。ここでは、閾値フレーム数Mdを3、閾値フレーム数Ndを2として説明する。
(Specific example 1)
FIG. 7 is a diagram for explaining an example of down determination by coordinate processing executed by the coordinate
図7においては、フレーム41a、フレーム41b、フレーム41cは、時間的に連続する3つのフレームを表わしており、各フレームの中に示す×印と座標は、各フレームにおいて、検出部10により検出された指示位置の座標を表わす。また、図7においては、座標情報記憶部12に記憶されている追跡点情報122の現在の状態31、追跡フレーム数32、現在フレーム座標33及び過去フレーム座標34が、フレーム41a〜41cに対応して時間的に変化していく様子が表わされている(42a〜42f)。
In FIG. 7, a
まず、検出部10がフレーム41aの指示位置の座標(50,100)を検出した時点で、図4のステップS101において追跡部11が近傍追跡点なしと判定した場合、ステップS202において追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図7に示す追跡点情報42aに設定する。
First, when the
次に、ステップS103及び図5のステップS202において、判定部13は、追跡フレーム数32が閾値フレーム数Md(=3)に達していないと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図7に示す追跡点情報42bに設定する。
Next, in step S103 and step S202 of FIG. 5, the
次に、検出部10がフレーム41bの指示位置の座標(49,101)を検出した時点で、ステップS101において追跡部11が近傍追跡点ありと判定し、追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図7に示す追跡点情報42cに設定する。
Next, when the
次に、ステップS103及びステップS202において、判定部13は、追跡フレーム数32が閾値フレーム数Md(=3)に達していないと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図7に示す追跡点情報42dに設定する。
Next, in step S103 and step S202, the
次に、検出部10がフレーム41cの指示位置の座標(51,102)を検出した時点で、ステップS101において追跡部11が近傍追跡点ありと判定し、追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図7に示す追跡点情報42eに設定する。
Next, when the
次に、ステップS103、ステップS202及びステップS203において、判定部13が、追跡フレーム数32が閾値フレーム数Md(=3)に到達したと判定し、且つ、追跡点情報42eの現在フレーム座標33及び過去フレーム座標34のうち、設定状態の数が閾値フレーム数Nd(=2)に到達したと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図7に示す追跡点情報42fに設定する。
Next, in step S103, step S202, and step S203, the
(具体例2)
図8は、本発明の実施の形態1における座標処理装置100で実行される座標処理によるダウン確定の他の一例を説明するための図である。ここでは、閾値フレーム数Mdを3、閾値フレーム数Ndを2として説明する。
(Specific example 2)
FIG. 8 is a diagram for explaining another example of the down determination by the coordinate processing executed by the coordinate
図8においては、フレーム51a、フレーム51b、フレーム51cは、時間的に連続する3つのフレームを表わしており、各フレームの中に示す×印と座標は、各フレームにおいて、検出部10により検出された指示位置の座標を表わす。また、点線の×印は過去のフレームで検出された指示位置の座標を示しており、現在のフレームでその指示位置の座標近傍に新たな指示位置が存在しない状態を表わす。さらに、図8においては、座標情報記憶部12に記憶されている追跡点情報122の現在の状態31、追跡フレーム数32、現在フレーム座標33及び過去フレーム座標34が、フレーム51a〜51cに対応して時間的に変化していく様子が表わされている(52a〜52f)。
In FIG. 8, a
まず、検出部10がフレーム51aの指示位置の座標(50,100)を検出した時点で、図4のステップS101において追跡部11が近傍追跡点なしと判定した場合、ステップS202において追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図8に示す追跡点情報52aに設定する。
First, when the
次に、ステップS103及び図5のステップS202において、判定部13は、追跡フレーム数32が閾値フレーム数Md(=3)に達していないと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図8に示す追跡点情報52bに設定する。
Next, in step S103 and step S202 of FIG. 5, the
次に、検出部10が新たな指示入力を検出しなかった時点で、図4のステップS105において判定部13が未判定の追跡点ありと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図8に示す追跡点情報52cに設定する。
Next, when the
次に、ステップS106、ステップS202及びステップS203において、判定部13は、追跡フレーム数32が閾値フレーム数Md(=3)に達していないと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図8に示す追跡点情報52dに設定する。
Next, in step S106, step S202, and step S203, the
次に、検出部10がフレーム51cの指示位置の座標(51,102)を検出した時点で、ステップS101において追跡部11が近傍追跡点ありと判定し、追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図8に示す追跡点情報52eに設定する。
Next, when the
次に、ステップS103、ステップS202及びステップS203において、判定部13が、追跡フレーム数32が閾値フレーム数Md(=3)に到達したと判定し、且つ、追跡点情報52eの現在フレーム座標33及び過去フレーム座標34のうち、設定状態の数が閾値フレーム数Nd(=2)に到達したと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図8に示す追跡点情報52fに設定する。
Next, in step S103, step S202, and step S203, the
(具体例3)
図9は、本発明の実施の形態1における座標処理装置100で実行される座標処理による誤検出回避の一例を説明するための図である。ここでは、閾値フレーム数Mdを3、閾値フレーム数Ndを2として説明する。
(Specific example 3)
FIG. 9 is a diagram for describing an example of avoiding erroneous detection by coordinate processing executed by the coordinate
図9においては、フレーム61a、フレーム61b、フレーム61cは、時間的に連続する3つのフレームを表わしており、各フレームの中に示す×印と座標は、各フレームにおいて、検出部10により検出された指示位置の座標を表わす。また、点線の×印は過去のフレームで検出された指示位置の座標を示しており、現在のフレームでその指示位置の座標近傍に新たな指示位置が存在しない状態を表わす。さらに、図9においては、座標情報記憶部12に記憶されている追跡点情報122の現在の状態31、追跡フレーム数32、現在フレーム座標33及び過去フレーム座標34が、フレーム61a〜61cに対応して時間的に変化していく様子が表わされている(62a〜62f)。
In FIG. 9, a
まず、検出部10がフレーム61aの指示位置の座標(50,100)を検出した時点で、図4のステップS101において追跡部11が近傍追跡点なしと判定した場合、ステップS202において追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図9に示す追跡点情報62aに設定する。
First, when the
次に、ステップS103及び図5のステップS202において、判定部13は、追跡フレーム数32が閾値フレーム数Md(=3)に達していないと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図9に示す追跡点情報62bに設定する。
Next, in step S103 and step S202 of FIG. 5, the
次に、検出部10が新たな指示入力を検出しなかった時点で、図4のステップS105において判定部13が未判定の追跡点ありと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図9に示す追跡点情報62cに設定する。
Next, when the
次に、ステップS106、ステップS202及びステップS203において、判定部13は、追跡フレーム数32が閾値フレーム数Md(=3)に達していないと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図9に示す追跡点情報62dに設定する。
Next, in step S106, step S202, and step S203, the
次に、検出部10が新たな指示入力を検出しなかった時点で、図4のステップS105において判定部13が未判定の追跡点ありと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図9に示す追跡点情報62eに設定する。
Next, when the
次に、ステップS103、ステップS202及びステップS203において、判定部13が、追跡フレーム数32が閾値フレーム数Md(=3)に到達したと判定し、且つ、追跡点情報52eの現在フレーム座標33及び過去フレーム座標34のうち、設定状態の数が閾値フレーム数Nd(=2)に未達であると判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図9に示す追跡点情報62fに設定する。
Next, in step S103, step S202, and step S203, the
(具体例4)
図10は、本発明の実施の形態1における座標処理装置100で実行される座標処理によるムーブ継続の一例を説明するための図である。
(Specific example 4)
FIG. 10 is a diagram for explaining an example of continuation of a move by coordinate processing executed by the coordinate
図10においては、フレーム71がダウン確定後のムーブ中のフレームを表わしており、フレーム71中に示す×印と座標は、フレーム71において、検出部10により検出された指示位置の座標を表わす。また、点線の×印は前フレームで検出された指示位置の座標(51,102)を表わす。また、図10においては、座標情報記憶部12に記憶されている追跡点情報122の現在の状態31、追跡フレーム数32、現在フレーム座標33及び過去フレーム座標34が、フレーム71に対応して時間的に変化していく様子が表わされている(72a〜72b)。
In FIG. 10, the
まず、検出部10がフレーム71の指示位置の座標(30,150)を検出した時点で、図4のステップS101において追跡部11が近傍追跡点なしと判定した場合、ステップS202において追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図10に示す追跡点情報72aに設定する。
First, when the
次に、ステップS103及び図5のステップS207において、判定部13は、現在フレーム座標33があると判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図9に示す追跡点情報72bに設定する。
Next, in step S103 and step S207 of FIG. 5, the
(具体例5)
図11は、本発明の実施の形態1における座標処理装置100で実行される座標処理によるアップ確定の一例を説明するための図である。ここでは、閾値フレーム数Nuを2として説明する。
(Specific example 5)
FIG. 11 is a diagram for explaining an example of up determination by coordinate processing executed by the coordinate
図11においては、フレーム81a、フレーム81bは、時間的に連続する2つのフレームを表わしており、各フレームの中に示す点線の×印は過去のフレームで検出された指示位置の座標を示しており、現在のフレームでその指示位置の座標近傍に新たな指示位置が存在しない状態を表わす。さらに、図11においては、座標情報記憶部12に記憶されている追跡点情報122の現在の状態31、追跡フレーム数32、現在フレーム座標33及び過去フレーム座標34が、フレーム81a、81bに対応して時間的に変化していく様子が表わされている(82a〜82d)。
In FIG. 11, a
まず、検出部10が新たな指示入力を検出しなかった時点で、図4のステップS105において判定部13が未判定の追跡点ありと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図11に示す追跡点情報82aに設定する。
First, when the
次に、ステップS106及びステップS207において、判定部13は、現在フレーム座標33が未設定状態であると判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図11に示す追跡点情報82bに設定する。
Next, in step S106 and step S207, the
次に、検出部10が新たな指示入力を検出しなかった時点で、図4のステップS105において判定部13が未判定の追跡点ありと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図11に示す追跡点情報82cに設定する。
Next, when the
次に、ステップS106、ステップS210及びステップS211において、判定部13が、現在フレーム座標33がないと判定し、且つ、現在フレーム座標33及び過去フレーム座標34のうち、未設定状態の数が閾値フレーム数Nu(=2)に到達したと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図11に示す追跡点情報82dに設定する。
Next, in step S106, step S210, and step S211, the
(具体例6)
図12は、本発明の実施の形態1における座標処理装置100で実行される座標処理によるムーブ復帰の一例を説明するための図である。ここでは、閾値フレーム数Nuを2として説明する。
(Specific example 6)
FIG. 12 is a diagram for explaining an example of move return by coordinate processing executed by the coordinate
図12においては、フレーム91a、フレーム91bは、時間的に連続する2つのフレームを表わしており、フレーム91bの中に示す×印と座標は、検出部10により検出された指示位置の座標を表わす。また、フレーム91aの中に示す点線の×印は過去のフレームで検出された指示位置の座標を示しており、現在のフレームでその指示位置の座標近傍に新たな指示位置が存在しない状態を表わす。さらに、図12においては、座標情報記憶部12に記憶されている追跡点情報122の現在の状態31、追跡フレーム数32、現在フレーム座標33及び過去フレーム座標34が、フレーム91a、91bに対応して時間的に変化していく様子が表わされている(92a〜92d)。
In FIG. 12, a
まず、検出部10が新たな指示入力を検出しなかった時点で、図4のステップS105において判定部13が未判定の追跡点ありと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図12に示す追跡点情報92aに設定する。
First, when the
次に、ステップS103及び図5のステップS207において、判定部13は、現在フレーム座標33は無いと判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図12に示す追跡点情報92bに設定する。
Next, in step S103 and step S207 of FIG. 5, the
次に、検出部10がフレーム91bの指示位置の座標(31,151)を検出した時点で、ステップS101において追跡部11が近傍追跡点ありと判定し、追跡部11は座標情報記憶部12に記憶されている追跡点情報122を図12に示す追跡点情報92cに設定する。
Next, when the
次に、ステップS103及び図5のステップS210において、判定部13は、現在フレーム座標33があると判定し、判定部13は座標情報記憶部12に記憶されている追跡点情報122を図12に示す追跡点情報92dに設定する。
Next, in step S103 and step S210 of FIG. 5, the
以上説明したように、本発明の実施の形態1における座標処理装置100によれば、タッチパネルを装着した装置のノイズによる誤検出や検出漏れが発生した場合でも、ドラッグ操作や回転操作、拡大/縮小操作等の連続動作を正しく動作させることができる。また、利用者が意図せずタッチパネル装置に触れてしまったことによってタッチ検出が行われた場合や、タッチパネル装置への押圧が弱く検出漏れが発生した場合にでも、意図しない誤検出や検出漏れを低減することができ、その結果、ドラッグ操作や回転操作、拡大操作等の連続動作を正しく動作させることができる。
As described above, according to the coordinate
なお、本発明の実施の形態1においては、利用者によるタッチパネル500への指示入力を行なうための指示物として、指やペンなどがタッチパネル500にタッチ(接触)、ムーブ(接触して移動)、アップ(接触移動後にリリース)する場合を前提とするものであるが、本発明はこれに限るものではない。例えば、タッチパネル500が光センサを備えている場合に、LEDペンなど発光可能な指示物を用いて光入力の有無で制御することにより、タッチを光入力開始、ムーブを光入力継続、アップを光入力終了と対応付けて適用することができる。
In the first embodiment of the present invention, as an instruction for a user to input an instruction to touch
また、タッチパネル500が熱センサを備えている場合に、発熱ペンなど発熱可能な指示物を用いて熱入力の有無で制御することにより、タッチを熱入力開始、ムーブを熱入力継続、アップを熱入力終了と対応付けて適用することができる。
In addition, when the
さらに、タッチパネル500が音センサを備えている場合に、ペンスピーカなど音波発生可能な指示物を用いて音入力の有無で制御することにより、タッチを音入力開始、ムーブを音入力継続、アップを音入力終了と対応付けて適用することができる。
Further, when the
すわなち、上述の通り、指示物は、指やペンに限定されるものではなく、光、熱、音などの様々な場合が考えられる。また、イベントについても、タッチパネル500に接触する場合に限定されるものではなく、非接触のままの場合においても、各種イベントを対応付けることにより、誤検出や検出漏れに対してロバストな座標処理(イベント判定処理)が可能となる。
That is, as described above, the pointing object is not limited to a finger or a pen, and various cases such as light, heat, and sound can be considered. Also, the event is not limited to the case of touching the
なお、本発明の実施の形態1においては、ダウン、ムーブ、アップのイベントと対応付けて、追跡点の識別子と座標を出力する場合について説明したが、識別子と座標の両者を必ずしも出力する必要はなく、例えば、アプリケーションプログラムなどのイベント出力情報を用いて処理するプログラムや装置などに応じて、イベントのみ、または、イベントと識別子、イベントと座標、といった組み合わせを出力するようにしてもよい。 In the first embodiment of the present invention, the case where the tracking point identifier and coordinates are output in association with the down, move and up events has been described. However, it is not necessary to output both the identifier and the coordinates. Instead, for example, according to a program or apparatus that uses event output information such as an application program, only the event or a combination of an event and an identifier, an event and a coordinate may be output.
また、本発明の実施の形態1においては、ダウンを判定する際に、追跡フレーム数32が閾値フレーム数Mdに達した時点で、その座標に対応する追跡点情報122の現在フレーム座標33及び過去フレーム座標34のうち、設定状態の数が閾値フレーム数Nd以上の時に、ダウンを確定する場合について説明したが、追跡フレーム数32が閾値フレーム数Mdに到達するのを待たずに、ダウンを判定してもよい。例えば、追跡点情報122の現在フレーム座標33及び過去フレーム座標34のうち、設定状態の数が閾値フレーム数Ndに達した時点で、ダウンを確定するようにしてもよい。
In the first embodiment of the present invention, when the down is determined, when the number of tracking frames 32 reaches the threshold frame number Md, the current frame coordinates 33 and the past of the
また、本発明の実施の形態1における座標処理装置100は、集積回路などを用いたハードウェアにより実施してもよいし、CPUなどを用いたソフトウェアにより実施してもよい。
The coordinate
本発明の実施の形態1における座標処理装置100をハードウェアで実施する場合は、座標処理装置100の各部を個別に1チップ化された集積回路としてもよいし、一部又はすべてを含むように1チップ化された集積回路としてもよい。また、それら集積回路は、専用回路又は汎用プロセッサーで実現してもよい。例えば、半導体チップを製造した後、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、集積回路内部のセルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサーを利用してもよい。
When the coordinate
(実施の形態2)
次に、本発明の実施の形態2について説明する。本発明の実施の形態2では、上記の座標処理装置100の座標処理をソフトウェアで実施する実施の形態について説明する。以下、図面を用いてその構成を説明する。
(Embodiment 2)
Next, a second embodiment of the present invention will be described. In the second embodiment of the present invention, an embodiment in which the coordinate processing of the coordinate
図13は、本発明の実施の形態2におけるコンピュータシステムの構成を示すブロック図である。以下、実施の形態1と同様の部分については、同一符号を付し、その詳細な説明は省略する。 FIG. 13 is a block diagram showing a configuration of a computer system according to Embodiment 2 of the present invention. Hereinafter, the same parts as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.
図13において、コンピュータシステム200は、各種プログラムの命令を処理するCPU201と、ROM202と、RAM203と、タッチパネル500からの信号を受信し、座標処理結果を送信するために外部との通信を行なうI/F部204と、光ディスク301が挿入される光ディスクドライブ205と、磁気ディスク302が挿入される磁気ディスクドライブ206と、バス207と、座標情報記憶部12と、設定部15と、第1閾値記憶部16と、第2閾値記憶部17と、を備えている。なお、コンピュータシステム200はさらに、ローカルエリアネットワーク(LAN)への接続を提供するネットワークアダプタボードを含んでもよい。
In FIG. 13, a computer system 200 receives signals from a
CPU201、ROM202及びRAM203は、上記の座標処理をするものであり、座標処理プログラムにより、タッチパネル500から出力される信号の検出、その検出信号に基づく信号処理などを行ない、検出部10、追跡部11、判定部13、生成部14などとして機能する。
The
コンピュータシステム200に座標処理装置100の機能を実現させるための座標処理プログラムは、光ディスクドライブ205又は磁気ディスクドライブ206に挿入される光ディスク301又は磁気ディスク302に記憶され、光ディスク301または磁気ディスク302から、又はネットワークを介して、直接にRAM203にプログラムをロードしてもよい。
A coordinate processing program for causing the computer system 200 to realize the function of the coordinate
このプログラムは、コンピュータシステム200に座標処理装置100の機能を実現させる複数の命令を含む。これら機能を実現させるのに必要な基本的機能のいくつかはコンピュータシステム200上で動作するオペレーティングシステム(OS)又はサードパーティのプログラム、若しくはコンピュータシステム200にインストールされる各種ツールキットのモジュールにより提供される。したがって、このプログラムは座標処理装置100の機能を実現するのに必要な機能全てを必ずしも含まなくてよい。このプログラムは、命令のうち、所望の結果が得られるように制御されたやり方で適切な機能又は「ツール」を呼出すことにより座標処理装置100の制御を実行する命令のみを含んでいればよい。コンピュータシステム200の動作は周知であるので、ここでは繰り返さない。
This program includes a plurality of instructions that cause the computer system 200 to realize the functions of the coordinate
なお、座標処理装置100の機能を実現するためのプログラムが記録される記録媒体は、CD−ROM(コンパクトディスク読取専用メモリ)、MO(Magneto−Optical disc)、MD(Mini Disc)、及びDVD(Digital Versatile Disc)等の光ディスク301、FD(フレキシブルディスク)及びハードディスク等の磁気ディスク302に限らない。磁気テープ及びカセットテープ等のテープ、IC(Integrated Circuit)カード及び光カード等のカード型記録媒体、並びにマスクROM、EPROM(Erasable Programable ROM)、EEPROM(Electrically Erasable Programable ROM)、及びフラッシュROM等の半導体メモリのいずれかでもよい。また、専用のLSIとコンピュータやマイクロプロセッサとを組み合わせてもよく、一部または全てを一つの専用のLSIとして構成してもよい。
Note that recording media on which programs for realizing the functions of the coordinate
なお、本発明は、上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims, and the technical means disclosed in different embodiments can be appropriately combined. Such embodiments are also included in the technical scope of the present invention.
なお、本発明は、以下のようにも表現することができる。すなわち、本発明における座標処理装置は、時系列のフレーム間の点の対応関係を追跡し、前記追跡結果に基づいて座標情報を出力する座標処理装置であって、指示物による座標入力を受け付ける座標入力部と、1つまたは複数入力される座標情報の各々について、追跡点を追跡する座標追跡手段と、追跡点に関する情報を記憶する追跡点記憶手段と、追跡点の状態と、座標情報とから、判定した前記追跡点の状態遷移の結果に応じて、前記座標入力部と、指示対象を指示する指示物との位置関係によって規定されるイベント種別を判定する状態遷移判定手段と、座標情報を出力する座標出力手段とを備える。 The present invention can also be expressed as follows. That is, the coordinate processing device according to the present invention is a coordinate processing device that tracks the correspondence between points in time-series frames and outputs coordinate information based on the tracking result, and accepts coordinate input by an indicator. For each of the input unit, one or a plurality of input coordinate information, a coordinate tracking unit that tracks the tracking point, a tracking point storage unit that stores information about the tracking point, the state of the tracking point, and the coordinate information State transition determination means for determining an event type defined by the positional relationship between the coordinate input unit and the pointing object that indicates the pointing target according to the determined state transition result of the tracking point, and coordinate information. Coordinate output means for outputting.
前記状態遷移判定手段は、現在フレームの座標情報と、1つ以上の過去フレームの座標情報とに基づいて、座標情報の確定を判定することが好ましい。 It is preferable that the state transition determination unit determines the determination of the coordinate information based on the coordinate information of the current frame and the coordinate information of one or more past frames.
前記状態遷移判定手段が遷移を判定する状態の種類は、追跡点の確定を判定するためのダウン監視状態、または追跡点の継続に対応するムーブ状態、または追跡点の消失確定を判定するためのアップ監視状態のいずれかを含むことが好ましい。 The type of state for which the state transition determination means determines the transition is a down monitoring state for determining the tracking point, a move state corresponding to continuation of the tracking point, or a tracking point disappearance determination Preferably any of the up-monitoring states are included.
前記状態遷移判定手段は、前記追跡点の状態遷移の判定結果に応じて、追跡点の確定を意味するダウンイベント、または追跡点の継続を意味するムーブイベント、または追跡点の消失確定を意味するアップイベント、またはイベントなし、のいずれかを含むイベント出力を判定することが好ましい。 The state transition determination means means a down event that means confirmation of the tracking point, a move event that means continuation of the tracking point, or confirmation of disappearance of the tracking point according to the determination result of the state transition of the tracking point. It is preferable to determine an event output that includes either an up event or no event.
前記状態遷移判定手段は、前記ダウン監視状態から前記ムーブ状態に状態遷移する際に、前記ダウンイベント出力を決定することが好ましい。 Preferably, the state transition determination unit determines the down event output when the state transition is performed from the down monitoring state to the move state.
前記状態遷移判定手段は、前記ダウン監視状態において、所定のフレーム数の過去フレーム座標情報を蓄積し、且つ前記過去フレーム座標情報の中で、近傍座標情報が所定のフレーム数以上存在する場合に、前記ムーブ状態に状態遷移することが好ましい。 In the down monitoring state, the state transition determination unit accumulates a predetermined number of frames of past frame coordinate information, and in the past frame coordinate information, when there are more than a predetermined number of neighboring coordinate information, It is preferable that the state transition to the move state.
前記状態遷移判定手段は、前記ムーブ状態から前記ムーブ状態に自己遷移、すなわち自己ループする際、または前記ダウン監視状態から前記ムーブ状態に状態遷移する際に、前記ムーブイベント出力を決定することが好ましい。 It is preferable that the state transition determination unit determines the move event output when self-transitioning from the move state to the move state, that is, when making a self-loop, or transitioning from the down monitoring state to the move state. .
前記状態遷移判定手段は、前記ムーブ状態において、直前フレームの座標と現在フレームの座標が近傍と認められる際に、前記ムーブ状態に自己遷移することが好ましい。 It is preferable that the state transition determination means self-transitions to the move state when the coordinates of the immediately preceding frame and the coordinates of the current frame are recognized as being close in the move state.
前記状態遷移判定手段は、前記アップ監視状態において追跡点の消失が確定した際に、前記アップイベント出力を決定することが好ましい。 The state transition determination means preferably determines the up event output when the disappearance of the tracking point is determined in the up monitoring state.
前記状態遷移判定手段は、前記アップ監視状態において、所定のフレーム数の過去フレーム座標情報を蓄積し、且つ前記蓄積した過去フレーム座標情報の全てが、近傍に検出座標がないことを示す座標情報である際に、追跡点の消失を確定することが好ましい。 The state transition determination means accumulates a predetermined number of past frame coordinate information in the up-monitoring state, and all of the accumulated past frame coordinate information is coordinate information indicating that there is no detected coordinate in the vicinity. In some cases, it is preferable to determine the disappearance of the tracking point.
本発明は、タッチパネル、タッチスクリーン、タブレットなどの複数点のタッチ入力が可能な表示パネルを備えた直感的な操作性を有する携帯機器に適用することができる。 The present invention can be applied to a portable device having an intuitive operability including a display panel capable of touch input at a plurality of points, such as a touch panel, a touch screen, and a tablet.
10 検出部
11 追跡部(追跡手段)
12 座標情報記憶部
13 判定部(判定手段)
14 生成部
15 設定部
16 第1閾値記憶部
17 第2閾値記憶部
121 フレーム情報
122 追跡点情報
201 CPU
202 ROM
203 RAM
204 I/F部
205 光ディスクドライブ
206 磁気ディスクドライブ
207 バス
301 光ディスク
302 磁気ディスク
10
12 Coordinate
14
202 ROM
203 RAM
204 I /
Claims (11)
前記利用者の指示入力の状態としてあらかじめ定義された、前記指示入力の開始待機状態である第1の状態、前記指示入力により移動する指示位置の移動状態である第2の状態、及び、前記指示入力の終了待機状態である第3の状態、を含む複数の状態間における状態遷移を前記追跡手段による追跡結果に基づいて判定し、その判定された状態遷移が行なわれるときに実行される前記利用者の指示入力の動作を決定する判定手段と
を備えていることを特徴とする座標処理装置。 A tracking unit that arranges coordinate points represented by coordinates of an instruction position to be moved by an instruction input by a user on a continuous frame in time series, and tracks a correspondence between coordinate points between the frames;
A first state that is a standby state for starting the instruction input, a second state that is a movement state of an instruction position that is moved by the instruction input, and the instruction, which are defined in advance as a state of the user's instruction input; The use executed when a state transition between a plurality of states including a third state that is an input end standby state is determined based on a tracking result by the tracking unit and the determined state transition is performed A coordinate processing apparatus comprising: determination means for determining an instruction input operation by a person.
前記利用者の指示入力の状態としてあらかじめ定義された、前記指示入力の開始待機状態である第1の状態、前記指示入力により移動する指示位置の移動状態である第2の状態、及び、前記指示入力の終了待機状態である第3の状態、を含む複数の状態間における状態遷移を前記追跡工程による追跡結果に基づいて判定し、その判定された状態遷移が行なわれるときに実行される前記利用者の指示入力の動作を決定する判定工程と
を備えていることを特徴とする座標処理方法。 A tracking step of arranging coordinate points represented by coordinates of an instruction position to be moved by an instruction input of a user on a frame that is continuous in time series, and tracking an association of coordinate points between the frames;
A first state that is a standby state for starting the instruction input, a second state that is a movement state of an instruction position that is moved by the instruction input, and the instruction, which are defined in advance as a state of the user's instruction input; The use executed when a state transition between a plurality of states including a third state which is an input end standby state is determined based on a tracking result by the tracking step and the determined state transition is performed A coordinate processing method comprising: a determination step for determining an instruction input operation of the person.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008212860A JP2010049469A (en) | 2008-08-21 | 2008-08-21 | Coordinate processing apparatus and method, coordinate processing program, and computer readable recording medium with the coordinate processing program recorded thereon |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008212860A JP2010049469A (en) | 2008-08-21 | 2008-08-21 | Coordinate processing apparatus and method, coordinate processing program, and computer readable recording medium with the coordinate processing program recorded thereon |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010049469A true JP2010049469A (en) | 2010-03-04 |
Family
ID=42066507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008212860A Pending JP2010049469A (en) | 2008-08-21 | 2008-08-21 | Coordinate processing apparatus and method, coordinate processing program, and computer readable recording medium with the coordinate processing program recorded thereon |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010049469A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011232821A (en) * | 2010-04-23 | 2011-11-17 | Toshiba Tec Corp | Coordinate input device and program |
JP2012068710A (en) * | 2010-09-21 | 2012-04-05 | Aisin Aw Co Ltd | Touch panel type operation apparatus, operation method of touch panel and computer program |
JP2013084223A (en) * | 2011-10-12 | 2013-05-09 | Fuji Xerox Co Ltd | Touch detection device, recording display device, and program |
JP2013152593A (en) * | 2012-01-25 | 2013-08-08 | Aisin Aw Co Ltd | Image display device, image display method and computer program |
WO2014136380A1 (en) * | 2013-03-04 | 2014-09-12 | 株式会社デンソー | Touch panel operation device and method for determining operation event on touch panel operation device |
US9857878B2 (en) | 2014-12-26 | 2018-01-02 | Samsung Electronics Co., Ltd. | Method and apparatus for processing gesture input based on elliptical arc and rotation direction that corresponds to gesture input |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0683524A (en) * | 1992-09-04 | 1994-03-25 | Fujitsu Ltd | Pen input system |
-
2008
- 2008-08-21 JP JP2008212860A patent/JP2010049469A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0683524A (en) * | 1992-09-04 | 1994-03-25 | Fujitsu Ltd | Pen input system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011232821A (en) * | 2010-04-23 | 2011-11-17 | Toshiba Tec Corp | Coordinate input device and program |
JP2012068710A (en) * | 2010-09-21 | 2012-04-05 | Aisin Aw Co Ltd | Touch panel type operation apparatus, operation method of touch panel and computer program |
JP2013084223A (en) * | 2011-10-12 | 2013-05-09 | Fuji Xerox Co Ltd | Touch detection device, recording display device, and program |
JP2013152593A (en) * | 2012-01-25 | 2013-08-08 | Aisin Aw Co Ltd | Image display device, image display method and computer program |
WO2014136380A1 (en) * | 2013-03-04 | 2014-09-12 | 株式会社デンソー | Touch panel operation device and method for determining operation event on touch panel operation device |
JP2014170390A (en) * | 2013-03-04 | 2014-09-18 | Denso Corp | Touch panel operation device, and operation event determination method of the same |
CN105190491A (en) * | 2013-03-04 | 2015-12-23 | 株式会社电装 | Touch panel operation device and method for determining operation event on touch panel operation device |
US9720593B2 (en) | 2013-03-04 | 2017-08-01 | Denso Corporation | Touch panel operation device and operation event determination method in touch panel operation device |
CN105190491B (en) * | 2013-03-04 | 2018-04-03 | 株式会社电装 | Action Events decision method in touch panel operation device and the device |
US9857878B2 (en) | 2014-12-26 | 2018-01-02 | Samsung Electronics Co., Ltd. | Method and apparatus for processing gesture input based on elliptical arc and rotation direction that corresponds to gesture input |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9557852B2 (en) | Method of identifying palm area of a touch panel and a updating method thereof | |
JP5310389B2 (en) | Information processing apparatus, information processing method, and program | |
JP5841590B2 (en) | Information input device and information input method | |
JP5304544B2 (en) | Information processing apparatus, information processing method, and program | |
TWI478015B (en) | Method for controlling electronic apparatus and apparatus and computer program product using the method | |
CN102375597B (en) | Signal conditioning package and information processing method | |
CN104007932A (en) | Touch point recognition method and device | |
TW201520864A (en) | Graphics editing method and electronic device using the same | |
JP2010049469A (en) | Coordinate processing apparatus and method, coordinate processing program, and computer readable recording medium with the coordinate processing program recorded thereon | |
JP6410537B2 (en) | Information processing apparatus, control method therefor, program, and storage medium | |
TWI389014B (en) | Touchpad detection method | |
US8743061B2 (en) | Touch sensing method and electronic device | |
KR20140039342A (en) | Gesture on touch sensitive input devices for closing a window or an application | |
US20100090976A1 (en) | Method for Detecting Multiple Touch Positions on a Touch Panel | |
JP2008159032A (en) | Operation control method and system | |
CN104571852A (en) | Icon moving method and device | |
US20140351725A1 (en) | Method and electronic device for operating object | |
US20120124526A1 (en) | Method for continuing a function induced by a multi-touch gesture on a touchpad | |
CN103809903B (en) | Method and apparatus for controlling virtual screen | |
TWI525497B (en) | Electronic device, processing module, and method for detecting touch trace starting beyond touch area | |
WO2018218392A1 (en) | Touch operation processing method and touch keyboard | |
KR101210538B1 (en) | Apparatus and method of interface for mobile device, and recording medium for the same | |
US20130050094A1 (en) | Method and apparatus for preventing malfunction of touchpad in electronic device | |
US20140184537A1 (en) | Touch control device and touch control processing method | |
JP2009129034A (en) | Object moving device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100826 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111213 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120403 |