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
Constant methods for crate::optflow::DualTVL1OpticalFlow
Required Methods§
fn as_raw_DualTVL1OpticalFlow(&self) -> *const c_void
Provided Methods§
Sourcefn get_lambda(&self) -> Result<f64>
fn get_lambda(&self) -> Result<f64>
Sourcefn get_scales_number(&self) -> Result<i32>
fn get_scales_number(&self) -> Result<i32>
Sourcefn get_warpings_number(&self) -> Result<i32>
fn get_warpings_number(&self) -> Result<i32>
Sourcefn get_epsilon(&self) -> Result<f64>
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
Sourcefn get_inner_iterations(&self) -> Result<i32>
fn get_inner_iterations(&self) -> Result<i32>
Inner iterations (between outlier filtering) used in the numerical scheme
§See also
setInnerIterations
Sourcefn get_outer_iterations(&self) -> Result<i32>
fn get_outer_iterations(&self) -> Result<i32>
Sourcefn get_use_initial_flow(&self) -> Result<bool>
fn get_use_initial_flow(&self) -> Result<bool>
Sourcefn get_scale_step(&self) -> Result<f64>
fn get_scale_step(&self) -> Result<f64>
Sourcefn get_median_filtering(&self) -> Result<i32>
fn get_median_filtering(&self) -> Result<i32>
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.