How to read images from folders in matlab

前端 未结 3 645
迷失自我
迷失自我 2021-01-27 04:19

I have six folders like this >> Images and each folder contains some images. I know how to read images in matlab BUT my question is how I can traverse through these folders and

3条回答
  •  梦如初夏
    2021-01-27 05:13

    The easiest way is certainly a right clic on the forlder in matlab and "Add to Path" >> "Selected Folders and Subfolders"

    Then you can just get images with imread without specifying the path.

提交回复
热议问题