The following Matlab project contains the source code and Matlab examples used for show (multiple) segmentation mask(s) with user-specified transparency/color as overlay on image .
Easily create transparent overlays from binary masks of your images. Manage the masks, modify opacities and colors, show multiple masks. It's easy!
Operates on the current image, unless an optional argument specifies an axes containing an image.