CN102866809A - Click detection method of optical navigation module - Google Patents

Click detection method of optical navigation module Download PDF

Info

Publication number
CN102866809A
CN102866809A CN2011101921698A CN201110192169A CN102866809A CN 102866809 A CN102866809 A CN 102866809A CN 2011101921698 A CN2011101921698 A CN 2011101921698A CN 201110192169 A CN201110192169 A CN 201110192169A CN 102866809 A CN102866809 A CN 102866809A
Authority
CN
China
Prior art keywords
value
image
threshold value
guidance module
judge
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.)
Pending
Application number
CN2011101921698A
Other languages
Chinese (zh)
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.)
GUANGBAO SINGAPORE CO Ltd
Original Assignee
GUANGBAO SINGAPORE CO 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 GUANGBAO SINGAPORE CO Ltd filed Critical GUANGBAO SINGAPORE CO Ltd
Priority to CN2011101921698A priority Critical patent/CN102866809A/en
Publication of CN102866809A publication Critical patent/CN102866809A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a click detection method of an optical navigation module. The optical navigation module comprises an optical sensor and a processor. The detection method comprises the following steps of: calculating displacement of a target in contact with the optical navigation module according to a sensing image sensed by the optical sensor; and comparing the displacement with a displacement threshold value. When the displacement is less than the displacement threshold value, a brightness difference value of the sensor image is also calculated and is compared with a brightness threshold value. When the brightness difference value is less than the brightness threshold value, whether a target clicks the optical navigation module or not is judged.

Description

The click detection method of optical guidance module
Technical field
The present invention relates to a kind of detection method, and be particularly related to a kind of click detection method of optical guidance module.
Background technology
The utilization scope of navigation module in electronic installation be rapidly expansion recently, trace ball on the electronic products such as intelligent mobile communication device, multimedia playing apparatus, notebook computer or telepilot, capacitive touch control plate, mechanical type direction key etc. are with this auxiliary user mobile index or choose archives on electronic installation.Navigation module can produce data according to user's operation, and according to the received instruction of data judgement electronic installation, such as being click (tap), towing (drag) or scrolling (scroll) etc., the control electronic installation is carried out corresponding work according to instruction, for example chooses program, mobile archives or roll scroll.
Navigation module is in order to judge whether electronic installation receives the means of the instruction of click or scrolling at present, to operate with mechanical type change-over switch (mechanical switch), according to user's push switch commutation circuit closure or open, judge user's click action for the processor of electronic installation.Yet this kind means need to dispose change-over switch separately in electronic installation, and provide the space so that this hardware element to be set in guider.
In addition, guider is judged when the instruction type that receives is the type of click or scrolling, also may be subject to the impact of user's operational motion and produce erroneous judgement, for example the action with quick scrolling is mistaken for click action, and causes guider to respond wrong information or the operation of execution error.
Summary of the invention
The object of the invention is to provides a kind of click of optical guidance module detection method for solving the problems of the technologies described above.
The invention provides a kind of click detection method of optical guidance module, the optical guidance module comprises optical sensor and processor.Described detection method comprises: the sensing image that senses according to optical sensor calculates the displacement of the target that is contacted with the optical guidance module, and compares described displacement and shift gate limit value.When displacement during less than the shift gate limit value, calculate the luminance difference value of sensing image, and compare described luminance difference value and luminance threshold value.When luminance difference value during less than the luminance threshold value, judge that described target clicks in the optical guidance module.
In addition, the embodiment of the invention also provides a kind of click detection method of optical guidance module, and the optical guidance module comprises optical sensor and processor.Described method comprises: calculate the displacement of the target that is contacted with the optical guidance module according to the sensing image of optical sensor institute sensing, and compare this displacement and shift gate limit value.When displacement during less than the shift gate limit value, also calculate the luminance difference value of sensing image, and comparison luminance difference value and luminance threshold value.When luminance difference value during less than the luminance threshold value, judge that target clicks in the optical guidance module, and begin timing according to the click time.Not yet expire when the click time, calculate the image feature value of next sensing image, and compare with the navigation threshold value.When the image feature value during threshold value, stops to calculate the click time less than navigation, and judge that the optical guidance module is knocked.
In sum, the click detection method of optical guidance module provided by the present invention, can utilize processor that the sensing image is analyzed and processed, click the operation that detects to reach, after the optical guidance module is attached on the electronic installation, electronic installation need not to be detected by extra hardware element, can reduce the production cost of electronic installation.
In addition, the click detection method that the embodiment of the invention provides, also can provide multiple testing mechanism, take improve to judge target to the operator scheme of optical guidance module as clicking or the accuracy of non-some blow mode, be conducive to make the more correctly corresponding instruction that receives of optical guidance module and carry out corresponding operation.
Description of drawings
Fig. 1 is the synoptic diagram of a kind of electronic installation embodiment;
Fig. 2 is the block scheme of a kind of optical guidance module embodiment;
Fig. 3 A is the synoptic diagram of sensing image embodiment provided by the invention to Fig. 3 C;
Fig. 4 is the process flow diagram of the click detection method embodiment of a kind of optical guidance module provided by the invention;
Fig. 5 is the process flow diagram of the click detection method embodiment of another kind of optical guidance module provided by the invention.
Wherein, description of reference numerals is as follows:
1: electronic installation;
10: the optical guidance module;
100: the sensing plane;
102: optical sensor;
104: processor;
2: target;
20: target image;
301a-301c: sensing image;
303a-303c: sensing image;
305a-305c: sensing image;
S401-S417: process step;
S501-S533: process step.
Embodiment
(optical guidance module and click detection method embodiment thereof)
Please refer to an exemplary electronic installation synoptic diagram shown in Figure 1, described electronic installation 1 is provided with optical guidance module 10.Electronic installation 1 can be the devices such as intelligent mobile phone, personal digital assistant or notebook computer.Fig. 1 anticipates take intelligent mobile phone as illustration.Referring again to the structural drawing of optical guidance module 10 shown in Figure 2, optical guidance module 10 includes at least the sensing plane 100 (as shown in Figure 1) that is arranged on electronic installation 1 surface, is arranged at optical sensor 102 and processor 104 in the electronic installation 1.Optical sensor 102 is the reflected light that produces in target 2 of the Infrared irradiation of sensing optics navigation module 10 internal emission sustainably, and produces a plurality of sensing images.104 pairs of sensing images of processor carry out analyzing and processing, with the target 2 that reflected according to the sensing image contact condition with sensing plane 100, judge the operator scheme of target 2 on sensing plane 100, and and then control electronic installation 1 and carry out corresponding work according to the operator scheme of target 2.
Described optical guidance module 10 can be optical finger navigation module (Optical Finger Navigation module, OFN module) in the present embodiment.Optical sensor 102 can be complementary metal oxide semiconductor (CMOS) sensor or charge coupled cell (CCD) sensor, and processor 104 then can be the control elements such as digital signal processor (DSP), microcontroller (MCU) or Application Specific Integrated Circuit (ASIC).Except above-mentioned optical sensor 102 and processor 104, also comprise other in order to the element of auxiliary sensing or processing in the optical guidance module 10, such as in order to the light emitting diode that sends infrared light and lens etc., then do not give unnecessary details at this.The targets 2 of described 100 operations on the sensing plane then can be user's finger or pointer etc., in order to touch, to press on sensing plane 100 or mobile, choose or the operations such as opening program, display menu or roll scroll with control electronic installation 1.
Processor 104 can calculate the pixel value of a plurality of pixels included in each sensing image, and the operation that judgement target 2 is carried out with respect to optical guidance module 10, for example target 2 touch in sensing plane 100,100 mobile on the sensing plane, or 100 promote and leave optical guidance module 10 from the sensing plane.
See also the sensing image synoptic diagram shown in Fig. 3 A and Fig. 3 B.Wherein, when target 2 is touched sensing plane 100 from same position haply, optical sensor 102 may sense the close sensing image of several image contents continuously, among as shown in Figure 3A sensing image 301a, the 301b and 301c, the position of the target image 20 that target 2 is acquired is all similar to area coverage, and processor 104 can be judged target 2 according to the pixel value of described several sensing images and click (tap) optical guidance module 10 in fixed point.And when target 2 on the sensing plane 100 when sliding (slide), continuous a plurality of sensing images that optical sensor 102 produces, the target image 20 that then can sequentially get access to target 2 is in the picture of diverse location in the sensing image, sensing image 303a, 303b and 303c shown in Fig. 3 B, 104 of processors target image 20 pixel values can be from each sensing image 303a to 303c distribute and change and judge target 2 and produce displacement toward the lower right from the upper left side on sensing plane 100.
By above-mentioned judgment mechanism, it is some blow mode or the non-some blow mode such as scrolling, slip according to target 2 operator scheme at that time that processor 104 can further be controlled electronic installation 1 according to the result who judges, carries out corresponding operation.
Yet, when target 2 moves on sensing plane 100 fast, may produce the effect of clicking as in fixed point.For example when target 2 be user's finger, and the user is when controlling reel convolution on the display interface of electronic installation 1 with the finger wish, finger may repeatedly slide on sensing plane 100 fast and momently.For example among three sensing image 305a, 305b shown in Fig. 3 C and the 305c, in fact from sensing image 305a to the sensing image 305b, target 2 is slided once but rapidly from top to bottom not as good as being caught by optical sensor 102, so that the sensing picture 305a that optical sensor 102 obtains all is positioned at close position to the target image 20 among the 305c, similar to 301c to the sensing image 301a shown in Fig. 3 A.Thereby in such cases, processor 104 may be judged target 2 by accident in the performed operator scheme of optical guidance module 10, and causes electronic installation 1 can't correctly carry out the operation that user institute wish is carried out.
In the present embodiment, after processor 104 receives the sensing image, can carry out the pixel data in the batch processing code detection sensing image, whether really be the some blow mode in order to correctly judging the operator scheme of target 2 on optical guidance module 10 from the content of sensing image, or some blow mode non-some blow mode in addition.
See also Fig. 4, shown in Figure 4 is in the present embodiment, and processor 104 program code are to detect the whether process flow diagram of clicked wherein a kind of method of optical guidance module 10.
When processor 104 receives a sensing image of 102 sensings of optical sensor, can calculate first the image feature value (S401) of sensing image, the pixel average of the pixel that comprises of described sensing image for example, or the image contrast who calculates according to each pixel value of sensing image.Processor 104 is also pre-if the navigation threshold value that dynamically determines is compared with the image feature value of described sensing image and one, judges that whether the image feature value is more than or equal to the threshold value (S403) of navigating.If in the result of step S403 comparison, judge the image feature value of described sensing image less than the navigation threshold value, then choose next sensing image (S405) and return step S401 the sensing image of newly choosing is calculated and compares.
Because optical sensor 102 sustainable sensings and generation sensing image, but target 2 might not be controlled electronic installation 1 in sensing plane 100 by continuous contact.When target 2 is left from sensing plane 100, the pixel average of the sensing image that optical sensor 102 senses is lower, the image contrast is also less obvious, otherwise, when target 2 touches sensing plane 100 really, the pixel average of corresponding sensing image is higher, and the contrast of image is then more obvious.So whether the comparison of step S403 can include to control the target image 20 (consulting Fig. 3 A) of the target 2 of electronic installation 1 in order to judge the sensing image.After the screening by the navigation threshold value of the image feature value of sensing image, processor 104 is just judged the target image 20 that includes target 2 in the sensing image, and continues basis and comprise that the data of the sensing image of target image 20 carry out follow-up computing and judgement.
When the comparison result of step S403 is that the image feature value is during more than or equal to the navigation threshold value, processor 104 can further carry out image identification to target image in the sensing image, compare out vertical put and horizontal level variation of target image in former and later two sensing images, calculate the displacement (S407) of target 2 reactions in the sensing image, in other words, be x direction of principal axis and the y axial displacement (Δ x and Δ y) of target image in the sensing image.
Processor 104 is then with displacement corresponding to sensing image and shift gate limit value compare (S409), judging the whether same or hand-to-hand position on Continuous Contact sensing plane 100 of target 2, or target 2 is 100 mobile and obvious change in displacement arranged on the sensing plane.The shift gate limit value can corresponding target image x direction of principal axis and y direction of principal axis displacement and comprise x axial translation threshold value and y axial translation threshold value.
Please comparison diagram 3A and Fig. 3 B in order to understanding.In the middle of Fig. 3 A, compared to the sensing image of Fig. 3 B, no matter sensing image 301a is that perpendicular displacement amount or horizontal displacement are all very little to the target image 20 among the 301c.The sensing image 303a of Fig. 3 B then has obvious variation to the target image 20 that 303c gets access to respectively on perpendicular displacement amount and horizontal displacement.So for example when comparing the displacement of sensing image 301b and sensing image 303b by same shift gate limit value, the displacement of sensing image 301b may be less than the shift gate limit value, the displacement of sensing image 303b then may be more than or equal to the shift gate limit value.When the displacement of sensing image during more than or equal to the shift gate limit value, representing target 2 is not to click sensing plane 100 in the same position on sensing plane 100, therefore judge that the operator scheme of target 2 is non-some blow mode (S411), but slide or the operation such as towing.The height of shift gate limit value may affect whether processor 104 identification targets 2 are the sensitivity of a blow mode, when the shift gate limit value arranges highlyer, it is more to represent permissible displacement, and processor 104 is easy to judge that according to the sensing image target 2 is in a blow mode; Otherwise the shift gate limit value arranges lowlyer, and permissible displacement is less, and 104 of processors are easy to judge that target 2 is in non-some blow mode.
And when the comparison displacement is judged displacement corresponding to sensing image less than the shift gate limit value with the result of shift gate limit value, processor 104 also can further calculate the luminance difference value (S413) of sensing image, and compare with luminance difference value and the luminance threshold value of sensing image, to judge that whether the luminance difference value is more than or equal to luminance threshold value (S415).
In the present embodiment, the luminance difference value can be the difference of max pixel value and minimum pixel value in a plurality of pixels of sensing image.In the present embodiment, brightness corresponding to each pixel of sensing image can be manifested by its pixel value, take the grey-tone image on 256 rank as example, each pixel can be shown by the pixel value that 8 bits form from white to black color, when pixel value more near 0 color that shows darker (near black), pixel value is 256 interval scales then brighter (approach white).When the target image 20 that comprises in the sensing image corresponding to target 2, higher corresponding to the pixel value of the pixel of target image 20, approach bright white, and do not sense the part of target image 20, pixel value is then on the low side, approaches dark dark black.
Please cooperate the sensing image contrast the following description shown in Fig. 3 A and Fig. 3 C.As shown in Figure 3A, when target 2 touches the sensing plane 100 of optical guidance module 10 in the mode of clicking, since target 2 haply can from same location fixes touch sensing plane 100, for example finger is 30 degree angles with sensing plane 100 and when repeatedly clicking, optical sensor 102 can sense the almost image of whole finger print, no matter so be that the pixel value of each pixel among sensing image 301a, 301b or the 301c relatively can be more approaching, the gap of max pixel value and minimum pixel value is less.In other words, when the operator scheme of target 2 was the some blow mode, described luminance difference value was less.
Yet, when target 2 is sensing plane 100 with the mode contact optical navigation module 10 of quick sliding, even the displacement of target image 20 also is lower than the shift gate limit value, but because target 2 is actually after short-range movement and promotes, so in the sensing image that is sensed by optical sensor 102, be easy to generating portion and comprise the image frame that target image 20 parts then do not have target image 20, shown in Fig. 3 C, so so that the max pixel value in the sensing image (such as 305a) and the gap of minimum pixel value, in comparison can be greater than the margin of image element distance of the sensing image under the blow mode.In other words, be when putting blow mode, even the corresponding displacement of sensing image is namely little, still to have the larger luminance difference value of gap when the operator scheme of target 2 is non-.
So, when step S415 compares luminance difference value and the luminance threshold value of sensing image, and when judging the luminance difference value more than or equal to the luminance threshold value, 104 of processors can judge that the target 2 when obtaining described sensing image is in non-some blow mode (S411), and can further control the relevant operation that electronic installation 1 is carried out corresponding to non-click, for example be towing archives or roll scroll.Otherwise, after the double check through shift gate limit value and luminance threshold value, processor 104 is judged the displacement of sensing image not only less than the shift gate limit value, its luminance difference value is also less than the luminance threshold value, can judge then that the operator scheme of target 2 is a blow mode (S417) this moment, and can and then control electronic installation 1 and carry out follow-up judgement, for example whether target 2 100 promotes and finishes the action of a keystroke from the sensing plane, or carries out the operation of choosing specific project (such as a selected application program) according to the action of clicking.
(another embodiment of click detection method of electronic installation)
Next please refer to the process flow diagram of another click detection method embodiment shown in Figure 5.The described method of present embodiment can be carried out by the optical guidance module 10 of Figure 1 and Figure 2, thus following explanation please in the lump with reference to the signal of Figure 1 and Figure 2 and block scheme in order to understanding.
The described click detection method of present embodiment, whether not only can judge target 2 to click the mode contact optical navigation module 10 of (tapping), but not slide or scrollings in optical guidance module 10, also can in order to judge target 2 be long by or knock optical guidance module 10.
When optical sensor 102 sensing and produce a plurality of sensing image M continuously 1, M 2To M nIn time, rise, and processor 104 can sequentially receive and analyze each sensing image M 1To M n, receive a sensing image at every turn and (for example be M 1) after, can calculate first sensing image M 1Image feature value (S501), for example be sensing image M 1The pixel average of included pixel or image comparison degree, and with image feature value and pre-if the navigation threshold value that dynamically determines is compared, judge sensing image M 1The image feature value whether more than or equal to navigation threshold value (S503), whether be contacted with sensing plane 100 and wish begins to control electronic installation 1 with identification target 2 (such as finger).If sensing image M 1The image feature value by the navigation threshold value, in other words, the image feature value is less than navigation during threshold value, 104 of processors are judged not start or control on optical guidance module 10 of target 2, and make optical guidance module 10 maintain the state of waiting for user's operation, and select next sensing image (for example to be M 2) rear (S505), return step S501 and calculate sensing image M 2Image feature value supervisor.
If step S503 judges sensing image M 2The image feature value more than or equal to the navigation threshold value, 104 of processors can be further to sensing image M 2Carry out double check.Can compare in the present embodiment sensing image M 2Whether corresponding displacement is more than or equal to the shift gate limit value, and comparison sensing image M 2The luminance difference value whether more than or equal to luminance threshold value (S507).Sensing image M 2Corresponding displacement can be target image at sensing image M 1With at sensing image M 2In the difference of position, comprise x direction of principal axis and y direction of principal axis.
If in the step of above-mentioned double check, each comparison result is arranged more than or equal to threshold value, for example displacement more than or equal to shift gate limit value or luminance difference value more than or equal to the luminance threshold value, or both are all respectively by corresponding threshold value, the displacement pattern (pattern) little and sensing contact plane 100 that the operator scheme of 104 judgements of processor target 2 does not meet the click action generation is the characteristic of fixed point contact, therefore the operator scheme of target 2 is non-some blow modes, thereby produce the action (S509) knock optical guidance module 10, more particularly, the action carried out at that time of target 2 may be scrolling.Otherwise, if after the double check step of step S507, compare out sensing image M 2Displacement during also less than the luminance threshold value, judge then that the operator scheme of target 2 is a some blow mode (S511) less than shift gate limit value and luminance difference value.That is to say that processor 104 is judged that targets 2 touch and rested on fixed point behind the sensing plane 100 and mobile hardly.
When processor 104 judges that targets 2 are clicked in optical guidance module 10, can begin timing according to one section time span of clicking the time, and judge whether the click time expire (S513), the described click time can be default several seconds or several milliseconds.If target 2 is clicked the click time of counting in optical guidance module 10 and has been expired, then represent to continue for some time (length of namely clicking the time) after target 2 is contacted with sensing plane 100, processor 104 can judge that also described target 2 performed actions are not to knock optical guidance module 10 (S509).More particularly, target 2 performed actions this moment may be long fixed points that presses on the sensing plane 100, and 1 of electronic installation can be carried out corresponding operation according to target 2 long patterns of pressing.
Not yet expire if judge the click time at step S513,104 of processors can continue to choose next sensing image and (for example be M 3), and copy step S501 and S503, calculate sensing image M 2Image feature value (S515), and judge sensing image M 3The image feature value whether more than or equal to navigation threshold value (S517).If sensing image M 3The image feature value also by the screening of navigation threshold value, processor 104 can return step S507 and following, judges sensing image M 3Whether pass through the double check of moving door limit value and luminance threshold value, if sensing image M 3Movement value or the luminance difference value by the detection of corresponding threshold value, then represent from sensing image M 2To sensing image M 3In the middle of institute's elapsed time, target 2 is clicked in a fixed point and is moved to other positions again, is not for knocking optical guidance module 10 (S509) so can judge target 2.More particularly, in such cases, the action that target 2 will be carried out may be the archives that towing electronic installation 1 uses on the interface.
When if processor 104 not yet expired in the click time, from the sensing image that sequentially calculates, compares, judge a sensing image and (for example be M 4) the image feature value less than the navigation threshold value when (result who is step S517 is no), can add meter number of taps (S519) and stop to calculate the click time.Processor 104 is no according to the result of step S517 simultaneously, and judges that target 2 senses sensing image M at optical sensor 102 4The time, 100 promote (lifted) (S521) from the sensing plane.In addition, add the mode of counting number of taps and for example upgrade the numerical value that the working storage (not shown) of optical guidance module 10 is kept in, or the numerical value of refresh counter.Each number of taps represent processor 104 judge target 2 carried out once in optical guidance module 10 " promote after clicking (tapping and then lifting) " action, also namely finish the action of a keystroke.In addition, judge target 2 when sensing plane 100 promotes, processor 104 can promote the time timing according to one section.
Then, processor 104 can read the number of taps that working storage or counter are counted, to judge whether number of taps surpasses once (S523), if, represent that then target 2 knocks the sensing plane more than 100 time continuously, can further control the knocking continuously (multi-click) of electronic installation 1 corresponding target 2 and carry out corresponding double hit operation (S525).The common practice is double-click (double click) sensing plane 100, and then so that electronic installation 1 is carried out corresponding to the operation of double-clicking, for example opens archives or the application program double-clicked.
Otherwise, if number of taps surpasses once, also can further judge the lifting time whether expire (S527).The described lifting time also can be one section time span that is preset as several seconds or several milliseconds.Because when knocking optical guidance module 10 continuously, the time interval of knocking for forward and backward time is usually extremely short, so the lifting time in the present embodiment can be used for after judging that target 2 promotes from sensing plane 100, whether within the of short duration time, click again sensing plane 100, or promote and in defined time span of lifting time, not hit once again a sensing plane 100, and be not considered to be the action of adopting consecutive click chemical reaction.
Therefore, when number of taps does not surpass once (being that the determination result is NO for step S523), and the lifting time is when expiring (judged result that is step S527 is yes), 104 of processors can judge that target 2 knocks (single click) optical guidance module 10 for single, and and then the single of control electronic installation 1 corresponding target 2 knock and carry out corresponding operation (S529), for example selected specific file or the program clicked.
It is worth mentioning that after judging the target double hit or clicking optical guidance module 10, processor 104 can be controlled number of taps is made zero, in order to again record number of taps according to the operation of target 2.
If the lifting time not yet expires (being that the determination result is NO for step S527), processor 104 can continue to choose follow-up sensing image again and (for example be M 5), and calculate sensing image M 5Image feature value (S531) and judge sensing image M 5The image feature value whether more than or equal to navigation threshold value (S533).If the result that step S533 judges is no, then represent the state that target 2 still is maintained lifting, processor 104 can return once again step S527 and judge whether the lifting time expires.If but the result that step S533 judges is yes, then represents at sensing image M 4Be judged as after 100 liftings of sensing plane sensing image M 5Be judged as again and be contacted with sensing plane 100, so processor 104 can stop to calculate the lifting time, and return once again step S507 and begin to judge sensing image M 5Corresponding displacement and luminance difference value, take the pattern on identification target 2 sensing contact planes 100 whether once again as a some blow mode, or be towing, long by etc. other operator schemes.
By the disclosed means of above-described embodiment, not only can accurately judge the operator scheme of target 2 on optical guidance module 10 is a blow mode or non-some blow mode, can learn further more whether target 2 knocks optical guidance module 10, with and the number of times that knocks, correctly carry out corresponding operation according to the different operating of target 2 in order to electronic installation 1.
(the possible effect of embodiment)
According to the embodiment of the invention, processor utilizes the means of double check, except with displacement what as the screening conditions, also further according to the luminance difference of sensing image itself as judging whether target clicks another screening conditions of optical guidance module, to reduce processor target is being learned the mobile possibility that is mistaken for click of navigation module.
In addition, as described in above-mentioned each content of implementing to disclose, the click method for sensing of above-mentioned optical guidance module can judge exactly that the operator scheme of target is some blow mode or non-some blow mode.Further, can judge also whether target knocks in the sensing plane of optical guidance module or non-ly be hammer action so that be provided with the optical guidance module electronic installation can according to target knocking, pulling or long by and correctly carry out corresponding operation.
According to the disclosed content of embodiment, the click method for sensing that the present invention proposes not only can be judged the action that target is knocked in the optical guidance module, also can further judge the operated action of target is that single knocks or knocks continuously, impels can be exactly corresponding execution of the electronic installation that is provided with the optical guidance module to click the relative programs such as operation or double hit operation.
In addition, according to the described means of above-described embodiment, utilize the processor program code and increase mechanism in order to detect, electronic installation with optical guidance module does not namely need additionally hardware button to be set and the means of utilizing mechanical type to switch are judged the mode of operation of target, can reduce the material of electronic installation, and then reduce the cost of manufacture of device.
The above only is embodiments of the invention, and it is not to limit to claim of the present invention.

Claims (14)

1. the click detection method of an optical guidance module, this optical guidance module comprises optical sensor and processor, it is characterized in that the method comprises:
Calculate the displacement of the object that is contacted with this optical guidance module according to the sensing image of this optical sensor sensing;
Compare this displacement and shift gate limit value;
When this displacement during less than this shift gate limit value, calculate the luminance difference value of this sensing image;
Compare this luminance difference value and luminance threshold value; And
When this luminance difference value during less than this luminance threshold value, judge that this object clicks in this optical guidance module.
2. click detection method according to claim 1 is characterized in that, compares after this displacement and this shift gate limit value, also comprises:
When this displacement during more than or equal to this shift gate limit value, judge that this optical guidance module is non-clicked.
3. click detection method according to claim 1 is characterized in that, compares after this luminance difference value and this luminance threshold value, also comprises:
When this image pixel value during more than or equal to this shift gate limit value, judge that this optical guidance module is non-clicked.
4. click detection method according to claim 1 is characterized in that, calculates before this displacement, also comprises:
Calculate the image feature value of this sensing image; And
Compare this image feature value and navigation threshold value, to calculate this displacement during more than or equal to this navigation threshold value in this image feature value.
5. click detection method according to claim 4 is characterized in that, pixel average or the image contrast of a plurality of pixels that this image feature value is this sensing image.
6. click detection method according to claim 1 is characterized in that, this luminance difference value is max pixel value in a plurality of pixels of this sensing image and the difference of minimum pixel value.
7. the click detection method of an optical guidance module, this optical guidance module comprises optical sensor and processor, it is characterized in that the method comprises:
Calculate the displacement of the object that is contacted with this optical guidance module according to the sensing image of this optical sensor sensing;
Compare this displacement and shift gate limit value;
When this displacement during less than this shift gate limit value, calculate the luminance difference value of this sensing image;
Compare this luminance difference value and luminance threshold value;
When this luminance difference value during less than this luminance threshold value, judge that this object clicks in this optical guidance module, and begin timing according to the click time;
Not yet expire when this click time, calculate the image feature value of the next sensing image of this sensing image, and compare with the navigation threshold value; And
When this image feature value is navigated threshold value less than this, stop to calculate this click time, and judge that this optical guidance module is knocked.
8. click detection method according to claim 7 is characterized in that, after calculating this image feature value and comparing this navigation threshold value, also comprises:
When this image feature value is navigated threshold value more than or equal to this, return according to this sensing image and calculate this displacement, maybe should expire the click time less than this navigation threshold value until compare out this image feature value.
9. click detection method according to claim 8 is characterized in that, after this image feature value is less than this navigation threshold value, also comprises:
Judge that this object promotes from this optical guidance module;
Add the meter number of taps;
Judge that whether this number of taps is greater than one; And
When this number of taps greater than for the moment, judge that this optical guidance module is knocked continuously, and carry out the double hit operation.
10. click detection method according to claim 9 is characterized in that, judges that this number of taps whether greater than after one, also comprises:
When this knocks inferior to being not more than for the moment, judge whether the lifting time expires; And
Expire when this lifting time, judge that this optical guidance module knocked by single, and carry out and click operation.
11. click detection method according to claim 10 is characterized in that, judge that this lifting time whether at the expiration after, also comprise:
Not yet expire when this lifting time, calculate this image feature value of next sensing image, and compare with this navigation threshold value;
This image feature value that does not calculate at the expiration the time when this lifting time is returned according to this sensing image and is calculated this displacement during more than or equal to this navigation threshold value, maybe should expire the click time less than this navigation threshold value until compare out this image feature value; And
This image feature value that calculates not yet at the expiration the time when this lifting time is during less than this navigation threshold value, return this image feature value of calculating next sensing image and compare this navigation threshold value, until this image feature value maybe should expire more than or equal to this navigation threshold value the lifting time.
12. click detection method according to claim 7 is characterized in that, compares after this displacement and this shift gate limit value, also comprises:
When this displacement during more than or equal to this shift gate limit value, judge that this optical guidance module is non-clicked.
13. click detection method according to claim 7 is characterized in that, compares after this luminance difference value and this luminance threshold value, also comprises:
When this image pixel value during more than or equal to this shift gate limit value, judge that this optical guidance module is non-clicked.
14. click detection method according to claim 8 is characterized in that, judge that this click time whether at the expiration after, also comprise:
Expire when this click time, judge that this optical guidance module is non-to be knocked.
CN2011101921698A 2011-07-04 2011-07-04 Click detection method of optical navigation module Pending CN102866809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101921698A CN102866809A (en) 2011-07-04 2011-07-04 Click detection method of optical navigation module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101921698A CN102866809A (en) 2011-07-04 2011-07-04 Click detection method of optical navigation module

Publications (1)

Publication Number Publication Date
CN102866809A true CN102866809A (en) 2013-01-09

Family

ID=47445706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101921698A Pending CN102866809A (en) 2011-07-04 2011-07-04 Click detection method of optical navigation module

Country Status (1)

Country Link
CN (1) CN102866809A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825254A (en) * 2018-08-13 2020-02-21 中兴通讯股份有限公司 Touch device and interaction method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058204B2 (en) * 2000-10-03 2006-06-06 Gesturetek, Inc. Multiple camera control system
US20080048972A1 (en) * 2006-08-23 2008-02-28 Ramakrishna Kakarala Optically detecting click events
US20080165160A1 (en) * 2007-01-07 2008-07-10 Kenneth Kocienda Portable Multifunction Device, Method, and Graphical User Interface for Interpreting a Finger Gesture on a Touch Screen Display
CN101533323A (en) * 2008-03-10 2009-09-16 索尼株式会社 Display apparatus and position detecting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058204B2 (en) * 2000-10-03 2006-06-06 Gesturetek, Inc. Multiple camera control system
US20080048972A1 (en) * 2006-08-23 2008-02-28 Ramakrishna Kakarala Optically detecting click events
US20080165160A1 (en) * 2007-01-07 2008-07-10 Kenneth Kocienda Portable Multifunction Device, Method, and Graphical User Interface for Interpreting a Finger Gesture on a Touch Screen Display
CN101533323A (en) * 2008-03-10 2009-09-16 索尼株式会社 Display apparatus and position detecting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825254A (en) * 2018-08-13 2020-02-21 中兴通讯股份有限公司 Touch device and interaction method thereof
CN110825254B (en) * 2018-08-13 2021-12-07 中兴通讯股份有限公司 Touch device and interaction method thereof

Similar Documents

Publication Publication Date Title
US7692627B2 (en) Systems and methods using computer vision and capacitive sensing for cursor control
JP4630744B2 (en) Display device
US20170024017A1 (en) Gesture processing
CN101963848B (en) Method for determining if target point belong to plane, mouse and touch screen
US8514190B2 (en) Displays for electronic devices that detect and respond to the contour and/or height profile of user input objects
CN104898893B (en) Optical touch device and optical touch method
EP2107445A1 (en) Optical pointing device and method of detecting click event in optical pointing device
US20150153832A1 (en) Visual feedback by identifying anatomical features of a hand
US9122337B2 (en) Information processing terminal, and method for controlling same
CN101551723A (en) Electronic device and related control method
CN102314232A (en) Multifunctional mouse, system and input control method of system
CN103605465A (en) Method for controlling handheld equipment and handheld equipment
US20130293477A1 (en) Electronic apparatus and method for operating the same
TWI522843B (en) Optical system and click detection method therefor
CN103425275A (en) Sensing module and sensing method both applied to optical mouse and provided with electricity-saving function
TWI549037B (en) Touch detection method to prevent false touch in touch system
CN106249872A (en) The control method of a kind of proximity transducer, device and mobile terminal
CN102866809A (en) Click detection method of optical navigation module
TWI479363B (en) Portable computer having pointing function and pointing system
CN101493734B (en) Input controller, method and notebook computer
CN103425227B (en) The sensing module of tool electricity-saving function and method thereof
TW201303648A (en) Tapping detection method for optical navigation module
CN202404532U (en) Non-light-projection-based input keyboard
CN103529995B (en) Optics points to guider and method
CN101634869A (en) Integrated input device, input method implemented by utilizing same, and laptop

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130109