dicomwrite does not preserve original metadata

조회 수: 2 (최근 30일)
Xen
Xen 2019년 11월 7일
Hi,
I am reading the dicom info from a DICOM file and writing them to another DICOM file using
dicomwrite(image, path, imageinfo, 'CreateMode', 'Copy', 'UseMetadataBitDepths', true, 'WritePrivate', true);
I use this to preserve all original tags, however the values of the private tags are not preserved and some random arrays are generated (left is the original, right is the saved). I tried changing the function's parameters but to no avail. Can anyone help with preserving ALL tags as in the original file?
Thanks
Untitled.png

답변 (0개)

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by