[][src]Trait opencv::prelude::Detail_GainCompensatorTrait

pub trait Detail_GainCompensatorTrait: Detail_ExposureCompensator {
    pub fn as_raw_Detail_GainCompensator(&self) -> *const c_void;
pub fn as_raw_mut_Detail_GainCompensator(&mut self) -> *mut c_void; pub fn apply(
        &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<()> { ... }
pub fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()> { ... }
pub fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()> { ... }
pub fn get_nr_feeds(&mut self) -> Result<i32> { ... }
pub fn set_similarity_threshold(
        &mut self,
        similarity_threshold: f64
    ) -> Result<()> { ... }
pub fn get_similarity_threshold(&self) -> Result<f64> { ... }
pub fn prepare_similarity_mask(
        &mut self,
        corners: &Vector<Point>,
        images: &Vector<UMat>
    ) -> Result<()> { ... }
pub fn gains(&self) -> Result<Vector<f64>> { ... } }

Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities, see BL07 and WJ10 for details.

Required methods

Loading content...

Provided methods

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

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]

pub fn get_similarity_threshold(&self) -> Result<f64>[src]

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

pub fn gains(&self) -> Result<Vector<f64>>[src]

Loading content...

Implementors

Loading content...