How do I read all image Folder into Matlab ??

1 view (last 30 days)
How do I read image datasets of 400 images with 40 subfolder containing 10 image per folder into Matlab? Can anyone help me with the lines of code for reference ???

Accepted Answer

Image Analyst
Image Analyst on 26 Apr 2018
If you have the Computer Vision System Toolbox, you can look at the function imageDatastore(). Otherwise, see my attached demo to get a list of all files under some top level folder.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!