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 Version History

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 (2021). 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.

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!