CPC H04L 25/4902 (2013.01) [G06F 3/0312 (2013.01); G06F 3/0362 (2013.01); G06F 3/038 (2013.01); G06V 10/145 (2022.01); G06V 10/225 (2022.01); G06V 10/44 (2022.01); G06V 10/60 (2022.01); G06V 10/751 (2022.01); G06V 10/955 (2022.01); G06V 30/2247 (2022.01); G06V 10/245 (2022.01); H04N 23/56 (2023.01)] | 20 Claims |
1. An optical encoder, comprising:
a light emitter, having a contact point and configured to emit light to a movable surface;
a light sensing matrix, having a plurality of pixels and configured to detect reflected light from the movable surface to generate detected signals; and
a processing unit, coupled to the contact point of the light emitter, and configured to
store reference data corresponding to at least one reference position in a registration mode according to the detected signals,
generate comparison image data according to the detected signals in a comparison mode and compare the comparison image data with the reference data to determine a current position, and
update at least a part of the reference data in the comparison mode according to a difference value between the comparison image data and the reference data.
|