how to load image files from a folder ?
53 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
looking for a code to select a folder from windows ,then load all the image files in it . later would like to extract features and store it in these features in vector.
0 comentarios
Respuestas (1)
Mil Shastri
el 19 de Feb. de 2020
The lines you might need are:
imds = imageDatastore('your/path/*.jpg');
imgs = readall(imds);
%preview any image
imshow(imgs{3})
0 comentarios
Ver también
Categorías
Más información sobre Read and Write Image Data from Files 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!