Patent ID: 8081831

Claim:
An image processor comprising: a decimal point position determining unit that determines a position of a decimal point based on a size of a mask that has a plurality of filter coefficients; an image inputting unit that receives image data indicative of an image having a plurality of pixels, the image data including a pixel value for each pixel; and a calculating unit that performs, while setting a decimal point to be fixed at the determined position, a convolution operation on a pixel value of each pixel and pixel values of peripheral pixels for the each pixel by using the filter coefficients of the mask to find an average peripheral pixel value for the each pixel, wherein the calculating unit includes a storage area storing a calculated result calculated by the calculating unit, the storage area being capable of storing data of a predetermined number of bits and having a predetermined bit location therein, wherein the decimal point position determining unit determines a shift amount based on the size of the mask, and determines the decimal point at a position in the storage area that is shifted from the predetermined bit location by the determined shift amount.