pub trait FarnebackOpticalFlowTraitConst: DenseOpticalFlowTraitConst {
// Required method
fn as_raw_FarnebackOpticalFlow(&self) -> *const c_void;
// Provided methods
fn get_num_levels(&self) -> Result<i32> { ... }
fn get_pyr_scale(&self) -> Result<f64> { ... }
fn get_fast_pyramids(&self) -> Result<bool> { ... }
fn get_win_size(&self) -> Result<i32> { ... }
fn get_num_iters(&self) -> Result<i32> { ... }
fn get_poly_n(&self) -> Result<i32> { ... }
fn get_poly_sigma(&self) -> Result<f64> { ... }
fn get_flags(&self) -> Result<i32> { ... }
}
Expand description
Constant methods for crate::video::FarnebackOpticalFlow
Required Methods§
fn as_raw_FarnebackOpticalFlow(&self) -> *const c_void
Provided Methods§
fn get_num_levels(&self) -> Result<i32>
fn get_pyr_scale(&self) -> Result<f64>
fn get_fast_pyramids(&self) -> Result<bool>
fn get_win_size(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_poly_n(&self) -> Result<i32>
fn get_poly_sigma(&self) -> Result<f64>
fn get_flags(&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.