colour.colorimetry.whiteness_Stensby1968#
- colour.colorimetry.whiteness_Stensby1968(Lab: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 100][source]#
Compute the whiteness index \(WI\) of the specified sample CIE L*a*b* colourspace array using the Stensby (1968) method.
- Parameters:
Lab (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – CIE L*a*b* colourspace array of the sample.
- Returns:
Whiteness index \(WI\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
Lab100
1
Range
Scale - Reference
Scale - 1
WI100
1
Whiteness \(WI\) values larger than 100 indicate a bluish white and values smaller than 100 indicate a yellowish white.
References
Examples
>>> import numpy as np >>> Lab = np.array([100.00000000, -2.46875131, -16.72486654]) >>> whiteness_Stensby1968(Lab) 142.7683456...