http://www.emgu.com
Use camshift to track the feature

Namespace: Emgu.CV.Features2D
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public HomographyMatrix CamShiftTrack(
	ImageFeature<TDescriptor>[] observedFeatures,
	MCvBox2D initRegion,
	Image<Gray, float> priorMask
)
Visual Basic
Public Function CamShiftTrack ( _
	observedFeatures As ImageFeature(Of TDescriptor)(), _
	initRegion As MCvBox2D, _
	priorMask As Image(Of Gray, Single) _
) As HomographyMatrix
Visual C++
public:
HomographyMatrix^ CamShiftTrack(
	array<ImageFeature<TDescriptor>>^ observedFeatures, 
	MCvBox2D initRegion, 
	Image<Gray, float>^ priorMask
)

Parameters

observedFeatures
Type: array<Emgu.CV.Features2D..::..ImageFeature<(Of <(<'TDescriptor>)>)>>[]()[][]
The feature found from the observed image
initRegion
Type: Emgu.CV.Structure..::..MCvBox2D
The predicted location of the model in the observed image. If not known, use MCvBox2D.Empty as default
priorMask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Single>)>)>
The mask that should be the same size as the observed image. Contains a priori value of the probability a match can be found. If you are not sure, pass an image fills with 1.0s

Return Value

If a match is found, the homography projection matrix is returned. Otherwise null is returned

See Also