database of images in matlab

3 Ansichten (letzte 30 Tage)
sweta arya
sweta arya am 7 Aug. 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.

Antworten (1)

Walter Roberson
Walter Roberson am 7 Aug. 2015
In the folder Images/Database relative to the current folder.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by