CN104135604A - Displacement detection device and method for dynamically adjusting image sensing area thereof - Google Patents

Displacement detection device and method for dynamically adjusting image sensing area thereof Download PDF

Info

Publication number
CN104135604A
CN104135604A CN201310158672.0A CN201310158672A CN104135604A CN 104135604 A CN104135604 A CN 104135604A CN 201310158672 A CN201310158672 A CN 201310158672A CN 104135604 A CN104135604 A CN 104135604A
Authority
CN
China
Prior art keywords
image
coefficient
exposure
sensing region
search radius
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
CN201310158672.0A
Other languages
Chinese (zh)
Other versions
CN104135604B (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 CN201310158672.0A priority Critical patent/CN104135604B/en
Publication of CN104135604A publication Critical patent/CN104135604A/en
Application granted granted Critical
Publication of CN104135604B publication Critical patent/CN104135604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a displacement detection device and a method for dynamically adjusting an image sensing area thereof. The displacement detection device comprises a light source, an image extraction unit and a processing unit. The image extraction unit is used for extracting at least one reference image of a surface according to a fixed sampling period. The processing unit is used for computing an exposure reference value of the light source and an image characteristic value of the reference image and judging whether the surface is positioned within a first roughness coefficient range or a second roughness coefficient range accordingly. If the surface is positioned within the first roughness coefficient range, the processing unit defines a first search radius or a second search radius on the reference image to increase or decrease the image sensing area; and if the surface is positioned within the second roughness coefficient range, the processing unit defines a third search radius or a fourth search radius on the reference image to increase or decrease the image sensing area. With the method, the power consumption of the displacement detection device can be lowered.

Description

Displacement detector and dynamically adjust the method in image sensing region
Technical field
The present invention relates to a kind of displacement detector, particularly a kind of displacement detector with dynamic adjustment image sensing district.
Background technology
Science and technology constantly advances, and drives the extensive use of computer.Mouse, as the input tool of computer, is greatly convenient for people to the operation to computer.In when operation, mouse is positioned on a plummer, by rolling mouse on plummer to control the cursor pointer in computer.Along with the continuous renewal of electronic product is regenerated, consumer is also more and more high to the requirement of electronic product.For promoting the ease of use of computer equipment, wireless optical mouse replaces traditional wire mouse gradually.Wireless optical mouse generally includes the dissipative cells such as light source, digital signal processor (Digital Signal Processor), image sensor and wireless transmission unit, and its overall power consumption has greatly the problem of battery deficiency.
Known optical mouse utilizes image sensor to extract continuously surperficial reference image, and between sampling date relatively the reference picture frame of the sensing of image sensor and at present the correlation between picture frame judge displacement.Determine after displacement, picture frame is updated to reference to picture frame at present, and then the correlation of the reference picture frame after relatively upgrading between next sampling date and the new current picture frame extracting is to obtain next displacement.But known displacement detecting method has the problem of accuracy deficiency.Therefore, user cannot make mobile index have higher translational speed according to dynamic reference picture frame.Moreover known optical mouse has the dissipative cells such as light source, digital signal processor and image sensor, therefore known optical mouse entirety power consumption is large.
Summary of the invention
The object of the present invention is to provide a kind of displacement detector, for detection of surperficial evenness and dynamically adjust image sensing region, comprise light source, Extraction of Image unit and processing unit.Light source is in order to emission of light.Extraction of Image unit extracts at least one with reference to image of surface with the sampling period of fixing.Processing unit connects light source and Extraction of Image unit, described processing unit also judges that surface is positioned at the first coefficient of roughness scope or the second coefficient of roughness scope in order to calculate the exposure reference value of light source accordingly with the image feature value with reference to image, and wherein processing unit is selected the search frame being less than with reference to image on reference to image.If surface is positioned at the first coefficient of roughness scope, processing unit defines the first search radius to increase image sensing region or definition the second search radius to reduce image sensing region on reference to image, and wherein the first search radius is greater than the second search radius; If surface is positioned at the second coefficient of roughness scope, processing unit defines the 3rd search radius on reference to image to increase image sensing region or definition the 4th search radius to reduce image sensing region, and wherein the 3rd search radius is greater than first and the 4th search radius.
In one of them embodiment of the present invention, displacement detector also comprises memory cell, coffret unit, first lens and the second lens.Memory cell is connected to processing unit, and described memory cell is in order to store at least one threshold value.Coffret unit is connected to processing unit, and described coffret unit, in order to displacement information is sent to video picture display unit, carries out corresponding manipulation by this.First lens is disposed at the front of light source, and described first lens is in order to adjust the range of exposures of light source.The second lens configuration is in the front of Extraction of Image unit, and described the second lens are in order to improve the light receiving efficiency of Extraction of Image unit, and wherein light source is a light-emitting diode or a laser diode.
In one of them embodiment of the present invention, exposure reference value is time for exposure or exposure, and wherein the exposure of light source is adjusted in Extraction of Image unit by aperture.
In one of them embodiment of the present invention, processing unit calculates image feature value by reference to the cumulative GTG difference of image; If cumulative GTG difference is greater than cumulative threshold value, there is high image feature value with reference to image, if cumulative GTG difference is less than cumulative threshold difference, there is low image feature value with reference to image, wherein cumulative GTG difference is directly proportional to image feature value.
In one of them embodiment of the present invention, if when the exposure reference value of light source is greater than first threshold value, this exposure reference value is long exposure reference value; If when the exposure reference value of light source is less than second threshold value, exposure reference value is short exposure reference value.This exposure reference value can be corresponding to a time length, and the first threshold value time was longer than the second threshold value.Or corresponding to a light energy intensity, and the first threshold value energy intensity is greater than the second threshold value.
In one of them embodiment of the present invention, in the time that Extraction of Image unit is positioned at details in a play not acted out on stage, but told through dialogues, processing unit decides surface to be positioned at the first coefficient of roughness scope or the second coefficient of roughness scope by judging respectively exposure reference value and image feature value.
In one of them embodiment of the present invention, in the time that Extraction of Image unit is positioned at details in a play not acted out on stage, but told through dialogues, processing unit by exposure reference value divided by image feature value with obtain operation values, if operation values is greater than predetermined threshold value, surface is positioned at the first coefficient of roughness scope; If operation values is less than predetermined threshold value, surface is positioned at the second coefficient of roughness scope.
In one of them embodiment of the present invention, in the time that Extraction of Image unit is positioned at bright field, processing unit decides surface to be positioned at the first coefficient of roughness scope or the second coefficient of roughness scope by judging respectively exposure reference value and image feature value.
In one of them embodiment of the present invention, details in a play not acted out on stage, but told through dialogues is defined as this Extraction of Image unit and is positioned at the scattering path of this light.
In one of them embodiment of the present invention, bright field is defined as this Extraction of Image unit and is positioned at the reflection path of this light.
In one of them embodiment of the present invention, the surface that is positioned at the first coefficient of roughness scope is even surface, and the surface that is positioned at the second coefficient of roughness scope is matsurface.
Another object of the present invention, for the method in a kind of dynamic adjustment image sensing region is provided, comprises the following steps: extract at least one with reference to image of surface according to fixing sampling period; Calculate the exposure reference value of light source and the image feature value with reference to image; According at least one threshold value, judge that surface is for being positioned at the first coefficient of roughness scope or the second coefficient of roughness scope; And whether be positioned at the judged result of the first coefficient of roughness scope or the second coefficient of roughness scope according to surface, dynamically adjust image sensing region.
Beneficial effect of the present invention is, in sum, the displacement detector that the embodiment of the present invention provides and dynamically adjust the method in image sensing region, dynamically adjust image sensing region and reach the adjustment of tracking speed by detecting the judged result of surperficial evenness, or dynamically adjust image sensing region according to surperficial evenness and reduce power consumption.
For enabling further to understand feature of the present invention and technology contents, refer to following about detailed description of the present invention and accompanying drawing, but these explanations are only used for illustrating the present invention with accompanying drawing, but not interest field of the present invention are done to any restriction.
Brief description of the drawings
Figure 1A is according to the schematic diagram of the displacement detector of the details in a play not acted out on stage, but told through dialogues optical facilities of the embodiment of the present invention.
Figure 1B is the circuit blocks figure of the displacement detector of contrast Figure 1A.
Fig. 2 is according to the flow chart of dynamically adjusting image sensing region method under the details in a play not acted out on stage, but told through dialogues of the embodiment of the present invention.
Fig. 3 A and Fig. 3 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 2 flow chart.
Fig. 4 is the flow chart of dynamically adjusting image sensing region method under details in a play not acted out on stage, but told through dialogues according to another embodiment of the present invention.
Fig. 5 A and Fig. 5 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 4 flow chart.
Fig. 6 A is according to the schematic diagram of the displacement detector of the bright field optical facilities of the embodiment of the present invention.
Fig. 6 B is the circuit blocks figure of the displacement detector of contrast Fig. 6 A.
Fig. 7 is according to the flow chart of dynamically adjusting image sensing region method under the details in a play not acted out on stage, but told through dialogues of the embodiment of the present invention.
Fig. 8 A and Fig. 8 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 7 flow chart.
Fig. 9 is the flow chart of dynamically adjusting according to another embodiment of the present invention image sensing region method under bright field.
Figure 10 A and Figure 10 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 9 flow chart.
Wherein, description of reference numerals is as follows:
10,60: displacement detector
11,61: light source
12,62: Extraction of Image unit
13,63: the second lens
14,64: first lens
15,65: surface
16,66: memory cell
17,67: coffret unit
18,68: processing unit
R1: the first search radius
R2: the first search radius
R3: the first search radius
R4: the first search radius
R3A, R3B, R5A, R5B, R8A, R8B, R10A, R10B: with reference to image
S3A, S3B, S5A, S5B, S8A, S8B, S10A, S10B: search frame
S210~S270: step
S410~S470: step
S710~S780: step
S910~S980: step
Embodiment
Below describing more fully various exemplary embodiments referring to accompanying drawing, show in the accompanying drawings some exemplary embodiments.But concept of the present invention may be with many multi-form embodiments, and should not be construed as and be limited to the exemplary embodiments set forth herein.Definite, provide these exemplary embodiments to make the present invention will be for detailed and complete, and will fully pass on the category of concept of the present invention to person of ordinary skill in the field.In each accompanying drawing, can lavish praise on oneself in order to know size and the relative size in Ceng Ji district.Similar numeral is indicated like all the time.
Although should be understood that herein and may describe various elements by term first, second, third, etc., these elements are not limited by these terms should.These terms are to distinguish an element and another element.Therefore the first element of, below discussing can be described as the second element and does not depart from the teaching of concept of the present invention.As used herein, term " and/or " comprise any one and one or many person's all combinations in project of listing that are associated.
The embodiment of the present invention provides a kind of displacement detector and dynamically adjusts the method in image sensing district, can be according to user's demand, choose to have to increase and detect surface smoothness and the displacement detector of dynamically adjusting image sensing region, make user can obtain the displacement detector of higher translational speed, or choose and there is dynamic minimizing image sensing region to reduce the displacement detector of unnecessary power consumption, and then improve system convenience and competitiveness.
(embodiment of the displacement detector of details in a play not acted out on stage, but told through dialogues optical facilities)
Referring to Figure 1A and Figure 1B, Figure 1A is according to the schematic diagram of the displacement detector of the details in a play not acted out on stage, but told through dialogues optical facilities of the embodiment of the present invention.Figure 1B is the circuit blocks figure of the displacement detector of contrast Figure 1A.In the present embodiment, displacement detector 10 is dynamically adjusted image sensing region for detection of the evenness on surface 15 and according to the evenness on surface 15, and wherein displacement detector 10 can be optical mouse or optical navigator.Conventionally displacement detector 10 for example, manipulates for user for being positioned over surface 15 (surface of mouse pad or desktops), use the movement of relatively controlling for example, cursor on image display (screen of show image), wherein image display can be computer screen, video screen, projection screen and game machine screen.It is noted that, the displacement detector of content of the present invention is to illustrate as exemplary embodiments using optical mouse, but it is not in order to limit content of the present invention.As shown in Figure 1A and Figure 1B, displacement detector 10 comprises light source 11, Extraction of Image unit 12, processing unit 18, memory cell 16, coffret unit 17, first lens 14 and the second lens 13.Light source 11, Extraction of Image unit 12, memory cell 16 are all electrically connected to respectively processing unit 18 with coffret unit 17.First lens 14 is disposed at the front of light source 11, and the second lens 13 are disposed at the front of Extraction of Image unit 12, and Extraction of Image unit 12 is disposed at the scattering path of the light that light source 11 launches.Memory cell 16 can be light shield read-only memory (Mask ROM), erasable formula read-only memory (EPROM), the erasable formula read-only memory of electric (EEPROM) or flash memory (Flash Memory).
In the present embodiment, light source 11 can be light-emitting diode (Light-Emitting Diode, LED) or laser diode, in order to emission of light.Extraction of Image unit 12 extracts at least one with reference to image of surface 15 with a fixing sampling period, and the integral multiple that the light period of light source 11 is the sampling period, so that Extraction of Image unit 12 can be synchronized with the luminous of light source 11, and then the reference image that Extraction of Image unit 12 is extracted on surface 15.Processing unit 18 for example, also judges that with the image feature value with reference to image surface 15 is positioned at the first coefficient of roughness scope or the second coefficient of roughness scope in order to calculate an exposure reference value (exposure of the time for exposure of light source 11 or light source 11) of light source 11 accordingly, and wherein processing unit 18 is being selected the search frame being less than with reference to image with reference to image.Memory cell 16 is in order to store at least one threshold value and to store each important coordinate information with reference to image.Coffret unit 17, in order to a displacement information is sent to external treatment device, carries out corresponding manipulation by this.First lens 14 is in order to adjust the range of exposures of light source.The second lens 13 are in order to improve the light receiving efficiency of Extraction of Image unit 12.If surface 15 is positioned at the surface of the first coefficient of roughness scope, processing unit 18 defines the first search radius on reference to image and obtains higher speed/acceleration to increase image sensing region, or definition the second search radius reduces power consumption to reduce image sensing region, and wherein the first search radius is greater than the second search radius.On the other hand, if surface 15 is positioned at the surface of the second coefficient of roughness scope, processing unit 18 defines the 3rd search radius on reference to image and obtains higher speed/acceleration to increase image sensing region, or definition the 4th search radius reduces power consumption to reduce image sensing region, wherein the 3rd search radius is greater than first and the 4th search radius.It is worth mentioning that, in the present embodiment, suppose that every picture frame or optical image (that is sensing array size of Extraction of Image unit 12) have 16 × 16 pixels, and search frame and be set as 8 × 8 pixels, the first search radius and the 4th search radius are set as 3 pixel distances, and the 3rd search radius is set as 5 pixel distances and the second search radius is set as 1 pixel distance.All setting values that enumerate in this place are only one embodiment of the present invention, and not in order to limit the present invention, described numerical value can decide according to actual product design.
Next wanting teaching, is the operation principle that further illustrates displacement detector 10.Before being described below, must first illustrate, the displacement detector 10 of this description has different threshold value and condition judgment mechanism according to the optical facilities of details in a play not acted out on stage, but told through dialogues or bright field.In addition, details in a play not acted out on stage, but told through dialogues is defined as Extraction of Image unit 12 and is positioned at the scattering path of light, and bright field is defined as Extraction of Image unit 12 and is positioned at the reflection path of this light.In this description, Figure 1A~Fig. 5 B is for disclosing details in a play not acted out on stage, but told through dialogues optical facilities, and Fig. 6 A~Figure 10 B is for disclosing bright field optical facilities.
Referring to Figure 1A~Fig. 3 B, Fig. 2 is according to the flow chart of dynamically adjusting image sensing region method under the details in a play not acted out on stage, but told through dialogues of the embodiment of the present invention.Fig. 3 A and Fig. 3 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 2 flow chart.It is noted that, in Fig. 2 embodiment, it is disclosed in displacement detector 10 and under details in a play not acted out on stage, but told through dialogues optical facilities, detects surface smoothness and dynamically adjust image sensing region accordingly the exemplary embodiments that obtains higher speed/acceleration.Dynamically adjusting image sensing region method comprises the following steps: extract with reference to image (step S210).Calculation exposure reference value and image feature value (step S220).Judge whether exposure reference value is greater than predetermined threshold value (step S230) divided by the operation values of image feature value.Determine that the surperficial coefficient of roughness is positioned at the first coefficient of roughness scope (step S240).Define the first search radius to adjust image sensing region (step S250).Determine that the surperficial coefficient of roughness is positioned at the second coefficient of roughness scope (step S260).Define the 3rd search radius to adjust image sensing region (step S270).Below will sequentially illustrate that each step is more to understand content of the present invention.
In step S210, when light source 11 emits beam to surperficial 15 time with a light period, Extraction of Image unit 12 extracts with reference to the optical image on image or surface 15 to be synchronized with sampling period of light period of light source 11, and enters into step S220 after this is sent to processing unit 18 with reference to image.
In step S220, processing unit 18 can calculate time for exposure of light source 11 or exposure to obtain exposure reference value (or deciding by the magnitude of current of the light-emitting diode of flowing through) when Extraction of Image unit 12 extracts with reference to image, and processing unit 18 can be calculated its image feature value by received reference image, wherein processing unit 18 can make Extraction of Image unit 12 adjust the exposure of light source 11 by an aperture by transfer control signal.Furthermore, processing unit 18 calculates cumulative GTG difference to obtain the image feature value with reference to image by reference to the GTG value of image, and wherein cumulative GTG difference is directly proportional to image feature value.Then, enter into step S230.
In step S230, processing unit 18 further obtains an operation values by exposure reference value divided by image feature value.Then processing unit 18 compares operation values and the predetermined threshold value (predetermined threshold value) that is stored in memory cell 19, by this to judge whether operation values is greater than predetermined threshold value, wherein said predetermined threshold value is in order to judge whether surface 15 is shiny surface or matsurface, and predetermined threshold value can be designed according to practical application request by designer, its numerical values recited is not in order to limit content of the present invention.At this, if the judged result of step S230 is yes, enter into step S240, if the judged result of step S230 is no, enter into step S260.
In step S240, if in step S230, processing unit 18 judges that exposure reference value is greater than predetermined threshold value divided by the operation values of image feature value, 18 coefficient of roughness that determine surface 15 of processing unit are for being positioned at the first coefficient of roughness scope, wherein in the present embodiment, the surface 15 of the first coefficient of roughness scope is a shiny surface.It is worth mentioning that, be that displacement detector 10 judges whether surface 15 is the coherent detection of shiny surface and judges flow process at step S210 to step S240.
In step S250, displacement detector 10 starts dynamically to adjust image sensing region according to the evenness on surface 15.Referring to Fig. 3 A, when the processing unit 18 in displacement detector 10 determines that according to judged result this surface 15 is for being positioned at the shiny surface of the first coefficient of roughness scope, processing unit 18 can be set a search frame S3A to define displacement detector 10 searches and computer capacity and to search outwards definition the first search radius r1 of border of frame S3A on reference to image R3A, wherein the sweep limits of the first search radius r1 is that displacement detector 10 is in the reserved area with reference to the enterprising line search of image R3A and calculating, dynamically adjust by this image sensing region and obtain higher speed or acceleration.Wherein search frame S3A and there are 8 × 8 pixels (active sensing region), and the first search radius r1 has 3 pixel distances (reserved sensing region), it should be noted that, reference image R3A in Fig. 3 A is about 11 × 11 pixels, its more original optical image (16 × 16 pixels) is comparatively little, that is displacement detector 10 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R3A that reserved sensing region forms.Next, displacement detector 10 can be got back to the surperficial evenness of continuation detection in step S210 and determine whether dynamically adjusting once again image sensing region.
In step S260, if in step S230, processing unit 18 judges that exposure reference value is less than predetermined threshold value divided by the operation values of image feature value, 18 coefficient of roughness that determine surface 15 of processing unit are for being positioned at the second coefficient of roughness scope, wherein in the present embodiment, the surface 15 of the second coefficient of roughness scope is matsurface.It is worth mentioning that, step S210, S220, S230, with step S260 be that displacement detector 10 judge whether surface 15 is the coherent detection of matsurface and judges flow process.
In step S270, displacement detector 10 starts dynamically to adjust image sensing region according to the evenness on surface 15, referring to Fig. 3 B, when the processing unit 18 in displacement detector 10 judges that this surface 15 is for being positioned at the matsurface of the second coefficient of roughness scope, processing unit 18 can be set a search frame S3B to define displacement detector 10 searches and computer capacity and to search outwards definition the 3rd search radius r3 of border of frame S3B on reference to image R3B, wherein the sweep limits of the 3rd search radius r3 is that displacement detector 10 is in the reserved area with reference to the enterprising line search of image R3B and calculating, dynamically adjust by this image sensing region and obtain higher speed or acceleration.Wherein search frame S3B and there are 8 × 8 pixels (active sensing region), and the 3rd search radius r3 has 5 pixel distances (reserved sensing region), it should be noted that, reference image R3B in Fig. 3 B is about 13 × 13 pixels, its more original optical image (16 × 16 pixels) is comparatively little, that is displacement detector 10 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R3B that reserved sensing region forms.Next, displacement detector 10 can be got back to the surperficial evenness of continuation detection in step S210 and determine whether dynamically adjusting once again image sensing region.
Hold above-mentioned, under the running of details in a play not acted out on stage, but told through dialogues optical facilities, the 3rd search radius r3 (5 pixel distances) of matsurface is greater than the first search radius r1 (3 pixel distances) of shiny surface, that is is greater than the reserved area of search and the calculating of shiny surface in the search of matsurface and the reserved area of calculating.Accordingly, displacement detector 10 can dynamically be adjusted image sensing region to obtain suitable speed or acceleration to set suitable search radius according to the evenness on surface 15.
(another embodiment of the displacement detector of details in a play not acted out on stage, but told through dialogues optical facilities)
Next,, referring to Figure 1A, Figure 1B and Fig. 4~Fig. 5 B, Fig. 4 is the flow chart of dynamically adjusting image sensing region method under details in a play not acted out on stage, but told through dialogues according to another embodiment of the present invention.Fig. 5 A and Fig. 5 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 4 flow chart.It is noted that, in Fig. 4 embodiment, it is disclosed in the exemplary embodiments that displacement detector 10 detects surface smoothness and dynamically adjusts image sensing region accordingly and reduce power consumption under details in a play not acted out on stage, but told through dialogues optical facilities, and reduction power consumption described herein is for compared to Fig. 2~Fig. 3 B embodiment.Dynamically adjusting image sensing region method comprises the following steps: extract with reference to image (step S410).Calculation exposure reference value and image feature value (step S420).Judge whether exposure reference value is greater than predetermined threshold value (step S430) divided by the operation values of image feature value.Judge that the surperficial coefficient of roughness is positioned at the first coefficient of roughness scope (step S440).Define the second search radius to adjust image sensing region (step S450).Judge that the surperficial coefficient of roughness is positioned at the second coefficient of roughness scope (step S460).Define the 4th search radius to adjust image sensing region (step S770).Each step below will be sequentially described, more to understand content of the present invention.
In step S410, when light source 11 emits beam to surperficial 15 time with a light period, Extraction of Image unit 12 extracts with reference to the optical image on image or surface 15 to be synchronized with sampling period of light period of light source 11, and enters into step S420 after this is sent to processing unit 18 with reference to image.
In step S420, processing unit 18 can calculate time for exposure of light source 11 or exposure to obtain exposure reference value (or deciding by the magnitude of current of the light-emitting diode of flowing through) when Extraction of Image unit 12 extracts with reference to image, and processing unit 18 can be calculated its image feature value by received reference image, wherein processing unit 18 can make Extraction of Image unit 12 adjust the exposure of light source 11 by an aperture by transfer control signal.Furthermore, processing unit 18 calculates cumulative GTG difference to obtain the image feature value with reference to image by reference to the GTG value of image, and wherein cumulative GTG difference is directly proportional to image feature value.Then, enter into step S430.
In step S430, processing unit 18 further obtains an operation values by exposure reference value divided by image feature value.Then processing unit 18 compares operation values and the predetermined threshold value (predetermined threshold value) that is stored in memory cell 19, by this to judge whether operation values is greater than predetermined threshold value, wherein said predetermined threshold value is in order to judge whether surface 15 is shiny surface or matsurface, and predetermined threshold value can be designed according to practical application request by designer, its numerical values recited is not in order to limit content of the present invention.At this, if the judged result of step S430 is yes, enter into step S440, if the judged result of step S430 is no, enter into step S460.
In step S440, if in step S430, processing unit 18 judges that exposure reference value is greater than predetermined threshold value divided by the operation values of image feature value, 18 coefficient of roughness that determine surface 15 of processing unit are for being positioned at the first coefficient of roughness scope, wherein in the present embodiment, the surface 15 of the first coefficient of roughness scope is a shiny surface.It is worth mentioning that, be that displacement detector 10 judges whether surface 15 is the coherent detection of shiny surface and judges flow process at step S410 to step S440.
In step S450, displacement detector 10 starts dynamically to adjust image sensing region according to the evenness on surface 15, referring to Fig. 5 A, when the processing unit 18 in displacement detector 10 judges that this surface 15 is for being positioned at the shiny surface of the first coefficient of roughness scope, processing unit 18 can be set a search frame S5A to define displacement detector 10 searches and computer capacity and to search outwards definition the second search radius r2 of border of frame S5A on reference to image R5A, the sweep limits of its second search radius r2 is that displacement detector 10 is in the reserved area with reference to the enterprising line search of image R5A and calculating, dynamically adjust by this image sensing region and reduce power consumption (compared to Fig. 3 A embodiment).Wherein search frame S5A and have 8 × 8 pixels (active sensing region), and the second search radius r2 has 1 pixel distance (reserved sensing region), wherein the first search radius r1 is greater than the second search radius r2.It should be noted that the reference image R5A in Fig. 5 A is about 9 × 9 pixels, its more original optical image (16 × 16 pixels) is comparatively little.Furthermore, compared to Fig. 3 A embodiment, the displacement detector 10 of Fig. 5 A embodiment defines the second search radius r2 to be reduced image sensing region and reduces power consumption, that is displacement detector 10 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R5A that reserved sensing region forms.In other words, compared to Fig. 5 A embodiment, be about 11 × 11 pixels at the reference image R3A of Fig. 3 A embodiment, displacement detector 10 defines the first search radius r1 and obtains higher speed or acceleration to increase dynamic image sensing region.
In step S460, if in step S430, processing unit 18 judges that exposure reference value is less than predetermined threshold value divided by the operation values of image feature value, 18 coefficient of roughness that determine surface 15 of processing unit are for being positioned at the second coefficient of roughness scope, wherein in the present embodiment, the surface 15 of the second coefficient of roughness scope is matsurface.It is worth mentioning that, be that displacement detector 10 judges whether surface 15 is the coherent detection of matsurface and judges flow process at step S410, S420, S430 and step S460.
In step S470, displacement detector 10 starts dynamically to adjust image sensing region according to the evenness on surface 15, referring to Fig. 5 B, when the processing unit 18 in displacement detector 10 judges that this surface 15 is for being positioned at the matsurface of the second coefficient of roughness scope, processing unit 18 can be set a search frame S5B to define displacement detector 10 searches and computer capacity and to search outwards definition the 4th search radius r4 of border of frame S4B on reference to image R5B, the sweep limits of its 4th search radius r4 is that displacement detector 10 is in the reserved area with reference to the enterprising line search of image R5B and calculating, dynamically adjust by this image sensing region and obtain higher speed or acceleration.Wherein search frame S5B and there are 8 × 8 pixels (active sensing region), and the 4th search radius r4 has 3 pixel distances (reserved sensing region), it should be noted that, reference image R5B in Fig. 5 B is about 11 × 11 pixels, its more original optical image (16 × 16 pixels) is comparatively little, that is displacement detector 10 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R5B that reserved sensing region forms.In the present embodiment, the 4th search radius r4 equals the first search radius r1, and the 3rd search radius r3 is greater than the 4th search radius r4.Furthermore, compared to Fig. 3 B embodiment, the displacement detector 10 of Fig. 5 B embodiment defines the 4th search radius r4 to be reduced image sensing region and reduces power consumption, that is displacement detector 10 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R5B that reserved sensing region forms.In other words, compared to Fig. 5 B embodiment, be about 13 × 13 pixels at the reference image R3B of Fig. 3 B embodiment, displacement detector 10 defines the 3rd search radius r3 and obtains higher speed or acceleration to increase dynamic image sensing region.
Hold above-mentioned, the 4th search radius r4 (3 pixel distances) of matsurface is greater than the second search radius r1 (1 pixel distance) of shiny surface, that is the search of matsurface and the reserved area of calculating are greater than the reserved area of search and the calculating of shiny surface.Accordingly, displacement detector 10 can dynamically be adjusted image sensing region to reduce power consumption to set suitable search radius according to the evenness on surface 15.
(embodiment of the displacement detector of bright field optical facilities)
Referring to Fig. 6 A and Fig. 6 B, Fig. 6 A is according to the schematic diagram of the displacement detector of the bright field optical facilities of the embodiment of the present invention.Fig. 6 B is the circuit blocks figure of the displacement detector of contrast Fig. 6 A.Similarly, in the present embodiment, displacement detector 60 is dynamically adjusted image sensing region for detection of the evenness on surface 15 and according to the evenness on surface 15, and wherein displacement detector 60 can be optical mouse or optical navigator.As shown in Fig. 6 A and Fig. 6 B, displacement detector 60 comprises light source 61, Extraction of Image unit 62, processing unit 68, memory cell 66, coffret unit 67, first lens 64 and the second lens 63.Light source 61, Extraction of Image unit 62, memory cell 66 are all electrically connected to respectively processing unit 68 with coffret unit 67.First lens 64 is disposed at the front of light source 61, and the second lens 63 are disposed at the front of Extraction of Image unit 62, and Extraction of Image unit 62 is disposed at the reflection path of the light that light source 61 launches.
Similarly, in the present embodiment, light source 61 can be light-emitting diode (Light-Emitting Diode, LED) or laser diode, and it carrys out periodic transmission light according to a light period.Extraction of Image unit 62 extracts at least one with reference to image of surface 65 with a fixing sampling period, and the integral multiple that the light period of light source 61 is the sampling period, so that Extraction of Image unit 62 can be synchronized with the luminous of light source 61, and then Extraction of Image unit 62 is extracted on surface 65 effectively with reference to image or optical image.Processing unit 68 for example, also judges that with the image feature value with reference to image surface 65 is positioned at the first coefficient of roughness scope or the second coefficient of roughness scope in order to calculate an exposure reference value (exposure of the time for exposure of light source 61 or light source 61) of light source 61 accordingly, and wherein processing unit 68 is being selected the search frame being less than with reference to image with reference to image.The function of memory cell 66, coffret unit 67, first lens 64 and the second lens 63 is same as memory cell 16, coffret unit 17, first lens 14 and the second lens 13 of Figure 1B embodiment, does not repeat them here.Identical with above-mentioned Figure 1A to Fig. 5 B embodiment is, in the present embodiment, similarly suppose that every picture frame or optical image (that is sensing array size of Extraction of Image unit 62) have 16 × 16 pixels, and search frame and be set as 8 × 8 pixels, the first search radius and the 4th search radius are set as 3 pixel distances, and the 3rd search radius is set as 5 pixel distances and the second search radius is set as 1 pixel distance.All setting values that enumerate in this place are only one embodiment of the present invention, and not in order to limit the present invention, described numerical value can decide according to actual product design.
Next wanting teaching, is the operation principle that further illustrates displacement detector 60, more to understand content of the present invention.
Referring to Fig. 6 A~Fig. 8 B, Fig. 7 is according to the flow chart of dynamically adjusting image sensing region method under the details in a play not acted out on stage, but told through dialogues of the embodiment of the present invention.Fig. 8 A and Fig. 8 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 7 flow chart.It is noted that, in Fig. 7 embodiment, it is disclosed in displacement detector 60 and under bright field optical facilities, detects surface smoothness and dynamically adjust image sensing region accordingly the exemplary embodiments that obtains higher speed/acceleration.Dynamically adjusting image sensing region method comprises the following steps: extract with reference to image (step S710).Calculation exposure reference value and image feature value (step S720).Judge whether exposure reference value is less than exposure threshold value (step S730).Whether the cumulative GTG difference of judgement is less than cumulative threshold difference (step S740).Determine that the surperficial coefficient of roughness is positioned at the first coefficient of roughness scope (step S750).Define the first search radius to adjust image sensing region (step S760).Determine that the surperficial coefficient of roughness is positioned at the second coefficient of roughness scope (step S770).Define the 3rd search radius to adjust image sensing region (step S780).Below will sequentially illustrate that each step is more to understand content of the present invention.
In step S710, when light source 61 emits beam to surperficial 65 time with a light period, Extraction of Image unit 62 extracts with reference to the optical image on image or surface 65 to be synchronized with sampling period of light period of light source 61, and enters into step S720 after this is sent to processing unit 680 with reference to image.
In step S720, processing unit 68 can calculate time for exposure of light source 61 or exposure to obtain exposure reference value (or deciding by the magnitude of current of the light-emitting diode of flowing through) when Extraction of Image unit 62 extracts with reference to image, and processing unit 68 can be calculated received reference image cumulative GTG difference, that is the GTG value of each neighbor is subtracted each other to obtain difference, mode adds up to obtain cumulative GTG difference by obtained difference according to this, described cumulative GTG difference is directly proportional to image feature value, therefore can obtain the image feature value with reference to image from cumulative GTG difference.Then, dynamically adjust image sensing region method and enter into step S730.
In step S730, processing unit 68 further judges whether exposure reference value is less than the exposure threshold value that is stored in memory cell 66, if when wherein the exposure reference value of light source 61 is greater than exposure threshold value, this exposure reference value is a long exposure reference value, if when the exposure reference value of light source 61 is less than exposure threshold value, this exposure reference value is a short exposure reference value.In the time that processing unit 68 determines that the exposure reference value of light source 61 is less than exposure threshold value, enter into step S740 and whether be less than cumulative threshold difference to continue the cumulative GTG difference of judgement; In the time that processing unit 68 determines that the exposure reference value of light source 61 is greater than exposure threshold value, enter into step S770.
In step S740, processing unit 68 is less than after exposure threshold value at the exposure reference value that judges light source 61, can enter this step S740 continues to judge with reference to the cumulative GTG difference of image whether be less than the cumulative threshold difference that is stored in memory cell 66, if wherein cumulative GTG difference is greater than cumulative threshold value, the reference image that Extraction of Image unit 62 extracts has high image feature value, if cumulative GTG difference is less than cumulative threshold difference, the reference image that Extraction of Image unit 62 extracts has low image feature value.When processing unit 68 determines to be less than cumulative threshold difference with reference to the cumulative GTG difference of image, enter into step S750; When processing unit 68 determines to be greater than cumulative threshold difference with reference to the cumulative GTG difference of image, enter into step S770.
In step S750, enter this step and represent to meet two conditions with reference to image, that is the exposure reference value of light source is less than exposure threshold value and is less than cumulative threshold difference with reference to the cumulative GTG difference of image.Accordingly, the coefficient of roughness that processing unit 68 can determine surface 65 according to judged result is for being positioned at the first coefficient of roughness scope, and wherein in the present embodiment, the surface 65 of the first coefficient of roughness scope is a shiny surface.Then, enter into step S760.
In step S760, displacement detector 60 starts dynamically to adjust image sensing region according to the evenness on surface 65, referring to Fig. 8 A, when the processing unit 68 in displacement detector 60 determines that according to judged result this surface 65 is for being positioned at the shiny surface of the first coefficient of roughness scope, processing unit 68 can be set a search frame S8A to define displacement detector 60 searches and computer capacity and to search outwards definition the first search radius r1 of border of frame S8A on reference to image R8A, wherein the sweep limits of the first search radius r1 is that displacement detector 60 is in the reserved area with reference to the enterprising line search of image R8A and calculating, dynamically adjust by this image sensing region and obtain higher speed or acceleration.Wherein search frame S8A and there are 8 × 8 pixels (active sensing region), and the first search radius r1 has 3 pixel distances (reserved sensing region), it should be noted that, reference image R8A in Fig. 8 A is about 11 × 11 pixels, its more original optical image (16 × 16 pixels) is comparatively little, that is displacement detector 60 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R8A that reserved sensing region forms.Next, displacement detector 60 can be got back to the surperficial evenness of continuation detection in step S710 and determine whether dynamically adjusting once again image sensing region.
In step S770, entering this step represents to meet the following conditions with reference to image, that is the exposure reference value of light source 61 is greater than exposure threshold value, or the exposure reference value of light source 61 is less than exposure threshold value and is greater than cumulative threshold difference with reference to the cumulative GTG difference of image.Accordingly, the coefficient of roughness that processing unit 68 can determine surface 65 according to judged result is for being positioned at the second coefficient of roughness scope, and wherein in the present embodiment, the surface 65 of the second coefficient of roughness scope is a matsurface.Then, enter into step S780.
In step S780, displacement detector 60 starts dynamically to adjust image sensing region according to the evenness on surface 65, referring to Fig. 8 B, when the processing unit 68 in displacement detector 60 judges that this surface 65 is for being positioned at the matsurface of the second coefficient of roughness scope, processing unit 68 can be set a search frame S8B to define displacement detector 60 searches and computer capacity and to search outwards definition the 3rd search radius r3 of border of frame S8B on reference to image R8B, wherein the sweep limits of the 3rd search radius r3 is that displacement detector 60 is in the reserved area with reference to the enterprising line search of image R8B and calculating, dynamically adjust by this image sensing region and obtain higher speed or acceleration.Wherein search frame S8B and there are 8 × 8 pixels (active sensing region), and the 3rd search radius r3 has 5 pixel distances (reserved sensing region), it should be noted that, reference image R8B in Fig. 8 B is about 13 × 13 pixels, its more original optical image (16 × 16 pixels) is comparatively little, that is displacement detector 60 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R8B that reserved sensing region forms.Next, displacement detector 60 can be got back to the surperficial evenness of continuation detection in step S710 and determine whether dynamically adjusting once again image sensing region.
Hold above-mentioned, similarly, under the running of bright field optical facilities, the 3rd search radius r3 (5 pixel distances) of matsurface is greater than the first search radius r1 (3 pixel distances) of shiny surface, that is is greater than the reserved area of search and the calculating of shiny surface in the search of matsurface and the reserved area of calculating.Accordingly, displacement detector 10 can dynamically be adjusted image sensing region to obtain suitable speed or acceleration to set suitable search radius according to the evenness on surface 15.
(another embodiment of the displacement detector of bright field optical facilities)
Next,, referring to Fig. 6 A, Fig. 6 B and Fig. 9~Figure 10 B, Fig. 9 is the flow chart of dynamically adjusting according to another embodiment of the present invention image sensing region method under bright field.Figure 10 A and Figure 10 B are the reference image and the schematic diagram of searching frame corresponding to Fig. 9 flow chart.It is noted that, in Fig. 9 embodiment, it is disclosed in the exemplary embodiments that displacement detector 60 detects surface smoothness and dynamically adjusts image sensing region accordingly and reduce power consumption under bright field optical facilities, and reduction power consumption described herein is for compared to Fig. 7~Fig. 8 B embodiment.The dynamic adjustment image sensing region method of Fig. 9 embodiment comprises the following steps: extract with reference to image (step S910).Calculation exposure reference value and image feature value (step S920).Judge whether exposure reference value is less than exposure threshold value (step S930).Whether the cumulative GTG difference of judgement is less than cumulative threshold difference (step S940).Determine that the surperficial coefficient of roughness is positioned at the first coefficient of roughness scope (step S950).Define the second search radius to adjust image sensing region (step S960).Determine that the surperficial coefficient of roughness is positioned at the second coefficient of roughness scope (step S970).Define the 4th search radius to adjust image sensing region (step S980).Below will sequentially illustrate that each step is more to understand content of the present invention.
In step S910, when light source 61 emits beam to surperficial 65 time with a light period, Extraction of Image unit 62 extracts with reference to the optical image on image or surface 65 to be synchronized with sampling period of light period of light source 61, and enters into step S920 after this is sent to processing unit 68 with reference to image.
In step S920, similar in appearance to step S720, processing unit 68 can calculate time for exposure of light source 11 or exposure to obtain exposure reference value (or deciding by the magnitude of current of the light-emitting diode of flowing through) when Extraction of Image unit 62 extracts with reference to image, and processing unit 68 can be calculated received reference image cumulative GTG difference, that is the GTG value of each neighbor is subtracted each other to obtain difference, mode adds up to obtain cumulative GTG difference by obtained difference according to this, described cumulative GTG difference is directly proportional to image feature value, therefore can obtain the image feature value with reference to image from cumulative GTG difference.Then, dynamically adjust image sensing region method and enter into step S930.
In step S930, similarly, processing unit 68 further judges whether exposure reference value is less than the exposure threshold value that is stored in memory cell 66, if when wherein the exposure reference value of light source 61 is greater than exposure threshold value, this exposure reference value is a long exposure reference value, if when the exposure reference value of light source 61 is less than exposure threshold value, this exposure reference value is a short exposure reference value.In the time that processing unit 68 determines that the exposure reference value of light source 61 is less than exposure threshold value, enter into step S940 and whether be less than cumulative threshold difference to continue the cumulative GTG difference of judgement; In the time that processing unit 68 determines that the exposure reference value of light source 61 is greater than exposure threshold value, enter into step S970.
In step S940, processing unit 68 is less than after exposure threshold value at the exposure reference value that judges light source 61, can enter this step S940 continues to judge with reference to the cumulative GTG difference of image whether be less than the cumulative threshold difference that is stored in memory cell 66, if wherein cumulative GTG difference is greater than cumulative threshold value, the reference image that Extraction of Image unit 62 extracts has high image feature value, if cumulative GTG difference is less than cumulative threshold difference, the reference image that Extraction of Image unit 62 extracts has low image feature value.When processing unit 68 determines to be less than cumulative threshold difference with reference to the cumulative GTG difference of image, enter into step S950; When processing unit 68 determines to be greater than cumulative threshold difference with reference to the cumulative GTG difference of image, enter into step S970.
In step S950, enter this step and represent to meet two conditions with reference to image, that is the exposure reference value of light source 61 is less than exposure threshold value and is less than cumulative threshold difference with reference to the cumulative GTG difference of image.Accordingly, the coefficient of roughness that processing unit 68 can determine surface 65 according to judged result is for being positioned at the first coefficient of roughness scope, and wherein in the present embodiment, the surface 65 of the first coefficient of roughness scope is a shiny surface.Then, enter into step S760.
In step S960, displacement detector 60 starts dynamically to adjust image sensing region according to the evenness on surface 65, referring to Figure 10 A, when the processing unit 68 in displacement detector 60 determines that according to judged result this surface 65 is for being positioned at the shiny surface of the first coefficient of roughness scope, processing unit 68 can be set a search frame S10A to define displacement detector 60 searches and computer capacity and to search outwards definition the second search radius r2 of border of frame S10A on reference to image R10A, wherein the sweep limits of the second search radius r2 is that displacement detector 60 is in the reserved area with reference to the enterprising line search of image R10A and calculating, dynamically adjust by this image sensing region and obtain higher speed or acceleration.Wherein search frame S10A and there are 8 × 8 pixels (active sensing region), and the second search radius r2 has 1 pixel distance (reserved sensing region), it should be noted that, reference image R10A in Figure 10 A is about 11 × 11 pixels, its more original optical image (16 × 16 pixels) is comparatively little, that is displacement detector 60 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R10A that reserved sensing region forms.Next, displacement detector 60 can be got back to the surperficial evenness of continuation detection in step S910 and determine whether dynamically adjusting once again image sensing region.Furthermore, compared to Fig. 8 A embodiment, the displacement detector 60 of Figure 10 A embodiment defines the second search radius r2 to be reduced image sensing region and reduces power consumption, that is displacement detector 60 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R10A that reserved sensing region forms.In other words, compared to Figure 10 A embodiment, be about 11 × 11 pixels at the reference image R8A of Fig. 8 A embodiment, displacement detector 60 defines the first search radius r1 and obtains higher speed or acceleration to increase dynamic image sensing region.
In step S970, entering this step represents to meet the following conditions with reference to image, that is the exposure reference value of light source 61 is greater than exposure threshold value, or the exposure reference value of light source 61 is less than exposure threshold value and is greater than cumulative threshold difference with reference to the cumulative GTG difference of image.Accordingly, the coefficient of roughness that processing unit 68 can determine surface 65 according to judged result is for being positioned at the second coefficient of roughness scope, and wherein in the present embodiment, the surface 65 of the second coefficient of roughness scope is a matsurface.Then, enter into step S980.
In step S980, displacement detector 60 starts dynamically to adjust image sensing region according to the evenness on surface 65, referring to Figure 10 B, when the processing unit 68 in displacement detector 60 judges that this surface 65 is for being positioned at the matsurface of the second coefficient of roughness scope, processing unit 68 can be set a search frame S10B to define displacement detector 60 searches and computer capacity and to search outwards definition the 4th search radius r4 of border of frame S10B on reference to image R10B, wherein the sweep limits of the 4th search radius r4 is that displacement detector 60 is in the reserved area with reference to the enterprising line search of image R10B and calculating, dynamically adjust by this image sensing region and obtain higher speed or acceleration.Wherein search frame S10B and there are 8 × 8 pixels (active sensing region), and the 4th search radius r4 has 3 pixel distances (reserved sensing region), it should be noted that, reference image R10B in Figure 10 B is about 13 × 13 pixels, and its more original optical image (16 × 16 pixels) is comparatively little.Similarly, next, displacement detector 60 can be got back to the surperficial evenness of continuation detection in step S910 and determine whether dynamically adjusting once again image sensing region.In the present embodiment, the 4th search radius r4 equals the first search radius r1, and the 3rd search radius r3 is greater than the 4th search radius r4.Furthermore, compared to Fig. 8 B embodiment, the displacement detector 60 of Figure 10 B embodiment defines the 4th search radius r4 to be reduced image sensing region and reduces power consumption, that is displacement detector 60 is as long as search and calculate the active sensing region of original optical image (16 × 16 pixels) and the reference image R5B that reserved sensing region forms.In other words, compared to Figure 10 B embodiment, be about 13 × 13 pixels at the reference image R8B of Fig. 8 B embodiment, displacement detector 60 defines the 3rd search radius r3 and obtains higher speed or acceleration to increase dynamic image sensing region.
(possible effect of embodiment)
In sum, the displacement detector that the embodiment of the present invention provides and dynamically adjust the method in image sensing region, can set different search radiuses according to surperficial evenness and dynamically adjust image sensing region to reserve sensing region, and then reach the adjustment of tracking speed.
At least one embodiment in the multiple embodiment of content of the present invention, can set different search radiuses according to surperficial evenness and dynamically adjust image sensing region to reserve sensing region, and then reduces the power consumption of displacement detector.
The foregoing is only embodiments of the invention, it is not in order to limit to the scope of the claims of the present invention.

Claims (19)

1. a displacement detector, for detection of surperficial evenness and dynamically adjust image sensing region, is characterized in that, this displacement detector comprises:
Light source, emission of light;
Extraction of Image unit, at least one that extract this surface in order to the fixing sampling period is with reference to image; And
Processing unit, connect this light source and this Extraction of Image unit, this processing unit is in order to calculate exposure reference value and this image feature value with reference to image of this light source and to judge that accordingly this surface is positioned at the first coefficient of roughness scope or the second coefficient of roughness scope, wherein this processing unit this with reference to image on selected this search frame with reference to image that is less than
If wherein this surface is positioned at this first coefficient of roughness scope, this processing unit defines the first search radius on reference to image to increase this image sensing region or definition the second search radius to reduce this image sensing region at this, and this first search radius is greater than this second search radius; If this surface is positioned at this second coefficient of roughness scope, this processing unit defines the 3rd search radius on reference to image to increase this image sensing region or definition the 4th search radius to reduce this image sensing region at this, the 3rd search radius be greater than this first and the 4th search radius.
2. displacement detector as claimed in claim 1, is characterized in that, this displacement detector also comprises:
Memory cell, is connected to this processing unit, and this memory cell is in order to store at least one threshold value;
Coffret unit, is connected to this processing unit, in order to displacement information is sent to video picture display unit, carries out by this corresponding manipulation;
First lens, is disposed at the front of this light source, in order to adjust the range of exposures of this light source; And
The second lens, are disposed at the front of this Extraction of Image unit, in order to improve the light receiving efficiency of this Extraction of Image unit,
Wherein this light source is light-emitting diode or laser diode.
3. displacement detector as claimed in claim 1, is characterized in that, this exposure reference value is time for exposure or exposure, and wherein this exposure of this light source is adjusted in this Extraction of Image unit by aperture.
4. displacement detector as claimed in claim 1, is characterized in that, when this processing unit calculates this image feature value by this cumulative GTG difference with reference to image; If this cumulative GTG difference is greater than cumulative threshold value, this has high image feature value with reference to image, if this cumulative GTG difference is less than cumulative threshold difference, this has low image feature value with reference to image, and wherein this cumulative GTG difference is directly proportional to this image feature value.
5. displacement detector as claimed in claim 1, is characterized in that, if when this exposure reference value of this light source is greater than exposure threshold value, this exposure reference value is long exposure reference value; If when this exposure reference value of this light source is less than this exposure threshold value, this exposure reference value is short exposure reference value.
6. displacement detector as claimed in claim 1, it is characterized in that, in the time that this Extraction of Image unit is positioned at details in a play not acted out on stage, but told through dialogues, this processing unit decides this surface to be positioned at this first coefficient of roughness scope or this second coefficient of roughness scope by judging respectively this exposure reference value and this image feature value.
7. displacement detector as claimed in claim 1, it is characterized in that, in the time that this Extraction of Image unit is positioned at details in a play not acted out on stage, but told through dialogues, this processing unit by this exposure reference value divided by this image feature value with obtain operation values, if this operation values is greater than predetermined threshold value, this surface is positioned at this first coefficient of roughness scope; If this operation values is less than this predetermined threshold value, this surface is positioned at this second coefficient of roughness scope.
8. displacement detector as claimed in claim 1, it is characterized in that, in the time that this Extraction of Image unit is positioned at bright field, this processing unit decides this surface to be positioned at this first coefficient of roughness scope or this second coefficient of roughness scope by judging respectively this exposure reference value and this image feature value.
9. the displacement detector as described in claim 6 or 7, is characterized in that, this details in a play not acted out on stage, but told through dialogues is defined as this Extraction of Image unit and is positioned at the scattering path of this light.
10. displacement detector as claimed in claim 8, is characterized in that, this bright field is defined as this Extraction of Image unit and is positioned at the reflection path of this light.
11. displacement detectors as claimed in claim 1, is characterized in that, this surface that is positioned at this first coefficient of roughness scope is even surface, and this surface that is positioned at this second coefficient of roughness scope is matsurface.
Dynamically adjust the method in image sensing region for 12. 1 kinds, it is characterized in that, this method of dynamically adjusting image sensing region comprises step:
At least one that extract surface according to fixing sampling period is with reference to image;
Calculate exposure reference value and this image feature value with reference to image of light source;
According at least one threshold value, judge that this surface is for being positioned at the first coefficient of roughness scope or the second coefficient of roughness scope; And
Whether be positioned at the judged result of this first coefficient of roughness scope or this second coefficient of roughness scope according to this surface, dynamically adjust image sensing region.
Wherein this method of dynamically adjusting image sensing region is for displacement detector as claimed in claim 1.
The method in 13. dynamic adjustment image sensing as claimed in claim 12 regions, is characterized in that, this step of dynamically adjusting image sensing region according to this first coefficient of roughness scope or this second coefficient of roughness scope also comprises:
If this surface is for being positioned at this first coefficient of roughness scope, define the first search radius on reference to image to increase image sensing region or definition the second search radius to reduce this image sensing region at this, wherein this first search radius is greater than this second search radius; And
If this surface is for being positioned at this second coefficient of roughness scope, define the 3rd search radius on reference to image to increase this image sensing region or definition the 4th search radius to reduce this image sensing region at this, wherein the 3rd search radius be greater than this first and the 4th search radius.
The method in 14. dynamic adjustment image sensing as claimed in claim 12 regions, is characterized in that, this exposure reference value is time for exposure or exposure, wherein adjusts this exposure of this light source by aperture.
The method in 15. dynamic adjustment image sensing as claimed in claim 12 regions, is characterized in that, calculates this image feature value by this cumulative GTG difference with reference to image; If this cumulative GTG difference is greater than cumulative threshold value, this has high image feature value with reference to image, if this cumulative GTG difference is less than cumulative threshold difference, this has low image feature value with reference to image, and wherein this cumulative GTG difference is directly proportional to this image feature value.
The method in 16. dynamic adjustment image sensing as claimed in claim 12 regions, is characterized in that, if when this exposure reference value is greater than exposure threshold value, this exposure reference value is long exposure reference value; If when this exposure reference value is less than this exposure threshold value, this exposure reference value is short exposure reference value.
The method in 17. dynamic adjustment image sensing as claimed in claim 12 regions, it is characterized in that, by this exposure reference value divided by this image feature value with obtain operation values, if this operation values is greater than predetermined threshold value, this surface is for being positioned at this first coefficient of roughness scope; If this operation values is less than this predetermined threshold value, this surface is for being positioned at this second coefficient of roughness scope.
The method in 18. dynamic adjustment image sensing as claimed in claim 12 regions, is characterized in that, by judging that respectively this exposure reference value and this image feature value decide this surface for being positioned at this first coefficient of roughness scope or this second coefficient of roughness scope.
The method in 19. dynamic adjustment image sensing as claimed in claim 12 regions, is characterized in that, this surface that is wherein positioned at this first coefficient of roughness scope is even surface, and this surface that is positioned at this second coefficient of roughness scope is matsurface.
CN201310158672.0A 2013-05-02 2013-05-02 Displacement detector and its method in dynamic adjustment image sensing region Active CN104135604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310158672.0A CN104135604B (en) 2013-05-02 2013-05-02 Displacement detector and its method in dynamic adjustment image sensing region

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310158672.0A CN104135604B (en) 2013-05-02 2013-05-02 Displacement detector and its method in dynamic adjustment image sensing region

Publications (2)

Publication Number Publication Date
CN104135604A true CN104135604A (en) 2014-11-05
CN104135604B CN104135604B (en) 2018-01-30

Family

ID=51808119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310158672.0A Active CN104135604B (en) 2013-05-02 2013-05-02 Displacement detector and its method in dynamic adjustment image sensing region

Country Status (1)

Country Link
CN (1) CN104135604B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784988A (en) * 2016-12-27 2020-10-16 原相科技股份有限公司 Wearable device and related detection method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797302A (en) * 2004-12-30 2006-07-05 原相科技股份有限公司 Optical mouse suitable to alien reflection planes
US20060262094A1 (en) * 2005-05-23 2006-11-23 Yuan-Jung Chang Optical mouse having a dual light source and a method thereof
CN1924774A (en) * 2005-06-30 2007-03-07 罗技欧洲公司 Optical displacement detection over varied surfaces
CN101354434A (en) * 2007-07-24 2009-01-28 原相科技股份有限公司 Method for detecting displacement amount of secondary pixel and apparatus for using the same
US20090026351A1 (en) * 2007-07-27 2009-01-29 Nobutaka Itagaki System and method for performing optical navigation on glass-like navigation surfaces
US20090146044A1 (en) * 2007-12-05 2009-06-11 Pixart Imaging Incorporation Optical displacement detection apparatus and optical displacement detection method
CN102033621A (en) * 2009-09-27 2011-04-27 宏景科技股份有限公司 Mouse device and method capable of adjusting lifting distance

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797302A (en) * 2004-12-30 2006-07-05 原相科技股份有限公司 Optical mouse suitable to alien reflection planes
US20060262094A1 (en) * 2005-05-23 2006-11-23 Yuan-Jung Chang Optical mouse having a dual light source and a method thereof
CN1924774A (en) * 2005-06-30 2007-03-07 罗技欧洲公司 Optical displacement detection over varied surfaces
CN101354434A (en) * 2007-07-24 2009-01-28 原相科技股份有限公司 Method for detecting displacement amount of secondary pixel and apparatus for using the same
US20090026351A1 (en) * 2007-07-27 2009-01-29 Nobutaka Itagaki System and method for performing optical navigation on glass-like navigation surfaces
US20090146044A1 (en) * 2007-12-05 2009-06-11 Pixart Imaging Incorporation Optical displacement detection apparatus and optical displacement detection method
CN102033621A (en) * 2009-09-27 2011-04-27 宏景科技股份有限公司 Mouse device and method capable of adjusting lifting distance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784988A (en) * 2016-12-27 2020-10-16 原相科技股份有限公司 Wearable device and related detection method
CN111784988B (en) * 2016-12-27 2021-12-10 原相科技股份有限公司 Wearable device and related detection method
US11450195B2 (en) 2016-12-27 2022-09-20 Pixart Imaging Inc. Wearable device and associated detecting method

Also Published As

Publication number Publication date
CN104135604B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
US11249554B2 (en) Method and apparatus for selecting between multiple gesture recognition systems
TWI714989B (en) A method including its equipment and storage medium to keep intelligent device continuously awake
US11561322B2 (en) Use of thermopiles to detect human location
CN110490179B (en) License plate recognition method and device and storage medium
EP2992403B1 (en) Depth sensors
JP2009265827A (en) Object detection device and method, object detection system, and program
CN102939617A (en) Gesture recognition device, gesture recognition method, and program
US8898496B1 (en) Context-based power management
WO2019024644A1 (en) Proximity detection method and apparatus, storage medium, and electronic device
CN105487644A (en) Identification device, intelligent device and information providing method
KR20150009044A (en) Mobile terminal and method for controlling the same
EP2282224B1 (en) Image processing apparatus, image processing method, and computer program
CN112684887A (en) Application device and air gesture recognition method thereof
TWI497099B (en) Motion detecting device and the method for dynamically adjusting image sensing area thereof
US9310903B2 (en) Displacement detection device with no hovering function and computer system including the same
CN111797017B (en) Method, device, test equipment and storage medium for storing log
CN104135604A (en) Displacement detection device and method for dynamically adjusting image sensing area thereof
CN107563259B (en) Method for detecting action information, photosensitive array and image sensor
CN111753813A (en) Image processing method, device, equipment and storage medium
CN107343100A (en) Information cuing method, device, storage medium and electronic equipment
CN112861565B (en) Method, apparatus, computer device and storage medium for determining track similarity
CN114663919A (en) Human body posture detection method and device, electronic equipment and storage medium
CN113936240A (en) Method, device and equipment for determining sample image and storage medium
KR102683294B1 (en) Electronic apparatus for recognizing an object and controlling method thereof
US9667854B2 (en) Electornic device and information processing unit

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