spacesXYZ-package: CIE XYZ and some of Its Derived Color Spaces

spacesXYZ-packageR Documentation

CIE XYZ and some of Its Derived Color Spaces

Description

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

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 \DeltaE metrics

  • retrieve XYZ and xy of some standard illuminants

Other Packages

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'.

Author(s)

Glenn Davis <gdavis@gluonics.com>

References

Lindbloom, Bruce. CIE Color Calculator. http://brucelindbloom.com/index.html?ColorCalculator.html

Lindbloom, Bruce. Color Difference Calculator. http://brucelindbloom.com/index.html?ColorDifferenceCalc.html


spacesXYZ documentation built on May 29, 2024, 6:33 a.m.