You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
FHROI: Interactively specify 2D freehand ROI
Overlays an imfreehand ROI on an image.
Gives the ability to tweak the ROI by adding and
subtracting regions as needed, while updating
the ROI boundaries as an overlay on the image.
Returns a logical matrix of the same size as the
overlain image.
Requires alphamask:
http://www.mathworks.com/matlabcentral/fileexchange/34936
Usage:
bwMask = fhroi([axHandle])
axHandle: handle to axes on which to operate (optional)
bwMask: ROI mask as logical matrix
Example:
figure;
I = rand(20) + eye(20);
imshow(I, [], 'Colormap', hot, 'initialMagnification', 1000);
bwMask = fhroi;
See also IMFREEHAND, CREATEMASK
Cite As
Andrew Davis (2026). FHROI: Interactive freehand ROI (https://www.mathworks.com/matlabcentral/fileexchange/34890-fhroi-interactive-freehand-roi), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (2.03 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
