Description Usage Arguments Value Author(s) Source References Examples
xy2CCT.McCamy
convert from chromaticity coordinates to
correlated color temperature (approximation).
1 | xy2CCT.McCamy(x,y)
|
x |
x coordinates |
y |
y coordinates |
CCT McCamy
Jose Gama
C. S. McCamy, 1992 "Correlated color temperature as an explicit function of chromaticity coordinates" Color Research & Application Volume 17, Issue 2, pages 142–144
C. S. McCamy, 1992 "Correlated color temperature as an explicit function of chromaticity coordinates" Color Research & Application Volume 17, Issue 2, pages 142–144
1 2 | xyY <- c(0.4083308, 0.2988462, 0.08391198)
xy2CCT.McCamy(xyY[1],xyY[2])
|
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2
Attaching package: 'Hmisc'
The following objects are masked from 'package:base':
format.pval, round.POSIXt, trunc.POSIXt, units
Loading required package: munsellinterpol
Loading required package: geometry
Loading required package: magic
Loading required package: abind
Loading required package: pracma
Attaching package: 'pracma'
The following object is masked from 'package:munsellinterpol':
hypot
The following objects are masked from 'package:geometry':
dot, polyarea
The following object is masked from 'package:magic':
magic
The following object is masked from 'package:Hmisc':
ceil
Loading required package: sp
Attaching package: 'colorscience'
The following objects are masked from 'package:munsellinterpol':
XYZ2xyY, xyY2XYZ
[1] 2382.009
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.