HOw to read images from multiple folders
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Geoff
el 16 de Abr. de 2012
Have you already written the code to load images from one folder? What are your folder names?
Respuestas (1)
Walter Roberson
el 16 de Abr. de 2012
The above, which concentrates on files, can also be used for locating directories.
1 comentario
Walter Roberson
el 16 de Abr. de 2012
http://www.mathworks.com/matlabcentral/answers/32038-can-you-use-dir-to-list-files-in-subfolders
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!