View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 1 rating Rate this file 22 Downloads (last 30 days) File Size: 3.67 KB File ID: #22108 Version:
image thumbnail



Brett Shoelson (view profile)


14 Nov 2008 (Updated )

Show (multiple) segmentation mask(s) with user-specified transparency/color as overlay on image

| Watch this File

File Information

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.


This file inspired Segment Tool: An Interactive Gui For Segmenting Images and Flatten Mask Overlay.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
14 Feb 2017 Brett Shoelson

Brett Shoelson (view profile)

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

Comment only
01 Feb 2017 fareed jamaluddin

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

Comment only
25 May 2012 Chien-Chun Yang

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

04 May 2010 1.3

added copyright

21 Jun 2010 1.4

updated license text file to The MathWorks, Inc.

21 Jun 2010 1.5

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

01 Sep 2016

Updated license

Contact us