Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.


  1. Advanced Patent Search
Publication numberUS20050024324 A1
Publication typeApplication
Application numberUS 10/750,452
Publication dateFeb 3, 2005
Filing dateDec 30, 2003
Priority dateFeb 11, 2000
Also published asUS6710770, US20020021287
Publication number10750452, 750452, US 2005/0024324 A1, US 2005/024324 A1, US 20050024324 A1, US 20050024324A1, US 2005024324 A1, US 2005024324A1, US-A1-20050024324, US-A1-2005024324, US2005/0024324A1, US2005/024324A1, US20050024324 A1, US20050024324A1, US2005024324 A1, US2005024324A1
InventorsCarlo Tomasi, Abbas Rafii
Original AssigneeCarlo Tomasi, Abbas Rafii
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Quasi-three-dimensional method and apparatus to detect and localize interaction of user-object and virtual transfer device
US 20050024324 A1
A system used with a virtual device inputs or transfers information to a companion device, and includes two optical systems OS1, OS2. In a structured-light embodiment, OS1 emits a fan beam plane of optical energy parallel to and above the virtual device. When a user-object penetrates the beam plane of interest, OS2 registers the event. Triangulation methods can locate the virtual contact, and transfer user-intended information to the companion system. In a non-structured active light embodiment, OS1 is preferably a digital camera whose field of view defines the plane of interest, which is illuminated by an active source of optical energy. Preferably the active source, OS1, and OS2 operate synchronously to reduce effects of ambient light. A non-structured passive light embodiment is similar except the source of optical energy is ambient light. A subtraction technique preferably enhances the signal/noise ratio. The companion device may in fact house the present invention.
Previous page
Next page
1-13. (Cancelled)
14. A system enabling a user-manipulated user-object used with a virtual transfer device to transfer information to a companion device, the system comprising:
a central processor unit including memory storing at least one software routine;
a first optical system defining a plane substantially parallel-to and spaced-above a presumed location of said virtual transfer device;
a second optical system having a relevant field of view encompassing at least portions of said plane and responsive to user-object penetration of said plane to interact with said virtual transfer device;
means for determining relative position of a portion of said user-object on said plane;
wherein said system transfers information to said companion device enabling user-object with said virtual transfer device to affect operation of said companion device
15. The system of claim 14, wherein said means for determining includes determining said relative position using triangulation analysis.
16. The system of claim 14, wherein said means for determining includes said processor unit executing said routine to determine said relative position.
17. The system of claim 14, wherein:
said first optical system includes means for generating a plane of optical energy; and
said second optical system includes a camera sensor that detects a reflected portion of said optical energy when said user-object penetrates said plane.
18. The system of claim 14, wherein:
said first optical system includes at least one of (i) a laser to generate said plane, and (ii) an LED to generate said plane; and
said second optical system includes a camera sensor that detects a reflected portion of said optical energy when said user-object penetrates said plane.
19. The system of claim 14, further including means for enhancing responsiveness of said second optical system to said user-object penetration while decreasing said responsiveness to ambient light.
20. The system of claim 19, wherein said means for enhancing includes at least one of (a) providing a signature associated with generation of said plane, (b) selecting a common wavelength for energy within said plane defined by said first optical system and for responsiveness of said second optical system, and (c) synchronizing operation of said first optical system and operation of said second optical system.
21. The system of claim 14, wherein said first optical system includes a first camera sensor that defines said plane.
22. The system of claim 14, wherein:
said first optical system includes a first camera sensor that defines said plane;
said second optical system includes a second camera to sense said penetration;
and further including:
a source of optical energy directed generally toward said virtual transfer device; and
means for synchronizing operation of at least two of same first optical system, said second optical system, and said source of optical energy;
wherein effects of ambient light upon accuracy of information obtained with said system are reduced.
23. The system of claim 14, wherein:
said first optical system includes a generator of optical energy of a desired wavelength; and
said second optical system is sensitive substantially only to optical energy of said desired wavelength.
24. The system of claim 14, wherein said companion device includes at least one of (i) a PDA, (ii) a portable communication device, (iii) an electronic device, (iv) an electronic game device, and (v) a musical instrument, and said virtual transfer device is at least one of (I) a virtual keyboard, (II) a virtual mouse, (III) a virtual trackball, (IV) a virtual pen, (V) a virtual trackpad, and (VI) a user-interface selector.
25. The system of claim 14, wherein said virtual transfer device is mapped to a work surface selected from at least one of (i) a table top, (ii) a desk top, (iii) a wall, (iv) a point-of-sale appliance, (v) a point-of-service appliance, (vi) a kiosk, (vii) a surface in a vehicle, (viii) a projected display, (ix) a physical display, (x) a CRT, and (xi) an LCD.
26. The system of claim 14, wherein at least one of said first operating system and said second operating system is a camera sensor having a lens and an image plane;
wherein at least one of said lens ad said image plane is tilted to enhance at least one of resolution and depth of field.
27. The system of claim 14, further including means for enhancing distinguishment of said user-object from a background object.

Priority is claimed from applicants' co-pending U.S. provisional patent application Ser. No. 60/287,115 filed on 27 Apr. 2001 entitled “Input Methods Using Planar Range Sensors”, from co-pending U.S. Provisional patent application Ser. No. 60/272,120 filed on 27 Feb. 2001 entitled “Vertical Triangulation System for a Virtual Touch-Sensitive Surface”, and from co-pending U.S. provisional patent application Ser. No. 60/231,184 filed on 7 Sep. 2000 entitled “Application of Image Processing Techniques for a Virtual Keyboard System”. Further, this application is a continuation-in-part from co-pending U.S. patent application Ser. No. 09/502,499 filed on 11 Feb. 2000 entitled “Method And Apparatus for Entering Data Using A Virtual Input Device”. Each of said applications is incorporated herein by reference.


The invention relates generally to sensing proximity of a stylus or user finger relative to a device to input or transfer commands and/or data to a system, and more particularly to such sensing relative to a virtual device used to input or transfer commands and/or data and/or other information to a system.


It is often desirable to use virtual input devices to input commands and/or data and/or transfer other information to electronic systems, for example a computer system, a musical instrument, even telephones. For example, although computers can now be implemented in almost pocket-size, inputting data or commands on a mini-keyboard can be time consuming and error prone. While many cellular telephones can today handle e-mail communication, actually inputting messages using the small telephone touch pad can be difficult. For example, a PDA has much of the functionality of a computer but suffers from a tiny or non-existent keyboard. If a system could be used to determine when a user's fingers or stylus contacted a virtual keyboard, and what fingers contacted what virtual keys thereon, the output of the system could perhaps be input to the PDA in lieu of keyboard information. (The terms “finger” or “fingers”, and “stylus” are used interchangeably herein.) In this example a virtual keyboard might be a piece of paper, perhaps that unfolds to the size of a keyboard, with keys printed thereon, to guide the user's hands. It is understood that the virtual keyboard or other input device is simply a work surface and has no sensors or mechanical or electronic components. The paper and keys would not actually input information, but the interaction or interface between the user's fingers and portions of the paper, or if not paper, portions of a work surface, whereon keys would exist, could be used to input information to the PDA. A similar virtual device and system might be useful to input e-mail to a cellular telephone. A virtual piano-type keyboard might be used to play a real musical instrument. The challenge is how to detect or sense where the user's fingers or a stylus are relative to the virtual device.

U.S. Pat. No. 5,767,848 to Korth (1998) entitled “Method and Device For Optical Input of Commands or Data” attempts to implement virtual devices using a two-dimensional TV video camera. Such optical systems rely upon luminance data and require a stable source of ambient light, but unfortunately luminance data can confuse an imaging system. For example, a user's finger in the image foreground may be indistinguishable from regions of the background. Further, shadows and other image-blocking phenomena resulting from a user's hands obstructing the virtual device would seem to make implementing a Korth system somewhat imprecise in operation. Korth would also require examination of the contour of a user's fingers, finger position relative to the virtual device, and a determination of finger movement.

U.S. Pat. No.______ to Bamji et al. (2001) entitled “CMOS-Compatible Three-Dimensional Image Sensor IC”, application Ser. No. 09/406,059, filed 22 Sep. 1999, discloses a sophisticated three-dimensional imaging system usable with virtual devices to input commands and data to electronic systems. In that patent, various range finding systems were disclosed, which systems could be used to determine the interface between a user's fingertip and a virtual input device, e.g., a keyboard. Imaging was determined in three-dimensions using time-of-flight measurements. A light source emitted optical energy towards a target object, e.g., a virtual device, and energy reflected by portions of the object within the imaging path was detected by an array of photodiodes. Using various sophisticated techniques, the actual time-of-flight between emission of the optical energy and its detection by the photodiode array was determined. This measurement permitted calculating the vector distance to the point on the target object in three-dimensions, e.g., (x,y,z). The described system examined reflected emitted energy, and could function without ambient light. If for example the target object were a layout of a computer keyboard, perhaps a piece of paper with printed keys thereon, the system could determine which user finger touched what portion of the target, e.g., which virtual key, in what order. Of course the piece of paper would be optional and would be used to guide the user's fingers.

Three-dimensional data obtained with the Bamji invention could be softwareprocessed to localize user fingers as they come in contact with a touch surface, e.g., a virtual input device. The software could identify finger contact with a location on the surface as a request to input a keyboard event to an application executed by an associated electronic device or system (e.g., a computer, PDA, cell phone, Kiosk device, point of sale device, etc.). While the Bamji system worked and could be used to input commands and/or data to a computer system using three-dimensional imaging to analyze the interface of a user's fingers and a virtual input device, a less complex and perhaps less sophisticated system is desirable. Like the Bamji system, such new system should be relatively inexpensive to mass produce and should consume relatively little operating power such that battery operation is feasible.

The present invention provides such a system.


The present invention localizes interaction between a user finger or stylus and a passive touch surface (e.g., virtual input device), defined above a work surface, using planar quasi-three-dimensional sensing. Quasi-three-dimensional sensing implies that determination of an interaction point can be made essentially in three dimensions, using as a reference a two-dimensional surface that is arbitrarily oriented in three-dimensional space. Once a touch has been detected, the invention localizes the touch region to determine where on a virtual input device the touching occurred, and what data or command keystroke, corresponding to the localized region that was touched, is to be generated in response to the touch. Alternatively, the virtual input device might include a virtual mouse or trackball. In such an embodiment, the present invention would detect and report coordinates of the point of contact with the virtual input device, which coordinates would be coupled to an application, perhaps to move a cursor on a display (in a virtual mouse or trackball implementation) and/or to lay so-called digital ink for a drawing or writing application (virtual pen or stylus implementation). In the various embodiments, triangulation analysis methods preferably are used to determine where user-object “contact” with the virtual input device occurs.

In a so-called structured-light embodiment, the invention includes a first optical system (OS1) that generates a plane of optical energy defining a fanbeam of beam angle φ parallel to and a small stand-off distance ΔY above the work surface whereon the virtual input device may be defined. In this embodiment, the plane of interest is the plane of light produced by OS1, typically a laser or LED light generator. The two parallel planes may typically be horizontal, but they may be disposed vertically or at any other angle that may be convenient. The invention further includes a second optical system (OS2) that is responsive to optical energy of the same wavelength as emitted by OS1. Preferably OS2 is disposed above OS1 and angled with offset θ, relative to the fan-beam plane, toward the region where the virtual input device is defined. OS2 is responsive to energy emitted by OS1, but the wavelength of the optical energy need not be visible to humans. The invention may also be implemented using non-structured-light configurations that may be active or passive. In a passive triangulation embodiment, OS1 is a camera rather than an active source of optical energy, and OS2 is a camera responsive to the same optical energy as OS1, and preferably disposed as described above. In such embodiment, the plane of interest is the projection plane of a scan line of the OS1 camera. In a non-structured-light embodiment such as an active triangulation embodiment, OS1 and OS2 are cameras and the invention further includes an active light source that emits optical energy having wavelengths to which OS1 and OS2 respond. Optionally in such embodiment, OS1 and OS2 can each include a shutter mechanism synchronized to output from the active light source, such that shutters in OS1 and OS2 are open when optical energy is emitted, and are otherwise closed. An advantage of a non-structured light configuration using two cameras is that bumps or irregularities in the work surface are better tolerated. The plane defined by OS1 may be selected by choosing an appropriate row of OS1 sensing pixel elements to conform to the highest y-dimension point (e.g., bump) of the work surface.

In the structured-light embodiment, OS2 will not detect optical energy until an object, e.g., a user finger or stylus, begins to touch the work surface region whereon the virtual input device is defined. However, as soon as the object penetrates the plane of optical energy emitted by OS1, the portion of the finger or stylus intersecting the plane will be illuminated (visibly or invisibly to a user). OS2 senses the intersection with the plane of interest by detecting optical energy reflected towards OS2 by the illuminated object region. Essentially only one plane is of interest to the present invention, as determined by configuration of OS1, and all other planes definable in three-dimensional space parallel to the virtual input device can be ignored as irrelevant. Thus, a planar three-dimensional sensor system senses user interactions with a virtual input device occurring on the emitted fan-beam plane, and ignores any interactions on other planes.

In this fashion, the present invention detects that an object has touched the virtual input device. Having sensed that a relevant touch-intersection is occurring, the invention then localizes in two-dimensions the location of the touch upon the plane of the virtual device. In the preferred implementation, localized events can include identifying which virtual keys on a virtual computer keyboard or musical keyboard are touched by the user. The user may touch more than one virtual key at a time, for example the “shift” key and another key. Note too that the time order of the touchings is determined by the present invention. Thus, if the user touches virtual keys for “shift” and “t”, and then for the letters “h” and then “e”, the present invention will recognize what is being input as “T” then “h” and then “e”, or “The”. It will be appreciated that the present invention does not rely upon ambient light, and thus can be fully operative even absent ambient light, assuming that the user knows the location of the virtual input device.

Structured-light and/or non-structured light passive triangulation methods may be used to determine a point of contact (x,z) between a user's hand and the sense plane. Since the baseline distance B between OS1 and OS2 is known, a triangle is formed between OS1, OS2 and point (x,z), whose sides are B, and projection rays R1 and R2 from OS1, OS2 to (x,z). OS1 and OS2 allow determination of triangle angular distance from a reference plane, as well as angles α1 and α2 formed by the projection rays, and trigonometry yields distance z to the surface point (x,z), as well as projection ray lengths.

A processor unit associated with the present invention executes software to identify each intersection of a user-controlled object with the virtual input device and determines therefrom the appropriate user-intended input data and/or command, preferably using triangulation analysis. The data and/or commands can then be output by the present invention as input to a device or system for which the virtual input device is used. If desired the present invention may be implemented within the companion device or system, especially for PDAs, cellular telephones, and other small form factor device or systems that often lack a large user input device such as a keyboard.

Other features and advantages of the invention will appear from the following description in which the preferred embodiments have been set forth in detail, in conjunction with their accompanying drawings.


FIG. 1A depicts a planar quasi-three-dimensional detection structured-light system used to detect user input to a virtual input device, according to the present invention;

FIG. 1B depicts a planar quasi-three-dimensional detection non-structured active light system used to detect user input to a virtual input device, according to the present invention;

FIG. 1C depicts a planar quasi-three-dimensional detection non-structured passive light system used to detect user input to a virtual input device, according to the present invention;

FIG. 2A depicts geometry associated with location determination using triangulation, according to the present invention;

FIG. 2B depicts use of a spaced-apart optical emitter and reflector as a first optical system, according to the present invention;

FIGS. 3A-3E depict design tradeoffs associated with varying orientations of OS2 sensor, OS2 lens, and detection plane upon effective field of view and image quality, according to the present invention;

FIG. 4 is a block diagram depicting functions carried out by a processor unit in the exemplary system of FIG. 1B, according to an embodiment of the present invention;

FIG. 5A depicts an embodiment wherein the virtual device has five userselectable regions and the companion device is a monitor, according to the present invention;

FIG. 5B depicts an embodiment wherein the virtual device is a computer keyboard and the companion device is a mobile transceiver, according to the present invention;

FIG. 5C depicts an embodiment wherein the virtual device is mounted or projected on a wall and the companion device is a monitor, according to the present invention;

FIG. 6 depicts planar range sensing, according to the present invention; and

FIG. 7 depicts coordinate distance measurements used in an exemplary calculation of touch location for use in outputting corresponding information or data or command, according to the present invention.


FIG. 1A depicts a preferred embodiment of a quasi-planar three-dimensional sensing system 10 comprising, in a structured-light system embodiment, a first optical system (OS1) 20 that emits a fan-beam plane 30 of optical energy parallel to a planar work surface 40 upon which there is defined a virtual input device 50 and/or 50 ′ and/or 50 ″. Preferably the fan-beam defines a fan angle φ, and is spaced-apart from the work surface by a-small stand-off distance ΔY. Any object (e.g., a user finger or stylus) attempting to touch the work surface must first contact the fan-beam and will thereby be illuminated (visibly or not visibly) with emitted optical energy. While fan-beam plane 30 and the work surface plane 40 are shown horizontally disposed in FIG. 1A, these two planes may be disposed vertically or indeed at any other angle that may be desired for a system. Note that, without limitation, work surface 40 could be a portion of a work desk, a table top, a portion of a vehicle, e.g., a tray in an airplane, a windshield or dashboard, a wall, a display including a projected image, or a display such as a CRT, an LCD, etc. As used herein, the term “plane” will be understood to include a subset of a full plane. For example, fan-beam plane 30 will be termed a plane, even though it has finite width and does not extend infinitely in all directions.

By “virtual input device” it is meant that an image of an input device may be present on work surface 40, perhaps by placing a paper bearing a printed image, or perhaps system 10 projects a visible image of the input device onto the work surface, or there literally may be no image whatsoever visible upon work surface 40. As such, virtual input device 50, 50′, 50″ requires no mechanical parts such as working keys, and need not be sensitive to a touch by a finger or stylus; in short, the virtual input device preferably is passive.

