Deletions are marked like this. | Additions are marked like this. |
Line 20: | Line 20: |
gunzip mri_deface_linux.gz |
Automated Defacing Tools
See also MBIRN page
Cite this paper is using mri_deface: A Technique for the Deidentification of Structural Brain MR Images
Note: A license file is no longer necessary to use these tools:
Use gunzip to decompress these downloads, ie.:
mv mri_deface_linux mri_deface chmod a+x mri_deface gunzip talairach_mixed_with_skull.gca.gz gunzip face.gca.gz
Then, example usage, substitute the name of your T1-weighted input file, which can be a dicom or nifti:
./mri_deface T1.nii talairach_mixed_with_skull.gca face.gca T1_defaced.nii
You will need a volume viewer to view the resulting defaced file. The freesurfer package includes the 'freeview' viewer, but there are many others capable of reading dicom and nifti volumes. MRIcron is a good option (use MRIcron, not MRIcro, because you will want nifti support).
Sample input before and after defacing: