1. An image processing apparatus comprising: an acquisition unit configured to acquire an image including a plurality of subject areas and distance information corresponding to the plurality of subject areas; and a generation unit configured to generate a shifted image in which positions of the plurality of subject areas are shifted in the image based on the distance information, wherein the generation unit combines an index indicative of at least one of a focus position and a depth of field in an image acquired by the acquisition unit with the shifted image.