Movatterモバイル変換


[0]ホーム

URL:


CN104331212A - Cursor positioning method of handheld pointing device - Google Patents

Cursor positioning method of handheld pointing device
Download PDF

Info

Publication number
CN104331212A
CN104331212ACN201310309281.4ACN201310309281ACN104331212ACN 104331212 ACN104331212 ACN 104331212ACN 201310309281 ACN201310309281 ACN 201310309281ACN 104331212 ACN104331212 ACN 104331212A
Authority
CN
China
Prior art keywords
cursor
pointing
coordinate
pointing device
handheld
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
Application number
CN201310309281.4A
Other languages
Chinese (zh)
Other versions
CN104331212B (en
Inventor
程瀚平
黄昭荐
梁家钧
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.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
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 Pixart Imaging IncfiledCriticalPixart Imaging Inc
Priority to CN201710954368.5ApriorityCriticalpatent/CN107728881B/en
Priority to CN201310309281.4Aprioritypatent/CN104331212B/en
Publication of CN104331212ApublicationCriticalpatent/CN104331212A/en
Application grantedgrantedCritical
Publication of CN104331212BpublicationCriticalpatent/CN104331212B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention provides a cursor positioning method of a handheld pointing device, which comprises the following steps: extracting a first digital image of a reference point to calculate a first pointing coordinate according to an imaging position of the reference point in the first digital image; generating cursor parameters corresponding to the cursor according to the first pointing coordinate; when the handheld pointing device enters a locking point positioning mode, recording a first pointing coordinate, and fixing a cursor at the first pointing coordinate; when the handheld pointing device leaves the lock point positioning mode, extracting a second digital image of the reference point, and calculating a second pointing coordinate according to the imaging position of the reference point in the second digital image to generate a movement vector between the first pointing coordinate and the second pointing coordinate; and calculating cursor positioning according to the movement vector and the first pointing coordinate, and correspondingly generating cursor parameters for controlling the movement of the cursor. The invention can improve the convenience and stability of the operation of the user.

Description

Translated fromChinese
手持式指向装置的光标定位方法Cursor Positioning Method for Handheld Pointing Device

技术领域technical field

本发明涉及一种指向装置的定位方法,且特别涉及一种手持式指向装置的光标定位方法。The invention relates to a positioning method of a pointing device, and in particular to a cursor positioning method of a hand-held pointing device.

背景技术Background technique

现有手持式遥控装置可通过分析设于显示装置附近的参考光源在内建的影像感测区域内的位置,计算出手持式遥控装置的指向坐标。手持式遥控装置便会将计算取得的指向点坐标传送至一主机,使主机可对应控制显示于显示装置的画面上的物件,例如光标,以进行相关软件操作。The existing handheld remote control device can calculate the pointing coordinates of the handheld remote control device by analyzing the position of the reference light source near the display device within the built-in image sensing area. The hand-held remote control device then transmits the calculated point coordinates to a host, so that the host can correspondingly control objects displayed on the screen of the display device, such as a cursor, to perform related software operations.

当使用者在使用手持式遥控装置时,使用者通常会悬空握着手持式遥控装置来操控显示装置画面上所显示的光标,以进行相关软件操作。但悬空握着手持式遥控装置,无法避免地会发生手持式遥控装置因手抖动或颤动而移动,使显示装置画面上所显示的光标出现位置不稳定,进而造成使用者的操作手感不佳。When the user is using the handheld remote control device, the user usually holds the handheld remote control device in the air to manipulate the cursor displayed on the screen of the display device to perform related software operations. However, if the hand-held remote control device is held in the air, it is inevitable that the hand-held remote control device will move due to shaking or trembling of the hand, making the position of the cursor displayed on the display device screen unstable, and causing the user to feel bad during operation.

虽然,目前的手持式遥控装置一般具有锁点定位功能,并可通过检测使用者是否处于稳定光标的状态或是通过操控锁点按键等,使光标固定于显示装置目前的显示位置。然而,当锁点定位模式解除时,手持式遥控装置即会使用绝对定位的方式,并根据目前所计算参考点在影像感测区域内的位置对应控制光标移动。如此,显示装置的画面上会发生光标突然跳点的情况,进而降低操作手感,也造成使用者使用上的不方便。Although, the current hand-held remote control devices generally have a lock point positioning function, and the cursor can be fixed at the current display position of the display device by detecting whether the user is in a stable cursor state or by manipulating the lock point buttons. However, when the lock point positioning mode is released, the handheld remote control device will use the absolute positioning method, and control the movement of the cursor correspondingly according to the position of the currently calculated reference point in the image sensing area. In this way, the cursor may suddenly jump on the screen of the display device, thereby reducing the operating feel and causing inconvenience to the user.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种手持式指向装置的光标定位方法,可通过在手持式指向装置离开锁点定位模式时,主动切换光标定位模式于绝对定位或相对定位模式,以避免发生光标跳点情况,以提高使用者的操作手感。In view of this, an embodiment of the present invention provides a cursor positioning method for a handheld pointing device, which can avoid the occurrence of The cursor jumps to improve the user's operating feel.

本发明实施例提供一种手持式指向装置的光标定位方法,此光标定位方法包括下列步骤。首先,提取参考点的第一数字影像,以根据参考点在第一数字影像中的成像位置计算第一指向坐标。其次,依据第一指向坐标产生对应控制一光标位于一显示装置的一光标参数。而后,当手持式指向装置进入锁点定位模式时,手持式指向装置记录第一指向坐标,并同时通过固定输出光标参数或者不输出光标参数的方式使光标固定于第一指向坐标。随后,当手持式指向装置离开锁点定位模式时,提取参考点的第二数字影像,并根据参考点在第二数字影像中的成像位置计算第二指向坐标,以对应产生第一指向坐标与第二指向坐标之间的移动向量。接着,手持式指向装置根据移动向量与第一指向坐标计算光标定位,以补偿第一指向坐标第二指向坐标之间的偏移量,并根据计算结果相对应地产生控制光标移动的光标参数。An embodiment of the present invention provides a cursor positioning method for a handheld pointing device, and the cursor positioning method includes the following steps. Firstly, the first digital image of the reference point is extracted to calculate the first pointing coordinates according to the imaging position of the reference point in the first digital image. Secondly, a cursor parameter corresponding to controlling a cursor located on a display device is generated according to the first pointing coordinate. Then, when the handheld pointing device enters the lock point positioning mode, the handheld pointing device records the first pointing coordinate, and at the same time fixes the cursor at the first pointing coordinate by fixing or not outputting the cursor parameter. Subsequently, when the handheld pointing device leaves the lock point positioning mode, extract the second digital image of the reference point, and calculate the second pointing coordinates according to the imaging position of the reference point in the second digital image, so as to generate the first pointing coordinates and The movement vector between the second pointing coordinates. Next, the handheld pointing device calculates the cursor position according to the movement vector and the first pointing coordinates to compensate the offset between the first pointing coordinates and the second pointing coordinates, and correspondingly generates cursor parameters for controlling the movement of the cursor according to the calculation results.

本发明实施例另提供一种手持式指向装置的光标定位方法,此光标定位方法包括下列步骤。首先,提取参考点的第一数字影像,以根据参考点在第一数字影像的成像位置计算第一指向坐标。其次,依据第一指向坐标产生对应控制一光标于一显示装置的一光标参数。而后,当手持式指向装置进入锁点定位模式时,手持式指向装置记录第一指向坐标,并同时通过固定输出光标参数或者不输出光标参数的方式使光标固定于显示装置。随后,当手持式指向装置离开锁点定位模式时,使手持式指向装置于后续移动时,基于第一指向坐标作为起始点,并配合手持式指向装置的移动产生的指向坐标位移量进行光标的定位计算。接着,根据计算结果相对应地产生控制光标移动的光标参数。An embodiment of the present invention further provides a cursor positioning method for a handheld pointing device, and the cursor positioning method includes the following steps. Firstly, the first digital image of the reference point is extracted to calculate the first pointing coordinates according to the imaging position of the reference point in the first digital image. Secondly, a cursor parameter corresponding to controlling a cursor on a display device is generated according to the first pointing coordinate. Then, when the handheld pointing device enters the lock point positioning mode, the handheld pointing device records the first pointing coordinates, and at the same time fixes the cursor on the display device by fixing or not outputting cursor parameters. Subsequently, when the hand-held pointing device leaves the lock point positioning mode, when the hand-held pointing device moves subsequently, based on the first pointing coordinate as the starting point, and coordinates with the pointing coordinate displacement generated by the movement of the hand-held pointing device, the cursor is positioned. positioning calculations. Next, correspondingly generate cursor parameters for controlling cursor movement according to the calculation results.

本发明实施例还提供一种手持式指向装置的光标定位方法,此光标定位方法包括下列步骤。首先,在第一时间产生第一指向坐标,并依据第一指向坐标对应将光标的显示位置固定在第一指向坐标。其次,在第二时间产生第二指向坐标,其中第二时间是在第一时间之后。其后,计算第一指向坐标与第二指向坐标之间的第一移动向量。随后,根据第一移动向量产生单位补偿向量。在第三时间产生第三指向坐标,其中第三时间是在第二时间之后。接着,计算第三指向坐标与第二指向坐标之间的第二移动向量。随后,根据第一指向坐标、单位补偿向量与第二移动向量计算光标在第三时间的显示位置。An embodiment of the present invention also provides a cursor positioning method for a hand-held pointing device, and the cursor positioning method includes the following steps. Firstly, the first pointing coordinates are generated at the first time, and the display position of the cursor is fixed at the first pointing coordinates according to the first pointing coordinates. Second, a second pointing coordinate is generated at a second time, where the second time is after the first time. Thereafter, a first movement vector between the first pointing coordinate and the second pointing coordinate is calculated. Subsequently, a unit compensation vector is generated based on the first movement vector. A third pointing coordinate is generated at a third time, where the third time is after the second time. Next, a second movement vector between the third pointing coordinate and the second pointing coordinate is calculated. Subsequently, the display position of the cursor at the third time is calculated according to the first pointing coordinates, the unit compensation vector and the second movement vector.

本发明实施例还提供一种手持式指向装置的光标定位方法,此光标定位方法包括下列步骤。首先,在第一时间产生第一指向坐标以进入锁点定位模式,并将光标的显示位置固定在第一指向坐标。其次,在第二时间产生第二指向坐标,以离开该锁点定位模式,其中第二时间是在第一时间之后。其后,计算第一指向坐标与第二指向坐标之间的第一移动向量。接着,根据第一移动向量产生单位补偿向量。随后,在第二时间之后的后续移动时,基于第一指向坐标为起始点,根据单位补偿向量并配合手持式指向装置的移动产生的指向坐标位移量进行该光标的定位计算。An embodiment of the present invention also provides a cursor positioning method for a hand-held pointing device, and the cursor positioning method includes the following steps. Firstly, the first pointing coordinates are generated at the first time to enter the locking point positioning mode, and the display position of the cursor is fixed at the first pointing coordinates. Second, a second pointing coordinate is generated at a second time to leave the point-lock positioning mode, wherein the second time is after the first time. Thereafter, a first movement vector between the first pointing coordinate and the second pointing coordinate is calculated. Next, a unit compensation vector is generated according to the first motion vector. Subsequently, during the subsequent movement after the second time, based on the first pointing coordinate as the starting point, the positioning calculation of the cursor is performed according to the unit compensation vector and the pointing coordinate displacement generated by the movement of the handheld pointing device.

综上所述,本发明的有益效果在于,本发明实施例提供一种手持式指向装置的光标定位方法,此光标定位方法可主动通过检测参考点于数字影像的成像位置计算手持式指向装置的移动变化,判断手持式指向装置是否进入或离开锁点定位模式。所述光标定位方法并可在手持式指向装置离开锁点定位模式时,主动以相对定位模式对参考点于数字影像的指向坐标进行校正,以计算光标定位。而后,手持式指向装置会于完成指向坐标校正程序时,自动切换回绝对定位模式,藉以避免发生跳点情况,以提高使用者操作上的便利性与稳定性。To sum up, the beneficial effect of the present invention is that the embodiment of the present invention provides a cursor positioning method for a hand-held pointing device. The movement changes to determine whether the handheld pointing device enters or leaves the lock point positioning mode. The cursor positioning method can actively correct the pointing coordinates of the reference point and the digital image in the relative positioning mode to calculate the cursor positioning when the hand-held pointing device leaves the lock point positioning mode. Then, the hand-held pointing device will automatically switch back to the absolute positioning mode when the pointing coordinate correction procedure is completed, so as to avoid jumping points and improve the convenience and stability of the user's operation.

为使能更进一步了解本发明的特征及技术内容,请参阅以下有关本发明的详细说明与附图,但是这些说明与所附附图仅用来说明本发明,而非对本发明的权利要求范围作任何的限制。In order to enable a further understanding of the features and technical content of the present invention, please refer to the following detailed description and accompanying drawings of the present invention, but these descriptions and accompanying drawings are only used to illustrate the present invention, rather than to the scope of claims of the present invention make any restrictions.

附图说明Description of drawings

图1是本发明实施例提供的手持式指向装置的功能方框示意图。FIG. 1 is a schematic functional block diagram of a handheld pointing device provided by an embodiment of the present invention.

图2是本发明实施例提供的手持式指向装置应用于互动系统的示意图。FIG. 2 is a schematic diagram of a handheld pointing device provided by an embodiment of the present invention applied to an interactive system.

图3是本发明实施例提供的手持式指向装置的光标定位方法的流程示意图。FIG. 3 is a schematic flowchart of a cursor positioning method for a handheld pointing device provided by an embodiment of the present invention.

图4A~图4C分别是本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置画面上位置变化的示意图。FIGS. 4A-4C are schematic diagrams of the position change of the reference point sensed when the handheld pointing device moves and the position change of the cursor on the screen of the display device according to the embodiment of the present invention.

图5是本发明实施例提供的手持式指向装置的相对模式定位光标方法的流程示意图。FIG. 5 is a schematic flowchart of a method for positioning a cursor in a relative mode of a handheld pointing device according to an embodiment of the present invention.

图6A是本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置画面上的位置变化的示意图。6A is a schematic diagram of the position change of the reference point sensed and the position change of the cursor on the screen of the display device when the handheld pointing device moves according to an embodiment of the present invention.

图6B是本发明实施例提供的手持式指向装置移动时感测的参考点位置变化的示意图。FIG. 6B is a schematic diagram of changes in the position of the reference point sensed when the handheld pointing device moves according to an embodiment of the present invention.

图6C和图6D是本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置画面上位置变化的示意图。FIG. 6C and FIG. 6D are schematic diagrams of the position change of the reference point sensed and the position change of the cursor on the screen of the display device when the handheld pointing device is moved according to an embodiment of the present invention.

图6E是本发明实施例提供的光标在显示装置画面上位置变化的示意图。FIG. 6E is a schematic diagram of the position change of the cursor on the screen of the display device provided by the embodiment of the present invention.

图7是本发明另一实施例提供的手持式指向装置光标定位方法的流程示意图。FIG. 7 is a schematic flow chart of a cursor positioning method for a handheld pointing device according to another embodiment of the present invention.

图8是本发明一实施例提供的手持式指向装置进入锁点定位模式方法的流程示意图。FIG. 8 is a schematic flow chart of a method for a handheld pointing device to enter a locking point positioning mode according to an embodiment of the present invention.

图9A和图9B分别是本发明实施例提供的判断手持式指向装置是否进入锁点定位模式时感测参考点位置移动变化的示意图。FIG. 9A and FIG. 9B are respectively schematic diagrams of changes in sensed reference point position movement when judging whether the handheld pointing device enters the lock point positioning mode provided by an embodiment of the present invention.

图10是本发明一实施例提供的边界校正方法的流程示意图。Fig. 10 is a schematic flowchart of a boundary correction method provided by an embodiment of the present invention.

图11A~图11D分别是本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置画面上位置变化的示意图。11A to 11D are schematic diagrams of the position change of the reference point sensed and the position change of the cursor on the screen of the display device when the handheld pointing device is moved according to an embodiment of the present invention.

图12是本发明又一实施例提供的手持式指向装置光标定位方法的流程示意图。Fig. 12 is a schematic flowchart of a cursor positioning method for a handheld pointing device according to yet another embodiment of the present invention.

图13是本发明再一实施例提供的手持式指向装置光标定位方法的流程示意图。Fig. 13 is a schematic flowchart of a cursor positioning method for a handheld pointing device according to yet another embodiment of the present invention.

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

10:手持式指向装置10: Handheld pointing device

11:影像提取单元11: Image extraction unit

12:处理单元12: Processing unit

13:通信单元13: Communication unit

14:输入单元14: Input unit

15:存储单元15: storage unit

16:按键单元16: Button unit

20:显示装置20: Display device

21:参考点21: Reference point

23、33:光标23, 33: Cursor

d、d1:光标的位移量d, d1: the displacement of the cursor

201:第一显示侧边201: First display side

203:第二显示侧边203: Second display side

205:第三显示侧边205: Third display side

207:第四显示侧边207: Fourth display side

F1、F2、F3、F4、F5、F6:数字影像F1, F2, F3, F4, F5, F6: digital image

111、111a、111b、111c、111d、111e:操作范围111, 111a, 111b, 111c, 111d, 111e: operating range

1111、1111a~1111c:操作范围的中心点1111, 1111a~1111c: center point of the operating range

113、113’、113a、113b、113c:参考点影像113, 113’, 113a, 113b, 113c: reference point images

115、117:参考点影像115, 117: Reference point image

指向坐标的移动向量 the movement vector pointing to the coordinate

指向坐标位移向量 pointing coordinate displacement vector

+:中心点+: center point

Y_MAX:第一轴上限值Y_MAX: upper limit of the first axis

Y_MIN:第一轴下限值Y_MIN: the lower limit of the first axis

X_MAX:第二轴上限值X_MAX: the upper limit of the second axis

X_MIN:第二轴下限值X_MIN: the lower limit of the second axis

DE1:第一轴向DE1: first axis

DE2:第二轴向DE2: second axis

(x1,y1)、(x1’,y1’)、(x2,y2)、(x3,y3):指向坐标(x1,y1), (x1',y1'), (x2,y2), (x3,y3): Point to coordinates

(xN,yN)、(xN-1,yN-1):指向坐标(xN ,yN ), (xN-1 ,yN-1 ): Point to coordinates

(x1,yA)、(x1,yB)、(xC,y1)、(xD,y1):指向坐标位置(x1,yA), (x1,yB), (xC,y1), (xD,y1): point to the coordinate position

指向坐标 Point to coordinates

相对指向坐标 relative pointing coordinates

S301~S319:步骤流程S301~S319: step process

S501~S517:步骤流程S501~S517: step process

S701~S715:步骤流程S701~S715: step process

S801~S811:步骤流程S801~S811: step process

S1001~S1017:步骤流程S1001~S1017: Step flow

S1201~S1219:步骤流程S1201~S1219: Step flow

S1301~S1311:步骤流程S1301~S1311: Step flow

具体实施方式Detailed ways

在下文中,将通过附图说明本发明的各种例示实施例来详细描述本发明。然而,本发明概念可能以许多不同形式来体现,且不应解释为限于本文中所阐述的例示性实施例。此外,在附图中相同参考数字可用以表示类似的元件。Hereinafter, the present invention will be described in detail by illustrating various exemplary embodiments of the invention with reference to the accompanying drawings. However, inventive concepts may be embodied in many different forms and should not be construed as limited to the illustrative embodiments set forth herein. Furthermore, the same reference numerals may be used to denote similar elements in the drawings.

〔手持式指向装置的实施例〕[Example of Handheld Pointing Device]

所述手持式指向装置可应用于显示装置(未绘示)的指向点定位。请参照图1,图1绘示本发明实施例提供的手持式指向装置的功能方框示意图。手持式指向装置10可通过提取至少一参考点的影像,并根据参考点在所提取影像中的成像位置计算手持式指向装置10的一指向坐标,且可根据该指向坐标连续时间的移动变化信息计算手持式指向装置10与参考点(未绘示)之间的相对移动信息。手持式指向装置10便会以无线传送方式传送相对应地指向坐标位置或移动信息至一显示装置20,以配合操控显示装置20显示软件程序的执行状态。The handheld pointing device can be applied to pointing point positioning of a display device (not shown). Please refer to FIG. 1 , which is a schematic functional block diagram of a handheld pointing device provided by an embodiment of the present invention. The handheld pointing device 10 can extract an image of at least one reference point, and calculate a pointing coordinate of the handheld pointing device 10 according to the imaging position of the reference point in the extracted image, and can calculate a pointing coordinate based on the continuous time movement change information of the pointing coordinate Relative movement information between the handheld pointing device 10 and a reference point (not shown) is calculated. The handheld pointing device 10 transmits the corresponding pointing coordinate position or movement information to a display device 20 in a wireless transmission manner, so as to cooperate with the display device 20 to display the execution status of the software program.

所述指向坐标是手持式指向装置10指向显示装置20的一个指向点在显示装置20所定义的坐标系统中的坐标位置。一般而言该指向点通常为该手持式指向装置10的一个光轴瞄准在该显示装置20的位置,或者是该手持式指向装置10的一个影像提取单元所提取影像画面的中心点对应在该显示装置20的位置。由于根据参考点与显示装置20的相对位置关系以及参考点在手持式指向装置10上的成像位置计算手持式指向装置10的指向坐标属于现有技术,在此即不予以赘述。The pointing coordinates are the coordinate position of a pointing point where the handheld pointing device 10 points to the display device 20 in the coordinate system defined by the display device 20 . Generally speaking, the pointing point is usually the position where an optical axis of the handheld pointing device 10 is aimed at the position of the display device 20, or the center point of the image frame extracted by an image extraction unit of the handheld pointing device 10 corresponds to the position of the display device 20. The position of the device 20 is displayed. Since the calculation of the pointing coordinates of the handheld pointing device 10 according to the relative positional relationship between the reference point and the display device 20 and the imaging position of the reference point on the handheld pointing device 10 belongs to the prior art, details are not described here.

简单来说,当手持式指向装置10运作于绝对定位模式时,手持式指向装置10会先提取对应一参考点位置的第一数字影像,并根据参考点于第一数字影像的成像位置,计算手持式指向装置10对应显示装置20的第一指向坐标。手持式指向装置10便会根据第一指向坐标产生控制光标位于显示装置20的光标参数。当手持式指向装置10进入锁点定位模式时,手持式指向装置10会先记录锁点前的第一指向坐标,并使光标(未绘示)固定于显示装置20上对应锁点前的该第一指向坐标的显示位置。To put it simply, when the handheld pointing device 10 operates in the absolute positioning mode, the handheld pointing device 10 will first extract the first digital image corresponding to a reference point position, and calculate according to the imaging position of the reference point on the first digital image The handheld pointing device 10 corresponds to the first pointing coordinate of the display device 20 . The handheld pointing device 10 generates cursor parameters for controlling the cursor to be located on the display device 20 according to the first pointing coordinates. When the handheld pointing device 10 enters the lock point positioning mode, the handheld pointing device 10 will first record the first pointing coordinates before the lock point, and fix the cursor (not shown) on the corresponding lock point on the display device 20. The display position of the first pointing coordinates.

于本实施例中,当手持式指向装置10离开锁点定位模式,手持式指向装置10会先进入一相对定位模式。具体地说,当手持式指向装置10进入相对定位模式时,手持式指向装置10会提取该参考点的一第二数字影像,并根据参考点于第二数字影像的成像位置,计算产生手持式指向装置10对应显示装置20的一第二指向坐标。手持式指向装置10根据所记录锁点前的第一指向坐标与计算的该第二指向坐标,计算参考点的一移动向量。手持式指向装置10随后会根据该计算的移动向量与所记录锁点前的第一指向坐标计算光标定位,以补偿所记录锁点前的第一指向坐标与该第二指向坐标之间的偏移量。手持式指向装置10并根据计算结果相对应地产生控制光标移动的光标参数。In this embodiment, when the handheld pointing device 10 leaves the locking point positioning mode, the handheld pointing device 10 will first enter a relative positioning mode. Specifically, when the handheld pointing device 10 enters the relative positioning mode, the handheld pointing device 10 will extract a second digital image of the reference point, and calculate and generate the handheld The pointing device 10 corresponds to a second pointing coordinate of the display device 20 . The handheld pointing device 10 calculates a movement vector of the reference point according to the recorded first pointing coordinate before the lock point and the calculated second pointing coordinate. The handheld pointing device 10 then calculates the cursor position according to the calculated movement vector and the recorded first pointing coordinate before the lock point, so as to compensate for the deviation between the recorded first pointing coordinate before the lock point and the second pointing coordinate. displacement. The hand-held pointing device 10 correspondingly generates cursor parameters for controlling cursor movement according to the calculation results.

进一步地说,手持式指向装置10会在一预设校正时间内或校正次数内完成校正光标定位,使光标由对应所记录锁点前的第一指向坐标的光标位置移动至对应当次指向坐标的光标位置。当手持式指向装置10完成校正光标定位,手持式指向装置10会离开相对定位模式,并再次进入绝对定位模式直至下一次进入锁点定位模式。Furthermore, the handheld pointing device 10 will complete the calibration cursor positioning within a preset calibration time or calibration times, so that the cursor will move from the cursor position corresponding to the first pointing coordinates before the recorded lock point to the corresponding current pointing coordinates the cursor position. When the handheld pointing device 10 completes the calibration cursor positioning, the handheld pointing device 10 will leave the relative positioning mode, and enter the absolute positioning mode again until the next lock point positioning mode.

简言之,于本实施例中,手持式指向装置10可主动切换于绝对定位模式、相对定位模式或锁点定位模式,并根据其目前的运作模式计算显示装置20画面上的光标定位。In short, in this embodiment, the handheld pointing device 10 can actively switch between an absolute positioning mode, a relative positioning mode, or a lock point positioning mode, and calculates the cursor position on the screen of the display device 20 according to its current operating mode.

进一步地说,手持式指向装置10包括影像提取单元11、处理单元12、通信单元13、输入单元14、存储单元15以及按键单元16。影像提取单元11、通信单元13、输入单元14、存储单元15以及按键单元16分别耦接处理单元12。Furthermore, the handheld pointing device 10 includes an image capture unit 11 , a processing unit 12 , a communication unit 13 , an input unit 14 , a storage unit 15 and a button unit 16 . The image capture unit 11 , the communication unit 13 , the input unit 14 , the storage unit 15 and the key unit 16 are respectively coupled to the processing unit 12 .

影像提取单元11用以于手持式指向装置10指向参考点时,提取对应该参考点位置的影像,并依序产生多个数字影像(image frame)。所述参考点可以是设置于显示装置20的附近,用以供手持式指向装置10判断手持式指向装置10的指向位置,进而判断手持式指向装置10相对于参考点的移动方向及移动量。The image extraction unit 11 is used for extracting an image corresponding to the position of the reference point when the handheld pointing device 10 points to the reference point, and sequentially generating a plurality of digital images (image frames). The reference point can be set near the display device 20 for the handheld pointing device 10 to determine the pointing position of the handheld pointing device 10 , and then determine the moving direction and amount of the handheld pointing device 10 relative to the reference point.

具体地说,影像提取单元11可通过一滤光单元(未绘示),滤除特定光波之外的光线,使影像提取单元11仅感测由该参考点发出的具特定光波的光线。影像提取单元11并根据预设的影像取样频率(image frame rate)感测参考点所产生的光线,以依序产生具该参考点的多个数字影像。Specifically, the image capture unit 11 can filter out light rays other than specific light waves through a filter unit (not shown), so that the image capture unit 11 only senses light rays with specific light waves emitted from the reference point. The image extraction unit 11 senses the light generated by the reference point according to a preset image sampling frequency (image frame rate), so as to sequentially generate a plurality of digital images with the reference point.

处理单元12用以接收影像提取单元11产生的该些数字影像,并根据该些数字影像之一计算该参考点在该些数字影像之一的成像位置。处理单元12便会依据手持式指向装置10的运作模式以绝对定位模式、相对定位模式或锁点定位模式计算并控制显示装置20画面上的光标定位。The processing unit 12 is used for receiving the digital images generated by the image extraction unit 11, and calculating the imaging position of the reference point in one of the digital images according to one of the digital images. The processing unit 12 calculates and controls the positioning of the cursor on the screen of the display device 20 according to the operation mode of the handheld pointing device 10 in an absolute positioning mode, a relative positioning mode or a locking point positioning mode.

输入单元14用以供手持式指向装置10的使用者设定影像取样频率以及相对定位模式的光标的校正参数,例如光标位置的校正次数。举例来说,使用者可以是根据一预设校正时间来设定参考点的影像取样频率以及根据该影像取样频率设置光标的校正次数。又举例来说,使用者可根据设定影像取样频率决定光标的校正次数。所述影像取样频率可以是对应于显示装置20的画面更新频率,亦即影像取样频率可以是根据显示装置20来设定。The input unit 14 is used for the user of the handheld pointing device 10 to set the image sampling frequency and the calibration parameters of the cursor in the relative positioning mode, such as the number of calibration times of the cursor position. For example, the user can set the image sampling frequency of the reference point according to a preset calibration time and set the calibration times of the cursor according to the image sampling frequency. For another example, the user can determine the calibration times of the cursor according to the set image sampling frequency. The image sampling frequency may correspond to the frame update frequency of the display device 20 , that is, the image sampling frequency may be set according to the display device 20 .

实际上,输入单元14可为一按键介面(keypad)、手指导航元件(opticalfinger navigation device)或一按键(button)用以启动显示装置20显示设定介面,以供使用者设定预设校正时间、影像取样频率及/或光标的校正次数。而若该手持式指向装置10具有一手持式显示屏幕(图未示)时,亦可由该手持式显示屏幕显示该些预设校正时间、影像取样频率及/或光标的校正次数。所述手持式显示屏幕亦可为一触控屏幕。In fact, the input unit 14 can be a keypad, an opticalfinger navigation device or a button to activate the display device 20 to display the setting interface for the user to set the default calibration time , image sampling frequency and/or cursor calibration times. And if the hand-held pointing device 10 has a hand-held display screen (not shown), the hand-held display screen can also display the preset calibration time, image sampling frequency and/or cursor calibration times. The handheld display screen can also be a touch screen.

存储单元15可用以存储上述第一指向坐标、第二指向坐标、移动向量以及光标参数。存储单元15亦可依手持式指向装置10的运作需求用于存储上述预设校正时间、影像取样频率以及光标的校正次数。The storage unit 15 can be used to store the above-mentioned first pointing coordinates, second pointing coordinates, movement vectors and cursor parameters. The storage unit 15 can also be used to store the preset calibration time, image sampling frequency, and cursor calibration times according to the operation requirements of the handheld pointing device 10 .

按键单元16用以供使用者选择性地按压控制手持式指向装置10进入锁点定位模式或离开锁点定位模式。也就是,使用者可通过按压控制手持式指向装置10的按键单元16,使手持式指向装置10进入或离开锁点定位模式。The button unit 16 is used for the user to selectively press and control the handheld pointing device 10 to enter the locking point positioning mode or leave the locking point positioning mode. That is, the user can press the button unit 16 controlling the handheld pointing device 10 to make the handheld pointing device 10 enter or leave the locking point positioning mode.

值得注意的是,若使用者是通过按压按键单元16的方式,使手持式指向装置10进入锁点定位模式时,可设定在使用者未使用按键单元16解除锁点状态(即驱动手持式指向装置10离开锁点定位模式)之前,手持式指向装置10不会因其移动产生的指向坐标位移量大于一预设值而离开锁点定位模式。It is worth noting that if the user presses the button unit 16 to make the handheld pointing device 10 enter the locking point positioning mode, it can be set that the user does not use the button unit 16 to release the locking point state (that is, to drive the hand-held pointing device 10). Before the pointing device 10 leaves the lock point positioning mode), the handheld pointing device 10 will not leave the lock point positioning mode because the pointing coordinate displacement generated by its movement is greater than a preset value.

