Selecting multiple regions of interest with roipoly
Afficher commentaires plus anciens
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 commentaire
Marco Beccarini
le 14 Avr 2018
Did you ever find the code to do this? I have the same exact problem and can't find anything on the internet.
Réponses (4)
Image Analyst
le 15 Avr 2018
Modifié(e) : Image Analyst
le 10 Jan 2019
7 votes
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.

2 commentaires
Marco Beccarini
le 17 Avr 2018
Even though I wasn't the one who posted the question, thank you so much!!!!! It's working perfectly!
Paul Safier
le 27 Mar 2019
Excellent demo, thanks!
Image Analyst
le 14 Avr 2018
1 vote
You have to create multiple mask and OR them together.
Ruggero G. Bettinardi
le 10 Jan 2019
0 votes
Great, thanks a lot!
Amir Azadeh Ranjbar
le 28 Déc 2021
0 votes
thanks you Image Analyst
Catégories
En savoir plus sur ROI-Based Processing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!