how to convert .mat file to .dcm file?

8 visualizaciones (últimos 30 días)
mohd akmal masud
mohd akmal masud el 5 de Jun. de 2023
Comentada: mohd akmal masud el 5 de Jun. de 2023
Dear all,
I have the .mat file as attached. Anyone can help me to convert to .dcm file?

Respuesta aceptada

Simon Chan
Simon Chan el 5 de Jun. de 2023
Try the following:
rawdata = load('petnew.mat');
J = permute(rawdata.petnew, [1 2 4 3]);
dicomwrite(J,'yourFile.dcm');

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by