Trait Detail_GainCompensatorTrait

Source
pub trait Detail_GainCompensatorTrait: Detail_ExposureCompensatorTrait + Detail_GainCompensatorTraitConst {
    // Required method
    fn as_raw_mut_Detail_GainCompensator(&mut self) -> *mut c_void;

    // Provided methods
    fn feed(
        &mut self,
        corners: &Vector<Point>,
        images: &Vector<UMat>,
        masks: &Vector<Tuple<(UMat, u8)>>,
    ) -> Result<()> { ... }
    fn single_feed(
        &mut self,
        corners: &Vector<Point>,
        images: &Vector<UMat>,
        masks: &Vector<Tuple<(UMat, u8)>>,
    ) -> Result<()> { ... }
    fn apply(
        &mut self,
        index: i32,
        corner: Point,
        image: &mut impl ToInputOutputArray,
        mask: &impl ToInputArray,
    ) -> Result<()> { ... }
    fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()> { ... }
    fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()> { ... }
    fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()> { ... }
    fn get_nr_feeds(&mut self) -> Result<i32> { ... }
    fn set_similarity_threshold(
        &mut self,
        similarity_threshold: f64,
    ) -> Result<()> { ... }
    fn prepare_similarity_mask(
        &mut self,
        corners: &Vector<Point>,
        images: &Vector<UMat>,
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source

fn single_feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

Source

fn get_nr_feeds(&mut self) -> Result<i32>

Source

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

Source

fn prepare_similarity_mask( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, ) -> Result<()>

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§