FHROI: Interactive freehand ROI

版本 1.2.0.0 (2.0 KB) 作者: Andrew Davis
Interactively specify 2D freehand ROI
661.0 次下载
更新时间 2012/2/7

查看许可证

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

引用格式

Andrew Davis (2024). FHROI: Interactive freehand ROI (https://www.mathworks.com/matlabcentral/fileexchange/34890-fhroi-interactive-freehand-roi), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

re-submission of the file since it didn't update last time

1.1.0.0

- Added 'delete ROI' user option
- Split off mask overlay code into alphamask function

1.0.0.0