colour.difference.delta_E_HyCH#
- colour.difference.delta_E_HyCH(Lab_1: Domain100, Lab_2: Domain100, textiles: bool = False, *, additional_data: Literal[False] = False) NDArrayFloat[source]#
- colour.difference.delta_E_HyCH(Lab_1: Domain100, Lab_2: Domain100, textiles: bool = False, *, additional_data: Literal[True]) DeltaE_Specification_HyCH
Compute the colour difference between two CIE L*a*b* colourspace arrays using a combination of Euclidean metric in hue and chroma with a city-block metric to incorporate lightness differences based on CIE 2000 recommendation attributes.
This metric is intended for large colour differences, on the order of 10 CIE L*a*b* units or greater.
- Parameters:
- Returns:
Colour difference \(\Delta E_{HyCH}\).
- Return type:
numpy.ndarrayorDeltaE_Specification_HyCH
Notes
Domain
Scale - Reference
Scale - 1
Lab_1100
1
Lab_2100
1
References
[AATF20]
Examples
>>> Lab_1 = np.array([39.91531343, 51.16658481, 146.12933781]) >>> Lab_2 = np.array([53.12207516, -39.92365056, 249.54831278]) >>> delta_E_HyCH(Lab_1, Lab_2) np.float64(48.6642794...) >>> delta_E_HyCH( ... Lab_1, ... Lab_2, ... additional_data=True, ... ) DeltaE_Specification_HyCH(dE=np.float64(48.6642794...), dL=np.float64(12.7962972...), dC=np.float64(9.6258211...), dH=np.float64(34.5522171...))