How to set a position to imfreehand?
2 次查看(过去 30 天)
显示 更早的评论
I get the position of the imfreehand using
re =imfreehand(gca); position = getPosition(re);
now I need to know , is it possible to use this "position" to retrieve the desired roi ? Or is it possible to use this position in creating mask?
0 个评论
回答(1 个)
Image Analyst
2016-3-1
See my freehand masking demo, attached.
2 个评论
Image Analyst
2016-3-1
You can save either the binary image mask, or the x,y coordinates, or both to a .mat file with the save() function. Then on future executions, call load() to recall the mask data.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!