opencv::mod_prelude

Trait SparseRLOFOpticalFlowTrait

Source
pub trait SparseRLOFOpticalFlowTrait: SparseRLOFOpticalFlowTraitConst + SparseOpticalFlowTrait {
    // Required method
    fn as_raw_mut_SparseRLOFOpticalFlow(&mut self) -> *mut c_void;

    // Provided methods
    fn set_rlof_optical_flow_parameter(
        &mut self,
        val: Ptr<RLOFOpticalFlowParameter>,
    ) -> Result<()> { ... }
    fn set_forward_backward(&mut self, val: f32) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_rlof_optical_flow_parameter( &mut self, val: Ptr<RLOFOpticalFlowParameter>, ) -> Result<()>

@copydoc DenseRLOFOpticalFlow::setRLOFOpticalFlowParameter

Source

fn set_forward_backward(&mut self, val: f32) -> Result<()>

Threshold for the forward backward confidence check For each feature point a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the status will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * see also: setForwardBackward

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§