CPC H04N 23/67 (2023.01) [G06T 5/006 (2013.01); G02B 7/34 (2013.01); G06T 2207/10148 (2013.01)] | 20 Claims |
1. A focus detection device comprising:
one or more processors that execute a program stored in a memory and thereby function as:
a generation unit that generates a first focus detection signal and a second focus detection signal based on a signal obtained from an image sensor;
a first calculation unit that calculates a shift amount between the first focus detection signal and the second focus detection signal;
a second calculation unit that calculates a conversion coefficient for converting the shift amount into a defocus amount of an imaging optical system; and
a detection unit that detects the defocus amount by applying the conversion coefficient to the shift amount,
wherein the second calculation unit calculates the conversion coefficient based on at least one of a pupil eccentricity amount and an incident pupil distance, and
wherein the pupil eccentricity amount and the incident pupil distance have values based on stored values having different values corresponding to coordinates in two or more of four quadrants of a pixel region of the image sensor.
|