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!