フィルターのクリア

How to read multiples DICOM images

7 ビュー (過去 30 日間)
Usama Javed
Usama Javed 2011 年 12 月 30 日
編集済み: Walter Roberson 2020 年 3 月 27 日
hi,
can u tell me the procedure of reading multiple dicom images from a folder??
I have a folder named as 'Images', and dicom images are there, so i want to load these images in matlab.
I shall be thankful...
  1 件のコメント
Walter Roberson
Walter Roberson 2011 年 12 月 30 日
http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

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

採用された回答

Chandra Kurniawan
Chandra Kurniawan 2011 年 12 月 30 日
dicomlist = dir(fullfile(pwd,'Images','*.dcm'));
for cnt = 1 : numel(dicomlist)
I{cnt} = dicomread(fullfile(pwd,'Images',dicomlist(cnt).name));
end
  19 件のコメント
Bhavna Pancholi
Bhavna Pancholi 2018 年 6 月 19 日
編集済み: Walter Roberson 2020 年 3 月 27 日
hello,
dicomlist = dir(fullfile(pwd,'Images','*.dcm'));
for cnt = 1 : numel(dicomlist)
I{cnt} = dicomread(fullfile(pwd,'Images',dicomlist(cnt).name));
end
In this program, if i want to read 10 images from a folder, which type of changes are needed?
what is the significance of "pwd" ?
shivan artosh
shivan artosh 2020 年 3 月 27 日
編集済み: shivan artosh 2020 年 3 月 27 日
Hello Bhavna
for loop from 1 to 10

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDICOM Format についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by