XYZ2RGB {colorscience} | R Documentation |
convert from XYZ coordinates to CIE RGB coordinates
Description
XYZ2RGB
convert from XYZ coordinates to CIE RGB coordinates.
Usage
XYZ2RGB(XYZmatrix, illuminant = "D65", observer = 2, RefWhite
= get("XYZperfectreflectingdiffuser", envir = environment()),
RGBModel = "sRGB", RefWhiteRGB = get("whitepointsRGB",
envir = environment()), gamma = NA,
RefWhiteIllum = get("XYZperfectreflectingdiffuser",
envir = environment()), CAT = "Bradford",
CATarray = get("ChromaticAdaptation", envir = environment()))
Arguments
XYZmatrix |
XYZ coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
RGBModel |
RGB model |
RefWhiteRGB |
white points for RGB model |
gamma |
gamma |
RefWhiteIllum |
Reference perfect reflecting diffuser |
CAT |
CAT |
CATarray |
Chromatic Adaptation |
Value
CIE RGB coordinates
Author(s)
Jose Gama
Source
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
References
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Examples
XYZ<-c(0.11465380, 0.08391198, 0.08222077)
XYZ2RGB(XYZ)
[Package colorscience version 1.0.9 Index]