as_white_ref | R Documentation |
This function can take either the name of a standardised illuminants, x and y chromaticity coordinates or X, Y, and Z tristimulus values and converts it to tristimulus values normalised to Y=100. All Illuminant series A-F are supported and can be queried both on the CIE 1931 2° and CIE 1964 10° chromaticity coordinates.
as_white_ref(x, fow = 2)
x |
A string giving the name of the standardized illuminant or a 2 (chromaticity) or 3 (trsitimulus) length numeric vector. |
fow |
The field-of-view for the illuminant - either |
A 3-length vector with tristimulus values
# Using names
as_white_ref('D65')
# Using chromaticity values
as_white_ref(c(0.3, 0.4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.