[−][src]Enum opencv::mcc::DISTANCE_TYPE
Enum of possible functions to calculate the distance between colors.
See https://en.wikipedia.org/wiki/Color_difference for details
Variants
The 1976 formula is the first formula that related a measured color difference to a known set of CIELAB coordinates.
The 1976 definition was extended to address perceptual non-uniformities.
In 1984, the Colour Measurement Committee of the Society of Dyers and Colourists defined a difference measure, also based on the LCh color model.
Euclidean distance of rgb color space
Euclidean distance of rgbl color space
Trait Implementations
impl Clone for DISTANCE_TYPE
[src]
pub fn clone(&self) -> DISTANCE_TYPE
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DISTANCE_TYPE
[src]
impl Debug for DISTANCE_TYPE
[src]
impl PartialEq<DISTANCE_TYPE> for DISTANCE_TYPE
[src]
pub fn eq(&self, other: &DISTANCE_TYPE) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for DISTANCE_TYPE
[src]
Auto Trait Implementations
impl RefUnwindSafe for DISTANCE_TYPE
[src]
impl Send for DISTANCE_TYPE
[src]
impl Sync for DISTANCE_TYPE
[src]
impl Unpin for DISTANCE_TYPE
[src]
impl UnwindSafe for DISTANCE_TYPE
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,