US 11,909,942 B2
Parallax detecting apparatus, image capturing apparatus, parallax detecting method, and storage medium
Shin Tanaka, Kanagawa (JP)
Assigned to Canon Kabushiki Kaisha, Tokyo (JP)
Filed by CANON KABUSHIKI KAISHA, Tokyo (JP)
Filed on Oct. 28, 2020, as Appl. No. 17/082,321.
Claims priority of application No. 2019-204117 (JP), filed on Nov. 11, 2019.
Prior Publication US 2021/0140765 A1, May 13, 2021
Int. Cl. G01C 3/08 (2006.01); H04N 13/232 (2018.01); H04N 23/63 (2023.01)
CPC H04N 13/232 (2018.05) [G01C 3/085 (2013.01); H04N 23/63 (2023.01)] 20 Claims
OG exemplary drawing
 
1. A parallax detecting apparatus comprising at least one processor and/or at least one circuit which functions as:
a first obtainment unit configured to obtain a first viewpoint image and a second viewpoint image that have different viewpoints from each other in a first direction;
a second obtainment unit configured to obtain displacement information that specifies a displacement amount in a second direction between positions in the first viewpoint image and the second viewpoint image corresponding to a same position in a shooting range, wherein the displacement amount varies in conformity with a parallax amount in the first direction between the positions, the parallax amount being in conformity with a defocus amount, and wherein the second direction is perpendicular to the first direction;
a selection unit configured to select, in the first viewpoint image, a base region corresponding to a base position of parallax amount detection;
a calculation unit configured to perform correlation calculation processing with respect to each of a plurality of reference regions corresponding to a plurality of reference positions in the second viewpoint image, wherein the correlation calculation processing includes first correction processing and calculation processing, wherein the first correction processing corrects at least one of a position of the base region in the second direction and a position of the reference region in the second direction based on the displacement information so as to reduce a displacement that occurs between the base position and the reference position in the second direction and that is in conformity with a parallax amount in the first direction between the base position and the reference position, and wherein the calculation processing calculates a correlation between the base region and the reference region that reflect the first correction processing; and
a detection unit configured to detect a parallax amount in the first direction at the base position based on each correlation between the base region and each of the plurality of reference regions.