database of images in matlab

9 views (last 30 days)
sweta arya
sweta arya on 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.

Answers (1)

Walter Roberson
Walter Roberson on 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!