フィルターのクリア

Imread Image using pwd?

2 ビュー (過去 30 日間)
Oman Wisni
Oman Wisni 2019 年 1 月 16 日
コメント済み: Oman Wisni 2019 年 1 月 17 日
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

採用された回答

Walter Roberson
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 件のコメント
Walter Roberson
Walter Roberson 2019 年 1 月 16 日
see uigetfile
Oman Wisni
Oman Wisni 2019 年 1 月 17 日
Yes sir, I already got what I need for this. Thank you for the answer

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by