Struct cv::hash::PHash[][src]

pub struct PHash { /* fields omitted */ }

Slower than AverageHash, but tolerant of minor modifications

Implementations

impl PHash[src]

pub fn new() -> Self[src]

Creates new instance

Trait Implementations

impl Debug for PHash[src]

impl Drop for PHash[src]

impl HashImplInterface for PHash[src]

impl Send for PHash[src]

impl Sync for PHash[src]

Auto Trait Implementations

impl RefUnwindSafe for PHash

impl Unpin for PHash

impl UnwindSafe for PHash

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Hash for T where
    T: HashImplInterface
[src]

pub fn compute(&Self, &Mat) -> Mat[src]

Computes image hash

pub fn compare(&Self, &Mat, &Mat) -> f64[src]

Compares two image hashes

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.