cati-neuroimaging / deidentification

Tool to remove metadata allowing to identify a subject from DICOM images used in neuroimaging research
MIT License
3 stars 2 forks source link

Handle sequences #44

Closed Hboni closed 1 year ago

Hboni commented 1 year ago

It experienced a deidentification issue when it tried to apply the action D (replace with non-zero dummy values) on a tag with VR as Sequence (SQ). In DICOM standard:

in the case of Sequences, the action is applicable to the Sequence and all of its contents.

In this module, we decided, in the case of D action on SQ, to apply the D action on all the child tags.