colour.colorimetry.whiteness_Taube1960

colour.colorimetry.whiteness_Taube1960(XYZ, XYZ_0)[source]

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

Parameters:
  • XYZ (array_like) – CIE XYZ tristimulus values of sample.
  • XYZ_0 (array_like) – CIE XYZ tristimulus values of reference white.
Returns:

Whiteness \(WI\).

Return type:

numeric or ndarray

Notes

Domain Scale - Reference Scale - 1
XYZ [0, 100] [0, 1]
XYZ_0 [0, 100] [0, 1]
Range Scale - Reference Scale - 1
WI [0, 100] [0, 1]
  • Whiteness \(WI\) values larger than 100 indicate a bluish white and values smaller than 100 indicate a yellowish white.

References

[X-Rite2012a]

Examples

>>> import numpy as np
>>> XYZ = np.array([95.00000000, 100.00000000, 105.00000000])
>>> XYZ_0 = np.array([94.80966767, 100.00000000, 107.30513595])
>>> whiteness_Taube1960(XYZ, XYZ_0)  # doctest: +ELLIPSIS
91.4071738...