Only allow de-faced MRI anatomical images
authorDimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
Tue, 02 Jul 2013 10:44:44 +0200
changeset 171 00d719223655
parent 169 4d05a5ba623a
child 172 b0e479e3e13c
Only allow de-faced MRI anatomical images Reconstruction and rendering of the face in anatomical MRI images may identify subjects. De-facing anatomical MRI images protects subject privacy.
importers/localizer.py
--- a/importers/localizer.py	Mon May 06 22:58:22 2013 +0200
+++ b/importers/localizer.py	Tue Jul 02 10:44:44 2013 +0200
@@ -140,9 +140,9 @@
         scan_data['label'] = u'anatomy' if normalized else u'raw anatomy'
         scan_data['type'] = u'normalized T1' if norm_prep else u'raw T1'
         if norm_prep:
-            scan_data['filepath'] = os.path.join(data_dir, 'anat', 'anat.nii.gz')
+            scan_data['filepath'] = os.path.join(data_dir, 'anat', 'anat_defaced.nii.gz')
         else:
-            scan_data['filepath'] = os.path.join(data_dir, 'anat', 'raw_anat.nii.gz')
+            scan_data['filepath'] = os.path.join(data_dir, 'anat', 'raw_anat_defaced.nii.gz')
     else:
         mri_data['sequence'] = u'EPI'
         scan_data['identifier'] = u'%s_fmri' % info['exam'] if norm_prep  \