Skip to content
Tool for generating a binary mask with one or more regions of interest.
MATLAB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
matlab
.gitignore
LICENSE
README.md

README.md

Generating a Binary Mask

When working with images, selecting a specific region of an image to work with is quite common. Therefore I made a script in MATLAB that allows you to generate a mask with one or more regions of interest (ROIs). The shape of the ROIs can be rectangular, elliptic, (irregular) polygon, or free-hand drawn.

Original Lena, generated mask, and masked Lena.
You can’t perform that action at this time.