pub trait SparseRLOFOpticalFlowTraitConst: SparseOpticalFlowTraitConst {
// Required method
fn as_raw_SparseRLOFOpticalFlow(&self) -> *const c_void;
// Provided methods
fn get_rlof_optical_flow_parameter(
&self,
) -> Result<Ptr<RLOFOpticalFlowParameter>> { ... }
fn get_forward_backward(&self) -> Result<f32> { ... }
}
Expand description
Constant methods for crate::optflow::SparseRLOFOpticalFlow
Required Methods§
fn as_raw_SparseRLOFOpticalFlow(&self) -> *const c_void
Provided Methods§
Sourcefn get_rlof_optical_flow_parameter(
&self,
) -> Result<Ptr<RLOFOpticalFlowParameter>>
fn get_rlof_optical_flow_parameter( &self, ) -> Result<Ptr<RLOFOpticalFlowParameter>>
Sourcefn get_forward_backward(&self) -> Result<f32>
fn get_forward_backward(&self) -> Result<f32>
Threshold for the forward backward confidence check
For each feature point a motion vector is computed.
* If the forward backward error
* is larger than threshold given by this function then the status will not be used by the following
* vector field interpolation.
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.
* setForwardBackward
§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.