JP2010039868A - Position coordinate processing apparatus and position coordinate processing method - Google Patents

Position coordinate processing apparatus and position coordinate processing method Download PDF

Info

Publication number
JP2010039868A
JP2010039868A JP2008203542A JP2008203542A JP2010039868A JP 2010039868 A JP2010039868 A JP 2010039868A JP 2008203542 A JP2008203542 A JP 2008203542A JP 2008203542 A JP2008203542 A JP 2008203542A JP 2010039868 A JP2010039868 A JP 2010039868A
Authority
JP
Japan
Prior art keywords
position coordinate
position coordinates
processing apparatus
distance
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
Application number
JP2008203542A
Other languages
Japanese (ja)
Inventor
Yuji Ichikawa
雄二 市川
Ryoji Yoshimoto
良治 吉本
Keisuke Iwasaki
圭介 岩崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2008203542A priority Critical patent/JP2010039868A/en
Publication of JP2010039868A publication Critical patent/JP2010039868A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a position coordinate processing apparatus which prevents erroneous detection of position coordinates which a user does not intend. <P>SOLUTION: A position coordinate processing apparatus 1 includes: a division part 10 which divides a set of position coordinates comprising position coordinates showing a position of at least one object, into partial sets on the basis of distances between position coordinates; and a position coordinate setting part 11 which calculates representative values of position coordinates in the partial sets on the basis of position coordinates included in respective partial sets and sets the calculated representative values as position coordinates of the object. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、複数の接触点を検出可能なタッチパネルに関するものであり、特には、パネルにおける物体の接触点の検出精度を向上させる位置座標処理装置に関する。   The present invention relates to a touch panel that can detect a plurality of contact points, and more particularly, to a position coordinate processing apparatus that improves the detection accuracy of an object contact point on a panel.

画像を表示する表示部として液晶ディスプレイを備えた画像表示装置(以下、単に表示装置と称する)は、携帯電話およびPDA(Personal Digital Assistants)をはじめとして、各種情報機器において幅広く用いられている。   An image display device (hereinafter simply referred to as a display device) having a liquid crystal display as a display unit for displaying an image is widely used in various information devices such as mobile phones and PDAs (Personal Digital Assistants).

PDAでは、指またはペンなどを表示装置に直接接触させることにより情報の入力が可能であるタッチセンサを備えた表示装置を搭載していることが一般的である。これによって、キーボードなどの操作入力部と画像を表示する表示装置とを一体とすることができるため、情報機器の小型化を実現することができる。また、近年では携帯電話または携帯型の音楽プレーヤーにおいても、タッチセンサを備える表示装置の普及が進んでいる。   In general, a PDA is equipped with a display device having a touch sensor that can input information by directly bringing a finger or a pen into contact with the display device. As a result, an operation input unit such as a keyboard and a display device that displays an image can be integrated, so that downsizing of the information device can be realized. In recent years, display devices including touch sensors have been widely used in mobile phones or portable music players.

このようなタッチセンサを備えた表示装置は、例えば特許文献1に開示されている。特許文献1に記載の表示装置は、主として、エッジ検出回路、接触判定回路および座標計算回路を備えている。   A display device provided with such a touch sensor is disclosed in Patent Document 1, for example. The display device described in Patent Document 1 mainly includes an edge detection circuit, a contact determination circuit, and a coordinate calculation circuit.

エッジ検出回路は、撮影された画像のエッジを検出することによりエッジ画像を取得する。接触判定回路は、エッジ検出回路において取得されたエッジ画像を用いて、物体が表示装置の表示画面に接触したか否かを判定する。より具体的には、接触回路は、エッジ毎にその移動方向(すなわち、エッジの座標の時間変化)を検出し、互いに逆方向に移動するエッジがある場合に、物体が表示装置の表示画面に接触したと判定する。   The edge detection circuit acquires an edge image by detecting an edge of the captured image. The contact determination circuit determines whether or not the object has contacted the display screen of the display device, using the edge image acquired by the edge detection circuit. More specifically, the contact circuit detects the movement direction (that is, the time change of the coordinate of the edge) for each edge, and when there is an edge that moves in the opposite direction, the object is displayed on the display screen of the display device. Judged to have touched.

このように、特許文献1に記載の表示装置では、物体が接触しない限りはエッジが互いに逆方向に移動しないという原理を利用して、物体の接触を判定している。すなわち、特許文献1に記載の表示装置は、逆方向への移動量が所定の閾値以上の場合に物体が表示装置の表示画面に接触したと判定することによって、判定の精度を高めている。   As described above, in the display device described in Patent Document 1, contact of an object is determined using the principle that edges do not move in opposite directions unless the object is in contact. That is, the display device described in Patent Document 1 increases the accuracy of the determination by determining that the object has touched the display screen of the display device when the amount of movement in the reverse direction is equal to or greater than a predetermined threshold.

また、座標計算回路は、物体が接触したと判定された場合に、エッジの重心を物体の座標位置として計算する。すなわち、物体が接触する前に座標位置を計算することにより、位置算出精度が低下することを抑制している。   The coordinate calculation circuit calculates the center of gravity of the edge as the coordinate position of the object when it is determined that the object has touched. That is, by calculating the coordinate position before the object comes into contact, the position calculation accuracy is prevented from being lowered.

なお、近年では、表示装置上に複数の物体が接触していることを検出することができる、すなわち表示画面上における複数の接触点を同時に検出することができるタッチセンサも普及しつつある。
特開2006−244446号公報(平成18年9月14日公開)
In recent years, touch sensors that can detect that a plurality of objects are in contact with a display device, that is, can simultaneously detect a plurality of contact points on a display screen, are becoming popular.
JP 2006-244446 A (published September 14, 2006)

物体と表示装置との接触座標(位置座標)を複数個出力することが可能であるセンサを備えた表示装置(「位置座標を複数出力することが可能であるセンサを備えた表示装置」を、以下単にタッチパネルとも称する)では、物体と表示装置との接触を誤検出することがある。例えば、タッチパネルに接触する物体の接触面積がタッチパネルの位置分解能よりも大きい場合、接触している物体(例えば、指)が1つであるにも関わらず、すなわち、表示装置に接触している接触領域が1つであるにも関わらず、複数の物体が接触していると誤検出されることがある。このような誤検出について、図11(a)〜(c)を参照して具体的に説明する。   A display device including a sensor capable of outputting a plurality of contact coordinates (position coordinates) between an object and the display device (“display device including a sensor capable of outputting a plurality of position coordinates”, In the following, the contact between the object and the display device may be erroneously detected. For example, when the contact area of the object that touches the touch panel is larger than the position resolution of the touch panel, the contact that is in contact with the display device even though there is one object (for example, a finger) Even if there is only one area, it may be erroneously detected that a plurality of objects are in contact. Such erroneous detection will be specifically described with reference to FIGS.

光センサアレイを用いて画像処理する方式の表示装置である場合、図11(a)に示すように、親指および人差し指が表示装置に接触している状態で接触認識処理を行うと、表示装置は、図11(b)に示すように、4つの接触部が存在すると認識する。したがって、表示装置は、図11(c)に示すように、4つの接触点の座標を検出(出力)してしまう。   In the case of a display device that uses an optical sensor array for image processing, as shown in FIG. 11A, when the contact recognition process is performed with the thumb and index finger in contact with the display device, the display device As shown in FIG. 11B, it is recognized that there are four contact portions. Therefore, the display device detects (outputs) the coordinates of the four contact points as shown in FIG.

このような表示装置における接触点の誤検出は、指の爪の存在、指が動く場合の圧力分布の変化、検出素子の温度特性およびその他の外的要因(例えば、光センサアレイを用いる場合には、外乱光)など多岐にわたるため、センサの信号処理のアルゴリズムを改良したのみでは、全ての要因に起因する誤検出を防止することは困難である。また、特許文献1には、このような誤検出を防止する技術について何ら開示されていない。   Such erroneous detection of a contact point in a display device includes the presence of a fingernail, changes in pressure distribution when the finger moves, temperature characteristics of a detection element, and other external factors (for example, when using an optical sensor array). Therefore, it is difficult to prevent false detection caused by all factors only by improving the sensor signal processing algorithm. Patent Document 1 does not disclose any technique for preventing such erroneous detection.

本発明は、上記の問題点に鑑みてなされたものであり、その主たる目的は、ユーザーが意図しない位置座標が誤って検出されてしまうことを防止する位置座標処理装置を提供する。   The present invention has been made in view of the above-described problems, and a main object thereof is to provide a position coordinate processing apparatus that prevents erroneous detection of position coordinates not intended by the user.

本発明に係る位置座標処理装置では、上記課題を解決するために、
少なくとも1つの物体の位置を示す位置座標からなる位置座標集合を、該位置座標集合に属する位置座標間の距離に基づいて部分集合に分割する分割手段と、
上記分割手段により分割された各部分集合の代表値を、当該部分集合に属する位置座標に基づいて算出する算出手段と、
上記算出手段により算出された代表値を、上記少なくとも1つの物体の位置を示す位置座標として設定する設定手段と、
を備えていることを特徴としている。
In the position coordinate processing apparatus according to the present invention, in order to solve the above problem,
A dividing unit configured to divide a position coordinate set including position coordinates indicating a position of at least one object into subsets based on a distance between position coordinates belonging to the position coordinate set;
Calculating means for calculating a representative value of each subset divided by the dividing means based on position coordinates belonging to the subset;
Setting means for setting the representative value calculated by the calculating means as position coordinates indicating the position of the at least one object;
It is characterized by having.

本発明に係る位置座標処理装置では、位置座標集合を、位置座標間の距離に基づいて分割した部分集合毎に代表値を算出し、算出した代表値を物体の位置を示す位置座標として設定する。   In the position coordinate processing apparatus according to the present invention, the representative value is calculated for each subset obtained by dividing the position coordinate set based on the distance between the position coordinates, and the calculated representative value is set as the position coordinate indicating the position of the object. .

上記の構成によれば、当該位置座標処理装置に入力された位置座標を、ノイズとして検出される位置座標を考慮した新たな位置座標として出力することができる。これによって、ユーザーが意図した位置座標ではない位置座標が誤って検出されてしまうことを防止することができる効果を奏する。   According to said structure, the position coordinate input into the said position coordinate processing apparatus can be output as a new position coordinate in consideration of the position coordinate detected as noise. As a result, it is possible to prevent the position coordinates that are not intended by the user from being erroneously detected.

したがって、例えば、本発明に係る位置座標処理装置をタッチパネルに搭載した場合には、物体の接触点として検出される位置座標の検出精度を向上させることができる効果を奏する。   Therefore, for example, when the position coordinate processing apparatus according to the present invention is mounted on a touch panel, there is an effect that it is possible to improve the detection accuracy of position coordinates detected as a contact point of an object.

なお、上記距離は、2つの位置座標p=(xp、yp)、q=(xq、yq)の各成分の2乗和の平方根として算出されるユークリッド距離d(p、q)=[(xp−xq)2+(yp−yq)2]1/2に限らない。すなわち、4つの条件(1)d(p、q)≧0、(2)d(p、q)=d(q、p)、(3)d(p、q)=0⇔p=q、(4)d(p、r)+d(r、q)≧d(p、q)を満足する任意の実数値関数dを、位置座標p、qの間の距離として用いることができる。例えば、d(p、q)=|xp−xq|+|yp−yq|(各成分の差の絶対値の和)を距離として用いてもよい。 Note that the above-mentioned distance is the Euclidean distance d (p, q) = [(xp calculated as the square root of the sum of squares of the components of the two position coordinates p = (xp, yp) and q = (xq, yq). -Xq) < 2 > + (yp-yq) < 2 >] 1/2 . That is, four conditions (1) d (p, q) ≧ 0, (2) d (p, q) = d (q, p), (3) d (p, q) = 0⇔p = q, (4) Any real-valued function d that satisfies d (p, r) + d (r, q) ≧ d (p, q) can be used as the distance between the position coordinates p, q. For example, d (p, q) = | xp−xq | + | yp−yq | (sum of absolute values of differences between components) may be used as the distance.

本発明に係る位置座標処理装置では、さらに、上記分割手段は、上記位置座標集合に属し、かつ、距離が所定の閾値を下回る2つの位置座標が同一の部分集合に属するように、上記位置座標集合を分割することが好ましい。   In the position coordinate processing apparatus according to the present invention, the dividing means further includes the position coordinates so that two position coordinates belonging to the position coordinate set and a distance below a predetermined threshold belong to the same subset. It is preferable to divide the set.

本発明に係る位置座標処理装置では、さらに、上記設定手段により設定された設定済みの位置座標を記憶するための記憶部を更に備え、上記分割手段は、上記位置座標集合に属する位置座標のうち、上記設定済み位置座標との距離が上記閾値を下回る位置座標を、上記設定済み位置座標に関連付けられた部分集合の要素としたうえで、上記位置座標集合に属する位置座標のうち、上記設定済み位置座標との距離が上記閾値を上回る位置座標からなる集合を、距離が上記閾値を下回る2つの位置座標が同一の部分集合に属するように部分集合に分割することが好ましい。   The position coordinate processing apparatus according to the present invention further includes a storage unit for storing the set position coordinates set by the setting means, and the dividing means includes the position coordinates belonging to the position coordinate set. The position coordinates whose distance from the set position coordinates is less than the threshold are set as elements of a subset associated with the set position coordinates, and the set coordinates among the position coordinates belonging to the set position coordinates are set. It is preferable to divide a set of position coordinates whose distance from the position coordinates is greater than the threshold value into subsets so that two position coordinates whose distance is less than the threshold value belong to the same subset.

上記の構成によれば、位置座標集合に属する位置座標のうち、設定済み位置座標との距離が閾値より小さい位置座標を、設定済み位置座標に関連付けられた部分集合の要素とする。すなわち、本発明に係る位置座標処理装置では、位置座標を、設定済みの位置座標の移動点として認識させることができる。   According to the above configuration, out of the position coordinates belonging to the position coordinate set, the position coordinates whose distance from the set position coordinates is smaller than the threshold value are set as elements of the subset associated with the set position coordinates. That is, in the position coordinate processing apparatus according to the present invention, the position coordinates can be recognized as a movement point of the set position coordinates.

これによって、移動点として認識されるべき位置座標が新たな接触点として認識されることを防止することができるため、本発明に係る位置座標処理装置では、ユーザーの意図しない位置座標を誤って検出してしまうことをさらに一層防止することができる効果を奏する。   As a result, it is possible to prevent a position coordinate that should be recognized as a moving point from being recognized as a new contact point. Therefore, the position coordinate processing apparatus according to the present invention erroneously detects a position coordinate that is not intended by the user. There is an effect that can be further prevented.

したがって、例えば、本発明に係る位置座標処理装置をタッチパネルに搭載した場合には、物体の接触点として検出される位置座標の検出精度をより一層向上させることができる効果を奏する。   Therefore, for example, when the position coordinate processing apparatus according to the present invention is mounted on a touch panel, the detection accuracy of the position coordinates detected as the contact point of the object can be further improved.

本発明に係る位置座標処理装置では、さらに、上記距離の統計分布に基づいて、上記閾値を設定する閾値設定手段をさらに備えていることが好ましい。   The position coordinate processing apparatus according to the present invention preferably further includes a threshold setting unit that sets the threshold based on the statistical distribution of the distance.

本発明に係る位置座標処理装置では、さらに、上記閾値設定手段は、上記閾値設定手段は、上記位置座標集合に属する2つの位置座標からなる位置座標対のうち位置座標間の距離が所定値未満となる位置座標対の数と、当該所定値未満の距離の総和と、当該所定値未満の距離の二乗和とに基づいて、上記閾値を設定することが好ましい。   In the position coordinate processing apparatus according to the present invention, the threshold value setting means further includes a threshold value setting means that the distance between the position coordinates of the position coordinate pairs consisting of two position coordinates belonging to the position coordinate set is less than a predetermined value. It is preferable to set the threshold based on the number of position coordinate pairs to be obtained, the sum of distances less than the predetermined value, and the sum of squares of distances less than the predetermined value.

上記の構成によれば、ユーザーの意図しない位置座標の検出数に応じて、分割手段において用いる閾値を適宜変更することができる。すなわち、位置検出する物体の違いまたは外的環境に応じて、最も適切な値となるように閾値を設定することができる。   According to said structure, the threshold value used in a division | segmentation means can be suitably changed according to the detection number of the position coordinate which a user does not intend. That is, the threshold value can be set so as to be the most appropriate value according to the difference in the object to be detected or the external environment.

これによって、ユーザーが意図した位置座標ではない位置座標が誤って検出されてしまうことをより一層防止することができる効果を奏する。   As a result, it is possible to further prevent the position coordinates that are not intended by the user from being erroneously detected.

したがって、例えば、本発明に係る位置座標処理装置をタッチパネルに搭載した場合には、物体の接触点として検出される位置座標の検出精度をさらに一層向上させることができる効果を奏する。   Therefore, for example, when the position coordinate processing apparatus according to the present invention is mounted on the touch panel, the detection accuracy of the position coordinates detected as the contact point of the object can be further improved.

本発明に係る位置座標処理方法では、上記課題を解決するために、
少なくとも1つの物体の位置を示す位置座標からなる位置座標集合を、位置座標間の距離に基づいて部分集合に分割する分割ステップと、
上記分割ステップにおいて分割された各部分集合の代表値を、当該部分集合に属する位置座標に基づいて算出する算出ステップと、
上記算出ステップにおいて算出された代表値を、上記少なくとも1つの物体の位置を示す位置座標として設定する設定ステップと、
を含むことを特徴としている。
In the position coordinate processing method according to the present invention, in order to solve the above problem,
A division step of dividing a position coordinate set composed of position coordinates indicating the position of at least one object into subsets based on a distance between the position coordinates;
A calculation step of calculating a representative value of each subset divided in the division step based on position coordinates belonging to the subset;
A setting step for setting the representative value calculated in the calculation step as a position coordinate indicating the position of the at least one object;
It is characterized by including.

上記の構成によれば、本発明に係る位置座標処理装置と同様の作用効果を奏する。   According to said structure, there exists an effect similar to the position coordinate processing apparatus based on this invention.

なお、画像を表示する表示パネルと、当該表示パネルに接触する物体の位置を示す位置座標を同時に複数出力するセンサと、本発明に係る位置座標処理装置と、を備えており、上記位置座標処理装置は、上記センサから入力される位置座標に基づいて算出した代表値を上記表示パネルに接触する物体の位置を示す新たな位置座標として設定することを特徴とする表示装置、および当該表示装置を備えた携帯型情報端末も本発明の範疇に含まれる。   Note that a display panel that displays an image, a sensor that simultaneously outputs a plurality of position coordinates indicating the position of an object that touches the display panel, and a position coordinate processing device according to the present invention are provided. An apparatus sets a representative value calculated based on a position coordinate input from the sensor as a new position coordinate indicating a position of an object in contact with the display panel, and the display apparatus. The portable information terminal provided is also included in the category of the present invention.

さらに、本発明に係る位置座標処理装置を動作させるためのプログラムであって、コンピュータを上記の各手段として駆動させることを特徴とするプログラムおよび該プログラムを記録したコンピュータ読み取り可能な記録媒体も本発明の範疇に含まれる。   Furthermore, a program for operating the position coordinate processing apparatus according to the present invention, which is characterized in that the computer is driven as each of the above-mentioned means, and a computer-readable recording medium on which the program is recorded are also included in the present invention. Included in the category.

本発明に係る位置座標処理装置は、以上のように、物体の位置を示す位置座標からなる位置座標集合を、位置座標間の距離に基づいて分割した部分集合毎に代表値を算出し、算出した代表値を物体の位置を示す位置座標として設定する。   As described above, the position coordinate processing apparatus according to the present invention calculates a representative value for each subset obtained by dividing a position coordinate set including position coordinates indicating the position of an object based on a distance between the position coordinates, and calculates The representative value is set as position coordinates indicating the position of the object.

これによって、本発明に係る位置座標処理装置では、ユーザーが意図した位置座標ではない位置座標が誤って検出されてしまうことを防止することができる効果を奏する。   Thus, the position coordinate processing apparatus according to the present invention has an effect of preventing the position coordinates that are not the position coordinates intended by the user from being erroneously detected.

〔実施形態1〕
本発明に係る位置情報処理装置の一実施形態について、図1〜7を参照しつつ以下に説明する。なお、本実施形態では、光センサを内蔵した液晶パネルである光センサ内蔵液晶パネルを備えた携帯型情報端末に搭載される位置情報処理装置を例に挙げて説明する。
[Embodiment 1]
An embodiment of a position information processing apparatus according to the present invention will be described below with reference to FIGS. In the present embodiment, a position information processing apparatus mounted on a portable information terminal including an optical sensor built-in liquid crystal panel, which is a liquid crystal panel incorporating an optical sensor, will be described as an example.

(携帯型情報端末100の構成)
光センサ内蔵液晶パネル(以下、単に液晶パネルと称する)を備えた端末装置の構成について、図2を参照しつつ以下に説明する。携帯型情報端末100は、図2に示すように、液晶パネル110、画像処理回路111、位置処理装置1、SRAM112、およびフラッシュメモリ113を備えている。
(Configuration of portable information terminal 100)
A configuration of a terminal device including a liquid crystal panel with a built-in optical sensor (hereinafter simply referred to as a liquid crystal panel) will be described below with reference to FIG. As shown in FIG. 2, the portable information terminal 100 includes a liquid crystal panel 110, an image processing circuit 111, a position processing device 1, an SRAM 112, and a flash memory 113.

液晶パネル110内部のには、光センサが2次元アレイ状に配置されている。すなわち、液晶パネル110は、パックライトから放射され、液晶パネル上の物体表面で反射した光に基づいて、画像情報を取得する。画像処理回路111は、取得した画像における物体の位置座標を算出すると共に、および物体とパネルとの接触を判定する。すなわち、物体とパネルとの接触位置の位置座標を算出し、出力する。   Photosensors are arranged in a two-dimensional array inside the liquid crystal panel 110. That is, the liquid crystal panel 110 acquires image information based on the light emitted from the pack light and reflected by the object surface on the liquid crystal panel. The image processing circuit 111 calculates the position coordinates of the object in the acquired image and determines the contact between the object and the panel. That is, the position coordinates of the contact position between the object and the panel are calculated and output.

このとき、パネルには光センサが2次元アレイ状に備えられているため、物体とパネルとの複数の接触位置を検出し、位置座標を算出することができる。もちろん、位置座標を算出するためのセンサは、光センサに限定されるものではなく、複数の接触位置を検出し、それぞれの位置座標を算出できるものであればよい。   At this time, since the panel is provided with optical sensors in a two-dimensional array, a plurality of contact positions between the object and the panel can be detected, and position coordinates can be calculated. Of course, the sensor for calculating the position coordinates is not limited to the optical sensor, and any sensor that can detect a plurality of contact positions and calculate the respective position coordinates may be used.

なお、本明細書等における「接触」とは、厳密には、物体と液晶パネル表面とが物理的には接していなくてもよい。例えば、光センサを備えた液晶パネルの場合には、画像情報に基づいて、画像処理回路111において接触していると判定されれば、物理的には非接触であっても接触しているとする。   Strictly speaking, “contact” in this specification and the like does not require that the object and the surface of the liquid crystal panel are in physical contact. For example, in the case of a liquid crystal panel provided with an optical sensor, if it is determined that the image processing circuit 111 is in contact based on image information, it is physically in contact even if it is not in contact. To do.

位置座標処理装置1は、フラッシュメモリ113に書き込まれたプログラムにしたがって、SRAM112を利用しつつ、画像処理回路111から出力された位置座標を処理する。位置座標処理装置1のより具体的な構成および動作について、以下に説明する。   The position coordinate processing apparatus 1 processes the position coordinates output from the image processing circuit 111 using the SRAM 112 according to the program written in the flash memory 113. A more specific configuration and operation of the position coordinate processing apparatus 1 will be described below.

(位置座標処理装置1の構成)
位置座標処理装置1は、図1に示すように、分割部10、位置座標設定部11、閾値設定部12、状態推定部13、記憶部14および15を備えている。なお、図1は、本発明に係る位置座標処理装置1の要部構成を示すブロック図である。位置座標処理装置1における各部材について、以下に説明する。
(Configuration of position coordinate processing apparatus 1)
As shown in FIG. 1, the position coordinate processing apparatus 1 includes a dividing unit 10, a position coordinate setting unit 11, a threshold setting unit 12, a state estimation unit 13, and storage units 14 and 15. FIG. 1 is a block diagram showing the main configuration of the position coordinate processing apparatus 1 according to the present invention. Each member in the position coordinate processing apparatus 1 will be described below.

(分割部10)
分割部10は、画像処理回路111より出力された位置座標からなる位置座標集合を、所定の処理に基づいて部分集合に分割する。分割部10は、図1に示すように、距離算出部20および比較部21を備えている。距離算出部20は、位置座標に基づいて、座標間の距離を算出する。比較部21は、距離算出部20において算出した位置座標間の距離と閾値Th1とを比較し、比較結果に基づいて、画像処理回路111より出力された位置座標集合を部分集合に分割する。なお、距離算出部20および比較部21の具体的な動作については、下記に詳述するため、ここではその説明を省略する。
(Division unit 10)
The dividing unit 10 divides the position coordinate set including the position coordinates output from the image processing circuit 111 into subsets based on a predetermined process. As shown in FIG. 1, the dividing unit 10 includes a distance calculating unit 20 and a comparing unit 21. The distance calculation unit 20 calculates the distance between the coordinates based on the position coordinates. The comparison unit 21 compares the distance between the position coordinates calculated by the distance calculation unit 20 and the threshold Th1, and divides the position coordinate set output from the image processing circuit 111 into subsets based on the comparison result. The specific operations of the distance calculation unit 20 and the comparison unit 21 will be described in detail below, and the description thereof is omitted here.

(位置座標設定部11)
位置座標設定部11は、分割部10において分割した部分集合に要素として含まれる位置座標に基づいて、当該部分集合の代表値を算出すると共に、算出した代表値を、物体の位置を示す位置座標として新たに設定する。すなわち、位置座標設定部11は、画像処理回路111より出力された位置座標からなる位置座標に基づいて、新たな位置座標を算出し、設定する。なお、設定された位置座標はアプリケーションの動作などにおいて利用される。
(Position coordinate setting unit 11)
The position coordinate setting unit 11 calculates a representative value of the subset based on the position coordinates included as an element in the subset divided by the dividing unit 10, and uses the calculated representative value as a position coordinate indicating the position of the object. As a new setting. That is, the position coordinate setting unit 11 calculates and sets a new position coordinate based on the position coordinate composed of the position coordinates output from the image processing circuit 111. The set position coordinates are used in the operation of the application.

(閾値設定部12)
閾値設定部12は、距離算出部20において算出した位置座標間の距離に基づいて、閾値Th1を設定する。なお、閾値設定部12における閾値Th1の設定方法の詳細は下記に詳述するため、ここではその説明を省略する。
(Threshold setting unit 12)
The threshold setting unit 12 sets the threshold Th1 based on the distance between the position coordinates calculated by the distance calculating unit 20. Note that details of a method of setting the threshold Th1 in the threshold setting unit 12 will be described in detail below, and thus the description thereof is omitted here.

(状態推定部13)
状態推定部13は、物体の接触状態を判定する。より具体的には、状態推定部13は、位置座標設定部11において設定された位置座標が物体の新規接触により生じた座標であるのか、物体が移動したことにより生じた座標であるのかを判定する。また、状態推定部13は、上記の判定に加えて、物体との接触が解除されたことにより消失した位置座標があるか否かについても判定する。なお、判定された物体の接触状態については、位置座標設定部11において設定された位置座標と共に、アプリケーションの動作などにおいて利用される。なお、状態推定部13における判定は、従来公知の手法を用いればよい。
(State estimation unit 13)
The state estimation unit 13 determines the contact state of the object. More specifically, the state estimation unit 13 determines whether the position coordinate set in the position coordinate setting unit 11 is a coordinate generated by a new contact of an object or a coordinate generated by moving the object. To do. In addition to the above determination, the state estimation unit 13 also determines whether there is a position coordinate that has disappeared due to the release of the contact with the object. The determined contact state of the object is used in the operation of the application together with the position coordinates set in the position coordinate setting unit 11. In addition, what is necessary is just to use the conventionally well-known method for the determination in the state estimation part 13. FIG.

(記憶部14および15)
記憶部14は、閾値設定部12において設定された閾値Th1を記憶する。記憶部15は、位置座標設定部11において設定された位置座標を記憶する。すなわち、位置座標処理装置1では、記憶部15は、画像処理回路111より出力された位置座標かならる位置座標集合を分割部10において分割して得られた部分集合の代表値を記憶している。
(Storage units 14 and 15)
The storage unit 14 stores the threshold Th1 set by the threshold setting unit 12. The storage unit 15 stores the position coordinates set by the position coordinate setting unit 11. That is, in the position coordinate processing apparatus 1, the storage unit 15 stores representative values of subsets obtained by dividing the position coordinate set corresponding to the position coordinates output from the image processing circuit 111 by the dividing unit 10. Yes.

(位置座標処理装置1の動作)
次に、位置座標処理装置1の動作について、図3を参照しつつ以下に説明する。図3は、位置座標処理装置1の動作を示すフローチャートである。
(Operation of the position coordinate processing apparatus 1)
Next, the operation of the position coordinate processing apparatus 1 will be described below with reference to FIG. FIG. 3 is a flowchart showing the operation of the position coordinate processing apparatus 1.

まず、分割部10は入力された位置座標から任意の2点を選択する(ステップS1)。距離算出部20は、選択された2点の位置座標の座標値に基づいて、2点間の距離を算出する(ステップS2)。   First, the dividing unit 10 selects two arbitrary points from the input position coordinates (step S1). The distance calculation unit 20 calculates the distance between the two points based on the coordinate values of the position coordinates of the two selected points (step S2).

比較部21は、算出された距離が閾値Th1未満であるか否かを判定する(ステップS3)。算出された距離が閾値Th1未満である場合(ステップS3においてYes)、分割部10は選択した2点の位置座標が同一の集合に含まれる要素であると設定する(ステップS4)。より具体的には、選択した2点の位置座標を連結し、無向グラフを作成する。一方、算出された距離が閾値Th1以上である場合(ステップS3においてNo)、分割部10は選択した2点の位置座標が異なる集合に含まれる要素であると設定する(ステップS5)。すなわち、選択した2点の位置座標を連結しない。   The comparison unit 21 determines whether or not the calculated distance is less than the threshold value Th1 (step S3). When the calculated distance is less than the threshold Th1 (Yes in Step S3), the dividing unit 10 sets the position coordinates of the two selected points as elements included in the same set (Step S4). More specifically, an undirected graph is created by connecting the position coordinates of two selected points. On the other hand, when the calculated distance is greater than or equal to the threshold Th1 (No in step S3), the dividing unit 10 sets the selected two points as elements included in different sets (step S5). That is, the position coordinates of the two selected points are not connected.

続いて、分割部10は、入力された位置座標の全ての組み合わせにおいて距離を算出したか否かを判定する(ステップS6)。入力された位置座標の全ての組み合わせにおいて距離を算出した場合(ステップS6においてYes)、分割部10は、互いに連結されている位置座標同士が1つの集合となるように、入力された位置座標それぞれを集合に類別する(ステップS7)。入力された位置座標の全ての組み合わせにおいて距離を算出していない場合(ステップS6においてNo)、分割部10は距離を算出していない位置座標から2点を選択する(ステップS1)。すなわち、分割部10はステップS1からステップS4またはステップS5までの処理を再度実行し、入力された位置座標の全ての組み合わせにおいて距離を算出するまで繰り返す。   Subsequently, the dividing unit 10 determines whether or not distances have been calculated for all combinations of the input position coordinates (step S6). When the distances are calculated for all combinations of the input position coordinates (Yes in step S6), the dividing unit 10 inputs each of the input position coordinates so that the mutually connected position coordinates become one set. Are classified into sets (step S7). When distances are not calculated for all combinations of input position coordinates (No in step S6), the dividing unit 10 selects two points from position coordinates for which distances are not calculated (step S1). That is, the dividing unit 10 executes the processing from step S1 to step S4 or step S5 again, and repeats until distances are calculated for all combinations of the input position coordinates.

次に、位置座標設定部11は、各集合に要素として含まれる位置座標に基づいて、各集合の代表値を算出する(ステップS8)。位置座標設定部11は、算出した代表値を物体の接触している接触点の位置座標として設定し(ステップS9)、記憶部15に記憶すると共に、算出した代表値を状態推定部13および位置座標処理装置1外部へ出力する。   Next, the position coordinate setting unit 11 calculates a representative value of each set based on the position coordinates included as an element in each set (step S8). The position coordinate setting unit 11 sets the calculated representative value as the position coordinate of the contact point in contact with the object (step S9), stores it in the storage unit 15, and stores the calculated representative value in the state estimation unit 13 and the position. Output to the outside of the coordinate processing apparatus 1.

状態推定部13は、入力された代表値(位置座標設定部11において物体の位置座標として設定された座標値)と、記憶部15において直近に記憶された代表値とを比較することにより、位置座標設定部11において設定された位置座標とが新規の接触点であるのか、または移動した接触点であるのかを判定する(ステップS10)。また、状態推定部13は、接触の解除された点があるか否かについても判定する。状態推定部13において判定された結果は、位置座標設定部11において設定された位置座標と共に、位置座標処理装置1の外部へと出力される。なお、状態推定部13における位置座標の状態の判定は、従来公知のアルゴリズムを用いて判定すればよい。   The state estimation unit 13 compares the input representative value (the coordinate value set as the position coordinate of the object in the position coordinate setting unit 11) with the representative value most recently stored in the storage unit 15 to thereby determine the position. It is determined whether the position coordinate set in the coordinate setting unit 11 is a new contact point or a moved contact point (step S10). The state estimation unit 13 also determines whether there is a point where contact is released. The result determined by the state estimation unit 13 is output to the outside of the position coordinate processing apparatus 1 together with the position coordinates set by the position coordinate setting unit 11. Note that the state estimation unit 13 may determine the position coordinate state using a conventionally known algorithm.

(位置座標処理装置1の利点)
以上説明したように、位置座標処理装置1は、画像処理回路111より出力された、少なくとも1つの物体の位置を示す位置座標からなる位置座標集合を、位置座標間の距離に基づいて部分集合に分割し、分割した部分集合毎に代表値を算出し、算出した代表値を物体の位置を示す位置座標として設定する。より具体的には、画像処理回路111より出力された位置座標間の距離が閾値Th1未満となる位置座標同士を、同一の集合に類別する。そして、類別した位置座標を要素として含む集合毎に算出した代表値を物体の位置を表す座標として設定する。
(Advantages of the position coordinate processing apparatus 1)
As described above, the position coordinate processing apparatus 1 converts the position coordinate set, which is output from the image processing circuit 111 and includes position coordinates indicating the position of at least one object, into a subset based on the distance between the position coordinates. A representative value is calculated for each of the divided subsets, and the calculated representative value is set as position coordinates indicating the position of the object. More specifically, position coordinates whose distance between position coordinates output from the image processing circuit 111 is less than the threshold Th1 are classified into the same set. Then, the representative value calculated for each set including the classified position coordinates as elements is set as coordinates representing the position of the object.

これによって、位置座標処理装置1では、ユーザーの意図していない位置座標が誤って検出されてしまうことを防止することができる。   As a result, the position coordinate processing apparatus 1 can prevent erroneous detection of position coordinates not intended by the user.

したがって、液晶パネル110および画像処理回路111と共に位置座標処理装置1を搭載した表示装置(いわゆるタッチパネル)では、物体の接触点として検出される位置座標の検出精度を向上することができる。   Therefore, in the display device (so-called touch panel) in which the position coordinate processing device 1 is mounted together with the liquid crystal panel 110 and the image processing circuit 111, the detection accuracy of the position coordinates detected as the contact point of the object can be improved.

(閾値Th1の設定方法の詳細)
閾値Th1は、所定の値として設定されていてもよいし、ユーザーにより適宜することが可能であってもよい。さらに、閾値Th1は、所定のアルゴリズムに基づいて、動的に設定されてもよい。すなわち、閾値Th1は、距離の統計分布に基づいて設定されてもよい。
(Details of threshold Th1 setting method)
The threshold value Th1 may be set as a predetermined value, or may be appropriately determined by the user. Furthermore, the threshold value Th1 may be set dynamically based on a predetermined algorithm. That is, the threshold Th1 may be set based on a statistical distribution of distances.

本項では、閾値Th1を動的に設定する場合の設定方法について、図4および5を参照しつつ以下に説明する。図4は、2本の指を一定時間適当に移動させた場合に、距離算出部10において算出した距離の頻度情報を示すヒストグラムである。なお、図4では、算出した距離を2mm程度の単位でまとめた場合を一例として挙げている。   In this section, a setting method for dynamically setting the threshold Th1 will be described below with reference to FIGS. FIG. 4 is a histogram showing frequency information of distances calculated by the distance calculation unit 10 when two fingers are appropriately moved for a certain period of time. In FIG. 4, a case where the calculated distances are grouped in units of about 2 mm is taken as an example.

図4に示すように、距離の頻度は、大別して2つの山に分かれている。図4において右側の山は、位置座標間の距離が離れているため、2本の指の間の距離の頻度を示している。一方、図4において左側の山は、位置座標間の距離が接近しているため、接触点の位置座標と、いずれかの指のブレなどに起因するノイズとして検出される位置座標との間の距離の頻度を示している。すなわち、左側の山は、誤検出の原因となる位置座標間の距離の頻度である。したがって、閾値Th1の設定には、図4に示すように位置座標間の距離が所定の閾値Th2以下の値のみを用いることが好ましい。   As shown in FIG. 4, the frequency of distance is roughly divided into two mountains. The mountain on the right side in FIG. 4 indicates the frequency of the distance between the two fingers because the distance between the position coordinates is far away. On the other hand, since the distance between the position coordinates of the left mountain in FIG. 4 is close, the position between the position coordinates of the contact point and the position coordinates detected as noise due to blurring of one of the fingers or the like. The frequency of distance is shown. That is, the mountain on the left is the frequency of the distance between position coordinates that causes erroneous detection. Therefore, it is preferable to use only a value in which the distance between the position coordinates is equal to or smaller than the predetermined threshold Th2, as shown in FIG. 4, for setting the threshold Th1.

閾値Th1を動的に設定する場合の設定方法の詳細について、図5を参照しつつ以下に説明する。図5は、閾値Th1の設定方法を示すフローチャートである。   Details of the setting method when the threshold Th1 is dynamically set will be described below with reference to FIG. FIG. 5 is a flowchart showing a method for setting the threshold Th1.

まず、閾値設定部12は、カウンタk、総和S1、二乗和S2の値を初期化する(ステップS20)。続いて、閾値設定部12は、距離算出部20において算出された値(距離L)が閾値Th2以下であるか否かを判定する(ステップS21)。   First, the threshold setting unit 12 initializes the values of the counter k, the total sum S1, and the square sum S2 (step S20). Subsequently, the threshold setting unit 12 determines whether or not the value (distance L) calculated by the distance calculating unit 20 is equal to or less than the threshold Th2 (step S21).

距離Lが閾値Th2未満である場合(ステップS21においてYes)、閾値設定部12は、カウンタkに「1」を加算する(ステップS22)。続いて、閾値設定部12は、総和S1に距離Lの値を加算する(ステップS23)。また、閾値設定部12は、二乗和S2に距離Lの二乗の値を加算する(ステップS24)。   When the distance L is less than the threshold Th2 (Yes in Step S21), the threshold setting unit 12 adds “1” to the counter k (Step S22). Subsequently, the threshold setting unit 12 adds the value of the distance L to the total sum S1 (step S23). The threshold setting unit 12 adds the square value of the distance L to the square sum S2 (step S24).

なお、距離Lが閾値Th2以上である場合(ステップS21においてNo)には、閾値設定部12は、カウンタk、総和S1、二乗和S2の値を変更することなく、距離算出部20において算出された次の距離Lが閾値Th2以下であるか否かを判定する(ステップS21)。   When the distance L is equal to or greater than the threshold Th2 (No in step S21), the threshold setting unit 12 is calculated by the distance calculation unit 20 without changing the values of the counter k, the sum S1, and the square sum S2. It is determined whether or not the next distance L is equal to or less than the threshold value Th2 (step S21).

次に、閾値設定部12は、カウンタkの値が所定値以上であるか否かを判定する(ステップS25)。カウンタkの値が所定値未満である場合(ステップS25においてNo)、閾値設定部12は、距離算出部20において算出された距離Lの値が閾値Th2以下であるか否かを判定する。すなわち、閾値設定部12は、ステップS21からの処理をカウンタkの値が所定値以上となるまで繰り返す。   Next, the threshold setting unit 12 determines whether or not the value of the counter k is greater than or equal to a predetermined value (step S25). When the value of the counter k is less than the predetermined value (No in step S25), the threshold setting unit 12 determines whether or not the value of the distance L calculated by the distance calculating unit 20 is equal to or less than the threshold Th2. That is, the threshold setting unit 12 repeats the processing from step S21 until the value of the counter k becomes equal to or greater than a predetermined value.

カウンタkの値が所定値以上である場合(ステップS25においてYes)、閾値設定部12は、カウンタk、総和S1および二乗和S2の値に基づいて、閾値Th2未満であった距離の平均値および標準偏差を算出する(ステップS26)。続いて、閾値設定部12は、算出した平均値に標準偏差を加算し、得られた値を閾値Th1として設定する(ステップS27)。なお、閾値設定部12は、設定した閾値Th1を記憶部14に記憶する。すでに、記憶部14に閾値Th1が記憶されている場合には、記憶されている閾値Th1を新たに設定した閾値Th1に置き換える。   When the value of the counter k is equal to or greater than the predetermined value (Yes in step S25), the threshold setting unit 12 determines the average value of the distances that were less than the threshold Th2 based on the values of the counter k, the sum S1, and the square sum S2. A standard deviation is calculated (step S26). Subsequently, the threshold value setting unit 12 adds the standard deviation to the calculated average value, and sets the obtained value as the threshold value Th1 (step S27). The threshold setting unit 12 stores the set threshold Th1 in the storage unit 14. When the threshold value Th1 is already stored in the storage unit 14, the stored threshold value Th1 is replaced with a newly set threshold value Th1.

なお、上述した閾値Th1の動的な設定動作におけるカウンタkの所定値は、特に限定されるものではない。所定値としては、例えば、画像処理回路111における位置座標のサンプリングレートの値を用いればよい。具体的には、画像処理会とにおける位置座標のサンプリングレートが60Hzである場合には、所定値を「60」と設定すればよい。   The predetermined value of the counter k in the above-described dynamic setting operation of the threshold value Th1 is not particularly limited. As the predetermined value, for example, the value of the sampling rate of the position coordinates in the image processing circuit 111 may be used. Specifically, when the position coordinate sampling rate with the image processing association is 60 Hz, the predetermined value may be set to “60”.

閾値Th1を上述したように設定することにより、接触点の位置座標のノイズとして検出される位置座標の多少に応じて、閾値Th1を変更することができる。すなわち、位置検出する物体の違い(例えば、指であるのか、またはペンであるのか)、および外的環境(例えば、外乱光など)に応じて、最も適切な値となるように閾値Th1を設定することができる。これによって、例えば、位置座標処理装置1がタッチパネルに搭載されている場合には、物体の位置検出精度をより一層向上させることができる。   By setting the threshold value Th1 as described above, the threshold value Th1 can be changed according to the position coordinates detected as noise of the position coordinates of the contact point. That is, the threshold value Th1 is set so as to be the most appropriate value according to a difference in an object to be detected (for example, a finger or a pen) and an external environment (for example, disturbance light). can do. Thereby, for example, when the position coordinate processing device 1 is mounted on the touch panel, the position detection accuracy of the object can be further improved.

(位置座標の類別方法の変形例)
上述した位置座標処理装置1の動作では、入力された位置座標の2点を連結する無向グラフを作成することにより、入力された位置座標からなる位置座標集合を部分集合に分割する方法を例に挙げているが、位置座標集合の分割はこれに限定されるものではない。本項では、位置座標処理装置1に入力された位置座標からなる位置座標集合の分割方法の変形例について、図6および7を参照しつつ以下に説明する。図6は、位置座標処理装置1の変形例の要部構成を示す図である。
(Variation of position coordinate classification method)
In the operation of the position coordinate processing apparatus 1 described above, an example is a method of dividing a position coordinate set made up of input position coordinates into subsets by creating an undirected graph connecting two points of the input position coordinates. However, the division of the position coordinate set is not limited to this. In this section, a modified example of the method for dividing the position coordinate set composed of the position coordinates input to the position coordinate processing apparatus 1 will be described below with reference to FIGS. FIG. 6 is a diagram illustrating a main configuration of a modified example of the position coordinate processing apparatus 1.

図6に示すように、位置座標処理装置1aは、分割部10a、位置座標設定部11a、閾値設定部12、状態推定部13、記憶部14および15を備えている。このうち、分割部10aおよび位置座標設定部11a以外は位置座標処理装置1において説明した部材と同様であるため、ここではその説明を省略する。   As shown in FIG. 6, the position coordinate processing apparatus 1a includes a dividing unit 10a, a position coordinate setting unit 11a, a threshold setting unit 12, a state estimation unit 13, and storage units 14 and 15. Among these, since it is the same as that of the member demonstrated in the position coordinate processing apparatus 1 except the division part 10a and the position coordinate setting part 11a, the description is abbreviate | omitted here.

分割部10aは、距離算出部20aおよび比較部21を備えている。位置座標設定部11aは、部分集合の代表値を算出すると共に、算出した代表値を距離算出部20aにフィードバックする。位置座標設定部11aから代表値のフィードバックを受けた距離算出部20aは、位置座標設定部11aから入力された代表値を含めて位置座標間の距離を再度算出する。   The dividing unit 10a includes a distance calculating unit 20a and a comparing unit 21. The position coordinate setting unit 11a calculates a representative value of the subset, and feeds back the calculated representative value to the distance calculation unit 20a. The distance calculation unit 20a that receives the feedback of the representative value from the position coordinate setting unit 11a calculates the distance between the position coordinates again including the representative value input from the position coordinate setting unit 11a.

位置座標処理装置1aにおける位置座標の類別方法について、図7を参照しつつより具体的に説明する。図7は、位置情報処理装置1aの動作の概要を示すフローチャートである。   A method of classifying position coordinates in the position coordinate processing apparatus 1a will be described more specifically with reference to FIG. FIG. 7 is a flowchart showing an outline of the operation of the position information processing apparatus 1a.

まず、距離算出部20aは、位置座標処理装置1に入力された位置座標における全ての位置座標間の距離を算出する(ステップS30)。全ての位置座標間の距離の算出が終了すると、分割部10aは、位置座標1つ1つに対して、重みを設定する(ステップS31)。より具体的には、分割部10aは、位置座標と重みの値とを互いに関連付けて内部のメモリに記憶する。なお、設定される重みの値については特に限定されるものではないが、後段における計算を容易にするために、初期値は「1」に設定することが好ましい。   First, the distance calculation unit 20a calculates the distance between all the position coordinates in the position coordinates input to the position coordinate processing apparatus 1 (step S30). When the calculation of the distance between all the position coordinates is completed, the dividing unit 10a sets a weight for each position coordinate (step S31). More specifically, the dividing unit 10a associates position coordinates and weight values with each other and stores them in an internal memory. Although the weight value to be set is not particularly limited, it is preferable to set the initial value to “1” in order to facilitate calculation in the subsequent stage.

続いて、分割部10aは、距離算出部20aにおいて算出した位置座標間の距離のうち、最も短い距離を抽出する(ステップS32)。比較部21は、抽出された距離が閾値Th1未満であるか否かを判定する(ステップS33)。   Subsequently, the dividing unit 10a extracts the shortest distance among the distances between the position coordinates calculated by the distance calculating unit 20a (step S32). The comparison unit 21 determines whether or not the extracted distance is less than the threshold Th1 (step S33).

距離が閾値Th1未満である場合(ステップS33においてYes)、位置座標設定部11aは、抽出された距離を算出するために用いた位置座標の代表値を算出する(ステップS34)。より具体的には、位置座標設定部11aは、重み付き加算平均を用いて、2つの位置座標の平均座標を算出する。位置座標設定部11aは、算出した代表値(平均座標)を分割部10aにおける内部メモリに記憶する。分割部10aは記憶された代表値(平均座標)の重みを設定する(ステップS35)。より具体的には、分割部10aは、代表値の算出に用いた位置座標の重みを加算することにより代表値の重みを算出し、算出された代表値と関連付けて内部メモリに記憶する。続いて、分割部10aは、代表値の算出に用いられた2つの位置座標を内部メモリから消去する(ステップS36)。   When the distance is less than the threshold Th1 (Yes in Step S33), the position coordinate setting unit 11a calculates a representative value of the position coordinates used to calculate the extracted distance (Step S34). More specifically, the position coordinate setting unit 11a calculates an average coordinate of two position coordinates using a weighted addition average. The position coordinate setting unit 11a stores the calculated representative value (average coordinate) in the internal memory in the dividing unit 10a. The dividing unit 10a sets the weight of the stored representative value (average coordinate) (step S35). More specifically, the dividing unit 10a calculates the weight of the representative value by adding the weight of the position coordinates used for calculating the representative value, and stores the weight in the internal memory in association with the calculated representative value. Subsequently, the dividing unit 10a deletes the two position coordinates used for calculating the representative value from the internal memory (step S36).

次に、距離算出部20aは、再度、位置座標間の全ての距離の算出する(ステップS30)。すなわち、抽出した最も短い距離が閾値Th1以上となるまで、ステップS30からの処理を繰り返す。なお、位置座標設置部11aにおいて算出した代表値の距離以外は算出済であるため、ここでは、代表値とそれ以外の位置座標との間の距離を算出すればよい。   Next, the distance calculation unit 20a calculates all the distances between the position coordinates again (step S30). That is, the processing from step S30 is repeated until the extracted shortest distance is equal to or greater than the threshold Th1. Since the distance other than the representative value calculated in the position coordinate setting unit 11a has already been calculated, the distance between the representative value and other position coordinates may be calculated here.

抽出した最も短い距離が閾値Th1以上である場合(ステップS33においてYes)、位置座標設定手段11aは、分割部10aの内部メモリに記憶されている位置座標を物体の位置座標として設定する(ステップS37)。そして、位置座標設定部11は、位置座標処理装置1と同様に、設定した位置座標を記憶部15に記憶すると共に、状態推定部13および位置座標処理装置1外部へと出力する。   When the extracted shortest distance is equal to or greater than the threshold Th1 (Yes in Step S33), the position coordinate setting unit 11a sets the position coordinates stored in the internal memory of the dividing unit 10a as the position coordinates of the object (Step S37). ). The position coordinate setting unit 11 stores the set position coordinates in the storage unit 15 and outputs the set position coordinates to the outside of the state estimation unit 13 and the position coordinate processing device 1, similarly to the position coordinate processing device 1.

以上説明したように、位置座標処理装置1aの構成であっても、位置座標間の距離が閾値Th1未満である場合には代表値を算出し、その代表値を物体の位置座標として設定することができる。すなわち、位置座標処理装置1aでは、距離の算出に用いた2つの位置座標を、当該2つの位置座標を要素として含む部分集合に分割するか否か判定し、部分集合に分割する場合には、分割した部分集合の代表値を算出する処理を繰り返すことにより、物体の位置を示す位置座標を設定する。   As described above, even in the configuration of the position coordinate processing device 1a, when the distance between the position coordinates is less than the threshold Th1, the representative value is calculated and the representative value is set as the position coordinate of the object. Can do. That is, in the position coordinate processing apparatus 1a, it is determined whether or not the two position coordinates used for calculating the distance are divided into subsets including the two position coordinates as elements. By repeating the process of calculating the representative value of the divided subset, position coordinates indicating the position of the object are set.

これによって、位置座標処理装置1と同様に、複数の位置座標が同時に入力される場合であっても、ユーザーの意図しない位置座標が誤って検出されてしまうことを防止することができる。したがって、位置座標処理装置1の場合と同様に、位置座標処理装置1aを備えたタッチパネルにおける物体の位置座標の検出精度を向上させることができる。   As a result, similarly to the position coordinate processing apparatus 1, even when a plurality of position coordinates are input simultaneously, it is possible to prevent erroneous detection of position coordinates not intended by the user. Therefore, as in the case of the position coordinate processing apparatus 1, the detection accuracy of the position coordinates of the object on the touch panel provided with the position coordinate processing apparatus 1a can be improved.

