My guess is to use mri_label2vol https://surfer.nmr.mgh.harvard.edu/fswiki/mri_label2vol instead, and a mri_convert to convert to nii.gz
I hope this helps. Marc.
On Thu, Feb 11, 2016 at 3:17 PM, Afzal, Afsana AAFZAL@mgh.harvard.edu wrote:
Hi,
How can I convert a surface .label file to a .nii format? I'm using mri_label2label in the following way but the output is always in .label not .nii:
mri_label2label --srclabel dlpfc-lh.label --outmask dlpfc-lh_mask.nii --s fsaverage --trglabel dlpfc-lh_mask.nii --regmethod surface --hemi lh
Thanks for your help,
Afsana
*Afsana Afzal* Clinical Research Coordinator Massachusetts General Hospital Division of Neurotherapeutics Department of Psychiatry: Neurosciences 149 13th St, Room 2612 Charlestown, MA 02129 Phone: 617-643-5129 Fax: 617-726-4078
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.