Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

spacesXYZ-package

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 ΔE 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

CIE XYZ and some of Its Derived Color Spaces

v1.1-1
GPL (>= 3)
Authors
Glenn Davis [aut,cre]
Initial release
2020-03-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.