skimage 0.17.2

NotesParametersReturns
deltaE_ciede94(lab1, lab2, kH=1, kC=1, kL=1, k1=0.045, k2=0.015)

Accommodates perceptual non-uniformities through the use of application specific scale factors (:None:None:`kH`, :None:None:`kC`, :None:None:`kL`, :None:None:`k1`, and :None:None:`k2`).

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.

:None:None:`kL`, :None:None:`k1`, :None:None:`k2` depend on the application and default to the values suggested for graphic arts

========== ============== ========== Parameter Graphic Arts Textiles ========== ============== ========== :None:None:`kL` 1.000 2.000 :None:None:`k1` 0.045 0.048 :None:None:`k2` 0.015 0.014 ========== ============== ==========

Parameters

lab1 : array_like

reference color (Lab colorspace)

lab2 : array_like

comparison color (Lab colorspace)

kH : float, optional

Hue scale

kC : float, optional

Chroma scale

kL : float, optional

Lightness scale

k1 : float, optional

first scale parameter

k2 : float, optional

second scale parameter

Returns

dE : array_like

color difference between :None:None:`lab1` and :None:None:`lab2`

Color difference according to CIEDE 94 standard

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /skimage/color/delta_e.py#54
type: <class 'function'>
Commit: