What segmentation do you mean? Where are you getting vtk files? We write the segmentation into .mgz volumes such as aseg.mgz


Cheers
Bruce


On Jul 18, 2016, at 1:19 PM, Abbie McNulty <amcnult1@stanford.edu> wrote:

So we were able to figure out how to segment the different parts of the brain using the bert sample, but have run into another problem. 
I would like to save each segmentation so that I can import it into matlab and create a matrix in order to create a mesh. The volume segment saves a as a .vtk file, which I don't know how to read into matlab. How can I save it as or convert it to a .mgz file so that I can import it into matlab?

Thanks!
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer