Patent ID: 11909942
Assignee: CANON KABUSHIKI KAISHA
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 0:
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.