Array of an image
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I want to create a list of an images so that i can acces that array in my next button of app to display next image.
How to create list of images?
0 commentaires
Réponses (1)
KSSV
le 20 Mai 2021
img = dir('*.jpeg') ; % give your extension here
N = length(img) ; % number of jpeg images in the folder
for i = 1:N
this_img = img(i).name ;
I = imread(this_img) ;
imshow(I)
end
2 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!