This application claims priority of Taiwan Patent Application No. 101109283, filed on Mar. 19, 2012, the entirety of which is incorporated by reference herein.
1. Field of the Invention
The present invention relates to an optical touch system and an optical touch position detecting method, and in particular relates to an optical touch system and an optical touch position detecting method adopting a camera provided with two lenses to detect a touch position.
2. Description of the Related Art
Touch techniques applied in displays include not only embedding a capacitive or inductive touch panel in to a display device, but also disposing a camera provided with an image sensor to the periphery of the display device to optically detect touch positions.
In a conventional optical touch technique, two cameras are used and disposed at different corners of the touch surface such that the fields of view (FOV) of the two cameras both cover the entire touch surface. The touch position of a touch object at the touch surface is determined by the intersection point of the lines passing through the touch object and the two cameras.
As shown in
In addition, the conventional optical touch techniques also include a structure wherein a camera and a mirror are disposed at the periphery of the touch surface.
As shown in
However, no matter if the configuration has two cameras and a retro-reflector or a camera and a mirror, in the conventional art the camera is always a structure provided with a lens and an image sensor. Therefore, the purpose of the invention is providing an optical touch system and an optical touch position detecting method different from the conventional art. The optical touch system and the optical touch position detecting method according to the invention use a camera provided with two lenses and an image sensor to detect touch positions.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention provides an optical touch system for detecting a position of a touch object on a touch area, including: at least one active light source for lightening the touch area; a camera having two lenses and an image sensor to capture two images of the touch object on the image sensor through the two lenses; and a processor for calculating the position of the touch object according to the positions of the two images of the touch object on the image sensor, wherein the camera is disposed at the periphery of the touch area such that fields of view of the two lenses both cover the entire touch area.
In the above optical touch system, the positions of the two images on the image sensor correspond to two angle parameters, wherein the angle parameters are values of an angle between a predetermined reference line and a line passing the position of the touch object and one of the two lenses. A two-dimensional coordinate system is used to define the position of a point on the touch area with a coordinate, and the processor uses the two angle parameters and the coordinates of the two lenses to calculate the coordinate of the touch object.
In the above optical touch system, the predetermined reference line is parallel with the x-axis of the two-dimensional coordinate system and the processor calculates the coordinate (x, y) of the touch object according to the following equations:
(y−y1)/(x−x1)=tan θ1;
(y−y2)/(x−x2)=tan θ2,
wherein (x1, y1) is the coordinate of a first lens of the two lenses, θ1 is the angle parameter with respect to the first lens, (x2, y2) is the coordinate of a second lens of the two lenses, and θ2 is the angle parameter with respect to the second lens.
In the above optical touch system, the angle parameter θ1 corresponds to a pixel position within an image range of the first lens on the image sensor, and the angle parameter θ2 corresponds to a pixel position within an image range of the second lens on the image sensor, wherein the angle parameters θ1 and θ2 are determined by the two pixel positions of the two images formed on the image sensor through the first lens and the second lens.
According to an embodiment of the invention, the active light source is disposed on the camera and provides light with enough intensity such that the light omitted from the active light source can be reflected by the touch object to the camera.
According to an embodiment of the invention, the optical touch system further includes: at least one retro-reflector disposed at the periphery of the touch area, wherein the light omitted from the active light source is reflected by the retro-reflector such that the image background captured by the image sensor is a bright background.
According to an embodiment of the invention, the active light source is an infrared light emitting diode or an infrared light diode, and the image sensor is capable of detecting infrared light images.
The invention also provides an optical touch position detecting method, including: using a camera provided with two lenses and an image sensor to receive images of a touch object; and calculating the position of the touch object according to the positions of two images of the touch object formed on the image sensor through the two lenses.
In the above optical touch position detecting method, the positions of the two images on the image sensor correspond to two angle parameters, wherein the angle parameters are values of an angle between a predetermined reference line and a line passing the position of the touch object and one of the two lenses.
The above optical touch position detecting method further includes using a two-dimensional coordinate system to define the position of a point on the touch area with a coordinate, and using the two angle parameters and the coordinates of the two lenses to calculate the coordinate of the touch object.
In the above optical touch position detecting method, the predetermined reference line is parallel with the x-axis of the two-dimensional coordinate system and the coordinate (x, y) of the touch object is calculated according to the following equations:
(y−y1)/(x−x1)=tan θ1;
(y−y2)/(x−x2)=tan θ2,
wherein (x1, y1) is the coordinate of a first lens of the two lenses, θ1 is the angle parameter with respect to the first lens, (x2, y2) is the coordinate of a second lens of the two lenses, and θ2 is the angle parameter with respect to the second lens.
In the above optical touch position detecting method, the angle parameter θ1 corresponds to a pixel position within an image range of the first lens on the image sensor, and the angle parameter θ2 corresponds to a pixel position within an image range of the second lens on the image sensor, wherein the angle parameters θ1 and θ2 are determined by the two pixel positions of the two images formed on the image sensor through the first lens and the second lens.
According to the optical touch system and the optical touch position detecting method of the invention, a camera provided with two lenses and an image sensor is used, and an active light source is disposed on the camera to lighten a touch object such that the camera receives reflected light from the touch object for detecting the touch position of the touch object. Therefore, the invention provides a new optical touch system and optical touch position detecting method different from the conventional art.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
Next, a touch position detecting method applied to this optical touch system is described. As shown in
(y−y1)/(x−x1)=tan θ1 (1)
(y−y2)/(x−x2)=tan θ2 (2)
Because of the fixed positions of the lenses L1 and L2, x1, y1, x2, and y2 are known constants. Therefore, as long as θ1 and θ2 are acquired, the position (x, y) of the touch point 305 can be derived from the above equations. The acquiring method for θ1 and θ2 is described below.
As shown in
From the above description it is known that for a lens, the touch object located at different angle positions is imaged to different corresponding pixel positions of the image sensor S. The angle θ1 between the line passing through the touch point 305 and the lens L1 and the edge of the touch area 304 corresponds to a pixel position between the 0th and the 799th pixel on the image sensor S. The angle θ2 between the line passing through the touch point 305 and the lens L1 and the edge of the touch area 304 corresponds to a pixel position between the 480th and the 1279th pixel on the image sensor S. This characteristic is used to depict a curve diagram showing the relation between the pixel position on the image sensor S and the angle position of the touch object. Then two pixel positions of the images of the touch object on the image sensor S are used to derive the angles θ1 and θ2, which are angles between the touch point 305 and the edge of the touch area 304 with respect to the lenses L1 and L2, respectively.
Finally, the values of the angles θ1 and θ2 are used to substitute the variables θ1 and θ2 in the above equations (1) and (2) to derive the position (x, y) of the touch point 305.
According to the above embodiment, the optical touch system of the invention uses a camera provided with two lenses and an image sensor to detect touch positions. However, various kinds of configurations can be applied in the optical touch system of the invention. As shown in
Furthermore, in the optical touch system in accordance with the above embodiment, the touch object reflects the light omitted from the active light source 302 to the camera 301, and the processor 303 calculates the touch position by detecting the pixel positions of the bright points on the image sensor. However, as shown in
The optical touch system and the optical touch position detecting method are described above. However, different touch objects have different characteristics such as different thicknesses. In this case, before a normal touch operation, the touch object can touch at least one specified reference point on the touch area in advance for angle calibration. In this way, the calculation for touch position becomes more accurate during normal touch operations.
According to the optical touch system and the optical touch position detecting method of the invention, a camera provided with two lenses and an image sensor is used, and an active light source is disposed on the camera to lighten a touch object such that the camera receives reflected light from the touch object for detecting the touch position of the touch object. Therefore, the invention provides a new optical touch system and optical touch position detecting method different from the conventional art.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements. For example, the active light can be an infrared light emitting diode or an infrared light diode. In this case, the image sensor must be capable of detecting infrared light images. Moreover, the lens L1 or L2 is described as a single lens in the embodiment, but the lens L1 or L2 can be a lens group consisting of a plurality of lenses.
Number | Date | Country | Kind |
---|---|---|---|
101109283 | Mar 2012 | TW | national |