US 12,340,033 B2
Pointer positioning method and apparatus, and instrument
Qian Ha, Beijing (CN)
Assigned to BOE Technology Group Co., Ltd., Beijing (CN)
Appl. No. 17/628,162
Filed by BOE Technology Group Co., Ltd., Beijing (CN)
PCT Filed Mar. 26, 2021, PCT No. PCT/CN2021/083331
§ 371(c)(1), (2) Date Jan. 18, 2022,
PCT Pub. No. WO2021/190640, PCT Pub. Date Sep. 30, 2021.
Claims priority of application No. 202010232222.1 (CN), filed on Mar. 27, 2020.
Prior Publication US 2024/0036658 A1, Feb. 1, 2024
Int. Cl. G06F 3/04812 (2022.01); G06F 3/03 (2006.01); G06F 3/04815 (2022.01); G06F 3/0484 (2022.01); G06F 3/0488 (2022.01); G06T 11/00 (2006.01)
CPC G06F 3/0312 (2013.01) [G06F 3/04812 (2013.01); G06F 3/04815 (2013.01); G06F 3/0484 (2013.01); G06F 3/0488 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A pointer positioning method, wherein the method comprises:
on the condition that a virtual pointer rotates in a first dial image at a first preset angle, detecting quantities of first pixel points corresponding to a plurality of first rotation positions;
according to the quantities of the first pixel points corresponding to the plurality of first rotation positions, determining a first target position where the virtual pointer is located;
according to the first target position, determining a target angle value between a target pointer in an instrument dial corresponding to the first dial image and a reference position; and
according to the target angle value, searching a target scale value corresponding to the target pointer from a corresponding relationship between preset angle values and scale values;
wherein the first preset angle is larger than a preset threshold, and the step of according to the first target position, determining the target angle value between the target pointer in the instrument dial corresponding to the first dial image and the reference position comprises:
according to the first target position, determining a rotation range of the virtual pointer in the first dial image;
on the condition that the virtual pointer rotates in the rotation range at a second preset angle, detecting quantities of second pixel points corresponding to a plurality of second rotation positions;
according to the quantities of the second pixel points corresponding to the plurality of second rotation positions, determining a second target position where the virtual pointer is located; and
according to the second target position, determining the target angle value between the target pointer in the instrument dial corresponding to the first dial image and the reference position.