opencv::prelude

Trait SuperRes_BroxOpticalFlowTrait

Source
pub trait SuperRes_BroxOpticalFlowTrait: SuperRes_BroxOpticalFlowTraitConst + SuperRes_DenseOpticalFlowExtTrait {
    // Required method
    fn as_raw_mut_SuperRes_BroxOpticalFlow(&mut self) -> *mut c_void;

    // Provided methods
    fn set_alpha(&mut self, val: f64) -> Result<()> { ... }
    fn set_gamma(&mut self, val: f64) -> Result<()> { ... }
    fn set_scale_factor(&mut self, val: f64) -> Result<()> { ... }
    fn set_inner_iterations(&mut self, val: i32) -> Result<()> { ... }
    fn set_outer_iterations(&mut self, val: i32) -> Result<()> { ... }
    fn set_solver_iterations(&mut self, val: i32) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

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

Flow smoothness

§See also

setAlpha getAlpha

Source

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

Gradient constancy importance

§See also

setGamma getGamma

Source

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

Pyramid scale factor

§See also

setScaleFactor getScaleFactor

Source

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

Number of lagged non-linearity iterations (inner loop)

§See also

setInnerIterations getInnerIterations

Source

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

Number of warping iterations (number of pyramid levels)

§See also

setOuterIterations getOuterIterations

Source

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

Number of linear system solver iterations

§See also

setSolverIterations getSolverIterations

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§