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

  • Input CIE L*a*b* colourspace array is in domain [0, 100].
  • Whiteness \(WI\) values larger than 100 indicate a bluish white and values smaller than 100 indicate a yellowish white.

References

Examples

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