Use camshift to track the feature

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

Syntax

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

Parameters

observedFeatures
array<SURFFeature>[]()[][]
The feature found from the observed image
initRegion
MCvBox2D
The predicted location of the model in the observed image. If not known, use MCvBox2D.Empty as default
priorMask
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