Patent ID: 9547217
Date: 2017-01-17
CPC Classifications: G02B,G03B,H04N

Claim:
1. An imaging device, comprising: an imaging element which images a subject by an imaging optical system including a focus lens, wherein the imaging element includes a plurality of imaging pixels and a plurality of phase difference detecting pixels which receives luminous fluxes which have passed through different parts of a pupil area of the imaging optical system; and at least one processor configured to function as: a calculating unit which calculates numerical information corresponding to a defocus amount using an image signal obtained by imaging by the plurality of phase difference detecting pixels whenever the imaging is performed by the imaging element; a difference calculating unit which calculates with respect to at least three times of imaging which is continuously performed, a difference between the numerical information obtained by arbitrary imaging of the at least three times of imaging and the numerical information obtained by the imaging which is continuously performed after the arbitrary imaging; and a control unit which moves the focus lens to a focus position using the numerical information obtained by the calculating unit when a variance of the plurality of differences obtained by the difference calculating unit is smaller than a threshold value and controls a position of the focus lens not to be changed when the variance is equal to or larger than the threshold value.