Trait cv::hash::Hash[][src]

pub trait Hash {
    fn compute(&self, mat: &Mat) -> Mat;
fn compare(&self, lhs: &Mat, rhs: &Mat) -> f64; }

Basic trait for all hash types

Required methods

fn compute(&self, mat: &Mat) -> Mat[src]

Computes image hash

fn compare(&self, lhs: &Mat, rhs: &Mat) -> f64[src]

Compares two image hashes

Loading content...

Implementors

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

fn compute(&self, mat: &Mat) -> Mat[src]

Computes image hash

fn compare(&self, lhs: &Mat, rhs: &Mat) -> f64[src]

Compares two image hashes

Loading content...