Trait VariationalRefinementTraitConst

Source
pub trait VariationalRefinementTraitConst: DenseOpticalFlowTraitConst {
    // Required method
    fn as_raw_VariationalRefinement(&self) -> *const c_void;

    // Provided methods
    fn get_fixed_point_iterations(&self) -> Result<i32> { ... }
    fn get_sor_iterations(&self) -> Result<i32> { ... }
    fn get_omega(&self) -> Result<f32> { ... }
    fn get_alpha(&self) -> Result<f32> { ... }
    fn get_delta(&self) -> Result<f32> { ... }
    fn get_gamma(&self) -> Result<f32> { ... }
    fn get_epsilon(&self) -> Result<f32> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn get_fixed_point_iterations(&self) -> Result<i32>

Number of outer (fixed-point) iterations in the minimization procedure.

§See also

setFixedPointIterations

Source

fn get_sor_iterations(&self) -> Result<i32>

Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system.

§See also

setSorIterations

Source

fn get_omega(&self) -> Result<f32>

Relaxation factor in SOR

§See also

setOmega

Source

fn get_alpha(&self) -> Result<f32>

Weight of the smoothness term

§See also

setAlpha

Source

fn get_delta(&self) -> Result<f32>

Weight of the color constancy term

§See also

setDelta

Source

fn get_gamma(&self) -> Result<f32>

Weight of the gradient constancy term

§See also

setGamma

Source

fn get_epsilon(&self) -> Result<f32>

Norm value shift for robust penalizer

§See also

setEpsilon

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§