实际上,按键单元16可以是设置于手持式指向装置10上,且可为触控式开关、按压式开关或摇杆开关。举例来说,当按键单元16为触控式开关时,使用者可通过触碰按键单元16一下来启动锁点定位模式,两下(double-click)使手持式指向装置10离开锁点定位模式。In fact, the button unit 16 can be disposed on the handheld pointing device 10 , and can be a touch switch, a push switch or a rocker switch. For example, when the key unit 16 is a touch switch, the user can activate the locking point positioning mode by touching the key unit 16 once, and double-click to make the handheld pointing device 10 leave the locking point positioning mode .

当处理单元12于手持式指向装置10运作于绝对定位模式时,处理单元12会根据该些数字影像的第一数字影像计算该参考点于第一数字影像的成像位置。而后,手持式指向装置10再根据参考点于第一数字影像的成像位置对应计算产生第一指向坐标。处理单元12会以绝对定位模式计算光标定位。具体地说,处理单元12会依据所计算的第一指向坐标产生对应控制光标位于显示装置20的光标参数。处理单元12并会将所计算出对应控制光标的光标参数利用通信单元13以无线传输方式传送至显示装置20,以相对应地控制光标在显示装置20画面上的移动位置。其中,根据一或多个参考点在所提取影像中的成像位置计算手持式指向装置在显示装置20的画面上的绝对指向坐标是属于现有技术内容,并非本发明主要改善的特征,在此即不予以赘述。When the processing unit 12 operates in the absolute positioning mode of the handheld pointing device 10 , the processing unit 12 calculates the imaging position of the reference point in the first digital image according to the first digital image of the digital images. Then, the handheld pointing device 10 calculates and generates the first pointing coordinates according to the imaging position of the reference point in the first digital image. The processing unit 12 calculates the cursor position in an absolute position mode. Specifically, the processing unit 12 generates cursor parameters corresponding to controlling the cursor to be located on the display device 20 according to the calculated first pointing coordinates. The processing unit 12 transmits the calculated cursor parameters corresponding to the control cursor to the display device 20 through the communication unit 13 through wireless transmission, so as to control the moving position of the cursor on the screen of the display device 20 accordingly. Wherein, calculating the absolute pointing coordinates of the handheld pointing device on the screen of the display device 20 according to the imaging positions of one or more reference points in the extracted image belongs to the content of the prior art, and is not the main improvement feature of the present invention, here That is not to be repeated.

而当手持式指向装置10进入锁点定位模式时,处理单元12即会记录锁点前的第一指向坐标,并使光标固定于显示装置20。举例来说,处理单元12可以持续固定通过通信单元13输出对应所记录锁点前的第一指向坐标的光标参数至显示装置20。又或者,处理单元12可以不输出光标参数,或者输出相对移动量为零,而使光标固定于显示装置20。When the handheld pointing device 10 enters the locking point positioning mode, the processing unit 12 will record the first pointing coordinates before the locking point, and fix the cursor on the display device 20 . For example, the processing unit 12 may continuously output the cursor parameters corresponding to the recorded first pointing coordinates before the lock point to the display device 20 via the communication unit 13 . Alternatively, the processing unit 12 may not output the cursor parameter, or output the relative movement amount as zero, so that the cursor is fixed on the display device 20 .

当手持式指向装置10离开锁点定位模式进入相对定位模式时,处理单元12随即会启动指向坐标校正程序,使手持式指向装置10以相对定位模式计算光标定位。处理单元12会在上述预设校正时间内或校正次数内,使手持式指向装置10于后续移动时,基于所记录锁点前的第一指向坐标为起始点,配合移动向量与手持式指向装置10移动产生的指向坐标位移量进行光标的定位计算。所述指向坐标位移量是指手持式指向装置10的处理单元12在连续时间所计算两个指向坐标的位移量。When the handheld pointing device 10 leaves the locking point positioning mode and enters the relative positioning mode, the processing unit 12 will immediately start the pointing coordinate correction procedure, so that the handheld pointing device 10 calculates the cursor positioning in the relative positioning mode. The processing unit 12 will make the hand-held pointing device 10 move subsequently based on the first pointing coordinate before the recorded lock point as the starting point within the above-mentioned preset correction time or within the number of corrections, and cooperate with the movement vector and the hand-held pointing device 10 Calculate the position of the cursor based on the pointing coordinate displacement generated by the movement. The pointing coordinate displacement refers to the displacement of two pointing coordinates calculated by the processing unit 12 of the handheld pointing device 10 in continuous time.

值得注意的是,于本实施例中,影像提取单元11可以是由电荷耦合元件(charge-coupled device,CCD)影像传感器或互补式金属氧化物半导体(complementary metal oxide semiconductor,CMOS)影像传感器来实现,且于本技术领域的技术人员可以依据实际使用情况来设计,本实施例在此不加以限制。It should be noted that, in this embodiment, the image extraction unit 11 may be implemented by a charge-coupled device (CCD) image sensor or a complementary metal oxide semiconductor (complementary metal oxide semiconductor, CMOS) image sensor. , and can be designed by those skilled in the art according to actual usage conditions, which is not limited in this embodiment.

处理单元15于本实施例中可以是以微控制器(microcontroller)或嵌入式控制器(embedded controller)等处理器芯片利用程序码编译方式来实现,但本实施例并不限制。存储单元15可以是利用闪存芯片、只读存储器芯片或随机存取存储器芯片等易失性或非易失性存储器芯片来实现,但本实施例并不以此为限。而通信单元13可以是利用蓝牙传输方式将移动向量信息传送至显示装置20,但本实施例不以此为限。In this embodiment, the processing unit 15 can be implemented by compiling program codes with processor chips such as microcontrollers or embedded controllers, but this embodiment is not limited. The storage unit 15 may be implemented by using volatile or non-volatile memory chips such as flash memory chips, read-only memory chips, or random access memory chips, but this embodiment is not limited thereto. The communication unit 13 may transmit the motion vector information to the display device 20 by means of Bluetooth transmission, but this embodiment is not limited thereto.

要说明的是,影像提取单元11、处理单元12、通信单元13、输入单元14、存储单元15以及按键单元16的种类、实体架构及/或实施方式是依据手持式指向装置10的种类、实体架构即/或实施方式来设置,本发明并不限定。It should be noted that the type, physical structure and/or implementation of the image capture unit 11, the processing unit 12, the communication unit 13, the input unit 14, the storage unit 15, and the button unit 16 are based on the type and physical form of the handheld pointing device 10. The configuration is based on the architecture and/or the implementation manner, and the present invention is not limited thereto.

以下针对手持式指向装置10的一具体应用方式做一说明。请参照图2并同时参考图1,图2绘示本发明实施例提供的手持式指向装置应用于互动系统的示意图。所述互动系统包括手持式指向装置10以及显示装置20。A specific application of the handheld pointing device 10 will be described below. Please refer to FIG. 2 and FIG. 1 at the same time. FIG. 2 shows a schematic diagram of a handheld pointing device provided by an embodiment of the present invention applied to an interactive system. The interactive system includes a handheld pointing device 10 and a display device 20 .

