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
fn as_raw_mut_AffineFeature2D(&mut self) -> *mut c_void
Provided methods
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
mask: &dyn 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()
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<()>
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<()>
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.