Class OpticalFlowPCAFlow
- Namespace
- OpenCvSharp.OptFlow
- Assembly
- OpenCvSharp.dll
PCAFlow algorithm.
public class OpticalFlowPCAFlow : DenseOpticalFlow, IDisposable
- Inheritance
-
OpticalFlowPCAFlow
- Implements
- Inherited Members
Methods
Create(PCAPrior?, Size?, float, float, float, float, float)
Creates an instance of the PCAFlow algorithm.
public static OpticalFlowPCAFlow Create(PCAPrior? prior = null, Size? basisSize = null, float sparseRate = 0.024, float retainedCornersFraction = 0.2, float occlusionsThreshold = 0.0003, float dampingFactor = 2E-05, float claheClip = 14)
Parameters
priorPCAPriorLearned prior, or null to use no prior.
basisSizeSize?Number of basis vectors.
sparseRatefloatControls density of sparse matches. Range: (0 .. 0.1).
retainedCornersFractionfloatRetained corners fraction. Range: [0 .. 1].
occlusionsThresholdfloatOcclusion threshold.
dampingFactorfloatRegularization term for solving least-squares. Not related to the prior regularization.
claheClipfloatClip parameter for CLAHE.