(付記事項)
位置座標処理装置1および1aでは、いわゆるユークリッド距離を用いた場合を例に挙げて説明しているが、もちろんこれに限定されるものではない。例えば、位置座標の座標成分の差の絶対値を加算した値を距離として用いてもよい。この値を距離として用いる場合には、いわゆるユークリッド距離を算出する場合と比較して、距離の算出に要する演算量を低減することができる。
(Additional notes)
In the position coordinate processing apparatuses 1 and 1a, a case where a so-called Euclidean distance is used is described as an example, but the present invention is not limited to this. For example, a value obtained by adding the absolute value of the difference between the coordinate components of the position coordinates may be used as the distance. When this value is used as the distance, the amount of calculation required for calculating the distance can be reduced as compared with the case of calculating the so-called Euclidean distance.

また、物体が液晶パネル110に接触する際の接触面の形状に特徴がある場合には、その接触面の特徴に応じて距離を算出することもできる。例えば、右利きの人がタッチペンを用いて液晶パネル110を操作する場合、通常、タッチペンは液晶パネル110に対して右下から接触することになる。すなわち、タッチペンと液晶パネル110の接触面は液晶パネル110の左上から右下に伸びた楕円となる。そこで、分割部10は、一方の位置座標を中心とする楕円の焦点座標を、所定の角度および焦点間距離に基づいて算出し、もう一方の位置座標と算出した焦点座標との距離の和を近接度として算出するようにしてもよい。楕円を用いて距離を算出する場合であっても、位置座標と焦点座標との座標の差の絶対値を算出することにより、演算量を低減することができる。   In addition, when there is a feature in the shape of the contact surface when the object contacts the liquid crystal panel 110, the distance can be calculated according to the feature of the contact surface. For example, when a right-handed person operates the liquid crystal panel 110 using a touch pen, the touch pen normally comes into contact with the liquid crystal panel 110 from the lower right. That is, the contact surface between the touch pen and the liquid crystal panel 110 is an ellipse extending from the upper left to the lower right of the liquid crystal panel 110. Therefore, the dividing unit 10 calculates the focal point coordinates of the ellipse centered on one position coordinate based on a predetermined angle and the distance between the focal points, and calculates the sum of the distance between the other position coordinate and the calculated focal point coordinate. The degree of proximity may be calculated. Even when the distance is calculated using an ellipse, the calculation amount can be reduced by calculating the absolute value of the difference between the position coordinates and the focus coordinates.

