Patent ID: 7999978

Claim:
A matrix coefficient determining method for an image input apparatus having a signal processing system including a white balance correction unit, a linear matrix conversion unit which converts R, G, and B color signals from the white balance correction unit by using a 3×3 linear matrix coefficient, a circuit which performs gamma correction and pixel interpolation calculation for the R, G, and B signals from the linear matrix conversion unit, a YC conversion unit which converts the R, G, and B signals from the circuit into luminance signal (Y) and color difference signal (Cr, Cb), and a color-difference matrix conversion unit which converts color-difference signals Cr, Cb from the YC conversion unit by using a 2×2 color-difference matrix coefficient, the method comprising the steps of: (a) determining a target value of a color to be corrected in a uniform color space, on the basis of a given spectral reflectance, spectral radiance, and color matching function; (b) obtaining R, G, and B RAW data by capturing an image of a color patch of the color to be corrected, under a light source of a type associated with the given spectral radiance; (c) performing signal processing of the obtained RAW data by the signal processing system to obtain a luminance signal and a color-difference signal which passed through a correction by the white balance correction unit, a conversion by the linear matrix conversion unit, a gamma correction and pixel interpolation calculation by the circuit, and a conversion by the YC conversion unit; (d) obtaining coordinates in the uniform color space that correspond to the luminance signal and the color-difference signal; (e) obtaining a distance between the target value and the coordinates in the uniform color space; and (f) simultaneously optimizing a 3×3 linear matrix coefficient performing color correction for the image data before undergoing the gamma correction and a 2×2 color-difference matrix coefficient performing color correction for the image data after undergoing the gamma correction, for the type of light source on the basis of the distance between the target value and the coordinates in the uniform color space that are obtained by repeating steps (a) to (e) for each of a plurality of colors to be corrected.