DICOM tag value changes after resaving

1 view (last 30 days)
Xen
Xen on 15 Jul 2022
I modified a DICOM tag from a DICOM image that has an embedded color lut (photometric interpretation = PALETTE COLOR). When I resave the DICOM image with the modified tag the photometric interpretation is changed to MONOCHROME2, therefore the image is shown in grayscale rather than the original colors when viewed in a DICOM viewer. I am using the
'CreateMode', 'Copy'
argument which preserves the whole original header except that specific tag. How can I preserve this also?
Thanks.

Answers (0)

Categories

Find more on DICOM Format in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by