〔実施形態2〕
(位置座標処理装置1bの構成)
本発明に係る位置座標処理装置の別の実施形態について、図8〜10を参照しつつ以下に説明する。本実施形態における位置座標処理装置のの要部構成を図8に示す。図8は、位置座標処理装置1bの要部構成を示すブロック図である。なお、実施形態1と同様の部材については、同じ参照符号を付し、その詳細な説明を省略する。したがって、本実施形態では、類別部10bについてのみ以下に説明する。また、特に断りのない限り、実施形態1と同様の用語は、同様の意味で用いている。
[Embodiment 2]
(Configuration of position coordinate processing apparatus 1b)
Another embodiment of the position coordinate processing apparatus according to the present invention will be described below with reference to FIGS. FIG. 8 shows a main configuration of the position coordinate processing apparatus according to this embodiment. FIG. 8 is a block diagram showing a main configuration of the position coordinate processing apparatus 1b. In addition, about the member similar to Embodiment 1, the same referential mark is attached | subjected and the detailed description is abbreviate | omitted. Therefore, in the present embodiment, only the classification unit 10b will be described below. Further, unless otherwise noted, the same terms as in the first embodiment are used in the same meaning.

図8に示すように、位置座標処理装置1bは、類別部10b、位置座標設定部11、閾値設定部12、状態推定部13、記憶部14および15を備えている。   As shown in FIG. 8, the position coordinate processing apparatus 1b includes a classification unit 10b, a position coordinate setting unit 11, a threshold setting unit 12, a state estimation unit 13, and storage units 14 and 15.

