Table of Contents

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

prior PCAPrior

Learned prior, or null to use no prior.

basisSize Size?

Number of basis vectors.

sparseRate float

Controls density of sparse matches. Range: (0 .. 0.1).

retainedCornersFraction float

Retained corners fraction. Range: [0 .. 1].

occlusionsThreshold float

Occlusion threshold.

dampingFactor float

Regularization term for solving least-squares. Not related to the prior regularization.

claheClip float

Clip parameter for CLAHE.

Returns

OpticalFlowPCAFlow