手持式指向装置10的处理单元12会于手持式指向装置10指向参考点21的位置时,影像提取单元11驱动提取参考点21的多张数字影像。处理单元12随后会根据多张数字影像中之一计算出参考点21的成像位置,以对应计算手持式指向装置10指向显示装置20的指向坐标。处理单元12并根据指向坐标依据其运作模式计算显示装置20画面上光标23的光标定位。手持式指向装置10并将根据参考点21的位置变化产生对应光标的光标参数通过通信单元13以无线方式传送光标参数至显示装置20。据此,手持式指向装置10可控制显示装置20画面上光标23出现的位置。The processing unit 12 of the handheld pointing device 10 drives the image extraction unit 11 to extract multiple digital images of the reference point 21 when the handheld pointing device 10 points to the position of the reference point 21 . The processing unit 12 then calculates the imaging position of the reference point 21 according to one of the multiple digital images, so as to calculate correspondingly the pointing coordinates at which the handheld pointing device 10 points to the display device 20 . The processing unit 12 calculates the cursor position of the cursor 23 on the screen of the display device 20 according to the pointing coordinates and according to its operation mode. The handheld pointing device 10 generates the cursor parameters corresponding to the cursor according to the position change of the reference point 21 and wirelessly transmits the cursor parameters to the display device 20 through the communication unit 13 . Accordingly, the handheld pointing device 10 can control the position where the cursor 23 appears on the screen of the display device 20 .

附带一提的是,于本实施例中,显示装置20本身具有可执行与显示软件程序的软件与硬体架构。然于实际上所述互动系统另可依据实际应用需求包括一主机(未绘示),例如为游戏主机或电脑主机。主机可用以读取与执行软件程序,例如游戏软件,如光枪游戏、棒球游戏以及网球游戏等。主机并可将软件程序的执行状态显示于显示装置20,以供使用者浏览操控。Incidentally, in this embodiment, the display device 20 itself has a software and hardware structure capable of executing and displaying software programs. However, in practice, the interactive system may further include a host (not shown), such as a game host or a computer host, according to actual application requirements. The host can be used to read and execute software programs, such as game software, such as light gun games, baseball games, and tennis games. The host can also display the execution status of the software program on the display device 20 for the user to browse and control.

值得注意的是,于本实施例中,所述手持式指向装置10可例如为一遥控器。所述显示装置20可例如为,但不限于投影显示装置、游戏机显示屏幕、电视屏幕以及电脑显示屏幕。参考点21可以是由多个具特定波长的发光二极管,例如红外线发光二极管(IR LED)、激光二极管或紫外光发光二极管排列成各种形状的参考点来实现。所述发光二极管可以是由独立的电源自行供应发光所需电源。但实务上所述发光二极管亦可以是电性连接显示装置20或是主机,以获取发光所需电源。It should be noted that, in this embodiment, the handheld pointing device 10 may be, for example, a remote controller. The display device 20 may be, for example, but not limited to, a projection display device, a game machine display screen, a television screen, and a computer display screen. The reference point 21 can be realized by a plurality of light emitting diodes with specific wavelengths, such as infrared light emitting diodes (IR LEDs), laser diodes or ultraviolet light emitting diodes arranged in various shapes of reference points. The light-emitting diodes can be supplied by an independent power supply to light up. However, in practice, the light-emitting diodes can also be electrically connected to the display device 20 or the host to obtain the power required for lighting.

此外,本实施例仅使用一参考点,但本发明领域的技术人员亦可视设计需求自行设置参考点21的数量,例如为1个、2或者是多个。也就是说,图2仅供用以说明手持式指向装置10的运作,并非用以限定本发明。In addition, only one reference point is used in this embodiment, but those skilled in the art can also set the number of reference points 21 according to design requirements, such as 1, 2 or more. That is to say, FIG. 2 is only used to illustrate the operation of the handheld pointing device 10 , and is not intended to limit the present invention.

本实施例另提供用于手持式指向装置10的光标定位方法,以对手持式指向装置10的运作做更具体地说明。请参照图3并同时参照图1、图2以及图4A到图4C。图3绘示本发明实施例提供的手持式指向装置10的光标定位方法的流程示意图。图4A到图4C分别绘示本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置画面上位置变化的示意图。This embodiment also provides a cursor positioning method for the handheld pointing device 10 to describe the operation of the handheld pointing device 10 in more detail. Please refer to FIG. 3 and also refer to FIGS. 1 , 2 , and 4A to 4C. FIG. 3 is a schematic flowchart of a cursor positioning method of the handheld pointing device 10 provided by an embodiment of the present invention. 4A to FIG. 4C are schematic diagrams respectively showing the position change of the reference point sensed and the position change of the cursor on the screen of the display device when the handheld pointing device is moved according to the embodiment of the present invention.

首先,于步骤S301中,影像提取单元11会于手持式指向装置10指向参考点21时,提取对应参考点21位置的影像,并产生第一数字影像F1。First, in step S301 , the image extraction unit 11 extracts an image corresponding to the position of the reference point 21 when the handheld pointing device 10 points to the reference point 21 , and generates a first digital image F1 .

其次,于步骤S303中,处理单元12会根据第一数字影像F1计算对应参考点21的参考点影像113在第一数字影像F1的成像位置,以对应产生手持式指向装置10对应显示装置20的第一指向坐标第一指向坐标表示手持式指向装置10在提取的第一数字影像F1中对应显示装置20的指向位置向量,且第一指向坐标为(x1,y1)。Next, in step S303, the processing unit 12 will calculate the imaging position of the reference point image 113 corresponding to the reference point 21 in the first digital image F1 according to the first digital image F1, so as to generate the corresponding position of the handheld pointing device 10 corresponding to the display device 20. first pointing coordinate first pointing coordinate Indicates the pointing position vector of the hand-held pointing device 10 corresponding to the display device 20 in the extracted first digital image F1, and the first pointing coordinate is (x1,y1).

特别说明的是,第一指向坐标的计算方式如下。首先,处理单元12根据第一数字影像F1的中心点”+”与参考点影像113在第一数字影像F1中的成像位置定义出映射在第一数字影像F1中对应于显示装置20的操作范围111。所述操作范围111是以一预设显示比例对应于显示装置20,且操作范围111是处理单元12以参考点影像113做原点,并依据预设显示比例定义于第一数字影像F1。处理单元12亦可进一步定义出该操作范围111的中心点1111,处理单元12可利用操作范围111的中心点1111作为原点并配合手持式指向装置10的旋转角度,来计算第一数字影像F1的中心点“+”在操作范围111的指向位置向量,以获取第一指向坐标In particular, the first pointing coordinate is calculated as follows. First, the processing unit 12 defines the operating range corresponding to the display device 20 mapped in the first digital image F1 according to the imaging position of the center point “+” of the first digital image F1 and the reference point image 113 in the first digital image F1 111. The operating range 111 corresponds to the display device 20 with a preset display ratio, and the processing unit 12 takes the reference point image 113 as the origin and defines the first digital image F1 according to the preset display ratio. The processing unit 12 can further define the center point 1111 of the operating range 111, and the processing unit 12 can use the center point 1111 of the operating range 111 as the origin and cooperate with the rotation angle of the hand-held pointing device 10 to calculate the first digital image F1. The pointing position vector of the center point "+" in the operating range 111 to obtain the first pointing coordinate

值得注意的是,在获取该第一指向坐标时,不以定义该中心点1111为必要,亦可直接根据第一数字影像F1的中心点“+”与参考点影像113在第一数字影像F1中的成像位置的相对关系或参考点影像113的成像特征计算出对应的旋转角度,进而获取该第一指向坐标It is worth noting that when obtaining the first pointing coordinate In this case, it is not necessary to define the center point 1111, and it can also be directly based on the relative relationship between the center point “+” of the first digital image F1 and the imaging position of the reference point image 113 in the first digital image F1 or the reference point image 113 Calculate the corresponding rotation angle based on the imaging features, and then obtain the first pointing coordinate

所述中心点“+”于本实施例中为影像提取单元11中感测阵列的中心。换言之,第一指向坐标表示影像提取单元11中感测阵列的中心(即中心点“+”)在第一数字影像F1中对应于显示装置20的坐标系统的指向坐标位置。所述旋转角度亦可以是处理单元12根据内建于手持式指向装置10的一加速度单元(未绘示)输出的加速度值计算产生。所述加速度单元可例如重力传感器(G-sensor)、加速度计(accelerometer)。The center point “+” in this embodiment is the center of the sensing array in the image capturing unit 11 . In other words, the first pointing coordinate Indicates the pointing coordinate position of the center of the sensing array in the image capturing unit 11 (ie, the center point “+”) corresponding to the coordinate system of the display device 20 in the first digital image F1. The rotation angle can also be calculated by the processing unit 12 according to an acceleration value output by an acceleration unit (not shown) built in the handheld pointing device 10 . The acceleration unit may be, for example, a gravity sensor (G-sensor) or an accelerometer (accelerometer).

接着,于步骤S305中,处理单元12以绝对定位模式根据第一指向坐标计算光标定位。处理单元12随后根据光标定位的计算结果对应产生控制光标23位于显示装置20的光标参数。Next, in step S305, the processing unit 12 uses the absolute positioning mode according to the first pointing coordinate Calculate cursor positioning. The processing unit 12 then correspondingly generates cursor parameters for controlling the cursor 23 to be positioned on the display device 20 according to the calculation result of the cursor positioning.

值得一提的是,如图4A所示第一指向坐标位于第一数字影像F1的操作范围111内,故而显示装置20会于接收光标参数时,根据其显示比例对应设置光标23于画面上的显示位置。因此,当手持式指向装置10通过通信单元13传送控制光标23的光标参数与预设显示比例至显示装置20时,显示装置20则会将根据目前的显示比例(亦即显示装置20的解析度),计算出光标23于显示装置20画面上的显示位置。本技术领域的技术人员应知显示装置20根据目前的显示比与光标参数计算光标23于显示装置20画面上的位置的方式,故不在此赘述。It is worth mentioning that, as shown in Figure 4A, the first pointing coordinate It is located within the operating range 111 of the first digital image F1, so when receiving the cursor parameter, the display device 20 sets the display position of the cursor 23 on the screen correspondingly according to its display scale. Therefore, when the hand-held pointing device 10 transmits the cursor parameters and the preset display ratio for controlling the cursor 23 to the display device 20 through the communication unit 13, the display device 20 will use the current display ratio (that is, the resolution of the display device 20) ), calculate the display position of the cursor 23 on the screen of the display device 20 . Those skilled in the art should know how the display device 20 calculates the position of the cursor 23 on the screen of the display device 20 according to the current display ratio and cursor parameters, so details are not repeated here.

随后,于步骤S307中,处理单元12判断手持式指向装置10是否进入锁点定位模式。例如,处理单元12可根据参考点影像113于多张连续数字影像中的指向坐标的位移量或是根据按键单元16是否被按压来判断手持式指向装置10是否进入锁点定位模式。Subsequently, in step S307 , the processing unit 12 determines whether the handheld pointing device 10 enters the locking point positioning mode. For example, the processing unit 12 can determine whether the handheld pointing device 10 enters the locking point positioning mode according to the displacement of the pointing coordinates of the reference point image 113 in multiple consecutive digital images or according to whether the key unit 16 is pressed.

当处理单元12判定手持式指向装置10进入锁点定位模式时,执行步骤S309。反之,当处理单元12判定手持式指向装置10仍运作于绝对定位模式时,重新回到步骤S301。When the processing unit 12 determines that the handheld pointing device 10 enters the locking point positioning mode, step S309 is executed. On the contrary, when the processing unit 12 determines that the handheld pointing device 10 is still operating in the absolute positioning mode, it returns to step S301.

于步骤S309中,处理单元12记录第一指向坐标于存储单元15。同时,处理单元12可通过通信单元13固定输出对应第一指向坐标的光标参数,或是不输出任何光标参数,亦或是输出光标23的移动参数为(0,0)至显示装置20,使光标23固定于显示装置20。此时,如图4B所示,即便使用者移动手持式指向装置10使对应参考点21的参考点影像113发生位移,而使手持式指向装置10指向位置由第一指向坐标由移动至只要手持式指向装置10仍处于锁点定位模式,手持式指向装置10会一直使光标23固定于显示装置20。所述是处理单元12利用操作范围111’的中心点1111’作为原点,来计算第一数字影像F1的中心点“+”在操作范围111’的指向位置向量,其中操作范围111’是根据参考点图像113’所定义的。In step S309, the processing unit 12 records the first pointing coordinates in storage unit 15. At the same time, the processing unit 12 can fixedly output the corresponding first pointing coordinates through the communication unit 13 or not output any cursor parameter, or output the moving parameter of the cursor 23 as (0,0) to the display device 20 , so that the cursor 23 is fixed on the display device 20 . At this time, as shown in FIG. 4B , even if the user moves the hand-held pointing device 10 to displace the reference point image 113 corresponding to the reference point 21, the pointing position of the hand-held pointing device 10 changes from the first pointing coordinate to move to As long as the handheld pointing device 10 is still in the locking point positioning mode, the handheld pointing device 10 keeps the cursor 23 fixed on the display device 20 . said The processing unit 12 uses the center point 1111' of the operating range 111' as the origin to calculate the pointing position vector of the center point "+" of the first digital image F1 in the operating range 111', wherein the operating range 111' is based on the reference point image 113' as defined.

另外,当然处理单元12亦可直接以参考点影像113’的成像位置作为原点来计算第一数字影像F1的中心点“+”在操作范围111’中的位置向量(或坐标)。只是为便于计算,各该第一指向坐标应当是根据同一方式所计算,例如是皆根据当张数字影像中参考点影像为原点,或是皆根据当张数字影像中操作范围的中心点为原点。In addition, of course, the processing unit 12 can also directly use the imaging position of the reference point image 113 ′ as the origin to calculate the position vector (or coordinates) of the center point “+” of the first digital image F1 in the operating range 111 ′. Just for the convenience of calculation, each of the first pointing coordinates and The calculations should be based on the same method, for example, based on the reference point image in the current digital image as the origin, or based on the center point of the operating range in the current digital image as the origin.

于步骤S311中,处理单元12根据连续数字影像中的参考点21的成像位置计算手持式指向装置10的位移量或是根据按键单元16的按压状态来判断手持式指向装置10是否离开锁点定位模式。当处理单元12判定手持式指向装置10离开锁点定位模式时,执行步骤S313。反之,当处理单元12判定手持式指向装置10尚未离开锁点定位模式时,回到步骤S311。In step S311, the processing unit 12 calculates the displacement of the hand-held pointing device 10 according to the imaging position of the reference point 21 in the continuous digital image or judges whether the hand-held pointing device 10 is positioned away from the locking point according to the pressing state of the button unit 16 model. When the processing unit 12 determines that the handheld pointing device 10 is out of the locking point positioning mode, step S313 is executed. On the contrary, when the processing unit 12 determines that the handheld pointing device 10 has not left the locking point positioning mode, it returns to step S311.

于步骤S313中,手持式指向装置10的影像提取单元11提取对应参考点21位置的影像,并产生第二数字影像F2,如图4C所示。第二数字影像F2的提取时间晚于第一数字影像F1的提取时间。In step S313 , the image extraction unit 11 of the handheld pointing device 10 extracts an image corresponding to the position of the reference point 21 and generates a second digital image F2 , as shown in FIG. 4C . The extraction time of the second digital image F2 is later than the extraction time of the first digital image F1.

接着,于步骤S315中,处理单元12会根据第二数字影像F2计算对应参考点21的参考点影像113于第二数字影像F2的成像位置,对应计算第二指向坐标如图4C所示,第二指向坐标表示影像提取单元11中感测阵列的中心点“+”在显示装置20映射于第二数字影像F2的操作范围111a的指向位置向量,且第二指向坐标为(x2,y2)。第二指向坐标是处理单元12利用操作范围111a的中心点1111a作为原点,来计算第二数字影像F2的中心点“+”在操作范围111a的指向位置向量,其中操作范围111a是根据参考点影像113a所定义的。Next, in step S315, the processing unit 12 will calculate the imaging position of the reference point image 113 corresponding to the reference point 21 in the second digital image F2 according to the second digital image F2, and calculate the corresponding second pointing coordinates As shown in Figure 4C, the second pointing coordinate Represents the pointing position vector of the center point "+" of the sensing array in the image extraction unit 11 mapped on the operating range 111a of the second digital image F2 on the display device 20, and the second pointing coordinate is (x2,y2). second pointing coordinate The processing unit 12 uses the center point 1111a of the operating range 111a as the origin to calculate the pointing position vector of the center point "+" of the second digital image F2 in the operating range 111a, wherein the operating range 111a is defined according to the reference point image 113a .

随后,处理单元12计算并产生第一指向坐标与第二指向坐标之间的移动向量换言之,移动向量为第一指向坐标与第二指向坐标之间的距离。也就是,移动向量表示手持式指向装置10在第一数字影像F1与第二数字影像F2之间与显示装置20之间的相对位移量。移动向量的计算方式可例如是将第二指向坐标与第一指向坐标相减所产生。Subsequently, the processing unit 12 calculates and generates the first pointing coordinate with the second pointing coordinates moving vector between In other words, the moving vector is the first pointing coordinate with the second pointing coordinates the distance between. That is, the motion vector It represents the relative displacement of the handheld pointing device 10 between the first digital image F1 and the second digital image F2 and between the display device 20 . moving vector The calculation method can be, for example, the second pointing coordinate with the first pointing coordinate produced by subtraction.

于步骤S317中,处理单元12根据移动向量以及第一指向坐标计算光标23的光标定位,以补偿第一指向坐标与第二指向坐标之间的偏移量。In step S317, the processing unit 12 according to the motion vector and the first pointing coordinates Calculate cursor positioning of cursor 23 to compensate for first pointing coordinates with the second pointing coordinates offset between.

而后,处理单元12根据计算结果,相应地产生控制光标23移动的光标参数。处理单元12并利用通信单元13将光标参数以无线方式传送至显示装置20,以对应控制光标23移动。Then, the processing unit 12 correspondingly generates cursor parameters for controlling the movement of the cursor 23 according to the calculation result. The processing unit 12 uses the communication unit 13 to wirelessly transmit the cursor parameters to the display device 20 to control the movement of the cursor 23 accordingly.

特别说明的是,所述参考点影像113、113’、113a于本文中如图4A~4C分别是以一圆点来表示,但参考点影像113、113’、113a亦可以十字或星号等来表示,本实施例并不限制。另外,若图2中的互动系统使用两个或两个以上的参考点21时,则可以数字影像中该些参考点影像的位置之间的平均坐标来作为数字影像中本实施例中参考点影像113的位置。此外,手持式指向装置10的处理单元12还可根据该等参考点21设定参考点影像113的预设成像参数与预设成像距离参数,来对参考点影像113的位置计算结果进行补偿。In particular, the reference point images 113, 113', 113a are represented by a dot in Figs. To represent, this embodiment is not limited. In addition, if the interactive system in FIG. 2 uses two or more reference points 21, the average coordinates between the positions of these reference point images in the digital image can be used as the reference point in this embodiment in the digital image The location of image 113. In addition, the processing unit 12 of the handheld pointing device 10 can also set a preset imaging parameter and a preset imaging distance parameter of the reference point image 113 according to the reference points 21 to compensate the position calculation result of the reference point image 113 .

举例来说,处理单元12可利用成像参数,如这些提取参考点连线与中心点形成第一角度与参考点影像的预设成像参数连线与中心点形成参考角度来计算手持式指向装置10的旋转角度。手持式指向装置10的处理单元12可利用成像距离参数计算出参考点影像与预设成像距离参数之间的比例方式以补偿因摄像距离不同造成的位置定位偏差。本发明技术领域的技术人员应知如何设定预设成像参数与预设成像距离参数以及利用预设成像参数与预设成像距离参数对参考点影像113的位置计算结果进行补偿,故不再赘述。For example, the processing unit 12 can use the imaging parameters, such as the first angle formed by the connection line of the extracted reference point and the center point, and the reference angle formed by the preset imaging parameter connection line and the center point of the reference point image to calculate the handheld pointing device 10 the rotation angle. The processing unit 12 of the handheld pointing device 10 can use the imaging distance parameter to calculate the ratio between the reference point image and the preset imaging distance parameter to compensate for position positioning deviation caused by different camera distances. Those skilled in the technical field of the present invention should know how to set the preset imaging parameters and preset imaging distance parameters and use the preset imaging parameters and preset imaging distance parameters to compensate the position calculation results of the reference point image 113, so no more details are given here. .

