use dicomread to import data from dicom file, and the application crashes or throws exceptions

조회 수: 1 (최근 30일)
错误使用 dicomread>newDicomread (line 233) Unsupported data encoding.
出错 dicomread (line 89) [X, map, alpha, overlays] = newDicomread(msgname, frames, useVRHeuristic);

답변 (1개)

Kautuk Raj
Kautuk Raj 2024년 10월 28일
The error message being encountered suggests that the data encoding of your DICOM file is not supported by dicomread.
The target image file may be in an encoding that is not supported by the dicomread function. To find the encoding used in your DICOM file, use the dicominfo function to extract metadata from your DICOM file and examine the TransferSyntaxUID field.
info = dicominfo('yourfile.dcm');
disp(info.TransferSyntaxUID);
The list of supported formats for the ‘dicomread’ function on this MathWorks documentation page: https://www.mathworks.com/help/images/ref/dicomread.html#:~:text=Supported%20Transfer%20Syntax%20UIDs

카테고리

Help CenterFile Exchange에서 Read and Write Image Data from Files에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by