Selection of roi for multiple images

조회 수: 5 (최근 30일)
swati mane
swati mane 2019년 12월 17일
댓글: Image Analyst 2023년 1월 7일
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 ?

채택된 답변

Rik
Rik 2019년 12월 17일
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
HARISH KUMAR
HARISH KUMAR 2023년 1월 7일
okay, Thank you.
I will into it once.
Image Analyst
Image Analyst 2023년 1월 7일
Perhaps the poorly-named a is a gray scale image, not a color image.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by