MONAI icon indicating copy to clipboard operation
MONAI copied to clipboard

Support DICOM keys when pruning extra keys

Open Nic-Ma opened this issue 3 years ago • 1 comments

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.

Nic-Ma avatar Jul 12 '22 08:07 Nic-Ma

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". Screen Shot 2022-07-12 at 11 06 29 PM

yiheng-wang-nv avatar Jul 12 '22 15:07 yiheng-wang-nv

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

wyli avatar Nov 11 '22 16:11 wyli