watershed results no stable in real time

asked 2017-10-16 11:40:06 -0600

carton99 gravatar image

updated 2017-10-16 11:41:08 -0600

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):

link text

link text

I try different filter step but results is worst.


edit retag flag offensive close merge delete


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

carton99 gravatar imagecarton99 ( 2017-10-17 06:56:21 -0600 )edit