[][src]Struct opencv::img_hash::RadialVarianceHash

pub struct RadialVarianceHash { /* fields omitted */ }

Image hash based on Radon transform.

See tang2012perceptual for details.

Methods

impl RadialVarianceHash[src]

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

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

impl RadialVarianceHash[src]

pub fn create(
    sigma: f64,
    num_of_angle_line: i32
) -> Result<PtrOfRadialVarianceHash>
[src]

C++ default parameters

  • sigma: 1
  • num_of_angle_line: 180

pub fn get_num_of_angle_line(&self) -> Result<i32>[src]

pub fn get_sigma(&self) -> Result<f64>[src]

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

pub fn set_sigma(&mut self, value: f64) -> Result<()>[src]

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

pub fn get_hash(&mut self) -> Result<Mat>[src]

pub fn get_projection(&mut self) -> Result<Mat>[src]

Trait Implementations

impl Algorithm for RadialVarianceHash[src]

fn clear(&mut self) -> Result<()>[src]

Clears the algorithm state

fn empty(&self) -> Result<bool>[src]

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

fn save(&self, filename: &str) -> Result<()>[src]

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more

fn get_default_name(&self) -> Result<String>[src]

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more

impl ImgHashBase for RadialVarianceHash[src]

impl Send for RadialVarianceHash[src]

impl Drop for RadialVarianceHash[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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