If there was an image with say 10 morphological components, and I wanted to change the color of every other morphological component, to say, white, and return the complete image, with the morphological component colors altered. How would I do that?
Is there any easy way to select all of the pixels related to a given morphological component?
I need to take an image, modify the colors of pixels associated with a given morphological component, and return the original image, but with the altered pixels.
It is not quite clear what you mean, but I guess you look for Colorize?