Image adjusting method and optical navigating apparatus utilizing the image adjusting method
AssigneePixart Imaging Inc.
InventorTzu-Yu Chen
Life of this patent
Estimating the term…
Abstract
A computer readable recording media, having at least one program code recorded thereon, an image adjusting method can be performed when the program code is read and executed. The image adjusting method comprises: catching a current image; computing at least one kind of brightness information of the current image; respectively setting corresponding threshold values to different kinds of the brightness information; and determining if a contrast enhancing operation should be performed to the current image to generate an adjusted image according to a number that the brightness information is over the threshold value.
Claims22
A computer readable recording media, having at least one program code recorded thereon, an image adjusting method can be performed when the program code is read and executed, wherein the image adjusting method comprises:
- (a) catching a current image;
- (b) computing at least one kind of brightness information of the current image;
- (c) respectively setting corresponding threshold values to different kinds of the brightness information;
- and
- (d) determining if a contrast enhancing operation should be performed to the current image to generate an adjusted image according to a number that the brightness information is over the threshold value.
An optical navigating apparatus, comprising:
- at least one light source, for emitting light to an object;
- an image sensor, for catching a current image that is generated via the object and the light;
- and
- a displacement detecting module, for computing at least one kind of brightness information of the current image, for respectively setting corresponding threshold values to different kinds of the brightness information, and for determining if a contrast enhancing operation should be performed to the current image to generate an adjusted image according to a number that the brightness information is over the threshold value;
- wherein the displacement detecting module determines if displacement exists between the object and the optical navigating apparatus according to the adjusted image if the displacement detecting module performs the contrast enhancing operation;
- wherein the displacement detecting module determines if displacement exists between the object and the optical navigating apparatus according to the current image if the displacement detecting module does not perform the contrast enhancing operation.
Dependencies are inferred from the claim text.