1. An image processing apparatus that receives image data as first image data, applies edge enhancement to the first image data to obtain a second image data, and corrects a pixel value of a target pixel in the second image data, the image processing apparatus comprising: a target-area setting unit that sets, in the first image data, a target area around a pixel corresponding to the target pixel; and a pixel-value correcting unit that corrects the pixel value of the target pixel based on pixel values of pixels in the target area.