CPC G06F 3/0321 (2013.01) [G06F 3/03543 (2013.01); H04N 23/71 (2023.01)] | 8 Claims |
1. A non-transitory computer readable recording medium, comprising at least one program stored therein, an optical navigation device control method is performed when the program is executed, the optical navigation device control method comprising:
(a) computing brightness contrast information of original images captured by an image sensor of an optical navigation device;
(b) computing brightness variation levels of the original images;
(c) improving image qualities of the original images based on the brightness contrast information and the brightness variation levels, to generate adjusted images; and
(d) computing movements of the optical navigation device based on displacement between the adjusted images;
wherein the optical navigation device is located on a surface,
wherein the step (d) comprises:
collecting reference images of different parts of the surface for a plurality of combinations of moving directions of the optical navigation device and placement directions of the surface; and
determining a type of the surface via comparing images of a current surface with the reference images.
|