colour.IgPgTg_to_XYZ¶
-
colour.
IgPgTg_to_XYZ
(IgPgTg)[source]¶ Converts from \(I_GP_GT_G\) colourspace to CIE XYZ tristimulus values.
- Parameters
IgPgTg (array_like) – \(I_GP_GT_G\) colourspace array.
- Returns
CIE XYZ tristimulus values.
- Return type
ndarray
Notes
Domain
Scale - Reference
Scale - 1
IgPgTg
IG
: [0, 1]PG
: [-1, 1]TG
: [-1, 1]IG
: [0, 1]PG
: [-1, 1]TG
: [-1, 1]Range
Scale - Reference
Scale - 1
XYZ
[0, 1]
[0, 1]
References
Examples
>>> IgPgTg = np.array([0.42421258, 0.18632491, 0.10689223]) >>> IgPgTg_to_XYZ(IgPgTg) array([ 0.2065400..., 0.1219722..., 0.0513695...])