[][src]Struct opencv::img_hash::BlockMeanHash

pub struct BlockMeanHash { /* fields omitted */ }

Image hash based on block mean.

See zauner2010implementation for details.

Methods

impl BlockMeanHash[src]

pub fn as_raw_BlockMeanHash(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl BlockMeanHash[src]

pub fn set_mode(&mut self, mode: i32) -> Result<()>[src]

Create BlockMeanHash object

Parameters

  • mode: the mode

pub fn get_mean(&self) -> Result<VectorOfdouble>[src]

pub fn create(mode: i32) -> Result<PtrOfBlockMeanHash>[src]

C++ default parameters

  • mode: BLOCK_MEAN_HASH_MODE_0

Trait Implementations

impl AlgorithmTrait for BlockMeanHash[src]

impl Drop for BlockMeanHash[src]

impl ImgHashBaseTrait for BlockMeanHash[src]

impl Send for BlockMeanHash[src]

Auto Trait Implementations

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, 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.