xyz To Rgb
fun xyzToRgb(@Size(value = 3 ) xyzIn: DoubleArray, @Size(value = 3 ) refIn: DoubleArray, @Size(value = 2 ) redChromaticity: DoubleArray, @Size(value = 2 ) greenChromaticity: DoubleArray, @Size(value = 2 ) blueChromaticity: DoubleArray, @Size(value = 2 ) whiteChromaticity: DoubleArray): DoubleArray
Calculates linear RGB from XYZ given chromaticity coordinates of RGB working space primaries and reference whites of RGB and XYZ value
Return
Linear RGB value, unity scale, (element order R, G, B)
Parameters
xyz In
Input colour XYZ values, unity scale (element order X, Y, Z)
ref In
Reference white of input colour xyzIn, unity scale (element order Xref, Yref, Zref)
red Chromaticity
RGB space red primary chromaticity coordinates (element order x, y)
green Chromaticity
RGB space green primary chromaticity coordinates (element order x, y)
blue Chromaticity
RGB space blue primary chromaticity coordinates (element order x, y)
white Chromaticity
RGB space reference white/grey chromaticity coordinates (element order x, y)