We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to use the pyrMeanShiftFiltering function from OpenCV. So far, I know that there's two different types of arguments for that function. One requires two mat and two double, and the other function requires 2 mat, 2 doubles, 1 int, and 1 term criteria.
imgproc.pyrMeanShiftFiltering( mat, mat, double, double, int, termcriteria);
I am trying to use the second one, but I don't know how to use the term criteria. Can someone explain how term criteria works ( how I call it, set it up, and use it)?