Selecting multiple regions of interest with roipoly

7 visualizaciones (últimos 30 días)
Aaron Smith
Aaron Smith el 20 de Jun. de 2017
Respondida: Amir Azadeh Ranjbar el 28 de Dic. de 2021
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 comentario
Marco Beccarini
Marco Beccarini el 14 de Abr. de 2018
Did you ever find the code to do this? I have the same exact problem and can't find anything on the internet.

Iniciar sesión para comentar.

Respuestas (4)

Image Analyst
Image Analyst el 15 de Abr. de 2018
Editada: Image Analyst el 10 de En. de 2019
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 comentarios
Marco Beccarini
Marco Beccarini el 17 de Abr. de 2018
Even though I wasn't the one who posted the question, thank you so much!!!!! It's working perfectly!
Paul Safier
Paul Safier el 27 de Mzo. de 2019
Excellent demo, thanks!

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 14 de Abr. de 2018
You have to create multiple mask and OR them together.

Ruggero G. Bettinardi
Ruggero G. Bettinardi el 10 de En. de 2019
Great, thanks a lot!

Amir Azadeh Ranjbar
Amir Azadeh Ranjbar el 28 de Dic. de 2021
thanks you Image Analyst

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by