How to read multiples DICOM images

7 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by