1. An image processing apparatus for correcting a depth map corresponding to an image, comprising: a detection unit configured to detect an object included in the image; a determination unit configured to determine whether a size of the object detected by the detection unit is equal to or less than a threshold; and a correction unit configured to correct a distance in a target area which corresponds to an area of the object in the depth map, when the size of the detected object is equal to or less than the threshold.