主权项 |
1. A depth detection apparatus for detecting depth information on an object, based on a first signal corresponding to a luminous flux that has passed through a first pupil region of an exit pupil of an imaging optical system, and a second signal corresponding to a luminous flux that has passed through a second pupil region, which is different from the first pupil region,
the depth detection apparatus comprising: a shift amount acquisition unit configured to acquire a provisional image shift amount, which is an amount of positional shift between the first signal and the second signal; a filter processing unit configured to perform filter processing on one or both of the first signal and the second signal using a filter, wherein the filter is generated based on the provisional image shift amount; and a depth deriving unit configured to derive the depth information on an object, based on a positional shift amount between the filtered first signal and the filtered second signal, a positional shift amount between the filtered first signal and the unfiltered second signal, or a positional shift amount between the unfiltered first signal and the filtered second signal, wherein a phase term of the filter is a function generated by multiplying a second function by a coefficient, the second function being generated based on a phase transfer function corresponding to the first pupil region or the second pupil region and on the provisional image shift amount, and the coefficient being a real number greater than 0 and smaller than 1. |