Array of an image
Mostra commenti meno recenti
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?
Risposte (1)
KSSV
il 20 Mag 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 Commenti
KSSV
il 21 Mag 2021
5th line is to read the image using imread, 6th line displays the image.
Categorie
Scopri di più su Images in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!