pub trait SparsePyrLKOpticalFlowTrait: SparseOpticalFlowTrait + SparsePyrLKOpticalFlowTraitConst {
// Required method
fn as_raw_mut_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void;
// Provided methods
fn set_win_size(&mut self, win_size: Size) -> Result<()> { ... }
fn set_max_level(&mut self, max_level: i32) -> Result<()> { ... }
fn set_term_criteria(&mut self, crit: &mut TermCriteria) -> Result<()> { ... }
fn set_flags(&mut self, flags: i32) -> Result<()> { ... }
fn set_min_eig_threshold(&mut self, min_eig_threshold: f64) -> Result<()> { ... }
}Expand description
Mutable methods for crate::video::SparsePyrLKOpticalFlow
Required Methods§
fn as_raw_mut_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void
Provided Methods§
fn set_win_size(&mut self, win_size: Size) -> Result<()>
fn set_max_level(&mut self, max_level: i32) -> Result<()>
fn set_term_criteria(&mut self, crit: &mut TermCriteria) -> Result<()>
fn set_flags(&mut self, flags: i32) -> Result<()>
fn set_min_eig_threshold(&mut self, min_eig_threshold: f64) -> Result<()>
Object Safety§
This trait is not object safe.