HOw to read images from multiple folders
조회 수: 6 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!