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

1 view (last 30 days)
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

Accepted Answer

Cris LaPierre
Cris LaPierre on 18 May 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 Comments
Cris LaPierre
Cris LaPierre on 18 May 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.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!