Displaying dicom images

2 次查看(过去 30 天)
hi, i am loading dicom images with dicomread command, and it goes fine. but when i perform imshow or imtool to that image, it shows a gray image. there is patient data and figure of lungs on that dicom image, but when i perform imshow or imtool it shows that gray image... so is there any solution to get that original image... ???

采纳的回答

Chandra Kurniawan
Chandra Kurniawan 2011-12-30
Hello,
Try to use imshow(I,[])
or montage(I, 'DisplayRange', []);
  4 个评论
Chandra Kurniawan
Chandra Kurniawan 2011-12-30
Hi,
It works on my machine. And no error found
dicomlist = dir(fullfile(pwd,'Images','*.dcm'));
for cnt = 1 : numel(dicomlist)
I{cnt} = dicomread(fullfile(pwd,'Images',dicomlist(cnt).name));
end
for num = 1: numel(dicomlist)
K{num} = medfilt2(I{num});
figure, imshow(K{num},[]);
end
Usama Javed
Usama Javed 2011-12-30
i think its the problem of memory...
if i am applying this on 700 images than it works...

请先登录,再进行评论。

更多回答(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