Assume that two images of the same scene, taken under different
conditions are given. One of the images is chosen as the
reference image and the task is to determine the chromatic
relation between the reference and a second, test image.
This relation is quantified by the relative illuminant which
is postulated as being homogeneous over the entire scene,
.Let the spectrum corresponding to a pixel at
a location
in the reference image be
, and
the spectrum of the same pixel in the test image
be
, where
is the radiation wavelength.
As will be shown below, there is no need to register the pixels in the
two images!
We will also assume that there is no systematic (global) change in the image formation geometry. This assumption can also be relaxed due to the statistical nature of the technique. Then, the above defined quantities are connected by the relation
![]() |
(1) |
![]() |
(2) |
let
be the eigenvectors of
the log-spectra from the combined NCS/Munsell color appearance system.
The Karhunen-Loeve expansions of the three spectra are



![]() |
(3) |
are related to the K-L coefficients
of the pixel in the reference image
by a constant, global shift parameter
.The equation (3) connects the colors of a matched pixel pair, and therefore have no practical value. However, when the relation is considered for a large set of pixels randomly chosen from the two images it reveals an important property. The distributions of the log-spectral coefficients of the test and reference images are related by constant shifts. These shift parameters provide the representation of the relative illuminant in the log-spectral space. Note that the relative illuminant can also be used as a global index for a single image. In this case, instead of the distributions derived from the reference image, the ones generated from the complete Munsell/NCS system are used. The relative illuminant provides a description of the image in the color appearance space.
The general algorithm to determine the relative illuminant is then:
,
,by subtracting the mode estimates (3).
.