Patent ID: 8773509

Claim:
An imaging device comprising: an imaging unit configured to photoelectrically convert subject images formed via a first optical system and a second optical system respectively, by an imaging element, and output a first viewpoint image and a second viewpoint image; a setting unit configured to set coordinates of the center of an automatic focusing (AF) evaluation value calculation region of the first viewpoint image, said AF evaluation value calculation region being used for automatic focusing for said first viewpoint image; a parallax amount calculation unit configured to calculate an amount of parallax of corresponding subjects between the first viewpoint image and the second viewpoint image based on a parallax vector connecting a point associated with a subject in the first viewpoint image, the point being detected in the AF evaluation value calculation region of the first viewpoint image whose coordinates of the center have been set by the setting unit and a corresponding point associated with a corresponding subject in the second viewpoint image, wherein said corresponding point in the second viewpoint image corresponds to the point in the first viewpoint image; a determination unit configured to determine coordinates of the center of an automatic focusing (AF) evaluation value calculation region of the second viewpoint image, based on the coordinates of the center of the AF evaluation value calculation region of the first viewpoint image set by the setting unit and the amount of parallax calculated by the parallax amount calculation unit, said AF evaluation value calculation region of the second viewpoint image being used for automatic focusing for said second viewpoint image; and a control unit configured to adjust an imaging condition of the first optical system based on image data in the AF evaluation value calculation region of the first viewpoint image, for focusing said first viewpoint image, adjust an imaging condition of the second optical system based on image data in the AF evaluation value calculation region of the second viewpoint image, for focusing said second viewpoint image, and control the imaging unit to output the first viewpoint image and the second viewpoint image under the respective adjusted imaging conditions for the first and second optical systems.