Patent attributes
An image processing apparatus includes an image obtaining unit configured to obtain a plurality of images, which are images of the same subject captured from different viewpoints; an image offset correction unit configured to modify the plurality of images obtained by the image obtaining unit on the basis of parameters for correcting image offset and generate a correction image for each of the obtained images; an evaluation value calculation unit configured to calculate, as an evaluation value, an integration value, for an entire screen, of an error amount indicating a degree at which association in a parallax direction among the plurality of correction images generated by the image offset correction unit is not possible; and an update unit configured to change a parameter that is necessary for association in the parallax direction among the parameters so as to update the parameter so that the evaluation value becomes a minimum.