Trait opencv::xfeatures2d::AffineFeature2D[][src]

pub trait AffineFeature2D: Feature2DTrait + AffineFeature2DConst {
    fn as_raw_mut_AffineFeature2D(&mut self) -> *mut c_void;

    fn detect(
        &mut self,
        image: &dyn ToInputArray,
        keypoints: &mut Vector<Elliptic_KeyPoint>,
        mask: &dyn ToInputArray
    ) -> Result<()> { ... }
fn detect_and_compute(
        &mut self,
        image: &dyn ToInputArray,
        mask: &dyn ToInputArray,
        keypoints: &mut Vector<Elliptic_KeyPoint>,
        descriptors: &mut dyn ToOutputArray,
        use_provided_keypoints: bool
    ) -> Result<()> { ... } }

Required methods

Provided methods

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()

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

C++ default parameters
  • use_provided_keypoints: false

Implementations

Creates an instance wrapping the given keypoint detector and descriptor extractor.

Creates an instance where keypoint detector and descriptor extractor are identical.

Implementors