How to convert .mat file to .dcm format?
조회 수: 11 (최근 30일)
이전 댓글 표시
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
채택된 답변
Simon Chan
2021년 7월 10일
file = dicomread(fileName);
imheader = dicominfo(fileName);
dicomwrite(file,'RP.newname.dcm',imheader, 'CreateMode', 'copy');
댓글 수: 7
Walter Roberson
2022년 3월 1일
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
2022년 3월 7일
My new RTplan cannot import into TPS with CT and RTStructure,did I miss some details?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!