http://www.emgu.com
Iterates to find the object center given its back projection and initial position of search window. The iterations are made until the search window center moves by less than the given value and/or until the function has done the maximum number of iterations.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static int MeanShift(
IInputArray probImage,
ref Rectangle window,
MCvTermCriteria criteria
)
Public Shared Function MeanShift (
probImage As IInputArray,
ByRef window As Rectangle,
criteria As MCvTermCriteria
) As Integer
public:
static int MeanShift(
IInputArray^ probImage,
Rectangle% window,
MCvTermCriteria criteria
)
static member MeanShift :
probImage : IInputArray *
window : Rectangle byref *
criteria : MCvTermCriteria -> int
Parameters
- probImage
- Type: Emgu.CVIInputArray
Back projection of object histogram - window
- Type: System.DrawingRectangle
Initial search window - criteria
- Type: Emgu.CV.StructureMCvTermCriteria
Criteria applied to determine when the window search should be finished.
Return Value
Type:
Int32The number of iterations made
See Also