Selection of roi for multiple images

5 次查看(过去 30 天)
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 个评论
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