Dear all,
I'd like to create labels for certain structures based on their segmentation labels (e.g. a label containing all voxels in orbitofrontal cortex). Is there a way to automatize this? At the moment I'm using tkmedit to mark all voxels with the same segmentation label, then saving them as a label; that's a bit cumbersome... any hints?
Many thanks! johannes
Do you mean from a annotation? If so, then you can use mri_annotation2label. This will dump all the annotations in to separate labels. If you mean to merge several labels together into one, use mri_mergelabels.
Note: the current version of mri_annotation2label requires a table (you can use aparc.ctab). It will also fail to create the last label. These are fixed in the current dev version, which I have copied to:
ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/mri_annotation2label
doug
Johannes Haushofer wrote:
Dear all,
I'd like to create labels for certain structures based on their segmentation labels (e.g. a label containing all voxels in orbitofrontal cortex). Is there a way to automatize this? At the moment I'm using tkmedit to mark all voxels with the same segmentation label, then saving them as a label; that's a bit cumbersome... any hints?
Many thanks! johannes
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Hi Johannes,
have you looked at the cortical parcellations we generate? Does that do what you want?
Bruce
On Thu, 3 Aug 2006, Johannes Haushofer wrote:
Dear all,
I'd like to create labels for certain structures based on their segmentation labels (e.g. a label containing all voxels in orbitofrontal cortex). Is there a way to automatize this? At the moment I'm using tkmedit to mark all voxels with the same segmentation label, then saving them as a label; that's a bit cumbersome... any hints?
Many thanks! johannes
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu