1. An image processing apparatus, comprising: a determination part that determines whether or not an image includes an area where destruction of gradation due to contrast correction tends to be conspicuous; an information obtaining part that obtains information of the area when said determination part determines that the image includes the area where the destruction of gradation due to the contrast correction tends to be conspicuous; a dynamic range setting part that sets a dynamic range using the information obtained by said information, obtaining part; and a processing part that performs the contrast correction on the image using the dynamic range set by said dynamic range setting part.