[−][src]Struct opencv::stitching::Detail_GainCompensator
Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see BL07 and WJ10 for details.
Implementations
impl Detail_GainCompensator
[src]
pub fn as_raw_Detail_GainCompensator(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_GainCompensator(&mut self) -> *mut c_void
[src]
impl Detail_GainCompensator
[src]
pub fn default() -> Result<Detail_GainCompensator>
[src]
pub fn new(nr_feeds: i32) -> Result<Detail_GainCompensator>
[src]
Trait Implementations
impl Boxed for Detail_GainCompensator
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Detail_ExposureCompensator for Detail_GainCompensator
[src]
pub fn as_raw_Detail_ExposureCompensator(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void
[src]
pub fn feed(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<UMat>
) -> Result<()>
[src]
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<UMat>
) -> Result<()>
pub fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
[src]
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
pub fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
[src]
pub fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
[src]
pub fn set_update_gain(&mut self, b: bool) -> Result<()>
[src]
pub fn get_update_gain(&mut self) -> Result<bool>
[src]
impl Detail_GainCompensatorTrait for Detail_GainCompensator
[src]
pub fn as_raw_Detail_GainCompensator(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_GainCompensator(&mut self) -> *mut c_void
[src]
pub fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
[src]
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
pub fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
[src]
pub fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
[src]
pub fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>
[src]
pub fn get_nr_feeds(&mut self) -> Result<i32>
[src]
pub fn set_similarity_threshold(
&mut self,
similarity_threshold: f64
) -> Result<()>
[src]
&mut self,
similarity_threshold: f64
) -> Result<()>
pub fn get_similarity_threshold(&self) -> Result<f64>
[src]
pub fn prepare_similarity_mask(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>
) -> Result<()>
[src]
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>
) -> Result<()>
pub fn gains(&self) -> Result<Vector<f64>>
[src]
impl Drop for Detail_GainCompensator
[src]
impl Send for Detail_GainCompensator
[src]
Auto Trait Implementations
impl RefUnwindSafe for Detail_GainCompensator
[src]
impl !Sync for Detail_GainCompensator
[src]
impl Unpin for Detail_GainCompensator
[src]
impl UnwindSafe for Detail_GainCompensator
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,