Learn R Programming

⚠️There's a newer version (1.5-1) of this package.Take me there.

spacesXYZ

Possible future work:

  • Add some non-linear Chromatic Adaptation Transform (CAT) methods.
  • The CIE 1976 color difference metric certainly satisfies the triangle inequality, but what about the other metrics ? Write a vignette that investigates this question.

Copy Link

Version

Install

install.packages('spacesXYZ')

Monthly Downloads

23,743

Version

1.4-0

License

GPL (>= 3)

Maintainer

Glenn Davis

Last Published

January 17th, 2025

Functions in spacesXYZ (1.4-0)

fromXYZ

Convert from XYZ to other Color Spaces
toPolar

Convert CIE Lab and Luv to Polar Form
toXYZ

Convert other Color Spaces to XYZ
daylight

Compute Points on the Daylight Locus, in multiple Chromaticity Spaces
standardXYZ

Query the Standardized XYZ and xy values of Standard Illuminants and Whitepoints
Correlated Color Temperature

Compute Correlated Color Temperature (CCT) and Points on the Planckian Locus
DeltaE

Calculate the Color Difference between Two Colors
adaptation

Chromatic Adaptation Transforms (CATs)
Planckian Loci

Planckian Loci - stored as Lookup Tables
spacesXYZ-package

CIE XYZ and some of Its Derived Color Spaces
fromPolar

Convert CIE Lab and Luv from Polar Form to Rectangular Form
uvfrom

Convert from XYZ or xy to Uniform Chromaticity Spaces
adapt

Chromatic Adaptation Functions