dicomread not working for specific files
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Gopichandh Danala
le 31 Oct 2016
Commenté : Walter Roberson
le 1 Nov 2016
Hi,
I am working on specific dicom files recently and cannot use dicomread function to read files..
Can someone check the error below and suggest some help to read files.
img = dicomread('LCC.dcm');
info = dicominfo('LCC.dcm');
low = abs(info.RescaleIntercept)-abs(info.WindowCenter)+30;
high = low + info.WindowWidth;
figure, imshow(img,[low high]);
Error:

Thanks,
Gopi
0 commentaires
Réponse acceptée
Walter Roberson
le 31 Oct 2016
Some applications produce DICOM files that do not meet the standards and cannot be loaded in other programs that do not implement the same broken behaviour.
Sometimes, DICOM files get corrupted in transmission. You should go back to the source and obtain a new copy to try.
2 commentaires
Walter Roberson
le 1 Nov 2016
The information that I find about PACS is that PACS files are already DICOM files and so would not need to be modified for use in MATLAB (provided they were generated from a compliant device.)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur DICOM Format dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!