RGB2XYZ {colorscience} | R Documentation |
Convert sRGB coordinates to XYZ
Description
RGB2XYZ
Converts sRGB coordinates to XYZ.
Usage
RGB2XYZ(RGBmatrix, 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
RGBmatrix |
sRGB coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
White Reference |
RGBModel |
RGB Model |
RefWhiteRGB |
White Reference RGB |
gamma |
gamma |
RefWhiteIllum |
White Reference illuminant |
CAT |
Chromatic Adaptation algorithm |
CATarray |
Chromatic Adaptation data |
Value
CIE XYZ coordinates
Author(s)
Jose Gama
Source
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
References
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Examples
RGB2XYZ(c(0.310897, 0.306510, 74.613450))
[Package colorscience version 1.0.9 Index]