필터 지우기
필터 지우기

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 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