should be something like
mri_label2label --srclabel input.label --trglabel ouput.label --outmask label.mask.nii.gz --regmethod surface --hemi lh --srcsubject subject --trgsubject subject
On 1/30/2020 10:07 PM, Alexopoulos, Dimitrios wrote:
External Email - Use Caution
Having difficulty with how to use label2label for this purpose. Just need a binary mask of medial wall (vertex number and 0 or 1s) on native surface. What's would this command be?
On Jan 28, 2020 5:42 PM, "Greve, Douglas N.,Ph.D." DGREVE@mgh.harvard.edu wrote:
*Attention:*This email originated from outside the university. Do you mean you want a binary mask of the medial wall? You can create a mask of the cortical label (?h.cortex.label) with mri_label2label You can then invert that with something like fscalc lh.cortex.mask.mgz not -o lh.medialwall.mask.mgz On 1/28/2020 6:31 PM, Alexopoulos, Dimitrios wrote: External Email - Use Caution Is there a freesurfer file that contains metric info that delineates the medial wall in the native surface output for an individual? It appears to be associated with the ?lh.aparc.annot file (below). I’d like to be able to export the medial wall metric into Worbench. Thanks. Jim ------------------------------------------------------------------------ The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer