Emgu CV Library Documentation
cvCamShift Method (probImage, window, criteria, comp, box)
NamespacesEmgu.CVCvInvokecvCamShift(IntPtr, MCvRect, MCvTermCriteria, MCvConnectedComp%, MCvBox2D%)

www.emgu.com/wiki
Implements CAMSHIFT object tracking algrorithm ([Bradski98]). First, it finds an object center using cvMeanShift and, after that, calculates the object size and orientation.
Declaration Syntax
C#Visual BasicVisual C++
public static int cvCamShift(
	IntPtr probImage,
	MCvRect window,
	MCvTermCriteria criteria,
	out MCvConnectedComp comp,
	out MCvBox2D box
)
Public Shared Function cvCamShift ( _
	probImage As IntPtr, _
	window As MCvRect, _
	criteria As MCvTermCriteria, _
	<OutAttribute> ByRef comp As MCvConnectedComp, _
	<OutAttribute> ByRef box As MCvBox2D _
) As Integer
public:
static int cvCamShift(
	IntPtr probImage, 
	MCvRect window, 
	MCvTermCriteria criteria, 
	[OutAttribute] MCvConnectedComp% comp, 
	[OutAttribute] MCvBox2D% box
)
Parameters
probImage (IntPtr)
Back projection of object histogram
window (MCvRect)
Initial search window
criteria (MCvTermCriteria)
Criteria applied to determine when the window search should be finished
comp ( MCvConnectedComp %)
Resultant structure that contains converged search window coordinates (comp->rect field) and sum of all pixels inside the window (comp->area field).
box ( MCvBox2D %)
Circumscribed box for the object. If not NULL, contains object size and orientation
Return Value
number of iterations made within cvMeanShift

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)