M-File Help: lambda2rg View code for lambda2rg

lambda2rg

RGB chromaticity coordinates

rgb = lambda2rg(lambda) is the rg-chromaticity coordinate (1x2) for illumination at the specific wavelength lambda [m]. If lambda is a vector (Nx1), then P (Nx2) is a vector whose elements are the chromaticity coordinates at the corresponding elements of lambda.

rgb = lambda2rg(lambda, E) is the rg-chromaticity coordinate (1x2) for an illumination spectrum E (Nx1) defined at corresponding wavelengths lambda (Nx1).

References

See also

cmfrgb, lambda2xy


 

© 1990-2012 Peter Corke.