database of images in matlab

4 visualizzazioni (ultimi 30 giorni)
sweta arya
sweta arya il 7 Ago 2015
dataBase=cell(5,1);
for i=1:5
dataBase{i}=imread(['Images/Database/' int2str(i) '.jpg ']);
end
save dataBase dataBase
where should be our files stored so that imread function in above code can read them.

Risposte (1)

Walter Roberson
Walter Roberson il 7 Ago 2015
In the folder Images/Database relative to the current folder.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by