類別部10bは、図8に示すように、距離算出部20bおよび比較部21を備えている。距離算出部20bは、位置座標間の距離を算出する点では距離算出部20と同様である。しかし、距離算出部20bは、入力された位置座標のうちの任意の位置座標を選択すると共に、選択した位置座標と、記憶部15に記憶されている位置座標との距離を算出する。   As shown in FIG. 8, the classification unit 10 b includes a distance calculation unit 20 b and a comparison unit 21. The distance calculation unit 20b is the same as the distance calculation unit 20 in that the distance between position coordinates is calculated. However, the distance calculation unit 20 b selects an arbitrary position coordinate among the input position coordinates, and calculates a distance between the selected position coordinate and the position coordinate stored in the storage unit 15.

次に、位置座標処理1bの動作について、図9を参照しつつ以下に説明する。図9は、位置情報処理装置1bの動作の概要を示すフローチャートである。なお、類別部10bにおける処理以外については、実施形態1において説明した処理と同様であるため、ここではその説明を省略する。   Next, the operation of the position coordinate processing 1b will be described below with reference to FIG. FIG. 9 is a flowchart showing an outline of the operation of the position information processing apparatus 1b. In addition, since it is the same as that of the process demonstrated in Embodiment 1 except the process in the classification part 10b, the description is abbreviate | omitted here.

まず、距離算出部20bは、位置座標処理装置1bに入力された位置座標のうちから1点を選択する(ステップS40)。次に、距離算出部20bは記憶部15に記憶されている位置座標のうち直近に記憶された位置座標を対象座標として選択する(ステップS41)。続いて、距離算出部20bは、位置座標と対象座標との距離を算出する(ステップS42)。なお、距離算出部20bは、直近に記憶された位置座標全てを対象座標として設定し、位置座標との距離を算出する。したがって、距離算出部20bの算出した距離の最小値は、選択した位置座標とその位置座標の最近傍に位置する対象座標との間の距離となる。   First, the distance calculation unit 20b selects one point from the position coordinates input to the position coordinate processing device 1b (step S40). Next, the distance calculation unit 20b selects the position coordinate stored most recently among the position coordinates stored in the storage unit 15 as the target coordinate (step S41). Subsequently, the distance calculation unit 20b calculates the distance between the position coordinates and the target coordinates (step S42). Note that the distance calculation unit 20b sets all the most recently stored position coordinates as target coordinates, and calculates a distance from the position coordinates. Therefore, the minimum value of the distance calculated by the distance calculation unit 20b is the distance between the selected position coordinate and the target coordinate located closest to the position coordinate.

次に、比較部21は、算出した距離の最小値が閾値Th1未満であるか否かを判定する(ステップS43)。算出した距離の最小値が閾値Th1未満である場合(ステップS43においてYes)、類別部10bは、選択した位置座標を、対象座標と同一の集合に類別する(ステップS49)。一方、算出した距離の最小値が閾値Th1以上である場合(ステップS43においてNo)、距離算出部20bは、選択した位置座標以外の位置座標との距離を算出する(ステップS45)。なお、この場合においても選択した位置座標以外全ての位置座標との間の距離を算出する。   Next, the comparison unit 21 determines whether or not the calculated minimum value of the distance is less than the threshold value Th1 (step S43). When the calculated minimum value of the distance is less than the threshold Th1 (Yes in step S43), the classification unit 10b classifies the selected position coordinates into the same set as the target coordinates (step S49). On the other hand, when the calculated minimum value of the distance is equal to or greater than the threshold Th1 (No in step S43), the distance calculation unit 20b calculates a distance from position coordinates other than the selected position coordinates (step S45). In this case as well, distances between all position coordinates other than the selected position coordinates are calculated.

比較部21は、算出した距離の最小値が閾値Th1未満であるか否かを判定する(ステップS46)。算出した距離の最小値が閾値Th1未満である場合(ステップS46においてYes)、類別部10bは、選択した位置座標を、最小値となる距離を算出する際に用いた位置座標とを同一の集合に類別する(ステップS47)。算出した距離の最小値が閾値Th1以上である場合(ステップS46においてNo)、類別部10bは、選択した位置座標を、その位置座標を要素として含む新たな集合に類別する(ステップS48)。   The comparison unit 21 determines whether or not the calculated minimum value of the distance is less than the threshold value Th1 (step S46). When the calculated minimum value of the distance is less than the threshold Th1 (Yes in step S46), the classification unit 10b uses the selected position coordinates as the same set of position coordinates used when calculating the distance that is the minimum value. (Step S47). When the calculated minimum value of the distance is equal to or greater than the threshold Th1 (No in Step S46), the classification unit 10b classifies the selected position coordinates into a new set including the position coordinates as elements (Step S48).

最後に、類別部10bは入力された位置座標全てにおいて類別処理が完了したか否かを判定する(ステップS49)。全ての位置座標において類別処理が完了していない場合(ステップS49においてNo)、類別処理の済んでいない位置座標を選択し、再度ステップS40からの処理を実行する。全ての位置座標において類別処理が完了した場合(ステップS49においてYes)、位置座標設定部11は位置座標の類別された集合毎に代表値を算出する。   Finally, the classification unit 10b determines whether or not the classification process has been completed for all the input position coordinates (step S49). If the classification process has not been completed for all the position coordinates (No in step S49), the position coordinates that have not been classified are selected, and the processes from step S40 are executed again. When the classification process is completed for all position coordinates (Yes in step S49), the position coordinate setting unit 11 calculates a representative value for each classified set of position coordinates.

