colour.colorimetry.whiteness_ASTME313

colour.colorimetry.whiteness_ASTME313(XYZ)[source]

Returns the whiteness index \(WI\) of given sample CIE XYZ tristimulus values using ASTM E313 method.

Parameters:XYZ (array_like) – CIE XYZ tristimulus values of sample.
Returns:Whiteness \(WI\).
Return type:numeric or ndarray

Notes

Domain Scale - Reference Scale - 1
XYZ [0, 100] [0, 1]
Range Scale - Reference Scale - 1
WI [0, 100] [0, 1]

References

[X-Rite2012a]

Examples

>>> import numpy as np
>>> XYZ = np.array([95.00000000, 100.00000000, 105.00000000])
>>> whiteness_ASTME313(XYZ)  # doctest: +ELLIPSIS
55.7400000...