CN104102360A - Displacement detection device - Google Patents

Displacement detection device Download PDF

Info

Publication number
CN104102360A
CN104102360A CN201310119558.7A CN201310119558A CN104102360A CN 104102360 A CN104102360 A CN 104102360A CN 201310119558 A CN201310119558 A CN 201310119558A CN 104102360 A CN104102360 A CN 104102360A
Authority
CN
China
Prior art keywords
resource block
block size
processing unit
controlled processing
factor
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.)
Granted
Application number
CN201310119558.7A
Other languages
Chinese (zh)
Other versions
CN104102360B (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.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
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 Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CN201310119558.7A priority Critical patent/CN104102360B/en
Publication of CN104102360A publication Critical patent/CN104102360A/en
Application granted granted Critical
Publication of CN104102360B publication Critical patent/CN104102360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a displacement detection device. The displacement detection device comprises a light source, an image sensor and a control processing unit, wherein the light source is used for illuminating a working surface; the image sensor is used for receiving reflected lights from the working surface; the control processing unit is used for adjusting the block size of a comparison block according to quality parameters.

Description

Displacement detector
Technical field
The present invention is relevant a kind of input media, more relevant a kind of displacement detector that increases applicable working surface.
Background technology
In the peripheral device of computer system, mouse has been a kind of important input media.Because traditional roller type mouse has the problem of easy accumulation dust, roller type mouse is replaced by optical profile type optical mouse gradually.
The image correlation (correlation) that optical mouse is normally calculated in consecutive image carrys out displacement calculating amount.For example, with reference to shown in Fig. 1, two image F1, F2 that its display optical mouse obtains.Between each sampling period, image acquisition unit obtains current image F2 and is sent to processing unit.Described image acquisition unit also obtains reference picture F1 between last sampling period.The reference block RB that described processing unit is selected pre-set dimension in described reference picture F1 is object as a comparison; And the four corner of sequentially searching described current image F2 with the search block SB of same size in described current image F2 is searched block to obtain having with described reference block RB the best of high correlation.Then, described processing unit calculates the output shift quantity that the relative position of described reference block RB in described current image F2 and the described best variable quantity of searching block are used as described optical mouse.
Yet, because traditional optical formula mouse is to carry out displacement calculating amount with reference block and the search block of fixed measure, possibly cannot correctly calculate described displacement in some cases; For example, when at glass surface operating optical mouse, possibly cannot calculate displacement.
In view of this, the present invention also proposes a kind of displacement detector, and its resource block size that can adjust comparison blocks according to the content of institute's detected image is applicable to working surface more widely.
Summary of the invention
The invention provides a kind of displacement detector, it can adjust the resource block size of comparison blocks with the usability of increase working surface according to exposure parameter and image quality.
The invention provides a kind of displacement detector, it can use less resource block size to reduce device energy-wasting when image quality is high.
The invention provides a kind of displacement detector, it operates at working surface for confession user, and applicable to the optical type displacement detecting device with details in a play not acted out on stage, but told through dialogues configuration and bright field configuration.
The invention provides a kind of displacement detector, comprise light source, imageing sensor and controlled processing unit.Described light source is used for sending main beam and throws light on described working surface to form principal reflection light path.Described imageing sensor is positioned in described principal reflection light path and with exposure parameter and obtains current image.Described controlled processing unit for utilize search block search described current image, according to described current image calculation Q factor and dynamically adjust the resource block size of described search block according to described exposure parameter and described Q factor.In the present embodiment, described imageing sensor belongs to bright field configuration.
The present invention also provides a kind of displacement detector, comprises light source, imageing sensor and controlled processing unit.Described light source is used for sending main beam and throws light on described working surface to form principal reflection light path.Described imageing sensor is positioned at outside described principal reflection light path and obtains current image with exposure parameter.Described controlled processing unit for utilize search block search described current image, according to described current image calculation Q factor and adjust the resource block size of described search block according to described exposure parameter and described Q factor.In the present embodiment, described imageing sensor belongs to details in a play not acted out on stage, but told through dialogues configuration.
The present invention also provides a kind of displacement detector, comprises light source, imageing sensor and controlled processing unit.The described light source described working surface that is used for throwing light on.Described imageing sensor obtains current image with exposure parameter.Described controlled processing unit for utilize search block search described current image, according to described current image calculation Q factor and adjust the resource block size of described search block according to described Q factor.
In one embodiment, described controlled processing unit for example, is controlled the described exposure parameter of described imageing sensor according to the brightness of described current image (mean flow rate, high-high brightness or zone leveling brightness).
In one embodiment, when described controlled processing unit is smooth surface according to described current image judgement working surface, with the comparison blocks of large-size, come displacement calculating amount to increase working surface applicatory; When described controlled processing unit judges described working surface not for smooth surface, reduce the resource block size of described comparison blocks or resource block size is set as to default resource block size to save power consumption.
In one embodiment, described controlled processing unit just increases described resource block size when at present image judges that described working surface is smooth surface described in multiple, to increase running stability.
In one embodiment, when described Q factor is less than quality threshold value and described exposure parameter and is less than threshold exposure, described controlled processing unit judges that described working surface is smooth surface.
In one embodiment, when described Q factor is less than quality threshold value and described exposure parameter and is more than or equal to threshold exposure or described Q factor and is less than proportion threshold value divided by the quotient of described exposure parameter, described controlled processing unit judges that described working surface is smooth surface.
In the displacement detector of the embodiment of the present invention, can utilize many qualities threshold value and/or many threshold exposures to set the resource block size of a plurality of comparison blocks, to be applicable to various working surface.In addition, also the relation of quality threshold value and/or threshold exposure and different blocks size can be made into look-up table and be stored in storage element, when described controlled processing unit calculates one group of Q factor and exposure parameter, can select suitable comparison blocks size to increase operation usefulness.
For allow above and other object of the present invention, feature and advantage can be more obvious, below will coordinate appended diagram, be described in detail as follows.In addition,, in explanation of the present invention, identical member is to represent with identical symbol, at this, first states clearly.
Accompanying drawing explanation
Fig. 1 shows that known optical mouse obtains the schematic diagram of two images;
Fig. 2 shows the block schematic diagram of the displacement detector of the embodiment of the present invention;
Fig. 3 shows that the displacement detector of the embodiment of the present invention obtains the schematic diagram of two images;
Fig. 4 shows the process flow diagram of How It Works of the displacement detector of first embodiment of the invention;
Fig. 5 shows the schematic diagram of How It Works of the displacement detector of first embodiment of the invention;
Fig. 6 shows the process flow diagram of How It Works of the displacement detector of second embodiment of the invention;
Fig. 7 A shows the schematic diagram that the bright field of the displacement detector of second embodiment of the invention configures;
Fig. 7 B shows the running schematic diagram of the displacement detector of Fig. 7 A;
Fig. 8 A shows the schematic diagram that the details in a play not acted out on stage, but told through dialogues of the displacement detector of second embodiment of the invention configures;
Fig. 8 B shows the running schematic diagram of the displacement detector of Fig. 8 A.
Description of reference numerals
1 displacement detector
11 light sources
13 imageing sensors
15 controlled processing units
17 storage unit
19 tunnel interface modules
20, F 2current image
21, F 1reference picture
S working surface
F image
SB searches block
RB reference block
Li main beam
Lr principal reflection light path
Sf scattered optical field
Pexp Q factor
Q Q factor
Exp exposure parameter
S 31-S 33, S 41-S 43step
QTH 1-QTH 4quality threshold value
ETH 1-ETH 4threshold exposure.
Embodiment
Please refer to shown in Fig. 2, it shows the block schematic diagram of the displacement detector of the embodiment of the present invention.Displacement detector 1 of the present invention is such as be available for users to the input media in working surface S operation for optical mouse etc., for detection of and the displacement of the relatively described working surface S of output.Described displacement detector 1 is for example carried out corresponding actions for controlling the electronic installation that comprises display screen, such as controlling the known operation such as vernier action or diagram click, therefore do not repeat them here.
Described displacement detector 1 comprises light source 11, imageing sensor 13, controlled processing unit 15, storage unit 17 and tunnel interface module 19; Wherein, described controlled processing unit 15 couples described light source 11, imageing sensor 13, storage unit 17 and tunnel interface module 19.
Described light source 11 for example can be light-emittingdiode or Laser Diodes, to preset the luminous described working surface S that throws light on of spectrum, and required light when providing described imageing sensor 13 to obtain image.Described light source 11 for example can send main beam Li(main beam) the described working surface S that throws light on, the reflected light of described working surface S can form principal reflection light path Lr; Wherein, because described working surface S is not perfect minute surface, therefore can beyond described principal reflection light path Lr, form scattered optical field Sf(scattered field).If described light source 11 is luminous with same brightness, as described working surface S more smooth (smooth), the higher and described scattered optical field Sf of described principal reflection light path Lr intensity intensity is lower; Otherwise as described working surface S more coarse (rough), the lower and described scattered optical field Sf of described principal reflection light path Lr intensity intensity is higher.Therefore, can see through and judge that the intensity of described principal reflection light path Lr and described scattered optical field Sf judges whether described working surface S is smooth surface, for example glass surface.In other words, smooth surface may not include enough surface characteristics and rough surface includes enough surface characteristics conventionally.
Described imageing sensor 11 for example can be ccd image sensor, cmos image sensor or other for luminous energy being converted to the sensing device of electric signal, and it obtains the reflected light of described working surface S and export current image with sample frequency and exposure parameter; Wherein, described exposure parameter is such as comprising time shutter and/or image gain etc.In the present embodiment, described exposure parameter is to be determined by described controlled processing unit 15, and when the numerical value of described exposure parameter is higher, the mean flow rate of 11 output image F of described imageing sensor is raised.In the present invention, whether the setting position of described imageing sensor 13 is positioned on described principal reflection light path Lr can determine bright field (bright field) configuration or details in a play not acted out on stage, but told through dialogues (dark field) configuration, and different configurations can determine the setting (after being specified in embodiment) of threshold exposure.
The image F that the described imageing sensor 13 of described controlled processing unit 15 reception is exported accordingly displacement calculating amount.For example, with reference to shown in Fig. 3, the schematic diagram that it shows the described imageing sensor 13 two image F that obtain, for example, comprise current image 20 and reference picture 21; Wherein, described reference picture 21 is last image F being obtained by described imageing sensor 13 of described current image 20 and is stored in described storage unit 17.Described controlled processing unit 15 is for determining that in described reference picture 21 reference block RB(for example shows the reference block RB of three kinds of sizes herein 1-RB 3) and determine to search in described current image 20 the search block SB that block SB(for example shows three kinds of sizes herein 1-SB 3), and utilize described search block SB sequentially to search described current image 20 and search block to find out the best the highest with described reference block RB correlativity (correlation), and displacement calculating amount accordingly; Wherein, described controlled processing unit 15 is owing to being more described search block SB and described reference block RB, and therefore described search block SB and described reference block RB have same size; In the present invention's explanation, described search block SB and described reference block RB can be called to comparison blocks, so that explanation.In addition, utilize described search block SB sequentially to search the mode of described current image 20 and the mode of calculating correlativity for known; Spirit of the present invention is to adjust according to the shown feature of described current image 20 resource block size (after being specified in) of comparison blocks.
The exposure parameter Pexp of described imageing sensor 13 is controlled in the brightness (for example mean flow rate, high-high brightness or zone leveling brightness) that described controlled processing unit 15 also can calculate described current image.Described controlled processing unit 15 also calculates Q factors according to described current image 20, and according to described exposure parameter and/or described Q factor, adjusts the resource block size of described search block SB.Should be noted that, when adjusting the resource block size of described search block SB, described controlled processing unit 15 is adjusted the resource block size of described reference block RB naturally simultaneously.
In addition, it is luminous with different brightness image duration in different images that described controlled processing unit 15 also can be controlled described light source 11, and calculate relatively different brightness when luminous the difference image of the image F that obtains eliminate the impact of surround lighting.
Described storage unit 17 is for storing described reference picture 21, at least one threshold exposure, at least one quality threshold value and/or look-up table; Wherein, described look-up table comprises different Q factors and resource block size corresponding to different exposure parameter.In addition, described in some embodiment, image 20 also may be temporary in described storage unit 17 at present.
Described tunnel interface module 19 is sent to electronic installation by displacement, family expenses or mobile electronic installation that such as TV, optical projection system, games system, computer system etc. comprises display screen for wired or wireless; Wherein, wired and Radio Transmission Technology has been known, therefore do not repeat them here.
Please refer to shown in Fig. 4 the process flow diagram of the How It Works of the displacement detector of its demonstration first embodiment of the invention.The How It Works of the displacement detector of the present embodiment comprises the following step: image taking sensor obtains current image (step S 31); With controlled processing unit, calculate Q factor (step S 32); And adjust resource block size (step S according to described Q factor 33).In the first embodiment, only according to image quality adjustment, compare the frame size of frame.
Shown in Fig. 2-4, the detailed embodiment of the How It Works of the present embodiment is then described.
Step S 31: described imageing sensor 13 obtains current image 20 with lighting of the relatively described light source 11 of sample frequency.Now, described controlled processing unit 15 is for example first set as pre-set dimension by described comparison blocks, for example the second resource block size SB 2.
Step S 32: described controlled processing unit 15 then calculates the Q factor of described current image 20 to represent the feature of described working surface S; Wherein, described Q factor is such as the image quality such as sharpness, contrast, characteristic direction, local extremum number that can be described current image 20, and it can be quantized; When numerical value is higher, represent that described working surface S is more coarse and when numerical value is lower, represent that described working surface S is more smooth.For example can be with reference to the United States Patent (USP) of being owned together by this case common assignee the 7th about image quality, 142, No. 695,7,444, No. 006 and the 7th, 116, No. 801, but not as limit.
Step S 33: described controlled processing unit 15 judges according to the comparative result of described Q factor and quality threshold value whether described working surface S is smooth surface (judging whether to comprise enough surface characteristics).For example, when described Q factor is less than described quality threshold value, the described working surface S of described controlled processing unit 15 judgement is smooth surface (not comprising enough surface characteristics for displacement calculating amount); And when described Q factor is more than or equal to described quality threshold value, the described working surface S of described controlled processing unit 15 judgement is not smooth surface (comprising enough surface characteristics for displacement calculating amount).When described controlled processing unit 15 judges that according to the current image obtaining in Preset Time described working surface S is smooth surface, for example when the described working surface S of at present image 20 judgement is smooth surface described in one or more, increase described resource block size; Wherein said multiple such as thinking but be not limited to 16,32 etc., its objective is and for promoting stability, avoid described resource block size to be constantly changed.When described controlled processing unit 15 all judges described working surface S all not for smooth surface according to the current image 20 obtaining in Preset Time, reduce described resource block size or described resource block size is set as to default resource block size.In the present embodiment, described quality threshold value for example can suitably determine according to the applicable scope of the size of the sensor array of described imageing sensor 13 and/or working surface.
Please refer to shown in Fig. 5 the schematic diagram of the How It Works of the displacement detector of its demonstration first embodiment of the invention.In the present embodiment, suppose that default block is of a size of the second resource block size (SB for example 2), it for example, between the first resource block size (SB 1) and the 3rd resource block size (SB for example 3) between, as shown in Figure 3, wherein said the first resource block size SB 1be greater than described the 3rd resource block size SB 3.
Described imageing sensor 13 obtains current image 20 and is sent to described controlled processing unit 15(step S 31).Described controlled processing unit 15 calculates the Q factor Q(step S of described current image 20 32) and compare with at least one quality threshold value.Suppose that current resource block size is pre-set dimension (SB for example 2); When described Q factor Q is less than the first quality threshold value QTH 1time, 15 of described controlled processing units utilize the first resource block size (SB for example 1) scan described current image 20 and carry out displacement calculating amount; Otherwise, when described Q factor Q is more than or equal to the 4th quality threshold value QTH 4time, 15 of described controlled processing units utilize the 3rd resource block size (SB for example 3) scan described current image 20 and carry out displacement calculating amount.Suppose that current resource block size is described the first resource block size SB 1; When described Q factor Q is more than or equal to the second quality threshold value QTH 2time, it is described the second resource block size SB that described controlled processing unit 15 reduces resource block size 2, otherwise maintain described resource block size, be described the first resource block size SB 1.Suppose that current resource block size is described the 3rd resource block size SB 3; When described Q factor Q is less than the 3rd quality threshold value QTH 3time, it is described the second resource block size SB that described controlled processing unit 15 increases resource block size 2, otherwise maintain described resource block size, be described the 3rd resource block size SB 3.In the present embodiment, described the 3rd quality threshold value QTH 3be greater than described the first quality threshold value QTH 1and described the 4th quality threshold value QTH 4be greater than described the second quality threshold value QTH 2; Described the first quality threshold value QTH 1can equal or be not equal to described the second quality threshold value QTH 2and described the 3rd quality threshold value QTH 3can equal or be not equal to described the 4th quality threshold value QTH 4.In more detail, controlled processing unit 15 described in the first embodiment can or maintain the resource block size of comparison blocks according to the comparative result adjustment of the image quality of current image and at least one quality threshold value.
Please refer to shown in Fig. 6 the process flow diagram of the How It Works of the displacement detector of its demonstration second embodiment of the invention.The difference of the second embodiment and the first embodiment is, described in the second embodiment, controlled processing unit 15 is also adjusted described resource block size according to the exposure parameter of described imageing sensor 13.In more detail, controlled processing unit 15 described in the second embodiment is that comparison Q factor and quality threshold value and comparison exposure parameter and threshold exposure are to determine described resource block size.For example, when described controlled processing unit 15 judges that according to one or more current image described working surface S does not comprise enough surface characteristics, increase described resource block size, for example, when described working surface S is smooth surface, in described current image, may not comprise enough characteristics of image; And when controlled processing unit 15 judges that according to one or more current image described working surface S includes enough surface characteristics, reduce described resource block size or described resource block size is set as to default resource block size (after being specified in for example), for example, when described working surface S is not smooth surface, in described current image, conventionally include enough characteristics of image.
In one embodiment, many Q factors and many exposure parameters can form look-up table (lookup table) in advance with multi-tiling size, and described controlled processing unit 15 can be compared one group of Q factor and exposure parameter and described look-up table and decide described resource block size.
The How It Works of the displacement detector of second embodiment of the invention comprises the following step: image taking sensor obtains current image (step S 41); With controlled processing unit, calculate Q factor and determine exposure parameter (step S 42); And adjust resource block size (step S according to described Q factor and described exposure parameter 43).In the second embodiment, according to the setting position of described imageing sensor 13, can form bright field configuration or details in a play not acted out on stage, but told through dialogues configuration; Wherein, described in described bright field configuration, imageing sensor 13 is to be arranged on described principal reflection light path Lr, as shown in Figure 7 A, in described details in a play not acted out on stage, but told through dialogues configuration, imageing sensor 13 is to be arranged at described scattered optical field Sf place (being positioned at described principal reflection light path Lr outer), as shown in Figure 8 A.
Referring to Fig. 2,3,6 and 7A shown in, first the embodiment of the configuration of bright field in the second embodiment is described.
Step S 41: described imageing sensor 13 obtains current image 20 with lighting of the relatively described light source 11 of sample frequency.Now, described controlled processing unit 15 is for example first set as pre-set dimension by described comparison blocks, for example the second resource block size SB 2.
Step S 42: described controlled processing unit 15 then calculates the Q factor of described current image 20 and exposure parameter to represent the feature of described working surface S; Wherein, the compute classes of described Q factor is similar to the first embodiment, therefore do not repeat them here.The brightness (for example mean flow rate, high-high brightness or zone leveling brightness) that described controlled processing unit 15 calculates described current image 20 to control the exposure parameter of described imageing sensor 13, for example, comprises time shutter and/or image gain.
Step S 43: 15 of described controlled processing units judge according to described exposure parameter and described Q factor whether described working surface S is smooth surface (judging whether to comprise enough surface characteristics), and determine whether accordingly the resource block size of adjusting described comparison blocks.For example, when described Q factor is less than quality threshold value and described exposure parameter and is less than threshold exposure, the described working surface S of described controlled processing unit 13 judgement is smooth surface (not comprising enough surface characteristics for displacement calculating amount); As previously mentioned, in order to increase stability, when described controlled processing unit 15 judges that according to the current image obtaining in Preset Time described working surface S is smooth surface, for example when the described working surface S of at present image 20 judgement is smooth surface described in one or more, increase described resource block size.In addition, when described controlled processing unit 13 judges that according to the current image obtaining in Preset Time described working surface S is not all for smooth surface is when (comprising enough surface characteristics for displacement calculating amount), also be that described Q factor is more than or equal to quality threshold value and described exposure parameter is more than or equal to threshold exposure, reduce described resource block size or described resource block size is set as to default resource block size.
Please refer to shown in Fig. 7 B the schematic diagram of the How It Works of the displacement detector of its demonstration Fig. 7 A.In the present embodiment, suppose that default block is of a size of the second resource block size (SB for example 2), it is less than the first resource block size (SB for example 1).
Described imageing sensor 13 obtains current image 20 and is sent to described controlled processing unit 15(step S 41).Described controlled processing unit 15 calculates Q factor Q and the exposure parameter Exp(step S of described current image 20 42), and by described Q factor Q and at least one quality threshold value relatively and by described exposure parameter Exp and at least one threshold exposure comparison.Suppose that current resource block size is pre-set dimension (the second resource block size SB for example 2); When described Q factor Q is less than the first quality threshold value QTH 1and described exposure parameter Exp is less than the first threshold exposure ETH 1time, it is the first resource block size (SB for example that described controlled processing unit 15 increases resource block size 1); Otherwise maintain described resource block size, be described the second resource block size SB 2.Suppose that current resource block size is described the first resource block size SB 1; When described Q factor Q is more than or equal to the second quality threshold value QTH 2and described exposure parameter Exp is more than or equal to the second threshold exposure ETH 2time, it is described the second resource block size SB that described controlled processing unit 15 reduces resource block size 2; Otherwise maintain described resource block size, be described the first resource block size SB 1.In the present embodiment, described the first quality threshold value QTH 1can equal or be not equal to equally described the second quality threshold value QTH 2; Described the first threshold exposure ETH 1can equal or be not equal to described the second threshold exposure ETH 2.
Referring to Fig. 2,3,6 and 8A shown in, the embodiment of the configuration of details in a play not acted out on stage, but told through dialogues in the second embodiment is then described.
Step S 41: described imageing sensor 13 obtains current image 20 with lighting of the relatively described light source 11 of sample frequency.Now, described controlled processing unit 15 is for example first set as pre-set dimension by described comparison blocks, for example the second resource block size SB 2.
Step S 42: described controlled processing unit 15 then calculates the Q factor of described current image 20 and exposure parameter to represent the feature of described working surface S; Wherein, the compute classes of described Q factor is similar to the first embodiment, therefore do not repeat them here.The brightness (for example mean flow rate, high-high brightness or zone leveling brightness) that described controlled processing unit 15 calculates described current image 20 to control the exposure parameter of described imageing sensor 13, for example, comprises time shutter and/or image gain.
Step S 43: 15 of described controlled processing units judge according to described Q factor and described exposure parameter whether described working surface S is smooth surface (judging whether to comprise enough surface characteristics), and determine whether accordingly the resource block size of adjusting described comparison blocks.For example, when described Q factor is less than quality threshold value and described exposure parameter and is more than or equal to threshold exposure, the described working surface S of described controlled processing unit 13 judgement is smooth surface (not comprising enough surface characteristics for displacement calculating amount); As previously mentioned, in order to increase stability, when described controlled processing unit 15 judges that according to the current image obtaining in Preset Time described working surface S is smooth surface, for example when the described working surface S of at present image 20 judgement is smooth surface described in one or more, increase described resource block size.In addition, when described controlled processing unit 13 judges that according to the current image obtaining in Preset Time described working surface S is not all for smooth surface is when (comprising enough surface characteristics for displacement calculating amount), also be that described Q factor is more than or equal to quality threshold value and described exposure parameter is less than threshold exposure, reduce described resource block size or described resource block size is set as to default resource block size.
In another embodiment, described controlled processing unit 13 also can more described Q factor be take and judged whether described working surface S is smooth surface (judging whether to comprise enough surface characteristics) divided by the quotient of described exposure parameter and proportion threshold value.For example, when the described quotient that the current image obtaining according to Preset Time is tried to achieve is less than described proportion threshold value, the described working surface S of described controlled processing unit 13 judgement is smooth surface (not comprising enough surface characteristics for displacement calculating amount); Otherwise when the described quotient that the current image obtaining according to Preset Time is tried to achieve is more than or equal to described proportion threshold value, the described working surface S of described controlled processing unit 13 judgement is not smooth surface (comprising enough surface characteristics for displacement calculating amount).
Please refer to shown in Fig. 8 B the schematic diagram of the How It Works of the displacement detector of its demonstration Fig. 8 A.In the present embodiment, suppose that default block is of a size of the second resource block size (SB for example 2), it is less than the first resource block size (SB for example 1).
Described imageing sensor 13 obtains current image 20 and is sent to described controlled processing unit 15(step S 41).Described controlled processing unit 15 calculates Q factor Q and the exposure parameter Exp(step S of described current image 20 42), and by described Q factor Q and at least one quality threshold value relatively with by described exposure parameter Exp and at least one threshold exposure comparison.Suppose that current resource block size is pre-set dimension (the second resource block size SB for example 2); When described Q factor Q is less than the first quality threshold value QTH 1and described exposure parameter Exp is more than or equal to the first threshold exposure ETH 1when (or Q factor is less than the first proportion threshold value divided by the quotient of exposure parameter), it is the first resource block size (SB for example that described controlled processing unit 15 increases resource block size 1); Otherwise maintain described resource block size, be described the second resource block size SB 2.Suppose that current resource block size is described the first resource block size SB1; When described Q factor Q is more than or equal to the second quality threshold value QTH 2and described exposure parameter Exp is less than the second threshold exposure ETH 2when (or Q factor is more than or equal to the second proportion threshold value divided by the quotient of exposure parameter), it is described the second resource block size SB that described controlled processing unit 15 reduces resource block size 2; Otherwise maintain described resource block size, be described the first resource block size SB 1.In the present embodiment, described the first quality threshold value QTH 1can equal or be not equal to described the second quality threshold value QTH 2; Described the first threshold exposure ETH 1can equal or be not equal to described the second threshold exposure ETH 2; Described the first proportion threshold value can equal or be not equal to described the second proportion threshold value.
Scrutablely be, in the How It Works of the displacement detector of second embodiment of the invention, also can use plural quality threshold value and/or threshold exposure, and selectable resource block size also can be greater than 2 kinds, example as shown in Figure 5, is not limited to Fig. 7 B and Fig. 8 B is disclosed.
Should be noted that, in the various embodiments described above, the resource block size of pointed comparison blocks and numerical value etc. are only exemplary, are not intended to limit the present invention.
In sum, known optical mouse is to utilize the comparison blocks of fixed measure to carry out displacement calculating amount, therefore may have the situation that cannot correctly try to achieve in some cases displacement.Therefore, the present invention also provides a kind of displacement detector (Fig. 2, Fig. 7 A and Fig. 8 A), exposure parameter when its basis is obtained image and image quality decide the comparison blocks resource block size of (comprise reference block and search block), to reach the object that increases the applicable scope of working surface and economy system power consumption simultaneously.
Although the present invention is by disclosing with previous examples, it is not intended to limit the present invention, any technician in the technical field of the invention with common knowledge, without departing from the spirit and scope of the present invention, when doing various changes and modification.Therefore the scope that protection scope of the present invention ought define depending on accompanying claim is as the criterion.

Claims (20)

1. a displacement detector, operates at working surface for confession user, and described displacement detector comprises:
Light source, this light source is used for sending main beam and throws light on described working surface to form principal reflection light path;
Imageing sensor, this imageing sensor is positioned in described principal reflection light path and with exposure parameter and obtains current image; And
Controlled processing unit, this controlled processing unit for utilize search block search described current image, according to described current image calculation Q factor and adjust the resource block size of described search block according to described exposure parameter and described Q factor.
2. displacement detector according to claim 1, wherein, when described Q factor is less than quality threshold value and described exposure parameter and is less than threshold exposure, described controlled processing unit judges that described working surface does not comprise enough surface characteristics.
3. displacement detector according to claim 2, wherein said controlled processing unit, when when image judges that described working surface does not comprise enough surface characteristics at present described in one or more, increases described resource block size.
4. displacement detector according to claim 1, wherein, when described Q factor is greater than quality threshold value and described exposure parameter and is greater than threshold exposure, reduces described resource block size or sets described resource block size for default resource block size.
5. according to the displacement detector described in any one claim in claim 1-5, wherein said controlled processing unit also calculates the brightness of described current image to control the described exposure parameter of described imageing sensor.
6. a displacement detector, operates at working surface for confession user, and described displacement detector comprises:
Light source, this light source is used for sending main beam and throws light on described working surface to form principal reflection light path;
Imageing sensor, this imageing sensor is positioned at outside described principal reflection light path and obtains current image with exposure parameter; And
Controlled processing unit, this controlled processing unit for utilize search block search described current image, according to described current image calculation Q factor and adjust the resource block size of described search block according to described exposure parameter and described Q factor.
7. displacement detector according to claim 6, wherein, when described Q factor is less than quality threshold value and described exposure parameter and is greater than threshold exposure, described controlled processing unit judges that described working surface does not comprise enough surface characteristics.
8. displacement detector according to claim 6, wherein, when described Q factor is less than proportion threshold value divided by the quotient of described exposure parameter, described controlled processing unit judges that described working surface does not comprise enough surface characteristics.
9. according to the displacement detector described in claim 7 or 8, wherein said controlled processing unit, when when image judges that described working surface does not comprise enough surface characteristics at present described in one or more, increases described resource block size.
10. displacement detector according to claim 6, wherein, when described Q factor is greater than quality threshold value and described exposure parameter and is less than threshold exposure, reduces described resource block size or sets described resource block size for default resource block size.
11. according to the displacement detector described in any one claim in claim 6-8 and 10, and wherein said controlled processing unit also calculates the brightness of described current image to control the described exposure parameter of described imageing sensor.
12. 1 kinds of displacement detectors, for operating at working surface for user, described displacement detector comprises:
Light source, this light source described working surface that is used for throwing light on;
Imageing sensor, this imageing sensor obtains current image with exposure parameter; And
Controlled processing unit, this controlled processing unit for utilize search block search described current image, according to described current image calculation Q factor and adjust the resource block size of described search block according to described Q factor.
13. displacement detectors according to claim 12, wherein, when described Q factor is less than quality threshold value, described controlled processing unit judges that described working surface does not comprise enough surface characteristics.
14. displacement detectors according to claim 13, wherein said controlled processing unit, when when at present image judges that described working surface does not comprise enough surface characteristics described in one or more, increases described resource block size.
15. displacement detectors according to claim 12, wherein, when described Q factor is greater than quality threshold value, reduces described resource block size or set described resource block size for default resource block size.
16. displacement detectors according to claim 12, wherein said controlled processing unit is also adjusted described resource block size according to the described exposure parameter of described imageing sensor.
17. will carry out the displacement detector described in 16 according to right, and the more described Q factor of wherein said controlled processing unit and quality threshold value and more described exposure parameter and threshold exposure are to determine described resource block size.
18. displacement detectors according to claim 16, wherein said controlled processing unit compare one group described in Q factor and compare described exposure parameter and look-up table to determine described resource block size, described look-up table comprises different Q factors and resource block size corresponding to different exposure parameter.
19. according to the displacement detector described in claim 17 or 18, and wherein said controlled processing unit, when when at present image judges that described working surface does not comprise enough surface characteristics described in one or more, increases described resource block size.
20. according to the displacement detector described in claim 17 or 18, wherein, when described controlled processing unit is when at present image judges that described working surface comprises enough surface characteristics described in one or more, reduce described resource block size or set described resource block size for default resource block size.
CN201310119558.7A 2013-04-08 2013-04-08 Displacement detector Active CN104102360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310119558.7A CN104102360B (en) 2013-04-08 2013-04-08 Displacement detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310119558.7A CN104102360B (en) 2013-04-08 2013-04-08 Displacement detector

Publications (2)

Publication Number Publication Date
CN104102360A true CN104102360A (en) 2014-10-15
CN104102360B CN104102360B (en) 2017-06-06

Family

ID=51670560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310119558.7A Active CN104102360B (en) 2013-04-08 2013-04-08 Displacement detector

Country Status (1)

Country Link
CN (1) CN104102360B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050110746A1 (en) * 2003-11-25 2005-05-26 Alpha Hou Power-saving method for an optical navigation device
EP1717669A1 (en) * 2005-04-26 2006-11-02 Chic Technology Corp. Highly sensitive inertial mouse
US20080252602A1 (en) * 2007-04-11 2008-10-16 Ramakrishna Kakarala Dynamically reconfigurable pixel array for optical navigation
US20110150363A1 (en) * 2009-12-18 2011-06-23 Pixart Imaging Inc. Displacement detection apparatus and method
CN102298452A (en) * 2010-06-22 2011-12-28 原相科技股份有限公司 Method for adjusting an exposure condition of an optical sensor module and an optical sensor module thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050110746A1 (en) * 2003-11-25 2005-05-26 Alpha Hou Power-saving method for an optical navigation device
EP1717669A1 (en) * 2005-04-26 2006-11-02 Chic Technology Corp. Highly sensitive inertial mouse
US20080252602A1 (en) * 2007-04-11 2008-10-16 Ramakrishna Kakarala Dynamically reconfigurable pixel array for optical navigation
US20110150363A1 (en) * 2009-12-18 2011-06-23 Pixart Imaging Inc. Displacement detection apparatus and method
CN102298452A (en) * 2010-06-22 2011-12-28 原相科技股份有限公司 Method for adjusting an exposure condition of an optical sensor module and an optical sensor module thereof

Also Published As

Publication number Publication date
CN104102360B (en) 2017-06-06

Similar Documents

Publication Publication Date Title
US9310897B2 (en) Displacement detection device using adjustable block size
US10293210B2 (en) Treadmill and control method for controlling the treadmill belt thereof
CN107534751B (en) Display apparatus and image display method thereof
CN101561720B (en) Displacement detection device and power-saving method thereof
US8515129B2 (en) Displacement detection apparatus and method
US10187936B1 (en) Non-linear lighting system brightness control for a user device
US20130113759A1 (en) Displacement detection device and operating method thereof
KR20120124202A (en) Apparatus and method for controlling brightness in potable terminal
TWI516990B (en) Navigation device with adjustable tracking parameter
US9435646B2 (en) Displacement detection device and operating method thereof
US9241106B2 (en) Image processing apparatus and image processing method, and computer-readable storage medium storage image processing program
CN104777927A (en) Image type touch control device and control method thereof
CN104318912A (en) Method and device for detecting environmental light brightness
CN104980675A (en) Method and apparatus for controlling focus of projector of portable terminal
TWI530828B (en) Optical mouse including thermal sensor
US9285928B2 (en) Touch detection method and related optical touch system
US9313376B1 (en) Dynamic depth power equalization
US10613650B2 (en) Navigation device with fast frame rate upshift
CN112995630A (en) Flexible brightness adjusting method for fixed-focus projector, projector and readable storage medium
US10810948B2 (en) Display apparatus and control method thereof
US9092864B2 (en) Displacement detection apparatus and method
US9342164B2 (en) Motion detecting device and the method for dynamically adjusting image sensing area thereof
CN101216726A (en) Optical indicating equipment electricity-saving method
CN104102360A (en) Displacement detection device
CN103092365A (en) Click on detecting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant