1. An image processing apparatus comprising: a restore unit which performs blur restoration for image data obtained by an image capture unit which photo-electrically converts light from an object which has entered through an imaging lens; a setting unit which sets a range of object distances at which the blur restoration is performed, based on information associated with the imaging lens and an object distance of an object in the image data; wherein said restore unit performs deconvolution processing as blur restoration for the image data in the range of object distances.