(位置座標処理装置1bの利点)
実施形態1において説明したように、算出した位置座標間の近接度が閾値Th1未満である位置座標を同一の集合として位置座標集合を分割することにより、ユーザーの意図しない位置座標を検出する新たな可能性が生じる。例えば、図10(a)および(b)を参照して説明すると、図10(a)に示すように2本の指を互いに寄せる動作を行った場合、図10(b)に示す状態となる。このとき、検出される2つの位置座標の座標間の距離が閾値Th1未満である場合、2つの位置座標が1つであるとみなされ、ユーザーの位置しない1つの位置座標として検出されてしまうおそれがある。
(Advantages of the position coordinate processing apparatus 1b)
As described in the first embodiment, the position coordinate set is divided into the same set of the position coordinates whose proximity between the calculated position coordinates is less than the threshold Th1, thereby detecting a new position coordinate unintended by the user. A possibility arises. For example, with reference to FIGS. 10A and 10B, when an operation of bringing two fingers together as shown in FIG. 10A is performed, the state shown in FIG. 10B is obtained. . At this time, if the distance between the coordinates of the two detected position coordinates is less than the threshold Th1, the two position coordinates are regarded as one, and may be detected as one position coordinate where the user is not located. There is.

そこで、位置座標処理装置1bでは、実施形態1において説明した処理を実行する前に、入力された位置座標のうち、直前に算出された位置座標からの移動点がないかを判定する。   Therefore, the position coordinate processing apparatus 1b determines whether there is a moving point from the position coordinate calculated immediately before among the input position coordinates before executing the processing described in the first embodiment.

より具体的には、位置座標処理装置1bは、記憶部15に記憶されている位置座標(すなわち、対象座標)との間の距離が閾値Th1未満である位置座標を、予め対象座標と同一の集合に類別する。これによって、本来移動点として認識されるべき位置座標が新たな接触点として認識されることを防止することができる。   More specifically, the position coordinate processing apparatus 1b sets the position coordinates whose distance to the position coordinates (that is, the target coordinates) stored in the storage unit 15 is less than the threshold Th1 to be the same as the target coordinates in advance. Classify into sets. As a result, it is possible to prevent position coordinates that should originally be recognized as moving points from being recognized as new contact points.

したがって、位置座標処理装置1bでは、ユーザーの意図しない位置座標の検出をさらに一層防止することができる効果を奏する。また、液晶パネル110および画像処理回路111と共に位置座標処理装置1bを搭載した表示装置(いわゆるタッチパネル)では、物体の接触点として検出される位置座標の検出精度を向上することができる。   Therefore, the position coordinate processing apparatus 1b has an effect of further preventing detection of position coordinates not intended by the user. In addition, in a display device (a so-called touch panel) in which the position coordinate processing device 1b is mounted together with the liquid crystal panel 110 and the image processing circuit 111, the detection accuracy of the position coordinates detected as the contact point of the object can be improved.

(プログラムおよび記録媒体)
位置座標処理装置1、1a、1bに含まれている各ブロックは、ハードウェアロジックによって構成すればよい。または、次のように、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
(Program and recording medium)
Each block included in the position coordinate processing device 1, 1a, 1b may be configured by hardware logic. Alternatively, it may be realized by software using a CPU (Central Processing Unit) as follows.

すなわち位置座標処理装置1、1a、1bは、各機能を実現するプログラムの命令を実行するCPU、このプログラムを格納したROM(Read Only Memory)、上記プログラムを実行可能な形式に展開するRAM(Random Access Memory)、および、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)を備えている。この構成により、本発明の目的は、所定の記録媒体によっても、達成できる。   In other words, the position coordinate processing devices 1, 1a, 1b include a CPU that executes instructions of a program that realizes each function, a ROM (Read Only Memory) that stores the program, and a RAM (Random) that expands the program into an executable format. (Access Memory) and a storage device (recording medium) such as a memory for storing the program and various data. With this configuration, the object of the present invention can be achieved by a predetermined recording medium.

この記録媒体は、上述した機能を実現するソフトウェアである位置座標処理装置1、1a、1bのプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録していればよい。位置座標処理装置1、1a、1bに、この記録媒体を供給する。これにより、コンピュータとしての位置座標処理装置1、1a、1b(またはCPUあるいはMPU)が、供給された記録媒体に記録されているプログラムコードを読み出し、実行すればよい。   This recording medium records the program codes (execution format program, intermediate code program, source program) of the programs of the position coordinate processing apparatuses 1, 1a, 1b, which are software that realizes the functions described above, so that they can be read by a computer. That's fine. This recording medium is supplied to the position coordinate processing apparatuses 1, 1a, 1b. Thereby, the position coordinate processing apparatus 1, 1a, 1b (or CPU or MPU) as a computer may read and execute the program code recorded on the supplied recording medium.

プログラムコードを位置座標処理装置1、1a、1bに供給する記録媒体は、特定の構造または種類のものに限定されない。すなわちこの記録媒体は、たとえば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などとすることができる。   The recording medium for supplying the program code to the position coordinate processing devices 1, 1a, 1b is not limited to a specific structure or type. That is, the recording medium includes, for example, a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. System, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROM / EPROM / EEPROM / flash ROM.

また、位置座標処理装置1、1a、1bを通信ネットワークと接続可能に構成しても、本発明の目的を達成できる。この場合、上記のプログラムコードを、通信ネットワークを介して位置座標処理装置1、1a、1bに供給する。この通信ネットワークは位置座標処理装置1、1a、1bにプログラムコードを供給できるものであればよく、特定の種類または形態に限定されない。たとえばインターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等であればよい。   The object of the present invention can be achieved even if the position coordinate processing apparatuses 1, 1a, 1b are configured to be connectable to a communication network. In this case, the program code is supplied to the position coordinate processing devices 1, 1a, 1b via the communication network. The communication network may be any network that can supply program codes to the position coordinate processing apparatuses 1, 1a, and 1b, and is not limited to a specific type or form. For example, it may be the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication network, and the like.

この通信ネットワークを構成する伝送媒体も、プログラムコードを伝送可能な任意の媒体であればよく、特定の構成または種類のものに限定されない。たとえばIEEE1394、USB(Universal Serial Bus)、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line)回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The transmission medium constituting the communication network may be any medium that can transmit the program code, and is not limited to a specific configuration or type. For example, even in the case of wired lines such as IEEE 1394, USB (Universal Serial Bus), power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared rays such as IrDA and remote control, Bluetooth (registered trademark), 802.11 It can also be used by radio such as radio, HDR, mobile phone network, satellite line, terrestrial digital network. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

以上、本発明を実施形態に基づいて具体的に説明したが、本発明は、上述した各実施形態に限定されるものではなく、請求項に示した範囲において種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention has been specifically described above based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims and are different. Embodiments obtained by appropriately combining technical means disclosed in the respective embodiments are also included in the technical scope of the present invention.

本発明に係る位置座標処理装置は、タッチパネルにおいて検出される位置座標を処理する処理装置または処理回路として好適に利用することができる。   The position coordinate processing apparatus according to the present invention can be suitably used as a processing apparatus or a processing circuit that processes position coordinates detected on a touch panel.

実施形態1に係る位置情報処理装置の要部構成を示すブロック図である。1 is a block diagram showing a main configuration of a position information processing apparatus according to Embodiment 1. FIG. 位置情報処理装置を備えた携帯型情報端末の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of a portable information terminal provided with the position information processing apparatus. 実施形態1に係る位置情報処理装置の動作の概要を示すフローチャートである。3 is a flowchart illustrating an outline of an operation of the position information processing apparatus according to the first embodiment. 距離算出手段において算出した距離の頻度情報を示すヒストグラムである。It is a histogram which shows the frequency information of the distance calculated in the distance calculation means. 閾値Th1の動的な設定方法を示すフローチャートである。It is a flowchart which shows the dynamic setting method of threshold value Th1. 実施形態1に係る位置情報処理装置の変形例の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the modification of the position information processing apparatus which concerns on Embodiment 1. FIG. 実施形態1に係る位置情報処理装置の変形例の動作の概要を示すフローチャートである。6 is a flowchart showing an outline of an operation of a modification of the position information processing apparatus according to the first embodiment. 実施形態2に係る位置情報処理装置の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the position information processing apparatus which concerns on Embodiment 2. FIG. 実施形態2に係る位置情報処理装置の動作の概要を示すフローチャートである。10 is a flowchart illustrating an outline of an operation of the position information processing apparatus according to the second embodiment. 複数の物体の接触を検出するタッチパネルにおける誤検出の一例を示す図であり、(a)は2本の指を離して液晶パネルに接触させている状態であり、(b)は2本の指を近接して液晶パネルに接触させている状態である。It is a figure which shows an example of the misdetection in the touchscreen which detects the contact of several objects, (a) is the state which released | separated two fingers and made it contact with a liquid crystal panel, (b) is two fingers. Is in close contact with the liquid crystal panel. 複数の物体の接触を検出するタッチパネルにおける誤検出の一例を示す図であり、(a)は親指および人差し指がタッチパネルに接触している状態を示しており、(b)は、接触領域の認識状態を示しており、(c)は、接触点の座標の検出を示している。It is a figure which shows an example of the misdetection in the touch panel which detects the contact of a several object, (a) has shown the state in which the thumb and index finger are contacting the touch panel, (b) is the recognition state of a contact area | region. (C) shows the detection of the coordinates of the contact point.

符号の説明Explanation of symbols

1 位置座標処理装置
1a 位置座標処理装置
1b 位置座標処置装置
10 分割部(分割手段)
10a 分割部(分割手段)
10b 類別部(分割手段)
11 位置座標設定部(算出手段、設定手段)
11a 位置座標設定部(算出手段、設定手段)
12 閾値設定部
13 状態推定部
14 記憶部
15 記憶部
20 距離算出部
20a 距離算出部
20b 距離算出部
21 比較部
100 携帯型情報端末
110 光センサ内蔵液晶パネル(表示パネル)
111 画像処理回路
112 SRAM
113 フラッシュメモリ
DESCRIPTION OF SYMBOLS 1 Position coordinate processing apparatus 1a Position coordinate processing apparatus 1b Position coordinate processing apparatus 10 Dividing part (dividing means)
10a Dividing unit (dividing means)
10b Classification part (division means)
11 Position coordinate setting unit (calculation means, setting means)
11a Position coordinate setting unit (calculation means, setting means)
DESCRIPTION OF SYMBOLS 12 Threshold setting part 13 State estimation part 14 Storage part 15 Storage part 20 Distance calculation part 20a Distance calculation part 20b Distance calculation part 21 Comparison part 100 Portable information terminal 110 Optical sensor built-in liquid crystal panel (display panel)
111 Image processing circuit 112 SRAM
113 Flash memory

