How to solve this error?
1 次查看(过去 30 天)
显示 更早的评论
I was trying to input a dicom image. But I got an error.
Error using dicomread>getFileDetails (line 1426)
File "img.dcm" not found.
Error in dicomread>newDicomread (line 172)
fileDetails = getFileDetails(filename);
Error in dicomread (line 79)
[X, map, alpha, overlays] = newDicomread(msgname,
frames);
Error in tryyy (line 6)
I = dicomread('img.dcm');
The program written is:
I = dicomread('img.dcm');
info = dicominfo('img.dcm');
I = dicomread(info);
imshow(I,'DisplayRange',[]);
The image is stored in this loaction: C:\Users\Click Me\Desktop\NIELIT\images output How can I insert this into this program?
0 个评论
采纳的回答
Rik
2018-3-2
I = dicomread('C:\Users\Click Me\Desktop\NIELIT\images output\img.dcm');
info = dicominfo('C:\Users\Click Me\Desktop\NIELIT\images output\img.dcm');
I = dicomread(info);
imshow(I,'DisplayRange',[]);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!