a folder have 30 images (.jpg), i have to index it and read the image one after another for further processing.how to index it and read it?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
reading image one after another
0 Kommentare
Antworten (2)
KSSV
am 8 Mai 2018
images = dir('*.jpg') ; % you are in the folder of images
N = length(images) ; % Total number of images
% loop fo reach image
for i = 1:N
I = imread(imahes(i).name) ;
% do what you want
end
Image Analyst
am 8 Mai 2018
Two code snippets are given in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!