Differences between revisions 17 and 21 (spanning 4 versions)
Revision 17 as of 2020-03-25 14:30:51
Size: 1780
Editor: AndrewHoopes
Comment:
Revision 21 as of 2022-08-05 14:31:35
Size: 1956
Editor: DougGreve
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
[[https://surfer.nmr.mgh.harvard.edu/fswiki/MiDeFace|See MiDeFace, our newest tool for defacing]]
Line 20: Line 22:
gunzip mri_deface_linux.gz
Line 27: Line 28:
Then, example usage, substitute the name of your T1-weighted input file, which can be a dicom or nifti: The command usage is:
Line 30: Line 31:
./mri_deface T1.nii talairach_mixed_with_skull.gca face.gca T1_defaced.nii ./mri_deface <input> talairach_mixed_with_skull.gca face.gca <output>
}}}

So as an example, to deface your T1-weighted input file, which can be a dicom or nifti, run:

{{{
./mri_deface T1.nii.gz talairach_mixed_with_skull.gca face.gca T1_defaced.nii.gz

Automated Defacing Tools

See MiDeFace, our newest tool for defacing

defacing_figure.jpg

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

The command usage is:

./mri_deface <input> talairach_mixed_with_skull.gca face.gca <output>

So as an example, to deface your T1-weighted input file, which can be a dicom or nifti, run:

./mri_deface T1.nii.gz talairach_mixed_with_skull.gca face.gca T1_defaced.nii.gz

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:

sample_T1_input.jpg

sample_T1_input_defaced.jpg

AutomatedDefacingTools (last edited 2022-08-05 14:31:35 by DougGreve)