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.