database of images in matlab

3 次查看(过去 30 天)
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 个)

Walter Roberson
Walter Roberson 2015-8-7
In the folder Images/Database relative to the current folder.

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by