Selection of roi for multiple images

7 vues (au cours des 30 derniers jours)
swati mane
swati mane le 17 Déc 2019
Commenté : Image Analyst le 7 Jan 2023
I have 50 images in one folder. For one image I can select roi by clicking the mouse but now i need automatic selection of roi for multiple images.How to do this ?

Réponse acceptée

Rik
Rik le 17 Déc 2019
If you want to apply the same ROI to all images: export the ROI as a logical array.
If you want to select a different ROI for each image, generate the list of file names with dir() and loop through the elements.
  12 commentaires
HARISH KUMAR
HARISH KUMAR le 7 Jan 2023
okay, Thank you.
I will into it once.
Image Analyst
Image Analyst le 7 Jan 2023
Perhaps the poorly-named a is a gray scale image, not a color image.

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