xy2CCT.HernandezAndres: convert from chromaticity coordinates to correlated color...

Description Usage Arguments Value Author(s) Source References Examples

Description

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

Usage

1

Arguments

x

x coordinates

y

y coordinates

Value

CCT (Hernandez Andres)

Author(s)

Jose Gama

Source

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

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

1
2
xyY <- c(0.4083308, 0.2988462, 0.08391198)
xy2CCT.HernandezAndres(xyY[1],xyY[2])

Example output

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package:HmiscThe following objects are masked frompackage:base:

    format.pval, units

Loading required package: pracma

Attaching package:pracmaThe following object is masked frompackage:Hmisc:

    ceil

Loading required package: sp
[1] 2412.792

colorscience documentation built on Oct. 30, 2019, 9:33 a.m.