File Exchange

image thumbnail


version (3.67 KB) by Brett Shoelson
Show (multiple) segmentation mask(s) with user-specified transparency/color as overlay on image


Updated 01 Sep 2016

View License

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.

Cite As

Brett Shoelson (2020). showMaskAsOverlay (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

Ahmet Gokhan Demir

Alexis Machado

Brett Shoelson

@fareed--seems i named it showMaskAsOverlay2 in this version. Try renaming that file to showMaskAsOverlay. (Sorry.)

fareed jamaluddin

the zip file does not contain the script. Please help to fix it. thank you.

Chien-Chun Yang

Excellent Medical Imaging Processing Tutorial and thanks for sharing these handy tools and codes.


Updated license

Updated M file and license text file copyright to The MathWorks, Inc.

updated license text file to The MathWorks, Inc.

added copyright

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux