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 >> [email protected] >> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer >> >> > _______________________________________________ > Freesurfer mailing list > [email protected] > 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. > -- Anthony Steven Dick, Ph.D. Assistant Professor Director, Cognitive Neuroscience Program and Graduate Certificate in Cognitive Neuroscience Department of Psychology Florida International University Modesto A. Maidique Campus AHC4 454 11200 S.W. 8th Street Miami, FL 33199 Ph: 305-348-4202; Lab Ph: 305-348-9055; Fx: 305-348-3879 Email: [email protected] Webpage: faculty.fiu.edu/~adick; Lab Webpage: http://dcn.fiu.edu Join the Society for the Study of Human Development: http://www.sshdonline.org _______________________________________________ Freesurfer mailing list [email protected] https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
