colour.difference.power_function_Huang2015

colour.difference.power_function_Huang2015(d_E, coefficients='CIE 2000')[source]

Improves 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^'=a*d_E^b\).

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

  • coefficients (unicode, optional) – {‘CIE 1976’, ‘CIE 1994’, ‘CIE 2000’, ‘CMC’, ‘CAM02-LCD’, ‘CAM02-SCD’, ‘CAM16-UCS’, ‘DIN99d’, ‘OSA’, ‘OSA-GP-Euclidean’, ‘ULAB’}, Coefficients for the power-function.

Returns

Improved math:Delta E value.

Return type

numeric or 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...])