DICOM tag value changes after resaving

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.

Réponses (0)

Catégories

En savoir plus sur DICOM Format dans Centre d'aide et File Exchange

Produits

Version

R2021a

Question posée :

Xen
le 15 Juil 2022

Community Treasure Hunt

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

Start Hunting!

Translated by