pub trait VariationalRefinementConst: DenseOpticalFlowConst {
    // 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> { ... }
}
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

Implementors§