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