[][src]Trait opencv::hub_prelude::Detail_FeatherBlenderTrait

pub trait Detail_FeatherBlenderTrait: Detail_BlenderTrait {
    pub fn as_raw_Detail_FeatherBlender(&self) -> *const c_void;
pub fn as_raw_mut_Detail_FeatherBlender(&mut self) -> *mut c_void; pub fn sharpness(&self) -> Result<f32> { ... }
pub fn set_sharpness(&mut self, val: f32) -> Result<()> { ... }
pub fn prepare(&mut self, dst_roi: Rect) -> Result<()> { ... }
pub fn feed(
        &mut self,
        img: &dyn ToInputArray,
        mask: &dyn ToInputArray,
        tl: Point
    ) -> Result<()> { ... }
pub fn blend(
        &mut self,
        dst: &mut dyn ToInputOutputArray,
        dst_mask: &mut dyn ToInputOutputArray
    ) -> Result<()> { ... }
pub fn create_weight_maps(
        &mut self,
        masks: &Vector<UMat>,
        corners: &Vector<Point>,
        weight_maps: &mut Vector<UMat>
    ) -> Result<Rect> { ... } }

Simple blender which mixes images at its borders.

Required methods

Loading content...

Provided methods

pub fn sharpness(&self) -> Result<f32>[src]

pub fn set_sharpness(&mut self, val: f32) -> Result<()>[src]

pub fn prepare(&mut self, dst_roi: Rect) -> Result<()>[src]

pub fn feed(
    &mut self,
    img: &dyn ToInputArray,
    mask: &dyn ToInputArray,
    tl: Point
) -> Result<()>
[src]

pub fn blend(
    &mut self,
    dst: &mut dyn ToInputOutputArray,
    dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
[src]

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

Creates weight maps for fixed set of source images by their masks and top-left corners. Final image can be obtained by simple weighting of the source images.

Loading content...

Implementors

Loading content...