I am using the code here - for an image I use watershed algorithm to segment - now I want to access these segments generating a mask for this item.
import numpy a