watershed results no stable in real time
Hi, I would like use watershed to segment objet in real time, in major case the segmentation work good on easy objet.
My problem is sometime watershed is not stable with 2 images interval where image almost the same and there are no major change. In next image we can see problem segmentation results(circle red is label 2, image contour label 1 and other label 0):
I try different filter step but results is worst.
Christophe
Ok in a second loop I done a morphological dilation that is my label #1 for second iteration of watersheed and i use same label #2 in previous iteration. In the second iteration of watersheed I change filter parameter Result is even more stable. I am very curios to see watersheed implementation in openCV, and in my openCV version they don't have grey entry, it's also a problem