dicomread not working for specific files
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Walter Roberson
2016년 10월 31일
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
Walter Roberson
2016년 11월 1일
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.)
추가 답변 (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!