[][src]Struct opencv::xfeatures2d::MSDDetector

pub struct MSDDetector { /* fields omitted */ }

Class implementing the MSD (Maximal Self-Dissimilarity) keypoint detector, described in Tombari14.

The algorithm implements a novel interest point detector stemming from the intuition that image patches which are highly dissimilar over a relatively large extent of their surroundings hold the property of being repeatable and distinctive. This concept of "contextual self-dissimilarity" reverses the key paradigm of recent successful techniques such as the Local Self-Similarity descriptor and the Non-Local Means filter, which build upon the presence of similar - rather than dissimilar - patches. Moreover, it extends to contextual information the local self-dissimilarity notion embedded in established detectors of corner-like interest points, thereby achieving enhanced repeatability, distinctiveness and localization accuracy.

Methods

impl MSDDetector[src]

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

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

impl MSDDetector[src]

pub fn create(
    m_patch_radius: i32,
    m_search_area_radius: i32,
    m_nms_radius: i32,
    m_nms_scale_radius: i32,
    m_th_saliency: f32,
    m_k_nn: i32,
    m_scale_factor: f32,
    m_n_scales: i32,
    m_compute_orientation: bool
) -> Result<PtrOfMSDDetector>
[src]

C++ default parameters

  • m_patch_radius: 3
  • m_search_area_radius: 5
  • m_nms_radius: 5
  • m_nms_scale_radius: 0
  • m_th_saliency: 250.0f
  • m_k_nn: 4
  • m_scale_factor: 1.25f
  • m_n_scales: -1
  • m_compute_orientation: false

Trait Implementations

impl AlgorithmTrait for MSDDetector[src]

impl Send for MSDDetector[src]

impl Drop for MSDDetector[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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]