Patent ID: 8270712

Claim:
An image processing device that transforms first image data of an image captured under an image-capturing condition into second image data that reproduce a color appearance under a viewing condition, comprising: an image data acquiring unit that acquires the first image data of the image captured under the image-capturing condition; a first transformation unit that transforms the acquired first image data into the second image data pixel by pixel based on the image-capturing condition and the viewing condition by a first method that takes into consideration chromatic adaptation; a second transformation unit that transforms the acquired first image data into the second image data pixel by pixel based on the image-capturing condition and the viewing condition by a second method that is simpler than the first method and takes into consideration chromatic adaptation; and a controlling unit that controls such that either the first transformation unit or the second transformation unit is selected depending on a state of a transformation target pixel or a neighborhood pixel neighboring the transformation target pixel in the first image data, wherein the controlling unit controls such that when a color of the transformation target pixel in the first image data is within a predetermined color gamut, the first transformation unit is selected, and when the color of the transformation target pixel in the first image data is not within the predetermined color gamut, the second color transformation unit is selected, and the predetermined color gamut includes a predetermined range of luminance or a predetermined range of hue.