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.