Skip to content

Commit

Permalink
feat: copy the RSNA anonymizer protocol
Browse files Browse the repository at this point in the history
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
cfhammill committed Apr 11, 2022
1 parent 2718b7e commit 7281164
Showing 1 changed file with 4,127 additions and 0 deletions.
Loading

0 comments on commit 7281164

Please sign in to comment.