[][src]Trait opencv::stitching::Detail_ExposureCompensator

pub trait Detail_ExposureCompensator {
    pub fn as_raw_Detail_ExposureCompensator(&self) -> *const c_void;
pub fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void; pub fn feed(
        &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<()> { ... }
pub fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()> { ... }
pub fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()> { ... }
pub fn set_update_gain(&mut self, b: bool) -> Result<()> { ... }
pub fn get_update_gain(&mut self) -> Result<bool> { ... } }

Base class for all exposure compensators.

Required methods

Loading content...

Provided methods

pub fn feed(
    &mut self,
    corners: &Vector<Point>,
    images: &Vector<UMat>,
    masks: &Vector<UMat>
) -> Result<()>
[src]

Parameters

  • corners: Source image top-left corners
  • images: Source images
  • masks: Image masks to update (second value in pair specifies the value which should be used to detect where image is)

pub fn apply(
    &mut self,
    index: i32,
    corner: Point,
    image: &mut dyn ToInputOutputArray,
    mask: &dyn ToInputArray
) -> Result<()>
[src]

Compensate exposure in the specified image.

Parameters

  • index: Image index
  • corner: Image top-left corner
  • image: Image to process
  • mask: Image mask

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]

Loading content...

Implementations

impl<'_> dyn Detail_ExposureCompensator + '_[src]

Implementors

Loading content...