We have an ROI for V1 of each of 10 subjects that we have transformed onto the surface of fsaverage with mri_surf2vol. Now we would like to sum these binary masks to produce a single mask with values from 0 to 10 corresponding to the overlap of the individual masks on the average surface.
Is there a way to do this with freesurfer tools or do we need to invoke fslmaths from the FSL tools?
Thanks, Holly --------------------------------------------------------------------------------------------------- Dr Holly Bridge
Royal Society University Research Fellow FMRIB Centre Tel: +44-1865-222582 John Radcliffe Hospital Headington Oxford OX3 9DU Email: hb@fmrib.ox.ac.uk
Lecturer and JRF, New College ---------------------------------------------------------------------------------------------------
You can use mri_label2labe with the --mask option to convert the label to a binary mask surface overlay (eg, an mgh file). You can then use mri_concat with the --sum option. This will sum all the values at a given vertex to give you the number of inputs that had a label at that location.
doug
Holly Bridge wrote:
We have an ROI for V1 of each of 10 subjects that we have transformed onto the surface of fsaverage with mri_surf2vol. Now we would like to sum these binary masks to produce a single mask with values from 0 to 10 corresponding to the overlap of the individual masks on the average surface.
Is there a way to do this with freesurfer tools or do we need to invoke fslmaths from the FSL tools?
Thanks, Holly
Dr Holly Bridge
Royal Society University Research Fellow
FMRIB Centre Tel: +44-1865-222582
John Radcliffe Hospital
Headington
Oxford OX3 9DU Email: hb@fmrib.ox.ac.uk mailto:hb@fmrib.ox.ac.uk
Lecturer and JRF, New College
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu