Use camshift to track the feature

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

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

Parameters

observedFeatures
Type: array< Emgu.CV..::.SURFFeature >[]()[]
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