Patent ID: 8705858

Claim:
An image processing device for creating corrected image data by correcting object image data utilizing base image data, the image processing device comprising: a first determination unit configured to determine a first representative value which represents first pixels in the object image data, each of the first pixels having a hue within a particular range of hue, the first representative value being a coordinate value in a color space of an orthogonal coordinate system; a second determination unit configured to determine a second representative value which represents second pixels in the base image data, each of the second pixels having a hue within the particular range of hue, the second representative value being a coordinate value in the color space of an orthogonal coordinate system; and a correction unit configured to create the corrected image data by correcting the object image data such that a value of each particular pixel in the object image data approaches the second representative value, wherein the each particular pixel is included in a surrounding area of the first representative value, wherein the correction unit is configured to correct a value of a correction target pixel such that a correction amount becomes greater as a sum of a first distance and a second distance becomes smaller, the first distance being a distance between the first representative value and the value of the correction target pixel, and the second distance being a distance between the second representative value and the value of the correction target pixel, in a case where a coordinate value in the color space of the orthogonal coordinate system of a correction target pixel is identical to the first representative value, the correction unit is configured to correct the coordinate value in the color space of the orthogonal coordinate system of the correction target pixel into a first coordinate value that is between the first representative value and the second representative value, and in a case where the coordinate value in the color space of the orthogonal coordinate system of the correction target pixel is a second coordinate value that is between the first representative value and the second representative value, the correction unit is configured to correct the coordinate value in the color space of the orthogonal coordinate system of the correction target pixel into a third coordinate value that is between the first coordinate value and the second representative value.