[−][src]Struct opencv::stitching::Detail_AffineBestOf2NearestMatcher
Features matcher similar to cv::detail::BestOf2NearestMatcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf.
Unlike cv::detail::BestOf2NearestMatcher this matcher uses affine transformation (affine transformation estimate will be placed in matches_info).
See also
cv::detail::FeaturesMatcher cv::detail::BestOf2NearestMatcher
Implementations
impl Detail_AffineBestOf2NearestMatcher
[src]
pub fn as_raw_Detail_AffineBestOf2NearestMatcher(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_AffineBestOf2NearestMatcher(&mut self) -> *mut c_void
[src]
impl Detail_AffineBestOf2NearestMatcher
[src]
pub fn new(
full_affine: bool,
try_use_gpu: bool,
match_conf: f32,
num_matches_thresh1: i32
) -> Result<Detail_AffineBestOf2NearestMatcher>
[src]
full_affine: bool,
try_use_gpu: bool,
match_conf: f32,
num_matches_thresh1: i32
) -> Result<Detail_AffineBestOf2NearestMatcher>
Constructs a "best of 2 nearest" matcher that expects affine transformation between images
Parameters
- full_affine: whether to use full affine transformation with 6 degress of freedom or reduced transformation with 4 degrees of freedom using only rotation, translation and uniform scaling
- try_use_gpu: Should try to use GPU or not
- match_conf: Match distances ration threshold
- num_matches_thresh1: Minimum number of matches required for the 2D affine transform estimation used in the inliers classification step
See also
cv::estimateAffine2D cv::estimateAffinePartial2D
C++ default parameters
- full_affine: false
- try_use_gpu: false
- match_conf: 0.3f
- num_matches_thresh1: 6
Trait Implementations
impl Boxed for Detail_AffineBestOf2NearestMatcher
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Detail_AffineBestOf2NearestMatcherTrait for Detail_AffineBestOf2NearestMatcher
[src]
pub fn as_raw_Detail_AffineBestOf2NearestMatcher(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_AffineBestOf2NearestMatcher(&mut self) -> *mut c_void
[src]
impl Detail_BestOf2NearestMatcherTrait for Detail_AffineBestOf2NearestMatcher
[src]
pub fn as_raw_Detail_BestOf2NearestMatcher(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_BestOf2NearestMatcher(&mut self) -> *mut c_void
[src]
pub fn collect_garbage(&mut self) -> Result<()>
[src]
impl Detail_FeaturesMatcher for Detail_AffineBestOf2NearestMatcher
[src]
pub fn as_raw_Detail_FeaturesMatcher(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void
[src]
pub fn is_thread_safe(&self) -> Result<bool>
[src]
pub fn collect_garbage(&mut self) -> Result<()>
[src]
impl Drop for Detail_AffineBestOf2NearestMatcher
[src]
impl Send for Detail_AffineBestOf2NearestMatcher
[src]
Auto Trait Implementations
impl RefUnwindSafe for Detail_AffineBestOf2NearestMatcher
[src]
impl !Sync for Detail_AffineBestOf2NearestMatcher
[src]
impl Unpin for Detail_AffineBestOf2NearestMatcher
[src]
impl UnwindSafe for Detail_AffineBestOf2NearestMatcher
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,