Selecting multiple regions of interest with roipoly
9 次查看(过去 30 天)
显示 更早的评论
I intend on using roipoly to select regions of interest in a plot. My question is; is it possible to select multiple separate ROI on the same plot? I also intend on applying a mask to the roipoly so that i can apply the same ROI to multiple matrices without plotting them. Because a mask works by setting every point outside the ROI to 0 and inside to 1, does this mean that the actual values inside the ROI are overwritten? Thanks in advance to anyone with clarification on this
1 个评论
Marco Beccarini
2018-4-14
Did you ever find the code to do this? I have the same exact problem and can't find anything on the internet.
回答(4 个)
Image Analyst
2018-4-15
编辑:Image Analyst
2019-1-10
I haven't heard back from you so it seems like you weren't able to do it. I'm attaching a demo for you.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189815/image.png)
2 个评论
Marco Beccarini
2018-4-17
Even though I wasn't the one who posted the question, thank you so much!!!!! It's working perfectly!
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!