Re: [Freesurfer] labels to surface

2008-10-03 Thread Doug Greve
Hi Joost, you can load the label into matlab with read_label.m and then convert it into the vector you want. Alternatively, there is a new version of mri_annotation2label (x64 below) which you can use to create a "segmentation" surface in nifti or mgz from an annotation. Then find "voxels" th

Re: [Freesurfer] labels to surface

2008-10-03 Thread Bruce Fischl
Hi Joost, can you give us a bit more info? What do you want to do with the mask after you've created it? cheers, Bruce On Fri, 3 Oct 2008, j janssen wrote: Hi, using version 4.0.5. i want to convert the lh.Medial_wall.label found in the fsaverage label subdir into a mask which consists of

[Freesurfer] labels to surface

2008-10-03 Thread j janssen
Hi, using version 4.0.5. i want to convert the lh.Medial_wall.label found in the fsaverage label subdir into a mask which consists of 1 x v vector, with value 1 inside the mask, 0 outside the mask and v=#vertices. should i follow mri_label2vol and thereafter mri_vol2surf? i guess i am looking for