An image processing apparatus includes a calculation to calculate a compression gain that is applied to a low-frequency component of an input image and an amplification gain that is applied to a high-frequency component of the input image, a generation to generate a display image in which a pixel value of a pixel of the input image is corrected based on the compression gain and the amplification gain calculated by the calculation unit, and a display to display the display image.