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

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

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
)
F#
member CamShiftTrack : 
        observedFeatures : ImageFeature<'TDescriptor>[] * 
        initRegion : MCvBox2D * 
        priorMask : Image<Gray, float32> -> HomographyMatrix 

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

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

See Also