In the example of FIG. 1A, virtual input device 50 is a computer-type keyboard that may be full sized or scaled up or down from an actual sized keyboard. If desired the virtual input device may comprise or include a virtual trackball 50′ and/or a virtual touchpad 50″. When system 10 is used with a virtual keyboard input device 50, or virtual trackball 50′ or virtual touchpad 50″, a fan angle φ of about 50° to 90° and preferably about 90° will ensure that fan beam 30 encompasses the entire virtual input device at distances commonly used. Further, for such a virtual input device, a stand-off distance ΔY of up to a few mm works well, preferably about 1 mm.

System 10 further includes a second optical system (OS2) 60, typically a camera with a planar sensor, that is preferably spaced apart from and above 0S1 20, and inclined toward work surface 40 and plane 30 at an angle θ, about 10° to about 90°, and preferably about 250°. System 10 further includes an electronic processing system 70 that, among other tasks, supervises OS1 and OS2. System 70 preferably includes at least a central processor unit (CPU) and associated memory that can include read-only-memory (ROM) and random access memory (RAM).

In FIG. 1A, system 10 elements OS1 20, OS2 60, and processor unit 70 are shown disposed on or in a device 80. Device 80 may be a stand-alone implementation of system 10 or may in fact be a system or device for which virtual input device 50 is used to input data or commands. In the latter case, device 80 may, without limitation, be a computer, a PDA (as shown in FIG. 1A), a cellular telephone, a musical instrument, etc. If system or device 80 is not being controlled by the virtual input device, the device 90 being so controlled can be coupled electrically to system/device 80 to receive data and/or commands input from virtual device 50. Where the virtual device is a trackball (or mouse) 50′ or touchpad 50″, user interaction with such virtual device can directly output raw information or data comprising touch coordinates (x,z) for use by device 80. For example, user interaction with virtual input device 50′ or 50″might reposition a cursor 160 on a display 140, or otherwise alter an application executed by device 80, or lay down a locus of so-called digital ink 180 that follows what a user might “write” using a virtual mouse or trackball 50′, or using a stylus 120′ and a virtual touchpad 50″. System/device 90 can be electrically coupled to system 80 by a medium 100 that may without limitation include wire(s) or be wireless, or can be a network including the internet.

In a structured-light embodiment, OS1 20 emits optical energy in fan-beam 30, parallel to the x-z plane 30. OS1 may include a laser line generator or an LED line generator, although other optical energy sources could be used to emit plane 30. A line generator OS1 is so called because it emits a plane of light that when intersected by a second plane illuminates what OS2 would view as a line on the second plane. For example if a cylindrical object intersected plane 30, OS2 would see the event as an illuminated portion of an elliptical arc whose aspect ratio would depend upon distance of OS2 above plane 30 and surface 40. Thus, excluding ambient light, detection by OS2 of an elliptical arc on plane 30 denotes a touching event, e.g., that an object such as 120R has contacted or penetrated plane 30. Although a variety of optical emitters may be used, a laser diode outputting perhaps 3 mW average power at a wavelength of between 300 nm to perhaps 1,000 nm could be used. While ambient light wavelengths (e.g., perhaps 350 nm to 700 nm) could be used, the effects of ambient light may be minimized without filtering or shutters if such wavelengths are avoided. Thus, wavelengths of about 600 nm (visible red) up to perhaps 1,000 nm (deep infrared) could be used. A laser diode outputting 850 nm wavelength optical energy would represent an economical emitter, although OS2 would preferably include a filter to reduce the effects of ambient light.

While OS1 preferably is stationary in a structured light embodiment, it is understood that a fan-beam 30 could be generated by mechanically sweeping a single emitted line of optical energy to define the fan-beam plane 30. As shown in FIG. 2B, OS1 may in fact include an optical energy emitter 20-A that emits a fan beam, and a reflecting mirror 20-B that directs the fan beam 30 substantially parallel to surface 40. For purposes of the present invention, in a structured light embodiment, optical energy emitted by OS1 20 may be visible to humans or not visible. OS2 60 preferably includes a camera system responsive to optical energy of the wavelength emitted by OS1 20. By “responsive” it is meant that OS2 recognizes energy of the same wavelength emitted by OS1, and ideally will not recognize or respond to energy of substantially differing wavelength. For example, OS2 may include a filter system such that optical energy of wavelength other than that emitted by OS1 is not detected, for example a color filter.

If desired, OS2 could be made responsive substantially solely to optical energy emitted from OS1 by synchronously switching OS1 and OS2 on and off at the same time, e.g., under control of unit 70. OS1 and OS2 preferably would include shutter mechanisms, depicted as elements 22, that would functionally open and close in synchronized fashion. For example, electronic processing system 70 could synchronously switch-on OS1, OS2, or shutter mechanisms 22 for a time period t1 with a desired duty cycle, where t1 is perhaps in the range of about 0.1 ms to about 35 ms, and then switch-off OS1 and OS2. If desired, OS1 could be operated at all times, where plane 30 is permitted to radiate only when shutter 22 in front of OS1 20 is open. In the various shutter configuration, repetition rate of the synchronous switching is preferably in the range of 20 Hz to perhaps 300 Hz to promote an adequate rate of frame data acquisition. To conserve operating power and reduce computational overhead, a repetition rate of perhaps 30 Hz to 100 Hz represents an acceptable rate. Of course other devices and methods for ensuring that OS2 responds substantially only to optical energy emitted by OS1 may also be used. For ease of illustration shutters 22 are depicted as mechanical elements, but in practice the concept of shutters 22 is understood to include turning on and off light sources and cameras in any of a variety of ways.

If desired, source(s) of optical energy used with the present invention could be made to carry a so-called signature to better enable such energy to be discerned from ambient light energy. For example and without limitation, such sources might be modulated at a fixed frequency such that cameras or other sensor units used with the present invention can more readily recognize such energy while ambient light energy would, by virtue of lacking such signature, be substantially rejected. In short, signature techniques such as selecting wavelengths for optical energy that differ from ambient light, techniques that involve synchronized operation of light sources and camera sensors, and modulating or otherwise tagging light source energy can all improve the signal/noise ratio of information acquired by the present invention.

Note that there is no requirement that work surface 40 be reflective or nonreflective with respect to the wavelength emitted by OS1 since the fan-beam or other emission of optical energy does not reach the surface per se. Note too that preferably the virtual input device is entirely passive. Since device 50 is passive, it can be scaled to be smaller than a full-sized device, if necessary. Further, the cost of a passive virtual input device can be nil, especially if the “device” is simply a piece of paper bearing a printed graphic image of an actual input device.

In FIG. 1A, assume initially that the user of system 10 is not in close proximity to virtual input device 50. In a structured-light embodiment, although OS1 may emit optical energy fan-beam plane 30, OS2 detects nothing because no object intersects plane 30. Assume now that a portion 110 of a finger of a user's left or right hand 120L, 120R moves downward to touch a portion of the area of work surface 40 whereon the virtual input device 50 is defined. Alternatively, portion 110′ of a user-controlled stylus 120′ could be moved downward to touch a relevant portion of work surface 40. Within the context of the present invention, a touch is interpreted by software associated with the invention as a request to send a keyboard event to an application running on a companion device or system 80 or 90, e.g., notebook, PDA, cell phone, Kiosk device, point of sale device, etc.

In FIG. 1A, as the user's finger moves downward and begins to intersect optical energy plane 30, a portion of the finger tip facing OS1 will now reflect optical energy 130. At least some reflected optical energy 130 will be detected by OS2, since the wavelength of the reflected energy is the same as the energy emitted by OS1, and OS2 is responsive to energy of such wavelength. Thus, planar quasi-three-dimensional sense system 10 detects optical energy reflected by the interaction of a user controlled object (e.g., a finger, a stylus, etc.) occurring at a plane of interest defined by fan-beam plane 30. Any interaction(s) that may occur on any other plane are deemed not relevant and may be ignored by the present invention.

Thus, until an object such as a portion of a user's hand or perhaps of a stylus intersects the optical energy plane 30 emitted by OS1 20, there will be no reflected optical energy 130 for OS2 60 to detect. Under such conditions, system 10 knows that no user input is being made. However as soon as the optical energy plane is penetrated, the intersection of the penetrating object (e.g., fingertip, stylus tip, etc.) is detected by OS2 60, and the location (x,z) of the penetration can be determined by processor unit 70 associated with system 10. In FIG. 1A, if the user's left forefinger is touching the portion of virtual input device 50 defined as co-ordinate (x7, z3), then software associated with the invention can determine that the letter “t” has been “pressed”. Since no “shift key” is also being pressed, the pressed letter would be understood to be lower case “t”.

