pub trait ImprovedCiede2000: Ciede2000 {
    // Required method
    fn improved_difference(self, other: Self) -> Self::Scalar;
}
Expand description

Calculate the CIEDE2000 ΔE’ (improved IEDE2000 ΔE*) color difference.

The “improved CIEDE2000” uses the output of Ciede2000 and enhances it according to Power functions improving the performance of color-difference formulas by Huang et al.

Required Methods§

source

fn improved_difference(self, other: Self) -> Self::Scalar

Calculate the CIEDE2000 ΔE’ (improved IEDE2000 ΔE*) color difference between self and other.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<C> ImprovedCiede2000 for C
where C: Ciede2000, <C as Ciede2000>::Scalar: Real + Mul<Output = <C as Ciede2000>::Scalar> + Powf,