Problem with DICOM Read for MPEG

I'm attempting to read an exported dicom image of a fluoroscopy scan. The dicominfo command will correctly read the header and I can see all of the elements. However, using dicomread gives the following error:
Error using error
Incorrect number of parameters supplied for
'images:dicomread:unsupportedEncoding'. Expected 1 but found 0.
Error in dicomread>newDicomread (line 235)
error(message('images:dicomread:unsupportedEncoding'))
Error in dicomread (line 91)
[X, map, alpha, overlays] = newDicomread(msgname, frames, useVRHeuristic);
The transfer syntax UID is '1.2.840.10008.1.2.4.100' , does anyone know if this format is not supported by MATLAB? If it isn't has anyone written any code they'd be willing to share to read these types of DICOM files?

4 comentarios

KALYAN ACHARJYA
KALYAN ACHARJYA el 23 de Nov. de 2019
Can you share the code line where the error is occurring?
blburke
blburke el 25 de Nov. de 2019
It is simply attempting to use DicomRead:
test=dicomread('Fluoroscopy.dcm');
Walter Roberson
Walter Roberson el 25 de Nov. de 2019
I reported the glitch in the error message to Mathworks.
Ashish Uthama
Ashish Uthama el 5 de Dic. de 2019
Thanks Walter!

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Nov. de 2019

0 votos

It is trying to give you an error message saying that the encoding is not supported. However there is a problem with the error() call: it has been coded to require a UID passed as part of the message but the function missed passing that.
The message that should have been generated was
Data encoding for transfer syntax UID "<UID>" not supported.
where <UID> is the UID involved in the problem.
The stored transfer syntax appears to be "MPEG2 Main Profile Main Level"
In short: dicomread does not support MPEG2 encoding of data.

Más respuestas (0)

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 22 de Nov. de 2019

Comentada:

el 5 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by