Claims (10)

少なくとも1つの物体の位置を示す位置座標からなる位置座標集合を、該位置座標集合に属する位置座標間の距離に基づいて部分集合に分割する分割手段と、
上記分割手段により分割された各部分集合の代表値を、当該部分集合に属する位置座標に基づいて算出する算出手段と、
上記算出手段により算出された代表値を、上記少なくとも1つの物体の位置を示す位置座標として設定する設定手段と、
を備えていることを特徴とする位置座標処理装置。
A dividing unit configured to divide a position coordinate set including position coordinates indicating a position of at least one object into subsets based on a distance between position coordinates belonging to the position coordinate set;
Calculating means for calculating a representative value of each subset divided by the dividing means based on position coordinates belonging to the subset;
Setting means for setting the representative value calculated by the calculating means as position coordinates indicating the position of the at least one object;
A position coordinate processing apparatus comprising:
上記分割手段は、上記位置座標集合に属し、かつ、距離が所定の閾値を下回る2つの位置座標が同一の部分集合に属するように、上記位置座標集合を分割することを特徴とする請求項1に記載の位置座標処理装置。   2. The dividing unit according to claim 1, wherein the dividing unit divides the position coordinate set so that two position coordinates belonging to the position coordinate set and whose distance is less than a predetermined threshold belong to the same subset. The position coordinate processing apparatus described in 1. 上記設定手段により設定された設定済み位置座標を記憶するための記憶部をさらに備え、
上記分割手段は、上記位置座標集合に属する位置座標のうち、上記設定済み位置座標との距離が上記閾値を下回る位置座標を、上記設定済み位置座標に関連付けられた部分集合の要素としたうえで、上記位置座標集合に属する位置座標のうち、上記設定済み位置座標との距離が上記閾値を上回る位置座標からなる集合を、距離が上記閾値を下回る2つの位置座標が同一の部分集合に属するように部分集合に分割することを特徴とする請求項1または2に記載の位置座標処理装置。
A storage unit for storing the set position coordinates set by the setting unit;
The dividing means uses, as position elements belonging to the position coordinate set, position coordinates whose distance from the set position coordinates is less than the threshold as elements of a subset associated with the set position coordinates. Of the position coordinates belonging to the position coordinate set, a set of position coordinates whose distance from the set position coordinate is greater than the threshold value, and two position coordinates whose distances are less than the threshold value belong to the same subset. The position coordinate processing device according to claim 1, wherein the position coordinate processing device is divided into subsets.
上記距離の統計分布に基づいて、上記閾値を設定する閾値設定手段をさらに備えていることを特徴とする請求項2または3に記載の位置座標処理装置。   4. The position coordinate processing apparatus according to claim 2, further comprising threshold setting means for setting the threshold based on the statistical distribution of the distance. 上記閾値設定手段は、上記位置座標集合に属する2つの位置座標からなる位置座標対のうち位置座標間の距離が所定値未満となる位置座標対の数と、当該所定値未満の距離の総和と、当該所定値未満の距離の二乗和とに基づいて、上記閾値を設定することを特徴とする請求項4に記載の位置座標処理装置。   The threshold value setting means includes the number of position coordinate pairs in which the distance between the position coordinates is less than a predetermined value among the position coordinate pairs consisting of two position coordinates belonging to the position coordinate set, and the sum of the distances less than the predetermined value. The position coordinate processing apparatus according to claim 4, wherein the threshold value is set based on a sum of squares of distances less than the predetermined value. 少なくとも1つの物体の位置を示す位置座標からなる位置座標集合を、該位置座標集合に属する位置座標間の距離に基づいて部分集合に分割する分割ステップと、
上記分割ステップにおいて分割された各部分集合の代表値を、当該部分集合に属する位置座標に基づいて算出する算出ステップと、
上記算出ステップにおいて算出された代表値を、上記少なくとも1つの物体の位置を示す位置座標として設定する設定ステップと、
を含むことを特徴とする位置座標処理方法。
A division step of dividing a position coordinate set including position coordinates indicating the position of at least one object into subsets based on a distance between position coordinates belonging to the position coordinate set;
A calculation step of calculating a representative value of each subset divided in the division step based on position coordinates belonging to the subset;
A setting step for setting the representative value calculated in the calculation step as a position coordinate indicating the position of the at least one object;
The position coordinate processing method characterized by including.
画像を表示する表示パネルと、当該表示パネルに接触する物体の位置を示す位置座標を同時に複数出力するセンサと、請求項1から5のいずれか1項に記載の位置座標処理装置と、を備えており、
上記位置座標処理装置は、上記センサから入力される位置座標に基づいて算出した代表値を上記表示パネルに接触する物体の位置を示す新たな位置座標として設定することを特徴とする表示装置。
A display panel for displaying an image, a sensor for simultaneously outputting a plurality of position coordinates indicating the position of an object in contact with the display panel, and the position coordinate processing apparatus according to any one of claims 1 to 5. And
The said position coordinate processing apparatus sets the representative value calculated based on the position coordinate input from the said sensor as a new position coordinate which shows the position of the object which contacts the said display panel.
請求項7に記載の表示装置を備えていることを特徴とする携帯型情報端末。   A portable information terminal comprising the display device according to claim 7. 請求項1から5のいずれか1項に記載の位置座標処理装置を動作させるプログラムであって、コンピュータを上記の各手段として機能させるためのプログラム。   A program for operating the position coordinate processing apparatus according to any one of claims 1 to 5, wherein the program causes a computer to function as each of the above means. 請求項9に記載のプログラムを記録しているコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium in which the program according to claim 9 is recorded.
JP2008203542A 2008-08-06 2008-08-06 Position coordinate processing apparatus and position coordinate processing method Pending JP2010039868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008203542A JP2010039868A (en) 2008-08-06 2008-08-06 Position coordinate processing apparatus and position coordinate processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008203542A JP2010039868A (en) 2008-08-06 2008-08-06 Position coordinate processing apparatus and position coordinate processing method

Publications (1)

Publication Number Publication Date
JP2010039868A true JP2010039868A (en) 2010-02-18

Family

ID=42012328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008203542A Pending JP2010039868A (en) 2008-08-06 2008-08-06 Position coordinate processing apparatus and position coordinate processing method

Country Status (1)

Country Link
JP (1) JP2010039868A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10149449A (en) * 1996-11-20 1998-06-02 Canon Inc Picture division method, picture identification method, picture division device and picture identification device
JPH11328408A (en) * 1998-05-12 1999-11-30 Advantest Corp Device for processing data and information storage medium
JP2000357233A (en) * 1999-06-16 2000-12-26 Honda Motor Co Ltd Body recognition device
JP2001005978A (en) * 1999-06-18 2001-01-12 Sony Corp Device and method for extracting object, and program providing medium
JP2005309485A (en) * 2004-04-16 2005-11-04 Central Res Inst Of Electric Power Ind System and method for counting moving body underwater or on water surface
JP2005339444A (en) * 2004-05-31 2005-12-08 Toshiba Matsushita Display Technology Co Ltd Display device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10149449A (en) * 1996-11-20 1998-06-02 Canon Inc Picture division method, picture identification method, picture division device and picture identification device
JPH11328408A (en) * 1998-05-12 1999-11-30 Advantest Corp Device for processing data and information storage medium
JP2000357233A (en) * 1999-06-16 2000-12-26 Honda Motor Co Ltd Body recognition device
JP2001005978A (en) * 1999-06-18 2001-01-12 Sony Corp Device and method for extracting object, and program providing medium
JP2005309485A (en) * 2004-04-16 2005-11-04 Central Res Inst Of Electric Power Ind System and method for counting moving body underwater or on water surface
JP2005339444A (en) * 2004-05-31 2005-12-08 Toshiba Matsushita Display Technology Co Ltd Display device

Similar Documents

Publication Publication Date Title
US10216406B2 (en) Classification of touch input as being unintended or intended
JP6429981B2 (en) Classification of user input intent
KR100947990B1 (en) Gaze Tracking Apparatus and Method using Difference Image Entropy
TWI489397B (en) Method, apparatus and computer program product for providing adaptive gesture analysis
EP2917814B1 (en) Touch-sensitive bezel techniques
US8615375B2 (en) Motion determination apparatus and motion determination method
US9430146B1 (en) Density-based filtering of gesture events associated with a user interface of a computing device
US10620758B2 (en) Glove touch detection
WO2015033609A1 (en) Information processing device, input method, and program
JP2015167031A (en) Method, apparatus and computer program for adjusting layout size of hyperlink (adjusting layout size of hyperlink)
CN114391132A (en) Electronic equipment and screen capturing method thereof
TWI641986B (en) Method for determining a number of users and their respective positions relative to a device, electronic device and computer readable medium
CN109582171A (en) Use identifying to the new finger for touching posture for capacitor hovering mode
KR102026882B1 (en) Method and apparatus for distinguishing five fingers in electronic device including touch screen
JP6150712B2 (en) Information processing apparatus and program
CN114360047A (en) Hand-lifting gesture recognition method and device, electronic equipment and storage medium
JP2010039868A (en) Position coordinate processing apparatus and position coordinate processing method
JP6373664B2 (en) Electronic device, method and program
TWI475475B (en) Method for inputting instruction and portable electronic device and computer readable recording medium
JP2010026795A (en) Information display device, information display method, information display program, and storage medium with information display program recorded thereon
KR20140086805A (en) Electronic apparatus, method for controlling the same and computer-readable recording medium
KR101549213B1 (en) Apparatus for detecting touch points in touch screen and method thereof
KR101687941B1 (en) Method for online handwritten text data line segmentation and apparatus using the same
CN107145218B (en) Input device, mobile terminal, input method, and computer-readable storage medium
CN116708662A (en) Electronic equipment state prompting method and device and electronic equipment

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: 20111013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111108

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120321