Hello all FS users and experts,

I'm wanting to get the sub cortical segmentation as ASCII files, so I'm trying convert the aseg.mgz into a surface file, to finally get an ASCII file,
For this I'm using the next commands:

First: mri_convert -rl rawavg.mgz -rt nearest aseg.mgz aseg2raw.nii
To preserve  the aseg volume in native space 

Second: mri_vol2surf --mov aseg2raw.nii --regheader mysubject --hemi lh --o ./lg.aseg2raw.mgh

And last: mris_convert lh.aseg2raw.mgh lh.aseg2raw.asc

I'm Not sure if I should do this for the whole aseg or if should I try to separate the segmented structures first...

Many Thanks in advanced,
Gabriel