In the embodiment shown, system 10 can generate and input to system 80 or 90 keystrokes representing data and/or commands that a user would have entered on an actual keyboard. Such input to system 80 or 90 can be used to show information 140 on display 150, as the information is entered by the user on virtual input device 50. If desired, an enlarged cursor region 160 could be implemented to provide additional visual input to aid the user who is inputting information. If desired, processor unit 70 could cause system 80 and/or 90 to emit audible feedback to help the user, e.g., electronic keyclick sounds 170 corresponding with the “pressing” of a virtual key on virtual input device 50. It is understood that if system 80 or 90 were a musical instrument rather than a computer or PDA or cellular telephone, musical sounds 170 would be emitted, and virtual input-device 50 could instead have the configuration similar to a piano keyboard or keyboards associated with synthetic music generators.

FIG. 1B depicts a non-structured active light system 10, in which a camera 20′ in a first optical system OS1 defines a plane of interest 30′ that in essence replaces plane 30 defined by optical emitter OS1 in the embodiment of FIG. 1A. Camera 20′ OS1 preferably is similar to camera 60 OS2, which may be similar to camera 60 OS2 in the embodiment of FIG. 1A. For example, OS1 20′ may have a sensor array that comprises at least one line and preferably several lines of pixel detector elements. The embodiment of FIG. 1B is active in that one or more light sources 190, disposed intermediate OS1 20′ and OS2 60 generate optical energy of a wavelength that is detectable by camera OS1 20′ and by camera OS2 60. To reduce the effects of ambient light upon detection by cameras OS1 and OS2, preferably each camera and each optical energy emitter 190 operates in cooperation with a shutter mechanism, preferably synchronized, e.g., by unit 70. Thus, during the times that shutters 22 permit optical energy from emitter 190 to radiate towards the virtual input device 50, 50′, 50″, similar shutters 22 will permit cameras OS1 and OS2 to detect optical energy. The interaction of user-object, e.g., 120L with plane 30′ is detected by OS1 and by OS2. The location of the point of intersection is then calculated, e.g., using triangulation methods described later herein.

In FIG. 1B, a bump or irregularity in the plane of work surface 40 is shown near the point of contact 110 with the user-object 120L. An advantage of the presence of second camera OS1 20′ is that the plane of interest 30′ may be selected, perhaps by unit 70, to lie just above the highest irregular portion of work surface 40. If irregularities were present in work surface 40 in the embodiment of FIG. 1A, it would be necessary to somehow reposition the laser plane 30 relative to the work surface. But in FIG. 1B, the effect of such repositioning is attained electronically simply by selecting an appropriate line of pixels from the detector array with OS1 20′.

Note that the configuration of FIG. 1B lends itself to various methods to improve the signal/noise ratio. For example, shutters 22 can permit cameras OC1 and OS2 to gather image data during a time that emitters 190 are turned off, e.g., by control unit 70. Any image data then acquired by OS1 and/or OS2 will represent background noise resulting from ambient light. (Again it is understood that to minimize effects of ambient light, emitters 190 and cameras OS1, OS2 preferably operate at a wavelength regime removed from that of ambient light.) Having acquired what might be termed a background noise signal, cameras OS1 and OS2 can now be operated normally and in synchronism with emitter(s) 190. Image data acquired by cameras OS1 and OS2 in synchronism with emitter(s) 190 will include actual data, e.g., user-object interface with plane 30′, plus any (undesired) effects due to ambient light. Processor unit 70 (or another unit) can then dynamically subtract the background noise signal from the actual data plus noise signal, to arrive at an actual data signal, thus enhancing the signal/noise ratio.

FIG. 1C depicts a non-structured passive embodiment of the present invention. System 10 in FIG. 1C is passive in that whatever source 195 of ambient light is present provides optical energy used during imaging. Similar to system 10 in FIG. 1B, OS1 is a camera 20′ that defines a plane of interest 30′, and OS2 is a camera 60. Typically plane 30′ will be defined a distance ΔY′ above work surface 40, typically a distance of a few mm. User-object interaction with plane 30′ is detected by OS1 and OS2, using optical energy from ambient light source 195. Triangulation methods may then be used to localize the point of interaction or intersection with plane 30′, as described elsewhere herein.

FIG. 2A depicts the geometry with which location (x,z) of the intercept point between a user's finger or object 12OR and plane 30 may be determined using triangulation. FIG. 2A and FIG. 2B may be used to describe analysis of the various embodiments shown in FIGS. 1A-1C.

As used herein, triangulation helps determine the shape of surfaces in a field of view of interest by geometric analysis of triangles formed by the projection rays, e.g., R1, R2 of two optical systems, e.g., OS1 20, OS2 60. A baseline B represents the known length of the line that connects the centers of projection of the two optical systems, OS1, OS2. For a point (x,z) on a visible surface in the field of view of interest, a triangle may be defined by the location of the point and by locations of OS1, and OS2. The three sides of the triangle are B, R1, and R2. OS1 and OS2 can determine the angular distance of the triangle from a reference plane, as well as the angles α1 and α2 formed by the projection rays that connect the surface point with the centers of projection of the two optical systems. Angles α1 and α2 and baseline B completely determine the shape of the triangle. Simple trigonometry can be used to yield the distance to the surface point (x,z), as well as length of projection ray R1 and/or R2.

It is not required that OS1 20 be implemented as a single unit. For example FIG. 2B depicts a structured-light embodiment in which the first optical system is bifurcate: one portion OS1-A 20-A is a light emitter disposed distance B from OS2 and from the second portion OS1-B 20-B, a light reflecting device such as a mirror. An incoming fan beam generated by OS1-A is deflected by mirror 20-B to form the plane 30. In the orientation of FIG. 2B, mirror 20-B is inclined about 45° relative to the horizontal plane, and deflection is from a substantially vertical plane to a substantial horizontal plane. In FIG. 2B and indeed in a passive light embodiment, OS2 60 will be a camera aimed at angle φ generally toward the field of view of interest, namely where a user's finger or stylus will be to “use” a virtual input device disposed beneath fan plane 30.

Triangulation according to the present invention preferably uses a standard camera with a planar sensor as OS2 60. The nature of OS1 20 distinguishes between two rather broad classes of triangulation. In a structured-light triangulation, OS1 20 is typically a laser or the like whose beam may be shaped as a single line that is moved to project a moving point onto a surface. Alternatively the laser beam may be planar and moved to project a planar curve. As noted, another class of triangulation system may be termed passive triangulation in which a camera is used as OS1 20. Structured-light systems tend to be more complex to build and consume more operating power, due to the need to project a plane of light. Passive systems are less expensive, and consume less power. However passive system must solve the so-called correspondence problem, e.g., to determine which pairs of points in the two images are projections of the same point in the real world. As will be described, passive non-structured-light triangulation embodiments may be used, according to the present invention.

Whether system 10 is implemented as a structured-light system in which OS1 actively emits light and OS2 is a camera, or as a passive system in which OS1 and OS2 are both cameras, information from OS2 and OS1 will be coupled to a processing unit, e.g., 70, that can determine what events are occurring. In either embodiment, when an object such as 120R intersects the projection plane 30 associated with OS1 20, the intersection is detectable. In a structured-light embodiment in which OS1 emits optical energy, the intersection is noted by optical energy reflected from the intersected object 120R and detected by OS2, typically a camera. In a passive light embodiment, the intersection is seen by OS1, a camera, and also by OS2, a camera. In each embodiment, the intersection with plane 30 is detected as though the region of surface 40 underlying the (x,z) plane intersection were touched by object 120R. System 10 preferably includes a computing system 70 that receives data from OS1, OS2 and uses geometry to determine the plane intersection position (x,z) from reflected image coordinates in a structured-light embodiment, or from camera image coordinates in a passive system. As such, the dual tasks of detecting initial and continuing contact and penetration of plane 30 (e.g., touch events), and determining intersection coordinate positions on the plane may be thus accomplished.

To summarize thus far, touch events are detected and declared when OS1 recognizes the intersection of plane 30 with an intruding object such as 120R. In a two-camera system, a correspondence is established between points in the perceived image from OS1 and from those in OS2. Thereafter, OS2 camera coordinates are transformed into touch-area (x-axis, z-axis) coordinates to locate the (x,z) coordinate position of the event within the area of interest in plane 30. Preferably such transformations are carried out by processor unit 70, which executes algorithms to compute intersect positions in plane 30 from image coordinates of points visible to OS2. Further, a passive light system must distinguish intruding objects from background in images from OS1 and OS2. Where system 10 is a passive light system, correspondence-needs to be established between the images from camera OS1 and from camera OS2. Where system 10 is a structured-light system, it is desired to minimize interference from ambient light.

Consider now computation of the (X,Z) intersection or tip position on plane 30. In perspective projection, a plane in the world and its image are related by a transformation called a homography. Let a point (X,Z) on such plane be represented by the column vector P=(X, Z, 1)T, where the superscript T denotes transposition. Similarly, let the corresponding image point be represented by p=(x, z, 1)T.

A homography then is a linear transformation P=Hp, where H is a 3×3 matrix.

This homography matrix may be found using a calibration procedure. Since the sensor rests on the surface, sensor position relative to the surface is constant, and the calibration procedure need be executed only once. For calibration, a grid of known pitch is placed on the flat surface on which the sensor is resting. The coordinates pi of the image points corresponding to the grid vertices Pi are measured in the image. A direct linear transform (DLT) algorithm can be used to determine the homography matrix H. Such DLT transform is known in the art; see for example Richard Hartley and Andrew Zisserman. Multiple View Geometry in Computer Vision, Cambridge University Press, Cambridge, UK, 2000.

Once H is known, the surface point P corresponding to a point p in the image is immediately computed by the matrix-vector multiplication above. Preferably such computations are executed by system 70.

Image correspondence for passive light embodiments will now be described. Cameras OS1 20 and OS2 60 see the same plane in space. As a consequence, mapping between the line-scan camera image from OS1 and the camera image from OS2 will itself be a homography. This is similar to mapping between the OS2 camera image and the plane 30 touch surface described above with respect to computation of the tip intercept position. Thus a similar procedure can be used to compute this mapping.

Note that since line scan camera OS1 20 essentially sees or grazes the touch surface collapsed to a single line, homography between the two images is degenerate. For each OS2 camera point there is one OS1 line-scan image point, but for each OS1 line-scan image point there is an entire line of OS2 camera points. Because of this degeneracy, the above-described DLT algorithm will be (trivially) modified to yield a point-to-line correspondence. By definition, a passive light embodiment of the present invention has no control over ambient lighting, and it can be challenging to distinguish intruding intersecting objects or tips from the general background. In short, how to tell whether a particular image pixel in an OS1 image or OS2 image represents the image of a point on an object such as 120R, or is a point in the general background. An algorithm executable by system 70 will now be described.

Initially, assume one or more background images 1 1, . . . , In with only the touch surface portion of plane 30 in view. Assume that cameras OS1 and OS2 can respond to color, and let Rbi(x, z), Gbi(x, z), Bbi(x, z) be the red, green, and blue components of the background image intensity li at pixel position (x, z). Let sb(x, z) be a summary of Rbi(x, z), Gbi(x, z), Bbi(x, z) over all images. For instance, Sb(x, z) can be a three-vector with the averages, medians, or other statistics of Rbi(x, z), Gbi(x, z), Bbi(x, z) at pixel position (x, z) over all background images I1, . . . , In, possibly normalized to de-emphasize variations in image brightness.

Next, collect a similar summary st for tip pixels over a new sequence of images J1, . . . , Jm. This second summary is a single vector, rather than an image of vectors as for Sb(x, z). In other words, st does not depend on the pixel position (x, z). This new summary can be computed, for instance, by asking a user to place finger tips or stylus in the sensitive area of the surface, and recording values only at pixel positions (x, z) whose color is very different from the background summary sb(x, z) at (x, z), and computing statistics over all values of j, x, z.

Then, given a new image with color components c(x, z)=(R(x, z), G(x, z), B(x, z)), a particular pixel at (x, z) is attributed to either tip or background by a suitable discrimination rule. For instance, a distance d(c1, c2) can be defined between three-vectors (Euclidean distance is one example), and pixels are assigned based on the following exemplary rule:

    • Background if d(c(x,z), sb(x, z))<<d(c(x,z), st).
    • Tip if d(c(x,z), sb(x, z))>>d(c(x,z), st).
    • Unknown otherwise.

Techniques for reducing ambient light interference, especially for a structured-light triangulation embodiment will now be described. In such embodiment, OS2 needs to distinguish between ambient light and light produced by the line generator and reflected back by an intruding object.

Using a first method, OS1 emits energy in a region of the light spectrum where ambient light has little power, for instance, in the near infrared. An infrared filter on camera OS2 can ensure that the light detected by the OS2 sensor is primarily reflected from the object (e.g., 120R) into the lens of camera OS2.

In a second method, OS1 operates in the visible part of the spectrum, but is substantially brighter than ambient light. Although this can be achieved in principle with any color of the light source, for indoor applications it may be useful to use a blue-green light source for OS1 (500 nm to 550 nm) because standard fluorescent lights have relatively low emission in this band. Preferably OS2 will including a matched filter to ensure that response to other wavelengths are substantially attenuated.

A third method to reduce effects of ambient light uses a standard visible laser source for OS1, and a color camera sensor for OS2. This method uses the same background subtraction algorithm described above. Let the following combination be defined, using the same terminology as above:
C(x, z)=min{d(c(x,z), sb(x, z)), d(c(x,z), st)}.

This combination will be exactly zero when c(x,z) is equal to the representative object tip summary st (since d(st, st)=0) and for the background image sb(x, z) (since d(sb(x, z), sb(x, z))=0), and close to zero for other object tip image patches and for visible parts of the background. In other words, object tips and background will be hardly visible in the image C(x,z). By comparison, at positions where the projection plane 30 from laser emitter OS1 intersects object tips 120R, the term d(c(x,z), st) will be significantly non-zero, which in turn yields a substantially non-zero value for C(x,z). This methodology achieves the desired goal of identifying essentially only the object tip pixels illuminated by laser (or other emitter) OS1. This method can be varied to use light emitters of different colors, to use other distance definitions for the distance d, and to use different summaries Sb(x, z) and st.

In FIG. 1A, if device 80 is a compact system such as a PDA or cell telephone, it becomes especially desirable to reduce the size needed to implement the present invention. A smaller overall form fact can result if OS2 is inclined at some angle θ, as shown in FIGS. 1A-1C, 2A, 2B, with respect to plane 30 or surface 40. But as angle θdecreases, camera OS2 sees plane 30 from a shallower angle. For a fixed size for the sensitive area of plane 30, i.e., the surface rectangle that is to be “touched” by a user object to manipulate an underlying virtual input device, as distance B and angle θ decrease, the effective area subtended by the field of view decreases. The result is to decrease effective OS2 resolution and thus to decrease accuracy of z-depth measurements as shown in FIG. 3A, where L denotes a camera lens associated with OS2, whose plane of pixel detectors is shown as a straight line labeled OS2.

As noted in FIG. 3A, moving OS2 closer to plane 30 results in a shallower viewpoint and in a smaller, less accurately perceived, camera image. These adverse side effects may be diminished as shown in FIG. 3B by tilting the plane of pixel detectors in camera OS2, indeed tilting almost parallel to plane 30. With the tilted configuration of FIG. 3B, note that a substantially greater number of image scan lines intersect the cone of rays from the sensitive area on plane 30, which increases depth resolution accordingly. Compare, for example, the relatively small distance Dx in FIG. 3A with the larger distance Dx′ in FIG. 3B, representing the larger number of image scan lines now in use. Further, as the OS2 camera sensor plane becomes more parallel to the plane of the touch surface or to plane 30, less distortion of the touch surface image results. This implies that parallel lines on the touch surface (or on plane 30) will remain parallel in the OS2 camera image. An advantage is the simplification of the homography H to an affine transformation (a shift and a scale). Further, image resolution is rendered more uniform over the entire sensitive area within the field of view of interest.

Consider now the configuration of FIG. 3C. It is apparent that different points on the touch sensitive area of interest on plane 30 are at different distances from lens L of camera OS2. This means that one cannot focus the entire sensitive area of interest precisely if lens L is positioned as shown in FIG. 3A or in FIG. 3B. While closing the camera iris could increase the depth of field, resultant images would become dimmer, and image signal-to-noise ratio would be degraded.

Accordingly the configuration of FIG. 3C may be employed in which lens L is repositioned relative to FIG. 3B. In this configuration, touch surface 30, the camera OS2 sensor, and camera lens L are said to satisfy the so-called Scheimpflug condition, in which their respective planes intersect along a common line, a line that is at infinity in FIG. 3C. Further details as to the Scheimpflug condition may be found at The Optical Society of America. Handbook of Optics, Michael Bass, Editor in Chief, McGraw-Hill, Inc., 1995. In FIG. 3C, when the relevant optical system satisfies this condition, all points on touch surface 30 will be in focus. Thus, by using an appropriately tilted sensor OS2, an appropriately positioned lens S that satisfy the Scheimpflug condition, the image seen by OS2 of points of interest on surface plane 30 will be in focus, and will exhibit high resolution with little distortion. But meeting the Scheimpflug condition can result in loss of image brightness because the angle that the lens subtends when viewed from the center of the sensitive area on plane 30 is reduced with respect to the configuration of FIG. 3B. As a consequence, it may be preferable in some applications to reach a compromise between sharpness of focus and image brightness, by placing OS2 camera lens in an orientation intermediate between those of FIG. 3B and FIG. 3C. FIG. 3D depicts one such intermediate configuration, in which lens L is purposely tilted slightly away from a Scheimpflug-satisfying orientation with respect to planes of OS2 and 30.

Such intermediate orientations do not satisfy the Scheimpflug condition, but by a lesser degree and therefore still exhibit good focusing than a configuration whose lens axis points directly towards the center of the sensitive area of plane 3. FIG. 3E depicts another alternative intermediate configuration, one in which the Scheimpflug condition is exactly verified, but the camera sensor OS2 is tilted away from horizontal. The configuration of FIG. 3E can achieve exact focus but with somewhat lower image resolution and more distortion than the configuration of FIG. 3C.

