[][src]Struct opencv::features2d::KeyPointsFilter

pub struct KeyPointsFilter { /* fields omitted */ }

A class filters a vector of keypoints.

Because now it is difficult to provide a convenient interface for all usage scenarios of the keypoints filter class, it has only several needed by now static methods.

Methods

impl KeyPointsFilter[src]

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

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

impl KeyPointsFilter[src]

pub fn default() -> Result<KeyPointsFilter>[src]

pub fn run_by_image_border(
    keypoints: &mut VectorOfKeyPoint,
    image_size: Size,
    border_size: i32
) -> Result<()>
[src]

pub fn run_by_keypoint_size(
    keypoints: &mut VectorOfKeyPoint,
    min_size: f32,
    max_size: f32
) -> Result<()>
[src]

C++ default parameters

  • max_size: FLT_MAX

pub fn run_by_pixels_mask(
    keypoints: &mut VectorOfKeyPoint,
    mask: &Mat
) -> Result<()>
[src]

pub fn remove_duplicated(keypoints: &mut VectorOfKeyPoint) -> Result<()>[src]

pub fn remove_duplicated_sorted(keypoints: &mut VectorOfKeyPoint) -> Result<()>[src]

pub fn retain_best(keypoints: &mut VectorOfKeyPoint, npoints: i32) -> Result<()>[src]

Trait Implementations

impl Send for KeyPointsFilter[src]

impl Drop for KeyPointsFilter[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]