Trait cosmic::cosmic_theme::palette::color_difference::ImprovedCiede2000
source · 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§
sourcefn improved_difference(self, other: Self) -> Self::Scalar
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.