FIG. 4 is a block diagram depicting operative portions of processor unit 70 within system 10, which processor unit preferably carries out the various triangulation and other calculations described herein to sense and identify (x,z) intercepts with the plane of interest 30. As the left portion of FIG. 4, information from OS1 20 and OS2 30 is input respectively to pixel maps 200-1, 200-2. In FIG. 4, OS1 and OS2 inputs refer to a stream of frames of digitized images are generated by optical system 1 (20) and optical system 2 (60) in a planar range sensor system 10, according to the present invention. In a preferred embodiment, optical system generates at least about 30 frames per second (fps). Higher frame rates are desirable in that at 30 fps, the tip of the user's finger or stylus can move several pixels while “typing” on virtual input device between two frames. Pixel map modules 200-1, 200-2 construct digital frames from OS1 and OS2 in memory associated with computational unit 70. Synchronizer module 210 ensures that the two optical systems produce frames of digitized images at approximately the same time. If desired, a double-buffering system may be implemented to permit construction of one frame while the previous frame (in time) is being processed by the other modules. Touch detection module 220 detects a touch (e.g., intersection of a user finger or stylus with the optical plane sensed by OS1) when the outline of a fingertip or stylus appears in a selected row of the frame. When a touch is detected, tip detection module 230 records the outline of the corresponding fingertip into the appropriate pixel map, 200-1 or 200-2. In FIG. 4, in a structured-light embodiment where OS1 is a light beam generator, no pixel map is produced, and touch detection will use input from OS2 rather than from OS1.

Touch position module 240 uses tip pixel coordinates from tip detection module 230 at the time a touch is reported from touch detection module 220 to find the (x-z) coordinates of the touch on the touch surface. As noted, a touch is tantamount to penetration of plane 30 associated with an optical emitter OS1 in a structured-light embodiment, or in a passive light embodiment, associated with a plane of view of a camera OS1. Mathematical methods to convert the pixel coordinates to the X-Z touch position are described elsewhere herein.

Key identification module 260 uses the X-Z position of a touch and maps the position to a key identification using a keyboard layout table 250 preferably stored in memory associated with computation unit 70. Keyboard layout table 250 typically defines the top/bottom/left and right coordinates of each key relative to a zero origin. As such, a function of key identification module 260 is to perform a search of table 250 and determine which key contains the (x,z) coordinates of the touch point. When the touched (virtual) key is identified, translation module 270 maps the key to a predetermined KEYCODE value. The KEYCODE value is output or passed to an application that is being executed on the companion device or system 80 (executing on a companion device) that is waiting to receive-a notification of a keystroke event. The application under execution interprets the keystroke event and assigns a meaning to it. For instance, a text input application uses the value to determine what symbol was typed. An electronic piano application determines what musical note was pressed and plays that note, etc.

Alternatively, as shown in FIG. 4, the X-Z touch coordinates can be passed directly to application 280. Application 280 could use the coordinate data to control the position of a cursor on a display in a virtual mouse or virtual trackball embodiment, or to control a source of digital ink whose locus is shown on a display for a drawing or hand-writing type application in a virtual pen or virtual stylus embodiment.

FIG. 5A is a simplified view of system 10 in which virtual device 50 is now a control with five regions, and in which the companion device 80, 90 includes a monitor. In this embodiment, companion device 80 or 90 is shown with a display 150 that may include icons 140, one of which is surrounded by a cursor 310 and a user can move using virtual device 50′, here a virtual trackball or mouse. For example, within virtual device 50′, if a portion of the user's hand 120R (or stylus) presses virtual region 300-1, the displayed cursor 310 on companion device 80, 90 will be commanded to move to the left. If virtual region 300-2 is pressed, the cursor should move upward. If virtual region 300-3 is pressed, the cursor should move to the right, e.g., to “select” the icon of a loaf of bread, and if virtual region 300-4 is pressed, the cursor should move towards the bottom of the display on device 80, 90. If user presses the fifth region 300-5, a “thumbs up” region, companion device 80, 90 knows that the user-selection is now complete. In FIG. 5A, if the user now presses region 300-5, the “hotdog” icon is selected. If device 80, 90 were a kiosk in a supermarket, for example, selecting the “hotdog” icon might bring up a display showing where in the market hotdogs are to be found, or the price of various brands of hot dogs being sold, or device 80, 90 might even dispense hotdogs. If device 80, 90 were used in a transportation setting, the icons (or words) might be various destinations, and device 80 or 90 could indicate routes, schedules, and fares to the destinations, and could even dispense tickets for use on a bus, a subway, an airline, a boat, etc. A user could, for example, press two regions of input device 50′ representing trip originating point and trip destination point, whereupon system 10 could cause a display of appropriate transportation vehicles, schedules, fares, etc. to be displayed and, if desired, printed out. It will be appreciated that information generated by system 10 may simply be raw (x,z) coordinates that a software application executed by a companion device may use to reposition a cursor or other information on a display.

It is understood in FIG. 5A that virtual device 50′ is passive; its outline may be printed or-painted onto an underlying work surface, or perhaps its outline can be projected by system 10. The various regions of interest in virtual device 50 may be identified in terms of coordinates relative to the x-z plane. Consider the information in Table 1, below, which corresponds to information in keyboard layout 250 in FIG. 4:

U −2 −1 −1 1
B 1 2 −1 1
R −1 1 1 2
L −1 1 −2 −1
−1 1 −1 1

When the user's finger (or stylus) touches a region of virtual input device 50, touch position module 240 (see FIG. 4) determines the (x,z) coordinates of the touch point 110. In FIG. 5, touch point 110 is within “B” region 300-4. Key identification module 260 uses the keyboard layout 250 information, in this example as shown in Table 1, to determine where in the relevant (x,z) plane the touch point coordinates occur. By way of example, assume touch coordinates (x,z) are (1.5,0.5). A search routine preferably stored in memory associated with unit 70 (see FIG. 1A) and executed by unit 70 determines that 1<x<2, and −1<z<1. Searching information in Table 1, the key identification module will determine that touch point 110 falls within entry B. In this example, companion device 80 and 90 receives data from system 10 advising that region B has been touched. Processor unit 70 in system 10 can cause the companion device to receive such other information as may be required to perform the task associated with the event, for example to move the cursor downward on the display.

FIG. 5B depicts an embodiment of system 10 similar to that shown in FIG. 1A. In FIG. 5B the virtual input device 50 is a computer keyboard and the companion device 80, 90 is a mobile transceiver, a cellular telephone for example. It is to be understood that system 10 could in fact be implemented within device 80, 90. As such, OS1 might emit fan-beam 30 from a lower portion of device 80, 90, and OS2 might be disposed in an upper portion of the same device. The virtual input device 50 could, if desired, be projected optically from device 80, 90. Alternatively virtual input device 50 might be printed on a foldable substrate, e.g., plastic, paper, etc. that can be retained within device 80, 90, then removed and unfolded or unrolled and placed on a flat work surface in front of device 80, 90. The location of virtual input device 50 in front of device 80, 90 would be such that OS1 can emit a fan-beam 30 encompassing the virtual input device, and OS2 can detect intersection 110 of an object, e.g., a user's finger or cursor, etc., with a location in the fan-beam overlying any region of interest in virtual input device 50.

In FIG. 5B, OS2 will not detect reflected optical energy until object 120R intercepts fan-beam 130, whereupon some optical energy emitted by OS1 will be reflected (130) and will be detected by OS2. Relative to the (x,z) coordinate system shown in FIG. 1A, the point of interception 110 is approximately location (13,5). Referring to FIG. 4, it is understood that keyboard layout table 250 will have at least one entry for each virtual key, e.g., “1”, “2”, . . . “Q”, “W”, . . . “SHIFT” defined on virtual input device 50. An entry search process similar to that described with respect to FIG. 5A is carried out, preferably by unit 70, and the relevant virtual key that underlies touch point 110 can be identified. In FIG. 5B, the relevant key is “I”, which letter “I” is shown on display 150 as part of e-mail message text 140 being input into cellular telephone 80, 90 by a portion of the user's hand 120R (or by a stylus). The ability to rapidly touchtype messages into cellular telephone 80, 90 using virtual keyboard 50, as contrasted with laboriously inputting messages using the cellular telephone keypad will be appreciated.

In FIG. 5C, an embodiment of system 10 is shown in which the workspace 40 is a vertical wall, perhaps in a store or mall, and virtual input device 50 is also vertically disposed. In this embodiment, virtual input device 50 is shown with several icons and/or words 320 that when touched by a user's hand 120, e.g., at touch point 110, will cause an appropriate text and/or graphic image 140 to appear on display 150 in companion device 80, 90. In the example shown, icons 320 may represent locations or departments in a store, and display 150 will interactively provide further information in response to user touching of an icon region. In a mall, the various icons may represent entire stores, or department or regions within a store, etc. The detection and localization of touchpoints such as 110 is preferably carried out as has been described with respect to the embodiments of FIGS. 3A and 3B. Preferably processor unit 70 within system 10 executes software, also stored within or loadable into processor unit 70, to determine what icon or text portion of virtual input device 50 has been touched, and what commands and/or data should be communicated to host system 80, 90.

