摘要 |
PROBLEM TO BE SOLVED: To definitely acquire distance to a subject at each part of a photographed image.SOLUTION: A distance information acquisition method comprises: when a photometric switch S1 is turned on (S100), storing a through image at each of a plurality of positions in a memory while driving lenses to focus on the positions (S102); focusing on an in-focus position obtained by auto focus processing (S104); when a release switch S2 is turned on, capturing a primary image at the in-focus position; acquiring distance information to a subject in the plurality of stored through images to create a distance map and subjecting the distance map to filtering for noise removal to a degree corresponding to a degree of camera shake (S114); creating a mask on the basis of the distance map after filtering (S116); and applying defocusing processing corresponding to the distance to the subject (S118).SELECTED DRAWING: Figure 2 |