Trait DualTVL1OpticalFlowTraitConst

Source
pub trait DualTVL1OpticalFlowTraitConst: DenseOpticalFlowTraitConst {
Show 13 methods // Required method fn as_raw_DualTVL1OpticalFlow(&self) -> *const c_void; // Provided methods fn get_tau(&self) -> Result<f64> { ... } fn get_lambda(&self) -> Result<f64> { ... } fn get_theta(&self) -> Result<f64> { ... } fn get_gamma(&self) -> Result<f64> { ... } fn get_scales_number(&self) -> Result<i32> { ... } fn get_warpings_number(&self) -> Result<i32> { ... } fn get_epsilon(&self) -> Result<f64> { ... } fn get_inner_iterations(&self) -> Result<i32> { ... } fn get_outer_iterations(&self) -> Result<i32> { ... } fn get_use_initial_flow(&self) -> Result<bool> { ... } fn get_scale_step(&self) -> Result<f64> { ... } fn get_median_filtering(&self) -> Result<i32> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn get_tau(&self) -> Result<f64>

Time step of the numerical scheme

§See also

setTau

Source

fn get_lambda(&self) -> Result<f64>

Weight parameter for the data term, attachment parameter

§See also

setLambda

Source

fn get_theta(&self) -> Result<f64>

Weight parameter for (u - v)^2, tightness parameter

§See also

setTheta

Source

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

coefficient for additional illumination variation term

§See also

setGamma

Source

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

Number of scales used to create the pyramid of images

§See also

setScalesNumber

Source

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

Number of warpings per scale

§See also

setWarpingsNumber

Source

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

Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time

§See also

setEpsilon

Source

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

Inner iterations (between outlier filtering) used in the numerical scheme

§See also

setInnerIterations

Source

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

Outer iterations (number of inner loops) used in the numerical scheme

§See also

setOuterIterations

Source

fn get_use_initial_flow(&self) -> Result<bool>

Use initial flow

§See also

setUseInitialFlow

Source

fn get_scale_step(&self) -> Result<f64>

Step between scales (<1)

§See also

setScaleStep

Source

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

Median filter kernel size (1 = no filter) (3 or 5)

§See also

setMedianFiltering

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§