Show Images with Filenames in Cell Array
1 view (last 30 days)
Show older comments
I have a 1x40 cell array 'q' which contains 40 filenames (of images), each in its own cell.
I would like to use 'imshow' to sequentially display all of the images with the filenames stored in 'q'.
So far I have tried the code shown below, but it doesn't work. Any help would be much appreciated!
imshow(q{1,1:40})
0 Comments
Answers (1)
Rik
on 24 Jul 2019
You will have to program that sequential behavior yourself.
for n=1:numel(q)
IM=imread(q{n});
imshow(IM)
drawnow,pause(0.5)
end
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!