CPC H04N 17/002 (2013.01) [G01S 7/4814 (2013.01); G01S 7/4865 (2013.01); G01S 17/10 (2013.01); G01S 17/86 (2020.01); G06T 7/246 (2017.01); G06T 7/55 (2017.01); B60Q 9/00 (2013.01); G06T 2207/30252 (2013.01)] | 21 Claims |
1. A device comprising:
at least one processor; and
a memory coupled to the at least one processor storing instructions that, when executed by the at least one processor, cause the at least one processor to function as:
a first acquisition unit configured to acquire first distance information including an error via an optical system;
a second acquisition unit configured to acquire second distance information of which the error is less than that of the first distance information;
a generation unit configured to calculate a correction value for correcting first defocus amounts based on the difference between the first defocus amounts and second defocus amounts, wherein the first defocus amounts are used to obtain the first distance information and corresponds to the deviation in the optical axis direction between the sensor surface and the imaging surface, and the second defocus amounts are obtained from the second distance information; and
a correction unit configured to correct the first distance information using a corrected first defocus amounts using the correction value.
|