Patent ID: 7538814

Claim:
An image capturing apparatus comprising: an image capturing module for capturing an image, said image capturing module comprising an optical system that varies a focal length which is a distance from the image capturing apparatus to a focused object; a display module for displaying the captured image captured by said image capturing module; a main object selecting module for selecting a main object in the captured image, said main object selecting module comprising: a repeatedly capturing module for capturing the image repeatedly while said optical system varies the focal length; a focal length acquiring module for acquiring a focal length at which a best focused image can be taken for each region comprised in the image on the basis of the image captured by said repeatedly capturing module; a main object distance acquiring module for acquiring a main object distance, which is a distance to the main object, on the basis of each focal length of each region acquired by said focal length acquiring module; and a region selecting module for selecting a region apart by the main object distance in the image; and a frame display module for displaying a frame, which surrounds the main object, over the captured image on the display module, said frame surrounding the region selected by said region selecting module; wherein said main object distance acquiring module acquires a focal length for which a value of a sum multiplied by a distance weight of each focal length is the biggest as the main object distance, the sum having a value of a sum of areas of regions having the same focal lengths multiplied by predetermined weights of regions, respectively.