This package covers the basic CIE 1931 space, and derived spaces CIE xyY, Lab, and Luv. The equations are taken from Bruce Lindbloom's CIE Color Calculator. Color areas that are *not* covered are:
spectral color data
device color spaces, e.g. RGB and CMYK
color order systems, e.g. Munsell, DIN, NCS, Ostwald, ...
The API is small. There are functions to
convert between CIE XYZ and other CIE spaces
create and perform some standard chromatic adaptation transforms (CATs)
compute 3 standard color difference \(\Delta\)E metrics
retrieve XYZ and xy of some standard illuminants
Package colorscience is a superset of this one.
Package colorspace has similar functionality, and is much faster because it in compiled C.
Package grDevices also has similar functionality
(in the function convertColor()
),
but is missing chromaticities xy, uv, and u'v'.
Glenn Davis <gdavis@gluonics.com>
Lindbloom, Bruce. CIE Color Calculator. http://brucelindbloom.com/index.html?ColorCalculator.html
Lindbloom, Bruce. Color Difference Calculator. http://brucelindbloom.com/index.html?ColorDifferenceCalc.html