Filter löschen
Filter löschen

How to read multiples DICOM images

7 Ansichten (letzte 30 Tage)
Usama Javed
Usama Javed am 30 Dez. 2011
Bearbeitet: Walter Roberson am 27 Mär. 2020
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 Kommentar
Walter Roberson
Walter Roberson am 30 Dez. 2011
http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Chandra Kurniawan
Chandra Kurniawan am 30 Dez. 2011
dicomlist = dir(fullfile(pwd,'Images','*.dcm'));
for cnt = 1 : numel(dicomlist)
I{cnt} = dicomread(fullfile(pwd,'Images',dicomlist(cnt).name));
end
  19 Kommentare
Bhavna Pancholi
Bhavna Pancholi am 19 Jun. 2018
Bearbeitet: Walter Roberson am 27 Mär. 2020
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 am 27 Mär. 2020
Bearbeitet: shivan artosh am 27 Mär. 2020
Hello Bhavna
for loop from 1 to 10

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu DICOM Format finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by