JPH11161427A - Data input device and coordinate conversion method applied to the data input device - Google Patents
Data input device and coordinate conversion method applied to the data input deviceInfo
- Publication number
- JPH11161427A JPH11161427A JP32445997A JP32445997A JPH11161427A JP H11161427 A JPH11161427 A JP H11161427A JP 32445997 A JP32445997 A JP 32445997A JP 32445997 A JP32445997 A JP 32445997A JP H11161427 A JPH11161427 A JP H11161427A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- touch panel
- coordinate
- conversion coefficient
- calculating
- 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.)
- Granted
Links
Landscapes
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
(57)【要約】
【課題】タッチパネルに対するユーザの入力指示に基づ
いて、変換係数(キャリブレーション)のずれを検出
し、自動的に補正できるようにして、常に正確な座標変
換処理を実現することにある。
【解決手段】タッチパネル式のデータ入力装置におい
て、キャリブレーション機能を有する装置である。本装
置は、タッチパネル1の入力操作範囲とスクリーン2の
表示範囲とが一致している構成を前提として、タッチパ
ネル1への入力指示に応じて座標変換処理により得られ
た当該スクリーン座標値がスクリーン2の表示範囲内に
含まれているか否かを判定する手段を有する(ステップ
S2)。当該スクリーン座標値がスクリーン2の表示範
囲外の場合に、スクリーン2の表示範囲内の所定の基準
位置からのずれ量に対応する変換係数のずれ情報を算出
する(ステップS4,S5)。
(57) [Summary] [Problem] To always realize accurate coordinate conversion processing by detecting a deviation of a conversion coefficient (calibration) based on a user's input instruction to a touch panel and automatically correcting the deviation. It is in. A touch panel type data input device having a calibration function. This apparatus assumes that the input operation range of the touch panel 1 and the display range of the screen 2 match each other, and the screen coordinate values obtained by the coordinate conversion process in response to the input instruction to the touch panel 1 are displayed on the screen 2. (Step S2). When the screen coordinate value is outside the display range of the screen 2, the shift information of the conversion coefficient corresponding to the shift amount from the predetermined reference position within the display range of the screen 2 is calculated (steps S4 and S5).
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば携帯型情報
端末装置などに使用されているタッチパネル式データ入
力装置に関し、特にタッチパネル座標とスクリーン座標
との整合性を得るための座標変換方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a touch panel type data input device used in, for example, a portable information terminal device, and more particularly to a coordinate conversion method for obtaining consistency between touch panel coordinates and screen coordinates.
【0002】[0002]
【従来の技術】近年、PDA(Personal Da
ta Assistants)と呼ばれる携帯型情報端
末装置が開発されている。このPDAのデータ入力装置
としては、タッチパネル式入力装置が一般的になってい
る。このタッチパネル式入力装置は、図11に示すよう
に、透明電極を有するタッチパネル1と液晶パネルなど
の表示画面を構成するスクリーン2とを重ね合わせて構
成されている。2. Description of the Related Art In recent years, PDAs (Personal Das) have been developed.
ta Assistants) have been developed. As a data input device of the PDA, a touch panel type input device is generally used. As shown in FIG. 11, the touch panel type input device is configured by superposing a touch panel 1 having a transparent electrode and a screen 2 constituting a display screen such as a liquid crystal panel.
【0003】タッチパネル式入力装置の動作原理は、ユ
ーザがペンなどによりタッチパネル1上を押圧すると、
その押した入力位置(入力指示の位置)に応じた電圧値
を生成して、当該電圧値をディジタル値に変換して当該
入力指示の座標(以下タッチパネル座標と呼ぶ)を算出
する方式である。The principle of operation of a touch panel type input device is that when a user presses the touch panel 1 with a pen or the like,
In this method, a voltage value corresponding to the pressed input position (the position of the input instruction) is generated, the voltage value is converted into a digital value, and the coordinates of the input instruction (hereinafter referred to as touch panel coordinates) are calculated.
【0004】一方、スクリーン2上には、データ入力操
作に必要なボタン、ウインドウ、アイコンなど(オブジ
ェクトと総称する)が表示される。PDAのCPUは、
ユーザにより入力指示されたタッチパネル座標に対応す
るスクリーン2上の表示座標(以下スクリーン座標と呼
ぶ)に表示されたオブジェクトに基づいた入力操作を実
行する。従って、タッチパネル式入力装置では、タッチ
パネル1とスクリーン2との整合性を得るために、タッ
チパネル座標からスクリーン座標への座標変換処理が必
要となる。この座標変換処理では、変換に必要な変換係
数(キャリブレーション係数)を算出するための処理
(キャリブレーションと呼ばれる)が必要である。On the screen 2, buttons, windows, icons, and the like (collectively referred to as objects) necessary for a data input operation are displayed. The CPU of the PDA is
An input operation is performed based on the object displayed at the display coordinates (hereinafter referred to as screen coordinates) on the screen 2 corresponding to the touch panel coordinates specified by the user. Therefore, in the touch panel input device, a coordinate conversion process from the touch panel coordinates to the screen coordinates is required in order to obtain consistency between the touch panel 1 and the screen 2. In this coordinate conversion process, a process (called calibration) for calculating a conversion coefficient (calibration coefficient) required for the conversion is required.
【0005】具体的には、キャリブレーションとは、以
下の式(1)において、タッチパネル座標とスクリーン
座標の組の集合({(xT1,yT1,xS1,yS1),(x
T2,yT2,xS2,yS2),…,(xTn,yTn,xSn,y
Sn)})から変換係数a11,a12,a13,a21,a22,
a23を算出することである。More specifically, the calibration means a set (、 ( xT1 , yT1 , xS1 , yS1 ), ( xS1 ) of a set of touch panel coordinates and screen coordinates in the following equation (1).
T2, y T2, x S2, y S2), ..., (x Tn, y Tn, x Sn, y
Sn )}), the conversion coefficients a11, a12, a13, a21, a22,
a23.
【0006】[0006]
【数1】 (Equation 1)
【0007】キャリブレーションの処理ステップは、図
13のフローチャートに示すように、スクリーン2上に
入力位置に相当する十字を表示する(ステップS3
0)。この十字は、図12に示すように、タッチパネル
1上の入力位置として表示される。ユーザがペンなどに
よりタッチパネル1上の十字の位置に指示することによ
り、当該入力指示に応じたタッチパネル座標値をメモリ
などに保存する(ステップS31,S32)。このタッ
チパネル座標値を所定数だけ取得した後に、前記式
(1)を満足する変換係数を算出する(ステップS3
3,S34)。即ち、ユーザがタッチパネル1上にタッ
チパネル座標(xTn,yTn)とスクリーン座標(xSn,
ySn)との組を順に指示することにより、変換係数a1
1,a12,a13,a21,a22,a23を算出する。In the calibration processing step, as shown in the flowchart of FIG. 13, a cross corresponding to the input position is displayed on the screen 2 (step S3).
0). This cross is displayed as an input position on the touch panel 1 as shown in FIG. When the user instructs the position of the cross on the touch panel 1 with a pen or the like, the touch panel coordinate values corresponding to the input instruction are stored in a memory or the like (steps S31 and S32). After obtaining a predetermined number of the touch panel coordinate values, a conversion coefficient that satisfies the expression (1) is calculated (step S3).
3, S34). That is, the user touches the touch panel 1 on the touch panel coordinates (x Tn , y Tn ) and the screen coordinates (x Sn ,
y Sn ), the conversion coefficient a1
1, a12, a13, a21, a22, a23 are calculated.
【0008】[0008]
【発明が解決しようとする課題】前述のキャリブレーシ
ョンの処理には、以下のような問題点がある。第1に、
ユーザから正しい位置からずれた点を入力指示されると
(ステップS31)、正しい変換係数を算出できない可
能性がある。第2に、時間経過に伴うタッチパネル1の
ハードウェア特性の変化により、変換係数が実際の座標
からずれてしまうことがある(キャリブレーションのず
れ)。この場合には、キャリブレーションの処理をやり
直す必要がある。The above-described calibration processing has the following problems. First,
If the user inputs and inputs a point shifted from the correct position (step S31), there is a possibility that a correct conversion coefficient cannot be calculated. Second, due to a change in hardware characteristics of the touch panel 1 with the passage of time, the conversion coefficient may deviate from the actual coordinates (calibration deviation). In this case, it is necessary to repeat the calibration process.
【0009】ここで、キャリブレーションのずれが発生
すると、図14(A)に示すように、ユーザの本来の入
力位置(Xで示す)を指示した場合に、当該タッチパネ
ル座標をスクリーン座標に変換処理した結果、システム
(CPU)からは同図(B)に示すような入力位置とし
て判断される。このため、システム側はユーザの要求に
応じた入力操作を実行しないため、ユーザからは反応が
悪いと認識されてしまう。特に、数回の再試行により入
力が可能な場合には、ユーザ側には変換係数が正しい値
に合っていないことが認識できず、ユーザから過小評価
を受ける可能性が高い。[0009] Here, when a calibration shift occurs, as shown in FIG. 14A, when an original input position (indicated by X) of the user is designated, the touch panel coordinates are converted into screen coordinates. As a result, the system (CPU) determines the input position as shown in FIG. For this reason, since the system does not execute the input operation in response to the user's request, the user recognizes that the response is bad. In particular, if the input is possible after several retries, the user cannot recognize that the conversion coefficient does not match the correct value, and the user is likely to be underestimated.
【0010】そこで、本発明の目的は、タッチパネルに
対するユーザの入力指示に基づいて、変換係数(キャリ
ブレーション)のずれを検出し、自動的に補正できるよ
うにして、常に正確な座標変換処理を実現することにあ
る。Therefore, an object of the present invention is to realize a coordinate conversion process always accurate by detecting a shift of a conversion coefficient (calibration) based on a user's input instruction to a touch panel and automatically correcting the shift. Is to do.
【0011】[0011]
【課題を解決するための手段】本発明は、タッチパネル
式のデータ入力装置において、タッチパネルへの入力指
示に対応するタッチパネル座標値からスクリーンのスク
リーン座標値への座標変換処理に必要な変換係数を算出
するキャリブレーション機能を有する装置である。本装
置は、タッチパネルへの入力指示に応じて変換係数のず
れ情報を算出する算出手段及びずれ情報に基づいて変換
係数を補正する補正手段とを有する。According to the present invention, in a touch panel type data input device, a conversion coefficient required for a coordinate conversion process from a touch panel coordinate value corresponding to an input instruction to a touch panel to a screen coordinate value of a screen is calculated. The device has a calibration function. This device includes a calculating unit that calculates shift information of a conversion coefficient in response to an input instruction to the touch panel, and a correction unit that corrects the conversion coefficient based on the shift information.
【0012】具体的には、タッチパネルの入力操作範囲
とスクリーンの表示範囲とが一致している構成を前提と
して、タッチパネルへの入力指示に応じて座標変換処理
により得られた当該スクリーン座標値がスクリーンの表
示範囲内に含まれているか否かを判定する手段を有す
る。当該算出手段は、当該スクリーン座標値がスクリー
ンの表示範囲外の場合に、スクリーンの表示範囲内の所
定の基準位置からのずれ量に対応する変換係数のずれ情
報を算出する。More specifically, on the premise that the input operation range of the touch panel and the display range of the screen match, the screen coordinate values obtained by the coordinate conversion processing in response to the input instruction to the touch panel are displayed on the screen. Means for determining whether or not the display is included in the display range. When the screen coordinate value is outside the display range of the screen, the calculation means calculates shift information of a conversion coefficient corresponding to a shift amount from a predetermined reference position within the display range of the screen.
【0013】このような構成であれば、ユーザがタッチ
パネル上に入力指示を実行したときに、タッチパネルと
スクリーンとの座標整合に必要な座標変換処理に使用す
る変換係数のずれ情報を算出し、当該ずれ情報に基づい
て変換係数を正しい値に自動的に補正することができ
る。従って、常にタッチパネルとスクリーンとの座標整
合を維持することが可能となり、正確な入力操作を実現
することができる。With such a configuration, when the user executes an input instruction on the touch panel, the shift information of the conversion coefficient used for the coordinate conversion process required for the coordinate matching between the touch panel and the screen is calculated. The conversion coefficient can be automatically corrected to a correct value based on the shift information. Therefore, it is possible to always maintain the coordinate matching between the touch panel and the screen, and it is possible to realize an accurate input operation.
【0014】[0014]
【発明の実施の形態】以下図面を参照して本発明の実施
の形態を説明する。図1は本発明の第1の実施形態に関
係するフローチャートであり、図2は同実施形態に関係
するタッチパネル式データ入力装置の要部を示すブロッ
ク図であり、図3及び図4はそれぞれ同実施形態の動作
を説明するための概念図である。 (システム構成)本実施形態のタッチパネル式データ入
力装置は、図2に示すように、タッチパネル1と、A/
Dコンバータ3と、CPU4とを有する。タッチパネル
1は、図3に示すように、スクリーン2と重ね合わせて
構成されている。スクリーン2は液晶パネルなどの表示
画面を構成するための部材である。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a flowchart relating to the first embodiment of the present invention, FIG. 2 is a block diagram showing a main part of a touch panel type data input device relating to the first embodiment, and FIGS. It is a conceptual diagram for explaining operation of an embodiment. (System Configuration) As shown in FIG. 2, the touch panel type data input device of this embodiment includes a touch panel 1 and an A /
It has a D converter 3 and a CPU 4. As shown in FIG. 3, the touch panel 1 is configured to overlap the screen 2. The screen 2 is a member for configuring a display screen such as a liquid crystal panel.
【0015】タッチパネル1は透明電極を有し、ユーザ
がペンなどによりタッチパネル1上を押圧すると、その
押した入力位置(入力指示の位置)に応じた電圧値を生
成する。A/Dコンバータ3は、タッチパネル1からの
電圧値をディジタル値に変換してCPU4に入力する。
CPU4は、本実施形態に関係する変換係数の算出処理
(キャリブレーション)、キャリブレーションのずれ情
報の算出処理、変換係数の補正処理、および変換係数に
基づいたタッチパネル座標からスクリーン座標への座標
変換処理を実行する。The touch panel 1 has transparent electrodes, and when a user presses the touch panel 1 with a pen or the like, a voltage value corresponding to the pressed input position (the position of the input instruction) is generated. The A / D converter 3 converts a voltage value from the touch panel 1 into a digital value and inputs the digital value to the CPU 4.
The CPU 4 calculates a conversion coefficient (calibration), calculates calibration deviation information, corrects a conversion coefficient, and performs a coordinate conversion process from touch panel coordinates to screen coordinates based on the conversion coefficient according to the present embodiment. Execute
【0016】ここで、図3に示すように、タッチパネル
1の入力操作範囲(作動範囲)5とスクリーン2の表示
範囲6とが一致していることを想定する。この範囲5,
6はユーザが見える範囲であり、例えば金属の枠を設け
ることにより実現することが可能である。 (第1の実施形態のずれ情報の算出動作)以下図1のフ
ローチャート、図3および図4を参照して同実施形態の
ずれ情報の算出動作を説明する。Here, it is assumed that the input operation range (operation range) 5 of the touch panel 1 and the display range 6 of the screen 2 match as shown in FIG. This range 5,
Reference numeral 6 denotes a range visible to the user, which can be realized by, for example, providing a metal frame. (Operation of Calculating Shift Information of First Embodiment) The operation of calculating shift information of the first embodiment will be described below with reference to the flowchart of FIG. 1, and FIGS.
【0017】本実施形態では、ユーザの入力指示に応じ
てタッチパネル1から得られるX座標とY座標は相互に
独立であると仮定する。このとき、前述の式(1)にお
いて、以下式(2)の関係となり、また式(2)から式
(3),(4)に示すような関係が得られる。さらに、
後述する変換係数のずれ情報(キャリブレーションのず
れ情報)は、式(5),(6)に示すようなX座標とY
座標それぞれの組で保持されるものとする。In the present embodiment, it is assumed that the X coordinate and the Y coordinate obtained from the touch panel 1 in response to a user's input instruction are mutually independent. At this time, in the above-described equation (1), the following equation (2) is obtained, and the equations (3) and (4) are obtained from the equation (2). further,
Conversion coefficient shift information (calibration shift information) to be described later includes an X coordinate and a Y coordinate as shown in Expressions (5) and (6).
It is assumed that the coordinates are held in each set.
【0018】[0018]
【数2】 さらに、前述したように、タッチパネル1の作動範囲5
とスクリーン2の表示範囲6とが一致していることを想
定し、それぞれを以下のように表現する。(Equation 2) Further, as described above, the operating range 5 of the touch panel 1
And the display range 6 of the screen 2 are assumed to be the same, and are expressed as follows.
【0019】[0019]
【数3】 (Equation 3)
【0020】CPU4は、タッチパネル1上にユーザか
らの入力指示を検出すると、当該入力位置に対応するタ
ッチパネル座標をスクリーン座標に変換する座標変換処
理を実行する(ステップS1)。CPU4は、算出した
座標変換処理後のスクリーン座標((xc,yc)とす
る)が、スクリーンの枠内(スクリーン2の表示範囲
6)に含まれるか否かを調べる(ステップS2)。具体
的には、CPU4は以下の式(7),(8)に基づいて
入力位置に対応するスクリーン座標がスクリーン2の表
示範囲6に含まれるか否かを判断する。When detecting an input instruction from the user on the touch panel 1, the CPU 4 executes a coordinate conversion process for converting the touch panel coordinates corresponding to the input position into screen coordinates (step S1). The CPU 4 checks whether or not the calculated screen coordinates (represented by (xc, yc)) after the coordinate conversion processing are included in the screen frame (display range 6 of the screen 2) (step S2). Specifically, the CPU 4 determines whether or not the screen coordinates corresponding to the input position are included in the display range 6 of the screen 2 based on the following equations (7) and (8).
【0021】[0021]
【数4】 (Equation 4)
【0022】CPU4は、入力位置に対応するスクリー
ン座標がスクリーン2の表示範囲6に含まれている場合
には、変換係数(キャリブレーション係数)が適正であ
ると判定する(ステップS3のYES)。一方、スクリ
ーン座標がスクリーン2の表示範囲6に含まれていない
場合には、CPU4は以下のように、タッチパネル座標
(xT ,yT )の最大値と最小値とを更新する(ステッ
プS4)。When the screen coordinates corresponding to the input position are included in the display range 6 of the screen 2, the CPU 4 determines that the conversion coefficient (calibration coefficient) is appropriate (YES in step S3). On the other hand, if the screen coordinates are not included in the display range 6 of the screen 2, the CPU 4 updates the maximum value and the minimum value of the touch panel coordinates (xT, yT) as follows (step S4).
【0023】[0023]
【数5】 (Equation 5)
【0024】そして、CPU4は、更新したタッチパネ
ル座標(xT ,yT )の最大値と最小値とに基づいて、
以下のようなタッチパネル座標とスクリーン座標とのず
れ情報(X座標とY座標)を算出(更新)する(ステッ
プS5)。Then, based on the updated maximum and minimum values of the touch panel coordinates (xT, yT), the CPU 4 calculates
The following deviation information (X coordinate and Y coordinate) between the touch panel coordinates and the screen coordinates is calculated (updated) (step S5).
【0025】[0025]
【数6】 (Equation 6)
【0026】以上のように本実施形態は、座標変換処理
で使用する変換係数が適正であれば、変換後のスクリー
ン座標はスクリーン2の表示範囲6に収まることを想定
し、入力指示に応じて得られる変換座標がスクリーン2
の表示範囲6に含まれるか否かを判定する。この判定結
果により、例えば図4に示すように、変換座標61がス
クリーン2の表示範囲6の外であれば、変換係数のずれ
情報を算出する。図4に示す例は、変換座標61がy方
向にずれ量dだけ範囲外になっている場合である。この
算出(更新)したずれ情報に基づいて、後述するよう
に、変換係数の補正処理を実行する(式(23)〜(2
9)を参照)。 (第2の実施形態)以下図5のフローチャートを参照し
て、第2の実施形態に関係するずれ情報の算出動作につ
いて説明する。As described above, in the present embodiment, if the conversion coefficient used in the coordinate conversion processing is appropriate, it is assumed that the screen coordinates after conversion fall within the display range 6 of the screen 2 and the input screen is changed in accordance with the input instruction. The transform coordinates obtained are screen 2
It is determined whether or not the display range 6 is included. Based on the result of this determination, as shown in FIG. 4, for example, if the conversion coordinates 61 are outside the display range 6 of the screen 2, the conversion information of the conversion coefficient is calculated. The example shown in FIG. 4 is a case where the transformed coordinate 61 is out of the range by the shift amount d in the y direction. Based on the calculated (updated) deviation information, a correction process of the conversion coefficient is executed as described later (Equations (23) to (2)).
9)). (Second Embodiment) Hereinafter, an operation of calculating deviation information related to the second embodiment will be described with reference to a flowchart of FIG.
【0027】本実施形態では、CPU4は、タッチパネ
ル1上でのユーザの入力操作が無意味な操作の場合に
は、変換係数がずれていると推定する(ステップS1
0,S11のYES)。ここで、無意味な入力操作と
は、具体的には以下の表1に示すような内容が想定され
る。なお、タップとはペンでタッチパネル1上を軽く叩
くような操作であり、ダブルタップとはタップを2回繰
り返す操作を意味する。また、ドラッグはペンを下ろし
たまま、タッチパネル1上を移動させる操作を意味す
る。これらは、それぞれマウスの場合のクリック、ダブ
ルクリック、ドラッグに相当する操作である。In this embodiment, when the user's input operation on the touch panel 1 is a meaningless operation, the CPU 4 estimates that the conversion coefficient is shifted (step S1).
0, YES in S11). Here, the meaningless input operation is specifically assumed to have the contents shown in Table 1 below. The tap is an operation of tapping the touch panel 1 lightly with a pen, and the double tap is an operation of repeating the tap twice. Also, dragging means an operation of moving on the touch panel 1 with the pen down. These are operations corresponding to click, double click, and drag in the case of a mouse, respectively.
【0028】[0028]
【表1】 [Table 1]
【0029】前記表1には、操作対象と推定されるボタ
ン、ウインドウなどの物体(以下対象オブジェクトと呼
ぶ)も示す。即ち、操作内容がタップまたはダブルタッ
プされても、何のイベントにも該当しない場合には、近
傍のボタンをタップまたはダブルタップしていたと推定
される。また、メニューバーのように、ウインドウを動
かすための領域をタップまたはダブルタップされた場合
には、ドラッグ操作ではなく、近傍のボタンをタップま
たはダブルタップしていたと推定される。さらに、ウイ
ンドウが無い領域でドラッグ操作がなされた場合には、
近傍のウインドウをドラッグしようとしていたと推定さ
れる。Table 1 also shows objects (hereinafter, referred to as target objects) such as buttons and windows that are presumed to be operated. In other words, if the operation content is tapped or double-tapped and does not correspond to any event, it is estimated that a nearby button has been tapped or double-tapped. Further, when a region for moving a window is tapped or double-tapped, such as a menu bar, it is estimated that a tap operation or a double-tap is performed on a nearby button instead of a drag operation. Furthermore, when a drag operation is performed in an area without a window,
It is estimated that the user was trying to drag a nearby window.
【0030】このような無意味な入力操作の検出を利用
して、CPU4は変換係数のずれ情報を算出する。な
お、以下の処理はOSのグラフィックス・システムな
ど、入力を認識してイベントを発生させる処理部(プロ
グラム)を利用する。CPU4は、無意味な入力操作を
検出したときに、近傍に操作対象のオブジェクトが存在
するか否かを調べる(ステップS12)。CPU4は、
近傍に操作対象のオブジェクトが存在する場合には、以
下表2に示すような条件式からX座標とY座標とのずれ
情報を算出し、メモリなどに保存する(ステップS13
のYES,S14)。なお、表2において、ずれ情報に
含まれる「0.1」は信頼度(xR ,yR )を意味す
る。By utilizing the detection of such a meaningless input operation, the CPU 4 calculates shift information of the conversion coefficient. The following processing uses a processing unit (program) that recognizes an input and generates an event, such as an OS graphics system. When detecting a meaningless input operation, the CPU 4 checks whether or not an object to be operated exists in the vicinity (step S12). CPU4
If there is an object to be operated in the vicinity, deviation information between the X coordinate and the Y coordinate is calculated from the conditional expressions shown in Table 2 below and stored in a memory or the like (step S13).
YES, S14). In Table 2, "0.1" included in the shift information means the reliability (xR, yR).
【0031】[0031]
【表2】 [Table 2]
【0032】具体的には、CPU4は、タッチパネル1
上にユーザが入力指示したときのタッチパネル座標(x
T ,yT )から座標変換処理により、スクリーン座標
(xc,yc)を得る。このスクリーン座標(xc,y
c)と対象オブジェクト(例えばボタン)の表示座標と
を比較し、この比較結果に基づいて両者の範囲のずれ情
報(X座標xN ,Y座標yN )を変換係数のずれ情報と
して算出する。Specifically, the CPU 4 controls the touch panel 1
Touch panel coordinates (x
Screen coordinates (xc, yc) are obtained from T, yT) by a coordinate conversion process. The screen coordinates (xc, y
c) is compared with the display coordinates of the target object (for example, a button), and based on the comparison result, the shift information (X coordinate xN, Y coordinate yN) between the two ranges is calculated as the shift information of the conversion coefficient.
【0033】なお、本実施形態では、キャリブレーショ
ンの操作、即ち変換係数の算出処理がなされているのが
前提である。このキャリブレーションの操作において
(図13を参照)、ユーザの入力指示が正確でない場合
でも、通常では5mm程度の誤差範囲(ずれ量)であると
想定できる。そこで、スクリーン上において5mmに相当
するピクセル数をそれぞれxN ,yN とし、ずれ量が5
mm以内の場合にはCPU4は近傍に対象オブジェクトが
存在していると判断する。In the present embodiment, it is assumed that the calibration operation, that is, the conversion coefficient calculation processing is performed. In this calibration operation (see FIG. 13), even if the user's input instruction is not accurate, it can usually be assumed that the error range (shift amount) is about 5 mm. Therefore, the number of pixels corresponding to 5 mm on the screen is defined as xN and yN, respectively.
If the distance is within mm, the CPU 4 determines that the target object is present in the vicinity.
【0034】以上のように本実施形態によれば、ユーザ
の無意味な入力操作の検出とスクリーン上に表示するボ
タンなどの対象オブジェクトの座標とを利用して、変換
処理後の座標のずれ情報を変換係数のずれ情報として算
出する。このような方式であれば、前述の第1の実施形
態においてタッチパネル1の入力操作範囲(作動範囲)
5とスクリーン2の表示範囲6とが一致しているという
条件は不要である。(第3の実施形態)以下図6のフロ
ーチャート及び図7を参照して、第3の実施形態に関係
するずれ情報の算出動作について説明する。As described above, according to the present embodiment, the coordinate shift information after the conversion process is used by utilizing the meaningless input operation of the user and the coordinates of the target object such as the button displayed on the screen. Is calculated as conversion coefficient shift information. With such a method, the input operation range (operation range) of the touch panel 1 in the first embodiment described above.
The condition that 5 and the display range 6 of the screen 2 match is unnecessary. (Third Embodiment) Hereinafter, the operation of calculating the shift information related to the third embodiment will be described with reference to the flowchart of FIG. 6 and FIG.
【0035】本実施形態は、スクリーン上の所定の位置
にボタンなどの操作対象オブジェクトが存在することを
想定した場合に、当該ボタン付近において入力指示され
た入力位置(ポイント)の分布を調べる。この入力位置
の分布が当該ボタンの表示範囲(座標)とずれていると
き、変換係数のずれ(キャリブレーションのずれ)が発
生していると推定する方式である。In the present embodiment, when it is assumed that an operation target object such as a button exists at a predetermined position on the screen, the distribution of input positions (points) instructed to be input near the button is examined. When the distribution of the input positions is displaced from the display range (coordinates) of the button, a conversion coefficient deviation (calibration deviation) is estimated to have occurred.
【0036】この方式は、例えば図7に示すように、ス
クリーン上の設定位置81,82に操作対象オブジェク
トであるボタンなどを配置するシステムにできる。この
ようなシステムは、フルスクリーン実行時(ウインドウ
をスクリーン全体に広げて実行するとき)のウインドウ
を消去するためのチェックボックスをスクリーン上の設
定位置81,82に配置する機能を有する。According to this method, for example, as shown in FIG. 7, a system in which a button or the like as an operation target object is arranged at set positions 81 and 82 on the screen can be provided. Such a system has a function of arranging check boxes for deleting a window at the time of full screen execution (when the window is spread over the entire screen and executed) at the setting positions 81 and 82 on the screen.
【0037】具体的には、CPU4は、タッチパネル1
上にユーザが入力指示したときのタッチパネル座標(x
T ,yT )から座標変換処理により、スクリーン座標
(xc,yc)を得る。次に、当該入力位置に対応する
スクリーン座標(xc,yc)が、特定のボタン又はそ
の近傍であるか否かを調べる(ステップS20)。この
判断基準は、前述の第2の実施形態の場合と同様であ
る。即ち、スクリーン上において5mmに相当するピクセ
ル数xN ,yN を基準範囲として、次式(9),(1
0)により判断する。Specifically, the CPU 4 controls the touch panel 1
Touch panel coordinates (x
Screen coordinates (xc, yc) are obtained from T, yT) by a coordinate conversion process. Next, it is checked whether or not the screen coordinates (xc, yc) corresponding to the input position are at or near a specific button (step S20). This criterion is the same as in the case of the above-described second embodiment. That is, the following formulas (9) and (1) are used with the number of pixels xN and yN corresponding to 5 mm on the screen as a reference range.
0).
【0038】[0038]
【数7】 (Equation 7)
【0039】CPU4は、当該入力位置に対応するスク
リーン座標(xc,yc)が特定のボタンの範囲又はそ
の近傍である場合に、実際に当該特定ボタンが存在する
か否かを調べる(ステップS23)。これは、常に存在
し続けるボタンではない場合があるからである。さら
に、当該特定ボタンの近傍に別のボタンが存在するか否
かを調べる(ステップS24)。別のボタンが存在しな
い場合には、CPU4は、タップされた入力位置に対応
するスクリーン座標(xc,yc)を保存する(ステッ
プS26)。そして、保存したデータ量が一定量、例え
ば50の座標点データを取得した時点で、変換係数のず
れ情報を算出する(ステップS27のYES,S2
8)。If the screen coordinates (xc, yc) corresponding to the input position are within the range of the specific button or its vicinity, the CPU 4 checks whether or not the specific button actually exists (step S23). . This is because the button may not always be present. Further, it is determined whether or not another button exists near the specific button (step S24). If there is no other button, the CPU 4 saves the screen coordinates (xc, yc) corresponding to the tapped input position (step S26). Then, when the stored data amount acquires a fixed amount, for example, 50 coordinate point data, the shift information of the conversion coefficient is calculated (YES in step S27, S2).
8).
【0040】ここで、ずれ情報は、前述の表2を使用し
て、式(9),(10)および以下の式(11)〜(1
4)により算出される。なお、ずれ情報の信頼度(xR
,yR )は「0.1」ではなく、ここでは「0.5」
とする。Here, the shift information is obtained by using the above-mentioned Table 2 by the equations (9) and (10) and the following equations (11) to (1).
It is calculated by 4). The reliability of the shift information (xR
, YR) is not “0.1”, but here is “0.5”
And
【0041】[0041]
【数8】 (Equation 8)
【0042】以上のように本実施形態によれば、スクリ
ーン上の所定の位置にボタンなどの対象オブジェクトが
配置されるシステムであれば、当該対象オブジェクトの
座標と変換処理後の座標とのずれ情報を変換係数のずれ
情報として算出する。このような方式であれば、前述の
第2の実施形態と同様にタッチパネル1の入力操作範囲
(作動範囲)5とスクリーン2の表示範囲6とが一致し
ているという条件は不要である。 (ずれ情報の妥当性チェック方法)ここで、第1の実施
形態から第3の実施形態において算出したずれ情報の妥
当性について、図8を参照してそのチェック方法を説明
する。As described above, according to this embodiment, in a system in which a target object such as a button is arranged at a predetermined position on a screen, information on the deviation between the coordinates of the target object and the coordinates after the conversion processing is obtained. Is calculated as conversion coefficient shift information. With such a method, the condition that the input operation range (operation range) 5 of the touch panel 1 matches the display range 6 of the screen 2 is unnecessary as in the above-described second embodiment. (Method of Checking Validity of Shift Information) Here, a method of checking the validity of the shift information calculated in the first to third embodiments will be described with reference to FIG.
【0043】ここでは、X座標の変換処理(前述の式
(3)を参照)のみに着目して説明する。当該式(3)
をグラフ化したものを図8に示す。この図8において、
タッチパネル1の作動範囲における座標の値域(11
4)は少なくとも以下の式(15)に示す範囲にある。
これ以上範囲が狭くなることはない。Here, description will be made focusing only on the X-coordinate conversion processing (see the above equation (3)). Equation (3)
FIG. 8 is a graph showing In FIG. 8,
The coordinate value range (11 in the operating range of the touch panel 1)
4) is at least in the range shown by the following equation (15).
The range is not narrowed any more.
【0044】[0044]
【数9】 また、変換係数の算出処理により得られるスクリーン座
標(表示範囲)の範囲(113)は、以下の式(16)
に示す範囲内に収まる必要がある。(Equation 9) Also, the range (113) of the screen coordinates (display range) obtained by the conversion coefficient calculation processing is expressed by the following equation (16).
It must be within the range shown in.
【0045】[0045]
【数10】 以上のような関係式から、、X座標およびY座標におけ
る変換係数a11,a13,a22,a23は下記式(17)〜
(20)に示す関係となる。(Equation 10) From the above relational expressions, the conversion coefficients a11, a13, a22, and a23 at the X coordinate and the Y coordinate can be expressed by the following equations (17) to (17).
The relationship shown in (20) is obtained.
【0046】[0046]
【数11】 [Equation 11]
【0047】従って、前記式(17)〜(20)を満た
すかどうかを判定することにより、ずれ情報の妥当性を
チェックできる。図8では、例えば破線(112)に示
すように、実線(111)より傾きが急俊で、Y軸との
交点が上であればよい。 (第1の実施形態の変換係数の補正方法)以下図9を参
照して第1の実施形態に関係する変換係数の補正方法を
説明する。Therefore, the validity of the deviation information can be checked by judging whether or not the expressions (17) to (20) are satisfied. In FIG. 8, for example, as shown by a broken line (112), it is sufficient that the slope is steeper than the solid line (111) and the intersection with the Y axis is above. (Method of Correcting Transform Coefficient of First Embodiment) A method of correcting a transform coefficient according to the first embodiment will be described below with reference to FIG.
【0048】本実施形態は、前述したように、タッチパ
ネル1に対する入力指示に応じて座標変換処理を実行し
たときに、変換処理後のスクリーン座標がスクリーン2
の表示範囲6から外れた場合には、変換係数のずれ情報
を算出する方式である。即ち、図9に示すように、変換
座標61がスクリーン2の表示範囲6のy方向にずれ量
dだけ範囲外になっている場合である。In the present embodiment, as described above, when the coordinate conversion processing is executed in response to the input instruction to the touch panel 1, the screen coordinates after the conversion processing are displayed on the screen 2
In this case, when the value deviates from the display range 6, the information on the shift of the conversion coefficient is calculated. That is, as shown in FIG. 9, this is the case where the transformed coordinates 61 are out of the range of the display range 6 of the screen 2 in the y direction by the shift amount d.
【0049】このような場合には、CPU4は補正処理
として、変換処理後のY座標が図9に示す範囲121か
ら範囲122に示す範囲内に収まるように変換係数を補
正すればよい。具体的には、タッチパネル座標とスクリ
ーン座標とが下記式(21)、(22)に示すような関
係であると想定する。In such a case, the CPU 4 may correct the conversion coefficient as correction processing so that the Y coordinate after the conversion processing falls within the range from the range 121 to the range 122 shown in FIG. Specifically, it is assumed that the touch panel coordinates and the screen coordinates have a relationship as shown in the following equations (21) and (22).
【0050】[0050]
【数12】 (Equation 12)
【0051】この式(21)及び前述の式(3)を利用
して、以下の式(23)〜(26)に示すように補正し
た変換係数a11,a13,a22,a23を算出することがで
きる。Using this equation (21) and the above-mentioned equation (3), it is possible to calculate the conversion coefficients a11, a13, a22 and a23 corrected as shown in the following equations (23) to (26). it can.
【0052】[0052]
【数13】 (第2及び第3の実施形態の変換係数の補正方法)前述
の方法以外の変換係数の補正方法を説明する。この補正
方法は、算出したずれ情報の集合を求めて、この集合に
最も近似するような変換係数を算出するものである。具
体的には、タッチパネル座標からスクリーン座標への座
標変換処理は、前述の式(3),(4)により得られる
変換係数により実行される。ここで、下記式(27),
(28)に示すようなずれ情報の集合を想定する。(Equation 13) (Method of Correcting Transform Coefficients of Second and Third Embodiments) A method of correcting transform coefficients other than the above-described method will be described. In this correction method, a set of calculated shift information is obtained, and a conversion coefficient that most approximates the set is calculated. More specifically, the coordinate conversion processing from the touch panel coordinates to the screen coordinates is performed using the conversion coefficients obtained by the above-described equations (3) and (4). Here, the following equation (27),
Assume a set of shift information as shown in (28).
【0053】[0053]
【数14】 [Equation 14]
【0054】ここで、ずれ情報の信頼度(xR ,yR )
として、以下の表3に示す値を使用する。但し、表3に
おいて、検出法1〜3はそれぞれ第1の実施形態から第
3の実施形態におけるずれ情報の算出方法に対応する。Here, the reliability of the shift information (xR, yR)
Are used as shown in Table 3 below. However, in Table 3, the detection methods 1 to 3 correspond to the shift information calculation methods in the first to third embodiments, respectively.
【0055】[0055]
【表3】 [Table 3]
【0056】このとき、前述の式(3),(4)が前記
式(27),(28)に示すようなずれ情報の集合に最
も近似するように、算出した変換係数が適正な変換係数
となる。ここで、図10はX座標に関する補正値を求め
る様子を示す図である。図10において、縦軸はスクリ
ーン座標(座標変換処理後の座標)Xsを示し、横軸は
タッチパネル座標(座標変換処理前の座標)Xtを示
す。「X」で示すプロットは前記式(27),(28)
で示すずれ情報の集合を意味する。At this time, the calculated conversion coefficient is set to an appropriate conversion coefficient so that the above-mentioned equations (3) and (4) are most approximated to the set of shift information as shown in the above-mentioned equations (27) and (28). Becomes Here, FIG. 10 is a diagram showing a state in which a correction value for the X coordinate is obtained. In FIG. 10, the vertical axis indicates screen coordinates (coordinates after coordinate conversion processing) Xs, and the horizontal axis indicates touch panel coordinates (coordinates before coordinate conversion processing) Xt. The plots indicated by “X” are obtained by the equations (27) and (28).
Means a set of shift information indicated by.
【0057】なお、本手法では信頼度による重み付けを
した上で、最小二乗法により変換係数を算出することを
想定している。具体的には、前述式(3)に関しては、
下記式(29)において、ずれ量dが最小になるような
変換係数a11,a13を算出すればよい。In this method, it is assumed that the conversion coefficients are calculated by the least square method after weighting based on the reliability. Specifically, with respect to the above equation (3),
In the following equation (29), the conversion coefficients a11 and a13 that minimize the shift amount d may be calculated.
【0058】[0058]
【数15】 (第2の実施形態の変形例)第2の実施形態の手法は、
タッチパネル1上でのユーザの入力操作が無意味な操作
の場合には、変換係数がずれていると推定するものであ
る。しかし、本実施形態はOSのグラフィックス・シス
テムなど、入力を認識してイベントを発生させる処理部
(プログラム)を利用することを前提としている。この
ため、OSのグラフィックス・システムなどを利用でき
ない場合には適用不可となる。(Equation 15) (Modification of Second Embodiment) The method of the second embodiment is as follows.
If the user's input operation on the touch panel 1 is a meaningless operation, it is estimated that the conversion coefficient is shifted. However, the present embodiment is based on the premise that a processing unit (program) that recognizes an input and generates an event, such as a graphics system of an OS, is used. Therefore, when the graphics system of the OS cannot be used, the application is not applicable.
【0059】そこで、本変形例は、前述の第3の実施形
態の手法を適用して、スクリーン上の所定位置に存在す
るボタンに着目し、図6のフローチャートに示す処理を
実行することにより、前述の表2に示すずれ情報を求め
る方法である。Therefore, in this modification, the method shown in the flowchart of FIG. 6 is executed by applying the method of the third embodiment described above and focusing on the button located at a predetermined position on the screen. This is a method for obtaining the deviation information shown in Table 2 above.
【0060】なお、ステップS20に示す近傍の判断
は、前述の第3の実施形態で説明したようにスクリーン
上において5mmに相当するピクセル数xN ,yN を基準
範囲として、前述の表2の内容を利用して実行される。
また、ステップS22の処理では、常に存在し続けるボ
タンでない場合には、その位置のビットマップを調べる
か、ディスプレイ・ドライバが有する情報を利用して存
在するか否かを調べる。さらに、ステップS24におい
て、特定ボタンの近傍に別のボタンが存在するか否かを
調べる。これは、例えば当該ボタンが押されたままの状
態となりメニューが出るような場合に、当該ボタンのビ
ットマップを調べることによりメニューの有無の状態を
認識することが可能である。また、隣に存在するボタン
の位置がきまっているような場合には、その位置のビッ
トマップを調べることにより別のボタンが存在するか否
かを調べることができる(ディスプレイ・ドライバが有
する情報を利用してもよい)。Note that the neighborhood determination shown in step S20 is based on the contents of Table 2 described above, using the number of pixels xN and yN corresponding to 5 mm on the screen as a reference range, as described in the third embodiment. It is executed using.
Further, in the processing of step S22, if the button is not always present, the bitmap at that position is checked or it is checked whether or not the button is present by using information possessed by the display driver. Further, in step S24, it is determined whether or not another button exists near the specific button. This means that, for example, when the button is kept pressed and a menu appears, it is possible to recognize the presence or absence of the menu by examining the bitmap of the button. In the case where the position of the adjacent button is fixed, it is possible to check whether or not another button is present by checking the bit map at that position (using information held by the display driver). May be used).
【0061】なお、前述の変換係数の補正方法におい
て、システム側がずれ情報に基づいて自動的に変換係数
の補正処理を実行する方式の代わりとして、ずれ情報を
算出した後にユーザに対して再キャリブレーション(変
換係数の再設定)を促す方式でもよい。具体的には、ス
クリーン2上に再キャリブレーションの要求を通知する
表示をする。また、前述の各実施形態において、ずれ情
報に時刻情報を付加して、一定時間経過後には当該ずれ
情報を消去するようにしてもよい。これにより、時間経
過に伴うタッチパネル1のハードウェア特性の変化によ
り、キャリブレーションのずれが発生するような場合で
も、自動的にキャリブレーションの処理を再実行するこ
とが可能となる。In the above-described conversion coefficient correction method, instead of a method in which the system automatically executes the conversion coefficient correction processing based on the deviation information, the system recalculates the user after calculating the deviation information. A method of prompting (resetting the conversion coefficient) may be used. Specifically, a display for notifying a request for re-calibration is displayed on the screen 2. Further, in each of the above-described embodiments, the time information may be added to the shift information, and the shift information may be deleted after a predetermined time has elapsed. This makes it possible to automatically re-execute the calibration process even when a shift in calibration occurs due to a change in hardware characteristics of the touch panel 1 over time.
【0062】本発明は、特にPDAなどのデータ入力装
置に適用することを前提としているが、例えばビデオゲ
ームのジョイスティックのキャリブレーション処理に対
しても適用することが可能である。ジョイスティックの
キャリブレーション処理では、スティックを右上、左下
に倒し、ボタンを押すことが要求される。ソフトウエア
によっては、スティックを右上、左下に倒した後に中心
に戻して、ボタンを押すことが要求される。本発明を適
用した場合に、ゲーム中のユーザのスティックの操作内
容を利用して、自動的なキャリブレーションの補正処理
が可能となる。The present invention is premised on application to a data input device such as a PDA, but can also be applied to a joystick calibration process in a video game, for example. In the joystick calibration process, it is required to tilt the stick to the upper right and lower left and press a button. Some software requires you to push the button back to the center after tilting the stick to the upper right and lower left. When the present invention is applied, automatic calibration correction processing can be performed using the operation contents of the user's stick during the game.
【0063】[0063]
【発明の効果】以上詳述したように本発明によれば、タ
ッチパネルに対するユーザの入力指示に基づいて、タッ
チパネル座標からスクリーン座標へ座標変換するために
使用する変換係数(キャリブレーション)のずれ情報を
算出することができる。従って、算出したずれ情報に基
づいて、変換係数(キャリブレーション)のずれを自動
的に補正して、常に適正な変換係数を得ることができ
る。これにより、キャリブレーションの処理時にユーザ
の入力指示が正確でない場合、時間経過に伴うタッチパ
ネルのハードウェア特性の変化により変換係数にずれが
発生するような場合のいずれの場合でも、適正な変換係
数に基づいて常に正確な座標変換処理を実現することが
できる。As described above in detail, according to the present invention, based on a user's input instruction on the touch panel, the shift information of the conversion coefficient (calibration) used for performing the coordinate conversion from the touch panel coordinates to the screen coordinates is obtained. Can be calculated. Therefore, based on the calculated shift information, the shift of the conversion coefficient (calibration) is automatically corrected, and an appropriate conversion coefficient can always be obtained. In this case, when the user's input instruction is not accurate during the calibration process, or when the conversion coefficient is shifted due to a change in the hardware characteristics of the touch panel with the passage of time, the appropriate conversion coefficient is obtained. Based on this, accurate coordinate conversion processing can always be realized.
【図1】本発明の第1の実施形態の動作を説明するため
のフローチャート。FIG. 1 is a flowchart for explaining the operation of the first embodiment of the present invention.
【図2】第1の実施形態に関係するタッチパネル式デー
タ入力装置の要部を示すブロック図。FIG. 2 is a block diagram showing a main part of the touch panel data input device according to the first embodiment;
【図3】第1の実施形態の動作を説明するための概念
図。FIG. 3 is a conceptual diagram for explaining the operation of the first embodiment.
【図4】第1の実施形態の動作を説明するための概念
図。FIG. 4 is a conceptual diagram for explaining the operation of the first embodiment.
【図5】第2の実施形態の動作を説明するためのフロー
チャート。FIG. 5 is a flowchart for explaining the operation of the second embodiment.
【図6】第3の実施形態の動作を説明するためのフロー
チャート。FIG. 6 is a flowchart for explaining the operation of the third embodiment.
【図7】第3の実施形態の動作を説明するための概念
図。FIG. 7 is a conceptual diagram for explaining the operation of the third embodiment.
【図8】第1から第3の各実施形態において算出したず
れ情報の妥当性のチェック方法を説明するための図。FIG. 8 is a view for explaining a method of checking the validity of the shift information calculated in each of the first to third embodiments.
【図9】第1の実施形態に関係する変換係数の補正方法
を説明するための図。FIG. 9 is a view for explaining a method of correcting a conversion coefficient according to the first embodiment.
【図10】第2及び第3の実施形態に関係する変換係数
の補正方法を説明するための図。FIG. 10 is a diagram for explaining a method of correcting a conversion coefficient according to the second and third embodiments.
【図11】従来のタッチパネル式データ入力装置の要部
を示す図。FIG. 11 is a diagram showing a main part of a conventional touch panel type data input device.
【図12】従来のキャリブレーション機能の処理ステッ
プを説明するための図。FIG. 12 is a view for explaining processing steps of a conventional calibration function.
【図13】従来のキャリブレーション機能の処理ステッ
プを説明するためのフローチャート。FIG. 13 is a flowchart for explaining processing steps of a conventional calibration function.
【図14】従来のキャリブレーション機能の問題点を説
明するための図。FIG. 14 is a diagram for explaining a problem of a conventional calibration function.
1…タッチパネル 2…スクリーン 3…A/Dコンバータ 4…CPU 5…タッチパネルの操作範囲(作動範囲) 6…スクリーンの表示範囲 DESCRIPTION OF SYMBOLS 1 ... Touch panel 2 ... Screen 3 ... A / D converter 4 ... CPU 5 ... Operating range (operating range) of a touch panel 6 ... Display range of a screen
Claims (13)
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置であって、 前記タッチパネルへの入力指示に対応するタッチパネル
座標値から前記スクリーンのスクリーン座標値への座標
変換処理に必要な変換係数を算出する第1の算出手段
と、 前記タッチパネルへの入力指示に応じて前記変換係数の
ずれ情報を算出する第2の算出手段と、 当該第2の算出手段により算出された前記ずれ情報に基
づいて前記変換係数を補正する補正手段とを具備したこ
とを特徴とするデータ入力装置。1. A data input device for performing a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface with a screen constituting a display screen. A first calculating unit that calculates a conversion coefficient required for a coordinate conversion process from a touch panel coordinate value corresponding to an input instruction to the touch panel to a screen coordinate value of the screen; A data input comprising: second calculating means for calculating shift information of a conversion coefficient; and correcting means for correcting the conversion coefficient based on the shift information calculated by the second calculating means. apparatus.
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置に適用する
座標変換方法であって、 前記タッチパネルへの入力指示に対応するタッチパネル
座標値から前記スクリーンのスクリーン座標値への座標
変換処理に必要な変換係数を算出する座標変換手段を有
し、当該座標変換手段は、 前記タッチパネルへの入力指示に応じて前記変換係数の
ずれ情報を算出するステップと、 当該ずれ情報に基づいて前記変換係数を補正するステッ
プとからなる処理を実行することを特徴とする座標変換
方法。2. A data input device which performs a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface and a screen constituting a display screen. A coordinate conversion method, comprising: a coordinate conversion unit configured to calculate a conversion coefficient necessary for a coordinate conversion process from a touch panel coordinate value corresponding to an input instruction to the touch panel to a screen coordinate value of the screen; Performing a process of calculating deviation information of the conversion coefficient in response to an input instruction to the touch panel, and correcting the conversion coefficient based on the deviation information. Method.
クリーン上に前記変換係数の補正処理を要求する通知処
理を実行する手段を有することを特徴とする請求項1記
載のデータ入力装置または請求項2記載の座標変換方
法。3. The data input device according to claim 1, further comprising means for executing a notification process requesting a correction process of the conversion coefficient on the screen at a time when the shift information is calculated. Item 2. The coordinate conversion method according to Item 2.
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置であって、 前記タッチパネルの入力操作範囲と前記スクリーンの表
示範囲とが一致している構成であり、 前記タッチパネルへの入力指示に対応するタッチパネル
座標値から前記スクリーンのスクリーン座標値への座標
変換処理に必要な変換係数を算出する第1の算出手段
と、 前記タッチパネルへの入力指示に応じて前記座標変換処
理により得られた当該スクリーン座標値が前記スクリー
ンの表示範囲内に含まれているか否かを判定する手段
と、 当該スクリーン座標値が前記スクリーンの表示範囲外の
場合に、前記スクリーンの表示範囲内の所定の基準位置
からのずれ量に対応する前記変換係数のずれ情報を算出
する第2の算出手段と、 当該第2の算出手段により算出された前記ずれ情報に基
づいて前記変換係数を補正する補正手段とを具備したこ
とを特徴とするデータ入力装置。4. A data input device for performing a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface and a screen constituting a display screen. The input operation range of the touch panel is the same as the display range of the screen, and is necessary for coordinate conversion processing from touch panel coordinate values corresponding to input instructions to the touch panel to screen coordinate values of the screen. First calculating means for calculating a conversion coefficient; and determining whether or not the screen coordinate value obtained by the coordinate conversion processing in accordance with an input instruction to the touch panel is included in a display range of the screen. Means for displaying the screen when the screen coordinate value is outside the display range of the screen. Second calculating means for calculating shift information of the conversion coefficient corresponding to a shift amount from a predetermined reference position within the range; and calculating the conversion coefficient based on the shift information calculated by the second calculating means. A data input device comprising: a correction unit for performing correction.
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置に適用する
座標変換方法であって、 前記タッチパネルの入力操作範囲と前記スクリーンの表
示範囲とが一致している構成であり、前記タッチパネル
への入力指示に対応するタッチパネル座標値から前記ス
クリーンのスクリーン座標値への座標変換処理に必要な
変換係数を算出する座標変換手段を有し、 当該座標変換手段は、 前記タッチパネルへの入力指示に応じて前記座標変換処
理により得られた当該スクリーン座標値が前記スクリー
ンの表示範囲内に含まれているか否かを判定するステッ
プと、 当該スクリーン座標値が前記スクリーンの表示範囲外の
場合に、前記スクリーンの表示範囲内の所定の基準位置
からのずれ量に対応する前記変換係数のずれ情報を算出
するステップと、 当該ずれ情報に基づいて前記変換係数を補正するステッ
プとからなる処理を実行することを特徴とする座標変換
方法。5. A data input device which performs a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface and a screen constituting a display screen. A coordinate conversion method, wherein an input operation range of the touch panel and a display range of the screen match, and a touch panel coordinate value corresponding to an input instruction to the touch panel is converted to a screen coordinate value of the screen. A coordinate conversion unit for calculating a conversion coefficient required for the coordinate conversion process, wherein the coordinate conversion unit displays the screen coordinate value obtained by the coordinate conversion process in response to an input instruction to the touch panel on the screen. Determining whether or not the screen coordinates are included in the range; Calculating the shift information of the conversion coefficient corresponding to the shift amount from a predetermined reference position within the display range of the screen when out of the display range of the lean; and correcting the conversion coefficient based on the shift information. Performing a process comprising the steps of:
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置であって、 当該タッチパネル上に入力指示したときに、プログラム
の実行とは無関係な入力操作を検出する手段と、 前記タッチパネルへの入力指示に対応するタッチパネル
座標値から前記スクリーンのスクリーン座標値への座標
変換処理に必要な変換係数を算出する第1の算出手段
と、 前記座標変換処理により得られる前記スクリーン座標範
囲と、当該スクリーン座標範囲の近傍に存在する操作対
象オブジェクトの座標範囲とを比較して両者の範囲のず
れ情報を算出する第2の算出手段と、 当該第2の算出手段により算出された当該ずれ情報を前
記変換係数のずれ情報として算出する第3の算出手段
と、 当該第3の算出手段により算出された当該ずれ情報に基
づいて前記変換係数を補正する補正手段とを具備したこ
とを特徴とするデータ入力装置。6. A data input device for performing a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface and a screen constituting a display screen. Means for detecting an input operation unrelated to the execution of a program when an input instruction is given on the touch panel; and a coordinate conversion process from a touch panel coordinate value corresponding to the input instruction to the touch panel to a screen coordinate value of the screen. A first calculating means for calculating a conversion coefficient necessary for the operation, and comparing the screen coordinate range obtained by the coordinate conversion processing with the coordinate range of the operation target object existing near the screen coordinate range. A second calculating means for calculating the range shift information; and a second calculating means for calculating the range shift information. A third calculating unit that calculates the shift information as shift information of the conversion coefficient; and a correcting unit that corrects the conversion coefficient based on the shift information calculated by the third calculating unit. Characteristic data input device.
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置に適用する
座標変換方法であって、 前記タッチパネルへの入力指示に対応するタッチパネル
座標値から前記スクリーンのスクリーン座標値への座標
変換処理に必要な変換係数を算出する座標変換手段を有
し、 当該座標変換手段は、 前記座標変換処理により得られる前記スクリーン座標範
囲と、当該スクリーン座標範囲の近傍に存在する操作対
象オブジェクトの座標範囲とを比較して両者の範囲のず
れ情報を算出するステップと、 算出された当該ずれ情報を前記変換係数のずれ情報とし
て算出するステップと、 当該ずれ情報に基づいて前記変換係数を補正するステッ
プとからなる処理を実行することを特徴とする座標変換
方法。7. The present invention is applied to a data input device that performs a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface and a screen constituting a display screen. A coordinate conversion method, comprising: a coordinate conversion unit that calculates a conversion coefficient required for a coordinate conversion process from a touch panel coordinate value corresponding to an input instruction to the touch panel to a screen coordinate value of the screen; Comparing the screen coordinate range obtained by the coordinate conversion process with the coordinate range of the operation target object existing in the vicinity of the screen coordinate range, and calculating shift information between the two ranges. Calculating the shift information as shift information of the conversion coefficient; and Coordinate transformation method characterized by performing a process comprising the step of correcting the transform coefficients Te.
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置であって、 前記タッチパネルへの入力指示に対応するタッチパネル
座標値から前記スクリーンのスクリーン座標値への座標
変換処理に必要な変換係数を算出する第1の算出手段
と、 前記スクリーン上に表示する操作対象オブジェクトの座
標範囲と前記座標変換処理により得られる前記スクリー
ン座標範囲とを比較して両者の範囲のずれ情報を算出す
る第2の算出手段と、 当該第2の算出手段により算出された当該ずれ情報を前
記変換係数のずれ情報として算出する第3の算出手段
と、 当該第3の算出手段により算出された当該ずれ情報に基
づいて前記変換係数を補正する補正手段とを具備したこ
とを特徴とするデータ入力装置。8. A data input device which performs a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface and a screen constituting a display screen. A first calculating unit that calculates a conversion coefficient required for a coordinate conversion process from a touch panel coordinate value corresponding to an input instruction to the touch panel to a screen coordinate value of the screen, and an operation target object to be displayed on the screen. A second calculating unit that compares a coordinate range and the screen coordinate range obtained by the coordinate conversion process to calculate shift information between the two ranges; and calculates the shift information calculated by the second calculating unit. A third calculating means for calculating as conversion coefficient shift information; Data input device being characterized in that; and a correcting means for correcting the transform coefficients on the basis of the information.
示画面を構成するスクリーンとを組み合わせて、当該タ
ッチパネル上に入力指示されて得られる入力座標に基づ
いてデータ入力動作を行なうデータ入力装置に適用する
座標変換方法であって、 前記タッチパネルへの入力指示に対応するタッチパネル
座標値から前記スクリーンのスクリーン座標値への座標
変換処理に必要な変換係数を算出する座標変換手段を有
し、 当該座標変換手段は、 前記スクリーン上に表示する操作対象オブジェクトの座
標範囲と前記座標変換処理により得られる前記スクリー
ン座標範囲とを比較して両者の範囲のずれ情報を算出す
るステップと、 算出された当該ずれ情報を前記変換係数のずれ情報とし
て算出するステップと、当該ずれ情報に基づいて前記変
換係数を補正するステップとからなる処理を実行するこ
とを特徴とする座標変換方法。9. A data input device which performs a data input operation based on input coordinates obtained by inputting an instruction on the touch panel by combining a touch panel constituting an input instruction surface and a screen constituting a display screen. A coordinate conversion method, comprising: a coordinate conversion unit that calculates a conversion coefficient required for a coordinate conversion process from a touch panel coordinate value corresponding to an input instruction to the touch panel to a screen coordinate value of the screen; Comparing the coordinate range of the operation target object to be displayed on the screen with the screen coordinate range obtained by the coordinate conversion process to calculate shift information between the two ranges; and calculating the calculated shift information. Calculating the shift information of the conversion coefficient; and determining the conversion factor based on the shift information. Coordinate transformation method characterized by performing a process comprising the step of correcting the.
標値と前記スクリーン座標値との組の集合を生成し、当
該集合に近似する変換係数を回帰分析等の手法により算
出し、当該算出結果を前記変換係数の補正結果として出
力する手段を有することを特徴とする請求項1、請求項
4、請求項6、請求項8のいずれか記載のデータ入力装
置。10. The correction means generates a set of sets of the touch panel coordinate values and the screen coordinate values, calculates a conversion coefficient approximating the set by a method such as regression analysis, and calculates the calculation result. 9. The data input device according to claim 1, further comprising means for outputting a correction result of the conversion coefficient.
変換係数の補正結果として出力する場合に、X座標に対
する変換係数とY座標に対する変換係数をそれぞれ独立
に算出する手段を有することを特徴とする請求項10記
載のデータ入力装置。11. The image processing apparatus according to claim 1, wherein the correction means includes means for independently calculating a conversion coefficient for the X coordinate and a conversion coefficient for the Y coordinate when outputting the calculation result as a correction result of the conversion coefficient. 11. The data input device according to claim 10, wherein
標値と前記スクリーン座標値との組の集合を生成し、当
該各組の信頼度に応じた重み付けをした後に、当該集合
に近似する変換係数を回帰分析等の手法により算出する
手段を有することを特徴とする請求項10または請求項
11記載のデータ入力装置。12. The correction means generates a set of sets of the touch panel coordinate values and the screen coordinate values, weights the sets according to the reliability of each set, and then converts a conversion coefficient approximating the set. 12. The data input device according to claim 10, further comprising means for calculating by a method such as regression analysis.
ッチパネル座標の値域に対して、座標変換結果であるス
クリーン座標値がスクリーンの表示範囲内に含まれるか
否かを判定し、当該判定結果が否定の場合に当該スクリ
ーン座標値がスクリーンの表示範囲内に収まるように前
記タッチパネル座標に対する変換係数を補正する手段を
有することを特徴とする請求項10または請求項11記
載のデータ入力装置。13. The correction means determines whether or not a screen coordinate value, which is a coordinate conversion result, is included in a display range of a screen with respect to a value range of touch panel coordinates input in the past. 12. The data input device according to claim 10, further comprising: means for correcting a conversion coefficient with respect to the touch panel coordinates so that the screen coordinate value falls within the display range of the screen when n is negative.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32445997A JP3959163B2 (en) | 1997-11-26 | 1997-11-26 | Data input device and coordinate transformation method applied to the same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32445997A JP3959163B2 (en) | 1997-11-26 | 1997-11-26 | Data input device and coordinate transformation method applied to the same |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11161427A true JPH11161427A (en) | 1999-06-18 |
| JP3959163B2 JP3959163B2 (en) | 2007-08-15 |
Family
ID=18166055
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32445997A Expired - Fee Related JP3959163B2 (en) | 1997-11-26 | 1997-11-26 | Data input device and coordinate transformation method applied to the same |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3959163B2 (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005196248A (en) * | 2003-12-26 | 2005-07-21 | Murata Mach Ltd | Display input device |
| US7535461B2 (en) | 2003-12-01 | 2009-05-19 | Canon Kabushiki Kaisha | Information processing apparatus, control method therefor, and program |
| JP2009160131A (en) * | 2007-12-28 | 2009-07-23 | Konami Digital Entertainment Co Ltd | GAME DEVICE, INPUT POSITION ADJUSTMENT METHOD IN GAME DEVICE, AND INPUT POSITION ADJUSTMENT PROGRAM |
| KR101037647B1 (en) * | 2009-02-27 | 2011-05-30 | 리서치 인 모션 리미티드 | Calibration system and method of touch screen display |
| JP2013117916A (en) * | 2011-12-05 | 2013-06-13 | Denso Corp | Input display device |
| US8619043B2 (en) | 2009-02-27 | 2013-12-31 | Blackberry Limited | System and method of calibration of a touch screen display |
| JP2016027495A (en) * | 2013-07-26 | 2016-02-18 | キヤノンマーケティングジャパン株式会社 | Information processing apparatus, information processing method, and program |
| CN113672332A (en) * | 2021-08-25 | 2021-11-19 | 北京鲸鲮信息系统技术有限公司 | Window display method, device, equipment, storage medium and program |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5457941B2 (en) | 2009-08-06 | 2014-04-02 | キヤノン株式会社 | Information processing apparatus and information processing apparatus control method |
-
1997
- 1997-11-26 JP JP32445997A patent/JP3959163B2/en not_active Expired - Fee Related
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7535461B2 (en) | 2003-12-01 | 2009-05-19 | Canon Kabushiki Kaisha | Information processing apparatus, control method therefor, and program |
| JP2005196248A (en) * | 2003-12-26 | 2005-07-21 | Murata Mach Ltd | Display input device |
| JP2009160131A (en) * | 2007-12-28 | 2009-07-23 | Konami Digital Entertainment Co Ltd | GAME DEVICE, INPUT POSITION ADJUSTMENT METHOD IN GAME DEVICE, AND INPUT POSITION ADJUSTMENT PROGRAM |
| KR101037647B1 (en) * | 2009-02-27 | 2011-05-30 | 리서치 인 모션 리미티드 | Calibration system and method of touch screen display |
| US8619043B2 (en) | 2009-02-27 | 2013-12-31 | Blackberry Limited | System and method of calibration of a touch screen display |
| JP2013117916A (en) * | 2011-12-05 | 2013-06-13 | Denso Corp | Input display device |
| JP2016027495A (en) * | 2013-07-26 | 2016-02-18 | キヤノンマーケティングジャパン株式会社 | Information processing apparatus, information processing method, and program |
| CN113672332A (en) * | 2021-08-25 | 2021-11-19 | 北京鲸鲮信息系统技术有限公司 | Window display method, device, equipment, storage medium and program |
| CN113672332B (en) * | 2021-08-25 | 2024-03-12 | 北京字节跳动网络技术有限公司 | Window display method, device, apparatus, storage medium, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3959163B2 (en) | 2007-08-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7477240B2 (en) | Input apparatus, computer apparatus, method for identifying input object, method for identifying input object in keyboard, and computer program | |
| US9891818B2 (en) | Adaptive touch-sensitive displays and methods | |
| US20100245242A1 (en) | Electronic device and method for operating screen | |
| GB2404547A (en) | A touch screen system for reducing input errors | |
| JPWO2009031214A1 (en) | Portable terminal device and display control method | |
| JPH10269022A (en) | Portable information processing device with communication function | |
| CN102262497A (en) | Method and device for amplifying touch button in touch screen | |
| JP5522755B2 (en) | INPUT DISPLAY CONTROL DEVICE, THIN CLIENT SYSTEM, INPUT DISPLAY CONTROL METHOD, AND PROGRAM | |
| JP5388246B1 (en) | INPUT DISPLAY CONTROL DEVICE, THIN CLIENT SYSTEM, INPUT DISPLAY CONTROL METHOD, AND PROGRAM | |
| JP2010061372A (en) | Information processor, pointer designation method, and program | |
| US20060262102A1 (en) | Apparatus and method for displaying input window | |
| CN113282262A (en) | Control method and device for screen projection display picture, mobile terminal and storage medium | |
| JP3959163B2 (en) | Data input device and coordinate transformation method applied to the same | |
| US20140247220A1 (en) | Electronic Apparatus Having Software Keyboard Function and Method of Controlling Electronic Apparatus Having Software Keyboard Function | |
| JP3601781B2 (en) | Computer device, display device, display control device, storage medium, program transmission device, display control method | |
| JP3123887B2 (en) | Coordinate detection / display device | |
| CN104166508B (en) | A kind of touch-control implementation method and device | |
| JPH1124841A (en) | Information processing apparatus, processing method, and storage medium | |
| JP2003296027A (en) | Method of optimizing button recognition area on touch panel | |
| JP2000347800A (en) | Device and method for proofreading pointing cursor | |
| JP2012033118A (en) | Display device, display method and display program | |
| US20070094614A1 (en) | Data processing device | |
| JP2002287907A (en) | Touch panel input device and input method | |
| CN107145259A (en) | Touch icon proofreading method and device | |
| JP3526421B2 (en) | Coordinate input device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060130 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060228 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060414 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060801 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060927 |
|
| 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: 20070508 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070514 |
|
| LAPS | Cancellation because of no payment of annual fees |