CN102214045B - Electronic equipment and input method thereof - Google Patents

Electronic equipment and input method thereof Download PDF

Info

Publication number
CN102214045B
CN102214045B CN 201010138498 CN201010138498A CN102214045B CN 102214045 B CN102214045 B CN 102214045B CN 201010138498 CN201010138498 CN 201010138498 CN 201010138498 A CN201010138498 A CN 201010138498A CN 102214045 B CN102214045 B CN 102214045B
Authority
CN
China
Prior art keywords
light source
optical effect
operating body
image
acquisition units
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201010138498
Other languages
Chinese (zh)
Other versions
CN102214045A (en
Inventor
陈柯
杨锦平
张晓平
王竹强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 201010138498 priority Critical patent/CN102214045B/en
Publication of CN102214045A publication Critical patent/CN102214045A/en
Application granted granted Critical
Publication of CN102214045B publication Critical patent/CN102214045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention provides electronic equipment. The electronic equipment has a physical surface and comprises a retroreflection component, an image acquisition unit and a processing unit, wherein the retroreflection component is arranged on the first rim of the physical surface and used for retroreflecting a first optical effect produced by a first light source; the image acquisition unit is arranged on the second rim, opposite to the first rim, of the physical surface; an acquisition region of the image acquisition unit faces the retroreflection component and is used for acquiring an image of asecond optical effect; the second optical effect is formed on the first optical effect after an operating body enters a touch region; the touch region is an overlapped region of an irradiation regionof the first light source and an acquisition region of the image acquisition unit; and the processing unit is connected with the image acquisition unit and used for determining a corresponding position of the operating body in the image of the second optical effect to determine a position range of the operating body in the touch region. The invention also provides an input method. By the technical scheme of the invention, the light interference resistance of an optical touch screen in the electronic equipment is enhanced and error recognition phenomena are reduced.

Description

Electronic equipment and input method thereof
Technical field
The present invention relates to electronic applications, be specifically related to a kind of electronic equipment and input method thereof.
Background technology
At present, the optical touch technology has obtained more general application, for example, adopts light source to illuminate screen area, and when operating body entered irradiation area, the reflective of operating body caught by camera, can locate the position of finger according to this reflective image.
Known have a kind of technical scheme as described below: touch-screen frame place arranges the reflex reflection reflecting strips, light source produces light towards the reflex reflection reflecting strips by sentence initiatively at the relative frame of touch-screen, the reflex reflection reflecting strips initiatively light of light source is returned on former road basically, reflex near the active light source, near the active light source, camera is set, thereby gather the image of reflecting strips under the irradiation of active light source, namely collect a bright wisp image; If there is operating body in the touch area, can shine the reflex reflection reflecting strips by shield portions light, and operating body meeting diffuse light itself, cause in camera, producing in the image shade that brightness is lower than other reflex reflection zones, by determining the shadow positions under the bright background, determine the relative position of operating body, thereby realize the function of touch.
Yet there are two problems for technique scheme:
At first, under this mode, when touch-screen was in the environment that extraneous light interference such as strong infrared ray are arranged, operating body light to external world had very strong reflection, thereby difference in brightness between operating body and the background is reduced even disappear, cause to identify to touch or mistake identification.
For above-mentioned defective, existing solution is: strengthen initiatively light-source brightness, thereby strengthen the signal to noise ratio (S/N ratio) of bias light and external interference.
The shortcoming of this scheme is: be subjected to the initiatively Power Limitation of light source, the increase of signal to noise ratio (S/N ratio) has certain limit.When surpassing this limit, such as under the strong sunlight or under the shot-light of sales field, this method lost efficacy.
Secondly, very strong to the reflection of active source light when operating body during near light source initiatively, can occur same operating body shone the situation of black and white inequality, be easy to be identified as a plurality of operating bodies.
For the problems referred to above, can utilize priori, to the regional special processing in the left upper right corner, merge the unnecessary operating body that mistake identifies.The shortcoming of this scheme is: algorithm process complexity, the not enough robust of result.
Therefore, need to overcome the technical scheme of above-mentioned defective.
Summary of the invention
In view of the above problems, one of purpose of the present invention is to provide a kind of electronic equipment and input method, so as under the situation that exists strong extraneous light to disturb the effective position of identifying operation body, thereby the anti-smooth jamming performance of raising equipment.
Two of the object of the invention is to provide a kind of electronic equipment and input method, in order to eliminate the mistake identification phenomenon that causes when the image collecting device of the close touch-screen of operating body.
According to an aspect of the present invention, provide a kind of electronic equipment, this electronic equipment has a physical surface, and comprises: the reflex reflection parts, be arranged at least on first edge of physical surface, and be used for first optical effect that reflex reflection first light source produces; Image acquisition units, be arranged on second edge of the physical surface relative with first edge, and the pickup area of image acquisition units is towards the reflex reflection parts, be used for gathering the image of second optical effect, wherein, second optical effect is to form at first optical effect after operating body for operating electronic equipment enters the touch area; Wherein, the touch area is the coincidence zone of the pickup area of the irradiation area of first light source and image acquisition units; Processing unit is connected with image acquisition units, is used for the relevant position of the image operating body of definite second optical effect, thereby determines that operating body is at the position range of touch area.
Preferably, image acquisition units comprises: first image acquisition units is positioned at the first end place at first edge; Second image acquisition units is positioned at the second end place at first edge; Processing unit is used for the image of second optical effect gathered according to first image acquisition units and second image acquisition units, determines the wherein relevant position of operating body, thereby determines that operating body is in the position of touch area.
Preferably, electronic equipment also comprises: secondary light source, be arranged near the image acquisition units, and the reflex reflection parts are positioned at the irradiation area of secondary light source; Wherein first light source is positioned at outside the electronic equipment, and perhaps the distance of first light source and image acquisition units is greater than the distance of secondary light source and image acquisition units; Clock control module is used for predetermined clock frequency control secondary light source; Wherein, in the cycle, the control secondary light source is closed at second clock; In first clock period, secondary light source is opened, and produces the 3rd optical effect; Image acquisition units also be used for to be gathered the image of the 4th optical effect, and the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; Processing unit at second clock in the cycle, is determined the relevant position of operating body in the image of second optical effect, thereby is determined that operating body is at the position range of touch area; In first clock period, if first light source closes, determine the relevant position of operating body in the image of the 4th optical effect, thereby determine that operating body is at the position range of touch area.
Preferably, image acquisition units comprises: first image acquisition units is positioned at the first end place at first edge; Second image acquisition units is positioned at the second end place at first edge; Secondary light source is two light sources, lay respectively near first image acquisition units and second image acquisition units near; Processing unit in the cycle, according to the image of second optical effect of gathering in first image acquisition units and second image acquisition units, is determined the wherein relevant position of operating body at second clock, thereby determines that operating body is in the position of touch area; In first clock period, if first light source is closed, determine the wherein relevant position of operating body according to the image of the 4th optical effect of gathering in first image acquisition units and second image acquisition units, thereby determine that operating body is in the position of touch area.
Preferably, electronic equipment also comprises: secondary light source, be arranged near the image acquisition units, and the reflex reflection parts are positioned at the irradiation area of secondary light source; Optical detection unit for detection of the intensity of first optical effect in the touch area, when first optical effect is lower than predetermined value, is opened secondary light source, to produce the 3rd optical effect; Image acquisition units is gathered the image of the 4th optical effect, and the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; Processing unit is determined the relevant position of operating body in the image of the 4th optical effect, thereby determines that operating body is at the position range of touch area.
Preferably, first light source is arranged near the image acquisition units, and is configured such that the operating body that is used for operating electronic equipment near image acquisition units in the irradiation area of first light source, and the reflex reflection parts are not in the irradiation area of first light source; Electronic equipment also comprises secondary light source, is arranged near the image acquisition units, and the reflex reflection parts are in the irradiation area of secondary light source; Clock control module is used for predetermined clock frequency control secondary light source; Wherein, in the cycle, the control secondary light source is closed at second clock; In first clock period, secondary light source produces the 3rd optical effect; Image acquisition units also be used for to be gathered the image of the 4th optical effect, and the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; Processing unit at second clock in the cycle, is determined the relevant position of operating body in the image of second optical effect, thereby is determined that operating body is at the position range of touch area; In first clock period, determine the relevant position of operating body in the image of the 4th optical effect, thereby determine that operating body is at the position range of touch area.
Preferably, image acquisition units comprises: first image acquisition units is positioned at the first end place at first edge; Second image acquisition units is positioned at the second end place at first edge; Secondary light source is two light sources, lay respectively near first image acquisition units and second image acquisition units near; First light source is two light sources, lay respectively near first image acquisition units and second image acquisition units near; Processing unit in the cycle, according to the image of second optical effect of gathering in first image acquisition units and second image acquisition units, is determined the wherein relevant position of operating body at second clock, thereby determines that operating body is in the position of touch area; In first clock period, determine the wherein relevant position of operating body according to the image of the 4th optical effect of gathering in first image acquisition units and second image acquisition units, thereby determine that operating body is in the position of touch area.
Preferably, electronic equipment also comprises: secondary light source, be arranged near the image acquisition units, and the reflex reflection parts are positioned at the irradiation area of secondary light source; Whether proximity transducer is in for detection of the operating body that enters the touch area in the irradiation area of first light source, if, then open first light source, produce first optical effect, and close secondary light source; Otherwise close first light source, and open secondary light source, produce the 3rd optical effect; Image acquisition units is also gathered the image of the 4th optical effect, and the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; Processing unit under the situation that first light source is opened, is determined the relevant position of operating body in the image of second optical effect, thereby is determined that operating body is at the position range of touch area; Under the situation that secondary light source is opened, determine the relevant position of operating body in the image of the 4th optical effect, thereby determine that operating body is at the position range of touch area.
According to another aspect of the present invention, provide a kind of input method, be applied to an electronic equipment, this electronic equipment has a physical surface, and comprises: the reflex reflection parts are arranged on first edge of physical surface at least; Image acquisition units is arranged on second edge of the physical surface relative with first edge; Processing unit is connected with image acquisition units; This method may further comprise the steps: utilize image acquisition units to gather the image of the image of first optical effect, second optical effect, wherein, first optical effect is produced by first light source, and second optical effect is to form at first optical effect after the operating body for operating electronic equipment enters the touch area; Wherein, the touch area is the coincidence zone of the pickup area of the irradiation area of first light source and image acquisition units; Determine the relevant position of operating body in the image of second optical effect, thereby determine that operating body is at the position range of touch area.
Preferably, electronic equipment also comprises: secondary light source, be arranged near the image acquisition units, and the reflex reflection parts are positioned at the irradiation area of secondary light source; Wherein first light source is positioned at outside the electronic equipment, and perhaps the distance of first light source and image acquisition units is greater than the distance of secondary light source and image acquisition units; Clock control module is connected with secondary light source;
This method may further comprise the steps: with predetermined clock frequency control secondary light source: in the cycle, the control secondary light source is closed at second clock; In first clock period, secondary light source is opened, and produces the 3rd optical effect; Utilize image acquisition units to gather the image of the 4th optical effect, the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; At second clock in the cycle, determine the relevant position of operating body in the image of second optical effect, thereby determine that operating body is at the position range of touch area; In first clock period, if first light source closes, determine the relevant position of operating body in the image of the 4th optical effect, thereby determine that operating body is at the position range of touch area.
Preferably, electronic equipment also comprises: secondary light source, be arranged near the image acquisition units, and the reflex reflection parts are positioned at the irradiation area of secondary light source; Optical detection unit; This method may further comprise the steps: utilize optical detection unit to detect the intensity of first optical effect in the touch area, when the intensity of first optical effect is lower than predetermined value, open secondary light source, to produce the 3rd optical effect; Utilize image acquisition units to gather the image of the 4th optical effect, the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; Determine the relevant position of operating body in the image of the 4th optical effect, thereby determine that operating body is at the position range of touch area.
Preferably, first light source is arranged near the image acquisition units, and is configured such that the operating body that is used for operating electronic equipment near image acquisition units in the irradiation area of first light source, and the reflex reflection parts are not in the irradiation area of first light source; Electronic equipment also comprises: secondary light source, be arranged near the image acquisition units, and the reflex reflection parts are in the irradiation area of secondary light source; Clock control module; This method may further comprise the steps: utilize clock control module with predetermined clock frequency control secondary light source: in the cycle, the control secondary light source is closed at second clock; In first clock period, secondary light source produces the 3rd optical effect; Utilize image acquisition units to gather the image of the 4th optical effect, the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; At second clock in the cycle, determine the relevant position of operating body in the image of second optical effect, thereby determine that operating body is at the position range of touch area; In first clock period, determine the relevant position of operating body in the image of the 4th optical effect, thereby determine that operating body is at the position range of touch area.
Preferably, electronic equipment also comprises: secondary light source, be arranged near the image acquisition units, and the reflex reflection parts are positioned at the irradiation area of secondary light source; Proximity transducer is arranged near the image acquisition units; This method may further comprise the steps: utilizes proximity transducer to detect the operating body that enters the touch area and whether is in the irradiation area of first light source, if, then open first light source, produce first optical effect, and close secondary light source; Otherwise close first light source, and open secondary light source, produce the 3rd optical effect; Utilize image acquisition units to gather the image of the 4th optical effect, the 4th optical effect is to form at the 3rd optical effect after the operating body for operating electronic equipment enters the touch area; Under the situation that first light source is opened, determine the relevant position of operating body in the image of second optical effect, thereby determine that operating body is at the position range of touch area; Under the situation that secondary light source is opened, determine the relevant position of operating body in the image of the 4th optical effect, thereby determine that operating body is at the position range of touch area.
Preferably, determine the relevant position of operating body in the image of second optical effect, specifically comprise: determine the corresponding position of part higher than remainder brightness in the image of second optical effect, as the relevant position of operating body.
Preferably, determine the relevant position of operating body in the image of second optical effect, specifically comprise: determine the corresponding position of part higher than remainder brightness in the image of second optical effect, as the relevant position of operating body; And the relevant position of determining operating body in the image of the 4th optical effect, specifically comprise: determine the corresponding position of part lower than remainder brightness in the image of the 4th optical effect, as the relevant position of operating body;
Preferably, determine the relevant position of operating body in the image of the 4th optical effect, specifically comprise: determine the corresponding position of part lower than remainder brightness in the image of the 4th optical effect, as the relevant position of operating body.
The present invention has following beneficial effect: can improve the anti-smooth jamming performance of optical touch screen largely, even take full advantage of external light source; And significantly eliminated mistake and identified phenomenon, expanded the range of application of touch-screen.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not constitute improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the reflex reflection principle schematic;
Fig. 2 is the touch screen structure synoptic diagram of electronic equipment according to an embodiment of the invention;
Fig. 3 is the input method process flow diagram of electronic equipment according to an embodiment of the invention;
Fig. 4 is the touch screen structure synoptic diagram of electronic equipment according to an embodiment of the invention;
Fig. 5 is clock sequence synoptic diagram according to an embodiment of the invention;
Fig. 6 a-6d is the image synoptic diagram of operating body according to an embodiment of the invention in camera;
Fig. 7 is the touch screen structure synoptic diagram of electronic equipment according to an embodiment of the invention;
Fig. 8 a-8c is that according to an embodiment of the invention camera is gathered when secondary light source is opened away from camera with near the image synoptic diagram of the finger of camera;
Fig. 8 d is that gather when closing away from camera with near the image synoptic diagram of the finger of camera by camera for secondary light source according to an embodiment of the invention;
Fig. 9 is that light source according to an embodiment of the invention arranges synoptic diagram;
Figure 10 a-10c is the image synoptic diagram that camera according to an embodiment of the invention is gathered;
Figure 10 d is the image synoptic diagram that camera according to an embodiment of the invention is gathered;
Figure 11 a-11c is the image synoptic diagram that camera according to an embodiment of the invention is gathered;
Figure 11 d is the image synoptic diagram that camera according to an embodiment of the invention is gathered; And
Figure 12 is image detection process flow diagram according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
The following specifically describes embodiments of the invention.At first introduce the reflex reflection principle.
Fig. 1 is the reflex reflection principle schematic;
102 is light source among the figure, and the light of emission incides reflex reflection surface 104, and this 104 on reflex reflection surface is returned incident ray basically along Yuan Lu.
Reflex reflection is called retro-reflection or retroreflecting again, and it and our common diffuse reflection and minute surface reflection have a great difference.Diffuse reflection is that reflection ray reflects to all directions, has isotropy.The reflection angle of minute surface reflection is identical with incident angle, but reflection ray and incident ray are positioned at reflecting surface normal both sides.And reflex reflection refers to that light reflects along the proximal direction with the incident light direction, still can keep this characteristic when illumination angle in very large range changes.
Fig. 2 is the touch screen structure synoptic diagram of electronic equipment according to an embodiment of the invention;
Electronic equipment comprises according to an embodiment of the invention: the reflex reflection parts, at least be arranged on first edge of described physical surface, be used for first optical effect that reflex reflection first light source produces, wherein this first optical effect refers to first light source and the touch area of physical surface is shone the effect of especially the reflex reflection reflecting strips being shone; Image acquisition units, be arranged on second edge of the physical surface relative with described first edge, and the pickup area of described image acquisition units is towards described reflex reflection parts, be used for gathering the image of second optical effect, wherein, described second optical effect is to form at described first optical effect after entering the touch area for the operating body of operating described electronic equipment; Wherein, described touch area is the coincidence zone of the pickup area of the irradiation area of described first light source and described image acquisition units; Processing unit is connected with described image acquisition units, for the relevant position of operating body described in the image of determining described second optical effect, thereby determines that described operating body is at the position range of described touch area.
Specifically as shown in Figure 2, this optical touch system comprises reflex reflection reflecting strips 206, is arranged at the lower edge of described physical surface 208, is used for reflex reflection from the light of light source.Wherein, light source is the external light source (not shown in FIG.), is not positioned at this optical touch system, such as being lamp, the sun of indoor and outdoor etc.The light of external light source shines the touch area of optical touch system at a certain angle, especially shines on the reflex reflection reflecting strips.Wherein, introduce in the above about the reflex reflection principle, the reflex reflection reflecting strips can will be returned from the former road of the light of either direction.Camera 202 is arranged on the upper left corner of physical surface 208, and towards the reflex reflection reflecting strips, for the light of finger 204 reflections of gathering the touch operation zone that enters physical surface, thereby forms the image of pointing in camera; The processor (not shown) links to each other with camera, for the image that becomes according to camera, calculates the position range of operating body.
Obviously, the reflex reflection reflecting strips can also be arranged on two edges adjacent with the lower edge of physical surface, increases the scope of exercisable touch area thus.
The scheme of this embodiment can be widely used in multiple environment, is particularly useful for having the environment of external light source interference, because this scheme has taken full advantage of external interference light, under the more strong situation of extraneous stray light line, the image definition of identifying is more high.So, can realize accurately determining the position range of operating body by this scheme.That is to say, under the situation of the two-dimensional coordinate that need not know operating body, can adopt this scheme to come the position range of exploration operation body on one dimension, realize simple one dimension gesture respective operations.
The method of concrete principle of work and calculating operation body position will be described in detail later.
Fig. 3 is the input method process flow diagram of electronic equipment according to an embodiment of the invention;
This method is corresponding to the embodiment of the touch-screen of electronic equipment shown in Fig. 2, and this method may further comprise the steps:
Utilize image acquisition units to gather the image of the image of first optical effect, second optical effect, wherein, described first optical effect is produced by first light source, and described second optical effect is to form at described first optical effect after the operating body for operating electronic equipment enters the touch area; Wherein, described touch area is the coincidence zone of the pickup area of the irradiation area of described first light source and described image acquisition units;
Determine the relevant position of operating body described in the image of described second optical effect, thereby determine that described operating body is at the position range of described touch area.
Wherein, determine the relevant position of operating body described in the image of described second optical effect, specifically comprise: determine in the image of described second optical effect corresponding position of part than remainder brightness height (gray-scale value is big in other words), as the relevant position of described operating body.
Wherein, the principle of determining the operating body position is as follows: the light that external light source shines the reflex reflection reflecting strips is reflected back by former road, obviously, because camera is different with the position of external light source and distance is far away, the light that is reflected back by former road can not enter into camera, so the image that the reflex reflection reflecting strips becomes in camera is the filaments of sun; And operating body is understood the light of diffuse reflection external light source in camera, thereby the image that operating body becomes in camera is that brightness is high, can determine the position of operating body according to the high part of brightness with respect to the position of the filaments of sun.
Fig. 4 is the touch screen structure synoptic diagram of electronic equipment according to an embodiment of the invention;
In this embodiment, described image acquisition units comprises: first image acquisition units is positioned at the first end place at described first edge; Second image acquisition units is positioned at the second end place at described first edge; Described processing unit, the image that is used for described second optical effect gathered according to described first image acquisition units and described second image acquisition units, determine the relevant position of wherein said operating body, thereby determine that described operating body is in the position of described touch area.
Specifically as shown in Figure 4, this optical touch system comprises reflex reflection reflecting strips 406, is arranged at the lower edge of physical surface 408, is used for reflection from the light of light source.Two cameras 402 are separately positioned on the upper left corner and the upper right corner of physical surface 408, respectively towards the reflex reflection reflecting strips, are used for gathering the light of finger 404 reflections in the touch operation zone that enters physical surface, thereby form the image of finger in camera; The processor (not shown) links to each other with camera, and two images for gathering according to two cameras utilize the triangle location Calculation to go out the position range of operating body.
Owing to adopt two cameras in this scheme, so can be according to the image that in two cameras, becomes respectively, utilize triangle to locate the position of calculating operation body, that is to say and to realize accurately determining the accurate two-dimensional coordinate position of operating body on described Petting Area.
In according to another embodiment of the invention, at first problem of mentioning in the background technology of the present invention, proposed a kind of prospect and mixed detection scheme.Main method is glimmered with certain frequency for the active light source of control background in this scheme, for example, the frequency of flicker can (can certainly not make the two synchronous synchronously with the frequency acquisition of camera, but the two frequency is set to the multiple relation, only the image that need guarantee to collect is the twice of flicker frequency such as frequency acquisition under active light source change condition successively).In actual detected, consider different external condition respectively:
1) if there is not strong extraneous light.In the cycle of active light source igniting, the reflex reflection reflecting strips can reflex to the light from the active light source in the camera, thereby the image that the reflex reflection reflecting strips becomes in camera is bright wisp, and finger can shine on the reflex reflection bar by stop portions light, and this part light of diffuse reflection, thereby the light that enters in the camera can lack than not existing when pointing, so the image that finger becomes in camera is the filaments of sun, so under this situation for detection of the part of the brightness in the image low (gray-scale value is little in other words), that is, can detect operating body formed shadow image in camera; And when the active light source extinguishes, obviously, can't in camera, form image, also just can't detect certainly.
2) when being in strong extraneous light following time.In the cycle of active light source igniting, as previously mentioned, because signal to noise ratio (S/N ratio) reduces, be difficult to become in the accurate differentiation place camera shade in the image, so can't detect operating body formed shadow image in camera in this case; And in the cycle that the active light source extinguishes, this moment, finger meeting extraneous ray of reflecting was to camera by means of extraneous light, thereby the image that finger becomes in camera is bright wisp or bright spot.Because the characteristic of reflex reflection reflecting strips, the imaging of reflecting strips on camera is more much lower than the brightness of operating body scattering image that strong extraneous light becomes, thus the bright spot image of operating body in can detected image.
Comprehensive, can be an output unit with per two frames of camera, the output result is the more believable output valve in bright cycle of background and dark cycle.Concrete grammar is as follows:
One. the flicker frequency of secondary light source and the frequency acquisition of image acquisition units are carried out synchronously, and the state of described light source is to open or close when gathering image with definite image acquisition units.
By synchronously, correlation parameter can be provided, when determining that image acquisition units is gathered current frame image, the corresponding secondary light source of this two field picture is to open or close.
For example, can make the image acquisition frequency of image acquisition units is the integral multiple of the flicker frequency of light source, supposes that multiple is N.
Wherein, the method for synchronization has two kinds:
1) hardware synchronization is utilized the signal of image acquisition units to control the cycle of light source, and this signal is passed to application program;
2) software synchronization provides the synchronizing information of light source and image acquisition units by zone bit is set in image.
Two. to whether existing strong extraneous light to judge:
1. can judge whether the external world exists strong extraneous light;
Judge whether to exist strong external light source, if there is not extraneous strong light source, then the dark areas in the detected image will comprise the image of this dark areas as the output result; If there is strong external light source, then the bright area in the detected image will comprise the image of this bright area as the output result.
Wherein, judge whether to exist strong external light source may further comprise the steps:
Detecting the starting stage, close the cycle at secondary light source, if no larger area pixel intensity surpasses predetermined threshold in the image, then there is not strong external light source; There is strong external light source otherwise be judged as.
At detection-phase, (there is not extraneous strong light source) if above-mentioned first kind of situation, then in the secondary light source unlatching cycle, the dark zone in the detected image; If above-mentioned second kind of situation (having strong external light source), then in secondary light source is closed the cycle, the bright zone in the detected image.
Wherein, whether the gray-scale value and the edge gradient that detect pixel surpass predetermined threshold, if meet or exceed predetermined threshold, judge that then the pixel region that detects is the image of touch objects.
Can determine bright area and dark areas in the image by above-mentioned steps, thereby accurately judge the position of touch objects.
2. can't judge whether to exist strong extraneous light:
May there be such situation, that is, be difficult to accurately determine whether to exist strong external light source.This need be by the following another kind of detection mode of introducing:
If can't judge whether to exist external light source, then judge according to pre-defined rule which frame is more credible in two two field pictures.Certainly also can directly adopt this detection mode whether can judge that the ambient light thread is spent the time can not determine.
Wherein, according to dark areas and/or the bright area in two detected images of adjacent periods, determine the image of believable touch objects, and export this image as testing result;
Specific as follows:
1) if certain cycle detection goes out touch objects, and adjacent periods does not detect touch objects, then only exports last cycle result;
2) if adjacent periods all detects the touch area, and the position in detected bright zone and dark zone is more consistent, and then there is touch objects in this position;
3) if adjacent periods all detects the touch area, but regional location is inconsistent.Then compare the gradient magnitude of the detected edges of regions of adjacent periods, if the gradient of the testing result in certain cycle, illustrates then that the result in this cycle is more credible much larger than the gradient in another cycle, adopt the result in this cycle.
4) if do not belong to above-mentioned three kinds of situations, then in the following ways:
A. the result according to motion prediction judges, if certain position is within the scope of motion prediction, then with the position of this position as touch objects; Otherwise
B). only adopt the light source result in dark cycle, i.e. bright zone.Because there is external light source certainly in this situation, the result that the bright cycle detection of light source this moment is come out probably is shade.
This embodiment is specific as follows:
In this embodiment, described electronic equipment also comprises: secondary light source, be arranged near the described image acquisition units, and described reflex reflection parts are positioned at the irradiation area of described secondary light source; Wherein said first light source is positioned at outside the described electronic equipment, perhaps the distance of described first light source and described image acquisition units greater than the distance of described secondary light source and described image acquisition units (for example, first light source can be the lamp of indoor and outdoor, perhaps sun etc.); Clock control module is used for the described secondary light source of predetermined clock frequency control (also can control the frequency acquisition of image acquisition units simultaneously, make the glow frequency of itself and secondary light source synchronous); Wherein,, control described secondary light source and close in the cycle at second clock; In first clock period, described secondary light source is opened, and produces the 3rd optical effect, and wherein the 3rd optical effect refers to that secondary light source shines the physical surface touch area, especially the effect that the reflex reflection reflecting strips is shone; Described image acquisition units also is used for gathering the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment; Processing unit at described second clock in the cycle, is determined the relevant position of operating body described in the image of described second optical effect, thereby is determined that described operating body is at the position range of described touch area; In described first clock period, if described first light source closes, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
For the electronic equipment of this embodiment, corresponding input method may further comprise the steps: with predetermined clock frequency control secondary light source: in the cycle, the control secondary light source is closed at second clock; In first clock period, described secondary light source is opened, and produces the 3rd optical effect; Utilize image acquisition units to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment; At described second clock in the cycle, determine the relevant position of operating body described in the image of described second optical effect, thereby determine that described operating body is at the position range of described touch area; In described first clock period, if described first light source closes, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
Wherein, determine the relevant position of operating body described in the image of described second optical effect, specifically comprise: determine the corresponding position of part higher than remainder brightness in the image of described second optical effect, as the relevant position of described operating body; And
Determine the relevant position of operating body described in the image of described the 4th optical effect, specifically comprise: determine the corresponding position of part lower than remainder brightness in the image of described the 4th optical effect, as the relevant position of described operating body.
The scheme of this embodiment can be applicable to various working environments, includes the environment that external light source disturbs, and does not have the environment that external light source disturbs.Can realize accurately determining the position range of operating body by this scheme; And can adapt to automatically environment that external light source disturbs and the environment of no external light source interference are arranged.
Be another improved embodiment of the present invention below, in this embodiment, described image acquisition units comprises: first image acquisition units is positioned at the first end place at described first edge; Second image acquisition units is positioned at the second end place at described first edge; Described secondary light source is two light sources, lay respectively near described first image acquisition units and described second image acquisition units near; Described processing unit, at described second clock in the cycle, image according to described second optical effect of gathering in described first image acquisition units and described second image acquisition units, determine the relevant position of wherein said operating body, thereby determine that described operating body is in the position of described touch area; In described first clock period, if described first light source is closed, determine the relevant position of wherein said operating body according to the image of described the 4th optical effect of gathering in described first image acquisition units and described second image acquisition units, thereby determine that described operating body is in the position of described touch area.Owing to adopted two cameras and two light sources among this embodiment, so can utilize the triangle positioning principle accurately to determine the position of operating body.
In the technical scheme of above-described embodiment, can also comprise synchronous device, be used for the flicker frequency of secondary light source and the frequency acquisition of image acquisition units are carried out synchronously, the state of described light source is to open or close when gathering image with definite image acquisition units.
By synchronously, correlation parameter can be provided, when determining that image acquisition units is gathered current frame image, the corresponding secondary light source of this two field picture is to open or close.
For example, can make the image acquisition frequency of image acquisition units is the integral multiple of the flicker frequency of light source, supposes that multiple is N.
Can comprise first lock unit in this synchronous device, utilize the signal of image acquisition units to control the cycle of light source, and this signal is passed to application program;
Can also comprise second lock unit, provide the synchronizing information of light source and image acquisition units by zone bit is set in image.
Can also comprise judgment means in above-described embodiment, be used for whether existing strong extraneous light to judge;
This judgment means judges whether to exist strong external light source, if there is not extraneous strong light source, then the dark areas in the detected image will comprise the image of this dark areas as the output result; If there is strong external light source, then the bright area in the detected image will comprise the image of this bright area as the output result.
This judgment means detecting the starting stage, is closed the cycle at secondary light source, if no larger area pixel intensity surpasses predetermined threshold in the image, does not then have strong external light source; There is strong external light source otherwise be judged as.At detection-phase, (there is not extraneous strong light source) if above-mentioned first kind of situation, then in the secondary light source unlatching cycle, the dark zone in the detected image; If above-mentioned second kind of situation (having strong external light source), then in secondary light source is closed the cycle, the bright zone in the detected image.
Wherein, whether the gray-scale value and the edge gradient that detect pixel surpass predetermined threshold, if meet or exceed predetermined threshold, judge that then the pixel region that detects is the image of touch objects.
Can determine bright area and dark areas in the image thus, thereby accurately judge the position of touch objects.
In addition, may there be such situation, that is, be difficult to accurately determine whether to exist strong external light source.Another kind of judgment means is provided in another embodiment.Be used for judging whether to exist under the situation of external light source, then judge according to pre-defined rule which frame is more credible in two two field pictures.
Wherein, this judgment means can be according to dark areas and/or the bright area in two detected images of adjacent periods, determines the image of believable touch objects, and exports this image as testing result;
This judgment means comprises: first judging unit be used for going out touch objects in certain cycle detection, and adjacent periods does not detect under the situation of touch objects, only exports last cycle result;
This judgment means also comprises second judging unit, be used for all detecting the touch area in adjacent periods, and under the more consistent situation in the position in detected bright zone and dark zone, then there is touch objects in this position;
This judgment means also comprises the 3rd judging unit, be used for all detecting the touch area in adjacent periods, but under the inconsistent situation of regional location, the gradient magnitude that compares the detected edges of regions of adjacent periods, if the gradient of the testing result in certain cycle is much larger than the gradient in another cycle, the result that this cycle then is described is more credible, adopts the result in this cycle;
This judgment means also comprises the 4th judging unit, is used for judging according to the result of motion prediction, if certain position is within the scope of motion prediction, then with the position of this position as touch objects; Otherwise only adopt the light source result in dark cycle, i.e. bright zone.Because there is external light source certainly in this situation, the result that the bright cycle detection of light source this moment is come out probably is shade.
The concrete principle of work of above-described embodiment can obtain by following description further clearly explaining.
Further describe the above embodiment of the present invention below in conjunction with Fig. 5, Fig. 6 a-6d, with its principle of work of further elaboration.
Fig. 5 is clock sequence synoptic diagram according to an embodiment of the invention;
Fig. 6 a-6d is the image synoptic diagram of operating body according to an embodiment of the invention in camera;
In this embodiment, secondary light source is example with LED.Wherein, this image is the image of viewed two fingers in a camera.Wherein, with the described camera of predetermined clock frequency control and led light source (namely controlling flicker frequency and frequency acquisition), wherein make clock and led light source clock synchronous.Although present embodiment with the multioperation body for example, embodiments of the invention are equally applicable to the operation of single operation body.
As can be seen, in first clock period, LED is luminous, at this moment, whether has the shadow region in the detected image.Referring to Fig. 6 (a), (c).Illustrated among Fig. 6 (a) do not have strong extraneous light situation (namely, be equivalent to the situation that first light source is closed), at this moment, operating body can stop the light that led light source is launched, all directions are arrived in the light diffuse reflection, thereby the light when not having operating body in the reflex reflection reflecting strips reflected back camera is compared and will be lacked, and forms shade (two fingers form two shades among the figure) thus in camera.Among Fig. 6 (c) situation that strong extraneous light is arranged has been shown, at this moment, operating body can reflect extraneous forceful rays in camera, the light that operating body reflects light in the reflex reflection reflecting strips reflected back camera when not having operating body is compared very nearly the same, therefore, operating body can not form tangible shade in camera, be difficult to accurately distinguish the position of shade.
In the second clock cycle, LED is not luminous, at this moment, whether has spot zone in the detected image.Referring to Fig. 6 (b), (d).Among Fig. 6 (b) situation of not having strong extraneous light has been shown, at this moment, LED closes, because no strong extraneous light, so the image of reflex reflection reflecting strips is a whole piece shade in the camera, and position that at this moment can't the exploration operation body.Among Fig. 6 (d) situation that strong extraneous light is arranged has been shown, at this moment, LED closes, the picture that the reflex reflection reflecting strips becomes in camera is that the whole piece shade is (because the reflex reflection reflecting strips is mapped to the direction that the ambient light line is injected with light is converse, and can not reflex in the camera), and operating body is understood the extraneous forceful rays of diffuse reflection in camera, thereby, operating body presents bright spot (or bright wisp) in camera, can determine the position of operating body according to the position of bright spot.
Introduce below in the another embodiment of the present invention, among this embodiment, described electronic equipment also comprises: secondary light source, be arranged near the described image acquisition units, and described reflex reflection parts are positioned at the irradiation area of described secondary light source; The optical detection unit (not shown), be arranged on the edge on the physical surface, preferably be arranged near the reflex reflection parts, intensity for detection of described first optical effect in the described touch area, when the intensity of described first optical effect is lower than predetermined value, open described secondary light source, to produce the 3rd optical effect; Described image acquisition units is gathered the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment; Processing unit is determined the relevant position of operating body described in the image of described the 4th optical effect, thereby determines that described operating body is at the position range of described touch area.
In this embodiment, the method for detection operating body position is as follows:
Utilize described optical detection unit to detect the intensity of described first optical effect at (especially reflecting strips place) in the described touch area, when described first optical effect is lower than predetermined value, open described secondary light source, to produce the 3rd optical effect;
Utilize described image acquisition units to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
The scheme of this embodiment by having increased optical detection unit, can be opened or the closed portion light source automatically according to different environment, can more effectively detect the position range of operating body.
In addition, similar with the embodiment of front, it respectively is two that image acquisition units and secondary light source can be arranged to, thereby realizes accurately determining the two-dimensional coordinate position of operating body.
By technique scheme, at first can be applicable to various working environments, include the environment that external light source disturbs, and do not have the environment that external light source disturbs; Can realize accurately determining position range or the accurate position of operating body.Say again, can control targetedly, avoided under each situation, all every image being differentiated, which opens the loaded down with trivial details step of image to determine output, that is, reduce the further judgement link under the circumstances not known situation, promoted performance in each case.
In the above among the embodiment, do not consider operating body as can be seen near the special circumstances of collecting unit, below at first more once operating body near collecting unit and situation away from collecting unit.
With operating body be the finger, collecting unit is that camera is example, and Fig. 8 a-d is when pointing away from camera and pointing near camera, in the electronic equipment according to an embodiment of the invention, the image synoptic diagram that camera was gathered when secondary light source (be example with LED) was opened the following specifically describes.
Illustrated among Fig. 8 a-d at a LED and opened, two fingers are positioned under the situation of touch area, the image that becomes in a camera.
Wherein, the image that the shadow representation in left side becomes in camera away from the finger of camera among Fig. 8 a-c, and the dash area on right side is represented the image that the finger near camera becomes in this camera.The image-forming principle of the finger far away apart from camera with introduce previously identical, that is to say, because the irradiation of LED, the image that the reflex reflection bar becomes in camera is bright wisp, and since finger can stop portions the light of LED shine on the reflex reflection bar, and with this part light scattering to all directions, have only a small amount of light to scatter in the camera, thereby the image of finger in camera is shade, at this moment, is left side dash area clearly.
And image right is the situation near camera, because LED also is close camera, so in this case, the center section of finger (perhaps one side, the position, the angle that depend on its relative LED) can be irradiated very bright, and the edge part branch of finger shines less relatively light, so the image that the both sides of the edge of finger become in camera is shade.According to the principle of introducing among the embodiment of front, be the shade in the detected image in this case, and this shade is identified as finger, that is, the edge of pointing both sides is identified as two fingers, obviously in this case, mistake identification can take place.
For example, from Fig. 8 a-8c as can be seen, (this depends on that finger is with respect to the difference of the position of LED to have the situation that different zones is illuminated near the finger of LED, the different parts that can cause pointing is illuminated, the image of right shade part is the situation that the finger middle part is illuminated among Fig. 8 a, and the image of Fig. 8 b right shade part situation that to be the left side of finger be illuminated, the image of Fig. 8 c right shade part is the situation that the right side of finger is illuminated), and this may cause being identified as a plurality of fingers, perhaps may can't accurately locate at certain edge.The situation that (804a, 806a, 804b and 804c) expresses possibility and identified by mistake in the figure centre circle.
Be that example shows the image that two fingers are become under close, the situation away from camera respectively with a light source, camera above, obviously, under the situation of two LED, two cameras, formed image is similar.
Fig. 8 d is the light source according to an embodiment of the invention image synoptic diagram that camera is gathered when closing; A slice dark in the background can't identify the touch of finger at this moment, so can not carry out image acquisition this moment.
This shows, this scheme can not be fine the identification problem of solution finger during near camera.
For this reason, the present invention proposes improved technical scheme, will describe in detail in the following embodiments.
At the problems referred to above, the present invention is provided with new light source (i.e. first light source) in one embodiment, is mainly used to illuminate the operating body near camera, but can illuminate background.In order not illuminate background, the shooting angle of this first light source can being designed to raise up a little, (obviously, this only is a kind of mode, can also adopt other modes to reach same purpose), make the light major part of its ejaculation beyond frame, but can shine operating body, when operating body is close to the camera, the light that operating body reflects can enter camera, so, when secondary light source extinguishes, the background deepening, and first light source illuminates operating body, thereby detects operating body bright spot image.Below specifically discuss.
Fig. 7 is the touch screen structure synoptic diagram of electronic equipment according to an embodiment of the invention;
In this embodiment, described first light source is arranged near the described image acquisition units, and be configured such that the operating body that is used for the described electronic equipment of operation of close described image acquisition units is in the irradiation area of described first light source, and described reflex reflection parts are not in the irradiation area of described first light source, this can control its irradiation area by the elevation angle that first light source is set, and can certainly adopt other modes; Described electronic equipment also comprises secondary light source, is arranged near the described image acquisition units, and described reflex reflection parts are in the irradiation area of described secondary light source; Clock control module is used for the described secondary light source of predetermined clock frequency control; Wherein,, control described secondary light source and close in the cycle at second clock; In first clock period, described secondary light source produces the 3rd optical effect; Described image acquisition units also is used for gathering the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment; Processing unit at described second clock in the cycle, is determined the relevant position of operating body described in the image of described second optical effect, thereby is determined that described operating body is at the position range of described touch area; In described first clock period, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
Specifically as shown in Figure 7, this optical touch system comprises light source 710 (being the first above-mentioned light source), is arranged at the upper left corner of physical surface 708, be positioned near the camera, its light-emitting window is inclined upwardly slightly, and its angle is preferably 10-40, be used for emission light, irradiation is near the operating body of camera; Also comprise light source 702 (being secondary light source) among this embodiment, be arranged at light source 710 times (also can with the location swap of first light source and secondary light source), be used for emission light, shine reflex reflection reflecting strips 706.Reflex reflection reflecting strips 706 is arranged at the lower edge of described physical surface, is used for reflection from the light of described light source.Camera, be arranged on the upper left corner (being arranged at the same position place with light source, not shown) of physical surface 708, towards the reflex reflection reflecting strips, for the light of finger 704 reflections of gathering the touch operation zone that enters physical surface, thereby in camera, form the image that comprises finger; The processor (not shown) links to each other with camera, for the image that becomes according to camera, orients the position range of operating body.
In this embodiment, the method for detection operating body position is as follows: this method may further comprise the steps:
Utilize described clock control module with the described secondary light source of predetermined clock frequency control:, to control described secondary light source and close in the cycle at second clock; In first clock period, described secondary light source produces the 3rd optical effect;
Utilize described image acquisition units to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
At described second clock in the cycle, determine the relevant position of operating body described in the image of described second optical effect, thereby determine that described operating body is at the position range of described touch area; In described first clock period, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
In this embodiment owing to also adopt clock to control, so need with foregoing embodiment in mention the same, relate to the problem that more believable image in two two field pictures is determined, can adopt herein with previous embodiment in same mode.
Wherein, the concrete grammar of determining the position of operating body in the image is described in detail below.
Concrete principle is as follows: when light source 702 extinguishes, the background deepening, utilize light source 710 irradiations near the finger of camera, the image that this moment, the reflex reflection reflecting strips became in camera is the filaments of sun, and the image that finger becomes in camera owing to the light of scattering light source 710 is bright wisp, detects the position range of operating body thus.
In the above-described embodiments, described image acquisition units can comprise: first image acquisition units is positioned at the first end place at described first edge; Second image acquisition units is positioned at the second end place at described first edge; Described secondary light source is two light sources, lay respectively near described first image acquisition units and described second image acquisition units near; Described first light source is two light sources, lay respectively near described first image acquisition units and described second image acquisition units near, and be set to its light-emitting area and be inclined upwardly a little, its angle is preferably the 10-40 degree; Described processing unit, at described second clock in the cycle, image according to described second optical effect of gathering in described first image acquisition units and described second image acquisition units, determine the relevant position of wherein said operating body, thereby determine that described operating body is in the position of described touch area; In described first clock period, determine the relevant position of wherein said operating body according to the image of described the 4th optical effect of gathering in described first image acquisition units and described second image acquisition units, thereby determine that described operating body is in the position of described touch area.
Fig. 9 is that light source according to an embodiment of the invention arranges synoptic diagram;
As shown in Figure 9,908 is screen among the figure, and 906 is camera, and the 2nd LED 904 is arranged on the camera 906, is provided with a LED 902, the one LED 902 and is set to its light-emitting window and is inclined upwardly slightly on the 2nd LED 904, and its angle is preferably the 10-40 degree.910 are finger among the figure.
When pointing near camera, at this moment, the 2nd LED closes, and the light of a LED 902 can shine finger, and the light of finger scattering the one LED 902 forms the bright spot image in camera in camera.Be the filaments of sun and the reflex reflection bar becomes image in camera, can determine the position range of finger thus.
By the technical scheme of above-described embodiment, can overcome second problem mentioning in the background technology of the present invention.Just under the close situation of collecting unit of operating body, by making the effectively image of identifying operation body of first light source irradiation operating body.
In according to a further embodiment of the invention, secondary light source is arranged near the described image acquisition units, and described reflex reflection parts are positioned at the irradiation area of described secondary light source; Also comprise and be arranged near the proximity transducer of image acquisition units, proximity transducer among this embodiment can adopt capacitive transducer etc., whether be in for detection of the described operating body that enters described touch area in the irradiation area of described first light source (in other words, whether detect operating body near image acquisition units), if, then open described first light source, produce first optical effect, and close described secondary light source; Otherwise close described first light source (certainly, do not consider the power consumption reason, also can not close first light source, keep the first light source continuous firing state), and open described secondary light source, produce the 3rd optical effect; Described image acquisition units is also gathered the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment; Processing unit under the situation that described first light source is opened, is determined the relevant position of operating body described in the image of described second optical effect, thereby is determined that described operating body is at the position range of described touch area; Under the situation that described secondary light source is opened, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
In this embodiment, detection method may further comprise the steps:
Utilize described proximity transducer detect in the irradiation area whether described operating body that enters described touch area be in described first light source (or, whether operating body is near image acquisition units), if, then open described first light source, produce first optical effect, and close described secondary light source; Otherwise close described first light source, and open described secondary light source, produce the 3rd optical effect;
Utilize described image acquisition units also to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Under the situation that described first light source is opened, determine the relevant position of operating body described in the image of described second optical effect, thereby determine that described operating body is at the position range of described touch area; Under the situation that described secondary light source is opened, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
Wherein, determine the relevant position of operating body described in the image of described the 4th optical effect, specifically comprise: determine the corresponding position of part lower than remainder brightness in the image of described the 4th optical effect, as the relevant position of described operating body;
The technical scheme of this embodiment, by increasing proximity transducer, can be according to the position of operating body at Petting Area, the automatic switchover light source, thus accurately detect the position of operating body, increased the dirigibility of system like this.
Figure 10 a-10c is the image synoptic diagram gathered of camera according to one embodiment of present invention;
Image shown in the figure be a little less than the extraneous stray light line, captured under the secondary light source situation of opening, with similar about the embodiment of Fig. 8 a-8c, there is shown the image of two fingers.From Figure 10 a-10c as can be seen, at this moment, first finger (namely forming the finger of the shadow image on the left side) for away from secondary light source can detect shade in its image that becomes according to aforesaid principle, is 1002a, 1002b and 1002c among the figure.And under the close second finger situation in second source, can occur this moment with Fig. 8 a-c in same situation, namely, there are shade in the both sides of irradiated finger or a side, 1002b among the figure, 1004b, 1004c, 1002d, the finger position that the shade of finger both sides can be identified as two fingers or identify is inaccurate, that is to say to cause mistake identification.
So in this case, nonrecognition is near the finger of camera.
Figure 10 d is the image synoptic diagram gathered of camera according to another embodiment of the invention;
Among this embodiment, secondary light source is closed, and first light source is opened, for the finger near first light source, its side towards first light source can be illuminated, and this finger scatters to the light of first light source in the camera, so the image of finger in camera is bright wisp.And because secondary light source is closed and first light source shines owing to angle raises up less than converse striation, so the image of converse striation in camera is the filaments of sun, determine the relative position of finger thus by the bright wisp in the detected image.In the case, the image of finger is a continuous substantially bright area 1002d, thereby can accurately identify.
By above-described embodiment as can be seen, judged whether operating body near secondary light source, except increasing by first light source, the processing that secondary light source need glimmer equally.Because the flicker of secondary light source is handled, and can realize under the different environment of extraneous light operating body effectively being detected adaptively.Therefore above-described embodiment is except can be operating body is identified during near secondary light source, also possess simultaneously under any extraneous light environment to the identification of operating body.Show the situation that technical scheme of the present invention realizes under strong extraneous light gathers image below by further embodiment.
Figure 11 a-11c is the image synoptic diagram that camera according to an embodiment of the invention is gathered;
Among this embodiment, external interference light is stronger, and secondary light source is opened.With similar about the embodiment of Fig. 8 a-8c, there is shown the image of two fingers.As previously mentioned, exist under the situation of extraneous intense light, need to adopt the mode of closing secondary light source to detect.If do not close secondary light source, then image 1102a, 1102b and the 1102c away from the finger of secondary light source among the figure is unclear, and the image of the finger of close secondary light source and the similar situation that also has mistake identification of front embodiment, as the 1104a among the figure and 1106a.
Figure 11 d is the image synoptic diagram of gathering according to one embodiment of present invention.
Among this embodiment, external interference light is strong, secondary light source is closed.Similar to the above embodiments, there is shown the image of two fingers.1102d is the image that detects under the situation of finger away from secondary light source among the figure, and principle was said in front.
1104d is the image that the finger at close secondary light source place becomes, because, in this case, with similar under the situation of Figure 10 d, finger can be illuminated by first light source towards a side of first light source, and this finger scatters to the light of first light source in the camera, so the image of finger in camera is bright wisp.And because secondary light source is closed and first light source shines owing to angle raises up less than converse striation, so the image of converse striation in camera is the filaments of sun, and the image of finger is a continuous substantially bright area, determines the relative position of finger thus by the bright wisp in the detected image.
Above embodiment shows when having secondary light source, and finger is respectively when secondary light source is lighted, and the image when two light sources extinguish.As seen no matter have or not strong ambient light, the finger of close light source can well be detected when secondary light source extinguishes.Finger away from light source then can well be detected according to the method in the previous embodiment.Thereby eliminated the phenomenon of mistake identification.
Figure 12 is image detection process flow diagram according to an embodiment of the invention; And
As shown in the figure, this step is as follows:
Make camera and active light source (secondary light source in above-described embodiment) synchronous;
Judge initiatively whether light source is lighted, if the active light source igniting further judges whether to detect the shade in the image;
If initiatively light source is closed, further judge whether to detect bright spot;
If detect shade and do not detect bright spot, then export the shade coordinate as the position of operating body; If detect bright spot and do not detect shade, then export coordinate of bright spot as the position of operating body.
In fact, can not appear in two frames of camera the situation that not only detects shade but also detect bright spot substantially, suppose to occur this situation, can be according to the darkness of shade and the brightness situation of bright spot, select and the background difference more obviously as the position of operating body.Concrete principle can be referring to the relevant introduction of front.
Obviously, this testing process only is schematically, only is a kind of mode wherein, according to the description of previous embodiment, also has multiple testing process as can be known, no longer specifically describes herein.
Put it briefly, adopt technical scheme of the present invention to obtain following technique effect:
1) can improve the anti-smooth jamming performance of optical touch screen significantly;
2) can well solve finger in the identification problem in the upper right corner, a screen left side.
3) expanded the range of application of touch-screen.
Be embodiments of the invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (16)

