US 12,379,499 B2
Distance measurement device using two algorithms
Guo-Zhen Wang, Hsin-Chu County (TW)
Assigned to PIXART IMAGING INC., Hsin-Chu County (TW)
Filed by PIXART IMAGING INC., Hsin-Chu (TW)
Filed on Jun. 22, 2022, as Appl. No. 17/846,496.
Claims priority of provisional application 63/222,455, filed on Jul. 16, 2021.
Prior Publication US 2023/0018006 A1, Jan. 19, 2023
Int. Cl. G01S 17/48 (2006.01); G01S 7/48 (2006.01)
CPC G01S 17/48 (2013.01) [G01S 7/4808 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A distance measurement device, comprising:
a light source, configured to project a linear light section toward a moving direction;
an image sensor, configured to capture an image frame containing an image of the linear light section; and
a processor, configured to
calculate a gravity center of the image of the linear light section in the image frame,
use a first algorithm to calculate a first object depth upon the gravity center being smaller than a position threshold, and
use a second algorithm to calculate a second object depth upon the gravity center being larger than the position threshold, wherein
in the first algorithm, the first object depth is calculated according to a relationship between gravity centers and a reciprocal of depths, as well as a linear interpolation method, and
in the second algorithm, the second object depth is calculated according to a relationship between gravity centers and depths, as well as a linear extrapolation method.