Method MeanShift
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
MeanShift(InputArray, ref Rect, TermCriteria)
Finds an object on a back projection image.
public static int MeanShift(InputArray probImage, ref Rect window, TermCriteria criteria)
Parameters
probImageInputArrayBack projection of the object histogram.
windowRectInitial search window.
criteriaTermCriteriaStop criteria for the iterative search algorithm.
Returns
- int
Number of iterations CAMSHIFT took to converge.