[][src]Trait opencv::prelude::MarrHildrethHashTrait

pub trait MarrHildrethHashTrait: ImgHashBaseTrait {
    pub fn as_raw_MarrHildrethHash(&self) -> *const c_void;
pub fn as_raw_mut_MarrHildrethHash(&mut self) -> *mut c_void; pub fn get_alpha(&self) -> Result<f32> { ... }
pub fn get_scale(&self) -> Result<f32> { ... }
pub fn set_kernel_param(&mut self, alpha: f32, scale: f32) -> Result<()> { ... } }

Marr-Hildreth Operator Based Hash, slowest but more discriminative.

See zauner2010implementation for details.

Required methods

Loading content...

Provided methods

pub fn get_alpha(&self) -> Result<f32>[src]

self explain

pub fn get_scale(&self) -> Result<f32>[src]

self explain

pub fn set_kernel_param(&mut self, alpha: f32, scale: f32) -> Result<()>[src]

Set Mh kernel parameters

Parameters

  • alpha: int scale factor for marr wavelet (default=2).
  • scale: int level of scale factor (default = 1)
Loading content...

Implementors

Loading content...