Type Definition opencv::types::PtrOfRLOFOpticalFlowParameter
source · [−]pub type PtrOfRLOFOpticalFlowParameter = Ptr<RLOFOpticalFlowParameter>;Implementations
sourceimpl PtrOfRLOFOpticalFlowParameter
impl PtrOfRLOFOpticalFlowParameter
pub fn as_raw_PtrOfRLOFOpticalFlowParameter(&self) -> *const c_void
pub fn as_raw_mut_PtrOfRLOFOpticalFlowParameter(&mut self) -> *mut c_void
Trait Implementations
sourceimpl RLOFOpticalFlowParameterTrait for PtrOfRLOFOpticalFlowParameter
impl RLOFOpticalFlowParameterTrait for PtrOfRLOFOpticalFlowParameter
fn as_raw_mut_RLOFOpticalFlowParameter(&mut self) -> *mut c_void
fn set_solver_type(&mut self, val: SolverType)
fn set_support_region_type(&mut self, val: SupportRegionType)
fn set_norm_sigma0(&mut self, val: f32)
fn set_norm_sigma1(&mut self, val: f32)
fn set_small_win_size(&mut self, val: i32)
fn set_large_win_size(&mut self, val: i32)
fn set_cross_segmentation_threshold(&mut self, val: i32)
fn set_max_level(&mut self, val: i32)
fn set_use_initial_flow(&mut self, val: bool)
fn set_use_illumination_model(&mut self, val: bool)
fn set_use_global_motion_prior(&mut self, val: bool)
fn set_max_iteration(&mut self, val: i32)
fn set_min_eigen_value(&mut self, val: f32)
fn set_global_motion_ransac_threshold(&mut self, val: f32)
sourcefn set_use_m_estimator(&mut self, val: bool) -> Result<()>
fn set_use_m_estimator(&mut self, val: bool) -> Result<()>
Enable M-estimator or disable and use least-square estimator.
Enables M-estimator by setting sigma parameters to (3.2, 7.0). Disabling M-estimator can reduce
* runtime, while enabling can improve the accuracy. Read more