MONAI
MONAI copied to clipboard
Support DICOM keys when pruning extra keys
Is your feature request related to a problem? Please describe. Currently, seems we only prune the nifti keys: https://github.com/Project-MONAI/MONAI/blob/dev/monai/data/utils.py#L1469 It may be necessary to support other keys and DICOM keys. @yiheng-wang-nv reported the feedback when developing TCIA dataset.
Thanks @Nic-Ma . As for dicom data, PydicomReader will save all tags with the to_json_dict method, and the keys are derived from original dicom tags. For example, "00200037", "7FE00008".

addressed by https://github.com/Project-MONAI/MONAI/pull/4819 regex support