Why is DICOMINFO not displaying all the metadata

3 visualizaciones (últimos 30 días)
Paul Hannon
Paul Hannon el 25 de Sept. de 2019
Respondida: Pranjal Kaura el 28 de Jul. de 2021
I was able to successfully update the metadata field "AcquisitionDateTime" in my DICOM Image using the DICOMANON function with update and suppling a struct containinng the metadata field name and new value.
However, I am having a problem trying to do the same update with the metadata field "FrameAcquisitionDatetime" in my DICOM image.
I noticed that DICOMDISP will display the FrameAquisitionDatetime metadata field and value (actually several times because I think there are multiple frames in the image) but DICOMINFO does not display the field.
When I issue the DICOMANON function to update this field I do not get an error message. It seems like it works but when I issue the DICOMDISP function on the new dicom file after the update nothing gets updated.
I am able to find the "FrameAcquisitionDatetime" metadata field in the dicom data dictionary file. It is a standard metadata field. Maybe it is in a struct in the metadata and requires specual syntax to update it.
Please help.

Respuestas (1)

Pranjal Kaura
Pranjal Kaura el 28 de Jul. de 2021
Hey Paul,
It is my understanding that you want to update the 'FrameAcquisitionDatetime' metadata in a DICOM image. You can do the same using the dicomanon function.
Here's a code snippet for the same
dicomanon('OriginalFile.dcm', 'UpdatedFile.dcm', 'update', struct('FrameAcquisitionDatetime', '<your_value>'))
If you're unable to find the 'FrameAcquisitionDatetime', it could be a private metadata field. Creating a custom DICOM dictionary might solve your problem.

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!

Translated by