colour.colorimetry.whiteness_Stensby1968#

colour.colorimetry.whiteness_Stensby1968(Lab: ArrayLike) NDArrayFloat[source]#

Return the whiteness index \(WI\) of given sample CIE L*a*b* colourspace array using Stensby (1968) method.

Parameters:

Lab (ArrayLike) – CIE L*a*b* colourspace array of the sample.

Returns:

Whiteness \(WI\).

Return type:

np.float or numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

Lab

L : [0, 100]

a : [-100, 100]

b : [-100, 100]

L : [0, 1]

a : [-1, 1]

b : [-1, 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

[XRitePantone12]

Examples

>>> import numpy as np
>>> Lab = np.array([100.00000000, -2.46875131, -16.72486654])
>>> whiteness_Stensby1968(Lab)  
142.7683456...