M-File Help: cmfrgb View code for cmfrgb

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

References

See also

cmfxyz, ccxyz


 

© 1990-2012 Peter Corke.