Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: copy the RSNA anonymizer protocol
I've added to the deid/data/deid.dicom protocol a large number of header removal and small number of blanks. These header removals/blanks were extracted from the 2022-03-08 version of the RSNA anonymizer software http://mirc.rsna.org/download/Anonymizer-installer.jar The jar file was unzipped, the unzipped jar has a file dicom-anonymizer.script with xml deidentification directives all `@remove` and `@empty` commands were extracted from the file using `grep`, and transformed into the corresponding REMOVE and BLANK lines using `sed`, copied in to a slightly modified version of deid.dicom I've been modifying for work. The file was post-processed using R to remove duplicated REMOVE directives. The Anonymizer code is distributed under the RSNA public license http://mirc.rsna.org/rsnapubliclicense.pdf which is I believe to be compatible with the MIT license used in deid. So this derivative work should satisfy the terms of that license to be included in deid. I've also updated the ADD directives to generate new UIDs as per the example in the docs, and to copy back in the SOPClassUID field. These can be removed as they may be too specialized to my use case.
- Loading branch information