Legacy_TrackerMedianFlow_ParamsTraitConst

Trait Legacy_TrackerMedianFlow_ParamsTraitConst 

Source
pub trait Legacy_TrackerMedianFlow_ParamsTraitConst {
    // Required method
    fn as_raw_Legacy_TrackerMedianFlow_Params(&self) -> *const c_void;

    // Provided methods
    fn points_in_grid(&self) -> i32 { ... }
    fn win_size(&self) -> Size { ... }
    fn max_level(&self) -> i32 { ... }
    fn term_criteria(&self) -> TermCriteria { ... }
    fn win_size_ncc(&self) -> Size { ... }
    fn max_median_length_of_displacement_difference(&self) -> f64 { ... }
    fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn points_in_grid(&self) -> i32

square root of number of keypoints used; increase it to trade accurateness for speed

Source

fn win_size(&self) -> Size

window size parameter for Lucas-Kanade optical flow

Source

fn max_level(&self) -> i32

maximal pyramid level number for Lucas-Kanade optical flow

Source

fn term_criteria(&self) -> TermCriteria

termination criteria for Lucas-Kanade optical flow

Source

fn win_size_ncc(&self) -> Size

window size around a point for normalized cross-correlation check

Source

fn max_median_length_of_displacement_difference(&self) -> f64

criterion for loosing the tracked object

Source

fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

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§