1. An apparatus comprising at least one processor which functions as: an acquisition unit configured to acquire a low frequency component of a luminance component of an image; a correction unit configured to correct a luminance component of the image using the acquired low frequency component; a determination unit configured to determine a level correction amount of pixels of the corrected image using a value obtained from a frequency distribution of the image corrected by the correction unit and a luminance component of pixels of the image corrected by the correction unit; and a level correction unit configured to perform level correction on the corrected image using the determined level correction amount.