[−][src]Struct opencv::stitching::Detail_BestOf2NearestMatcher
Features matcher 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
See also
detail::FeaturesMatcher
Implementations
impl Detail_BestOf2NearestMatcher
[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]
impl Detail_BestOf2NearestMatcher
[src]
pub fn new(
try_use_gpu: bool,
match_conf: f32,
num_matches_thresh1: i32,
num_matches_thresh2: i32
) -> Result<Detail_BestOf2NearestMatcher>
[src]
try_use_gpu: bool,
match_conf: f32,
num_matches_thresh1: i32,
num_matches_thresh2: i32
) -> Result<Detail_BestOf2NearestMatcher>
Constructs a "best of 2 nearest" matcher.
Parameters
- 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 projective transform estimation used in the inliers classification step
- num_matches_thresh2: Minimum number of matches required for the 2D projective transform re-estimation on inliers
C++ default parameters
- try_use_gpu: false
- match_conf: 0.3f
- num_matches_thresh1: 6
- num_matches_thresh2: 6
pub fn create(
try_use_gpu: bool,
match_conf: f32,
num_matches_thresh1: i32,
num_matches_thresh2: i32
) -> Result<Ptr<Detail_BestOf2NearestMatcher>>
[src]
try_use_gpu: bool,
match_conf: f32,
num_matches_thresh1: i32,
num_matches_thresh2: i32
) -> Result<Ptr<Detail_BestOf2NearestMatcher>>
C++ default parameters
- try_use_gpu: false
- match_conf: 0.3f
- num_matches_thresh1: 6
- num_matches_thresh2: 6
Trait Implementations
impl Boxed for Detail_BestOf2NearestMatcher
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Detail_BestOf2NearestMatcherTrait for Detail_BestOf2NearestMatcher
[src]
fn as_raw_Detail_BestOf2NearestMatcher(&self) -> *const c_void
[src]
fn as_raw_mut_Detail_BestOf2NearestMatcher(&mut self) -> *mut c_void
[src]
fn collect_garbage(&mut self) -> Result<()>
[src]
impl Detail_FeaturesMatcher for Detail_BestOf2NearestMatcher
[src]
fn as_raw_Detail_FeaturesMatcher(&self) -> *const c_void
[src]
fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void
[src]
fn is_thread_safe(&self) -> Result<bool>
[src]
fn collect_garbage(&mut self) -> Result<()>
[src]
impl Drop for Detail_BestOf2NearestMatcher
[src]
impl Send for Detail_BestOf2NearestMatcher
[src]
Auto Trait Implementations
impl RefUnwindSafe for Detail_BestOf2NearestMatcher
impl !Sync for Detail_BestOf2NearestMatcher
impl Unpin for Detail_BestOf2NearestMatcher
impl UnwindSafe for Detail_BestOf2NearestMatcher
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>,