pub trait ImprovedDeltaE: DeltaE {
    // Required method
    fn improved_delta_e(self, other: Self) -> Self::Scalar;
}
Expand description

Calculate the ΔE’ (improved ΔE) color difference between two colors.

The ΔE’ uses the output of DeltaE and enhances it according to Power functions improving the performance of color-difference formulas by Huang et al. Only spaces with specified coefficients implement this trait.

Required Methods§

source

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

Calculate the ΔE’ (improved ΔE) color difference metric for self and other, according to the color space’s specification and later improvements by Huang et al.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ImprovedDeltaE for Cam16UcsJab<T>
where Self: DeltaE<Scalar = T> + EuclideanDistance<Scalar = T>, T: Real + Mul<T, Output = T> + Powf,

source§

impl<T> ImprovedDeltaE for Cam16UcsJmh<T>
where Cam16UcsJab<T>: ImprovedDeltaE<Scalar = T> + FromColorUnclamped<Self>,

source§

impl<Wp, T> ImprovedDeltaE for Lab<Wp, T>
where Self: DeltaE<Scalar = T> + EuclideanDistance<Scalar = T>, T: Real + Mul<T, Output = T> + Powf,

source§

impl<Wp, T> ImprovedDeltaE for Lch<Wp, T>
where Lab<Wp, T>: FromColorUnclamped<Self> + ImprovedDeltaE<Scalar = T>,