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 *****************
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
Hello,
This shell script may do close to what you want it to do, so you could modify it. It does it within AFNI using converted freesurfer surfaces.
http://faculty.fiu.edu/~adick/links/alphasurface.tcsh
If you see any errors please let me know.
Anthony
On 7/18/14, 12:39 PM, Douglas Greve wrote:
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
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu