Dear freesurfers,
I'm working on a function to import automatically the segmentation folder into a Brainstorm database. I have a few questions: - Is there a way to read/get the position of the anterior and posterior commissures (AC/PC)? - What file should I read to get the labels corresponding to the aseg.mgz file? - Is there an easy way to generate surfaces for all the regions defined in aseg.mgz? - How do you create a mesh from a volume mask?
Thanks, Francois
On 07/12/2013 07:18 PM, François Tadel wrote:
Dear freesurfers,
I'm working on a function to import automatically the segmentation folder into a Brainstorm database. I have a few questions:
- Is there a way to read/get the position of the anterior and
posterior commissures (AC/PC)?
What do you mean by "position"? Do you mean the col, row, slice? For the AC, it should be possible since it is at TalXYZ=(0,0,0). Is there such a coordinate for the PC? We don't find the actual AC or PC.
- What file should I read to get the labels corresponding to the
aseg.mgz file?
$FREESURFER_HOME/ASegStatsLUT.txt
- Is there an easy way to generate surfaces for all the regions
defined in aseg.mgz?
Do you mean a surface for, say, hippocampus? In principle, it is possible, but the question is whether it is accurate.
- How do you create a mesh from a volume mask?
You can run mri_tesselate on it. Again, it might not be very accurate. It will look better if you run mris_smooth on it. doug
Thanks, Francois
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu