Table of Contents

Class TrackerMedianFlow

Namespace
Emgu.CV.Legacy
Assembly
Emgu.CV.dll

Median Flow tracker implementation. The tracker is suitable for very smooth and predictable movements when object is visible throughout the whole sequence.It's quite and accurate for this type of problems (in particular, it was shown by authors to outperform MIL). During the implementation period the code at http://www.aonsquared.co.uk/node/5, the courtesy of the author Arthur Amarra, was used for the reference purpose.

public class TrackerMedianFlow : Tracker, IDisposable
Inheritance
TrackerMedianFlow
Implements
Inherited Members

Constructors

TrackerMedianFlow(int, Size, int, MCvTermCriteria, Size, double)

Create a median flow tracker

public TrackerMedianFlow(int pointsInGrid, Size winSize, int maxLevel, MCvTermCriteria termCriteria, Size winSizeNCC, double maxMedianLengthOfDisplacementDifference = 10)

Parameters

pointsInGrid int

Points in grid, use 10 for default.

winSize Size

Win size, use (3, 3) for default

maxLevel int

Max level, use 5 for default.

termCriteria MCvTermCriteria

Termination criteria, use count = 20 and eps = 0.3 for default

winSizeNCC Size

win size NCC, use (30, 30) for default

maxMedianLengthOfDisplacementDifference double

Max median length of displacement difference

Methods

DisposeObject()

Release the unmanaged resources associated with this tracker

protected override void DisposeObject()