Click or drag to resize

SparsePyrLKOpticalFlow Constructor

http://www.emgu.com
Create a SparsePyrLKOpticalFlow object

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public SparsePyrLKOpticalFlow(
	Size winSize,
	int maxLevel,
	MCvTermCriteria crit,
	LKFlowFlag flags,
	double minEigThreshold
)

Parameters

winSize
Type: System.DrawingSize
size of the search window at each pyramid level.
maxLevel
Type: SystemInt32
0-based maximal pyramid level number; if set to 0, pyramids are not used (single level), if set to 1, two levels are used, and so on; if pyramids are passed to input then algorithm will use as many levels as pyramids have but no more than maxLevel.
crit
Type: Emgu.CV.StructureMCvTermCriteria
specifying the termination criteria of the iterative search algorithm (after the specified maximum number of iterations criteria.maxCount or when the search window moves by less than criteria.epsilon.
flags
Type: Emgu.CV.CvEnumLKFlowFlag
operation flags
minEigThreshold
Type: SystemDouble
the algorithm calculates the minimum eigen value of a 2x2 normal matrix of optical flow equations, divided by number of pixels in a window; if this value is less than minEigThreshold, then a corresponding feature is filtered out and its flow is not processed, so it allows to remove bad points and get a performance boost.
See Also