1. An image processing apparatus comprising: a processor; and a memory storing a program which, when executed by the processor, causes the image processing apparatus to: acquire a plurality of images having different depths of field for an object; designate an area of the object in response to designation by a user; select, from the plurality of images, at least two candidate images having the depths of field which include an object distance of the designated area; present the candidate images on a display unit; select at least one image from the candidate images in response to designation by the user; and record the selected candidate image on a storage medium.