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일

0 개 추천

In the folder Images/Database relative to the current folder.

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

질문:

2015년 8월 7일

댓글:

2019년 3월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by