deltaE_cmc
-
skimage.color.deltaE_cmc(lab1, lab2, kL=1, kC=1)
[source] -
Color difference from the CMC l:c standard.
This color difference was developed by the Colour Measurement Committee (CMC) of the Society of Dyers and Colourists (United Kingdom). It is intended for use in the textile industry.
The scale factors
kL
,kC
set the weight given to differences in lightness and chroma relative to differences in hue. The usual values arekL=2
,kC=1
for “acceptability” andkL=1
,kC=1
for “imperceptibility”. Colors withdE > 1
are “different” for the given scale factors.Parameters: lab1 : array_like
reference color (Lab colorspace)
lab2 : array_like
comparison color (Lab colorspace)
Returns: dE : array_like
distance between colors
lab1
andlab2
Notes
deltaE_cmc the defines the scales for the lightness, hue, and chroma in terms of the first color. Consequently
deltaE_cmc(lab1, lab2) != deltaE_cmc(lab2, lab1)
References
[R39] http://en.wikipedia.org/wiki/Color_difference [R40] http://www.brucelindbloom.com/index.html?Eqn_DeltaE_CIE94.html [R41] F. J. J. Clarke, R. McDonald, and B. Rigg, “Modification to the JPC79 colour-difference formula,” J. Soc. Dyers Colour. 100, 128-132 (1984).
Please login to continue.