Trait Detail_BlocksGainCompensatorTrait

Source
pub trait Detail_BlocksGainCompensatorTrait: Detail_BlocksCompensatorTrait + Detail_BlocksGainCompensatorTraitConst {
    // Required method
    fn as_raw_mut_Detail_BlocksGainCompensator(&mut self) -> *mut c_void;

    // Provided methods
    fn 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<()> { ... }
}
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 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<()>

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§