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.