Module empfindung::cmc
source · Expand description
Implementation of the CMC l:c colour distance algorithm.
The CMC l:c is a quasimetric which is parameterised by two weights: l
and
c
. Commonly used pair of weights are 1:1 and 2:1.
Note that the distance is not symmetrical, i.e. in general case diff(a, b, ksub) != diff(b, a, ksub)
. Prefer crate::cie00
module if you needa
proper metric.