1. An image processing apparatus configured to apply correction processing to image data having sharpness varying depending on an alignment direction of pixels, comprising: a detection unit configured to detect a feature quantity in an edge direction of the image data; and a setting unit configured to set an intensity of the correction processing based on correction intensity which is predetermined based on the sharpness varying depending on the alignment direction of the pixels, according to the feature quantity in the edge direction of the image data detected by the detection unit.