Patent ID: 8565548

Claim:
An image processing apparatus for performing anti-aliasing on input image data, comprising: a viewing window which includes a focused pixel; a viewing window setting section which sets the viewing window in a predetermined size; an edge determination section which extracts a plurality of combinations of two predetermined adjacent pixels in the viewing window set by the viewing window setting section, calculates a difference between input pixel values of the two extracted pixels for each combination, and performs edge determination according to whether the difference is equal to or more than a threshold value for each combination; a template selection section which specifies a matching template from a plurality of templates and outputs template data on a basis of a combination of determination results obtained by the edge determination section; and a pixel value calculation section which outputs an output pixel value of the focused pixel by carrying out a weighted addition of an input pixel value of the focused pixel and an input pixel value of a predetermined neighboring pixel which is adjacent to the focused pixel on a basis of the template data input from the template selection section.