Skip to content

ImageGuidedTherapyLab/anonymizationtransfer

Repository files navigation

1. use slicer to build one db with PHI
  * build db with 'copy' to build file paths studyuid/seriesuid/sopinstance

  /opt/apps/slicer/Slicer-4.10.2-linux-amd64/Slicer --no-splash --python-script ./builddcmdb.py copy /home/fuentes/dbdirectory /home/fuentes/inputimages

  /mnt/c/Program\ Files/Slicer\ 4.10.2/Slicer.exe --no-splash --python-script anonymizationtransfer/builddcmdb.py copy "C:\Users\dtfuentes\anontest\dbdirectory" "C:\Users\dtfuentes\anontest\inputimages"


2. run anonymization 
https://mircwiki.rsna.org/index.php?title=The_DicomAnonymizerTool

  Run the mirc.rsna.org/DicomAnonymizerTool-installer.jar to install
  java -jar DAT/DicomAnonymizerTool/DAT.jar  -in /mnt/c/Users/dtfuentes/anontest/dbdirectory/dicom  phi -out  /mnt/c/Users/dtfuentes/anontest/dbanon/dicom -da



3. use slicer to build a second db without PHI
  /opt/apps/slicer/Slicer-4.10.2-linux-amd64/Slicer --no-splash --python-script ./builddcmdb.py link /home/fuentes/cmdanon /home/fuentes/cmdanon/dicom

  /mnt/c/Program\ Files/Slicer\ 4.10.2/Slicer.exe --no-splash --python-script anonymizationtransfer/builddcmdb.py link "C:\Users\dtfuentes\anontest\dbanon" "C:\Users\dtfuentes\anontest\dbanon\dicom"


4. from python join on studyuid/seriesuid/sopinstance to build anonymization key
  python anonkey.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published