HOw to read images from multiple folders
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have 10 folders and in each folder i have 10 images as( 1.jpg, 2.jpg, 3.jpg... 10.jpg).
I want to read all ten folders and total number of images are (10*10)=100;
Thanks in Advance.
2 个评论
Geoff
2012-4-16
Have you already written the code to load images from one folder? What are your folder names?
回答(1 个)
Walter Roberson
2012-4-16
The above, which concentrates on files, can also be used for locating directories.
1 个评论
Walter Roberson
2012-4-16
http://www.mathworks.com/matlabcentral/answers/32038-can-you-use-dir-to-list-files-in-subfolders
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!