how to convert .mat file to .dcm file?
3 次查看(过去 30 天)
显示 更早的评论
Dear all,
I have the .mat file as attached. Anyone can help me to convert to .dcm file?
0 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!