Learn R Programming

colorscience (version 1.0.8)

xy2CCT.HernandezAndres: convert from chromaticity coordinates to correlated color temperature (Hernandez Andres)

Description

xy2CCT.HernandezAndres convert from chromaticity coordinates to correlated color temperature (approximation) by Hernandez Andres.

Usage

xy2CCT.HernandezAndres(x,y)

Arguments

x

x coordinates

y

y coordinates

Value

CCT (Hernandez Andres)

References

Hernandez-Andres, et al. 1999 "Calculating correlated color temperatures across the entire gamut of daylight and skylight chromaticities" http://en.wikipedia.org/wiki/Color_temperature

Examples

Run this code
# NOT RUN {
xyY <- c(0.4083308, 0.2988462, 0.08391198)
xy2CCT.HernandezAndres(xyY[1],xyY[2])
# }

Run the code above in your browser using DataLab