以下针对上述光标定位方法中相对定位模式的执行流程细节做进一步地说明。请参照图5并同时参照图1、图2以及图6A到图6E。图5绘示本发明实施例提供的手持式指向装置的相对模式定位光标方法的流程示意图。图6A是本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置画面上的位置变化的示意图。图6B是本发明实施例提供的手持式指向装置移动时感测的参考点位置变化的示意图。图6C~图6D分别绘示本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置画面上位置变化的示意图。图6E是本发明实施例提供的光标在显示装置画面上位置变化的示意图。The details of the execution flow of the relative positioning mode in the above cursor positioning method will be further described below. Please refer to FIG. 5 and also refer to FIG. 1 , FIG. 2 and FIGS. 6A to 6E . FIG. 5 is a schematic flowchart of a method for positioning a cursor in a relative mode of a handheld pointing device according to an embodiment of the present invention. 6A is a schematic diagram of the position change of the reference point sensed and the position change of the cursor on the screen of the display device when the handheld pointing device moves according to an embodiment of the present invention. FIG. 6B is a schematic diagram of changes in the position of the reference point sensed when the handheld pointing device moves according to an embodiment of the present invention. FIGS. 6C to 6D are schematic diagrams respectively showing the position change of the reference point sensed when the handheld pointing device moves and the position change of the cursor on the screen of the display device according to the embodiment of the present invention. FIG. 6E is a schematic diagram of the position change of the cursor on the screen of the display device provided by the embodiment of the present invention.

于步骤S501中,当处理单元12判定手持式指向装置10离开锁点定位模式时,处理单元12随即使启动指向坐标校正程序,使手持式指向装置10进入相对定位模式。In step S501 , when the processing unit 12 determines that the hand-held pointing device 10 is out of the locking point positioning mode, the processing unit 12 then starts the pointing coordinate correction procedure, so that the handheld pointing device 10 enters the relative positioning mode.

于步骤S503中,处理单元12设定校正次数为N、补偿向量为C以及起始点坐标处理单元12便会将校正次数为N、补偿向量为C以及起始点坐标暂存于存储单元15。所述起始点坐标为图6A所示的第一指向坐标所述第一指向坐标即如前述是处理单元12利用操作范围111的中心点1111作为原点,来计算第一数字影像F1的中心点“+”在操作范围111的指向位置向量,其中操作范围111是根据参考点影像113的成像位置所定义的。In step S503, the processing unit 12 sets the number of corrections as N, the compensation vector as C and the coordinates of the starting point The processing unit 12 will set the number of corrections as N, the compensation vector as C and the coordinates of the starting point temporarily stored in the storage unit 15. The coordinates of the starting point is the first pointing coordinate shown in Figure 6A The first pointing coordinate That is, as mentioned above, the processing unit 12 uses the center point 1111 of the operating range 111 as the origin to calculate the pointing position vector of the center point "+" of the first digital image F1 in the operating range 111, wherein the operating range 111 is based on the reference point image 113 defined by the imaging position.

处理单元12可以是根据使用者通过输入单元14输入的影像取样频率或预设时间来设定N。于一实施方式中,使用者可例如根据影像取样频率而设定在五个数字影像内完成指向坐标校正程序,则处理单元12会对应设置N为5。而于另一实施方式中,使用者可例如设定一预设校正时间为5秒(亦即使手持式指向装置10在5秒内完成指向坐标校正程序)以及影像取样频率为每秒5张数字影像,则处理单元12会对应设置N为25。The processing unit 12 can set N according to the image sampling frequency or preset time input by the user through the input unit 14 . In one embodiment, the user can set, for example, according to the image sampling frequency to complete the pointing coordinate correction procedure within five digital images, and the processing unit 12 will set N to be 5 accordingly. In another embodiment, the user can, for example, set a default calibration time of 5 seconds (that is, the hand-held pointing device 10 completes the pointing coordinate calibration procedure within 5 seconds) and the image sampling frequency as 5 digits per second. image, the processing unit 12 will set N to 25 correspondingly.

另外,处理单元12是通过将移动向量S除以N,来获得C,其中C的计算公式如下:In addition, the processing unit 12 obtains C by dividing the motion vector S by N, wherein the calculation formula of C is as follows:

CC==SS‾‾NN==((pp22‾‾--pp11‾‾))NN------((11))

其中,C表示补偿向量;表示移动向量;表示第一指向坐Among them, C represents the compensation vector; Indicates the moving vector; Indicates the first point to sit

其中,C表示补偿向量;表示移动向量;表示第一指向坐标;表示第二指向坐标;N表示校正次数。如公式(1)所示,N越大即表示每一次所补偿C值会越小;而N越小即表示每一次所补偿C值会越大。值得一提的是,所述第二指向坐标是处理单元12利用图6B所示的操作范围111b的中心点1111b作为原点,来计算提取的第二数字影像F2的中心点“+”在操作范围111b的指向位置向量,其中操作范围111b是根据参考点影像113b所定义的。Among them, C represents the compensation vector; Indicates the moving vector; Indicates the first pointing coordinate; Indicates the second pointing coordinate; N indicates the number of corrections. As shown in the formula (1), a larger N means that the compensated C value will be smaller each time; and a smaller N means that the compensated C value will be larger each time. It is worth mentioning that the second pointing coordinate The processing unit 12 uses the center point 1111b of the operating range 111b shown in FIG. defined by the reference point image 113b.

于步骤S505中,处理单元12计算手持式指向装置10移动产生的指向坐标位移量。处理单元12可以如图6B所示,通过提取第三数字影像,并根据参考点21的参考点影像113c于第三数字影像F3的成像位置定义操作范围111c。而后,处理单元12再利用操作范围111c的中心点1111c作为原点,计算第三数字影像F3的中心点“+”在操作范围111b的指向位置向量,产生第三指向坐标In step S505 , the processing unit 12 calculates the pointing coordinate displacement generated by the movement of the handheld pointing device 10 . The processing unit 12 may extract the third digital image as shown in FIG. 6B , and define the operation range 111c according to the imaging position of the reference point image 113c of the reference point 21 in the third digital image F3. Then, the processing unit 12 uses the center point 1111c of the operating range 111c as the origin to calculate the pointing position vector of the center point "+" of the third digital image F3 in the operating range 111b to generate the third pointing coordinates

所述第三指向坐标代表影像提取单元11中感测阵列的中心(即中心点”+”)在第三数字影像F3中对应显示装置20的坐标系统的指向坐标位置,且如图6B所示,第三指向坐标所示为(x3,y3)。随后,处理单元12根据第二指向坐标与第三指向坐标计算手持式指向装置10移动产生的指向坐标位移量其中所述指向坐标位移量为手持式指向装置10在相对定位模式中移动产生的指向坐标位移量。而第三数字影像F3的提取时间晚于上述第二数字影像F2的提取时间。The third pointing coordinate represents the pointing coordinate position of the center of the sensing array in the image extraction unit 11 (i.e. the center point "+") corresponding to the coordinate system of the display device 20 in the third digital image F3, and as shown in FIG. 6B, the third pointing coordinate Shown as (x3,y3). Subsequently, the processing unit 12 according to the second pointing coordinate with the third pointing coordinates Calculating the amount of pointing coordinate displacement generated by the movement of the handheld pointing device 10 where the pointing coordinate displacement is the pointing coordinate displacement generated by the movement of the handheld pointing device 10 in the relative positioning mode. The extraction time of the third digital image F3 is later than the extraction time of the second digital image F2.

接着,于步骤S507中,处理单元12计算起始点坐标手持式指向装置10的指向坐标位移量与C的总和,以获取相对指向坐标,如图6C所示。相对指向坐标的计算方式如下:Next, in step S507, the processing unit 12 calculates the starting point coordinates Pointing coordinate displacement of the handheld pointing device 10 and C to obtain the relative pointing coordinates, as shown in Figure 6C. relative pointing coordinates is calculated as follows:

ppNN‾‾==ppsthe s‾‾++SSdd‾‾++CC==pp11‾‾++((pp33‾‾--pp22‾‾))++((pp22‾‾--pp11‾‾))NN------((22))

于步骤S509中,处理单元12根据相对指向坐标产生并输出对应控制光标23位于显示装置20的光标参数。处理单元12会输出光标参数使光标23由本来位置对应平移动距离d1,如图6C所示。In step S509, the processing unit 12 according to the relative pointing coordinates Generate and output cursor parameters corresponding to the position of the control cursor 23 on the display device 20 . The processing unit 12 outputs the cursor parameters so that the cursor 23 moves from the original position corresponding to the translation distance d1, as shown in FIG. 6C .

同时,于步骤S511以及步骤S513中,处理单元12设定起始点坐标为相对指向坐标以及执行N-1(亦即递减校正次数)。处理单元12并将设定后的相对指向坐标与递减后的N存储于存储单元15。处理单元12随后于步骤S515中判断N是否等于零,亦即判断是否完成指向坐标校正程序。At the same time, in step S511 and step S513, the processing unit 12 sets the starting point coordinates is the relative pointing coordinate And perform N-1 (that is, decrease the number of corrections). The processing unit 12 and the set relative pointing coordinates The decremented N is stored in the storage unit 15 . The processing unit 12 then determines whether N is equal to zero in step S515 , that is, determines whether the pointing coordinate correction procedure is completed.

若处理单元12判断N等于零,亦即完成指向坐标校正程序时,执行步骤S517。反之,若处理单元12判断N并不等于零,亦即尚未完成指向坐标校正程序时,处理单元12回到步骤S505。亦即,重新提取并根据第四数字影像F4中的第四指向坐标计算手持式指向装置10移动产生的指向坐标位移量与相对指向坐标N-1等步骤,使光标23平移距离d1至对应相对指向坐标对应的指向位置,如图6D所示。If the processing unit 12 judges that N is equal to zero, that is, the pointing coordinate correction procedure is completed, step S517 is executed. On the contrary, if the processing unit 12 determines that N is not equal to zero, that is, the pointing coordinate correction procedure has not been completed, the processing unit 12 returns to step S505. That is, re-extract and according to the fourth pointing coordinates in the fourth digital image F4 Calculating the amount of pointing coordinate displacement generated by the movement of the handheld pointing device 10 relative to pointing coordinates Steps such as N-1, make the cursor 23 translate the distance d1 to the corresponding relative pointing coordinates The corresponding pointing position is shown in FIG. 6D.

更具体地说,处理单元12可根据公式(2)产生公式(3),来计算相对指向坐标More specifically, the processing unit 12 can generate formula (3) according to formula (2) to calculate the relative pointing coordinate

ppNN--11‾‾==ppNN‾‾++SSdd‾‾++CC==ppNN‾‾++((pp44‾‾--pp33‾‾))++((pp22‾‾--pp11‾‾))NN------((33))

其中,为上次计算的相对指向坐标;表示当次手持式指向装置10的指向坐标位移量,亦即第三指向坐标与第四指向坐标之间的移动向量,而C为固定值。in, is the relative pointing coordinate calculated last time; Indicates the amount of displacement of the pointing coordinate of the handheld pointing device 10 at that time, that is, the third pointing coordinate with the fourth pointing coordinate A moving vector between , while C is a fixed value.

而后,处理单元12再重新执行步骤S505~S515,依序提取N-2张数字影像(未绘示),以计算以此类推,直至N等于零。Then, the processing unit 12 re-executes steps S505-S515 to sequentially extract N-2 digital images (not shown) to calculate And so on until N is equal to zero.

当处理单元12完成指向坐标校正程序时,光标23会如图6E所示,由显示装置20画面上对应第一指向坐标的位置移动N次到达手持式指向装置10目前的指向位置,且每一次光标23会对应平移所计算的距离。换言之,光标23会在显示装置20画面上由对应第一指向坐标的位置平移距离d,到达对应参考点21手持式指向装置10在第N张数字影像的指向位置。When the processing unit 12 completes the pointing coordinate correction procedure, the cursor 23 will be displayed on the screen of the display device 20 corresponding to the first pointing coordinate as shown in FIG. 6E The position of the hand-held pointing device 10 is moved N times to reach the current pointing position of the handheld pointing device 10, and each time the cursor 23 will translate the calculated distance correspondingly. In other words, the cursor 23 will be on the screen of the display device 20 by the corresponding first pointing coordinate The position is shifted by the distance d to reach the pointing position of the Nth digital image corresponding to the reference point 21 of the hand-held pointing device 10 .

而后,于步骤S517中,处理单元12使手持式指向装置10离开相对定位模式进入绝对定位模式,处理单元12便会以绝对定位模式计算光标定位。Then, in step S517 , the processing unit 12 makes the handheld pointing device 10 leave the relative positioning mode and enter the absolute positioning mode, and the processing unit 12 calculates the cursor positioning in the absolute positioning mode.

也就是说,在相对定位模式中,手持式指向装置10会于后续移动时,基于第一指向坐标作为起始点,并配合第一指向坐标与第二指向坐标之间的移动向量以及手持式指向装置10于校正时移动产生的指向坐标位移量进行光标23的定位计算。据此,手持式指向装置10可于离开锁点定位模式后,使光标23平顺地在预设校正时间或次数内移动至目前手持式指向装置10所指向的位置,藉以避免发生跳点情况并维持指向性。That is to say, in the relative positioning mode, when the handheld pointing device 10 moves subsequently, based on the first pointing coordinates As the starting point, and with the first pointing coordinate with the second pointing coordinates moving vector between And the pointing coordinate displacement generated by the movement of the handheld pointing device 10 during calibration The positioning calculation of the cursor 23 is performed. Accordingly, after the hand-held pointing device 10 leaves the lock point positioning mode, the cursor 23 can smoothly move to the position pointed by the hand-held pointing device 10 within the preset correction time or times, so as to avoid jumping points and Maintain directionality.

值得一提的是,在相对定位模式中,手持式指向装置10亦可不将手持式指向装置10于校正时移动产生的指向坐标位移量加入校正计算。具体地说,手持式指向装置10可于后续移动时,仅基于第一指向坐标作为起始点,并配合第一指向坐标与第二指向坐标之间的移动向量(即手持式指向装置10当次移动产生的指向坐标位移量)来做校正计算。It is worth mentioning that, in the relative positioning mode, the hand-held pointing device 10 does not need to move the hand-held pointing device 10 during calibration to produce a pointing coordinate displacement amount Added to the correction calculation. Specifically, the hand-held pointing device 10 can perform operations only based on the first pointing coordinates during subsequent movements. as the starting point, and cooperate with the first pointing coordinate with the second pointing coordinates moving vector between (that is, the amount of pointing coordinate displacement generated by the current movement of the handheld pointing device 10) is used for correction calculation.

实际上,可通过于微控制器或嵌入式控制器上设计对应上述图3的光标定位方法以及图5的相对定位计算方法的程序码,以由处理单元12于运作时执行图3的光标定位方法以及图5的相对定位计算方法,但本实施例并不限制。In fact, the program code corresponding to the cursor positioning method in FIG. 3 and the relative positioning calculation method in FIG. 5 can be designed on the microcontroller or embedded controller, so that the cursor positioning in FIG. 3 can be executed by the processing unit 12 during operation. method and the relative positioning calculation method in FIG. 5 , but this embodiment does not limit it.

此外,图3仅用于描述手持式指向装置10的一种光标定位方法,故图3并非用以限定本发明。同样地,图5仅用于描述手持式指向装置10计算相对定位的一具体方式并非用以限定本发明。为方便说明对应显示装置20的操作范围与影像提取单元11中感测阵列的中心点“+”之间的关系,图4A~图4C中操作范围仅为示意用途,并非用以限制本发明。要说明的是,图4A~图4C以及图6A到图6E分别仅用以配合图3与图5说明手持式指向装置10的运作方式以及光标定位计算方式,亦并非用以限定本发明。In addition, FIG. 3 is only used to describe a cursor positioning method of the handheld pointing device 10 , so FIG. 3 is not intended to limit the present invention. Likewise, FIG. 5 is only used to describe a specific method for calculating the relative position of the handheld pointing device 10 and is not intended to limit the present invention. For the convenience of illustrating the relationship between the corresponding operating range of the display device 20 and the center point “+” of the sensing array in the image capturing unit 11, the operating ranges in FIGS. It should be noted that FIG. 4A-FIG. 4C and FIG. 6A-FIG. 6E are only used in conjunction with FIG. 3 and FIG. 5 to illustrate the operation mode of the hand-held pointing device 10 and the calculation mode of the cursor position, and are not intended to limit the present invention.

〔手持式指向装置的光标定位方法的另一实施例〕[Another Embodiment of the Cursor Positioning Method of a Handheld Pointing Device]

由上述的实施例,本发明另可归纳出一种光标定位方法,此方法可应用适用于上述实施例互动系统中的手持式指向装置。请参照图7并同时参照图1以及图2,图7绘示本发明另一实施例提供的手持式指向装置光标定位方法的流程示意图。From the above-mentioned embodiments, the present invention can also generalize a cursor positioning method, which can be applied to the hand-held pointing device in the interactive system of the above-mentioned embodiments. Please refer to FIG. 7 and FIG. 1 and FIG. 2 at the same time. FIG. 7 is a schematic flowchart of a cursor positioning method for a handheld pointing device according to another embodiment of the present invention.

图7所述执行于手持式指向装置10的光标定位法可以韧体程序设计方式来实现,并通过手持式指向装置10的处理单元12来执行。The cursor positioning method implemented in the handheld pointing device 10 described in FIG. 7 can be implemented in a firmware programming manner, and is executed by the processing unit 12 of the handheld pointing device 10 .

首先,于步骤S701中,手持式指向装置10的影像提取单元11于手持式指向装置10指向一参考点21的位置时,提取参考点21的第一数字影像。First, in step S701 , the image capture unit 11 of the handheld pointing device 10 extracts a first digital image of the reference point 21 when the handheld pointing device 10 points to a reference point 21 .

其次,于步骤S703中,处理单元12根据参考点21于第一数字影像的成像位置计算手持式指向装置10指向显示装置20的第一指向坐标。Next, in step S703 , the processing unit 12 calculates the first pointing coordinates at which the handheld pointing device 10 points to the display device 20 according to the imaging position of the reference point 21 in the first digital image.

其后,于步骤S705中,处理单元12以绝对定位模式计算光标定位,根据第一指向坐标产生对应控制光标23位于显示装置20的光标参数。详细计算方式光标位置控制方式与前述实施例相同,故不再赘述。Afterwards, in step S705 , the processing unit 12 calculates the cursor position in an absolute position mode, and generates cursor parameters corresponding to controlling the position of the cursor 23 on the display device 20 according to the first pointing coordinates. The detailed calculation method and the control method of the cursor position are the same as those in the foregoing embodiments, so details are not repeated here.

接着,于步骤S707中,处理单元12判断是否进入锁点定位模式。如前述,处理单元12可根据参考点影像113于多张连续数字影像中的位移量或是根据手持式指向装置10的按键单元16是否被按压来判断手持式指向装置10是否进入锁点定位模式。Next, in step S707, the processing unit 12 determines whether to enter the locking point positioning mode. As mentioned above, the processing unit 12 can determine whether the hand-held pointing device 10 enters the locking point positioning mode according to the displacement of the reference point image 113 in multiple consecutive digital images or according to whether the button unit 16 of the hand-held pointing device 10 is pressed. .

当处理单元12判定手持式指向装置10进入锁点定位模式时,执行步骤S709。反之,当处理单元12判定手持式指向装置10仍运作于绝对定位模式时,重新回到步骤S701。When the processing unit 12 determines that the handheld pointing device 10 enters the locking point positioning mode, step S709 is executed. On the contrary, when the processing unit 12 determines that the handheld pointing device 10 is still operating in the absolute positioning mode, it returns to step S701.

于步骤S709中,处理单元12记录第一指向坐标存储单元15。同时,处理单元12通过通信单元13固定输出对应第一指向坐标的光标参数或是不输出任何光标参数至显示装置20,使光标23固定于显示装置20。In step S709 , the processing unit 12 records the first pointing coordinate storage unit 15 . At the same time, the processing unit 12 fixedly outputs the cursor parameters corresponding to the first pointing coordinates through the communication unit 13 or does not output any cursor parameters to the display device 20 , so that the cursor 23 is fixed on the display device 20 .

于步骤S711中,处理单元12可根据连续数字影像中的位移量或是根据按键单元16的按压状态来判断手持式指向装置10是否离开锁点定位模式。当处理单元12判定手持式指向装置10离开锁点定位模式时,执行步骤S713。反之,当手持式指向装置10的处理单元12判定手持式指向装置10尚未离开锁点定位模式时,回到步骤S711。In step S711 , the processing unit 12 can determine whether the handheld pointing device 10 is out of the locking point positioning mode according to the displacement in the continuous digital image or according to the pressing state of the key unit 16 . When the processing unit 12 determines that the handheld pointing device 10 is out of the locking point positioning mode, step S713 is executed. On the contrary, when the processing unit 12 of the handheld pointing device 10 determines that the handheld pointing device 10 has not left the locking point positioning mode, it returns to step S711 .

于步骤S713中,当手持式指向装置10离开锁点定位模式时,处理单元12会使手持式指向装置10于后续移动时,基于第一指向坐标作为起始点,并配合手持式指向装置10的移动产生的指向坐标位移量进行光标23的定位计算。In step S713, when the hand-held pointing device 10 leaves the locking point positioning mode, the processing unit 12 will make the hand-held pointing device 10 move subsequently based on the first pointing coordinate as the starting point, and cooperate with the hand-held pointing device 10 Positioning calculation of the cursor 23 is performed on the pointing coordinate displacement generated by the movement.

随后,处理单元12会根据计算结果相对应地产生控制光标23移动的光标参数。处理单元12并通过通信单元13将光标参数以无线方式传送至显示装置20,以对应控制光标23在显示装置20画面上的动作。Subsequently, the processing unit 12 generates corresponding cursor parameters for controlling the movement of the cursor 23 according to the calculation result. The processing unit 12 wirelessly transmits the cursor parameters to the display device 20 through the communication unit 13 , so as to correspondingly control the action of the cursor 23 on the screen of the display device 20 .

图7仅用于描述手持式指向装置10的一种光标定位方法,故图7并非用以限定本发明。本技术领域的普通技术人员亦可依据实际运作需求,选择判断进入或离开该锁点定位模式的判断方式。上述实施例中相对定位模式的光标定位计算方法可于执行步骤S713中,同时执行以相对定位方式在预设校正时间内校正光标23定位。FIG. 7 is only used to describe a cursor positioning method of the handheld pointing device 10 , so FIG. 7 is not intended to limit the present invention. Those skilled in the art can also select a judging method for judging whether to enter or leave the lock point positioning mode according to actual operation requirements. The cursor positioning calculation method in the relative positioning mode in the above-mentioned embodiment can be executed in step S713, and at the same time, correcting the positioning of the cursor 23 within the preset correction time in the relative positioning mode is performed.

〔手持式指向装置的进入锁点定位模式的判断方法的实施例〕[Example of the Judgment Method for Entering the Lock Point Positioning Mode of the Handheld Pointing Device]

由上述的实施例,本发明另可归纳出一种判断手持式指向装置进入锁点定位模式的方法,此方法可应用适用于上述实施例互动系统中的手持式指向装置。请参照图8并同时参照图1以及图9A到图9B,图8绘示本发明一实施例提供的手持式指向装置进入锁点定位模式方法的流程示意图。图9A到图9B分别绘示本发明实施例提供的判断手持式指向装置是否进入锁点定位模式时感测参考点位置移动变化的示意图。According to the above-mentioned embodiments, the present invention can also generalize a method for judging that the handheld pointing device enters the locking point positioning mode, and this method can be applied to the handheld pointing device in the interactive system of the above-mentioned embodiment. Please refer to FIG. 8 and FIG. 1 and FIG. 9A to FIG. 9B at the same time. FIG. 8 is a schematic flowchart of a method for entering the locking point positioning mode of a handheld pointing device according to an embodiment of the present invention. FIGS. 9A to 9B are respectively schematic diagrams illustrating changes in the sensed reference point position movement when judging whether the handheld pointing device enters the lock point positioning mode according to an embodiment of the present invention.

首先,于步骤S801中,手持式指向装置10的处理单元12判断按键单元16是否被使用者按压。也就是,处理单元12判断手持式指向装置10的使用者是否利用按键单元16强制手持式指向装置10进入锁点定位模式。First, in step S801 , the processing unit 12 of the handheld pointing device 10 determines whether the button unit 16 is pressed by the user. That is, the processing unit 12 determines whether the user of the handheld pointing device 10 uses the button unit 16 to force the handheld pointing device 10 to enter the locking point positioning mode.

当处理单元12判定手持式指向装置10进入锁点定位模式(例如按键单元16被使用者按压)时,执行步骤S811。反之,当处理单元12判定按键单元16未被使用者按压时,执行骤S803。When the processing unit 12 determines that the handheld pointing device 10 enters the locking point positioning mode (for example, the key unit 16 is pressed by the user), step S811 is executed. On the contrary, when the processing unit 12 determines that the key unit 16 is not pressed by the user, step S803 is executed.

于步骤S803中,处理单元12驱动影像提取单元11根据预设的影像取样频率提取对应参考点位置的影像,并依序产生多张数字影像。In step S803, the processing unit 12 drives the image extraction unit 11 to extract images corresponding to the reference point positions according to a preset image sampling frequency, and sequentially generate a plurality of digital images.

随后,于步骤S805中以及如图9A的数字影像F5所示,手持式指向装置10的处理单元12根据所述数字影像中参考点的成像位置,计算手持式指向装置10的位移变化,亦即计算所述指向坐标之间的移动向量Subsequently, in step S805 and as shown in the digital image F5 of FIG. 9A , the processing unit 12 of the handheld pointing device 10 calculates the displacement change of the handheld pointing device 10 according to the imaging position of the reference point in the digital image, that is, Compute the movement vector between the pointing coordinates

于步骤S807中,处理单元12可根据计算结果获取移动向量判断手持式指向装置10移动产生的指向坐标位移量是否小于一预设位移阈值(例如为零)。当处理单元12判断手持式指向装置10移动产生的指向坐标位移量小于预设位移阈值,执行步骤S809。反之,处理单元12判断手持式指向装置10移动产生的指向坐标位移量大于预设位移阈值,回到步骤S801。In step S807, the processing unit 12 can obtain the motion vector according to the calculation result It is judged whether the displacement of the pointing coordinate generated by the movement of the handheld pointing device 10 is less than a preset displacement threshold (for example, zero). When the processing unit 12 determines that the displacement of the pointing coordinates generated by the movement of the handheld pointing device 10 is less than the preset displacement threshold, step S809 is executed. On the contrary, the processing unit 12 determines that the pointing coordinate displacement generated by the movement of the handheld pointing device 10 is greater than the preset displacement threshold, and returns to step S801.

于步骤S809中,处理单元12根据计算获取的移动向量判断手持式指向装置10连续移动的方向是否不同。如图9A与图9B所示,处理单元12可根据对应参考点在数字影像中参考点影像115的成像位置,计算获取影像提取单元11中感测阵列的中心点“+”于映射在数字影像F5中对应显示装置的操作范围111d中的指向坐标往右移,而于后续提取的数字影像F6中定义的操作范围111e的指向坐标所示,由右往左移,即表示手持式指向装置10连续往左右移动。其中数字影像F6的提取时间晚于数字影像F5。从而,处理单元12可判断手持式指向装置10连续移动的方向不同,而执行步骤S811。反之,若处理单元12判断出手持式指向装置10连续移动的方向相同,则执行步骤S801。In step S809, the processing unit 12 acquires the motion vector according to the calculation It is judged whether the directions in which the hand-held pointing device 10 moves continuously are different. As shown in FIGS. 9A and 9B , the processing unit 12 can calculate and obtain the center point “+” of the sensor array in the image extraction unit 11 and map it on the digital image according to the imaging position of the reference point image 115 corresponding to the reference point in the digital image. In F5, the pointing coordinates in the operating range 111d of the corresponding display device move to the right, and as shown in the pointing coordinates of the operating range 111e defined in the subsequently extracted digital image F6, move from right to left, which means that the handheld pointing device 10 Continuously move left and right. The extraction time of the digital image F6 is later than that of the digital image F5. Therefore, the processing unit 12 may determine that the directions in which the handheld pointing device 10 moves continuously are different, and execute step S811 . On the contrary, if the processing unit 12 determines that the hand-held pointing device 10 continuously moves in the same direction, step S801 is executed.

于步骤S811中,处理单元12使手持式指向装置10进入锁点定位模式,以使光标固定于显示装置20的画面上。In step S811 , the processing unit 12 enables the handheld pointing device 10 to enter the locking point positioning mode, so that the cursor is fixed on the screen of the display device 20 .

值得注意的是,在手持式指向装置10进入锁点定位模式后,处理单元12可通过判断按键单元16的按压状态,使手持式指向装置10离开锁点定位模式。或者,处理单元12可通过判断出参考点21的位移变化,判定手持式指向装置10移动产生的指向坐标位移量是否大于预设位移阈值。处理单元12并可于判定手持式指向装置10移动产生的指向坐标位移量大于预设位移阈值,使手持式指向装置10离开锁点定位模式。It should be noted that after the handheld pointing device 10 enters the locking point positioning mode, the processing unit 12 can make the handheld pointing device 10 leave the locking point positioning mode by judging the pressing state of the key unit 16 . Alternatively, the processing unit 12 may determine whether the displacement of the pointing coordinates generated by the movement of the handheld pointing device 10 is greater than a preset displacement threshold by determining the displacement change of the reference point 21 . The processing unit 12 can also make the handheld pointing device 10 leave the locking point positioning mode after determining that the pointing coordinate displacement generated by the movement of the handheld pointing device 10 is greater than a preset displacement threshold.

此外,图8仅用于描述手持式指向装置10的一种进入锁点定位模式的判断方法,故图8并非用以限定本发明。本技术领域的普通技术人员亦可依据实际运作需求,选择判断进入锁点定位模式的方式。换言之,实际上,步骤S807(即手持式指向装置10的位移变化量)、步骤S809(即手持式指向装置10的移动方向)可依据实际运作需求,选择是否同时执行或仅执行其中之一。另,上述预设位移阈值可依据实际手持式指向装置10的应用自行设定,本实施例并不限制。In addition, FIG. 8 is only used to describe a judging method for the handheld pointing device 10 to enter the locking point positioning mode, so FIG. 8 is not intended to limit the present invention. A person skilled in the art can also choose to determine the way to enter the lock point positioning mode according to the actual operation requirements. In other words, actually, step S807 (ie, the displacement change of the hand-held pointing device 10 ) and step S809 (ie, the moving direction of the hand-held pointing device 10 ) can be selected to be executed at the same time or only one of them according to actual operation requirements. In addition, the above preset displacement threshold can be set according to the actual application of the handheld pointing device 10 , which is not limited by this embodiment.

〔手持式指向装置的相对模式定位计算的另一实施例〕[Another embodiment of the relative mode positioning calculation of the handheld pointing device]

本发明另提供一种根据计算的指向坐标判断参考点是否超出一操作范围的方法,此方法可应用适用于上述实施例互动系统中的手持式指向装置。请参照图10并同时参照图1以及图11A到图11D。图10绘示本发明一实施例提供的边界校正方法的流程示意图。图11A到图11D分别绘示本发明实施例提供的手持式指向装置移动时感测的参考点位置变化与光标在显示装置的位置变化的示意图。The present invention further provides a method for judging whether a reference point exceeds an operating range according to the calculated pointing coordinates, and this method can be applied to the handheld pointing device in the interactive system of the above-mentioned embodiment. Please refer to FIG. 10 and also refer to FIG. 1 and FIGS. 11A to 11D . FIG. 10 is a schematic flowchart of a boundary correction method provided by an embodiment of the present invention. 11A to FIG. 11D are schematic diagrams respectively showing the position change of the reference point sensed and the position change of the cursor on the display device when the handheld pointing device is moved according to the embodiment of the present invention.

图10所述执行于手持式指向装置10的判断参考点是否超出一操作范围的方法可以韧体程序设计方式来实现,并通过手持式指向装置10的处理单元12来执行。处理单元12可例如为微控制器或嵌入式控制器等处理芯片设置于手持式指向装置10,但本实施例并不限制。The method for judging whether the reference point exceeds an operating range for the hand-held pointing device 10 described in FIG. 10 can be implemented in a firmware programming manner and executed by the processing unit 12 of the hand-held pointing device 10 . The processing unit 12 can be, for example, a processing chip such as a microcontroller or an embedded controller disposed in the handheld pointing device 10 , but this embodiment is not limited thereto.

图11A到图11D所示位于第一数字影像F1中的操作范围111是以预设显示比例对应于显示装置20。如图11A到图11D所示,操作范围111是界于沿显示装置20的第一轴向DE1的第一轴上限值Y_MAX及第一轴向DE1的第一轴下限值Y_MIN之间以及界于沿显示装置20的第二轴向DE2的第二轴上限值X_MAX及第二轴向DE2的第二轴下限值X_MIN之间的区域。The operating range 111 in the first digital image F1 shown in FIGS. 11A to 11D corresponds to the display device 20 at a preset display scale. As shown in FIG. 11A to FIG. 11D , the operating range 111 is bounded between the upper limit value Y_MAX of the first axis along the first axis DE1 of the display device 20 and the lower limit value Y_MIN of the first axis of the first axis DE1 and The region between the second axis upper limit X_MAX along the second axis DE2 of the display device 20 and the second axis lower limit X_MIN of the second axis DE2.

所述第一轴上限值Y_MAX对应于显示装置20的第一显示侧边201。所述第一轴下限值Y_MIN对应于显示装置20的第二显示侧边203。所述第二轴上限值X_MAX对应于显示装置20的第三显示侧边205。所述第二轴下限值X_MIN对应于显示装置20的第四显示侧边207。The first axis upper limit Y_MAX corresponds to the first display side 201 of the display device 20 . The lower limit value Y_MIN of the first axis corresponds to the second display side 203 of the display device 20 . The second axis upper limit X_MAX corresponds to the third display side 205 of the display device 20 . The lower limit value X_MIN of the second axis corresponds to the fourth display side 207 of the display device 20 .

图10所述的方法可适用在执行图3与图5中根据参考点影像117于第一数字影像F1的成像位置并利用操作范围111的中心点1111作为原点计算出手持式指向装置10的第一指向坐标之后,即判断第一指向坐标是否超出对应显示装置20显示范围的操作范围111。所述第一指向坐标于本实施例中包括第一轴坐标及第二轴坐标。第一轴坐标坐落于第一轴向DE1上,而第二轴坐标坐落于第二轴向DE2上。The method described in FIG. 10 can be applied to calculate the first position of the handheld pointing device 10 according to the imaging position of the reference point image 117 in the first digital image F1 in FIG. 3 and FIG. one-point coordinates After that, judge the first pointing coordinate Whether the operating range 111 corresponding to the display range of the display device 20 is exceeded. The first pointing coordinate In this embodiment, the coordinates on the first axis and the coordinates on the second axis are included. The first axis coordinate is located on the first axis DE1, and the second axis coordinate is located on the second axis DE2.

首先,于步骤S1001中,手持式指向装置10的处理单元12根据第一指向坐标判断第一指向坐标是否超出第一数字影像F1中的操作范围111外。也就是,处理单元12根据第一指向坐标判断影像提取单元11中感测阵列的中心(即中心点“+”)是否位于第一数字影像F1中对应显示装置20的操作范围111外。First, in step S1001, the processing unit 12 of the handheld pointing device 10 according to the first pointing coordinate Judging the first pointing coordinates Whether it is beyond the operating range 111 in the first digital image F1. That is, the processing unit 12 according to the first pointing coordinate It is judged whether the center of the sensor array in the image capturing unit 11 (ie, the center point “+”) is located outside the operating range 111 of the corresponding display device 20 in the first digital image F1.

当处理单元12判定第一指向坐标位于操作范围111外时,执行步骤S1005。反之,当处理单元12判定第一指向坐标位于第一数字影像F1中的操作范围111内时,执行步骤S1003。When the processing unit 12 determines that the first pointing coordinate If it is outside the operating range 111, execute step S1005. Conversely, when the processing unit 12 determines that the first pointing coordinate If it is within the operating range 111 of the first digital image F1, step S1003 is executed.

于步骤S1003中,处理单元12根据第一指向坐标产生对应控制光标33位于显示装置20的光标参数。处理单元12并通过通信单元13输出对应第一指向坐标的光标参数至显示装置20,以使光标33位于显示装置20画面上相对应的位置。In step S1003, the processing unit 12 according to the first pointing coordinate A cursor parameter corresponding to the location of the control cursor 33 on the display device 20 is generated. The processing unit 12 outputs the corresponding first pointing coordinates through the communication unit 13 The cursor parameters are sent to the display device 20 so that the cursor 33 is located at a corresponding position on the screen of the display device 20 .

而于步骤S1005中,处理单元12根据第一指向坐标判断第一指向坐标的第一轴坐标是否大于操作范围111的第一轴上限值Y_MAX。当处理单元12判定第一指向坐标的第一轴坐标(例如图11A的)大于操作范围111的第一轴上限值Y_MAX时,执行步骤1007。反之,当处理单元12判定第一指向坐标的第一轴坐标小于操作范围111的第一轴上限值Y_MAX时,执行步骤1009。In step S1005, the processing unit 12 according to the first pointing coordinate Judging the first pointing coordinates Whether the first axis coordinate of is greater than the first axis upper limit value Y_MAX of the operating range 111 . When the processing unit 12 determines that the first pointing coordinate The first axis coordinates of (such as Figure 11A's ) is greater than the first axis upper limit Y_MAX of the operating range 111, execute step 1007. Conversely, when the processing unit 12 determines that the first pointing coordinate When the first axis coordinate of is smaller than the first axis upper limit value Y_MAX of the operating range 111 , step 1009 is executed.

于步骤S1007中,如图11A所示,处理单元12通过通信单元13输出光标参数使光标33于第一轴向DE1的移动方向是固定于显示装置20的第一显示侧边201而光标33于第二轴向DE2的移动方向则根据第一指向坐标的第二轴坐标(例如根据图11A中第二轴坐标x1)来定位。随后,处理单元12执行步骤S1013。In step S1007, as shown in FIG. 11A , the processing unit 12 outputs cursor parameters through the communication unit 13 so that the movement direction of the cursor 33 along the first axis DE1 is fixed on the first display side 201 of the display device 20 and the cursor 33 is on the first display side 201 of the display device 20. The moving direction of the second axis DE2 is based on the first pointing coordinates The second axis coordinates of (for example, according to the second axis coordinate x1 in FIG. 11A ) are positioned. Subsequently, the processing unit 12 executes step S1013.

于步骤S1009中,处理单元12根据第一指向坐标判断第一指向坐标的第一轴坐标是否小于操作范围111的第一轴下限值Y_MIN。当处理单元12判定第一指向坐标的第一轴坐标(例如图11B之)小于操作范围111的第一轴下限值Y_MIN时,执行步骤1011。反之,当处理单元12判定第一指向坐标的第一轴坐标大于操作范围111的第一轴下限值Y_MIN时,执行步骤1013。In step S1009, the processing unit 12 according to the first pointing coordinate Judging the first pointing coordinates Whether the first axis coordinate of is smaller than the first axis lower limit value Y_MIN of the operating range 111 . When the processing unit 12 determines that the first pointing coordinate The first axis coordinates of (such as the one in Figure 11B ) is smaller than the first axis lower limit Y_MIN of the operating range 111, execute step 1011. Conversely, when the processing unit 12 determines that the first pointing coordinate When the first axis coordinate of is greater than the first axis lower limit value Y_MIN of the operating range 111 , step 1013 is executed.

于步骤S1011中,如图11B所示,处理单元12通过通信单元13输出光标参数使光标33于第一轴向DE1的移动方向是固定于第二显示侧边203。而光标33于第二轴向DE2的移动方向则根据第一指向坐标的第二轴坐标(例如根据图11B中第二轴坐标)来定位。随后,处理单元12执行步骤S1013。In step S1011 , as shown in FIG. 11B , the processing unit 12 outputs cursor parameters through the communication unit 13 so that the moving direction of the cursor 33 along the first axis DE1 is fixed on the second display side 203 . The moving direction of the cursor 33 on the second axis DE2 is based on the first pointing coordinate The second axis coordinates of (for example, according to the second axis coordinates in FIG. 11B ) are positioned. Subsequently, the processing unit 12 executes step S1013.

于步骤S1013中,处理单元12根据第一指向坐标判断第一指向坐标的第二轴坐标是否大于操作范围111的第二轴上限值X_MAX。当处理单元12判定第一指向坐标的第二轴坐标(例如图11C的)大于操作范围111的第二轴上限值X_MAX时,执行步骤S1015。反之,当处理单元12判定第一指向坐标的第二轴坐标小于操作范围111的第二轴上限值X_MAX时,执行步骤S1017。In step S1013, the processing unit 12 according to the first pointing coordinate Judging the first pointing coordinates Whether the second-axis coordinate of is greater than the second-axis upper limit value X_MAX of the operating range 111 . When the processing unit 12 determines that the first pointing coordinate The second axis coordinates of (for example Figure 11C's ) is greater than the second axis upper limit X_MAX of the operating range 111, execute step S1015. Conversely, when the processing unit 12 determines that the first pointing coordinate When the second-axis coordinate of is smaller than the second-axis upper limit X_MAX of the operating range 111 , step S1017 is executed.

于步骤S1015中,如图11C所示,处理单元12通过通信单元13输出光标参数使光标33于第二轴向DE2的移动方向是固定于第三显示侧边205。而光标33于第一轴向DE1的移动方向则根据第一指向坐标的第一轴坐标(例如根据图11C中第一轴坐标y1)来定位。In step S1015 , as shown in FIG. 11C , the processing unit 12 outputs cursor parameters through the communication unit 13 so that the moving direction of the cursor 33 along the second axis DE2 is fixed on the third display side 205 . The moving direction of the cursor 33 on the first axis DE1 is based on the first pointing coordinate The first axis coordinate of (for example, according to the first axis coordinate y1 in FIG. 11C ) is positioned.

而于步骤S1017中,处理单元12判定出第一指向坐标的第二轴坐标(例如图11D的)超出操作范围111的第二轴下限值X_MIN,并通过通信单元13输出光标参数使光标33于第二轴向DE2的移动方向是固定于第四显示侧边207。而光标33于第一轴向DE1的移动方向则根据第一指向坐标的第一轴坐标(例如根据图11D中第一轴坐标y1)来定位。In step S1017, the processing unit 12 determines that the first pointing coordinate The second axis coordinates of (such as Figure 11D's ) exceeds the lower limit value X_MIN of the second axis of the operating range 111 , and outputs cursor parameters through the communication unit 13 so that the moving direction of the cursor 33 on the second axis DE2 is fixed on the fourth display side 207 . The moving direction of the cursor 33 on the first axis DE1 is based on the first pointing coordinate The first axis coordinate of (for example, according to the first axis coordinate y1 in FIG. 11D ) is positioned.

简言之,图10的方法适用于执行根据数字影像计算指向坐标之后,以判断光标是否会位于显示装置20的显示范围外。此外,图10的方法便会于光标33可能超出对应显示装置20的显示范围的一边界时,通过固定光标33于该边界,完成边界坐标校正程序。In short, the method shown in FIG. 10 is suitable for determining whether the cursor is located outside the display range of the display device 20 after the pointing coordinates are calculated according to the digital image. In addition, the method in FIG. 10 completes the boundary coordinate correction procedure by fixing the cursor 33 on the boundary when the cursor 33 may exceed a boundary corresponding to the display range of the display device 20 .

值得注意的是,本实施例仅用第一指向坐标来做说明光标边界校正方式,但实际上手持式指向装置的处理单元可在根据数字影像(例如第二数字影像与第三数字影像)获取对应参考点位置的指向坐标(例如第二指向坐标与第三指向坐标)后,利用图10的方法对应检测计算的指向坐标是否超出数字影像中的操作范围,并于超出操作范围进行边界校正。It is worth noting that this embodiment only uses the first pointing coordinates to illustrate the cursor boundary correction method, but in fact the processing unit of the handheld pointing device can acquire After corresponding to the pointing coordinates (such as the second pointing coordinates and the third pointing coordinates) of the reference point position, use the method of FIG. 10 to detect whether the calculated pointing coordinates exceed the operating range of the digital image, and perform boundary correction when the operating range is exceeded.

图10仅用于描述手持式指向装置10的一种进行边界校正的方法,故图10并非用以限定本发明。本技术领域的普通技术人员亦可依据实际运作需求,根据显示装置20的显示范围设定第一数字影像的操作范围111,亦即第一轴上限值Y_MAX、第一轴下限值Y_MIN、第二轴上限值X_MAX以及第二轴下限值X_MIN。FIG. 10 is only used to describe a method for boundary correction of the hand-held pointing device 10 , so FIG. 10 is not intended to limit the present invention. Those skilled in the art can also set the operating range 111 of the first digital image according to the display range of the display device 20 according to the actual operation requirements, that is, the first axis upper limit Y_MAX, the first axis lower limit Y_MIN, The upper limit value X_MAX of the second axis and the lower limit value X_MIN of the second axis.

〔手持式指向装置的光标定位方法的又一实施例〕[Another Embodiment of the Cursor Positioning Method of a Handheld Pointing Device]

由上述的实施例,本发明还可归纳出一种光标定位方法,此方法可应用适用于上述实施例互动系统中的手持式指向装置。请参照图12并同时参照图1以及2,图12绘示本发明又一实施例提供的手持式指向装置光标定位方法的流程示意图。From the above-mentioned embodiments, the present invention can also generalize a cursor positioning method, which can be applied to the hand-held pointing device in the interactive system of the above-mentioned embodiments. Please refer to FIG. 12 and FIG. 1 and 2 at the same time. FIG. 12 is a schematic flowchart of a cursor positioning method for a handheld pointing device according to another embodiment of the present invention.

图12所述执行于手持式指向装置10的光标定位法可以韧体程序设计方式来实现,并通过手持式指向装置10的处理单元12来执行。The cursor positioning method implemented in the handheld pointing device 10 described in FIG. 12 can be implemented in a firmware programming manner, and is executed by the processing unit 12 of the handheld pointing device 10 .

于步骤S1201中,手持式指向装置10的影像提取单元11会在第一时间提取参考点21的第一数字影像,以供处理单元12根据参考点21在第一数字影像的成像位置计算手持式指向装置10指向显示装置20的第一指向坐标。处理单元12并依据第一指向坐标对应将光标23的显示位置固定在第一指向坐标,以使手持式指向装置10进入锁点定位模式。In step S1201, the image extraction unit 11 of the hand-held pointing device 10 will extract the first digital image of the reference point 21 at the first time, so that the processing unit 12 can calculate the hand-held The pointing device 10 points to the first pointing coordinate of the display device 20 . The processing unit 12 fixes the display position of the cursor 23 at the first pointing coordinates according to the first pointing coordinates, so that the handheld pointing device 10 enters the locking point positioning mode.

进一步地说,处理单元12可根据第一指向坐标产生对应控制光标23位于显示装置20的显示位置的光标参数。更具体地说,处理单元12可以是通过通信单元13固定输出对应第一指向坐标的光标参数或是不输出任何光标参数至显示装置20,使光标23固定于第一指向坐标。光标23的详细计算定位方式光标位置控制方式与前述实施例相同,故不再赘述。Further, the processing unit 12 may generate a cursor parameter corresponding to a display position of the control cursor 23 on the display device 20 according to the first pointing coordinate. More specifically, the processing unit 12 can fix the cursor 23 at the first pointing coordinate by outputting the cursor parameter corresponding to the first pointing coordinate through the communication unit 13 or not outputting any cursor parameter to the display device 20 . The detailed calculation and positioning method of the cursor 23 and the control method of the cursor position are the same as those in the foregoing embodiments, so details are not repeated here.

于步骤S1203中,处理单元12随后在第二时间使手持式指向装置10离该锁点定位模式。处理单元12会在第二时间驱动影像提取单元11提取参考点21的第二数字影像,以根据参考点21在第二数字影像的成像位置计算手持式指向装置10指向显示装置20的第二指向坐标。其中所述第二时间是在第一时间之后,亦即,第二数字影像的提取时间晚于第一数字影像的提取时间。In step S1203, the processing unit 12 then makes the handheld pointing device 10 out of the locking point positioning mode at a second time. The processing unit 12 will drive the image extraction unit 11 to extract the second digital image of the reference point 21 at the second time, so as to calculate the second pointing of the handheld pointing device 10 to the display device 20 according to the imaging position of the reference point 21 in the second digital image. coordinate. Wherein the second time is after the first time, that is, the extraction time of the second digital image is later than the extraction time of the first digital image.

于步骤S1205中,处理单元12根据第一指向坐标与第二指向坐标计算第一指向坐标与第二指向坐标之间的第一移动向量。In step S1205, the processing unit 12 calculates a first movement vector between the first pointing coordinate and the second pointing coordinate according to the first pointing coordinate and the second pointing coordinate.

接着,于步骤S1207中,处理单元12根据第一移动向量计算产生单位补偿向量。处理单元12可如前述实施例所述根据预设的校正次数或校正时间来计算单位补偿向量。例如手持式指向装置10可通过将第一移动向量除以校正次数或校正时间,产生单位补偿向量。所述校正次数或校正时间可以是根据影像取样频率或预设时间来设定。Next, in step S1207, the processing unit 12 calculates and generates a unit compensation vector according to the first motion vector. The processing unit 12 may calculate the unit compensation vector according to the preset calibration times or calibration time as described in the foregoing embodiments. For example, the hand-held pointing device 10 can generate a unit compensation vector by dividing the first movement vector by the number of corrections or the correction time. The calibration times or calibration time can be set according to image sampling frequency or preset time.

接着,于步骤S1209中,处理单元12会在第三时间驱动影像提取单元11提取参考点21的第三数字影像,以根据参考点21在第三数字影像的成像位置计算手持式指向装置10指向显示装置20的第三指向坐标。处理单元12便会在第三时间启动前述的指向坐标校正程序,并以相对定位模式计算光标23定位。其中第三时间是在第二时间之后,亦即第三数字影像的提取时间晚于第二数字影像的提取时间。Next, in step S1209, the processing unit 12 will drive the image extraction unit 11 to extract the third digital image of the reference point 21 at the third time, so as to calculate the pointing of the handheld pointing device 10 according to the imaging position of the reference point 21 in the third digital image. The third pointing coordinate of the display device 20 . The processing unit 12 starts the aforementioned pointing coordinate correction program at the third time, and calculates the position of the cursor 23 in the relative positioning mode. The third time is after the second time, that is, the extraction time of the third digital image is later than the extraction time of the second digital image.

于步骤S1211中,处理单元12会同时在第三时间计算第三指向坐标与第二指向坐标之间的第二移动向量。处理单元12可以通过计算第三指向坐标与第二指向坐标之间位移距离,以获得第二移动向量。In step S1211 , the processing unit 12 simultaneously calculates a second movement vector between the third pointing coordinate and the second pointing coordinate at a third time. The processing unit 12 may obtain the second movement vector by calculating the displacement distance between the third pointing coordinate and the second pointing coordinate.

于步骤S1213中,手持式指向装置10随后根据第一指向坐标、单位补偿向量与第二移动向量计算光标23在该第三时间的于显示装置20的显示位置。具体地说,手持式指向装置10会根据计算结果相对应地产生控制光标23移动的光标参数。处理单元12通过通信单元13以无线方式将光标参数传送至显示装置20,以对应控制光标23于第三时间在显示装置20画面上的显示位置。In step S1213 , the handheld pointing device 10 then calculates the display position of the cursor 23 on the display device 20 at the third time according to the first pointing coordinates, the unit compensation vector and the second movement vector. Specifically, the handheld pointing device 10 will correspondingly generate cursor parameters for controlling the movement of the cursor 23 according to the calculation results. The processing unit 12 wirelessly transmits the cursor parameters to the display device 20 through the communication unit 13 , so as to correspondingly control the display position of the cursor 23 on the screen of the display device 20 at the third time.

随后,手持式指向装置10在第四时间完成执行相对定位模式,并在第四时间以绝对定位模式计算光标定位。于步骤S1215中,处理单元12在第四时间提取参考点21的第四数字影像,以根据参考点21在第四数字影像的成像位置计算手持式指向装置10指向显示装置20的第四指向坐标。其中第四时间是在第三时间之后,亦即,第四数字影像的提取时间晚于第三数字影像的提取时间。而第四时间与第三时间之间的时间长度则可依据上述校正次数或校正时间来配置。所述相对定位模式的具体执行方式与前述实施例相同,故不再赘述。Subsequently, the handheld pointing device 10 finishes executing the relative positioning mode at the fourth time, and calculates the cursor positioning in the absolute positioning mode at the fourth time. In step S1215, the processing unit 12 extracts the fourth digital image of the reference point 21 at the fourth time, so as to calculate the fourth pointing coordinates of the handheld pointing device 10 pointing to the display device 20 according to the imaging position of the reference point 21 in the fourth digital image . The fourth time is after the third time, that is, the extraction time of the fourth digital image is later than the extraction time of the third digital image. The length of time between the fourth time and the third time can be configured according to the above-mentioned correction times or correction time. The specific implementation manner of the relative positioning mode is the same as that of the foregoing embodiments, so details are not repeated here.

于步骤S1217中,处理单元12会依据第四指向坐标计算该光标在第四时间的于显示装置20的显示位置。In step S1217, the processing unit 12 calculates the display position of the cursor on the display device 20 at the fourth time according to the fourth pointing coordinates.

于步骤S1219中,处理单元12根据计算结果产生并通过通信单元13输出对应控制光标23在第四时间的显示位置的光标参数。手持式指向装置10并以无线方式将光标参数传送至显示装置20,以对应控制光标23于第四时间在显示装置20画面上的显示位置。In step S1219 , the processing unit 12 generates and outputs cursor parameters corresponding to the display position of the control cursor 23 at the fourth time through the communication unit 13 according to the calculation result. The hand-held pointing device 10 transmits the cursor parameters to the display device 20 in a wireless manner, so as to correspondingly control the display position of the cursor 23 on the screen of the display device 20 at the fourth time.

值得一提的是,处理单元12会将所计算出第一指向坐标、第二指向坐标、第三指向坐标、第四指向坐标、第一移动向量、第二移动向量以及单位补偿向量分别记录于存储单元15。此外,本技术领域的普通技术人员亦可依据实际运作需求,利用韧体设计方式加入图10所述的判断参考点21是否超出操作范围的方法于处理单元12。也就是,处理单元12可在计算出第一指向坐标、第二指向坐标、第三指向坐标以及第四指向坐标时,自动根据这些指向坐标的第一轴坐标与第二轴坐标判断参考点21是否超出操作范围,藉以避免光标23超出显示装置20的画面。要说明的是,图12仅用于描述手持式指向装置10的一种光标定位方法,故图12并非用以限定本发明。It is worth mentioning that the processing unit 12 will respectively record the calculated first pointing coordinate, second pointing coordinate, third pointing coordinate, fourth pointing coordinate, first moving vector, second moving vector and unit compensation vector in Storage unit 15. In addition, those skilled in the art can also add the method for judging whether the reference point 21 exceeds the operating range described in FIG. 10 to the processing unit 12 by means of firmware design according to actual operation requirements. That is, when the processing unit 12 calculates the first pointing coordinate, the second pointing coordinate, the third pointing coordinate and the fourth pointing coordinate, it can automatically determine the reference point 21 according to the first axis coordinate and the second axis coordinate of these pointing coordinates. Whether the operation range is exceeded, so as to prevent the cursor 23 from exceeding the screen of the display device 20 . It should be noted that FIG. 12 is only used to describe a cursor positioning method of the handheld pointing device 10 , so FIG. 12 is not intended to limit the present invention.

〔手持式指向装置的光标定位方法的再一实施例〕[Another Embodiment of the Cursor Positioning Method of Handheld Pointing Device]

由上述的实施例,本发明还可归纳出一种光标定位方法,此方法可应用适用于上述实施例互动系统中的手持式指向装置。请参照图13并同时参照1以及图2,图13绘示本发明再一实施例提供的手持式指向装置光标定位方法的流程示意图。From the above-mentioned embodiments, the present invention can also generalize a cursor positioning method, which can be applied to the hand-held pointing device in the interactive system of the above-mentioned embodiments. Please refer to FIG. 13 together with reference to FIG. 1 and FIG. 2 . FIG. 13 is a schematic flowchart of a cursor positioning method for a handheld pointing device according to yet another embodiment of the present invention.

图13所述执行于手持式指向装置10的光标定位法可以韧体程序设计方式来实现,并通过手持式指向装置10的处理单元12来执行。The cursor positioning method implemented in the handheld pointing device 10 described in FIG. 13 can be implemented in a firmware programming manner, and executed by the processing unit 12 of the handheld pointing device 10 .

于步骤S1301中,手持式指向装置10的影像提取单元11会在第一时间提取对应参考点21的第一数字影像,以根据参考点21在第一数字影像的成像位置计算产生手持式指向装置10指向显示装置20的第一指向坐标。手持式指向装置10并依据第一指向坐标对应将光标23的显示位置固定在第一指向坐标,以进入锁点定位模式。In step S1301, the image extraction unit 11 of the handheld pointing device 10 will extract the first digital image corresponding to the reference point 21 at the first time, so as to generate the handheld pointing device according to the imaging position of the reference point 21 in the first digital image. 10 points to the first pointing coordinate of the display device 20 . The handheld pointing device 10 fixes the display position of the cursor 23 at the first pointing coordinates according to the first pointing coordinates, so as to enter the locking point positioning mode.

于步骤S1303中,影像提取单元11随后会在第二时间提取参考点21的第二数字影像,以根据参考点21在第二数字影像的成像位置计算手持式指向装置10指向显示装置20的第二指向坐标,使手持式指向装置10离该锁点定位模式。所述第二时间是在第一时间之后,亦即第二数字影像的提取时间晚于第一数字影像的提取时间。In step S1303, the image extraction unit 11 then extracts the second digital image of the reference point 21 at a second time, so as to calculate the first point at which the handheld pointing device 10 points to the display device 20 according to the imaging position of the reference point 21 in the second digital image. Two pointing coordinates, so that the handheld pointing device 10 is out of the lock point positioning mode. The second time is after the first time, that is, the extraction time of the second digital image is later than the extraction time of the first digital image.

于步骤S1305中,手持式指向装置10的处理单元11根据第一指向坐标与第二指向坐标计算第一指向坐标与第二指向坐标之间的第一移动向量。In step S1305, the processing unit 11 of the handheld pointing device 10 calculates a first movement vector between the first pointing coordinate and the second pointing coordinate according to the first pointing coordinate and the second pointing coordinate.

接着,于步骤S1307中,处理单元11会根据第一移动向量计算产生单位补偿向量。手持式指向装置10可如前述实施例所述根据预设的校正次数或校正时间来计算单位补偿向量。例如手持式指向装置10可通过将第一移动向量除以校正次数或校正时间,产生单位补偿向量。Next, in step S1307, the processing unit 11 calculates and generates a unit compensation vector according to the first motion vector. The handheld pointing device 10 can calculate the unit compensation vector according to the preset calibration times or calibration time as described in the foregoing embodiments. For example, the hand-held pointing device 10 can generate a unit compensation vector by dividing the first movement vector by the number of corrections or the correction time.

接着,于步骤S1309中,处理单元11会在第二时间之后的后续移动时,基于第一指向坐标为起始点,根据单位补偿向量并配合手持式指向装置10的移动产生的指向坐标位移量进行光标23的定位计算。具体地说,处理单元11会在第三时间启动前述的指向坐标校正程序,使手持式指向装置10以相对定位模式计算光标23定位。所述相对定位模式的具体执行方式与前述实施例相同,故不再赘述。Next, in step S1309, when the processing unit 11 moves after the second time, based on the first pointing coordinate as the starting point, according to the unit compensation vector and the pointing coordinate displacement generated by the movement of the hand-held pointing device 10 Positioning calculation of the cursor 23 . Specifically, the processing unit 11 starts the aforementioned pointing coordinate correction program at the third time, so that the handheld pointing device 10 calculates the position of the cursor 23 in the relative positioning mode. The specific implementation manner of the relative positioning mode is the same as that of the foregoing embodiments, so details are not repeated here.

于步骤S1311中,处理单元11会根据计算结果相对应地产生控制光标23移动的光标参数。处理单元11并通过通信单元13以无线方式将光标参数传送至显示装置20,以对应控制光标23于第三时间在显示装置20画面上的显示位置。In step S1311 , the processing unit 11 will correspondingly generate cursor parameters for controlling the movement of the cursor 23 according to the calculation result. The processing unit 11 wirelessly transmits the cursor parameters to the display device 20 through the communication unit 13 , so as to correspondingly control the display position of the cursor 23 on the screen of the display device 20 at the third time.

值得注意的是,图13仅用于描述手持式指向装置10的一种光标定位方法,并非用以限定本发明。It should be noted that FIG. 13 is only used to describe a cursor positioning method of the handheld pointing device 10 , and is not intended to limit the present invention.

〔实施例的可能功效〕[Possible efficacy of the embodiment]

综上所述,本发明实施例提供一种手持式指向装置的光标定位方法,此光标定位方法可主动通过检测参考点于数字影像的成像位置计算手持式指向装置的移动变化,判断手持式指向装置是否进入锁点定位模式。所述光标定位方法并可在手持式指向装置离开锁点定位模式时,可通过在手持式指向装置离开锁点定位模式时,主动通过切换光标定位模式于绝对定位或相对定位模式,来避免发生跳点情况。To sum up, the embodiment of the present invention provides a cursor positioning method for a handheld pointing device. The cursor positioning method can actively calculate the movement change of the handheld pointing device by detecting the imaging position of the reference point in the digital image, and judge the hand-held pointing device. Whether the device enters the lock point positioning mode. The cursor positioning method can also actively switch the cursor positioning mode to absolute positioning or relative positioning mode when the handheld pointing device leaves the lock point positioning mode to avoid the occurrence of jump situation.

此外,所述光标定位方法并可在检测到光标可能因参考点超出数字影像的操作范围时,而超出显示装置的显示边界时,对参考点的绝对定位坐标进行边界校正。In addition, the cursor positioning method can perform boundary correction on the absolute positioning coordinates of the reference point when it is detected that the cursor may exceed the display boundary of the display device because the reference point exceeds the operating range of the digital image.

据此,本发明提供的光标定位方法可通过主动根据手持式指向装置的运作模式,对应校正所检测到参考点的绝对定位坐标,同时,亦可维持手持式指向装置的指向性,进而可提高使用者操作上的便利性与稳定。Accordingly, the cursor positioning method provided by the present invention can actively correct the absolute positioning coordinates of the detected reference points according to the operation mode of the handheld pointing device, and at the same time maintain the directivity of the handheld pointing device, thereby improving Convenience and stability in user operation.

以上所述仅为本发明的实施例,其并非用以局限本发明的权利要求的范围。The above descriptions are only examples of the present invention, and are not intended to limit the scope of the claims of the present invention.

Claims (31)

Translated fromChinese
1.一种手持式指向装置的光标定位方法,其特征在于包括:1. a cursor positioning method of a hand-held pointing device, characterized in that comprising:提取一参考点的一第一数字影像,以根据该参考点在该第一数字影像中的成像位置计算一第一指向坐标;extracting a first digital image of a reference point to calculate a first pointing coordinate according to the imaging position of the reference point in the first digital image;依据该第一指向坐标产生对应控制一光标位于一显示装置的一光标参数;generating a cursor parameter corresponding to controlling a cursor located on a display device according to the first pointing coordinate;当该手持式指向装置进入一锁点定位模式时,记录该第一指向坐标,并使该光标固定于该第一指向坐标;When the handheld pointing device enters a lock-point positioning mode, record the first pointing coordinate, and fix the cursor at the first pointing coordinate;当该手持式指向装置离开该锁点定位模式时,提取该参考点的一第二数字影像,以根据该参考点在该第二数字影像中的成像位置计算一第二指向坐标,并对应产生该第一指向坐标与该第二指向坐标之间的一移动向量;以及When the handheld pointing device leaves the locking point positioning mode, a second digital image of the reference point is extracted to calculate a second pointing coordinate according to the imaging position of the reference point in the second digital image, and correspondingly generate a movement vector between the first pointing coordinate and the second pointing coordinate; and根据该移动向量与该第一指向坐标计算光标定位,以补偿该第一指向坐标与该第二指向坐标之间的偏移量,并根据计算结果相对应地产生控制该光标移动的该光标参数。Calculate cursor positioning according to the movement vector and the first pointing coordinates to compensate for the offset between the first pointing coordinates and the second pointing coordinates, and correspondingly generate the cursor parameters for controlling the movement of the cursor according to the calculation results .2.如权利要求1所述的光标定位方法,其中根据该移动向量与该第一指向坐标计算光标定位的该步骤中,包括:2. The cursor positioning method according to claim 1, wherein the step of calculating cursor positioning according to the moving vector and the first pointing coordinates comprises:启动一指向坐标校正程序,使该手持式指向装置以一相对定位模式计算光标定位,其中该相对定位模式是该手持式指向装置于后续移动时,基于该第一指向坐标作为起始点,并配合该移动向量与该手持式指向装置移动产生的一指向坐标位移量进行该光标的定位计算,其中该指向坐标位移量是该手持式指向装置在连续时间所计算两个指向坐标的位移量。Start a pointing coordinate correction program, so that the handheld pointing device calculates cursor positioning in a relative positioning mode, wherein the relative positioning mode is based on the first pointing coordinate as the starting point when the handheld pointing device moves subsequently, and cooperates with The movement vector and a pointing coordinate displacement generated by the movement of the handheld pointing device are used to calculate the positioning of the cursor, wherein the pointing coordinate displacement is the displacement of two pointing coordinates calculated by the handheld pointing device in continuous time.3.如权利要求2所述的光标定位方法,其中该相对定位模式执行的步骤,包括:3. The cursor positioning method according to claim 2, wherein the steps performed in the relative positioning mode include:a)设定一校正次数为N、一补偿向量为C以及一起始点坐标,其中C为该移动向量除以N,该起始点坐标为该第一指向坐标;a) Setting a correction times as N, a compensation vector as C and a starting point coordinate, wherein C is the moving vector divided by N, and the starting point coordinate is the first pointing coordinate;b)计算该手持式指向装置移动产生的该指向坐标位移量;b) Calculating the displacement of the pointing coordinates generated by the movement of the handheld pointing device;c)计算该起始点坐标、该手持式指向装置的该指向坐标位移量与C的总和,以获取一相对指向坐标;c) calculating the starting point coordinates, the sum of the pointing coordinate displacement of the hand-held pointing device and C, to obtain a relative pointing coordinate;d)根据该相对指向坐标,产生并输出对应控制该光标位于该显示装置的该光标参数;d) generating and outputting the cursor parameters corresponding to controlling the cursor to be located on the display device according to the relative pointing coordinates;e)设定该起始点坐标为该相对指向坐标及执行N-1;e) Set the starting point coordinates as the relative pointing coordinates and execute N-1;f)判断N是否等于零;以及f) judging whether N is equal to zero; andg)若N不等于零时,则回到步骤b)。g) If N is not equal to zero, return to step b).4.如权利要求3所述的光标定位方法,其中该相对定位模式执行的该步骤还包括:4. The cursor positioning method as claimed in claim 3, wherein the step performed by the relative positioning mode further comprises:h)若N等于零时,则使该手持式指向装置以该绝对定位模式计算光标定位。h) If N is equal to zero, make the handheld pointing device calculate cursor positioning in the absolute positioning mode.5.如权利要求3所述的光标定位方法,其中N是根据提取该参考点的一图像取样频率来设定。5. The cursor positioning method as claimed in claim 3, wherein N is set according to an image sampling frequency for extracting the reference point.6.如权利要求5所述的光标定位方法,其中该图像取样频率是根据一使用者决定的一预设校正时间来设置。6. The cursor positioning method as claimed in claim 5, wherein the image sampling frequency is set according to a preset calibration time determined by a user.7.如权利要求1所述的光标定位方法,其中在该手持式指向装置进入该锁点定位模式的该步骤中,包括:7. The cursor positioning method according to claim 1, wherein in the step that the handheld pointing device enters the lock point positioning mode, comprising:该手持式指向装置固定输出该光标参数,以使该光标固定于该显示装置。The hand-held pointing device outputs the cursor parameters fixedly, so that the cursor is fixed on the display device.8.如权利要求1所述的光标定位方法,其中在该手持式指向装置进入该锁点定位模式的该步骤中,包括:8. The cursor positioning method as claimed in claim 1, wherein in the step that the handheld pointing device enters the lock point positioning mode, comprising:该手持式指向装置不输出该光标参数,以使该光标固定于该显示装置。The handheld pointing device does not output the cursor parameters, so that the cursor is fixed on the display device.9.如权利要求1所述的光标定位方法,其中该手持式指向装置进入该锁点定位模式是在计算出该手持式指向装置移动产生的一指向坐标位移量小于一预设位移阈值。9. The cursor positioning method according to claim 1, wherein the hand-held pointing device enters the lock point positioning mode after calculating that a pointing coordinate displacement generated by the movement of the handheld pointing device is less than a preset displacement threshold.10.如权利要求1所述的光标定位方法,其中该手持式指向装置进入该锁点定位模式是在计算出该手持式指向装置移动产生的一指向坐标位移量小于一预设位移阈值且该手持式指向装置连续移动的方向不同。10. The cursor positioning method according to claim 1, wherein the hand-held pointing device enters the lock point positioning mode after calculating that a pointing coordinate displacement generated by the movement of the handheld pointing device is less than a preset displacement threshold and the The hand-held pointing device moves continuously in different directions.11.如权利要求1所述的光标定位方法,其中该手持式指向装置离开该锁点定位模式是于计算该手持式指向装置移动产生的一指向坐标位移量大于一预设位移阈值。11 . The cursor positioning method according to claim 1 , wherein the hand-held pointing device leaves the locking point positioning mode when a pointing coordinate displacement generated by the movement of the handheld pointing device is calculated to be greater than a preset displacement threshold.12.如权利要求1所述的光标定位方法,其中该手持式指向装置进入该锁点定位模式及离开该锁点定位模式是分别通过按压控制该手持式指向装置的一按键单元。12. The cursor positioning method according to claim 1, wherein the hand-held pointing device enters the lock point positioning mode and leaves the lock point positioning mode by pressing a button unit of the handheld pointing device respectively.13.如权利要求1所述的光标定位方法,其中在计算出该第一指向坐标之后,还包括:13. The cursor positioning method according to claim 1, wherein after calculating the first pointing coordinates, further comprising:判断该第一指向坐标是否超出该第一数字影像中的一操作范围外;judging whether the first pointing coordinate exceeds an operation range in the first digital image;其中该第一指向坐标包括一第一轴坐标及一第二轴坐标,该操作范围是以一预设显示比例对应于该显示装置,且该操作范围是界于一第一轴上限值及一第一轴下限值之间以及界于一第二轴上限值及一第二轴下限值之间的区域,该第一轴上限值对应于该显示装置的一第一显示侧边,该第一轴下限值对应于该显示装置的一第二显示侧边,该第二轴上限值对应于该显示装置的一第三显示侧边,该第二轴下限值对应于该显示装置的一第四显示侧边。Wherein the first pointing coordinate includes a first axis coordinate and a second axis coordinate, the operating range corresponds to the display device with a preset display ratio, and the operating range is bounded by a first axis upper limit value and A region between a first axis lower limit and a second axis upper limit and a second axis lower limit, the first axis upper limit corresponding to a first display side of the display device side, the lower limit value of the first axis corresponds to a second display side of the display device, the upper limit value of the second axis corresponds to a third display side of the display device, and the lower limit value of the second axis corresponds to on a fourth display side of the display device.14.如权利要求13所述的光标定位方法,其中于判断该第一指向坐标是否超出该操作范围外的该步骤中,包括:14. The cursor positioning method as claimed in claim 13, wherein in the step of judging whether the first pointing coordinate is beyond the operating range, comprising:当该第一轴坐标大于该第一轴上限值时,该手持式指向装置输出该光标参数使该光标于第一轴移动方向是固定于该第一显示侧边;When the coordinates of the first axis are greater than the upper limit of the first axis, the hand-held pointing device outputs the cursor parameters so that the cursor is fixed on the side of the first display in the moving direction of the first axis;当该第一轴坐标小于该第一轴下限值时,该手持式指向装置输出该光标参数使该光标于第一轴移动方向是固定于该第二显示侧边;When the coordinates of the first axis are smaller than the lower limit value of the first axis, the hand-held pointing device outputs the cursor parameters so that the cursor moves along the first axis and is fixed on the side of the second display;当该第二轴坐标大于该第二轴上限值时,该手持式指向装置输出该光标参数使该光标于第二轴移动方向是固定于该第三显示侧边;以及When the coordinate of the second axis is greater than the upper limit of the second axis, the hand-held pointing device outputs the cursor parameter so that the cursor moves along the second axis and is fixed on the side of the third display; and当该第二轴坐标小于该第二轴下限值时,该手持式指向装置输出该光标参数使该光标于第二轴移动方向是固定于该第四显示侧边。When the coordinate of the second axis is smaller than the lower limit of the second axis, the hand-held pointing device outputs the cursor parameter so that the cursor moves along the second axis and is fixed on the fourth display side.15.一种手持式指向装置的光标定位方法,其特征在于包括:15. A cursor positioning method for a hand-held pointing device, characterized in that it comprises:提取一参考点的一第一数字影像,以根据该参考点在该第一数字影像中的成像位置计算一第一指向坐标;extracting a first digital image of a reference point to calculate a first pointing coordinate according to the imaging position of the reference point in the first digital image;依据该第一指向坐标产生对应控制一光标位于一显示装置的一光标参数;generating a cursor parameter corresponding to controlling a cursor located on a display device according to the first pointing coordinate;当该手持式指向装置进入一锁点定位模式时,记录该第一指向坐标,并使该光标固定于该显示装置;When the hand-held pointing device enters a lock point positioning mode, record the first pointing coordinates, and fix the cursor on the display device;当该手持式指向装置离开该锁点定位模式时,使该手持式指向装置于后续移动时,基于该第一指向坐标作为起始点,并配合该手持式指向装置的移动产生的一指向坐标位移量进行该光标的定位计算;以及When the handheld pointing device leaves the locking point positioning mode, when the handheld pointing device moves subsequently, based on the first pointing coordinate as the starting point, and coordinates with a pointing coordinate displacement generated by the movement of the handheld pointing device calculate the position of the cursor; and根据计算结果相对应地产生控制该光标移动的该光标参数。The cursor parameter for controlling the cursor movement is correspondingly generated according to the calculation result.16.如权利要求15所述的光标定位方法,其中计算该光标定位的该步骤中,包括:16. The cursor positioning method as claimed in claim 15, wherein in the step of calculating the cursor positioning, comprising:该手持式指向装置在离开该锁点定位模式时,提取该参考点的一第二数字影像,并根据该参考点在该第二数字影像的成像位置及该第一指向坐标计算一移动向量;以及The handheld pointing device extracts a second digital image of the reference point when leaving the lock-point positioning mode, and calculates a movement vector based on the imaging position of the reference point in the second digital image and the first pointing coordinate; as well as启动一指向坐标校正程序,使该手持式指向装置以一相对定位模式计算光标定位,其中该相对定位模式是该手持式指向装置于后续移动时,基于该第一指向坐标作为起始点,并配合该移动向量与该手持式指向装置移动产生的该指向坐标位移量进行该光标的定位计算。Start a pointing coordinate correction program, so that the handheld pointing device calculates cursor positioning in a relative positioning mode, wherein the relative positioning mode is based on the first pointing coordinate as the starting point when the handheld pointing device moves subsequently, and cooperates with Positioning of the cursor is calculated with the movement vector and the pointing coordinate displacement generated by the movement of the handheld pointing device.17.如权利要求16所述的光标定位方法,其中该相对定位模式执行的步骤,包括:17. The cursor positioning method according to claim 16, wherein the steps performed in the relative positioning mode include:a)设定一校正次数为N、一补偿向量为C以及一起始点坐标,其中C为该移动向量除以N,该起始点坐标为该第一指向坐标;a) Setting a correction times as N, a compensation vector as C and a starting point coordinate, wherein C is the moving vector divided by N, and the starting point coordinate is the first pointing coordinate;b)计算该手持式指向装置移动产生的该指向坐标位移量;b) Calculating the displacement of the pointing coordinates generated by the movement of the handheld pointing device;c)计算该起始点坐标、该手持式指向装置的该指向坐标位移量与C的总和,以获取一相对指向坐标;c) calculating the starting point coordinates, the sum of the pointing coordinate displacement of the hand-held pointing device and C, to obtain a relative pointing coordinate;d)根据该相对指向坐标,产生并输出对应控制该光标位于该显示装置的该光标参数;d) generating and outputting the cursor parameters corresponding to controlling the cursor to be located on the display device according to the relative pointing coordinates;e)设定该起始点坐标为该相对指向坐标及执行N-1;e) Set the starting point coordinates as the relative pointing coordinates and execute N-1;f)判断N是否等于零;以及f) judging whether N is equal to zero; andg)若N不等于零时,则回到步骤b)。g) If N is not equal to zero, return to step b).18.如权利要求15所述的光标定位方法,其中在该手持式指向装置进入该锁点定位模式的该步骤中,包括:18. The cursor positioning method as claimed in claim 15, wherein in the step of entering the lock point positioning mode of the handheld pointing device, comprising:该手持式指向装置固定输出该光标参数,以使该光标固定于该显示装置。The hand-held pointing device outputs the cursor parameters fixedly, so that the cursor is fixed on the display device.19.如权利要求15所述的光标定位方法,其中在该手持式指向装置进入该锁点定位模式的该步骤中,包括:19. The cursor positioning method as claimed in claim 15, wherein in the step of entering the lock point positioning mode of the handheld pointing device, comprising:该手持式指向装置不输出该光标参数,以使该光标固定于该显示装置。The handheld pointing device does not output the cursor parameters, so that the cursor is fixed on the display device.20.一种手持式指向装置的光标定位方法,其特征在于包括:20. A cursor positioning method for a hand-held pointing device, characterized in that it comprises:在一第一时间产生一第一指向坐标,并依据该第一指向坐标对应将一光标的一显示位置固定在该第一指向坐标;generating a first pointing coordinate at a first time, and correspondingly fixing a display position of a cursor at the first pointing coordinate according to the first pointing coordinate;在一第二时间产生一第二指向坐标,其中该第二时间是在该第一时间之后;generating a second pointing coordinate at a second time, wherein the second time is after the first time;计算该第一指向坐标与该第二指向坐标之间的一第一移动向量;calculating a first movement vector between the first pointing coordinate and the second pointing coordinate;根据该第一移动向量产生一单位补偿向量;generating a unit compensation vector according to the first movement vector;在一第三时间产生一第三指向坐标,其中该第三时间是在该第二时间之后;generating a third pointing coordinate at a third time, wherein the third time is after the second time;计算该第三指向坐标与该第二指向坐标之间的一第二移动向量;以及calculating a second movement vector between the third pointing coordinate and the second pointing coordinate; and根据该第一指向坐标、该单位补偿向量与该第二移动向量计算该光标在该第三时间的该显示位置。The display position of the cursor at the third time is calculated according to the first pointing coordinate, the unit compensation vector and the second movement vector.21.如权利要求20所述的光标定位方法,还包括:21. The cursor positioning method as claimed in claim 20, further comprising:在一第四时间产生一第四指向坐标,其中该第四时间是在该第三时间之后;generating a fourth pointing coordinate at a fourth time, wherein the fourth time is after the third time;依据该第四指向坐标计算该光标在该第四时间的该显示位置;以及calculating the display position of the cursor at the fourth time according to the fourth pointing coordinate; and产生对应控制该光标在该第四时间的该显示位置的一光标参数。A cursor parameter corresponding to controlling the display position of the cursor at the fourth time is generated.22.如权利要求20所述的光标定位方法,其中根据该第一指向坐标、该单位补偿向量与该第二移动向量计算该光标在该第三时间的该显示位置的该步骤中,包括:22. The cursor positioning method according to claim 20, wherein the step of calculating the display position of the cursor at the third time according to the first pointing coordinate, the unit compensation vector and the second movement vector comprises:于该第三时间启动一指向坐标校正程序,使该手持式指向装置以一相对定位模式计算光标定位,其中该相对定位模式是该手持式指向装置于后续移动时,基于该第一指向坐标作为起始点,并配合该单位补偿向量与该第二移动向量进行该光标在该第三时间的定位计算。A pointing coordinate correction procedure is started at the third time, so that the handheld pointing device calculates cursor positioning in a relative positioning mode, wherein the relative positioning mode is based on the first pointing coordinate as The initial point, and cooperate with the unit compensation vector and the second moving vector to calculate the position of the cursor at the third time.23.如权利要求22所述的光标定位方法,其中该相对定位模式执行的步骤,包括:23. The cursor positioning method according to claim 22, wherein the steps performed in the relative positioning mode include:a)设定一校正次数为N、该单位补偿向量为C以及一起始点坐标,其中C为该第一移动向量除以N,且该起始点坐标为该第一指向坐标;a) Setting a correction times as N, the unit compensation vector as C and a starting point coordinate, wherein C is the first moving vector divided by N, and the starting point coordinate is the first pointing coordinate;b)根据该第三指向坐标计算该第二移动向量;b) calculating the second movement vector according to the third pointing coordinate;c)计算该起始点坐标、该第二移动向量与C的总和,以获取一相对指向坐标;c) calculating the sum of the starting point coordinates, the second moving vector and C to obtain a relative pointing coordinate;d)根据该相对指向坐标,产生并输出对应控制该光标在该第三时间的该显示位置的一光标参数;d) generating and outputting a cursor parameter corresponding to controlling the display position of the cursor at the third time according to the relative pointing coordinates;e)设定该起始点坐标为该相对指向坐标及执行N-1;e) Set the starting point coordinates as the relative pointing coordinates and execute N-1;f)判断N是否等于零;以及f) judging whether N is equal to zero; andg)若N不等于零时,则回到步骤b)。g) If N is not equal to zero, return to step b).24.如权利要求20所述的光标定位方法,其中在该第一时间将该光标的该显示位置固定在该第一指向坐标的该步骤中,包括:24. The cursor positioning method as claimed in claim 20, wherein in the step of fixing the display position of the cursor at the first pointing coordinate at the first time, comprising:使该手持式指向装置在固定输出对应控制该光标的该显示位置于该第一指向坐标的一光标参数,以使该光标在该第一时间固定于该第一指向坐标。The hand-held pointing device is configured to output a cursor parameter corresponding to controlling the display position of the cursor to be at the first pointing coordinate, so that the cursor is fixed at the first pointing coordinate at the first time.25.如权利要求20所述的光标定位方法,其中在该第一时间将该光标的该显示位置固定在该第一指向坐标的该步骤中,包括:25. The cursor positioning method as claimed in claim 20, wherein in the step of fixing the display position of the cursor at the first pointing coordinate at the first time, comprising:不输出对应控制该光标的该显示位置于该第一指向坐标的一光标参数,以使该光标在该第一时间固定于该第一指向坐标。A cursor parameter corresponding to controlling the display position of the cursor at the first pointing coordinate is not outputted, so that the cursor is fixed at the first pointing coordinate at the first time.26.如权利要求20所述的光标定位方法,其中在产生该第一指向坐标的该步骤之后,还包括:26. The cursor positioning method as claimed in claim 20, wherein after the step of generating the first pointing coordinates, further comprising:判断该第一指向坐标是否超出该第一数字影像中的一操作范围外;judging whether the first pointing coordinate exceeds an operation range in the first digital image;其中该第一指向坐标位包括一第一轴坐标及一第二轴坐标,该操作范围是以一预设显示比例对应于一显示装置,且该操作范围是界于一第一轴上限值及一第一轴下限值之间以及界于一第二轴上限值及一第二轴下限值之间的区域,该第一轴上限值对应于该显示装置的一第一显示侧边,该第一轴下限值对应于该显示装置的一第二显示侧边,该第二轴上限值对应于该显示装置的一第三显示侧边,该第二轴下限值对应于该显示装置的一第四显示侧边。Wherein the first pointing coordinate includes a first axis coordinate and a second axis coordinate, the operating range corresponds to a display device with a preset display ratio, and the operating range is bounded by a first axis upper limit and an area between a first axis lower limit value and a second axis upper limit value and a second axis lower limit value, the first axis upper limit value corresponding to a first display of the display device side, the lower limit of the first axis corresponds to a second display side of the display device, the upper limit of the second axis corresponds to a third display side of the display device, the lower limit of the second axis Corresponding to a fourth display side of the display device.27.如权利要求26所述的光标定位方法,其中在判断该第一指向坐标是否超出该操作范围外的该步骤中,包括:27. The cursor positioning method as claimed in claim 26, wherein in the step of judging whether the first pointing coordinate is beyond the operating range, comprising:当该第一轴坐标大于该第一轴上限值时,该手持式指向装置输出控制该光标的该显示位置的一光标参数使该光标于第一轴移动方向是固定于该第一显示侧边;When the coordinates of the first axis are greater than the upper limit of the first axis, the hand-held pointing device outputs a cursor parameter for controlling the display position of the cursor so that the moving direction of the cursor on the first axis is fixed on the first display side side;当该第一轴坐标小于该第一轴下限值时,该手持式指向装置输出该光标参数使该光标于第一轴移动方向是固定于该第二显示侧边;When the coordinates of the first axis are smaller than the lower limit value of the first axis, the hand-held pointing device outputs the cursor parameters so that the cursor moves along the first axis and is fixed on the side of the second display;当该第二轴坐标大于该第二轴上限值时,该手持式指向装置输出该光标参数使该光标于第二轴移动方向是固定于该第三显示侧边;以及When the coordinate of the second axis is greater than the upper limit of the second axis, the hand-held pointing device outputs the cursor parameter so that the cursor moves along the second axis and is fixed on the side of the third display; and当该第二轴坐标小于该第二轴下限值时,该手持式指向装置输出该光标参数使该光标于第二轴移动方向是固定于该第四显示侧边。When the coordinate of the second axis is smaller than the lower limit of the second axis, the hand-held pointing device outputs the cursor parameter so that the cursor moves along the second axis and is fixed on the fourth display side.28.一种手持式指向装置的光标定位方法,其特征在于包括:28. A cursor positioning method for a hand-held pointing device, characterized in that it comprises:在一第一时间产生一第一指向坐标以进入一锁点定位模式,并将一光标的一显示位置固定在该第一指向坐标;generating a first pointing coordinate at a first time to enter a lock point positioning mode, and fixing a display position of a cursor at the first pointing coordinate;在一第二时间产生一第二指向坐标,以离开该锁点定位模式,其中该第二时间是在该第一时间之后;generating a second pointing coordinate at a second time to leave the lock point positioning mode, wherein the second time is after the first time;计算该第一指向坐标与该第二指向坐标之间的一第一移动向量;calculating a first movement vector between the first pointing coordinate and the second pointing coordinate;根据该第一移动向量产生一单位补偿向量;以及generating a unit compensation vector according to the first motion vector; and在该第二时间之后的后续移动时,基于该第一指向坐标为起始点,根据该单位补偿向量并配合该手持式指向装置的移动产生的一指向坐标位移量进行该光标的定位计算。During the subsequent movement after the second time, based on the first pointing coordinate as the starting point, the positioning calculation of the cursor is performed according to the unit compensation vector and a pointing coordinate displacement generated by the movement of the handheld pointing device.29.如权利要求28所述的光标定位方法,其中在进行该光标该第二时间之后的定位计算的该步骤之后,包括:29. The cursor positioning method as claimed in claim 28, wherein after the step of performing the positioning calculation of the cursor after the second time, comprising:根据计算结果相对应地产生控制该光标的该显示位置的一光标参数。A cursor parameter for controlling the display position of the cursor is correspondingly generated according to the calculation result.30.如权利要求28所述的光标定位方法,其中在该第二时间之后进行该光标的定位计算的该步骤中,包括:30. The cursor positioning method as claimed in claim 28, wherein the step of performing the positioning calculation of the cursor after the second time includes:在一第三时间,启动一指向坐标校正程序,使该手持式指向装置以一相对定位模式计算光标定位,其中该相对定位模式是该手持式指向装置于该第二时间之后的后续移动时,基于该第一指向坐标作为起始点,并配合该单位补偿向量与该手持式指向装置的移动产生的该指向坐标位移量进行该光标在该第三时间的定位计算,其中该指向坐标位移量是指该手持式指向装置在连续时间所计算二个指向坐标的位移量。At a third time, start a pointing coordinate correction procedure, so that the handheld pointing device calculates cursor positioning in a relative positioning mode, wherein the relative positioning mode is when the handheld pointing device is subsequently moved after the second time, Based on the first pointing coordinate as the starting point, and in conjunction with the unit compensation vector and the pointing coordinate displacement generated by the movement of the handheld pointing device, the positioning calculation of the cursor at the third time is performed, wherein the pointing coordinate displacement is Refers to the displacement of two pointing coordinates calculated by the handheld pointing device in continuous time.31.如权利要求30所述的光标定位方法,其中该相对定位模式执行的步骤,包括:31. The cursor positioning method according to claim 30, wherein the steps performed in the relative positioning mode include:a)设定一校正次数为N、该单位补偿向量为C以及一起始点坐标,其中C为该第一移动向量除以N,该起始点坐标为该第一指向坐标;a) Set a number of corrections as N, the unit compensation vector as C and a starting point coordinate, wherein C is the first moving vector divided by N, and the starting point coordinate is the first pointing coordinate;b)计算该手持式指向装置的该指向坐标位移量;b) calculating the pointing coordinate displacement of the handheld pointing device;c)计算该起始点坐标、该手持式指向装置的该指向坐标位移量与C的总和,以获取一相对指向坐标;c) calculating the starting point coordinates, the sum of the pointing coordinate displacement of the hand-held pointing device and C, to obtain a relative pointing coordinate;d)根据该相对指向坐标,产生并输出对应控制该光标位于该显示装置的一光标参数;d) generating and outputting a cursor parameter corresponding to controlling the cursor to be located on the display device according to the relative pointing coordinates;e)设定该起始点坐标为该相对指向坐标及执行N-1;e) Set the starting point coordinates as the relative pointing coordinates and execute N-1;f)判断N是否等于零;以及f) judging whether N is equal to zero; andg)若N不等于零时,则回到步骤b)。g) If N is not equal to zero, return to step b).
CN201310309281.4A2013-07-222013-07-22Cursor positioning method of handheld pointing deviceActiveCN104331212B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201710954368.5ACN107728881B (en)2013-07-222013-07-22Cursor positioning method of handheld pointing device
CN201310309281.4ACN104331212B (en)2013-07-222013-07-22Cursor positioning method of handheld pointing device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310309281.4ACN104331212B (en)2013-07-222013-07-22Cursor positioning method of handheld pointing device