1. an electronic equipment is characterized in that, described electronic equipment has a physical surface, and comprises:
The reflex reflection parts are arranged on first edge of described physical surface at least, are used for first optical effect that reflex reflection first light source produces;
Image acquisition units, be arranged on second edge of the physical surface relative with described first edge, and the pickup area of described image acquisition units is towards described reflex reflection parts, be used for gathering the image of second optical effect, wherein, described second optical effect is to form at described first optical effect after entering the touch area for the operating body of operating described electronic equipment;
Secondary light source is arranged near the described image acquisition units, and described reflex reflection parts are positioned at the irradiation area of described secondary light source;
Clock control module is used for the described secondary light source of predetermined clock frequency control; Wherein, described touch area is the coincidence zone of the pickup area of the irradiation area of described first light source and described image acquisition units;
Processing unit, be connected with described image acquisition units, relevant position for operating body described in the image of determining described second optical effect, wherein, when described secondary light source is opened, detect whether there is the shadow region in the described image, when described secondary light source is closed, detect the spot zone that whether exists in the described image, according to described shadow region or spot zone, determine that described operating body is at the position range of described touch area.
2. electronic equipment according to claim 1 is characterized in that,
Described image acquisition units comprises:
First image acquisition units is positioned at the first end place at described first edge;
Second image acquisition units is positioned at the second end place at described first edge;
Described processing unit, the image that is used for described second optical effect gathered according to described first image acquisition units and described second image acquisition units, determine the relevant position of wherein said operating body, thereby determine that described operating body is in the position of described touch area.
3. electronic equipment according to claim 1 is characterized in that, described electronic equipment also comprises:
Wherein said first light source is positioned at outside the described electronic equipment, and perhaps the distance of described first light source and described image acquisition units is greater than the distance of described secondary light source and described image acquisition units;
Wherein,, control described secondary light source and close in the cycle at second clock; In first clock period, described secondary light source is opened, and produces the 3rd optical effect;
Described image acquisition units also is used for gathering the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Processing unit at described second clock in the cycle, is determined the relevant position of operating body described in the image of described second optical effect, thereby is determined that described operating body is at the position range of described touch area; In described first clock period, if described first light source closes, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
4. electronic equipment according to claim 3 is characterized in that,
The reflex reflection parts also are arranged on two edges adjacent with first edge of described physical surface,
Described image acquisition units comprises:
First image acquisition units is positioned at the first end place at described first edge;
Second image acquisition units is positioned at the second end place at described first edge;
Described secondary light source is two light sources, lay respectively near described first image acquisition units and described second image acquisition units near;
Described processing unit, at described second clock in the cycle, image according to described second optical effect of gathering in described first image acquisition units and described second image acquisition units, determine the relevant position of wherein said operating body, thereby determine that described operating body is in the position of described touch area; In described first clock period, if described first light source is closed, determine the relevant position of wherein said operating body according to the image of described the 4th optical effect of gathering in described first image acquisition units and described second image acquisition units, thereby determine that described operating body is in the position of described touch area.
5. electronic equipment according to claim 1 is characterized in that, described electronic equipment also comprises:
Optical detection unit for detection of the intensity of described first optical effect in the described touch area, when described first optical effect is lower than predetermined value, is opened described secondary light source, to produce the 3rd optical effect;
Described image acquisition units is gathered the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Processing unit is determined the relevant position of operating body described in the image of described the 4th optical effect, thereby determines that described operating body is at the position range of described touch area.
6. electronic equipment according to claim 1 is characterized in that:
Described first light source is arranged near the described image acquisition units, and be configured such that the operating body that is used for the described electronic equipment of operation of close described image acquisition units in the irradiation area of described first light source, and described reflex reflection parts are not in the irradiation area of described first light source;
Wherein,, control described secondary light source and close in the cycle at second clock; In first clock period, described secondary light source produces the 3rd optical effect;
Described image acquisition units also is used for gathering the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Processing unit at described second clock in the cycle, is determined the relevant position of operating body described in the image of described second optical effect, thereby is determined that described operating body is at the position range of described touch area; In described first clock period, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
7. electronic equipment according to claim 6 is characterized in that:
The reflex reflection parts also are arranged on two edges adjacent with first edge of described physical surface,
Described image acquisition units comprises:
First image acquisition units is positioned at the first end place at described first edge;
Second image acquisition units is positioned at the second end place at described first edge;
Described secondary light source is two light sources, lay respectively near described first image acquisition units and described second image acquisition units near;
Described first light source is two light sources, lay respectively near described first image acquisition units and described second image acquisition units near;
Described processing unit, at described second clock in the cycle, image according to described second optical effect of gathering in described first image acquisition units and described second image acquisition units, determine the relevant position of wherein said operating body, thereby determine that described operating body is in the position of described touch area; In described first clock period, determine the relevant position of wherein said operating body according to the image of described the 4th optical effect of gathering in described first image acquisition units and described second image acquisition units, thereby determine that described operating body is in the position of described touch area.
8. electronic equipment according to claim 1 is characterized in that, described electronic equipment also comprises:
Whether proximity transducer is in the irradiation area of described first light source for detection of the described operating body that enters described touch area, if, then open described first light source, produce first optical effect, and close described secondary light source; Otherwise close described first light source, and open described secondary light source, produce the 3rd optical effect;
Described image acquisition units is also gathered the image of the 4th optical effect, and described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Processing unit under the situation that described first light source is opened, is determined the relevant position of operating body described in the image of described second optical effect, thereby is determined that described operating body is at the position range of described touch area; Under the situation that described secondary light source is opened, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
9. an input method is applied to an electronic equipment, it is characterized in that:
Described electronic equipment has a physical surface, and comprises:
The reflex reflection parts are arranged on first edge of described physical surface at least;
Image acquisition units is arranged on second edge of the physical surface relative with described first edge;
Processing unit is connected with described image acquisition units;
Secondary light source is arranged near the described image acquisition units, and described reflex reflection parts are positioned at the irradiation area of described secondary light source;
Clock control module is connected with described secondary light source, with predetermined clock frequency control secondary light source;
This method may further comprise the steps:
Utilize described image acquisition units to gather the image of the image of first optical effect, second optical effect, wherein, described first optical effect is produced by first light source, and described second optical effect is to form at described first optical effect after entering the touch area for the operating body of operating described electronic equipment; Wherein, described touch area is the coincidence zone of the pickup area of the irradiation area of described first light source and described image acquisition units;
Determine the relevant position of operating body described in the image of described second optical effect, wherein, when described secondary light source is opened, detect and whether have the shadow region in the described image, when described secondary light source is closed, detect the spot zone that whether exists in the described image, determine that according to described shadow region or spot zone described operating body is at the position range of described touch area.
10. input method according to claim 9 is characterized in that:
Wherein said first light source is positioned at outside the described electronic equipment, and perhaps the distance of described first light source and described image acquisition units is greater than the distance of described secondary light source and described image acquisition units;
This method may further comprise the steps:
In cycle, the control secondary light source is closed at second clock; In first clock period, described secondary light source is opened, and produces the 3rd optical effect;
Utilize image acquisition units to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
At described second clock in the cycle, determine the relevant position of operating body described in the image of described second optical effect, thereby determine that described operating body is at the position range of described touch area; In described first clock period, if described first light source closes, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
11. input method according to claim 9 is characterized in that:
Described electronic equipment also comprises:
Optical detection unit;
This method may further comprise the steps:
Utilize described optical detection unit to detect the intensity of described first optical effect in the described touch area, when the intensity of described first optical effect is lower than predetermined value, open described secondary light source, to produce the 3rd optical effect;
Utilize described image acquisition units to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
12. input method according to claim 9 is characterized in that:
Described first light source is arranged near the described image acquisition units, and be configured such that the operating body that is used for the described electronic equipment of operation of close described image acquisition units in the irradiation area of described first light source, and described reflex reflection parts are not in the irradiation area of described first light source;
This method may further comprise the steps:
, control described secondary light source and close in the cycle at second clock; In first clock period, described secondary light source produces the 3rd optical effect;
Utilize described image acquisition units to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
At described second clock in the cycle, determine the relevant position of operating body described in the image of described second optical effect, thereby determine that described operating body is at the position range of described touch area; In described first clock period, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
13. input method according to claim 9 is characterized in that:
Described electronic equipment also comprises:
Proximity transducer is arranged near the described image acquisition units;
This method may further comprise the steps:
Utilize described proximity transducer to detect the described operating body that enters described touch area and whether be in the irradiation area of described first light source, if, then open described first light source, produce first optical effect, and close described secondary light source; Otherwise close described first light source, and open described secondary light source, produce the 3rd optical effect;
Utilize described image acquisition units to gather the image of the 4th optical effect, described the 4th optical effect is to form at described the 3rd optical effect after entering described touch area for the operating body of operating described electronic equipment;
Under the situation that described first light source is opened, determine the relevant position of operating body described in the image of described second optical effect, thereby determine that described operating body is at the position range of described touch area; Under the situation that described secondary light source is opened, determine the relevant position of operating body described in the image of described the 4th optical effect, thereby determine that described operating body is at the position range of described touch area.
14. input method according to claim 9 is characterized in that:
Determine the relevant position of operating body described in the image of described second optical effect, specifically comprise: determine the corresponding position of part higher than remainder brightness in the image of described second optical effect, as the relevant position of described operating body.
15. input method according to claim 10 is characterized in that:
Determine the relevant position of operating body described in the image of described second optical effect, specifically comprise: determine the corresponding position of part higher than remainder brightness in the image of described second optical effect, as the relevant position of described operating body; And
Determine the relevant position of operating body described in the image of described the 4th optical effect, specifically comprise: determine the corresponding position of part lower than remainder brightness in the image of described the 4th optical effect, as the relevant position of described operating body.
16. according to each described input method among the claim 11-13, it is characterized in that:
Determine the relevant position of operating body described in the image of described the 4th optical effect, specifically comprise: determine the corresponding position of part lower than remainder brightness in the image of described the 4th optical effect, as the relevant position of described operating body.
CN 201010138498 2010-04-01 2010-04-01 Electronic equipment and input method thereof Active CN102214045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010138498 CN102214045B (en) 2010-04-01 2010-04-01 Electronic equipment and input method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010138498 CN102214045B (en) 2010-04-01 2010-04-01 Electronic equipment and input method thereof

Publications (2)

Publication Number Publication Date
CN102214045A CN102214045A (en) 2011-10-12
CN102214045B true CN102214045B (en) 2013-09-04

Family

ID=44745376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010138498 Active CN102214045B (en) 2010-04-01 2010-04-01 Electronic equipment and input method thereof

Country Status (1)

Country Link
CN (1) CN102214045B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5880503B2 (en) 2013-09-11 2016-03-09 コニカミノルタ株式会社 Touch panel input device
TWI509488B (en) * 2014-04-30 2015-11-21 Quanta Comp Inc Optical touch system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145091A (en) * 2007-11-01 2008-03-19 复旦大学 Touch panel based on infrared pick-up and its positioning detection method
CN101582001A (en) * 2009-07-07 2009-11-18 松翰科技股份有限公司 Touch control screen, touch control module and control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100055516A (en) * 2007-08-30 2010-05-26 넥스트 홀딩스 인코포레이티드 Optical touchscreen with improved illumination

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145091A (en) * 2007-11-01 2008-03-19 复旦大学 Touch panel based on infrared pick-up and its positioning detection method
CN101582001A (en) * 2009-07-07 2009-11-18 松翰科技股份有限公司 Touch control screen, touch control module and control method

Also Published As

Publication number Publication date
CN102214045A (en) 2011-10-12

Similar Documents

Publication Publication Date Title
CN101836180B (en) Detecting ambient light levels in a vision system
CN103294994B (en) For the device of face is recognized based on environmental suitability
CN101617271A (en) Use the enhancing input of flashing electromagnetic radiation
KR101550474B1 (en) Method and device for finding and tracking pairs of eyes
CN102016772A (en) Interactive input system and illumination assembly therefor
EP2987389A1 (en) A method of characterizing a light source and a mobile device
CN110321819A (en) The occlusion detection method, apparatus and storage device of picture pick-up device
CN106469292A (en) License plate recognition control system and its identification control method
CN105548193A (en) System and method for defect detection
CN1979396A (en) Optical navigation device and method of operating the same
CN212677296U (en) Mobile phone detection and recovery device
TWI769668B (en) Fingerprint collection method and device
CN110057841A (en) A kind of defect inspection method based on transmittance structure light
CN104165653B (en) For gathering device and the acquisition method thereof of bearing roller end face and chamfering image
CN102214045B (en) Electronic equipment and input method thereof
US20200122344A1 (en) Method for sensing depth of object by considering external light and device implementing same
CN108289362A (en) A kind of light compensating lamp adaptive control system and method
JP2002299070A (en) Lighting control system
CN106354344A (en) Method for detecting touch positions in infrared touch screen and terminal equipment
CN103123536B (en) Displacement detector and operational approach thereof
CN102446034B (en) Optical touch control system and object sensing method thereof
CN101937505A (en) Target detection method and equipment and used image acquisition device thereof
CN106210552A (en) Illuminator
KR20150092670A (en) Security camera
JP6231333B2 (en) Fire detection device and fire detection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant