How to solve this error?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Darsana P M
am 2 Mär. 2018
Kommentiert: Darsana P M
am 3 Mär. 2018
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 Kommentare
Akzeptierte Antwort
Rik
am 2 Mär. 2018
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',[]);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu DICOM Format finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!