Dicom: how to extract (and edit) header information not included in metadata

18 次查看(过去 30 天)
Hello everyone.
I have a problem with Dicom images: I need to extract and modify some information from the dicom header. Dicominfo returns a list of information, but the ones I'm interested in (meterset exposure and primary dosimetry unit) are not included (even if they are included in dicom-dict.txt file). I have tried with the new command dicomdisp (I'm using R2015b), it displays all the header (exposure time included) but it does not allow any extraction/modification of the information.
Any suggest? Thank You

回答(1 个)

Nick Hobbs
Nick Hobbs 2015-10-28
编辑:Nick Hobbs 2015-10-28
I understand you want to change the metadata of a DICOM file. Instead of trying to edit the information directly from 'dicominfo' one option may be to read in the file and the metadata, and then use 'dicomwrite' to write out a new file with the new metadata. The following link to the documentation page for 'dicomwrite' shows that you can add metadata to the file as an option.

类别

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