A method is described that involves detecting one or more images appearing on a pixilated sensor of respective one or more fixed markers. The pixilated sensor is within a handheld device. For each of the images, determining its location on the sensor with the handheld device's electronic circuitry. Translating the images' determined locations into a pointed to location on a display, or proximate to said display, wherein the handheld device transmits information derived from the determining.
|
1. A method, comprising:
detecting one or more images appearing on a pixelated sensor of respective one or more spatially fixed markers, said markers emitting non-visible radiation having a predetermined frequency band, said pixelated sensor within a handheld device, said handheld device containing a filter that passes radiation in the predetermined frequency band and substantially excludes other radiation, and an imaging element that produces the one or more images of the one or more spatially fixed markers on the pixelated sensor, the markers adapted for placing in fixed locations within view of the pixelated sensor;
generating image data for each of the one or more images;
wherein the handheld device includes a processor for processing the image data by performing the operations of:
determining an intensity value for each pixel of the pixelated sensor, the
intensity value attaining one of three or more quantized intensity values:
identifying pixels which have an intensity value above a specified threshold;
using only those pixels which have an intensity value above the specified threshold, generating coordinate data based on both the intensity value for each of the pixels and the location of each of the pixels on the pixelated sensor;
wherein the handheld device is capable of processing the image data and generating the coordinate data; and
transmitting information derived from said determining.
23. A handheld device comprising a machine and executable program code, said executable program code stored on a non volatile memory, said executable program code to be executed by said machine, said executable program code to perform a method, said method comprising:
detecting one or more images appearing on a pixelated sensor of respective one or more spatially fixed markers, said markers emitting non-visible radiation having a predetermined frequency band, said pixelated sensor within said handheld device, said handheld device containing a filter that passes radiation in the predetermined frequency band and substantially excludes other radiation, and an imaging element that produces the one or more images of the one or more spatially fixed markers on the pixelated sensor, the markers adapted for placing in fixed locations within view of the pixelated sensor;
generating image data for each of the one or more images:
wherein the handheld device includes a processor for processing the image data by performing the operations of:
determining an intensity value for each pixel of the pixelated sensor, the intensity value attaining one of three or more quantized intensity values;
identifying pixels which have an intensity value above a specified threshold:
using only those pixels which have an intensity value above the specified threshold, generating coordinate data based on both the intensity value for each of the pixels and the location of each of the pixels on the pixelated sensor;
wherein the handheld device is capable of processing the image data and generating the coordinate data; and
transmitting information derived from said determining.
42. A system comprising:
(i) an electrical appliance on which one or more spatially fixed markers is located, said markers emitting non-visible radiation within a predetermined frequency band, and whose arrangement uniquely identifies said appliance;
(ii) a handheld device comprising a filter that passes radiation in said predetermined frequency band and substantially excludes other radiation, a pixilated sensor that detects images of said markers, an imaging element that produces the one or more images of the one or more spatially fixed markers on the pixelated sensor, the markers adapted for placing in fixed locations within view of the pixelated sensor; and
a transmitter, said system further comprising one or both of the following:
a) in said handheld device, a first processor and executable code and/or state machine logic circuitry to perform the following operations:
determining an intensity value for each pixel of the pixelated sensor, the intensity value attaining one of three or more quantized intensity values;
identifying pixels which have an intensity value above a specified threshold:
using only those pixels which have an intensity value above the specified threshold, generating the coordinate data based on both the intensity value for each of the pixels and the location of each of the pixels on the pixelated sensor; and
b) in said electrical appliance, a second processor and executable code and/or state machine logic circuitry to determine coordinates of said marker images on said sensor, to translate said coordinates into data used to identify said appliance, to determine one or more commands to be sent to said appliance, to transmit said commands to said appliance, and to control said appliance according to said commands.
2. The method of
3. The method of
translating said images' determined coordinates into a pointed to location on a display, or proximate to said display.
4. The method of
5. The method of
determining a distance and/or viewing angle between said handheld device and said display;
calculating a scaling factor and/or offset from said distance and/or viewing angle;
scaling said images' determined coordinates relative to reference coordinates identified for said images with said scaling factor and/or offset.
6. The method of
determining said handheld device's orientation and/or changes to said orientation from said images'determined coordinates.
8. The method of
9. The method of
10. The method of
determining said handheld device's orientation;
calculating said scaling factor and/or offset from said distance and/or viewing angle and said orientation.
11. The method of
13. The method of
14. The method of
determining said handheld device's roll angle by detecting collective rotation in coordinates of said images of said markers.
15. The method of
16. The method of
(i) the handheld device is pointed sequentially at two or more known locations on the display; or
(ii) the handheld device is pointed at one known location on the display and each of said markers is located at a different horizontal and vertical location with respect to the display, or
(iii) each of said markers is located at a known and different horizontal and vertical location with respect to the screen.
17. The method of
18. The method of
using data taken from said sensor from within a region of pixels that surround one of said images, said data containing intensity value information on each of said pixels;
summing across said data in a first direction and in a second direction;
fitting a first curve to a first profile that results from said summing in said first direction;
fitting a second curve to a second profile that results from said summing in a second direction;
identifying as a first coordinate of said one image's coordinates a center of said first curve; and
identifying as a second coordinate of said image's coordinates a center of said second curve.
19. The method of
20. The method of
21. The method of
(i) located either above or below said display within several centimeters of the display boundary and approximately centered along the horizontal dimension, and
(ii) arranged horizontally and separated from each other by approximately 5 to 15 centimeters.
22. The method as in
actively controlling movement of a cursor displayed on a display using the transmitted information, the cursor comprising a graphical element usable for selecting one or more other graphical elements from within a graphical user interface generated on the display.
24. The handheld device of
25. The method of
using data taken from said sensor from within a region of pixels that surround one of said images, said data containing intensity value information on each of said pixels;
summing across said data in a first direction and in a second direction;
fitting a first curve to a first profile that results from said summing in said first direction;
fitting a second curve to a second profile that results from said summing in a second direction;
identifying as a first coordinate of said one image's coordinates a center of said first curve; and
identifying as a second coordinate of said image's coordinates a center of said second curve.
26. The handheld device of
27. The handheld device of
28. The handheld device of
translating said images' determined coordinates into a pointed to location on a display, or proximate to said display.
29. The handheld device of
calculating a scaling factor and/or offset with a distance and/or viewing angle between said handheld device and said display determined from said determined coordinates;
scaling said images' determined coordinates relative to reference ordinates identified for said images with said scaling factor and/or offset.
30. The handheld device of
determining said handheld device's viewing angle;
calculating said scaling factor and/or offset from said distance and said viewing angle.
31. The handheld device of
32. The handheld device of
33. The handheld device of
determining said handheld device's orientation and/or changes to said orientation from said images' determined coordinates.
34. The handheld device of
36. The handheld device of
37. The handheld device of
38. The handheld device of
41. The handheld device of
43. The system as in
|
The present invention is related to, and claims the benefit of U.S. Provisional Application No. 60/593,413, entitled, “Electronic Vision Based Remote Control System” filed on Jan. 12, 2005.
The field of the invention relates to the electronic system arts, and, more specifically to a handheld device for handheld vision based absolute pointing system.
Regardless of the packaging and location of the circuitry that provides a television signal, a remote control 201 is often used to make user selections on a television display 200. The opportunity to make selections is typically presented as some kind of software generated user interface that is superimposed over (or integrated with) a television signal. The user interface often includes bordered regions and/or icons (e.g., regions/icons 204, 205). Typically one of these regions/icons 204, 205 is “highlighted” if the user is deemed to have implicated the particular region/icon. In order to implicate a particular region/icon, the user presses one of a plurality of arrow buttons 202 that “point” in a direction where a next region/icon to be highlighted/implicated is located on the television display 200. The remote control 201 also typically includes a “select” button that, when pressed by the user, triggers some action (typically via transmission of infrared (IR) codes) by the television's circuitry or external box circuitry consistent with what the highlighted region/icon represents.
A method is described that involves detecting one or more images appearing on a pixilated sensor of respective one or more fixed markers. The pixilated sensor is within a handheld device. For each of the images, determining its location on the sensor with the handheld device's electronic circuitry. Translating the images' determined locations into a pointed to location on a display, or proximate to said display, wherein the handheld device transmits information derived from the determining.
The present invention is illustrated by way of example and not limitation in the Figures of the accompanying drawings, in which like references indicate similar elements and in which:
Presently, an “absolute pointing” handheld device system for use with electronic equipment is described. Absolute pointing from a handheld device may involve: 1) determining a location on, or proximate to, a display where a handheld device is being pointed; and, 2) rendering some kind of image (e.g., a cursor, icon, highlighted region, menu choice) at that location, and/or, triggering some kind of action from a user interface feature presented at that location. For example, in the case of simple cursor, the handheld is pointed at the display surface and the cursor is displayed at the location on the display where the handheld device is pointing. If the handheld device moves so as to a point to a new location on the display, the cursor is displayed at the new location.
Absolute pointing from a handheld device may also, or by itself, involve: 1) determining a location proximate to a display where the handheld device is being pointed (e.g., the location of specific electronic equipment placed proximate to the display); and, 2) rendering some kind of image (e.g., a cursor, icon, highlighted region, menu choice) on the display, and/or, triggering some kind of action from that location (e.g., causing the specific electronic equipment to render an image or take some specific action as a consequence of its being pointed to). Absolute pointing from a handheld device may also, or by itself, involve: 1) determining that a specific appliance (e.g., a lamp) or other type of electrical equipment is being pointed to; and, 2) triggering some kind of action at that appliance or other type of electrical equipment. For simplicity, the following discussion will largely, although not entirely, refer to the absolute pointing usage case initially described above wherein a handheld device is pointed at a display and causing some activity at or from that location on the display.
In the case of triggering some kind of action, the handheld device may point to a feature that is part of a user interface (e.g., an icon or menu choice) that is displayed on the display. Here, the feature is understood to mean that some kind of action will be taken by electronic equipment controlled through the user interface (e.g., the selection of a television signal, the opening of a file, the startup of a software routine, etc.). If a user holding the handheld device takes some kind of action (e.g., presses a button on the handheld device or “jerks” his/her wrist), a signal is sent from the handheld device that is ultimately interpreted to mean that the action suggested by the feature is desired by the user.
The top views 4a(ii), 4b(ii), 4c(ii) show their respective handheld device 401 and display 400′ orientation from a perspective that is above the display 400′ looking directly down to the top of the display 400′ and the handheld device 401. The side views 4a(iii), 4b(iii), 4c(iii) show their respective handheld device 401 and display 400′ orientation from a perspective that is off the display's “left” hand side looking directly at the display's side and the handheld device's side 401. Here, the term “left” is taken from the perspective of viewer standing in front of and facing the display 400′.
Note that these depictions indicate that the +y′ direction is a direction that moves vertically relative to a viewer of the display 400′ surface, the +x′ direction is a direction that moves horizontally to the right 400′ relative to a viewer of the display surface, and, the +z′ direction is a direction that moves directly away from the front of the display 400′ surface.
According to some basic possible operations, in response to the receipt of this information, the electronic circuitry causes a cursor (or other image) to be presented at the display location where the handheld device 501 is pointing and/or causes a user interface feature that is at the display location where the handheld device 501 is pointing to be highlighted in some fashion. Here, note that fixed markers 504′_1 and 504′_2, which are detectable by a sensor, are positioned proximate to the display 500′. As will be described immediately below with respect to
By capturing the positions of these fixed markers 504′_1 through 504′_2 with the handheld device's camera, and, through the automated execution of mathematical relationships (at the handheld device, with the aforementioned electronic circuitry, a combination of both, etc.) that relate the observed marker positions to the pointed to location on the display surface, a cursor can be made to appear at the pointed to display location, and/or, some kind of action can be triggered from a user interface feature presented at the pointed to display location. The fixed markers in
As discussed above, various arrangements of various numbers of markers may be used to enable absolute pointing. Essentially, if the handheld device “moves” along a certain axis, the positioning of the marker(s) will “move” from the perspective of the handheld device's sensor along the same axis. For example, if the handheld device moves along the x axis, the pixel location(s) of the marker(s) along the x axis of the handheld device's sensor will change. As such, the specific placement of the marker(s) can be varied from embodiment to embodiment. Moreover, increasing the number of markers enables the ability to more precisely calculate the handheld device's pointing position. Nevertheless, as described in more detail further below in Section 4.0, sufficient accuracy for at least some applications is conceivable where only a single marker is used.
The (x′,y′,z′) coordinate system described above with respective
Referring first to
Prior to operation, an initial calibration procedure is needed in order to determine values for variables that appear within mathematical relationship(s) that convert a detected marker position on the sensor 610 into the position on the display 600′ where the handheld device is pointing. There are several ways in which the calibration may be performed and any specific procedure may depend on the specific embodiment of the system being used. According to one calibration approach, the user points at one or more defined locations (generally, on or near the screen) and the handheld device records the marker image 604_1, 604_2 positions on the sensor array 610 (a more detailed description of specific calibration procedures is given in section 4.0 below). In embodiments involving fewer markers, the calibration procedure may involve pointing sequentially at visible markers (typically two) displayed temporarily on the screen (e.g., in opposite corners).
After calibration, changes in observed marker image 604_1, 604_2 position on the sensor 610 surface in response to changes in the handheld device's location and pointing direction can be defined in reference to their original calibration positions; which, in turn, can be related to a position on the display 600′ where the handheld device 601 is pointing.
The observed changes in the marker image positions of
Generally, the more markers used, the more precisely the pointed to display location can be determined, but, the more processing is required. Mathematical relationships suitable for implementing one, two, three and four marker systems are presented in section 4.0. Although the relationships provided in section 4.0 primarily present relationships for determining a handheld device's absolute pointing direction, location, and orientation on or proximate to a display location through analysis of detected marker image position, it is also theoretically possible to enhance the accuracy of these systems through analysis of marker image size and shape.
Again, the observed changes in the marker image positions of
As such, the handheld device 501 transmits 714 the coordinates of the pointed to location on the display to the wireless receiver 508. The overall process includes the handheld device 501: 1) capturing 711 marker image data with its camera; 2) identifying 712 the positions of the respective marker images on the camera's pixilated sensor; 3) determining 713 the handheld device's pointed to location on the display through calculations with mathematical relationships; and 4) sending 714 the pointed to location to a wireless receiver 508. Electronic circuitry responsible for controlling displayed content on the display 500 may then cause some effect to appear at the pointed to location 715 (e.g., a cursor, highlighting a menu feature, etc.).
In each of
Although detailed mathematical relationships are presented in more detail further below in section 4.0,
According to the depiction of
The scaling factor MX is essentially a ratio between the observed change in position of a marker on the sensor along the x axis, relative to a specific sensor position along the x axis, and the change in position of the pointed to location along the x′ axis on the display, relative to a specific position on the display along the x′ axis; where, the specific sensor and display positions are determined during calibration. As described in more detail below in section 4.0, the accuracy of the scaling factor can be made to improve if additional details concerning the handheld device are gleaned from the observed marker images. Specifically, the accuracy of the scaling factor can be enhanced if the position of the handheld device relative to the display (e.g., the distance L 820 between the center of the display 802 and the front of the handheld device) and/or the orientation of the handheld device relative to the display (e.g., the viewing angle θ of the handheld device 901) is determined.
According to various embodiments: 1) in calculating handheld device yaw or change in handheld device yaw, left or right movement of marker image positions is tracked; and, 2) in calculating handheld device position, the relative separation of marker image positions is tracked. Generally, the separation between all marker image positions scales inversely with distance from the display and the relative separations of different pairs of marker image positions depends on the handheld device angle with respect to the display surface.
Since the sensor axes rotate with respect to the screen axes during device roll, it is possible that the calculated cursor location will be affected by the act of rolling, thus causing an offset error in the proper cursor placement. However, if the rotation of the sensor array is properly accounted for in the algorithm used for determining cursor location on the display, then the roll of the handheld device has no impact on its pointing vector calculation. In addition, according to one implementation, the handheld device's roll can be used to trigger some kind of action taken by electronic equipment. For instance, a “twist of the wrist” of the user can be interpreted as a “button press” (e.g., the user points the handheld device to an icon or user interface menu item and then twists his/her wrist to “select” that icon or menu item).
If the user points the handheld device at the dial and twists his/her wrist, the dial may be displayed so as to rotate in conjunction with the user's wrist rotation(s). Thus as seen in
According to one approach, the markers themselves act as the source of the light that is detected by the handheld device's sensor (e.g., the markers are implemented as LEDs). In other implementations, the handheld device acts as the source of light that is detected by the handheld device's sensor. For example, according to one such approach, the handheld device contains an infrared (IR) “flashlight”, which shines IR light into the region of the display and each marker is implemented as a “passive” reflector. Additional image processing may be used to enhance the signal-to-noise ratio. For example, characteristics of the emitted light that are detectable to the handheld device could be subtracted from the reflected images to essentially improve the signal to noise ratio of the detected marker images. In a further embodiment, the flashlight is “strobed” such that a representation of the emitted light to be subtracted from each detected marker image is taken just prior to the detecting of a marker image. Also, an IR filter may be placed over the camera to aid in the rejection of unwanted light.
Other applications that may benefit from the use of reflective markers include the application of a single handheld device to multiple appliances through the use of, for instance, home and/or office automation circuitry. According to one approach, the reflective reference markers are located on or near the appliance to be controlled, and, for each device, the reflective markers are arranged in a predetermined spatial pattern. The handheld device can then recognize a particular appliance by recognizing its specific pattern. Here, note that one or more of the appliances may not even have a display. Better said, the appliances themselves and/or their remote use may be simplistic (e.g., having only a few states such as “on” and “off”) such that the simple act of pointing to the appliance and making one or a few button presses on the handheld device is sufficient to enable use of the device. Example of such appliances include lamps, radios and televisions.
Various formats can be used for the spatial marker patterns that identify a specific device/appliance. Examples include ones similar to those used in bar-codes (i.e., universal product codes), and simple on/off binary codes. The number of required markers per appliance will depend on the number of different appliances that need to be identified and/or the pattern format used. For most household applications it is likely that this number will be small (less than five). When the handheld device is pointed at an appliance (e.g., a lamp) and the appropriate button(s) on the handheld device is pressed (and/or an appropriate gesture is made with the device), the handheld device is programmed to send the appropriate command by wireless transmission (e.g., RF or IR) to the appliance, either directly or through a central command unit (e.g., electronic equipment 503 such as an X10) that actually sends the command to the pointed to appliance directly.
According to one approach the command is sent in a packet that includes the identity of the appliance being pointed to (i.e., the handheld device is programmed with the pattern recognition capability to identify each specific appliance). In an alternate approach the handheld device sends the image pattern and handheld device action (e.g., button press, rolling action, etc.) or command to another device (e.g., the aforementioned central command unit). The other device then: 1) recognizes the pointed to appliance; and 2) sends/forwards a command to the pointed to appliance. A variety of commands may be communicated to an appliance including simple power on/off and increase/decrease of different appliance properties (e.g., light intensity, oven temperature, sound volume, etc.).
In cases where the handheld device directly commands an appliance, or in cases where an intermediate unit (e.g., the aforementioned command unit) wirelessly commands an appliance, the appliance will need to be configured with some sort of command detection and functional effectuation circuitry that may be fairly regarded as home and/or office automation circuitry (e.g., a integrated circuit having a wireless receiver coupled to a processor/controller (with executable code) and/or logic state machine circuitry (no executable code) that is coupled to a switch or other functional effectuation circuitry (such as a “selection” or “setting” circuitry (e.g., channel setting/selection, temperature setting/selection, volume setting/selection, etc.)). Note also that the remote control of simplistic appliances through the use of the handheld device may be implemented separately from, or in combination with, the displaying of a pointed to location on a display.
Program code 1106 is executed on the processor/controller 1104 so that various functions can be performed (e.g., marker image position detection, mathematical calculations for relating detected marker image positions to a specific pointed to display location, mathematical calculations for relating detected marker image positions to the handheld device's roll position, wired or wireless communication reception and transmission protocols, etc.). Not shown in
A controller is understood to be a processor having a specially targeted instruction set. A processor is understood to be logic circuitry designed to execute program code 1106 instructions. Different forms of processors and controllers exist such as micro-processors, micro-controllers, embedded processors and embedded controllers. The processor or controller is also coupled to wireless transceiver circuitry 1107; which, in turn, is coupled to an antenna 1108 that sends/receives wireless signals. Conceivably, processor/controller 1104 could be replaced with dedicated logic circuitry designed to perform the applicable mathematical calculations and/or marker image position detection functions.
According to a process flow that is consistent with
Wireless transceiver circuitry includes both transmitting and receiving circuitry. In a simpler embodiment, circuitry 1107 is wireless transmitter circuitry (i.e., the handheld device is not designed to receive and process wireless signals other than the electromagnetic radiation that enters the camera's aperture). Various wireless solutions exist such as the wireless Universal Serial Bus (USB), Z-Wave, IR, IEEE 802.15.1 (BLUETOOTH), IEEE 802.15.4 (ZigBee), or IEEE 802.11 (WiFi) standards, as well as wired solutions such as the USB or RS-232 serial standards. In another possible implementation, the handheld device sends information to the electronic equipment through wiring rather than wirelessly. As such, the wireless transceiver 1107 and antenna 1108 are replaced with driver circuitry 1107 and wiring that is coupled to the applicable electrical equipment.
According to a process flow that is consistent with
According to a process flow that is consistent with
The combination of these two filters 1202, 1203 results in a narrow passband 1210 around 940 nm. Here, referring back to
Other optical approaches are possible, however. For instance, the handheld device 501 may be designed to include its own IR transmitter and the markers 504_1 through 504_4 may be implemented as mere mirrors (or, further, IR reflecting mirrors). The transfer function of the optical channel 1102 itself may be a specific passband (e.g., by including both a high pass filter and a low pass filter). Moreover, conceivably, with a pixilated sensor having a transfer function that corresponds to a high pass filter rather than a low pass filter, the transfer function of the optical channel 1102 may be made to correspond to a low pass filter.
Also, conceivably, the designed-for passband of the camera as a whole (i.e., both optical channel and pixilated sensor 1103) may be just a high pass filter or a low pass filter. In other embodiments, little or no optical filtering may be performed in hardware, rather, filtering (if any) is performed in software by the processor/controller 1104; or, with dedicated logic circuitry. The wavelength of the electromagnetic radiation that is used to form the marker images is a matter of design choice. Besides a spectrum that resides within the IR spectrum (approximately 800-950 nm), other possible wavelength ranges for the marker images may be used. In general, based on commercially available light sources and sensors, use of the visible to near IR (approximately 400-1000 nm) region of the spectrum is preferable. While silicon-based detector arrays (e.g., CMOS and CCD) are best suited for this wavelength range, other materials such as gallium arsenide and germanium may be used to extend further into the IR.
Note that, as described in more detail below with respect to
In the case where, ideally, only marker image radiation impinges upon the pixilated sensor, those pixels that are fully illuminated with radiation from a marker should produce a “high” output value toward 256, those pixels that are only partially illuminated with radiation from a marker should produce a “medium” output value around 128, and those pixels that receive no radiation from a marker should produce a “low” output value around 0. Of course, the stated values may drop the further the handheld device is positioned from the markers.
This counterintuitive result (i.e., that the resolution of detecting marker image position is improved if the marker image is not crisply focused) is due to the presence of more pixels (i.e., data) in the image. By properly processing this image data, it is possible to perform high resolution interpolation which can yield more accurate determination of the true center of the image. This permits better and smoother tracking as the user changes his/her pointing direction or orientation. The tradeoff for achieving this increased resolution is a weaker peak signal on the sensor. Therefore, there is a limit to the amount of marker image expansion that can be tolerated before the signal is too weak to detect. In practice, there is an optimum balance between marker image size and signal strength that depends on several system factors such as the marker image signal strength, the sensor sensitivity, the noise and background signals on the sensor, the marker spacing, and the maximum distance from the markers to the user (the marker images should not be broadened further once they start to impinge on each other on the sensor), etc.
Once the marker is identified, pixel data within a region 1402, 1520 around the found marker 1504′_1 is further processed to identify the “location” of the marker. The marker image 1302 of
As depicted in
Again, owing to the shape of the marker image, the distribution of these sum total intensity values across the horizontal expanse of the extracted data region 1504′_1 should approximate that of another “bell-curve” 1303. A curve fitting function 1404_1, 1404_2 is then applied to each of these distributions 1303, 1305 to define a fitted, continuous curve 1304, 1306 for each of them. The maximum value of the horizontal fitted curve 1304 is then taken as the x coordinate value 1307 (xo) of the position of the marker image 1405_1, and, the maximum value of the vertical fitted curve 1306 is then taken as the y coordinate value 1308 (yo) of the position of the marker image 1405_2. The process then repeats 1407 for the next marker until all markers have been found and their positions determined. In addition to simple peak detection, other methods for center determination may be used and may be beneficial, especially in cases where the beam profiles are not smooth or symmetric functions.
One such method essentially determines the width (e.g., full-width half-maximum—FWHM) of the fitted curves and takes the marker center to be the center position between the FWHM points. In this case, the center may not be the same as the peak location. Other variations on this approach may also be used. Using these marker center determination algorithms sub-pixel resolution appears to be possible. The achievable resolution is limited by the noise in the signal and the number of bits of sampling in the digital sensor. For example, a noiseless signal sampled with 8-bit digitization would permit less than 0.005 pixel spatial resolution. Signal averaging may increase this resolution even further. In practice, the existence of system noise and background signals results in reduced resolutions that typically range between 0.01 and 0.1 pixels.
A detailed discussion of various mathematical approaches for effecting absolute handheld device pointing and location tracking for 1, 2, 3 and 4 marker systems are presented below.
According to an approach for a 1-marker embodiment, a primary task is to relate the pointing direction of a sensor located in the hand-held device to the desired cursor location on the display. This is generally a two-dimensional problem involving horizontal and vertical coordinates for both the display (x′,y′) and the sensor (x,y). Since the axes are orthogonal, the relevant equations are separable and the formulas can be derived for each axis independently. Accordingly, calculations for the horizontal axes (x′ and x) are first presented. These are then extended to the vertical axes (y′ and y).
xCUR′−xREF′=Mx·[x0−xREF] (1)
where x0 is the coordinate origin of the sensor 1603 or coordinate that corresponds to the desired pointing direction (in a preferred embodiment x0 is near the center pixel on the sensor 1603, or, better said, the sensor's field of view 1604 is centered at the cursor xCUR′); xREF is the position on the sensor 1603 of the reference marker image (which moves as the sensor 1603 moves); xREF′ is the actual position of the reference marker with respect to the display 1600′; xCUR′ is the desired cursor position on the display 1600′ (which also moves as the sensor 1603 moves); Mx is the magnification scale factor or proportionality constant that determines the mapping between the sensor 1603 and the display 1600′ coordinates. M depends on several systems factors (e.g., sensor position with respect to the display, sensor field of view, display size, and orientation of the sensor with respect to the display), and, in general, x,x′ and y,y′ coordinates can have different values (magnitude and sign) for M (Mx and My).
Equation (1) indicates that the reference marker to display cursor distances 1605_1, 1605_2 and the reference marker image to sensor origin distances 1606_1, 1606_2, in their respective local coordinate systems, are linearly related (i.e., proportional), and the proportionality constant, or scale factor, is M.
In order to convert (1) into a practical algorithm for tracking and moving the display cursor, according to one implementation, several of the factors in (1) are determined using an initial calibration routine performed at a specific location with respect to the screen. In practice, the x and y positions will correspond to the pixel number on the sensor 1603 and the x′ and y′ positions will correspond to the pixel number on the display 1600′. Also note that the pixel numbers are relative to the total number of pixels in the respective coordinate systems, and thus x(y) and x′(y′) should be normalized accordingly.
The factors in (1) that are determined during calibration are Mx, x0, and xREF′ (where, xREF is the measured reference marker pixel number on the sensor 1603 and xCUR′ is the output of the algorithm—the pixel number of the display cursor). In general, x0 could be any particular pixel number corresponding to the origin on the sensor 1603, however, the approximate center is the most natural to use. For example, a sensor with an array size of 640×480 would have x0˜320 and y0˜240. However, for one implementation, these values do not need to be explicitly determined prior to calibration. In effect, x0 and y0 are automatically determined during calibration, as will be shown below.
Therefore, Mx and xREF′ are the two factors that are explicitly determined during calibration. One method for determining xREF′ could be to physically measure its x′ position and corresponding relative pixel number on the display 1600′. Note that it is not necessary for the reference marker to be physically located within the display 1600′ itself.
A simpler and more accurate method to determine both xREF′ and Mx simultaneously is to use two visible calibration reference points displayed at known positions on the display 1600′. Generally, the calibration reference points will have different x and y coordinates, e.g., located at opposite corners of the screen. By pointing the sensor 1603 sequentially at the two calibration reference points and recording, for each reference point, the corresponding marker image position on the sensor 1603 (such that a pair of reference marker image positions are recorded—one for the first calibration reference point and another for the second calibration reference point), both Mx and xREF′ can be determined for that user position. In this procedure, xCALA′ and xCALB′ represent the known calibration reference point positions, and xREFA and xREFB are the corresponding recorded sensor image positions of the reference marker. These quantities replace xCUR′ and xREF, respectively, in equation (1):
xCALA′−xREF′=Mx·[x0−xREFA] (2)
xCALB′−xREF′=Mx·[x0−xREFB] (3)
Subtracting these two equations results in the following expression for Mx:
where ΔxCAL′ is the separation (in pixels) of the calibration reference points on the display (xCALA′−xCALB′), and ΔxREF is the measured separation (in pixels) of the corresponding marker image positions on the sensor (xREFA−xREFB) Once Mx is determined from equation (4), then xREF′ can be determined from equations (2) or (3):
xREF′=xCALA′−Mx·[x0−xREFA]=xCALB′−Mx·[x0−xREFB] (5)
Alternatively, both equations (2) and (3) may be used to obtain xREF′ by summing them and dividing by 2:
Substituting equation (6) into equation (1) and rearranging terms yields a formula for the cursor position in terms of measured quantities:
with Mx determined from equation (4). The first term on the right hand side of equation (7) represents the average pixel position of the marker images on the sensor (½(XREFA+XREFB)), during calibration, relative to the actual pixel position of the reference marker image (XREF) for a given pointing direction, all scaled by Mx. It essentially determines the amount that the cursor on the display 1600′ should move as the reference image moves on the sensor 1603. The second term on the right hand side is the average pixel position of the calibration reference points on the screen and it represents any offsets that are applied to the cursor position in order to effect line-of-sight pointing.
Note that equation (7) is independent of x0 since it cancels when substituting (6) into (1). This is based on the assumption the x0 in equation (1) is the same as that in equations (2) and (3). This is generally true, though not necessarily the case. In other words, the effective x0 will be determined by the pointing direction during the calibration procedure. Any offsets (intentional or not) in the pointing during calibration will result in an equal offset in the cursor position during use.
As stated earlier, the above analysis focused on the horizontal dimension. An analogous derivation can be applied to the vertical dimension and equations (1)-(7) have equivalent counterparts in the vertical coordinate. Thus, the resulting cursor position in the y and y′ dimensions is determined by:
It is clear from equation (4) that M (both Mx and My) is a function of the user's position with respect to the display 1600′ during calibration (ΔxREF depends on the user's position). Therefore, if the user's position changes, then M should change accordingly. To a very good approximation and under most circumstances, M varies linearly as the user's distance from the display, L, changes from its initial value, L0
where M0 is the calibration scale factor that corresponds to L0.
According to this approach, referring to
where θ0 is the viewing angle (measured from the screen normal) corresponding to the initial calibration conditions, θ is the current viewing angle after the user has moved, and d is the distance (along x or y axes) between the calibration reference points 1810_1, 1810_2 on the display (measured in real units, e.g., cm or mm). Equation (10) is the exact expression for the effect of viewing angle and distance changes on the scale factor, M. However, under the majority of conditions, the last term in brackets is a small correction factor that can be dropped without introducing a substantial or noticeable error in M. Thus, an approximate and simplified expression for M may be used:
As can be seen in equation (10), the term in brackets is close to 1 and may be ignored under the following common conditions: when the viewing angle is relatively small, both during calibration (θ0) and during use (θ) or when d is small compared with L and L0. Under typical operating conditions, the user's viewing angle changes less than ˜250 and the distance from the screen is at least twice the calibration marker separation. In this case, the error introduced by using equation (11) is less than ˜1%, which is well below the user's ability to sense under normal circumstances. In extreme situations, where the user moves to the edge of the operational range of the system (typically θ˜45°) after calibration near θ0=0, and the user moves very close to the screen (d˜L), the error is ˜12%, which may be noticeable by some users.
In practice, this error may be reduced by calibrating closer to the position of operation (e.g., θ0 closer to 45°). In general, if extreme operating conditions are anticipated, very high pointing accuracy is desired, or occasional re-calibration is not possible or is undesirable, then the exact formula (equation (10)) can be used in order to minimize pointing errors. But, for most situations, equation (11) is adequate for determining the correct calibration scale factor. Also, recall that M has both x and y components that are used in equations (7) and (8). Therefore, the viewing angles that appear in equations (10) and (11) have both x and y components that determine Mx and My, respectively. Also note that equations (10) and (11) assume that the motion is in one plane only, or that θ has only x or y components. The general case of arbitrary motion involves more complex equations and is covered in later sections. The geometry for equations (10) and (11) in the x′ dimension shown in
As mentioned above, one approach to account for distance and viewing angle changes would be to repeat the calibration process when the user's position changes enough to produce noticeable errors in pointing accuracy. Without knowledge, either direct or indirect, of L, L0, θ, and θ0, re-calibration is the only option for compensating M as the user's position changes. Thus, in order to avoid the need for re-calibration, it is necessary to effectively measure L, L0, θ, and θ0 so that equation (10) or (11) may be used. Of course, a direct physical measurement of these factors would permit calibration correction; but, this approach is not especially feasible in practice. However, by adding one or more reference markers to the system, it is possible to incorporate both distance and viewing angle determination to the basic pointing capability. In addition to permitting automatic and dynamic calibration correction, the sensitivity to additional degrees of freedom enabled by multiple reference points, opens up new capabilities. The analysis of the 2-marker arrangement is the subject of the next section.
By adding a 2nd fixed marker to the system, the calibration correction issue described in (I) can be addressed. This can be done because marker image separation can be monitored while the user moves relative to the screen. The changes in marker image separation can be used to determine the correction factor in equation (10) or (11) without explicit knowledge of distance or viewing angle. M can then be modified in real time without the need for a re-calibration procedure. However, because changes in M depend on both L and θ, it is not possible, without additional information, to separate the effects of distance and viewing angle changes on M. Although only their combined effect can be sensed and accounted for, this is sufficient for calibration correction. The addition of a third marker, described in the next section, permits the independent detection of both distance and viewing angle.
Automatic calibration correction may be performed in the 2-marker embodiment in a manner similar to that described in section 4.1. In this case, since it is not necessary to separate the effects of distance and viewing angle changes, equations (10) and (11) are not necessary. All that matters for calibration correction is the change in the separation of the images of the markers, regardless of whether it results from distance or viewing angle changes. Therefore, only equation (4) is needed to modify M as the user moves. In this case, ΔxREF in equation (4) becomes the separation between the images of the two reference markers (instead of display calibration marker separation) on the sensor. As the user moves with respect to the screen, the scale factor, M, will automatically adjust as ΔxREF changes. The key difference between this dynamic calibration and the initial calibration described above is the fact that two markers used for calibration are sensed at all times during operation, and thus the user does not need to perform the calibration procedure described in 4.1 in order to update the scale factor, M, after having moved.
In one embodiment, the two reference markers are placed close enough to each other and the display such that they both remain within the field of view of the sensor under all operating conditions. On the other hand, they should be separated enough that they can be spatially resolved at the furthest operating distance from the display, or at the largest view angle. There are a variety of arrangements that could be used for the reference markers as discussed above with respect to
This arrangement is the most convenient in that it allows both markers to be placed in the same housing and wired together for powering from a single source. Although any side of the display can be used, it is usually most convenient to place the marker apparatus on top of the display and near the horizontal center. The exact location is not critical as long as the marker assembly does not move appreciably after calibration. Also note that if the two reference markers have the same x′ or y′ coordinate, then there is no additional spatial information about the orthogonal coordinate, and so dynamic calibration correction can only be performed along one axis in this case. However, for use as a remote control device, most of the user's movement will be along the horizontal (x′) axis, and therefore, two reference markers with the same x coordinate, which permits dynamic calibration of Mx, is sufficient for most applications.
Fundamentally, two reference markers provide additional spatial information about the position and orientation (i.e., degrees of freedom or DOFs) of the device. In addition to dynamic calibration, this information can be used for a variety of other functions that rely on measurement and tracking of the device's DOFs. The two additional DOFs that can be tracked using the 2-marker embodiment are device roll (i.e., rotation about the sensor's z axis, or the line between the device and the screen), and distance from the screen. As stated above, angle and distance sensitivity are actually coupled in the 2-marker arrangement, as illustrated in equations (10) and (11). However, in situations where the user's viewing angle does not change much during operation, the 2-marker arrangement can be effectively used to monitor distance changes using a variation of equations (9) and (4):
where, in this case, ΔrREF is the measured separation of the images of the two reference markers on the sensor and ΔrREF0 is the separation of the images of the two reference markers that correspond to a known distance, L0 between the sensor and the midpoint between the actual markers themselves. In general, the standard formula for the separation between the images of the markers on the sensor is Δr=√{square root over ((Δx)2+(Δy)2)}{square root over ((Δx)2+(Δy)2)}, where Δx is the difference in the x coordinates of the images of the two markers on the sensor and Δy is the difference in the y coordinates of the images of the two markers on the sensor.
A procedure for distance measurement using equation (12) is to record the separation between the marker images on the sensor, ΔrREF0, at a known distance between the sensor and the midpoint between the actual markers, L0, which could be measured. Thereafter, equation (12) is used to track L. Also, since ΔrREF0 and L0 are constants, they can be combined into a system constant that is empirically determined (e.g., initially) and inserted into equation (12). It is also possible to determine and track L without performing the initial measurement described above by using other known aspects of the system. For example, if the focal length of the imaging lens (or equivalently, the field of view and sensor size of the optical system) is known, as well as the actual reference marker spacing, ΔrREF′, then, in principle, the distance from the sensor to the screen (or the reference markers, placed near the screen) is determined by:
where f is the imaging lens focal length, ΔrREF is the reference marker image spacing on the sensor, XS is the sensor size in the x dimension, and tan θ1/2 is the tangent of the sensor system's half angle field of view (half of the field of view).
Either expression in equation (13) may be used to determine L, depending on which information about the system is known. For example, a typical arrangement might have a reference separation of 10 cm, a field of view of 50°, and a sensor with 640 total pixels in the x dimension. For a measured reference image separation of 40 pixels in the x dimension, equation (13) provides the distance to the screen of 1.71 m. As the user moves, ΔrREF will change accordingly and the user's distance is tracked.
Equations (12) and (13) are essentially equivalent and either may be used. However, equation (12) incorporates the system parameters into the directly measured quantities, L0 and ΔrREF0, and is a way of determining the proper scale factor without prior knowledge of the system. Also, equation (13) assumes that the user's viewing angle is 0°. Otherwise, equations similar to (10) and (11), which account for oblique viewing, can be used. Equation (12) essentially accounts for the user's viewing angle through the direct calibration measurement procedure (as long as the viewing angle does not change after calibration).
It is possible to measure and track viewing angle as well as distance using the 2-marker embodiment. The key is the existence of one or more properties of the reference markers that uniquely depend on viewing angle (preferably both magnitude and sign) and permit the separation of angle and distance. One such property is the relative signal strength of two markers that are oriented in different directions.
In this way, since the ratio does not depend on distance, the angle may be determined and separated from the distance measurement described above. A direct method for implementing this configuration would be to calibrate the system by measuring with the sensor and recording the signal strength from each marker for a variety of known viewing angles on each side of the normal axis of the screen. The signal ratios are then computed for each angle and a function or look-up table may be generated from the data. Alternatively, if the spatial distributions of the reference signals are known, then an analytical expression for the signal ratio versus viewing angle may be generated or estimated. For example, if the angular distribution of each reference source is Gaussian (a common form for optical sources), then the signal ratio of the two sources versus viewing angle, R(θ), is a simple exponential function whose decay rate depends on the width of each distribution, Δθ, as well as the angular separation between the sources, 2θ0, both of which may be measured or determined using a calibration procedure.
According to equation (14) above, A1 is the peak signal strength of first reference marker 1903 and A2 is the peak signal strength of a second reference marker 1904.
Equation (14) and
The viewing angle reduction is approximately equal to the angular separation between the pointing axes of the markers, and thus it is desirable to minimize this separation. However, as seen in equation (14), the angular sensitivity of R increases with angular separation, so there is an inherent tradeoff between viewing angle range and viewing angle resolution. Also note that the “angled-marker” configuration, as described above, will work in one dimension unless the markers are angled in both x and y directions, the effect of which further reduces the effective viewing angle. Finally, the method of using the marker signal ratio works well as long as any variations in the optical power (A1 and A2) of the two markers (e.g., LEDs) are correlated such that their ratio (A1/A2 in equation (14)) at any view angle remains constant over time (e.g., their powers both degrade by 10%).
However, if either marker's power or spatial distribution varies differently from the other's (due to unequal power degradation, for example), then an error in the viewing angle calibration is introduced, and a re-calibration should be performed. One possible solution to this potential problem would be to use a reflective (e.g., retro-reflector) marker design, where relative signal variations are much less likely. Therefore, while the angled-marker configuration permits, in principle, independent determination of both distance (from marker separation) and viewing angle (from signal ratio) in a 2-marker embodiment, the reduced viewing angle, added complexity, and potential errors introduced limit its usefulness in practice. The preferred methods for separately sensing and tracking distance and viewing angle use three or four markers. These embodiments are described in the next sections. The other DOF that can be measured using the 2-marker arrangement is “roll”, which is rotation about the device's z axis (the axis perpendicular to the plane of the sensor array). Tracking of this DOF indicates the magnitude and direction in which the user has rotated the device (by twisting the wrist, for example) while pointing it at the screen. The ability to measure and track the device roll introduces the possibility of new functions and controls that can be enabled by simple wrist actions. The general expression for roll angle, φ, as a function of the reference marker image coordinates of the two markers, is:
where Δxi=x2i−x1i and Δyi=y2i−y1i and i=0 corresponds to the coordinates associated with the φ=0 roll angle, and i=1 corresponds to the coordinates associated with the roll angle φ. The φ=0 roll angle will typically correspond to the normal operating conditions where the user is pointing at the screen with the handheld device upright and the wrist is in its neutral position. Other φ=0 roll angle orientations are possible, if desired, by re-calibrating the values of Δx0 and Δy0 for other orientations of the device.
Equation (15) is the general expression for arbitrary (x′, y′) coordinates of the reference markers with respect to the display. The sign convention for equation (15) is that clockwise rotation of the device (viewed from the back of the device while pointed at the screen) corresponds to positive roll angle.
and in the case of vertically placed reference markers Δx0=0, and equation (15) reduces to:
Therefore, the roll angle may be measured and tracked using the real-time measured reference marker image coordinates of the two markers on the sensor in conjunction with the appropriate equation (15)-(17). Note that, in general, both Δxi and Δyi may depend on the user's view angle (his/her location with respect to the screen), and thus the apparent φ may change with view angle even with no change in device roll. Therefore, when using equation (15), the values used for Δx0 and Δy0 must correspond to approximately the same viewing angle as those for Δx1 and Δy1. This can be accomplished by periodically re-calibrating to record new values for Δx0 and Δy0 for new user locations.
One consequence of the sensitivity to roll angle is that, as the device is rotated, its frame of reference also rotates with respect to that of the screen. This has the effect of producing an apparent rotation of the reference markers, which, depending on the device's pointing direction, can lead to an apparent translation in pointing direction. Therefore, if left uncorrected, device roll may lead to inadvertent cursor movement, even if the device's z axis (pointing direction) does not change. In addition, because of the rotation of the sensor's coordinate axes, any change in pointing direction that occurs with the device rotated will result in an error in the direction of cursor movement, the error being proportional to the roll angle. For example, if the device roll is 45 degrees and the user then changes the pointing direction in a horizontal manner, the cursor will move at 45 degrees with respect to the screen axes instead of horizontally.
In order to properly account and correct for the rotation of the sensor coordinate axes, the effect of the device roll should be removed in the tracking algorithm so that the cursor position and motion correctly correspond to the device's true pointing direction. The first step in the roll compensation procedure is to accurately sense the roll angle using equations (15)-(17), whichever is appropriate. In order to compensate for the roll and correctly maintain the cursor location, a new reference frame for the sensor is generated by rotating the original (x, y) coordinates by φ about the sensor origin (x0, y0). In most cases, the origin, which corresponds to the pointing direction, is the center pixel in the array. The general expression for coordinate transformation involving rotation about point (x0, y0) by an angle φ is:
xφ−x0=(x−x0)·cos φ+(y−y0)·sin φ
yφ−y0=−(x−x0)·sin φ+(y−y0)·cos φ (18)
where (x, y) are the original coordinates (prior to rotation) and (xφ, yφ) are the transformed coordinates (after rotation). Again, the sign convention used here is that a clockwise rotation of the sensor (while it is pointed at the screen) corresponds to a positive φ. Equations (18) determine the rotated coordinate system. In order to compensate for the rotation and maintain proper cursor location, equation (18) must be transformed back to the original coordinate system:
x−x0=(xφ−x0)·cos φ−(yφ−y0)·sin φ
y−y0=(xφ−x0)·sin φ+(yφ−y0)·cos φ (19)
Equation (19) transforms the measured reference marker image coordinates back to the coordinate system prior to rotation. Applying this transformation has two effects: it maintains the correct screen cursor location and it generates the proper tracking direction for the screen cursor as the rotated device's pointing direction changes. The transformed (x, y) coordinates for each marker image are then used in the cursor tracking algorithm (e.g., xREF and yREF in equation (7) and (8)). Note also that the scaling factors Mx and My used for cursor tracking may require modification according to the measured roll angle. In most cases, the magnification for the optical system is the same for x and y (spherical lenses are typically used). However, since Mx and My are defined in terms of pixel numbers, the pixel dimensions of the sensor should be accounted for in the transformation. In general, Mx transforms to
and My transforms to
in the cursor tracking algorithm, where px and py are the respective sensor pixel dimensions. The procedure of using equation (19) in conjunction with equation (15) permits accurate pointing and tracking with the 2-marker embodiment while the device is rotated at any roll angle.
Note that in the 2-marker embodiment, since there are two reference marker images on the sensor, the pointing and tracking algorithm using the equations discussed above in the one marker approach may be slightly modified to account for the 2nd marker. In principle, each of the equations (1)-(8) has two versions—one for each marker. However, since the markers are fixed with respect to each other, the two versions of each equation are simply spatially shifted with respect to each other and therefore contain redundant data for pointing and tracking. As a result, only one set of the equations can actually be used for pointing and tracking. Of course, the additional marker(s) in the multiple-marker embodiments are useable for the additional DOFs, such as view angle, distance, and roll, but basic pointing can be accomplished with only one marker.
Therefore, another method for pointing in multiple-marker embodiments uses an equivalent of the equations for the 1-marker arrangement. Several forms of these equations may be used—each with pros and cons. The simplest approach would be to use the equations corresponding to one of the markers (e.g., marker 1 in the 2-marker embodiment) for both calibration and tracking. A similar approach could be used for 3-marker and 4-marker arrangements. Alternatively, a reference image coordinate constructed from some or all of the actual reference images can be used. A simple example of this would be a “center of mass” coordinate or average coordinate of the two or more markers. Thus, for n markers, the effective reference coordinate would be:
where xREFi is the reference marker image coordinate on the sensor for the ith reference marker. A similar expression would apply to the y coordinate.
The effective reference coordinate is then used in the pointing and tracking algorithm described in above in section 4.1 for the one marker embodiment. Other weighted averages of the reference coordinates could also be used as the reference point for cursor tracking. Using an average coordinate as the reference in an n-marker embodiment has the potential benefit of producing a more accurate and stable reference point since any random fluctuations in the individual marker coordinates will tend to average out. Also, since there are situations where the identity of each marker is not clear, it may be best to take a mean position as the reference. For example, the device may be tilted or upside down in which case, the correspondence of the marker images to references 1 and 2 becomes ambiguous, which could lead to offsets in the screen cursor position. The tradeoff is slightly increased complexity in the tracking algorithm, though the increased computation required is fairly small in most cases.
In cases where the two reference markers are located at different x′ and y′ coordinates (e.g., positioned diagonally at opposite corners of the screen), it is possible to perform the initial calibration, in addition to the dynamic calibration adjustment described above, using the two reference markers instead of the visible display calibration points described in section 4.1. This alternative procedure for calibrating the device has the potential advantage that calibration may be faster and simpler (and in one version of this procedure, a separate calibration step can be avoided completely). However, in each of these alternative approaches, the cursor tracking equations require some modifications. The basic derivation described above in section 4.1 for pointing and tracking in a 1-marker arrangement still holds for the 2-marker arrangement with the exception that there are now two sets of equations, one corresponding to each reference marker. This additional reference information results in two different, yet equivalent, expressions for the cursor position in terms of the various measurable system parameters. Each has its benefits and disadvantages. The relevant results for each are shown below. The detailed derivations, which are similar to that for 1-marker, are not shown.
In one approach, a “single step” calibration procedure is used, where, the user points the hand-held device at a known position on the screen, (x0′, y0′). A single visible marker or icon, at which the user points, could be displayed on the display to aide in the calibration accuracy though this is not necessary, especially if an easily located position such as the screen center or corner is used. While the user is pointing at (x0′, y0′), the corresponding sensor coordinates of the two markers, (xREFA0, yREFA0) and (xREFB0, yREFB0), are recorded. The screen cursor location is then determined from the measured quantities:
Although a calibration step is performed, the measured quantities are easily measured and do not depend on knowledge of the physical locations of the reference markers. In essence, equation (21) determines the correct cursor location relative to a known reference “point” (e.g., the center of the display) by tracking the movement of the average reference marker position on the sensor relative to the average reference point position; which, in turn, corresponds to the known display reference point.
Another approach, in which a separate calibration step is not needed, uses actual known locations of the reference markers. An equation for the cursor position in this case is:
where (xREFA′, yREFA′) and (xREFB′, yREFB′) are the locations of the reference markers (measured in pixels in the screen coordinate system) and (x0, y0) is the sensor's origin corresponding to the optical axis of the hand held device. This is typically, but not necessarily, near the center pixel of the sensor. For example, if the optical axis is not parallel to the sensor normal axis, then the sensor origin could be offset from the center pixel. This could happen if the lens axis is not centered on the sensor. Using this approach, once the marker locations are known (and they remain fixed), no calibration procedure is needed. However, this method may be susceptible to errors if the reference markers are moved and the new locations are not accounted for in equation (22). Calibration-based methods would need only a simple recalibration if the reference markers move.
For each of the two cursor tracking approaches described above, the scale factor, M, is the same:
Equation (23) is the equivalent of equation (4) where the known separation of the two reference markers (ΔxREF′) is used in place of ΔxCAL′ and ΔxREF is the separation on the sensor of the images of the two reference markers. Note that ΔxREF=ΔxREF0 since the marker image separation does not depend (to a very good approximation) on the pointing direction. Similar arguments apply to the y coordinate. Note also the sign difference between equations (4) and (23). This is a consequence of the difference in the two calibration methods—pointing sequentially at the two calibration markers (equation (4)) versus a single step recording of the two reference markers (equation (23)). Each of the three methods described above (2-step, 1-step, and calibration-free) for calibration and cursor pointing and tracking has associated advantages and disadvantages and any can be used under the proper conditions in the 2-marker embodiment. The basic 2-step method described in section 4.1, however, is required when the two reference markers are aligned along the x′ or y′ axis.
Although there are 2-marker arrangements that, in principle, permit the detection of all six DOFs, they each have some limitations with respect to the practical implementation of detecting all six DOFs. By using 3- or 4-marker arrangements, sensing all six DOFs may be easier to implement. By adding a 3rd reference marker, additional spatial information is available that permits separation of distance and viewing angle. Pointing and rotation (roll) tracking can be obtained in a manner similar to the 2-marker embodiment. When the 3rd marker is added to a 2-marker arrangement and placed at the same z′ coordinate (e.g., a marker location near each of three corners of the screen), there is only minimal additional information beyond some 2-marker arrangements (e.g., markers near adjacent sides of the screen). In this case, the 3rd marker adds only incrementally valuable reference data for separating distance from viewing angle.
However, the ambiguity in viewing angle (left versus right or up versus down of the screen center) remains. By moving the 3rd marker out of the x′-y′ plane (the plane of the screen) to a different z′ coordinate, it then becomes possible to perform complete pointing and orientation tracking with no ambiguities. The markers should be within the field of view of the sensor (i.e., the user is pointing somewhere in the vicinity of the screen) and the user should be within the field of view of the markers (e.g., the user cannot be standing too far to the side or behind the screen). A typical marker field of view is (+/−) 30-45 degrees, which is consistent with a user's own practical screen viewing angle. This section will focus on the latter, “out-of-plane”, 3-marker arrangement. Other, “in-plane”, 3-marker arrangements follow by extension from the 2-marker analyses provided above in section 4.2.
An out-of-plane arrangement is shown in
where d is the actual marker separation between the two outer markers (1 and 3) along the x′ dimension, D is the offset of the middle marker (2) with respect to markers 2101_1 and 2101_3 in the z′ dimension, and δrij=√{square root over ((xi−xj)2+(yi−yj)2)}{square root over ((xi−xj)2+(yi−yj)2)} is the separation on the sensor 2103 between marker images i and j. The second term in brackets represents a potential constant offset in the case of an asymmetric arrangement of markers in which the center marker (2) is not placed equidistant to each of the outer markers (1 and 3). In this case, the offset term is determined by performing the measurement of the marker separations while positioned directly in front of the display 2100′ (θx=0). Alternatively, the offset can be accounted for by adding or subtracting a constant “offset angle” from the measurement. The offset angle, θx0, can be simply determined from the geometry of the asymmetric arrangement:
where δr0′ is the offset of the center marker from the midpoint of the outer markers. Using equation (25), the offset angle is added or subtracted from the measurement depending on which direction the offset occurs. For the geometry shown in
In the arrangement of
Using the arrangement of
In cases where higher resolution is desired by increasing D, a solution that avoids the compromise in resolution is to move one or more of the markers out of the x′-z′ plane in order to prevent the eclipse and ambiguity at all view angles. The simplest arrangement for this approach has the center marker 2101_2 at a different height from the outer markers (i.e., offset above or below the line connecting markers 2101_1 and 2101_3). For this arrangement, the eclipse described above is avoided and there is no ambiguity in the identity of the marker images—marker image 2 will always lie above, for example, marker images 1 and 3. D can then be made as large as is desired or practical in order to improve resolution. It is important to note that δrij can be positive or negative, depending on the relative positions of the marker images. Specifically, if x2 is between x1 and x3, then all δrij in equation (24) are positive. However, if x2<x1, then δr21<0 and if x2>x3, then δr32<0. In the typical case where the markers are arranged along the x′ (markers horizontal) and x (no device roll) axes, then there is no y component to δrij and the sign ambiguity of the square root in δrij is absent. In the general case of a y′ offset for marker 2101_2, the expressions for the coordinates of marker image 2 (x2,y2) that go into the equation for the view angle, θx, should be modified to account for the offset. The new coordinates for marker image 2 are the coordinates of the point of intersection between two lines—one that connects marker images 1 and 3 and one that passes through marker image 2 and is orthogonal to the first line. In essence, these are the coordinates of marker image 2 in the absence of the offset. Specifically, the value of the coordinate (x2,y2) in equation (24) is replaced by (x20, y20), where
and
is the slope of the line connecting marker images 1 and 3 and is related to the roll angle, φ (see equation (16)). In the typical situation where the hand held device is not rotated during the view angle measurement, m=0, and (x20, y20) reduces to
the expected result for the coordinates of marker image 2 with no offset.
The main purpose for the offset arrangement is to permit high resolution for arbitrary view angles where the marker 2 image moves outside marker images 1 or 3. This situation presents a potential ambiguity in the marker identification when the device is rolled since the y coordinate of marker image 2 may be larger or smaller than that of marker images 1 and 3 and it is the y coordinate of marker image 2 that is used to distinguish it from the other marker images. This situation is unlikely to arise under normal use since it occurs only for simultaneously large view angles (when marker is outside marker images 1 or 3) and large roll angles. The specific values of view and roll angle where this situation could arise depend on the details of the arrangement. One solution to this potential problem is to use some property of the marker image other than its y position to distinguish it from the others. For example, marker 2101_2 could be modulated (powered on and off repeatedly) or set to a different constant power level from markers 2101_1 and 2101_3. In this way, the identity of marker image 2 is determined for any view or roll angle.
An alternative to the use of equation (26) for determining (x20, y20) in the case of a rotated sensor is to determine the rotation or roll angle of the device as described in the 2-marker arrangement. This could be done using marker images 1 and 3 to obtain φ (related to the slope, m) and then perform the coordinate transformation described in equations (18) and (19). In this way, the simpler (m=0) expression for (x20, y20) can be used for determining θx.
Viewing angle in the y′ dimension is also tracked using the “out-of-plane” arrangement. The geometry is illustrated in
where δy is the displacement in the y coordinate of the center marker image (2) from its y coordinate at direct view (θy=0). In general, the displacement may have both x and y coordinates so that δy=√{square root over ((x2−x20)2+(y2−y20)2)}{square root over ((x2−x20)2+(y2−y20)2)}, where (x2, y2) are the sensor coordinates of the center marker image 2 and (x20, y20) are the marker image 2 coordinates corresponding to the intersection of the line connecting the outer points (1 and 3) with the normal to this line that passes through marker image 2 (see equation (26)).
Under normal conditions, where the markers are oriented along both the x and x′ axes, the expression for displacement simplifies to
In cases where the sensor is rotated or the markers are not placed horizontally, then the more general expression for the displacement is used in conjunction with equation (26). The sign convention is that positive view angle corresponds to the user moving vertically with respect to direct view. In the case where the center marker 2101_2 is at a different height (y′) from the outer markers 2101_1, 2101_3, an angular offset to account for the y′ offset can be added to equation (27). This angular offset, θy0, is easily determined from the geometry:
where δy0′ is the actual offset in y′ of the center marker 2101_2 with respect to the y′ coordinates of the outer markers 2101_2, 2101_3. Once the value of θy is determined from equation (27), the offset angle is added or subtracted to the measurement depending on the direction of the marker offset. Using the convention described for equation (27), the offset angle must be added in the case where the center marker 2101_2 is above the outer markers 2101_1, 2101_3 and subtracted in the case where the center marker 2101_2 is below the outer markers.
The angular resolution turns out to be the same for the vertical (θy) axis as for the horizontal axis described above, under the same conditions. Note also that, for θy, there is no eclipse or ambiguity of the markers and thus no fundamental limit on how large D can be. Therefore, extremely high resolution could be obtained for θy by increasing D. In practice, however, physical constraints will typically place an upper limit on D.
Note also that by rotating the entire geometry in
As noted above, the foregoing equations and discussion pertain to the situation where the user is in the θx=0 or θy=0 plane (
where Rij=δrij/δrij0 are the marker image separations normalized to their calibration values, L0 is a known distance from the screen where the calibration is performed, and α is a geometrical constant determined from arrangement of the markers:
The angle, α, is essentially the angle subtended by the lines connecting markers 1 and 3 and 1 (or 3) and 2, as viewed from the top of the marker arrangement. In addition to the far field condition, three additional assumptions are used in equations (29)-(30). These equations assume that the markers are arranged symmetrically (marker 2 midway between markers 1 and 3 along the x′ axis) and that marker 2 is in line with markers 1 and 3 (as viewed from the front) as shown in
Equations (29) constitute a set of three independent equations and three unknowns that can be solved for L, θx, and θy. The solutions are:
and κ=2 sin α cos α. As can be seen from these equations, θx is determined from directly measured quantities and system constants. Once θx is determined from equation (31), equation (32) is used to determine θy, and then equation (33) is used to determine L. The set of equations (31)-(34) determine the location of the user for any arbitrary point provided that the markers are detectable by the sensor. However, several special cases exist and are addressed below.
Because of the repeating nature of the tangent function in equation (31), there is the possibility of an ambiguity in both the magnitude and sign of θx for |θx|>45°. These ambiguities are resolved by comparing the result from equation (31) with sign of Δ. The correct sign of θx is determined directly from the sign of Δ. Therefore, if the sign of the θx calculated from equation (31) differs from that of Δ, then 90° must be added or subtracted from the calculated value of θx in order to determine the correct θx. For example, if the value of θx calculated from equation (31) is −40° but Δ>0 (indicating that θx>0), then 90° is added to the calculated value resulting in a corrected θx of 50°. This situation may be rare in practice since it occurs only for large view angles; however, it is a simple matter to include this step in the algorithm for determining θx. Also, the sign of θy is not directly determined from equation (32). In this case, the relative position of marker #2 is used to determine the sign of θy. In a manner similar to that used in equation (27), the sign of δy can be used to determine the sign of θy once its magnitude is calculated from equation (32).
In the special case of θy=0, it can be shown (using trigonometric and algebraic identities) that equation (31) reduces to an expression identical to equation (24) (without the offset terms). Similarly, in the case of θx=0, equations (31) and (32) reduce to:
which also can be shown to be equivalent to equation (27). Finally, in the special case of θx=+/−90°, where the user is essentially in the plane of the screen (z′=0), equation (32) breaks down and cannot be used. In practice, this situation will virtually never occur since it is beyond the view of the screen and the markers. However, in the unlikely event that location information is needed while the user is in or near the plane of the screen (and the markers are detectable), then a separate expression for θy can be easily derived from the basic equations (29)-(30).
The 3-marker out-of-plane arrangement, as described here, is capable of determining all of the relevant DOFs for the device—pointing location on the screen, distance from the screen, roll angle, and view angle with respect to the screen. The combination of these parameters defines completely the hand held device's location and orientation. The general procedure for determining these parameters is essentially an integration of those described in the previous sections. The pointing direction of the device (specifically, the intersection of the device's pointing vector and the screen) is determined using the procedure described in section 4.1. As noted earlier, in the case of multiple markers, any one of them can be used as the display cursor reference. However, in the 3-marker arrangement, since marker 2101_2 is typically located in the center and centered on the display, it would be natural to use it as the cursor reference point. Alternatively, the center, or mean, position of the three reference markers could be used (similar to the 2-marker arrangement). Note that there is a slight offset in the reference position as the user's view angle changes due to the out-of-plane geometry, but this offset is typically quite small and unlikely to be noticed in a typical pointing application. If necessary, a small view angle-dependent correction factor could be used to reduce any offset in the pointing. The view angle is then determined using the procedures described in this section.
The determination of roll angle is done following the procedure described in section 4.2 for the 2-marker arrangement. Typically, markers 2101_1 and 2101_3 are used as the two reference markers for determining φ though any pair of markers could be used provided their locations are known and fixed. As discussed in section 4.2, the apparent roll angle can depend on the view angle in the case where the markers are not aligned along the x′ or x axes. As described in section 4.2, this situation can be avoided by a re-calibration of the hand held device under φ=0 conditions once the view angle has changed. It is also possible to automatically calibrate or remove the view angle effect from roll by recalling that Δx0 and Δy0 in equation (15) have known dependences on θx and θy. Therefore, since θx and θy can be measured independently of roll angle (since only the magnitude of the marker separations are used and not their orientations), their effects can be removed from the roll measurement. Since the roll angle depends on the x and y coordinates of the marker images and not just their separations, the effect of the view angles on x and y must be determined. This can be done using equation (29) which assumes that Δy0=0 (marker images aligned horizontally, along x axis, under calibration conditions of θx=θy=φ=0). Specifically, under the typical far field condition, the measured Δx0 varies as cos(θ) and Δy0 varies as sin(θx)sin(θy). Thus, the values of Δx0 and Δy0 that appear in the roll equations would be modified by replacing them with Δx0 cos(θx) and Δx0 sin(θx)sin(θy), respectively, to account for the view angle. In cases where the far field approximation is not valid or higher accuracy is desired, a more exact expression similar to equation (10) would be needed. Note also that it is possible to determine roll simultaneously with the view angle using the formulation in equation (26) since m in that equation is related to the roll angle and is essentially equivalent to equation (16). However, this applies to the case of horizontally aligned markers only; for arbitrarily aligned markers, the expression for m would have to be modified accordingly (see equation (15)).
Since the distance measurement depends sensitively on view angle (but the view angle measurement, if properly done, does not depend on distance), distance should be determined after the view angle has been measured. Also, since the roll angle measurement may depend on view angle, view angle should be determined prior to roll angle. However, since distance and roll angle are essentially independent of each other, they may be determined in either order. marker Distance may be determined using the same expressions used in the 2-marker arrangement (equations (12) and (13)) for direct view or equation (33) for the general case. markerAgain, any pair of markers may be used, but the preferred method would typically use markers 2101_1 and 2101_3 to determine distance, L.
As described in section 4.3, the 3-marker embodiment has the capability of detecting all of the relevant DOFs and thus it should be sufficient for most, if not all, applications that require both device pointing and location tracking. However, there may be situations in which the preferred (out-of-plane) arrangement of the 3-marker embodiment is not possible, not practical, or undesirable. For example, the main drawback to the preferred 3-marker geometry is that one of the markers must be set back or forward with respect to the other two, and the resolution of the view angle measurement is enhanced by increasing this offset. This can result in an arrangement where one of the markers is offset by an inconveniently large distance that may not be possible due to space constraints.
The possibility of the eclipsing effect at large view angles, described in section 4.3, may also be a disadvantage. While vertically displacing the eclipsing marker can address this issue, it does add somewhat to the complexity and requires slightly more space for the marker assembly. Also, in a typical arrangement where the markers are placed on top (or perhaps below) a display screen and set back slightly from the screen plane, one of the vertical view angles may be partially or completely obscured for large enough angles. A solution to this potential problem would be to extend the markers beyond the plane of the screen, but this could be inconvenient or impractical. Therefore, while none of these potential drawbacks is significant in many situations, and the preferred 3-marker embodiment works well in most cases, there are possible situations where an “in-plane” geometry may be necessary or desirable. In these cases, certain 4-marker arrangements can provide the required DOF sensitivity using a simple geometry that avoids some, or all, of the drawbacks of the 3-marker embodiment. Finally, the 4-marker embodiment may have some additional advantages in some situations.
Since the 1-marker, 2-marker, and 3-marker embodiments described above are capable of tracking pointing, roll angle, and, in many cases, screen distance, the main focus for the 4-marker embodiment discussion will be on the measurement of the magnitude and sign of the view angle. However, since the measured marker image coordinates are functions of both distance and view angle, both will be determined from the analysis. The other DOFs are generally straightforward variations on the approaches described previously. Though there are a variety of possible 4-marker geometries (see
The main benefit of the 4-marker arrangement is that it permits separation of the distance and view angle measurements in both x and y as well as determination of the angle sign (e.g., left or right of the screen). Recall that these variables are inherently coupled and cannot be separated based on marker image coordinates alone in the basic 2-marker embodiment described in section 4.2. As in the other embodiments, the basic measurement involves determination of the four marker image coordinates and, from those, their separations. The various image separations are used to calculate the distance and view angle. For the 4-marker arrangement, there are two fundamental modes or regimes of operation. One is referred to here as the “far field” and the other as the “near field”. The solutions for the two regimes are complementary and rely on different measurements of the image separations. The far field is defined as the region where the user's distance to each of the markers is approximately the same and may be considered equal. This occurs when either the marker separation is much smaller than the user's distance to the screen (i.e., markers) or when the user is located at a small view angle (i.e., near screen center). Mathematically, the far field can be defined as when the following condition holds:
Note that this condition is related to the last term in brackets in equation (10) and the conditions under which it can be ignored, leading to equation (11), correspond to the far field. How small equation (36) must be depends on the error in distance or angle one is willing to tolerate. If we assume that up to a 1% error in either distance or angle is acceptable, then a specific far field condition can be estimated. In order to estimate a “worst case” for the far field, we assume a large view angle of +/−45 degrees. In this case, a user may be as close as L˜3.5d from the screen and maintain less than 1% error in the view angle measurement.
Under most circumstances, the view angle is smaller and the far field condition is satisfied at even smaller distances. For example, for a typical view angle of +/−12 degrees, the far field, as defined above, begins at L˜d, meaning that the user can be as close as the marker separation to the screen and still be in the far field. And since in the preferred 4-marker embodiment, the marker separation, d, is close to a screen dimension, the user could be about one screen width away and remain in the far field. As discussed in section 4.1, the significance of the far field is that it permits useful approximations in the calculation of the distance and view angles. These far field approximations greatly simplify the analysis and permit closed-form solutions for the DOFs. In addition, since the far field distance is proportional to the marker separation, and d is typically much smaller for the 2- and 3-marker embodiments, these embodiments will almost always satisfy the far field condition under normal operation. The analyses used in the previous sections thus all assumed a far field condition.
In contrast, the near field regime exists in regions where the far field condition in equation (36) is invalid, or equivalently, when the distance from the user to each of the markers cannot be assumed to be equal. In this regime, the error in the far field solution may exceed acceptable limits and the near field solution, which relies on the variation in distance to each of the markers, may be used. As the user moves further from the markers, the near field solution becomes less sensitive and the far field solution can be used. In most situations, the far field solution will be adequate for determining the distance and view angle. However, inherent in the far field solution is insensitivity to the view angle sign. While the near field solution (which is essentially exact within some assumptions) is fairly insensitive to view angle changes, it is sensitive to the sign of the angle. In many cases, therefore, the more sensitive far field solution is used to determine the magnitude of the view angle and the near field solution is used to determine the sign, or direction, of the angle.
The basic geometry of the 4-marker embodiment is shown in
where α is a geometrical constant determined by the angle formed by the horizontal line connecting markers 1 and 2 and the diagonal line between markers 1 and 4 (see
where dx and dy are the actual marker separations in the x′ and y′ directions, respectively. With markers placed in the screen corners, typical marker arrangements are square (α=45°), 4:3 aspect ratio (α=36.9°), and 16:9 aspect ratio (α=29.4°). Note that the formulas for the two opposite sides are the same in equations (37) and that the values of L, θx, and θy are the same in each expression. This is due to the assumption that the arrangement is rectangular and that the distances and angles are essentially the same with respect to all markers (i.e., the far field approximation). In general, even in the far field, the distances to each side are different (unless the user is exactly at screen center), and since L is taken to be in the center of the screen/markers, the accuracy of the measurement can be improved if all sides are used in the calculations. Therefore, a combination of opposite sides is used instead of just one side. The simplest combination is an average of the two sides. Thus,
can replace the first two expressions, respectively, in equation (37). Other, more sophisticated combinations may be used if higher accuracy is needed, but simple averages provide very good approximations in most cases. The two diagonal equations may be combined into a single expression:
where k=4 sin α cos α is a system constant. Equation (39) in conjunction with the formulas for adjacent sides (R21 and R31) in equations (37) form a set of three equations and three unknowns that can now be solved for L, θx and θy. The resulting formulas are:
The measured quantities, Rx, Ry, and Δ are used in equation (40) to determine L, which is then used to determine θx and θy using equations (41) and (42), respectively. L0 corresponds to a known distance from the markers/screen center where the calibration marker coordinates are determined, stored as reference coordinates, and subsequently used for location and pointing calculations. Equations (37)-(42) also assume that the calibration is performed at θx=θy=0 (directly in front of the screen). Although Δ can be positive or negative, indicating view angle sign (equation (39)), only Δ2 appears in equations (41) and (42) and so the view angle sign is not resolved. This is consistent with the far field condition—in the far field the marker arrangement looks approximately the same from either side of the screen center.
In order to determine the sign of the angles (left or right, up or down), the difference between opposite sides must be detected. When the user is in the far field, this difference is small by definition. However, if only the sign of the view angle is required from this aspect, then the near field effect can be used to differentiate one side from the other. Thus, when the user is in the far field, equations (40)-(42) are used to determine distance and the magnitudes of the view angles, and the following conditions can be used to determine the signs of the view angles: θx>0 for R42−R31>0, θx<0 for R42−R31<0 and θy>0 for R21−R42>0, θy<0 for R21−R42<0. Note, however, that these inequalities become inherently uncertain for positions near screen center, or far from the screen, i.e., the far field where the inequalities become approximate equalities. In these cases, where the user is well into the far field regime, the sign of the view angle may become ambiguous. This limitation is characteristic of the in-plane geometry, whereas the out-of-plane geometry using 3 markers described in section 4.3 provides potentially higher sensitivity and less ambiguity to the angle sign.
Aside from the far field condition requirement, there is one situation where equations (40)-(42) become invalid: θx=+/−90° or θy=+/−90°. In this case, where the user is essentially in the plane of the screen (z′=0), equation (40) becomes undefined and distance can not be determined. However, in practice, this situation will virtually never occur since it is outside of the typical range of operation of the system—the user cannot see the screen and the markers are generally not detectable by the sensor in this region. Therefore, this special case is almost never a problem. If there are particular circumstances where the location of the handheld device is desired while the user is in or near the screen plane (and the markers are detectable), then a separate set of equations that apply to that situation can be derived. However, since this case is not relevant to the primary application of pointing while viewing a screen, it is not described further here.
It is possible to construct a set of equations analogous to (37) that are essentially exact and that do not rely on the far field approximation. However, this set of coupled equations, which have forms similar to equation (10), are complex and virtually intractable for determining an arbitrary location in space. This is the reason for using the far field approximation, leading to equation (37), which will suffice in providing accurate location determination in the majority of situations encountered. However, when the user is in the near field, the determination of location using equations (40)-(42) becomes less accurate. In extreme cases, where the user is close to the markers/screen and not near the screen center, i.e., where equation (36) is invalid, it is possible to derive a separate set of equations for user location that applies in specific regions. In the near field regime, an approach different from that used for the far field solution is needed since the distances to each marker cannot be considered effectively equal. Although closed-form solutions cannot be obtained for the exact equations, fairly simple solutions can be derived under certain, potentially common, situations. Referring to equation (37), if one restricts the user's position on or near the x′-z′ plane (θy≈0), and the actual distance to each side of the rectangle formed by the markers is included, then the following simplified equations for two of the sides results:
where Lij is the distance from the user to the center of the line joining markers i and j and Lij0 is the corresponding distance during calibration. Similarly, if the user's position is restricted to the y′-z′ plane (θx≈0):
The two important differences between equation (43) and (37) are the absence of the trigonometric terms that vanish under the θx≈0 or θy≈0 assumptions and the inclusion of the dependence of the measured image separations (Rij) on the actual distance (Lij) to the user in contrast to the approximation that the user's distance to the markers is the same. Under these conditions, the view angle dependence is contained in the distance factors, Lij. Using standard trigonometric techniques that relate Lij to distance and view angle, the following expressions are obtained for θy≈0:
Note that Lij0 are, by definition, equal for (i,j)=(3,1) and (4,2) and so either value can be used in equations (45) and (47). A similar set of equations can be derived for θx≈0:
The important differences between these sets of equations and those corresponding to the far field (equations (39)-(42)) are that opposite sides of the marker rectangle are used here versus adjacent sides and, because Δx and Δy can be positive or negative, the sign of the view angle is determined in equations (47) and (51). Thus, using the near-field equations, both magnitude and sign of the view angle may be determined. Unfortunately, these closed-form solutions are strictly valid only when the user is in either the y′=0 or x′=0 planes. If the user's position is close planes, they can still be used with a small error that grows as the user moves away from these planes. In addition, as noted earlier, the sensitivity of the near field solutions decreases as the user moves away from the markers.
Therefore, in practice, since most user positions will be well into the far field, the far field equations can be used in general to determine, with high sensitivity, the user's distance and view angle magnitude. To determine the view angle sign, the conditions described earlier for the far field can be used (comparing the magnitudes of Rij), or the sign of Δx and Δy can be used. In special cases where the user is in the near field and is known to be near the y′=0 or x′=0 planes (e.g., the motion is restricted to either of these planes), then the near field equations (equations (45)-(52)) can be used. Also, since these equations are exact, if the user is known to be near the y′=0 or x′=0 planes, the near field equations can be used even in the far field. However, since the far field equations are generally much more sensitive to view angle changes, the preferred method uses the far field equations whenever they are applicable.
As described in section 4.2, pointing and tracking can be performed using one or more of the markers. The preferred embodiment uses equation (20) to determine an “average” coordinate for the marker images and tracks changes in this coordinate, as described in section 4.2. The remaining DOF that needs to be tracked is roll. A variation on the approach taken in equations (15)-(17) for the 2-marker embodiment can be used for the 4-marker embodiment as well. In principle, any two markers can be used as the reference for roll motion as long as their initial coordinates are known. The procedures for both roll detection and rotation compensation for the 4-marker embodiment are essentially the same as those for the 2- and 3-marker embodiments described in the previous sections.
A potential issue for any embodiment that involves multiple markers is the correct identification of each marker, i.e., which is marker #1, #2, etc. For the vast majority of situations (user position, pointing direction, and roll angle), the marker identity will be clear. For example, in the 4-marker embodiment, marker image #1 will nearly always be in the upper left hand corner of the four marker arrangement on the image sensor, and the other markers will have image positions relative to marker #1 as shown in
In cases where marker identity could be a problem, there are several methods for addressing any associated measurement problems. One method is to require that the handheld device is initially calibrated at a known roll angle, and then subsequent motions are tracked relative to this initial orientation. In this way, the identity of each marker is always known after an initial calibration. A more robust method would be to uniquely identify at least one of the markers using a physical distinction. For example, marker #1 in the 4-marker embodiment, or the center marker in the 3-marker embodiment, may be temporally modulated (e.g., repeatedly turned on and off). The tracking algorithm could then be programmed to identify the modulated marker as #1, for example. The other markers would maintain their relative positions with respect to #1. The advantage of this approach is that no calibration is required to establish the identity of the markers. The disadvantage is that a more complex marker set up is required.
As discussed at length above, absolute pointing involves a working system in which signals sent from a handheld device are processed, and, in response, certain effects are made to appear on a display and/or are triggered with electronic equipment. Examples of such electronic equipment include electronic equipment containing the following types of circuitry: a) standard television circuitry such as the circuitry within a television used to process the signals received from the television's remote control; b) a satellite TV receiver circuitry; c) a cable TV receiver circuitry; d) VCR circuitry; e) DVD player circuitry; f) a computer's circuitry; g) music player circuitry (e.g., CD player circuitry, stereo receiver circuitry, etc.); h) gaming circuitry; i) an IPTV receiver and/or television circuitry; j) receiver circuitry for a “receiver” that receives signals from one or more of items of electronic equipment such as those listed in a) through i) above; k) home and/or office automation equipment (e.g., equipment including circuitry for turning household switches “on” and “off”).
Each of these types of circuitry typically include some kind of processor or controller that executes program code that: 1) implements a user interface for the particular type of equipment at issue (e.g., a menu driven user interface in the case of a television, a TV receiver, a DVD player, a VCR player, etc; or, a windows based interface in the case of a computer); and/or, 2) implements a cursor or icon (which may be associated with a user interface) or a highlighting mechanism for a menu based user interface in which specific menu options are highlighted.
It is on these processors that program code for implementing absolute pointing (e.g., execution of mathematical calculations to translate marker image location to pointed to display location and/or identification of marker image positioning, as well as the program code functions described above in the immediately preceding paragraph) are expected to be executed.
Other applications include the ability to support multiple users simultaneously (i.e., in parallel) or, in some cases, sequentially (i.e., serially), particularly in situations where it is desirable to have cursor/menu selection control shared among more than one user or to have multiple active cursors. In the case of a single shared cursor or single shared menu, independent users, each with a remote pointing device, may possess control of the screen cursor (and thus function commands) and/or make menu selections using a prescribed protocol. There are a variety of methods that may be used to establish the sharing protocol.
One approach may be “centralized” wherein one of the remote devices may be designated as the master controller that may relinquish cursor control to any of the other users by sending appropriate commands to the control unit. In other approaches control of the cursor may be “distributed” such as a token passing scheme (e.g., where a token is passed around by the handheld devices and the device having the token assumes control of the cursor). In either centralized or distributed schemes, control priority may be determined based on a set of rules that account for activity level (e.g., an inactive remote control loses priority or an active one gains priority), a prescribed sequence (priority is rotated among the group of users), or a predetermined hierarchy of control (e.g., user #1 has control while active, user #2 has control while active and #1 is inactive, etc.). Many other sharing protocols that are encompassed by the spirit of this description may be readily implemented by those skilled in the art.
Multiple users with multiple simultaneously active cursors and/or menu selection (e.g., one cursor for each user) represents a more advanced form of a multiple-user environment. In this case, the control unit would display and move screen cursors corresponding to each user's pointing device based on the coordinate data for each device. Different cursor icons may be used to aid in distinguishing each user's actions (e.g., color, shape, etc.). Although multiple cursors may be displayed and controlled simultaneously, priority of function commands has to be determined at least for situations where a single display feature is pointed to by multiple cursors and/or in systems capable of only executing one command at a time. The simplest form of priority determination could be based on which user is first to select a command. Other procedures for determining command priority will be apparent to someone skilled in the art. Multiple users with simultaneously active cursors may be particularly useful for gaming functions.
Recalling the discussion above pertaining to
In addition to distance and location determination or estimation, another aspect of the multiple-reference or multiple-sensor form of the invention is the ability to sense rotational motion of the pointing device, as described in sections 1 and 4. For example, with two reference markers, relative rotation between the screen and the pointing device, along an axis approximately parallel to the line connecting the pointing device and screen, is detectable. This type of motion is not generally detectable with the single reference/single sensor preferred embodiment since it does not represent a change in pointing direction. This type of motion is typically referred to as roll, and, while it does not represent a pointing action, may be used to enable other commands and functions through simple and intuitive gestures. One example of the use of this rotational or twisting motion is the “virtual dial” discussed above for controlling various attributes of an appliance, e.g., volume, channel, song track, etc. Other basic motions or actions detectable by the present invention and described previously may be used for specific commands or functions. Another aspect of the operation of the handheld device is that it does not require the user to point within the screen boundary in order to be recognized by the overall system. This results from the location and orientation sensing capability of the system so that executable actions are not confined to the location of a screen cursor, as in conventional mouse-type pointing devices. Here, the pointing range is determined by the device sensor's field of view and the user's distance from the screen instead of the screen size. Typically, the usable pointing range is larger than the screen size. Therefore, pointing actions beyond the screen boundary can be used for a variety of functions or commands. For example, screen menus can be activated or displayed upon the user directing the pointer beyond a specified boundary (e.g., the screen edge). Or motion up or down outside the screen boundaries may activate a scrolling function on a displayed screen menu. Many other “outside-the-screen” actions may be enabled using this property of the absolute pointing device.
In addition to the basic remote control functions described thus far, a related application of the absolute pointing device is its use as a video game interaction mechanism, or game controller. Conventional game controllers are based on mouse-type or joystick-type input devices and buttons, in which the game functions (e.g., scene navigation, weapon firing, etc.) are controlled by standard mouse or joystick movements (which are relative in nature) and button pressing. In particular, the navigation and motion control aspects of video games may be enhanced significantly by the absolute pointing and location sensing capabilities of the device. In addition to the direct screen pointing capability, the sensitivity to screen distance, screen viewing angle, device roll angle, pitch, and yaw permit degrees of freedom for the player that are not found in conventional game controllers. These properties can be employed to control a variety of actions such as intuitive three dimensional motion (e.g., games using flight simulation) and location-sensitive interactions (e.g., scene perspective moving as player moves, or speed control using in-out motion). Here, the term “user interface” should be construed to be broad enough to cover a displayed gaming interface.
Some of the processes taught by the discussion above may be performed with program code such as machine-executable instructions which cause a machine (such as a processor disposed on a semiconductor chip, or an “interpreter” (e.g., a Java virtual machine) that converts abstract program code into processor-specific program code) to perform certain functions. Alternatively, these functions may be performed by specific hardware components that contain hardwired logic circuitry for performing the functions (e.g., a logic state machine), or by any combination of programmed computer components and hardwired logic components.
An article of manufacture may be used to store program code. An article of manufacture that stores program code may be embodied as, but is not limited to, one or more memories (e.g., one or more flash memories, random access memories (static, dynamic or other)), optical disks, CD-ROMs, DVD ROMs, EPROMs, EEPROMs, magnetic or optical cards or other type of machine-readable media suitable for storing electronic instructions. Program code may also be downloaded from a remote computer (e.g., a server) to a requesting computer (e.g., a client) by way of data signals embodied in a propagation medium (e.g., via a communication link (e.g., a network connection)).
In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Grunnet-Jepsen, Anders, Sweetser, John, Salsman, Kenneth
Patent | Priority | Assignee | Title |
10270844, | Jun 22 2010 | HSNi, LLC | System and method for integrating an electronic pointing device into digital image data |
10509533, | May 14 2013 | Qualcomm Incorporated | Systems and methods of generating augmented reality (AR) objects |
11112934, | May 14 2013 | Qualcomm Incorporated | Systems and methods of generating augmented reality (AR) objects |
11402927, | May 28 2004 | UltimatePointer, L.L.C. | Pointing device |
11409376, | May 28 2004 | UltimatePointer, L.L.C. | Multi-sensor device with an accelerometer for enabling user interaction through sound or image |
11416084, | May 28 2004 | UltimatePointer, L.L.C. | Multi-sensor device with an accelerometer for enabling user interaction through sound or image |
11674797, | Mar 22 2020 | Analog Devices, Inc | Self-aligned light angle sensor using thin metal silicide anodes |
11755127, | May 28 2004 | UltimatePointer, L.L.C. | Multi-sensor device with an accelerometer for enabling user interaction through sound or image |
11841997, | Jul 13 2005 | UltimatePointer, L.L.C. | Apparatus for controlling contents of a computer-generated image using 3D measurements |
11880541, | May 14 2013 | Qualcomm Incorporated | Systems and methods of generating augmented reality (AR) objects |
8451215, | Jan 12 2007 | CAPCOM CO , LTD | Display control device, program for implementing the display control device, and recording medium containing the program |
8760390, | Aug 11 2004 | Pixart Imaging Inc. | Interactive device capable of improving image processing |
8792683, | Jun 04 2010 | Malikie Innovations Limited | Fingerprint scanning with optical navigation |
8907889, | Jan 12 2005 | Thinkoptics, Inc. | Handheld vision based absolute pointing system |
8913003, | Jul 17 2006 | Thinkoptics, Inc.; THINKOPTICS, INC | Free-space multi-dimensional absolute pointer using a projection marker system |
9024880, | Aug 11 2004 | EGIS TECHNOLOGY INC | Interactive system capable of improving image processing |
9094707, | Jun 22 2010 | HSNi LLC | System and method for integrating an electronic pointing device into digital image data |
9176598, | May 08 2007 | Thinkoptics, Inc. | Free-space multi-dimensional absolute pointer with improved performance |
9255986, | May 09 2008 | Analog Devices, Inc. | Method of locating an object in 3D |
9285459, | May 09 2008 | Analog Devices, Inc | Method of locating an object in 3D |
9294556, | Jun 22 2010 | HSNi, LLC | System and method for integrating an electronic pointing device into digital image data |
9304202, | May 27 2009 | Analog Devices, Inc. | Multiuse optical sensor |
9305361, | Sep 12 2011 | Qualcomm Incorporated | Resolving homography decomposition ambiguity based on orientation sensors |
9702690, | Dec 19 2011 | Analog Devices, Inc. | Lens-less optical position measuring sensor |
9746544, | Dec 03 2008 | Analog Devices, Inc.; Analog Devices, Inc | Position measurement systems using position sensitive detectors |
9948701, | Jun 22 2010 | HSNi, LLC | System and method for integrating an electronic pointing device into digital image data |
Patent | Priority | Assignee | Title |
4229009, | Apr 05 1977 | Nintendo Co., Ltd. | Light-emission gun amusement machine for home use |
4395045, | Jun 16 1980 | Sanders Associates, Inc. | Television precision target shooting apparatus and method |
4813682, | Aug 09 1985 | Nintendo Co., Ltd. | Video target control and sensing circuit for photosensitive gun |
5009501, | Nov 26 1987 | FENNER, DAVID FENTON | A remotely controllable position indicator system |
5045843, | Dec 06 1988 | RICHARDS, III ,JAMES D AND MARTINE RICHARDS | Optical pointing device |
5115230, | Jul 19 1989 | Regents of the University of California, The | Light-pen system for projected images |
5181015, | Nov 07 1989 | Straight Signals LLC | Method and apparatus for calibrating an optical computer input system |
5317140, | Nov 24 1992 | NEXT HOLDINGS, LTD | Diffusion-assisted position location particularly for visual pen detection |
5502459, | Nov 07 1989 | InFocus Corporation | Optical auxiliary input arrangement and method of using same |
5504501, | Nov 07 1989 | Straight Signals LLC | Optical input arrangement and method of using same |
5515079, | Nov 07 1989 | Straight Signals LLC | Computer input system and method of using same |
5574479, | Jan 07 1994 | RICHARDS, III ,JAMES D AND MARTINE RICHARDS | Optical system for determining the roll orientation of a remote unit relative to a base unit |
5736975, | Feb 02 1996 | Interactive Sales System | Interactive video display |
5793353, | Jan 04 1995 | International Business Machines Corporation | Cursor pointing device based on thin-film interference filters |
5793361, | Jun 09 1994 | Corporation for National Research Initiatives | Unconstrained pointing interface for natural human interaction with a display-based computer system |
5796387, | Aug 16 1994 | Smith Engineering | Positioning system using infrared radiation |
5926168, | Sep 30 1994 | CDN INNOVATIONS, LLC | Remote pointers for interactive televisions |
5929444, | Jan 31 1995 | Hewlett-Packard Company | Aiming device using radiated energy |
6146278, | Jan 10 1997 | KONAMI DIGITAL ENTERTAINMENT CO , LTD | Shooting video game machine |
6184863, | Oct 13 1998 | The George Washington University | Direct pointing apparatus and method therefor |
6188388, | Dec 28 1993 | Hitachi, Ltd. | Information presentation apparatus and information display apparatus |
6252720, | Aug 20 1999 | DISNEY ENTERPRISES, INC | Optical system and method for remotely manipulating interactive graphical elements on television screens and the like |
6331848, | Apr 27 1996 | U S PHILIPS CORPORATION | Projection display system |
6377242, | Dec 02 1999 | The United States of America as represented by the Secretary of the Air Force; UNITED SDTATES AIR FORCE | Display pointer tracking device |
6404416, | Jun 06 1994 | Corporation for National Research Initiatives | Unconstrained pointing interface for natural human interaction with a display-based computer system |
6618076, | Dec 23 1999 | Justsystem Corporation | Method and apparatus for calibrating projector-camera system |
6650822, | Oct 29 1996 | Life Technologies Corporation | Optical device utilizing optical waveguides and mechanical light-switches |
6683628, | Jan 10 1997 | Godo Kaisha IP Bridge 1 | Human interactive type display system |
6727885, | Sep 07 1999 | Nikon Corporation; NIKON TECHNOLOGIES INC | Graphical user interface and position or attitude detector |
6765555, | Nov 07 2001 | OmniVision Technologies, Inc. | Passive optical mouse using image sensor with optional dual mode capability |
6900791, | Jul 07 2000 | Canon Kabushiki Kaisha | Coordinate input apparatus and control method and program therefor |
6924809, | Oct 02 2003 | Pixart Imaging Inc. | Method and buffer device for data stream transformation |
7039218, | Apr 16 2002 | SAMSUNG ELECTRONICS CO , LTD | Motion correction and compensation for image sensor motion estimation |
7050043, | Sep 02 2002 | COMPACT LENS TECHNOLOGIES LLC; PROXIMITY SENSORS OF TEXAS LLC | Optical apparatus |
7053932, | Oct 31 2001 | SAMSUNG ELECTRONICS CO , LTD | Method for detecting movement of image sensors |
7091949, | Jul 06 1999 | PIXART IMAGING INC | Computer presentation system and method with optical tracking of wireless pointer |
7102616, | Mar 05 1999 | Microsoft Technology Licensing, LLC | Remote control device with pointing capacity |
7232986, | Feb 17 2004 | Smart Technologies Inc. | Apparatus for detecting a pointer within a region of interest |
20020078446, | |||
20040004276, | |||
20040095317, | |||
20040169639, | |||
20040268393, | |||
20050073525, | |||
20050104849, | |||
20050168444, | |||
20050225536, | |||
20050237303, | |||
20060094286, | |||
20060108507, | |||
20060125932, | |||
20060152489, | |||
20060284841, | |||
EP1081635, | |||
GB2381686, | |||
JP2003044220, | |||
JP2004348459, | |||
JP2005013115, | |||
JP7121293, | |||
WO60534, | |||
WO2004012130, | |||
WO2004038328, | |||
WO9519031, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jul 21 2005 | Thinkoptics, Inc. | (assignment on the face of the patent) | / | |||
Oct 06 2005 | SALSMAN, KENNETH | THINKOPTICS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016890 | /0691 | |
Oct 11 2005 | GRUNNET-JEPSEN, ANDERS | THINKOPTICS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016890 | /0691 | |
Oct 11 2005 | SWEETSER, JOHN | THINKOPTICS INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016890 | /0691 | |
Dec 09 2013 | SALSMAN, KENNETH E | TRITON SERVICES, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032941 | /0689 | |
Jun 09 2014 | TRITON SERVICES, INC | NINTENDO CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 033060 | /0978 |
Date | Maintenance Fee Events |
Jun 16 2014 | M2551: Payment of Maintenance Fee, 4th Yr, Small Entity. |
Jun 14 2018 | M2552: Payment of Maintenance Fee, 8th Yr, Small Entity. |
Jun 19 2018 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Aug 01 2022 | REM: Maintenance Fee Reminder Mailed. |
Jan 16 2023 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Dec 14 2013 | 4 years fee payment window open |
Jun 14 2014 | 6 months grace period start (w surcharge) |
Dec 14 2014 | patent expiry (for year 4) |
Dec 14 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Dec 14 2017 | 8 years fee payment window open |
Jun 14 2018 | 6 months grace period start (w surcharge) |
Dec 14 2018 | patent expiry (for year 8) |
Dec 14 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Dec 14 2021 | 12 years fee payment window open |
Jun 14 2022 | 6 months grace period start (w surcharge) |
Dec 14 2022 | patent expiry (for year 12) |
Dec 14 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |