Effacer les filtres
Effacer les filtres

how to select region of interest with same parameter in different image..

3 vues (au cours des 30 derniers jours)
pooja dixit
pooja dixit le 20 Fév 2013
Hello, I would like to use ROI at different image multiple times, but it little bit harder. I need to save parametrs of first ROI and then use it at others.. for example if i select first image roi. Then I would like to select second square in different image but with same size as the first one.
Thanks for help

Réponse acceptée

Thorsten
Thorsten le 20 Fév 2013
Modifié(e) : Thorsten le 20 Fév 2013
Select first image ROI
[B1 x y] = roipoly(I1);
Use selected ROI on another image
B2 = roipoly(I2, x, y);
  3 commentaires
pooja dixit
pooja dixit le 20 Fév 2013
Hello, I would like to use ROI at different image multiple times with imrect tool , but it little bit harder. I need to save parametrs of first ROI and then use it at others.. for example if i select first image roi. Then I would like to select second square in different image but with same size as the first one.
Thanks for help
Image Analyst
Image Analyst le 20 Fév 2013
When you're "done" with the rectangle you can right click inside it and select create mask. I think you can also double click inside it to "finish" it.
Alternatively you can use the rbbox() function if you think that's easier. Or if it's not a rectangle, but a polygon, you can use roipolyold().

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by