cmfrgb
RGB color matching function
The color matching function is the RGB tristimulus required to match a
particular spectral excitation.
rgb = cmfrgb(lambda) is the CIE color matching function (Nx3) for illumination
at wavelength lambda (Nx1) [m]. If lambda is a vector then each row of rgb
is the color matching function of the corresponding element of lambda.
rgb = cmfrgb(lambda, E) is the CIE color matching (1x3) function for an
illumination spectrum E (Nx1) defined at corresponding wavelengths
lambda (Nx1).
Notes
- Data from http://cvrl.ioo.ucl.ac.uk
- From Table I(5.5.3) of Wyszecki & Stiles (1982). (Table 1(5.5.3)
of Wyszecki & Stiles (1982) gives the Stiles & Burch functions in
250 cm-1 steps, while Table I(5.5.3) of Wyszecki & Stiles (1982)
gives them in interpolated 1 nm steps.)
- The Stiles & Burch 2-deg CMFs are based on measurements made on
10 observers. The data are referred to as pilot data, but probably
represent the best estimate of the 2 deg CMFs, since, unlike the CIE
2 deg functions (which were reconstructed from chromaticity data),
they were measured directly.
- These CMFs differ slightly from those of Stiles & Burch (1955). As
noted in footnote a on p. 335 of Table 1(5.5.3) of Wyszecki &
Stiles (1982), the CMFs have been "corrected in accordance with
instructions given by Stiles & Burch (1959)" and renormalized to
primaries at 15500 (645.16), 19000 (526.32), and 22500 (444.44) cm-1
References
- Robotics, Vision & Control, Section 10.2,
P. Corke, Springer 2011.
See also
cmfxyz, ccxyz
© 1990-2012 Peter Corke.