Struct opencv::optflow::OpticalFlowPCAFlow [−][src]
pub struct OpticalFlowPCAFlow { /* fields omitted */ }
Expand description
PCAFlow algorithm.
Implementations
Creates an instance of PCAFlow algorithm.
Parameters
- _prior: Learned prior or no prior (default). see also: cv::optflow::PCAPrior
- _basisSize: Number of basis vectors.
- _sparseRate: Controls density of sparse matches.
- _retainedCornersFraction: Retained corners fraction.
- _occlusionsThreshold: Occlusion threshold.
- _dampingFactor: Regularization term for solving least-squares. It is not related to the prior regularization.
- _claheClip: Clip parameter for CLAHE.
C++ default parameters
- _prior: Ptr
() - _basis_size: Size(18,14)
- _sparse_rate: 0.024
- _retained_corners_fraction: 0.2
- _occlusions_threshold: 0.0003
- _damping_factor: 0.00002
- _clahe_clip: 14
Trait Implementations
Stores algorithm parameters in a file storage
simplified API for language bindings Stores algorithm parameters in a file storage Read more
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
Calculates an optical flow. Read more
Releases all inner buffers.
Performs the conversion.