colour.difference.power_function_Huang2015¶
- colour.difference.power_function_Huang2015(d_E: FloatingOrArrayLike, coefficients: Union[Literal['CIE 1976', 'CIE 1994', 'CIE 2000', 'CMC', 'CAM02-LCD', 'CAM02-SCD', 'CAM16-UCS', 'DIN99d', 'OSA', 'OSA-GP-Euclidean', 'ULAB'], str] = 'CIE 2000') FloatingOrNDArray [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
- Returns
Improved math:Delta E value.
- Return type
References
Examples
>>> d_E = np.array([2.0425, 2.8615, 3.4412]) >>> power_function_Huang2015(d_E) array([ 2.3574879..., 2.9850503..., 3.3965106...])