colour.difference.delta_E_CIE1976#

colour.difference.delta_E_CIE1976(Lab_1: Domain100, Lab_2: Domain100, *, additional_data: Literal[False] = False) NDArrayFloat[source]#
colour.difference.delta_E_CIE1976(Lab_1: Domain100, Lab_2: Domain100, *, additional_data: Literal[True]) DeltaE_Specification_CIE1976

Compute the colour difference \(\Delta E_{76}\) between two specified CIE L*a*b* colourspace arrays using the CIE 1976 recommendation.

Parameters:
  • Lab_1 (Domain100) – CIE L*a*b* colourspace array 1.

  • Lab_2 (Domain100) – CIE L*a*b* colourspace array 2.

  • additional_data (bool) – Whether to output additional data.

Returns:

Colour difference \(\Delta E_{76}\).

Return type:

numpy.ndarray or DeltaE_Specification_CIE1976

Notes

Domain

Scale - Reference

Scale - 1

Lab_1

100

1

Lab_2

100

1

References

[Lin03a]

Examples

>>> Lab_1 = np.array([48.99183622, -0.10561667, 400.65619925])
>>> Lab_2 = np.array([50.65907324, -0.11671910, 402.82235718])
>>> delta_E_CIE1976(Lab_1, Lab_2)
np.float64(2.7335037...)
>>> delta_E_CIE1976(
...     Lab_1,
...     Lab_2,
...     additional_data=True,
... )
DeltaE_Specification_CIE1976(dE=np.float64(2.7335037...), dL=np.float64(-1.6672370...), da=np.float64(0.0111024...), db=np.float64(-2.1661579...))