Ask Your Question

gusriobr's profile - activity

2017-06-19 19:45:04 -0600 asked a question Getting meanshift segments in python (opencv 3.2)

I'm running meanshift on a image to extract objects from the image. I use this function included in python interface:

    img = cv2.pyrMeanShiftFiltering(img, 20, 30)

But this method just returns the quantizated image, and I have no access to the label matrix to obtain segments in order to classify them. Is there another way to obtain them?

Thank you.