how to convert .mat file to .dcm file?

5 次查看(过去 30 天)
Dear all,
I have the .mat file as attached. Anyone can help me to convert to .dcm file?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by