Colour Difference#
Delta E#
colour
|
Compute the colour difference \(\Delta E_{ab}\) between two specified CIE L*a*b*, \(IC_TC_P\), or \(J'a'b'\) colourspace arrays. |
Supported \(\Delta E_{ab}\) colour difference computation methods. |
CIE 1976#
colour.difference
|
Compute the colour difference \(\Delta E_{76}\) between two specified CIE L*a*b* colourspace arrays using the CIE 1976 recommendation. |
Just Noticeable Difference (JND) according to CIE 1976 colour difference formula, i.e., Euclidean distance in CIE L*a*b* colourspace. |
CIE 1994#
colour.difference
|
Compute the colour difference \(\Delta E_{94}\) between two specified CIE L*a*b* colourspace arrays using the CIE 1994 recommendation. |
CIE 2000#
colour.difference
|
Compute the colour difference \(\Delta E_{00}\) between two specified CIE L*a*b* colourspace arrays using the CIE 2000 recommendation. |
CMC#
colour.difference
|
Compute the colour difference \(\Delta E_{CMC}\) between two specified CIE L*a*b* colourspace arrays using the Colour Measurement Committee recommendation. |
ITP#
colour.difference
|
Compute the colour difference \(\Delta E_{ITP}\) between two specified \(IC_TC_P\) colour encoding arrays using the Recommendation ITU-R BT.2124. |
Luo, Cui and Li (2006)#
colour.difference
|
Compute the colour difference \(\Delta E'\) between two specified CAM02-LCD colourspace \(J'a'b'\) arrays using the Luo et al. (2006) formula. |
|
Compute the colour difference \(\Delta E'\) between two specified CAM02-SCD colourspace \(J'a'b'\) arrays using the Luo et al. (2006) formula. |
|
Compute the colour difference \(\Delta E'\) between two specified CAM02-UCS colourspace \(J'a'b'\) arrays using the Luo et al. (2006) formula. |
Li, Li, Wang, Zu, Luo, Cui, Melgosa, Brill and Pointer (2017)#
colour.difference
|
Compute the colour difference \(\Delta E'\) between two specified CAM16-LCD colourspace \(J'a'b'\) arrays using the Li et al. (2017) formula. |
|
Compute the colour difference \(\Delta E'\) between two specified CAM16-SCD colourspace \(J'a'b'\) arrays using the Li et al. (2017) formula. |
|
Compute the colour difference \(\Delta E'\) between two specified CAM16-UCS colourspace \(J'a'b'\) arrays using the Li et al. (2017) formula. |
DIN99#
colour.difference
|
Compute the colour difference \(\Delta E_{DIN99}\) between two specified CIE L*a*b* colourspace arrays using the DIN99 formula. |
HyAB#
colour.difference
|
Compute the colour difference between two CIE L*a*b* colourspace arrays using a combination of a Euclidean metric in hue and chroma with a city-block metric to incorporate lightness differences. |
HyCH#
colour.difference
|
Compute the colour difference between two CIE L*a*b* colourspace arrays using a combination of Euclidean metric in hue and chroma with a city-block metric to incorporate lightness differences based on CIE 2000 recommendation attributes. |
Standardized Residual Sum of Squares (STRESS) Index#
colour
|
Compute Kruskal's Standardized Residual Sum of Squares (\(STRESS\)) index using the specified method |
Supported Standardized Residual Sum of Squares (STRESS) index computation methods. |
colour.difference
|
Compute the Kruskal's Standardized Residual Sum of Squares (:math:`STRESS`) index according to the García, Huertas, Melgosa and Cui (2007) method. |
Huang et al. (2015) Power-Functions#
colour.difference
|
Apply the Huang, Cui, Melgosa, Sanchez-Maranon, Li, Luo and Liu (2015) power-function to improve colour difference values for specified coefficients: \(d_E^{\prime}=a \cdot d_{E}^{b}\). |
Metamerism#
colour.difference.metamerism_index
|
Compute the metamerism index \(M_{t}\) between four specified CIE L*a*b* colourspace arrays. |
|
Compute the metamerism index \(M_{t}\) from four specified CIE XYZ colourspace arrays. |
|
Compute the metamerism index \(M_t\) of a sample pair for change of illuminant using the spectral correction method as defined in ISO 18314-4:2024. |