Imread Image using pwd?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi, is there any way to create code for imread image using pwd, without declarad specific directory?
like :
im = imread(pwd,'.bmp');
could help me for this? thank you
댓글 수: 0
채택된 답변
Walter Roberson
2019년 1월 16일
projectdir = pwd;
for K = 1 : 10
basename = sprintf('subject_%05d_sagital.bmp', K);
fullname = fullfile(projectdir, basename);
im = imread(fullname);
end
댓글 수: 3
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!