[−][src]Struct opencv::types::BinaryDescriptorMatcherRef
Methods from Deref<Target = BinaryDescriptorMatcher>
pub fn as_raw_BinaryDescriptorMatcher(&self) -> *mut c_void
[src]
pub fn _match(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut VectorOfDMatch,
mask: &Mat
) -> Result<()>
[src]
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut VectorOfDMatch,
mask: &Mat
) -> Result<()>
For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class
Parameters
- queryDescriptors: query descriptors
- trainDescriptors: dataset of descriptors furnished by user
- matches: vector to host retrieved matches
- mask: mask to select which input descriptors must be matched to one in dataset
C++ default parameters
- mask: Mat()
pub fn knn_match(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut VectorOfVectorOfDMatch,
k: i32,
mask: &Mat,
compact_result: bool
) -> Result<()>
[src]
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut VectorOfVectorOfDMatch,
k: i32,
mask: &Mat,
compact_result: bool
) -> Result<()>
For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class
Parameters
- queryDescriptors: query descriptors
- trainDescriptors: dataset of descriptors furnished by user
- matches: vector to host retrieved matches
- k: number of the closest descriptors to be returned for every input query
- mask: mask to select which input descriptors must be matched to ones in dataset
- compactResult: flag to obtain a compact result (if true, a vector that doesn't contain any matches for a given query is not inserted in final result)
C++ default parameters
- mask: Mat()
- compact_result: false
pub fn radius_match(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut VectorOfVectorOfDMatch,
max_distance: f32,
mask: &Mat,
compact_result: bool
) -> Result<()>
[src]
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut VectorOfVectorOfDMatch,
max_distance: f32,
mask: &Mat,
compact_result: bool
) -> Result<()>
For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query
Parameters
- queryDescriptors: query descriptors
- trainDescriptors: dataset of descriptors furnished by user
- matches: vector to host retrieved matches
- maxDistance: search radius
- mask: mask to select which input descriptors must be matched to ones in dataset
- compactResult: flag to obtain a compact result (if true, a vector that doesn't contain any matches for a given query is not inserted in final result)
C++ default parameters
- mask: Mat()
- compact_result: false
Trait Implementations
impl<'_> Deref for BinaryDescriptorMatcherRef<'_>
[src]
type Target = BinaryDescriptorMatcher
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
impl<'o> RefUnwindSafe for BinaryDescriptorMatcherRef<'o>
impl<'o> !Send for BinaryDescriptorMatcherRef<'o>
impl<'o> !Sync for BinaryDescriptorMatcherRef<'o>
impl<'o> Unpin for BinaryDescriptorMatcherRef<'o>
impl<'o> UnwindSafe for BinaryDescriptorMatcherRef<'o>
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,
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.
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>,