p.s. if that is what you want, it would be pretty easy to do in matlab:
v = load_mgh('file_created_by_vol_2_surf.mgz'); ind = find(v > threshold); write_label(ind-1, [], v(ind), 'label_file_want_to_create');
On Thu, 24 Jul 2014, Bastian Cheng wrote:
Dear Freesurfer-Experts,
Is there an automated way to convert an overlay volume to a label file? I guess I would look for a command called "vol2label".
I am currently projecting volume files (fMRI activiation hotspots) to surfaces (mri_vol2surf): this works nicely.
However I then would have to define labels manually (using "custom fill") by clicking on all (unconnected) spots on my surface.
Please excuse any redundancies, I have not found a good solution in the forum yet.
Best regards, Bastian. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer