1. An image processing apparatus, comprising: a line noise detection section for detecting line noise pixels included in input image data; a segmentation process section for determining at least a pixel in a text region of the input image data; and a line noise removal process section for (i) determining a replacement-target line noise pixel by excepting, from the line noise pixels, the pixel in the text region and a pixel within a first distance from the pixel in the text region and (ii) replacing the replacement-target line noise pixel with another pixel other than the line noise pixels, which another pixel is included in the input image data.