Patent ID: 8767262

Claim:
An image processing device comprising: an input portion configured to input image data expanded from compressed image data, the image data representing an image having a plurality of pixels, the image data including a plurality of sets of pixel data corresponding the plurality of pixels, each of the plurality of sets of pixel data including a color difference component and a luminance component; and a processor configured to perform: (a) setting, as target pixel data, each set of pixel data from among the plurality of sets of pixel data; (b) selecting, from among the plurality of sets of pixel data, a plurality of first sets of pixel data corresponding to a plurality of first pixels positioned within a prescribed range of the image, the prescribed range including a pixel corresponding to the target pixel data; (c) determining whether the plurality of first sets of pixel data represents a white background having a density lower than a prescribed density by at least one luminance component of the plurality of first sets of pixel data; (d) determining whether a variation in color difference components among the plurality of first sets of pixel data satisfies a prescribed condition; and (e) determining that target pixel data includes mosquito noise when the plurality of first sets of pixel data represents the white background and when the variation in the color difference component among the plurality of first sets of pixel data satisfies the prescribed condition.