colour.difference.delta_E_ITP#

colour.difference.delta_E_ITP(ICtCp_1: Domain1, ICtCp_2: Domain1, *, additional_data: Literal[False] = False) NDArrayFloat[source]#
colour.difference.delta_E_ITP(ICtCp_1: Domain1, ICtCp_2: Domain1, *, additional_data: Literal[True]) DeltaE_Specification_ITP

Compute the colour difference \(\Delta E_{ITP}\) between two specified \(IC_TC_P\) colour encoding arrays using the Recommendation ITU-R BT.2124.

Parameters:
  • ICtCp_1 (Domain1) – \(IC_TC_P\) colour encoding array 1.

  • ICtCp_2 (Domain1) – \(IC_TC_P\) colour encoding array 2.

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

Returns:

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

Return type:

numpy.ndarray or DeltaE_Specification_ITP

Notes

  • A value of 1 is equivalent to a just noticeable difference when viewed in the most critical adaptation state.

Domain

Scale - Reference

Scale - 1

ICtCp_1

1

1

ICtCp_2

1

1

References

[InternationalTUnion19]

Examples

>>> ICtCp_1 = np.array([0.4885468072, -0.04739350675, 0.07475401302])
>>> ICtCp_2 = np.array([0.4899203231, -0.04567508203, 0.07361341775])
>>> delta_E_ITP(ICtCp_1, ICtCp_2)
np.float64(1.4265722...)
>>> delta_E_ITP(
...     ICtCp_1,
...     ICtCp_2,
...     additional_data=True,
... )
DeltaE_Specification_ITP(dE=np.float64(1.4265722...), dI=np.float64(0.0013735...), dT=np.float64(0.0008592...), dP=np.float64(-0.0011405...))