Struct opencv::core::DMatch [−][src]
Class for matching keypoint descriptors
query descriptor index, train descriptor index, train image index, and distance between descriptors.
Fields
query_idx: i32query descriptor index
train_idx: i32train descriptor index
img_idx: i32train image index
distance: f32Implementations
impl DMatch[src]
pub fn default() -> Result<DMatch>[src]
////////////////////////////// DMatch ////////////////////////////////
pub fn new(_query_idx: i32, _train_idx: i32, _distance: f32) -> Result<DMatch>[src]
pub fn new_index(
_query_idx: i32,
_train_idx: i32,
_img_idx: i32,
_distance: f32
) -> Result<DMatch>[src]
_query_idx: i32,
_train_idx: i32,
_img_idx: i32,
_distance: f32
) -> Result<DMatch>
Trait Implementations
impl Clone for DMatch[src]
impl Copy for DMatch[src]
impl Debug for DMatch[src]
impl PartialEq<DMatch> for DMatch[src]
impl StructuralPartialEq for DMatch[src]
impl VectorElement for DMatch where
Vector<DMatch>: VectorExtern<DMatch>, [src]
Vector<DMatch>: VectorExtern<DMatch>,
Auto Trait Implementations
impl RefUnwindSafe for DMatch
impl Send for DMatch
impl Sync for DMatch
impl Unpin for DMatch
impl UnwindSafe for DMatch
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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,