how to load image files from a folder ?
51 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Mil Shastri
2020 年 2 月 19 日
The lines you might need are:
imds = imageDatastore('your/path/*.jpg');
imgs = readall(imds);
%preview any image
imshow(imgs{3})
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!