reading series of DICOM images on MATLAB
이전 댓글 표시
hello sir, i tried to display images on matlab and i get succeeded in that.. but i am stuck up in to display 4 images in quadrangle format .. please help me .. Thanks in advance!!
댓글 수: 2
saarthak agarwal
2020년 10월 9일
Could you please provide the code for displaying multiple dicom files on MATLAB?
Walter Roberson
2020년 10월 10일
projectdir = 'Directory/of/dicom/files/';
dinfo = dir( fullfile(projectdir, '*.dcm') );
filenames = fullfile(projectdir, {dinfo.name});
nfiles = length(filenames);
images = cell(nfiles,1);
for K = 1 : nfiles
images{K} = dicomread(filenames{K});
end
montage(images)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!