Finds an object on a back projection image.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int MeanShift( InputArray probImage, ref Rect window, TermCriteria criteria )
Parameters
- probImage
- Type: OpenCvSharp.CPlusPlusInputArray
Back projection of the object histogram. - window
- Type: OpenCvSharp.CPlusPlusRect
Initial search window. - criteria
- Type: OpenCvSharp.CPlusPlusTermCriteria
Stop criteria for the iterative search algorithm.
Return Value
Type: Int32Number of iterations CAMSHIFT took to converge.
See Also