摘要 |
An imaging device including an optical system, an imaging element (260), a lens-position control unit (340) and a focus control unit (330), wherein the focus control unit (330) includes: a block setting unit (331); a contrast-value calculation unit (332) for calculating block-contrast-value information; a contrast-value saving unit (333) for saving the block-contrast-value information for a reference image; a characteristic calculation unit (334); a valid-block determination unit (335) for obtaining valid-block information; a valid-block-information saving unit (336) for saving the valid-block information for the reference image; an AF-region setting unit (337) for setting the AF region on the basis of the reference image and the valid-block information of an input image; and a contrast-value determination unit (338) for determining the image contrast value on the basis of the AF region. |