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
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.