Imread Image using pwd?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Oman Wisni
am 16 Jan. 2019
Kommentiert: Oman Wisni
am 17 Jan. 2019
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 16 Jan. 2019
projectdir = pwd;
for K = 1 : 10
basename = sprintf('subject_%05d_sagital.bmp', K);
fullname = fullfile(projectdir, basename);
im = imread(fullname);
end
3 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!