Patent ID: 8638468

Claim:
An image processing apparatus comprising: a reception unit that receives an image; a determination unit that determines a deviation direction of a pixel value of pixels in the image received by the reception unit; and a processing unit that performs processing on the image received by the reception unit based on the deviation direction determined by the determination unit, wherein the determination unit scans a pixel group having a predetermined number of pixels in the image received by the reception unit, and based on pixel values of peripheral pixels of a pixel of interest in the pixel group, determines the deviation direction of the pixel value of the pixel, and wherein the determination unit divides the pixel group into a plurality of unit pixel groups in correspondence with positions with respect to the pixel of interest, and determines a position of a unit pixel group, having a maximum sum of pixel values of pixels forming the unit pixel group among the all divided unit pixel groups, as the deviation direction of the pixel value of the pixel.