Trait InpainterBaseTrait

Source
pub trait InpainterBaseTrait: InpainterBaseTraitConst {
    // Required method
    fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void;

    // Provided methods
    fn set_radius(&mut self, val: i32) -> Result<()> { ... }
    fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
    fn inpaint(
        &mut self,
        idx: i32,
        frame: &mut impl MatTrait,
        mask: &mut impl MatTrait,
    ) -> Result<()> { ... }
    fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
    fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
    fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
    fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::videostab::InpainterBase

Required Methods§

Provided Methods§

Source

fn set_radius(&mut self, val: i32) -> Result<()>

Source

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> 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.

Implementors§