Trait Detail_MatchesInfoTrait

Source
pub trait Detail_MatchesInfoTrait: Detail_MatchesInfoTraitConst {
    // Required method
    fn as_raw_mut_Detail_MatchesInfo(&mut self) -> *mut c_void;

    // Provided methods
    fn set_src_img_idx(&mut self, val: i32) { ... }
    fn set_dst_img_idx(&mut self, val: i32) { ... }
    fn set_matches(&mut self, val: Vector<DMatch>) { ... }
    fn set_inliers_mask(&mut self, val: Vector<u8>) { ... }
    fn set_num_inliers(&mut self, val: i32) { ... }
    fn set_h(&mut self, val: Mat) { ... }
    fn set_confidence(&mut self, val: f64) { ... }
    fn set(&mut self, other: &impl Detail_MatchesInfoTraitConst) -> Result<()> { ... }
    fn get_matches(&mut self) -> Result<Vector<DMatch>> { ... }
    fn get_inliers(&mut self) -> Result<Vector<u8>> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_src_img_idx(&mut self, val: i32)

Source

fn set_dst_img_idx(&mut self, val: i32)

Images indices (optional)

Source

fn set_matches(&mut self, val: Vector<DMatch>)

Source

fn set_inliers_mask(&mut self, val: Vector<u8>)

Geometrically consistent matches mask

Source

fn set_num_inliers(&mut self, val: i32)

Number of geometrically consistent matches

Source

fn set_h(&mut self, val: Mat)

Estimated transformation

Source

fn set_confidence(&mut self, val: f64)

Confidence two images are from the same panorama

Source

fn set(&mut self, other: &impl Detail_MatchesInfoTraitConst) -> Result<()>

Source

fn get_matches(&mut self) -> Result<Vector<DMatch>>

Source

fn get_inliers(&mut self) -> Result<Vector<u8>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§