colour.colorimetry.whiteness_Stensby1968

colour.colorimetry.whiteness_Stensby1968(Lab)[source]

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

Parameters

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

Returns

Whiteness \(WI\).

Return type

numeric or 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...