[][src]Trait opencv::stitching::prelude::Detail_MatchesInfoTrait

pub trait Detail_MatchesInfoTrait {
    pub fn as_raw_Detail_MatchesInfo(&self) -> *const c_void;
pub fn as_raw_mut_Detail_MatchesInfo(&mut self) -> *mut c_void; pub fn src_img_idx(&self) -> i32 { ... }
pub fn set_src_img_idx(&mut self, val: i32) { ... }
pub fn dst_img_idx(&self) -> i32 { ... }
pub fn set_dst_img_idx(&mut self, val: i32) { ... }
pub fn matches(&mut self) -> Vector<DMatch> { ... }
pub fn set_matches(&mut self, val: Vector<DMatch>) { ... }
pub fn inliers_mask(&mut self) -> Vector<u8> { ... }
pub fn set_inliers_mask(&mut self, val: Vector<u8>) { ... }
pub fn num_inliers(&self) -> i32 { ... }
pub fn set_num_inliers(&mut self, val: i32) { ... }
pub fn h(&mut self) -> Mat { ... }
pub fn set_h(&mut self, val: Mat) { ... }
pub fn confidence(&self) -> f64 { ... }
pub fn set_confidence(&mut self, val: f64) { ... }
pub fn get_matches(&mut self) -> Result<Vector<DMatch>> { ... }
pub fn get_inliers(&mut self) -> Result<Vector<u8>> { ... } }

Structure containing information about matches between two images.

It's assumed that there is a transformation between those images. Transformation may be homography or affine transformation based on selected matcher.

See also

detail::FeaturesMatcher

Required methods

Loading content...

Provided methods

pub fn src_img_idx(&self) -> i32[src]

pub fn set_src_img_idx(&mut self, val: i32)[src]

pub fn dst_img_idx(&self) -> i32[src]

Images indices (optional)

pub fn set_dst_img_idx(&mut self, val: i32)[src]

Images indices (optional)

pub fn matches(&mut self) -> Vector<DMatch>[src]

pub fn set_matches(&mut self, val: Vector<DMatch>)[src]

pub fn inliers_mask(&mut self) -> Vector<u8>[src]

Geometrically consistent matches mask

pub fn set_inliers_mask(&mut self, val: Vector<u8>)[src]

Geometrically consistent matches mask

pub fn num_inliers(&self) -> i32[src]

Number of geometrically consistent matches

pub fn set_num_inliers(&mut self, val: i32)[src]

Number of geometrically consistent matches

pub fn h(&mut self) -> Mat[src]

Estimated transformation

pub fn set_h(&mut self, val: Mat)[src]

Estimated transformation

pub fn confidence(&self) -> f64[src]

Confidence two images are from the same panorama

pub fn set_confidence(&mut self, val: f64)[src]

Confidence two images are from the same panorama

pub fn get_matches(&mut self) -> Result<Vector<DMatch>>[src]

pub fn get_inliers(&mut self) -> Result<Vector<u8>>[src]

Loading content...

Implementors

Loading content...