An apparatus for determining a type of an illuminant including a spectrum diffraction
unit and a sensor coupled to the spectrum diffraction unit. An illuminant discrimination
unit is coupled to the sensor and configured to receive a set of signals representative
of a set of spectral components in the illuminant and to determine the type.