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?

1 visualizzazione (ultimi 30 giorni)
reading image one after another

Risposte (2)

KSSV
KSSV il 8 Mag 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
Image Analyst il 8 Mag 2018

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by