Patent ID: 7916937

Claim:
An image processing device which performs image processing to an image represented by a plurality of color component planes, the image processing device comprising: a correction unit which corrects a color shift in the image; and an erroneous correction detection unit which judges whether the correction unit has made an erroneous correction by comparing the images before and after the correction by the correction unit, wherein the erroneous correction detection unit judges the erroneous correction when a chrominance of a portion to be processed of the image after the correction is not within an allowable range which is set using the image before the correction as a reference, the erroneous correction detection unit calculates minimum and maximum values of a group of chrominances to set lower and upper limits of the allowable range, respectively, the group of chrominances includes chrominances of the image before the correction within a local region and predetermined chrominances representing low chroma, and the local region includes the portion to be processed, and the erroneous correction detection unit sets a maximum value among 0, Cr, and Cr′ as the upper limit of the allowable range and sets a minimum value among 0, Cr, and Cr′ as the lower limit of the allowable range, wherein Cr and Cr′ are chrominances of the image before the correction within the local region, and 0 is a predetermined chrominance representing low chroma; wherein the correction unit and the erroneous correction detection unit include a processor.