1. An image processing apparatus comprising: an acquisition unit configured to acquire an image generated by image pickup through an optical system; and a processor configured to provide unsharp mask processing to the image by using a filter generated based on information of a point spread function of the optical system corresponding to an image-pickup condition of the optical system, wherein the filter has two-dimensional data.