pub trait AffineFeature2DTrait: Feature2DTrait + AffineFeature2DTraitConst {
    // Required method
    fn as_raw_mut_AffineFeature2D(&mut self) -> *mut c_void;

    // Provided methods
    fn detect(
        &mut self,
        image: &impl ToInputArray,
        keypoints: &mut Vector<Elliptic_KeyPoint>,
        mask: &impl ToInputArray
    ) -> Result<()> { ... }
    fn detect_def(
        &mut self,
        image: &impl ToInputArray,
        keypoints: &mut Vector<Elliptic_KeyPoint>
    ) -> Result<()> { ... }
    fn detect_and_compute(
        &mut self,
        image: &impl ToInputArray,
        mask: &impl ToInputArray,
        keypoints: &mut Vector<Elliptic_KeyPoint>,
        descriptors: &mut impl ToOutputArray,
        use_provided_keypoints: bool
    ) -> Result<()> { ... }
    fn detect_and_compute_def(
        &mut self,
        image: &impl ToInputArray,
        mask: &impl ToInputArray,
        keypoints: &mut Vector<Elliptic_KeyPoint>,
        descriptors: &mut impl ToOutputArray
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

source

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in the image using the wrapped detector and performs affine adaptation to augment them with their elliptic regions.

C++ default parameters
  • mask: noArray()
source

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint> ) -> Result<()>

Detects keypoints in the image using the wrapped detector and performs affine adaptation to augment them with their elliptic regions.

Note

This alternative version of [detect] function uses the following default values for its arguments:

  • mask: noArray()
source

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles.

C++ default parameters
  • use_provided_keypoints: false
source

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles.

Note

This alternative version of [detect_and_compute] function uses the following default values for its arguments:

  • use_provided_keypoints: false

Object Safety§

This trait is not object safe.

Implementors§