database of images in matlab
Show older comments
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.
1 Comment
Taha Mohammed M. Al-Roba'a
on 10 Mar 2019
Thank you
Answers (1)
Walter Roberson
on 7 Aug 2015
0 votes
In the folder Images/Database relative to the current folder.
1 Comment
sweta arya
on 8 Aug 2015
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!