CN108664146B - Optical mouse and parameter correction method thereof - Google Patents

Optical mouse and parameter correction method thereof Download PDF

Info

Publication number
CN108664146B
CN108664146B CN201710188426.8A CN201710188426A CN108664146B CN 108664146 B CN108664146 B CN 108664146B CN 201710188426 A CN201710188426 A CN 201710188426A CN 108664146 B CN108664146 B CN 108664146B
Authority
CN
China
Prior art keywords
optical mouse
mouse
image
parameter
optical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710188426.8A
Other languages
Chinese (zh)
Other versions
CN108664146A (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 CN201710188426.8A priority Critical patent/CN108664146B/en
Publication of CN108664146A publication Critical patent/CN108664146A/en
Application granted granted Critical
Publication of CN108664146B publication Critical patent/CN108664146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03541Mouse/trackball convertible devices, in which the same ball is used to track the 2D relative movement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device

Abstract

The invention discloses an optical mouse and a parameter correction method thereof, wherein the optical mouse comprises: the method for correcting the parameters of the optical mouse comprises the following steps: when the optical mouse is attached to the mouse pad and generates relative displacement with the mouse pad, acquiring an image formed by reflecting light rays during the relative displacement, and generating an image frame according to the image frame; judging whether the image frame has characteristic information; and setting the parameter value of the optical mouse when the image frame has at least one piece of characteristic information. Wherein the characteristic information is caused by a surface layout of the mouse pad. The invention adjusts the parameter value of the optical mouse by the parameter correction method, realizes the improvement of the limit speed and the positioning precision of the optical mouse, and adjusts the parameter value to be the most appropriate (optimized) silent height according to the characteristic information of different mouse pads.

Description

Optical mouse and parameter correction method thereof
Technical Field
The present invention relates to an optical mouse, and more particularly, to an optical mouse capable of automatically adjusting parameter settings and a method for calibrating parameters thereof.
Background
When designing an optical mouse, engineers usually consider the performance of the optical mouse on different surfaces at the same time, and propose a general optical mouse design suitable for various surfaces. Therefore, when a general consumer purchases the optical mouse, the optical mouse cannot be expected to be best matched with the mouse pad.
However, the victory or defeat decision in recent popular electronic competition games can be worried about minutes and seconds, whether the optical mouse used by the player can be closely matched with the mouse pad or not can achieve accurate control over the game process, and the victory or defeat result of the competition is greatly influenced. That is, the player-level user would prefer to purchase the optical mouse and mouse pad at the moment of purchase, so that the optical mouse and mouse pad can have the optimized setting status.
Disclosure of Invention
In view of the above, the present invention provides an optical mouse and a method for calibrating parameters thereof, wherein the optical mouse can provide parameter settings with optimized performance for different mouse pad surfaces, thereby achieving precise control of the optical mouse.
The embodiment of the invention provides a method for correcting parameters of an optical mouse, which comprises the following steps: the device comprises a light source, an image acquisition unit, a storage unit and a processing unit. The light source is used for generating light to irradiate the mouse pad attached with the optical mouse; the image acquisition unit is used for acquiring a plurality of images corresponding to the reflected light of the mouse pad according to the image acquisition frequency so as to generate a plurality of image frames; the storage unit is used for storing a plurality of characteristic information; and the processing unit is coupled with the image acquisition unit and the storage unit and is used for calculating the image frame. The method for correcting the parameters of the optical mouse comprises the following steps: when the optical mouse is attached to the mouse pad and generates relative displacement with the mouse pad, acquiring an image formed by reflecting light rays during the relative displacement, and generating an image frame according to the image frame; judging whether the image frame has characteristic information; setting a parameter value of the optical mouse when the image frame has at least one piece of characteristic information; wherein the characteristic Information (Pattern Information) is caused by the surface layout (Pattern) of the mouse pad.
Another embodiment of the present invention provides an optical mouse, including: the device comprises a light source, an image acquisition unit, a storage unit and a processing unit. The light source is used for generating light rays to irradiate the mouse pad operated by the optical mouse; the image acquisition unit is used for acquiring a plurality of images corresponding to the reflected light of the mouse pad according to the image acquisition frequency so as to generate a plurality of image frames; the storage unit is used for storing a plurality of characteristic information; and the processing unit is coupled with the image acquisition unit and the storage unit and used for calculating the image frame. When the optical mouse is attached to the mouse pad and generates relative displacement with the mouse pad, acquiring an image formed by reflecting light rays during the relative displacement, generating an image frame according to the image frame, judging whether the image frame has characteristic information, and setting a parameter value of the optical mouse when the image frame has at least one piece of characteristic information; wherein the characteristic information is caused by a surface layout of the mouse pad.
The optical mouse and the parameter correction method thereof provided by the embodiment of the invention can assist a user to set the parameter value which is most suitable (optimized) for the optical mouse on different mouse pads. By adjusting the parameter value of the optical mouse, the optical mouse and the parameter correction method thereof greatly improve the use performance of the optical mouse when the optical mouse slides on different mouse pads.
For a better understanding of the nature and technical content of the present invention, reference should be made to the following detailed description of the invention, taken in conjunction with the accompanying drawings, which are set forth to illustrate, but are not to be construed to limit the scope of the invention.
Drawings
Fig. 1 is a functional block diagram of an optical mouse according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating a method for calibrating parameters of an optical mouse according to another embodiment of the present invention.
FIG. 3 is an exemplary bar code diagram of characteristic information of the method for calibrating parameters of an optical mouse according to the present invention.
FIG. 4 is a schematic diagram of characteristic information of the optical mouse parameter calibration method according to the present invention.
FIGS. 5A and 5B are schematic diagrams of pad surface textures of characteristic information of the optical mouse parameter correction method according to the present invention.
FIGS. 6A, 6B and 6C are color illustrations of the pad surface of the characteristic information of the optical mouse parameter correction method according to the present invention.
FIG. 7 is a schematic diagram of the application of the method for calibrating parameters of an optical mouse according to the present invention.
Detailed Description
The invention provides an optical mouse and a parameter correction method thereof, which are mainly characterized in that the optical mouse is attached to a mouse pad (or the surface of any pad body) and generates relative displacement with the mouse pad (namely, the optical mouse slides on the mouse pad), the optical mouse can automatically acquire the reflected light of the surface of the mouse pad during the relative displacement to form an Image (Image), and an Image Frame (Frame) is generated according to the Image. The optical mouse can determine the corresponding correction parameter value by judging whether the image frame has the pre-stored characteristic information. When the optical mouse judges that the image frame has at least one piece of pre-stored characteristic information, the correction setting of the optical mouse parameter value is automatically carried out.
Referring to fig. 1, fig. 1 is a functional block diagram of an optical mouse according to an embodiment of the present invention. In the embodiment of fig. 1, the components of the optical mouse 1 include an image capturing unit 11, a light source 12, a storage unit 13, and a processing unit 14. The image acquisition unit 11, the light source 12 and the storage unit 13 are coupled to the processing unit 14 respectively. In another embodiment of the present invention, the light source 12 may be controlled by other circuits, not directly connected to the processing unit 14. The present invention is not limited to the connection of the light source 12.
First the image acquisition unit 11 in fig. 1 is seen. In this embodiment, the Image obtaining unit 11 is configured to obtain a plurality of images corresponding to the reflected light of the mouse pad according to an Image obtaining Frequency (Image Sampling Frequency) to generate a plurality of Image frames. In detail, the Image (Image) referred to in this section is an analog Image signal. The image is converted into an image Frame (Frame) belonging to the Digital signal after the image is converted by a suitable circuit or an Analog-to-Digital Converter (ADC).
In the embodiment, the image obtaining unit 11 may be implemented by a Charge-Coupled Device (CCD) image sensor or a Complementary Metal Oxide Semiconductor (CMOS) image sensor, and those skilled in the art can make corresponding designs according to actual usage conditions, which is not limited by the invention.
See again the light source 12 in fig. 1. In the present embodiment, the light source 12 is used to generate light to illuminate the mouse pad (or any pad surface) to which the optical mouse 1 is attached. In the present embodiment, the light emitting time of the light source 12 is controlled by the processing unit 14, and the light emitting time can be prolonged or shortened, or the light emitting intensity can be increased or decreased according to the condition parameters. Wherein, an exposure value of the optical mouse 1 can be adjusted by adjusting the light emitting time or the light emitting intensity of the light source 12.
In the present embodiment, the light source 12 may be composed of one light emitting device or a plurality of light emitting devices. The Light Emitting element used in the present embodiment may be a Light-Emitting Diode (LED) or a Laser Diode (LD).
Next, the memory unit 13 in fig. 1 will be described. The storage unit 13 is used for storing a plurality of feature information. Wherein, the characteristic Information (Pattern Information) is caused by the surface layout (Pattern) of the mouse pad (pad body surface). In detail, the surface layout of the mouse pad (pad surface) may be a bar code, an icon, a texture, a color, and other features of the mouse pad surface, which will be further described with reference to fig. 3, 4, 5A, 5B, 6A, 6B, and 6C.
In this embodiment, the storage unit 13 may be a Volatile Memory (Volatile Memory) or a Non-Volatile Memory (Non-Volatile Memory). The volatile memory may be: random Access Memory (RAM), the non-volatile Memory may be: flash Memory (Flash Memory) and Read-Only Memory (ROM), but the invention is not limited thereto.
Finally, the processing unit 14 in fig. 1 is mentioned. In the present embodiment, the processing unit 14 is used for calculating an image frame. Further, the processing unit 14 calculates the frame, and the processing unit 14 may analyze the feature information (e.g., brightness, barcode, icon, texture, color, or various indexes (Index) in the image frame (e.g., average brightness, brightest brightness, gray-scale ratio of image) in the image frame to generate corresponding feature values for the operation behavior of the image frame, or may perform a behavior of performing an auto-correction procedure on the parameters of the optical mouse 1 by comparing the feature information and the feature values of the image frame with the preloaded feature information or the feature values.
In this embodiment, the processing unit 14 may be a microprocessor, such as: digital Signal Processor (DSP).
In an embodiment of the present invention, the processing unit 14 may utilize an algorithm to convert the feature information obtained from the image frame into corresponding feature values, and compare the feature values with the preloaded feature values. When the processing unit 14 refers to a parameter comparison table (e.g., table one), it performs the analysis and determination. When the processing unit 14 finds that there is one of the characteristic values that matches the preloaded characteristic values in table one, the current parameter value of the optical mouse 1 is automatically set to the optical mouse parameter value corresponding to the matching preloaded characteristic value.
Watch 1
Figure BDA0001255479870000041
Figure BDA0001255479870000051
Table one is an exemplary parameter comparison table, and in this type of table, the following may be described: characteristic information, characteristic values, optical mouse parameter values corresponding to the characteristic values and other characteristic related information, wherein the optical mouse parameter values comprise: exposure value, aperture, and image analysis and computation efficiency. It should be noted that the values recorded in the Table one are not necessarily in the form of a Table (Table) in the optical mouse 1, but may also be in other forms in the storage unit 13 of the optical mouse. In addition, when fig. 3, 4, 5A, 5B, 6A, 6B, and 6C are described, different exemplary feature information will be further described.
In addition, in an embodiment of the present invention, when performing the optical mouse parameter calibration, if the default characteristic information (e.g., default barcode) matching the characteristic information of the mouse pad is not found, the most similar characteristic information or the parameter setting corresponding to the characteristic value is used as an alternative option. Alternatively, the optical mouse 1 may automatically select an appropriate (optimized) optical mouse parameter value according to the acquired characteristic information of the mouse pad.
It should be noted that the optical mouse 1 may also consider the triggering time of the parameter auto-correction program. The trigger opportunities may include: when detecting that the operation interface of the optical mouse 1 generates a specific input operation (e.g. pressing a specific key combination), the operation interface is triggered; when detecting that the computer connected with the optical mouse 1 is used for executing the parameter correction software, the method is triggered; or, when the usage performance of the optical mouse 1 is lower than a predetermined condition (e.g., an algorithm is used to integrate the characteristic conditions, calculate the usage performance of the optical mouse 1 and evaluate whether the usage performance is lower than a predetermined threshold), the optical mouse is actively triggered, and the optical mouse can indicate that the optical mouse is executing the parameter auto-correction procedure by emitting a light-emitting signal. It should be noted that, as will be appreciated by those skilled in the art, the optical mouse 1 of the present invention not only has the technical features of automatic parameter correction disclosed in the present invention, but also has the basic functions and hardware structural features of control input and the like that the general optical mouse should have.
Next, please refer to fig. 2. FIG. 2 is a flowchart illustrating a method for calibrating parameters of an optical mouse according to another embodiment of the present invention.
In the embodiment of the method for calibrating parameters of an optical mouse, the method first proceeds to step S205, in which the optical mouse 1 acquires an image and generates an image frame when the optical mouse 1 moves on the mouse pad. Specifically, in the step of the optical mouse parameter calibration method, the optical mouse 1 is attached to the mouse pad and generates a relative displacement with the mouse pad (i.e. the optical mouse 1 moves on the mouse pad). During the movement of the optical mouse 1, the reflected light beams during the relative displacement are obtained together to form an image, and a new image frame is generated according to the image.
Then, in the method step S210, the optical mouse 1 determines whether the image frame has feature information. In this step, the optical mouse 1 determines whether to perform the method step S215 according to whether the image frame has the feature information.
Finally, in step S215, when the image frame of the optical mouse 1 has the feature information, the parameter value of the optical mouse is set. In detail, the optical mouse 1 will continue the method step S210, and when the image frame is determined to have at least one feature information, the parameter value of the optical mouse 1 is set according to the optical mouse parameter value corresponding to the feature information.
In the embodiment of the invention, the judgment of the characteristic information in the image frame is important. Fig. 3, 4, 5A, 5B, 6A, 6B, 6C below further illustrate possible embodiments for the characteristic information. It should be noted that the present invention is not limited by these examples.
Referring to fig. 3, fig. 3 is a bar code illustration of characteristic information in the method for calibrating parameters of an optical mouse according to the present invention. In one embodiment, the characteristic information may be a bar code (Barcode) 31. The bar code 31 or bar code referred to in this embodiment is a pattern recognition element that arranges a plurality of black bars and spaces with different widths according to a certain coding rule to express a group of information. A common bar code is a parallel line pattern of dark bars (dark portions) and white bars (light portions) of widely differing reflectivity.
It is worth mentioning that the judgment of the black bar and the white bar comes from the reflected light (light signal) with different intensity received by the optical mouse 1. Then, the optical mouse 1 converts the reflected light (optical signal) with different intensity into corresponding electrical signal. The different widths of the white and black bars result from the corresponding duration of the electrical signal. For example: by measuring the number of electrical 32 signals 0, 1, thereby discriminating the number of black and white bars; the widths of the bars and spaces are discriminated by measuring the duration of the 0, 1 signal.
Please refer to fig. 3 and the contents of table one. In this embodiment, the electrical signals 0, 1 represent dark and light, respectively. The processing unit 14 reads the dark area time of the black bar and the bright area time of the white bar of the barcode 31 (each having a duration ratio of 3 (bright): 1 (dark): 1 (bright): 2 (dark): 5 (bright)) to compose the characteristic information of the barcode 31, and then obtains the characteristic values of the barcode 31 as: 31125. therefore, the optical mouse 1 will find the optical mouse parameter value corresponding to the characteristic value according to the parameter comparison table as table one, and automatically perform the parameter value setting of the optical mouse 1.
Referring to FIG. 4, FIG. 4 is a diagram illustrating characteristic information of the optical mouse parameter calibration method according to the present invention. In one embodiment, the characteristic information may be an icon (Logo) 32. The optical mouse 1 can compare the characteristic information of the pre-stored icon 32 with each image frame obtained by image recognition. When it is determined that the image frame matches the pre-stored characteristic information of the icon 32, the optical mouse 1 will find the optical mouse parameter value corresponding to the characteristic information of the icon 32 according to the parameter comparison table as table one, and automatically set the parameter value of the optical mouse 1. It should be noted that the frame 32 may also correspond to a characteristic value, and then the characteristic value is determined to find out the corresponding optical mouse parameter value, which is not limited herein.
Referring to fig. 5A and 5B, fig. 5A and 5B are schematic diagrams illustrating pad surface textures of feature information in the method for calibrating parameters of an optical mouse according to the present invention. In one embodiment, the feature information may be Surface Texture (Surface Texture)331, 332.
First, the mat face texture 331 of FIG. 5A can be seen. The pad surface texture 331 in fig. 5A is a cloth texture of the pad surface of the mouse pad, and has a distinct warp and weft interlacing texture. The texture of the textile produced by a particular weaving method constitutes the characteristic information of the mat surface texture 331 in this embodiment.
Again, the mat face texture 332 in FIG. 5B can be seen. The pad surface texture 332 in fig. 5B is a leather texture of the pad surface of the mouse pad, and has obvious texture characteristics of leather. The leather surface texture of the leather constitutes the characteristic information of the cushion surface texture 332 in the present embodiment.
Please refer to fig. 6A, 6B, and 6C. FIGS. 6A, 6B and 6C are schematic diagrams illustrating pad surface colors of characteristic information of the optical mouse parameter calibration method according to the present invention. In one embodiment, the feature information may be a Surface Color (Surface Color)341, 342, 343.
In fig. 6A, 6B, and 6C, pad colors 341, 342, and 343 represent purple, brown, and orange, respectively. Wherein, the color 341 of the pad surface represents a certain purple, the brightness is 64, and the corresponding gray scale is 64 after the graying; the pad surface color 342 represents a certain brown color, the brightness of which is 128, and the corresponding gray scale of which is 128 after graying; and, the pad surface colors 343 respectively represent a certain orange color with a brightness of 192, and after being grayed, the corresponding grays are 192. As can be seen from the foregoing, the pad colors 341, 342, 343 can derive a variety of characteristic information for identification.
It should be noted that the characteristic information of the mouse pad may also be a change formed by the light and shadow on the pad surface.
Therefore, in an embodiment of the present invention, the aforementioned various different feature information can be applied to change in combination, so as to implement the optical mouse parameter calibration method of the present invention.
Finally, part of fig. 7 is seen. FIG. 7 is a schematic diagram of the application of the method for calibrating parameters of an optical mouse according to the present invention.
In the embodiment shown in fig. 7, the state is shown in which the user (player) has just assembled the computer for game competition and is performing automatic correction of the optical mouse parameter after the optical mouse 1 is attached. In the present embodiment, the optical mouse 1 sets parameter values suitable (optimized) for the characteristic information of the mouse pad 40 according to the characteristic information constituted by the surface layout of the mouse pad 40. Wherein the characteristic information of the mouse pad 40, which is the bar code 31, can be seen, is arranged in a calibration area 41 on the mouse pad 40. When the user starts to correct the parameters of the optical mouse 1, the mouse moving direction 42 holding the optical mouse 1 moves from left to right to read the characteristic information of the barcode 31. Based on the characteristic value 31125 of the characteristic information of the barcode 31, the corresponding optical mouse parameter values (e.g., exposure value 17, aperture 23, 35% image analysis performance, etc.) belonging to the bright texture are found, and the optimized optical mouse parameter values are set.
In this example, the optical mouse 1 analyzes the surface layout (feature information belonging to the bright texture) on the mouse pad in the acquired image frame to obtain that the current surface layout of the mouse pad has the preferred light reflection condition, so the optical mouse 1 adjusts the corresponding optical mouse parameter value according to the obtained feature information, and further adjusts and reduces the exposure value and aperture of the optical mouse. Also, since the optical mouse 1 determines that the current amount of light entering is large, the optical mouse 1 does not need to use a strong image analysis computation performance (i.e., the computation performance of the optical mouse 1 for processing the image feature comparison is reduced). As shown above, in the present embodiment, only 35% of the image analysis performance is required. Therefore, the invention has the technical effects of not wasting electric power and reducing energy waste.
On the contrary, if the image frame conforms to any feature information representing that the surface of the mouse pad is a dark texture, adjusting the parameter value of the optical mouse 1 can increase the exposure value of the optical mouse or increase the operation efficiency of the optical mouse 1 for processing the image feature comparison.
In summary, the optical mouse and the parameter calibration method thereof provided in the embodiments of the present invention can assist a user to set a parameter value most suitable (optimized) for the optical mouse on different mouse pads. That is to say, the optical mouse and the parameter calibration method thereof according to the present invention achieve the improvement of the Speed limit (Speed) and the positioning Accuracy (Accuracy) of the optical mouse by adjusting the parameter values of the optical mouse, and adjust the parameters to the most appropriate (optimized) silence height (or LOD) according to the characteristic information of different mouse pads, and have the technical effects of reducing the power consumption and reducing the energy waste by adjusting the parameters according to various characteristic information.
The disclosure is only a preferred embodiment of the invention and should not be taken as limiting the scope of the invention, which is defined by the appended claims.

Claims (20)

1. A method for calibrating parameters of an optical mouse, the optical mouse having a light source for generating light to illuminate a mouse pad attached to the optical mouse, an image obtaining unit for obtaining a plurality of images corresponding to light reflected from the mouse pad according to an image obtaining frequency to generate a plurality of image frames, a storage unit for storing a plurality of feature information, each of the feature information corresponding to at least one setting parameter, and a processing unit coupled to the image obtaining unit and the storage unit for computing the image frames, the method comprising:
when the optical mouse is attached to the mouse pad and generates relative displacement with the mouse pad, acquiring the image formed by reflecting light rays during the relative displacement, and generating the image frame according to the image frame;
judging whether the image drawing frame has the characteristic information; and
when the image frame has at least one piece of characteristic information, setting a parameter value of the optical mouse according to the setting parameter corresponding to the at least one piece of characteristic information of the image frame;
each of the characteristic information is caused by the surface layout of different mouse pads, so that the optical mouse can identify the different mouse pads and set the parameter value most suitable for the attached mouse pad.
2. The method of claim 1, wherein comparing the image frames comprises combining a plurality of default barcodes with a plurality of image bright areas or image dark areas in sequence according to a sliding direction of the optical mouse, and adjusting the parameter of the optical mouse to make the barcode conform to the predetermined parameter corresponding to the predetermined barcode when the barcode matches any one of the predetermined barcodes.
3. The method of claim 1, wherein the adjusting the parameter value of the optical mouse reduces an exposure value of the optical mouse or reduces performance of the optical mouse in processing image feature comparison when the image frame matches the feature information representing bright texture on the surface of the mouse pad.
4. The method as claimed in claim 3, wherein the decreasing the exposure value of the optical mouse is to decrease the light emitting time or decrease the light emitting intensity of the light source.
5. The method of claim 1, wherein the adjusting the parameter value of the optical mouse is adjusting an exposure value of the optical mouse higher or adjusting an operation performance of the optical mouse for processing image feature comparison higher when the image frame matches any feature information representing the surface of the mouse pad as dark texture.
6. The method as claimed in claim 5, wherein the increasing of the exposure value of the optical mouse is to increase the light emitting time or the light emitting intensity of the light source.
7. The method for calibrating parameters of an optical mouse according to claim 1, further comprising, before the step of generating the image frame:
when detecting that an operation interface of the optical mouse generates a specific input operation, triggering a parameter automatic correction program.
8. The method for calibrating parameters of an optical mouse according to claim 1, further comprising, before the step of generating a relative displacement with respect to the mouse pad:
when detecting that a computer connected with the optical mouse is used to execute a parameter correction software, triggering a parameter automatic correction program.
9. The method for calibrating parameters of an optical mouse according to claim 1, further comprising, before the step of generating a relative displacement with respect to the mouse pad:
triggering a parameter automatic correction program when detecting that the use efficiency of the optical mouse is lower than a preset condition;
and displaying a light-emitting signal on the optical mouse to indicate the optical mouse to execute the parameter automatic correction program.
10. The method of claim 1, wherein the characteristic information is at least one of a bar code, an icon, a texture of a mouse pad, and a color of the mouse pad.
11. An optical mouse, comprising:
a light source for generating light to irradiate a mouse pad operated by the optical mouse;
the image acquisition unit is used for acquiring a plurality of images corresponding to the reflected light of the mouse pad according to an image acquisition frequency so as to generate a plurality of image frames;
the storage unit is used for storing a plurality of characteristic information, and each characteristic information at least corresponds to a set parameter; and
a processing unit coupled to the image obtaining unit and the storage unit, the processing unit being configured to calculate the image frame;
when the optical mouse is attached to the mouse pad and generates relative displacement with the mouse pad, acquiring the image formed by reflecting light rays during the relative displacement, generating an image frame according to the image frame, judging whether the image frame has the characteristic information, and setting a parameter value of the optical mouse according to the setting parameter corresponding to at least one piece of characteristic information of the image frame when the image frame has at least one piece of characteristic information;
each of the characteristic information is caused by the surface layout of different mouse pads, so that the optical mouse can identify the different mouse pads and set the parameter value most suitable for the attached mouse pad.
12. The optical mouse of claim 11, wherein comparing the image frames is performed by combining a plurality of image bright areas or image dark areas in the image frames into a barcode according to a sliding direction of the optical mouse, wherein the plurality of characteristic information are a plurality of default barcodes, and when the barcode matches any one of the predetermined barcodes, adjusting the parameter value of the optical mouse to make the barcode match the setting parameter corresponding to the predetermined barcode.
13. The optical mouse of claim 11, wherein when the image frame matches the feature information indicating that the surface of the mouse pad is a bright texture, the adjusting the parameter value of the optical mouse reduces an exposure value of the optical mouse or reduces performance of the optical mouse in processing image feature comparison.
14. The optical mouse of claim 13, wherein the reduction of the exposure value of the optical mouse is a reduction of the light emitting time or a reduction of the light emitting intensity of the light source.
15. The optical mouse of claim 11, wherein when the image frame matches any of the feature information representing dark texture on the surface of the mouse pad, the adjusting the parameter value of the optical mouse increases an exposure value of the optical mouse or increases performance of the optical mouse in processing image feature comparison.
16. The optical mouse of claim 15, wherein the exposure value of the optical mouse is increased by increasing the light emitting time or the light emitting intensity of the light source.
17. The optical mouse of claim 11, wherein the timing for triggering the processing unit to execute the parameter auto-correction procedure comprises:
when detecting that an operation interface of the optical mouse generates a specific input operation, triggering the processing unit to execute the parameter automatic correction program.
18. The optical mouse of claim 11, wherein the timing for triggering the processing unit to execute the parameter auto-correction procedure further comprises:
when detecting that a computer connected with the optical mouse executes a parameter correction software, triggering the processing unit to execute the parameter automatic correction program.
19. The optical mouse of claim 11, wherein the timing for triggering the processing unit to execute the parameter auto-correction procedure further comprises:
when detecting that the use efficiency of the optical mouse is lower than a preset condition, the method is characterized in that the processing unit is triggered to execute the parameter automatic correction program;
and displaying a light-emitting signal on the optical mouse to indicate the optical mouse to execute the parameter automatic correction program.
20. The optical mouse of claim 11, wherein the characteristic information is at least one of a bar code, an icon, a mouse pad texture, and a mouse pad color.
CN201710188426.8A 2017-03-27 2017-03-27 Optical mouse and parameter correction method thereof Active CN108664146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710188426.8A CN108664146B (en) 2017-03-27 2017-03-27 Optical mouse and parameter correction method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710188426.8A CN108664146B (en) 2017-03-27 2017-03-27 Optical mouse and parameter correction method thereof

Publications (2)

Publication Number Publication Date
CN108664146A CN108664146A (en) 2018-10-16
CN108664146B true CN108664146B (en) 2021-08-06

Family

ID=63786069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710188426.8A Active CN108664146B (en) 2017-03-27 2017-03-27 Optical mouse and parameter correction method thereof

Country Status (1)

Country Link
CN (1) CN108664146B (en)

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2643394Y (en) * 2003-07-04 2004-09-22 昆盈企业股份有限公司 Illuminance adjustable optical pointer
TWI244044B (en) * 2003-09-26 2005-11-21 Sunplus Technology Co Ltd Method and device for controlling dynamic image capturing rate of an optical mouse
CN1303510C (en) * 2003-10-13 2007-03-07 凌阳科技股份有限公司 Method and device for controlling dynamic image retrieval rate of optical mouse
CN201348770Y (en) * 2009-01-22 2009-11-18 宝德科技股份有限公司 System with adjustable mouse light source and mouse thereof
CN201514620U (en) * 2009-05-15 2010-06-23 苏州达方电子有限公司 Mouse
CN103123536B (en) * 2011-11-21 2016-08-17 原相科技股份有限公司 Displacement detector and operational approach thereof
CN103135800B (en) * 2011-11-30 2016-01-20 原相科技股份有限公司 Optics finger navigation, mouse control module and physiological characteristic detection method thereof
CN103177174A (en) * 2011-12-26 2013-06-26 原相科技股份有限公司 Interactive type electronic device
TWI524220B (en) * 2012-03-01 2016-03-01 原相科技股份有限公司 Displacement detection device and operating methof thereof
TWI485449B (en) * 2012-06-13 2015-05-21 Pixart Imaging Inc Light guide module and optical detecting device thereof
CN103576909B (en) * 2012-08-02 2016-12-21 原相科技股份有限公司 Optical displacement detection device and method
CN103970300B (en) * 2013-01-29 2017-03-01 原相科技股份有限公司 Optical mouse apparatus and using optical mouse apparatus data compression method
TWI499941B (en) * 2013-01-30 2015-09-11 Pixart Imaging Inc Optical mouse apparatus and method used in optical mouse apparatus
CN103970304B (en) * 2013-02-05 2016-12-28 原相科技股份有限公司 Optical mouse apparatus and use method in optical mouse apparatus
TWI471767B (en) * 2013-03-26 2015-02-01 Pixart Imaging Inc Displacement detection device
US9329702B2 (en) * 2013-07-05 2016-05-03 Pixart Imaging Inc. Navigational device with adjustable tracking parameter
US9874943B2 (en) * 2015-01-15 2018-01-23 Pixart Imaging (Penang) Sdn. Bhd. Optical navigation device with enhanced tracking speed

Also Published As

Publication number Publication date
CN108664146A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US20180267626A1 (en) Optical mouse and parameter calibration method thereof
US20070164115A1 (en) Automatic exposure system for imaging-based bar code reader
JP4747065B2 (en) Image generation apparatus, image generation method, and image generation program
US8107706B2 (en) Information processing apparatus, information processing method, program, and electronic apparatus
JP6893092B2 (en) Optical information reader
CN107885350B (en) Navigation device with adjustable tracking parameters
US20080106636A1 (en) Camera and method in a camera
JP5988093B2 (en) Image processing apparatus, object identification apparatus, and program
US8615114B2 (en) Image reading apparatus and image reading method
JP2012002541A (en) Image processing device, image processing method, program, and electronic equipment
CN108664146B (en) Optical mouse and parameter correction method thereof
CN112689097B (en) Automatic brightness control method and system for line laser and storage medium
CN107295267A (en) Control the signal to noise ratio in the imaging of HDR auto-exposure control
CN108537106B (en) Fingerprint detection method and circuit thereof
CN104897181B (en) Optical encoder and operating method thereof
JP5573209B2 (en) Image processing apparatus, image processing method, program, and electronic apparatus
JP4226895B2 (en) Optical information reader
US7193203B1 (en) Method and device for tracking movement between a surface and an imager
JP4622992B2 (en) Optical information reader
JP2018136858A (en) Optical information reader
JP5183612B2 (en) Symbol recognition apparatus and control program therefor
JP3774797B2 (en) Barcode image detector
JP2019170540A (en) Biometric measurement device and program
WO2023176858A1 (en) Blood vessel determination device, blood vessel determination method, and blood vessel determination program
TWI669098B (en) Method for detecting heart rate and heart rate monitoring device using the same

Legal Events

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