Dear all,
I have the .mat file as attached. Anyone can help me to convert to .dcm file?

 Akzeptierte Antwort

Simon Chan
Simon Chan am 5 Jun. 2023

0 Stimmen

Try the following:
rawdata = load('petnew.mat');
J = permute(rawdata.petnew, [1 2 4 3]);
dicomwrite(J,'yourFile.dcm');

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by