Click or drag to resize

SparsePyrLKOpticalFlow Constructor
Create a SparsePyrLKOpticalFlow object

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


Type: System.DrawingSize
size of the search window at each pyramid level.
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.
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.
Type: Emgu.CV.CvEnumLKFlowFlag
operation flags
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