imColorRGB2XYZ

Converts Rec 709 RGB to CIE XYZ (all linear). \n * ITU-R Recommendation BT.709 (D65 white point). \n \verbatim 0 <= XYZ <= 1 ; 0 <= RGB <= 1

X = 0.4124 *R + 0.3576 *G + 0.1805 *B Y = 0.2126 *R + 0.7152 *G + 0.0722 *B Z = 0.0193 *R + 0.1192 *G + 0.9505 *B \endverbatim * \ingroup color

version(IM)
pure nothrow @nogc @safe
void
imColorRGB2XYZ
(
T
)
(
const T R
,
const T G
,
const T B
,
ref T X
,
ref T Y
,
ref T Z
)
if (
isNumeric!T
)

Meta