SuperRes_FarnebackOpticalFlowTrait

Trait SuperRes_FarnebackOpticalFlowTrait 

Source
pub trait SuperRes_FarnebackOpticalFlowTrait: SuperRes_DenseOpticalFlowExtTrait + SuperRes_FarnebackOpticalFlowTraitConst {
    // Required method
    fn as_raw_mut_SuperRes_FarnebackOpticalFlow(&mut self) -> *mut c_void;

    // Provided methods
    fn set_pyr_scale(&mut self, val: f64) -> Result<()> { ... }
    fn set_levels_number(&mut self, val: i32) -> Result<()> { ... }
    fn set_window_size(&mut self, val: i32) -> Result<()> { ... }
    fn set_iterations(&mut self, val: i32) -> Result<()> { ... }
    fn set_poly_n(&mut self, val: i32) -> Result<()> { ... }
    fn set_poly_sigma(&mut self, val: f64) -> Result<()> { ... }
    fn set_flags(&mut self, val: i32) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_pyr_scale(&mut self, val: f64) -> Result<()>

§See also

setPyrScale getPyrScale

Source

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

§See also

setLevelsNumber getLevelsNumber

Source

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

§See also

setWindowSize getWindowSize

Source

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

§See also

setIterations getIterations

Source

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

§See also

setPolyN getPolyN

Source

fn set_poly_sigma(&mut self, val: f64) -> Result<()>

§See also

setPolySigma getPolySigma

Source

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

§See also

setFlags getFlags

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§