Patent ID: 8817039

Claim:
An image processing device, comprising: an RGB data converter configured to perform predetermined conversion processing to first RGB data to generate second RGB data, the first RGB data being externally supplied image data in an RGB colorimetric system; a weighting factor calculator configured to convert the first RGB data into XYZ data and to calculate a weighting factor based on the XYZ data, the XYZ data being data in an XYZ colorimetric system, the weighting factor being used for performing weighting processing to the first RGB data and the second RGB data; a first weighting processor configured to perform weighting processing to the first RGB data by multiplying the first RGB data by a first factor obtained based on the weighting factor; a second weighting processor configured to perform weighting processing to the second RGB data by multiplying the second RGB data by a second factor obtained based on the weighting factor, the second factor increasing and decreasing in an manner opposite to the first factor; and an output adder configured to generate RGB data for output to be supplied to an external output device by adding data obtained through the weighting processing by first weighting processor and data obtained through the weighting processing by the second weighting processor, wherein the weighting factor calculator: obtains a first coordinate, a second coordinate, and a third coordinate for data of each pixel included in the XYZ data, on one of an xy chromaticity diagram and a uv chromaticity diagram, and calculates the weighting factor based on a positional relation among the first coordinate, the second coordinate, and the third coordinate, the first coordinate being a chromaticity coordinate of the corresponding pixel data, the second coordinate being a chromaticity coordinate of an intersection point between a weighting factor calculation line, that is a straight line passing a predetermined reference coordinate and the first coordinate, and a line indicating a color reproduction range obtained by the XYZ data, the third coordinate being a chromaticity coordinate of an intersection point between a boundary line that includes at least three points and defines a closed region and the weighting factor calculation line, and determines a value of the weighting factor such that a value of the first factor is 0, when the first coordinate is within the boundary line.