Create multiple ROI in same image in App Designer and store the data in a struct
5 views (last 30 days)
Show older comments
Bodil Crone Rasmussen
on 19 Jun 2019
Answered: Image Analyst
on 20 Jun 2019
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 Comments
Accepted Answer
Image Analyst
on 20 Jun 2019
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!