I’m running an algorithm to segment part of an image using morphological operations.
I end up with a 2D binary image that represents the segmentation results. Namely, the mask. My question is how to plot the original image and the mask overlay in color on top of it.
Thank you.
You can use
imoverlaywritten by Steve Eddins.In addition, you can check these blog posts by him: