I've been doing all of my analysis with surface images and now I need to label my results. I can annotate the visualization in tksurfer but I can't see an automated way to, say, generate a list of all areas with voxels with a value over some threshold. I thought I might try going to the label files and using mri_label2vol followed by mri_vol2surf. I'm registering all my surfaces using the icosahedron target and outputting in analyze format so I can import it into R. I figured the best labels to use would be those from the fsaverage directory. I converted those into volume files, but in order to convert them into surfaces, I need a .reg file. I tried the sphere.regfiles in the surf subdirectory, but mri_vol2surf didn't like that. Using a .reg file for a volume registered to fsaverage seems redundant, but I see no way around it. Is there? Or am I doing this all wrong and there is a much better way to label my surfaces?
Thanks,
if you just want a label of the values above threshold, you can use mri_binarize on the surface value file, then use mri_cor2label with the --surf option to generate a label.
Alessandro Gagliardi wrote:
I've been doing all of my analysis with surface images and now I need to label my results. I can annotate the visualization in tksurfer but I can't see an automated way to, say, generate a list of all areas with voxels with a value over some threshold. I thought I might try going to the label files and using mri_label2vol followed by mri_vol2surf. I'm registering all my surfaces using the icosahedron target and outputting in analyze format so I can import it into R. I figured the best labels to use would be those from the fsaverage directory. I converted those into volume files, but in order to convert them into surfaces, I need a .reg file. I tried the sphere.reg files in the surf subdirectory, but mri_vol2surf didn't like that. Using a .reg file for a volume registered to fsaverage seems redundant, but I see no way around it. Is there? Or am I doing this all wrong and there is a much better way to label my surfaces?
Thanks,
,-------------------------------------------------- | Alessandro Gagliardi | Rutgers University Mind Brain Analysis | Integrative Neuroscience Program | alessandro@gagliardi.name mailto:alessandro@gagliardi.name `--------------------------------------------
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu