pub trait InpainterBase: InpainterBaseConst {
    // 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 Mat,
        mask: &mut Mat
    ) -> 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<()> { ... }
}