pub trait Detail_BlocksCompensatorTrait: Detail_BlocksCompensatorTraitConst + Detail_ExposureCompensatorTrait {
// Required method
fn as_raw_mut_Detail_BlocksCompensator(&mut self) -> *mut c_void;
// Provided methods
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 set_block_size(&mut self, width: i32, height: i32) -> Result<()> { ... }
fn set_block_size_1(&mut self, size: Size) -> Result<()> { ... }
fn set_nr_gains_filtering_iterations(
&mut self,
nr_iterations: i32,
) -> Result<()> { ... }
}Expand description
Mutable methods for crate::stitching::Detail_BlocksCompensator
Required Methods§
fn as_raw_mut_Detail_BlocksCompensator(&mut self) -> *mut c_void
Provided Methods§
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 set_block_size(&mut self, width: i32, height: i32) -> Result<()>
fn set_block_size_1(&mut self, size: Size) -> Result<()>
fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32, ) -> 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.