Patent ID: 8427550

Claim:
An image processing device comprising: a gain value acquisition section which acquires a gain value obtained by an automatic white balance process executed on image data to be processed; a color matrix coefficient generation section which, based on the gain value acquired by the gain value acquisition section, determines a 3×3 matrix including 9 correction color matrix coefficients and having a property of correcting a change in an appearance caused by a color temperature corresponding to the gain value; and a color matrix section which, based on the 9 correction color matrix coefficients, performs a color adjustment on the image data obtained by the automatic white balance process, wherein the color matrix coefficient generation section gradually changes 4 correction color matrix coefficients included in the 3×3 matrix, the image data to be processed is data relating to red, green, and blue, the 4 correction color matrix coefficients comprise a first correction color matrix coefficient and a second correction color matrix coefficient, and the color matrix generation section determines the first correction color matrix coefficient by determining a product of a first function having a ratio of a red gain value to a blue gain value as a parameter of the first function and a preset color coefficient for red, and determines the second correction color matrix coefficient by determining a product of a second function having the ratio as a parameter of the second function and a preset color coefficient for blue.