skimage2.color.deltaE_ciede94#
- skimage2.color.deltaE_ciede94(lab1, lab2, kH=1, kC=1, kL=1, k1=0.045, k2=0.015, *, channel_axis=-1)[source]#
Color difference according to CIEDE 94 standard
Accommodates perceptual non-uniformities through the use of application specific scale factors (
kH,kC,kL,k1, andk2).- Parameters:
- lab1array_like
reference color (Lab colorspace)
- lab2array_like
comparison color (Lab colorspace)
- kHfloat, optional
Hue scale
- kCfloat, optional
Chroma scale
- kLfloat, optional
Lightness scale
- k1float, optional
first scale parameter
- k2float, optional
second scale parameter
- channel_axisint, optional
This parameter indicates which axis of the arrays corresponds to channels.
Added in version 0.19:
channel_axiswas added in 0.19.
- Returns:
- dEarray_like
color difference between
lab1andlab2
Notes
deltaE_ciede94 is not symmetric with respect to lab1 and lab2. CIEDE94 defines the scales for the lightness, hue, and chroma in terms of the first color. Consequently, the first color should be regarded as the âreferenceâ color.
kL,k1,k2depend on the application and default to the values suggested for graphic artsParameter
Graphic Arts
Textiles
kL1.000
2.000
k10.045
0.048
k20.015
0.014
References