How to convert .mat file to .dcm format?
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Reem Alahmadi
el 10 de Jul. de 2021
Comentada: ziwei fu
el 7 de Mzo. de 2022
I have imported a RTplan file to Matlab in. dcm format, and I use both functions (dicomread & dicominfo) to work on this file. Now after processing this file in .mat format , I want to convert it to .dcm format , HOW to do it?
0 comentarios
Respuesta aceptada
Simon Chan
el 10 de Jul. de 2021
file = dicomread(fileName);
imheader = dicominfo(fileName);
dicomwrite(file,'RP.newname.dcm',imheader, 'CreateMode', 'copy');
7 comentarios
Walter Roberson
el 1 de Mzo. de 2022
I do not know why the routine does not copy ObjectType; the documentation sort of implies that it should copy it.
You can pull it out of dicominfo and write it explicitly using the 'ObjectType' option
ziwei fu
el 7 de Mzo. de 2022
My new RTplan cannot import into TPS with CT and RTStructure,did I miss some details?
Más respuestas (0)
Ver también
Categorías
Más información sobre DICOM Format en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!