1. A system for generating a color correction matrix (CCM) for an image sensor, comprising: a quantum efficiency (QE) measurement device constructed to generate QE spectra of the image sensor illuminated by a physical light source; a unit configured to compute color values and generate color values for the image sensor and ideal color values according to the generated QE spectra and predetermined reference data essential for deriving the color values; and a fitting unit arranged to generate the CCM for the image sensor; wherein the predetermined reference data include one or more of acquired predetermined color matching function (CMF), acquired power spectral density (PSD) of illumination and acquired reflectance spectra of predetermined color patches; and wherein the computing unit is configured to perform the following: determining CMF of the image sensor according to the QE spectra; acquiring the predetermined CMF; acquiring the PSD of illumination; determining white balanced CMF according to the PSD of illumination and the CMF of the image sensor; determining white balanced predetermined CMF according to the PSD of illumination and, the predetermined CMF; determining reflected light PSD from color patches according to the PSD of illumination and the acquired reflectance spectra of predetermined color patches; determining the color values of the image sensor according to the reflected light PSD from color patches and the white balanced CMF; and determining the color values in a predetermined color space according to the reflected light PSD from color patches and the white balanced predetermined CMF.