how to load image files from a folder ?
Ältere Kommentare anzeigen
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.
Antworten (1)
Mil Shastri
am 19 Feb. 2020
The lines you might need are:
imds = imageDatastore('your/path/*.jpg');
imgs = readall(imds);
%preview any image
imshow(imgs{3})
Kategorien
Mehr zu Read and Write Image Data from Files finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!