colour.difference.delta_E_DIN99#
- colour.difference.delta_E_DIN99(Lab_1: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], Lab_2: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], textiles: bool = False) NDArrayFloat[source]#
Compute the colour difference \(\Delta E_{DIN99}\) between two specified CIE L*a*b* colourspace arrays using the DIN99 formula.
- Parameters:
Lab_1 (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – CIE L*a*b* colourspace array 1.
Lab_2 (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – CIE L*a*b* colourspace array 2.
textiles (bool) – Textiles application specific parametric factors, \(k_E=2,\ k_{CH}=0.5\) weights are used instead of \(k_E=1,\ k_{CH}=1\).
- Returns:
Colour difference \(\Delta E_{DIN99}\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
Lab_1100
1
Lab_2100
1
References
Examples
>>> import numpy as np >>> Lab_1 = np.array([60.2574, -34.0099, 36.2677]) >>> Lab_2 = np.array([60.4626, -34.1751, 39.4387]) >>> delta_E_DIN99(Lab_1, Lab_2) 1.1772166...