colour.difference.power_function_Huang2015#

colour.difference.power_function_Huang2015(d_E: ArrayLike, coefficients: Literal['CIE 1976', 'CIE 1994', 'CIE 2000', 'CMC', 'CAM02-LCD', 'CAM02-SCD', 'CAM16-UCS', 'DIN99d', 'OSA', 'OSA-GP-Euclidean', 'ULAB'] | str = 'CIE 2000') NDArrayFloat[source]#

Improve the performance of the \(\Delta E\) value for given coefficients using Huang, Cui, Melgosa, Sanchez-Maranon, Li, Luo and Liu (2015) power-function: \(d_E^{\prime}=a*d_{E^b}\).

Parameters:
  • d_E (ArrayLike) – Computed colour difference array \(\Delta E\).

  • coefficients (Literal['CIE 1976', 'CIE 1994', 'CIE 2000', 'CMC', 'CAM02-LCD', 'CAM02-SCD', 'CAM16-UCS', 'DIN99d', 'OSA', 'OSA-GP-Euclidean', 'ULAB'] | str) – Coefficients for the power-function.

Returns:

Improved math:Delta E value.

Return type:

numpy.ndarray

References

[HCM+15], [LLW+17]

Examples

>>> d_E = np.array([2.0425, 2.8615, 3.4412])
>>> power_function_Huang2015(d_E)  
array([ 2.3574879...,  2.9850503...,  3.3965106...])