Hi Freesurfers, I have created a binary mask of the ventricles using mri_binarize using data from aparc+aseg.mgz. I want to resample this mask into native functional space, but I want to include only functional voxels that are 100% covered by by the structural mask. Because the anatomical mask is written with voxels that are 1x1x1 and our functional data is re-sliced at 3x3x3, there are functional voxels that are more than 50% covered by the anatomical mask that I want to exclude. I used the command:
mri_vol2vol --mov brainmask.mgz --targ ventmask.nii --ing --reg register.dat --interp nearest --o func.ventmask.nii This properly resampled the mask into functional space, and maintained its binary character, but it looks to be a bit too permissive -- although I could just be seeing things. Any ideas? Thanks for your help, Andrew Ward Brigham and Women's Hospital (BBNG) Massachusetts General Hospital (GRU) Athinoula A. Martinos Center for Biomedical Imaging 149 13th St., Rm 2689C Charlestown, MA 02129 Phone: 617-726-6211 Fax: 617-726-5760 _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.