摘要 |
An image processing method of a optical navigator includes the steps of: capturing a first image and calculating an average brightness of the first image; determining whether the average brightness is between a first threshold value and a second threshold value; when the average brightness is between the first and second threshold values, determining whether the first image is attenuated by an attenuation value; when the first image is not attenuated by the attenuation value, updating the attenuation value and a gain; attenuating the first image with the updated attenuation value and amplifying the attenuated first image with the gain; and comparing the attenuated and amplified first image with a reference image to obtain a displacement. The present invention further provides an optical navigator.
|