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... ???
댓글 수: 0
채택된 답변
Chandra Kurniawan
2011년 12월 30일
Hello,
Try to use imshow(I,[])
or montage(I, 'DisplayRange', []);
댓글 수: 4
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!