Can I use roipoly on one image and get it to apply to multiple?

2 vues (au cours des 30 derniers jours)
William
William le 18 Mai 2023
Commenté : William le 19 Mai 2023
So basically what the question says. Can I use roipoly on one main image, and then get that created mask to apply to multiple other images? I am having trouble figuring out how to do so if it is possible. All insights are helpful! Thanks in advance

Réponse acceptée

Cris LaPierre
Cris LaPierre le 18 Mai 2023
Yes. The output of roiploy is a binary mask. You can do whatever you'd like with that mask, including applying it to other images.
  3 commentaires
Cris LaPierre
Cris LaPierre le 18 Mai 2023
You do not need to call roipoly again. Capture the output of roipoly in a variable, and then use that mask the same way you used it in the original image.
William
William le 19 Mai 2023
Thanks! Got it figured out

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by