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
Mutable methods for crate::stitching::Detail_BlocksGainCompensator
Required Methods§
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<()>
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.