In the embodiment of FIG. 5C, if the virtual input device 50 is apt to be changed frequently, e.g., perhaps it is a menu in a restaurant where display 150 can provide detailed information such as calories, contents of sauces, etc., device 50 may be back projected from within wall 40. Understandably if the layout and location of the various icons 320 change, mapping information stored within unit 70 in system 10 will also be changed. The ability to rapidly change the nature and content of the virtual input device without necessarily be locked-into having icons of a fixed size in a fixed location can be very useful. If desired, some icons may indeed be fixed in size and location on device 50, and their touching by a user may be used to select a re-mapping of what is shown on input device 50, and what is mapped by software within unit 70. It is understood that in addition to simply displaying information, which may include advertisements, companion device 80, 90 may be used to issue promotional coupons 330 for users.

Turning now to FIG. 6, the manner of registering a touch event and localizing its position is determined by system 10 in a manner, depending upon whether system 10 is a structured-light system or a passive light system. As noted earlier, in a structured-light system OS1 may be a line generating laser system, and in a passive light system, OS1 may be a digital camera. Each system defines a plane 30 that when intercepted by an object such as 120R will define a touch event whose (x,z) coordinates are to then be determined. Once the (x,z) coordinates of the virtual touch are determined, the present invention can decide what input or command was intended by the person using the system. Such input or command can be passed to a companion device, which device may in fact also house the present invention.

If system 10 is a passive light system, a touch event is registered when the outline of a fingertip appears in a selected frame row of OS1, a digital camera. The (x,z) plane 30 location of the touch is determined by the pixel position of the corresponding object tip (e.g., 120R) in OS2, when a touch is detected in OS1. As shown in FIG. 6, the range or distance from camera OS1 to the touch point is an affine function of the number of pixels from the “near” end of the pixel frame.

As noted, in a structured-light embodiment, OS1 will typically be a laser line generator, and OS2 will be a camera primarily sensitive to wavelength of the light energy emitted by OS1. As noted, this can be achieved by installing a narrowband light filter on OS2 such that only wavelength corresponding to that emitted by OS1 will pass. Alternatively, OS2 can be understood to include a shutter that opens and closes in synchronism to pulse output of OS1, e.g., OS2 can see optical energy only at time that OS1 emits optical energy. In either embodiment of a structured-light system, OS2 preferably will only detect objects that intercept plane 30 and thus reflect energy emitted by OS1.

In the above case, touch sense detection and range calculation are carried out by system 10. Thus, a touch event is registered when the outline of an object, e.g., fingertip 120R, appears within the viewing range of OS2. As in the above example, range distance may be calculated as an affine function of the number of pixels from the “near” end of pixel frame.

A further example of analytical steps carried out in FIG. 4 by the present invention will now be given. Assume that the virtual input device is a keyboard 50, such as depicted in FIG. 1A, and that system 10 is expected to output information comprising at least the scan code corresponding to the virtual key that the user has “touched” on virtual keyboard 50. In FIG. 1A and FIG. 2A, assume that the upper portion (e.g., the row with virtual keys “ESC”, “F1”, “F2”, etc.) is a distance of about 20 cm from optical system OS1 20. Assume that camera OS2 60 is mounted on a PDA or other device 80 that is about 10 cm tall, and is placed at a known angle α1=120° relative to the plane 30. Assume too that camera OS2 60 has a lens with a focal length of about 4 mm, and a camera sensor arrayed with 480 rows and 640 columns.

The Z coordinate of the upper left corner of virtual keyboard 50 is set by convention to be x=0 and z=0, e.g., (0,0). The homography H that maps points in the image to points on the virtual device depends on the tilt of camera OS2 60. An exemplary homography matrix for the configuration above is as follows: H = [ 0.133 - 0.061 32.9 - 0.194 0.0 15.1 0.0 0.0 1.0 ] .

The above matrix preferably need be determined only once during a calibration procedure, described elsewhere herein.

Referring now to FIG. 1A and FIG. 7, assume that user 120L touches the region of virtual keyboard 50 corresponding to the letter “T”, which letter “T”may be printed on a substrate to guide the user's fingers or may be part of an image of the virtual input device perhaps projected by system 10. Using the system of coordinates defined above, key “T” may be said to lie between horizontal coordinates xmin=10.5 and xmax=12.4 cm, and between vertical coordinates zmin=1.9 and zmax=3.8 cm, as shown in FIG. 7.

Referring now to FIG. 6, before the user's finger 120L (or stylus) intersects the plane of sensor OS1 20, the latter detects no light, and sees an image made of black pixels, as illustrated shown in vignette 340 at the figure bottom. However, as soon as the user-object intersects optical plane 30, the intersection event or interface becomes visible to OS1 20. OS1 20 now generates an image similar to the one depicted in vignette 350 at the bottom of FIG. 6. When the downward moving tip 110 of user-object (e.g., finger 120L) reaches surface 40, more of the finger becomes visible. The finger contour may now be determined, e.g., by unit 70 using edge detection. Such determination is depicted at the bottom of FIG. 6 as “TOUCH” event vignette 360. Touch detection module 220 in FIG. 4 then determines that the user-object has touched surface 40, and informs tip detection module 230 of this occurrence.

As seen in FIG. 1A, the virtual ‘T’ key is found in the second row of virtual keyboard 50, and is therefore relatively close to sensor OS1 20. In FIG. 6, this situation corresponds to the fingertip in position 110′. As further shown in FIG. 6, the projection of the bottom of the fingertip position 110′ onto the sensor of optical system OS2 60 is relatively close to the top of the image. The edge of the fingertip image thus produced is similar that shown in vignette 370 at the top of FIG. 6. In vignette 370, the two gray squares shown represent the bottom edge pixels of the fingertip.

Had the user instead struck the spacebar or some other key closer to the bottom of virtual keyboard 50, that is, further away from the sensor OS1 20, the situation depicted by fingertip position 110 in FIG. 6 would have arisen. Such a relatively far location on the virtual keyboard is mapped to a pixel closer to the bottom of the image, and an edge image similar to that sketched in vignette 380 at the top of FIG. 6 would have instead arisen. Intermediate virtual key contact situations would produce edge images that are more similar to that depicted as vignette 390 at the top of FIG. 6.

In the above example in which virtual key ′ T′ is pressed, tip detection module 230 in FIG. 4 runs an edge detection algorithm, and thereby finds the bottom center of the “blob” representing the generalized region of contact to be at image row 65 and column 492. The homogeneous image coordinate vector p, given below is therefore formed: p = [ 65 492 1 ]

The homogeneous image coordinate vector p is then multiplied by the homography matrix H to yield the coordinates P of the user fingertip in the frame of reference of the virtual keyboard: P = Hp = [ 0.133 × 65 - 0.061 × 492 + 32.9 × 1 - 0.194 × 65 × 0.0 × 492 + 15.1 × 1 0.0 × 65 + 0.0 × 492 + 1.0 × 1 ] [ 11.53 2.49 1.00 ] .

The user-object or finger 120L is thus determined to have touched virtual keyboard 50 at a location point having coordinates x=11.53 and z=2.49 cm. Key identification module 260 in FIG. 4 searches keyboard layout 250 for a key such that xmin≦1153<xmax and ymin≦249<ymax.

These conditions are satisfied for the virtual “T” key because 10.5<11.53<12.4, and 1.9<2.49<3.8. Referring to FIG. 4, key identification module 260 therefore determines that a user-object is touching virtual key “T” on virtual keyboard 50, and informs translation module 270 of this occurrence.

The occurrence need not necessarily be a keystroke. For example, the userobject or finger may have earlier contacted the “T” key and may have remained in touch contact with the key thereafter. In such case, no keystroke event should be communicated to application 280 running on the companion device 80 or 90.

Key translation module 270 preferably stores the up-state or down-state of each key internally. This module determines at every frame whether any key has changed state. In the above example, if the key “T” is found to be in the down-state in the current frame but was in the up-state in the previous frame, translation module 270 sends a KEYCODE message to application 280. The KEYCODE code will include a ′ KEY DOWN′ event identifier, along with a ′ KEY ID′ tag that identifies the “T” key, and thereby informs application 280 that the “T” key has just be “pressed” by the user-object. If the “T” key were found to have been also in the down-state during previous frames, the KEYCODE would include a ′ KEY HELD′ event identifier, together with the ′ KEY ID′ associated with the “T” key. Sending the ′ KEY HELD′ event at each frame (excepting the first frame) in which the key is in the down-state frees application 280 from having to maintain any state about the keys. Once the “T” key is found to be in the up-state in the current frame but was in the downstate in previous frames, translation module 270 sends a KEYCODE with a ′ KEY UP′ event identifier, again with a ′ KEY ID′ tag identifying the “T” key, informing application 280 that the “T” key was just “released” by the user-object.

From the foregoing, it will be appreciated that it suffices that frame images comprise only the tips of the user-object, e.g., fingertips. The various embodiments of the present invention use less than full three-dimensional image information acquired from within a relatively shallow volume defined slightly above a virtual input or virtual transfer device. A system implementing these embodiments can be relatively inexpensively fabricated and operated from a self-contained battery source. Indeed, the system could be constructed within common devices such as PDAs, cellular telephones, etc. to hasten the input or transfer of information from a user. As described, undesired effects from ambient light may be reduced by selection of wavelengths in active light embodiments, by synchronization of camera(s) and light sources, by signal processing techniques that acquire and subtract-out images representing background noise.

Modifications and variations may be made to the disclosed embodiments without departing from the subject and spirit of the invention as defined by the following claims.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US4507557 *Apr 1, 1983Mar 26, 1985Siemens Corporate Research & Support, Inc.Non-contact X,Y digitizer using two dynamic ram imagers
US4855590 *Jun 25, 1987Aug 8, 1989Amp IncorporatedInfrared touch input device having ambient compensation
US5196835 *May 2, 1991Mar 23, 1993International Business Machines CorporationLaser touch panel reflective surface aberration cancelling
US5317140 *Nov 24, 1992May 31, 1994Dunthorn David IDiffusion-assisted position location particularly for visual pen detection
US5528263 *Jun 15, 1994Jun 18, 1996Daniel M. PlatzkerInteractive projected video image display system
US5676842 *Aug 7, 1995Oct 14, 1997K. J. Manufacturing Co.Integral or filter mount and method of changing oil
US5909210 *Mar 20, 1997Jun 1, 1999Compaq Computer CorporationKeyboard-compatible optical determination of object's position
US5936615 *Sep 12, 1996Aug 10, 1999Digital Equipment CorporationImage-based touchscreen
US6043805 *Mar 24, 1998Mar 28, 2000Hsieh; Kuan-HongControlling method for inputting messages to a computer
US6091405 *Aug 8, 1994Jul 18, 2000International Business Machines CorporationInput device
US6252598 *Jul 3, 1997Jun 26, 2001Lucent Technologies Inc.Video hand image computer interface
US6266048 *Aug 27, 1998Jul 24, 2001Hewlett-Packard CompanyMethod and apparatus for a virtual display/keyboard for a PDA
US6281878 *Jan 26, 1998Aug 28, 2001Stephen V. R. MontelleseApparatus and method for inputing data
US6323942 *Sep 22, 1999Nov 27, 2001Canesta, Inc.CMOS-compatible three-dimensional image sensor IC
US6587186 *Jun 6, 2001Jul 1, 2003Canesta, Inc.CMOS-compatible three-dimensional image sensing using reduced peak energy
US6594023 *Sep 11, 2000Jul 15, 2003Ricoh Company, Ltd.Coordinate inputting/detecting apparatus, method and computer program product designed to precisely recognize a designating state of a designating device designating a position
US6611252 *May 17, 2000Aug 26, 2003Dufaux Douglas P.Virtual data input device
US20010030642 *Apr 4, 2001Oct 18, 2001Alan SullivanMethods and apparatus for virtual touchscreen computer interface controller
US20020061217 *Mar 30, 2001May 23, 2002Robert HillmanElectronic input device
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US6968073Apr 24, 2002Nov 22, 2005Automotive Systems Laboratory, Inc.Occupant detection system
US7009594Oct 31, 2002Mar 7, 2006Microsoft CorporationUniversal computing device
US7133031 *Jan 7, 2004Nov 7, 2006Microsoft CorporationOptical system design for a universal computing device
US7215327 *Apr 23, 2003May 8, 2007Industrial Technology Research InstituteDevice and method for generating a virtual keyboard/display
US7355584 *Mar 15, 2005Apr 8, 2008International Business Machines CorporationProjector and camera arrangement with shared optics and optical marker for use with whiteboard systems
US7406181Oct 4, 2004Jul 29, 2008Automotive Systems Laboratory, Inc.Occupant detection system
US7445342 *Nov 29, 2005Nov 4, 2008Symbol Technologies, Inc.Image projection system for personal media player
US8123361Nov 3, 2008Feb 28, 2012Funai Electric Co., Ltd.Dual-projection projector and method for projecting images on a plurality of planes
US8319773Mar 16, 2011Nov 27, 2012Fein Gene SMethod and apparatus for user interface communication with an image manipulator
US8477098 *Oct 31, 2007Jul 2, 2013Gene S. FeinMethod and apparatus for user interface of input devices
US8714749Dec 7, 2012May 6, 2014Seiko Epson CorporationProjection display device with position detection function
US8730165 *May 29, 2013May 20, 2014Gene S. FeinMethod and apparatus for user interface of input devices
US8782556Mar 22, 2010Jul 15, 2014Microsoft CorporationUser-centric soft keyboard predictive technologies
US8860640 *May 30, 2012Oct 14, 2014Christie Digital Systems Usa, Inc.Zonal illumination for high dynamic range projection
US8861789Feb 21, 2011Oct 14, 2014Osram Opto Semiconductors GmbhPortable electronic device
US8902161 *Nov 6, 2012Dec 2, 2014Fujitsu LimitedDevice and method for detecting finger position
US8902225Oct 18, 2012Dec 2, 2014Genedics LlcMethod and apparatus for user interface communication with an image manipulator
US8907894Mar 25, 2010Dec 9, 2014Northridge Associates LlcTouchless pointing device
US8928589 *Apr 20, 2011Jan 6, 2015Qualcomm IncorporatedVirtual keyboards and methods of providing the same
US20040085286 *Oct 31, 2002May 6, 2004Microsoft CorporationUniversal computing device
US20040125147 *Apr 23, 2003Jul 1, 2004Chen-Hao LiuDevice and method for generating a virtual keyboard/display
US20040136083 *Jan 7, 2004Jul 15, 2004Microsoft CorporationOptical system design for a universal computing device
US20100302144 *May 28, 2009Dec 2, 2010Microsoft CorporationCreating a virtual mouse input device
US20110090151 *Apr 20, 2009Apr 21, 2011Shanghai Hanxiang (Cootek) Information Technology Co., Ltd.System capable of accomplishing flexible keyboard layout
US20110096031 *Sep 20, 2010Apr 28, 2011Seiko Epson CorporationPosition detecting function-added projection display apparatus
US20110096032 *Sep 20, 2010Apr 28, 2011Seiko Epson CorporationOptical position detecting device and display device with position detecting function
US20110187679 *Jul 8, 2010Aug 4, 2011Acer IncorporatedOptical touch display device and method thereof
US20110242054 *Oct 6, 2011Compal Communication, Inc.Projection system with touch-sensitive projection image
US20120176341 *Jul 12, 2012Texas Instruments IncorporatedMethod and apparatus for camera projector system for enabling an interactive surface
US20120268376 *Apr 20, 2011Oct 25, 2012Qualcomm IncorporatedVirtual keyboards and methods of providing the same
US20120306817 *Dec 6, 2012Era Optoelectronics Inc.Floating virtual image touch sensing apparatus
US20130181904 *Nov 6, 2012Jul 18, 2013Fujitsu LimitedDevice and method for detecting finger position
US20130222247 *Feb 29, 2012Aug 29, 2013Eric LiuVirtual keyboard adjustment based on user input offset
US20130265283 *Aug 15, 2012Oct 10, 2013Pixart Imaging Inc.Optical operation system
US20140098025 *Feb 14, 2013Apr 10, 2014Cho-Yi LinPortable electrical input device capable of docking an electrical communication device and system thereof
US20140218293 *Apr 7, 2014Aug 7, 2014Gene S. FeinMethod And Apparatus For User Interface Of Input Devices
USRE40880 *Sep 28, 2006Aug 25, 2009P. Milton Holdings, LlcOptical system for inputting pointer and character data into electronic equipment
EP2063347A1 *Nov 5, 2008May 27, 2009Funai Electric Co., Ltd.Projector and method for projecting image
EP2070758A2 *Dec 9, 2008Jun 17, 2009Valeo Systèmes ThermiquesControl device for an automobile accessory and method for implementing such a control device
WO2005114636A2 *May 12, 2005Dec 1, 2005Charles R AdamsProjector pen image stabilization system
U.S. Classification345/156
International ClassificationG06F3/042, G06F3/033, G06F1/16, G06F3/00, G06F3/01, G06F3/02
Cooperative ClassificationG06F1/1613, G06F3/0221, G06F3/011, G06F1/1632, G06F3/04886, G06F1/1626, G06F3/0423, G06F3/0426, G06K9/224, G06F1/1673
European ClassificationG06F1/16P9K12, G06F1/16P, G06F3/03H, G06F3/0488T, G06K9/22H1, G06F3/02A6, G06F1/16P6, G06F3/042B, G06F1/16P3, G06F3/01B, G06F3/042B4