not that I know of. When I have to do this, I save the data to a file, then call mri_surf2surf with a system call, then load the result back into matlab
On 7/18/14 1:12 AM, Reza Rajimehr wrote:
Hi,
For a simulation purpose, I want to load a surface into Matlab, assign a random value (taken from a normal distribution) to each vertex, do spatial smoothing on the surface with a given FWHM (e.g. 5mm), then do some computations with the smoothed values.
I am wondering if there is a Matlab code that I can use for surface smoothing, similar to what FS-FAST preprocessing does in Freesurfer version 5 and above.
Thanks, Reza
Reza Rajimehr, MD Postdoctoral Research Fellow
McGovern Institute for Brain Research Massachusetts Institute of Technology (MIT)
NMR Martinos Center Massachusetts General Hospital (MGH) Harvard University
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer