[−][src]Struct opencv::xfeatures2d::MSDDetector
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]
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>
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]
fn as_raw_Algorithm(&self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_1(&self, fs: &PtrOfFileStorage, name: &str) -> Result<()>
[src]
fn read(&mut self, _fn: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl Send for MSDDetector
[src]
impl Drop for MSDDetector
[src]
Auto Trait Implementations
impl !Sync for MSDDetector
impl Unpin for MSDDetector
impl UnwindSafe for MSDDetector
impl RefUnwindSafe for MSDDetector
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,