Hi,
With tkmedit a surface (e.g. lh.pial) can be converted into a smooth contour superimposed onto T1. I would like to use such contour in my own application. To do this I've tried mri_surf2vol using the --mkmask option resulting in a binary file showing only a very rough and patchy (fragmented) "contour". How can I derive a smooth contour like in tkmedit?
Cheers, Ed
Hi Ed
tkmedit doesn't convert the surface - it computes the intersection of the surface with the viewing plane and displays that. There is currently no mechanism to save such a thing. You can take a look at the code in either tkmedit or freeview if you want and see about doing so, although I expect it's not trivial (since it is typically done on the fly)
cheers Bruce
On Thu, 7 Jan 2016, Gronenschild Ed (NP) wrote:
Hi,
With tkmedit a surface (e.g. lh.pial) can be converted into a smooth contour superimposed onto T1. I would like to use such contour in my own application. To do this I've tried mri_surf2vol using the --mkmask option resulting in a binary file showing only a very rough and patchy (fragmented) "contour". How can I derive a smooth contour like in tkmedit?
Cheers, Ed
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu