Class SparsePyrLKOpticalFlow
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Class used for calculating a sparse optical flow. The class can calculate an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.
public class SparsePyrLKOpticalFlow : SparseOpticalFlow, IDisposable
- Inheritance
-
SparsePyrLKOpticalFlow
- Implements
- Inherited Members
Properties
Flags
operation flags
public int Flags { get; set; }
Property Value
MaxLevel
0-based maximal pyramid level number
public int MaxLevel { get; set; }
Property Value
MinEigThreshold
the algorithm calculates the minimum eigenvalue of a 2x2 normal matrix of optical flow equations
public double MinEigThreshold { get; set; }
Property Value
TermCriteria
termination criteria of the iterative search algorithm
public TermCriteria TermCriteria { get; set; }
Property Value
WinSize
size of the search window at each pyramid level
public Size WinSize { get; set; }
Property Value
Methods
Create(Size?, int, TermCriteria?, int, double)
Creates an instance of SparsePyrLKOpticalFlow
public static SparsePyrLKOpticalFlow Create(Size? winSize = null, int maxLevel = 3, TermCriteria? criteria = null, int flags = 0, double minEigThreshold = 0.0001)
Parameters
winSizeSize?maxLevelintcriteriaTermCriteria?flagsintminEigThresholddouble