Perhaps related, perhaps not, but I notice that the watershed algorithm is injecting -1 values into my image - is it something expected, perhaps because of rounding? Is there something I can do to avoid that?
For instance here, on the left is the image before watershed, then right after. As you can see, white pixels representing -1 appeared from nowhere: