|
Size: 831
Comment:
|
Size: 1514
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
See also [[http://www.na-mic.org/Wiki/index.php/Mbirn:_Defacer_for_structural_MRI|MBIRN page]] |
|
| Line 10: | Line 12: |
| Example: | Use gunzip to decompress these downloads, ie.: |
| Line 12: | Line 14: |
| mri_deface orig.mgz talairach_mixed_with_skull.gca face.gca orig_defaced.mgz | gunzip mri_deface-v1.22-Linux64.gz cp mri_deface-v1.22-Linux64.gz mri_deface chmod a+x mri_deface gunzip talairach_mixed_with_skull.gca.gz gunzip face.gca.gz |
| Line 14: | Line 20: |
| Then, example usage, using your orig.mgz: {{{ ./mri_deface orig.mgz talairach_mixed_with_skull.gca face.gca orig_defaced.mgz }}} If you do not have the 'orig.mgz' file as input (which would only be the case if you have processed your data using the Freesurfer package), then just substitute the name of your T1-weighted input file, which can be a dicom or nifti: {{{ ./mri_deface my_T1.nii talairach_mixed_with_skull.gca face.gca my_T1_defaced.nii }}} |
Automated Defacing Tools
See also MBIRN page
Note: A license file is no longer necessary to use these tools:
Use gunzip to decompress these downloads, ie.:
gunzip mri_deface-v1.22-Linux64.gz cp mri_deface-v1.22-Linux64.gz mri_deface chmod a+x mri_deface gunzip talairach_mixed_with_skull.gca.gz gunzip face.gca.gz
Then, example usage, using your orig.mgz:
./mri_deface orig.mgz talairach_mixed_with_skull.gca face.gca orig_defaced.mgz
If you do not have the 'orig.mgz' file as input (which would only be the case if you have processed your data using the Freesurfer package), then just substitute the name of your T1-weighted input file, which can be a dicom or nifti:
./mri_deface my_T1.nii talairach_mixed_with_skull.gca face.gca my_T1_defaced.nii