Related Child Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710954368.5ADivisionCN107728881B (en)2013-07-222013-07-22Cursor positioning method of handheld pointing device

Publications (2)

Publication NumberPublication Date
CN104331212Atrue CN104331212A (en)2015-02-04
CN104331212B CN104331212B (en)2017-11-10

Family

ID=52405949

Family Applications (2)

Application NumberTitlePriority DateFiling Date
CN201710954368.5AActiveCN107728881B (en)2013-07-222013-07-22Cursor positioning method of handheld pointing device
CN201310309281.4AActiveCN104331212B (en)2013-07-222013-07-22Cursor positioning method of handheld pointing device

Family Applications Before (1)

Application NumberTitlePriority DateFiling Date
CN201710954368.5AActiveCN107728881B (en)2013-07-222013-07-22Cursor positioning method of handheld pointing device

Country Status (1)

CountryLink
CN (2)CN107728881B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104768045A (en)*2015-03-262015-07-08百视通网络电视技术发展有限责任公司Cursor control method and system based on television application program
CN107463320A (en)*2017-08-252017-12-12上海联影医疗科技有限公司A kind of method and device of system compensation
CN110489027A (en)*2019-07-052019-11-22深圳市格上格创新科技有限公司Handheld input device and its display position control method and device for indicating icon
CN112333489A (en)*2020-08-202021-02-05深圳Tcl新技术有限公司Laser cursor monitoring method and device and storage medium
CN114760513A (en)*2022-04-222022-07-15海信电子科技(武汉)有限公司Display device and cursor positioning method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114191808A (en)*2020-09-022022-03-18申晕 Sight movement control method, device and storage medium for shooting games
CN112631495A (en)*2020-12-252021-04-09深圳Tcl新技术有限公司Interaction method based on laser induction, terminal equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080012824A1 (en)*2006-07-172008-01-17Anders Grunnet-JepsenFree-Space Multi-Dimensional Absolute Pointer Using a Projection Marker System
CN101128794A (en)*2005-01-122008-02-20辛克光学公司Handheld Vision-Based Absolute Pointing System
CN101452349A (en)*2007-11-302009-06-10原相科技股份有限公司Cursor control device and method on image display device and image system
CN101482782A (en)*2009-02-062009-07-15袁鸿军Cursor positioning system and method
CN201716689U (en)*2010-03-232011-01-19精元电脑股份有限公司 Computer input device capable of setting macros

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100585548C (en)*2008-01-212010-01-27杜炎淦Display screen cursor telecontrol indicator
CN201859402U (en)*2010-10-182011-06-08康佳集团股份有限公司Mouse device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101128794A (en)*2005-01-122008-02-20辛克光学公司Handheld Vision-Based Absolute Pointing System
US20080012824A1 (en)*2006-07-172008-01-17Anders Grunnet-JepsenFree-Space Multi-Dimensional Absolute Pointer Using a Projection Marker System
CN101452349A (en)*2007-11-302009-06-10原相科技股份有限公司Cursor control device and method on image display device and image system
CN101482782A (en)*2009-02-062009-07-15袁鸿军Cursor positioning system and method
CN201716689U (en)*2010-03-232011-01-19精元电脑股份有限公司 Computer input device capable of setting macros

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104768045A (en)*2015-03-262015-07-08百视通网络电视技术发展有限责任公司Cursor control method and system based on television application program
CN104768045B (en)*2015-03-262018-01-16百视通网络电视技术发展有限责任公司Cursor control method and cursor control system based on television applications
CN107463320A (en)*2017-08-252017-12-12上海联影医疗科技有限公司A kind of method and device of system compensation
CN110489027A (en)*2019-07-052019-11-22深圳市格上格创新科技有限公司Handheld input device and its display position control method and device for indicating icon
CN112333489A (en)*2020-08-202021-02-05深圳Tcl新技术有限公司Laser cursor monitoring method and device and storage medium
CN112333489B (en)*2020-08-202024-05-03深圳Tcl新技术有限公司Laser cursor monitoring method, device and storage medium
CN114760513A (en)*2022-04-222022-07-15海信电子科技(武汉)有限公司Display device and cursor positioning method

Also Published As

Publication numberPublication date
CN107728881A (en)2018-02-23
CN107728881B (en)2020-08-04
CN104331212B (en)2017-11-10

Similar Documents

PublicationPublication DateTitle
TWI489324B (en)Pointer positioning method of pointer device
CN104331212B (en)Cursor positioning method of handheld pointing device
US10761610B2 (en)Vehicle systems and methods for interaction detection
US9348418B2 (en)Gesture recognizing and controlling method and device thereof
KR102114377B1 (en)Method for previewing images captured by electronic device and the electronic device therefor
JP5802667B2 (en) Gesture input device and gesture input method
US8854433B1 (en)Method and system enabling natural user interface gestures with an electronic system
CN111417989B (en)Program, information processing method, information processing system, head-mounted display device, and information processing device
JP5258399B2 (en) Image projection apparatus and control method thereof
JP2015121979A (en)Wearable information input device, information input system and information input method
CN107754310B (en) Handheld device and positioning method thereof
US20120256831A1 (en)Cursor display device and cursor display method
JP6350175B2 (en) POSITION DETECTION DEVICE, PROJECTOR, AND POSITION DETECTION METHOD
KR101651535B1 (en)Head mounted display device and control method thereof
WO2018006481A1 (en)Motion-sensing operation method and device for mobile terminal
KR100843586B1 (en) Apparatus and method for performing contactless functions
JP6510134B1 (en) Estimation system and estimation apparatus
TWI607343B (en)Information technology device input systems and associated methods
TW201419051A (en)Remote control system and method for computer
TWI522848B (en)Pointer device and pointer positioning method thereof
CN103869941A (en)Electronic device with virtual touch service and virtual touch real-time correction method
KR102158096B1 (en)Method for extracting three dimensional distance information from recognition object and apparatus therefor
KR100749481B1 (en) Apparatus and method for performing contactless functions
JP2018124597A (en)User interface device and distance sensor
KR101400575B1 (en)Method and apparatus for space bezel interface using reflection mirror effect

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp