Create multiple ROI in same image in App Designer and store the data in a struct
5 次查看(过去 30 天)
显示 更早的评论
I have an image in an axis i App Designer in which i can plot as many ROI's as i'd like using drawcircle. My problem is that i would like to give each ROI a uniqe label and also save the data from my ROI in a struct. Is this possible?
0 个评论
采纳的回答
Image Analyst
2019-6-20
Just append it to your structure:
roiStruct(end+1).roi = yourROI;
yourROI could be any form, for example an ROI object, or an N by 2 array of (x,y) coordinates, or a binary image, etc.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!