So, I have figured out how to read the surface file into matlab - I first convert the surf file to ascii using mri_convert and then use the read_asc matlab code.
When trying to visualize this though, I run into the issue where the curv file and surf file have different dimensions. Is there any way of extracting the correct curv file through the process of using mris_smooth? Thanks for your help! Best, Raghav -- Raghav Puranmalka Candidate B.S. Engineering | Major: Bioengineering Candidate M.S. Engineering | Major: Bioengineering SEAS | University of Pennsylvania 630.544.1114 | ragh...@seas.upenn.edu On 03/04/2010 03:55 PM, Raghav Puranmalka wrote: > Hi all - > > I was trying to merge rh and lh surfaces. I succeeded after reading the > mailing list archives from March 2009 found at > http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg09665.html. > > I following this guide: > > you can get something like what you want with > > cd $SUBJECTS_DIR/subject > mri_binarize --i mri/ribbon.mgz --min .0001 --o mri/tmp.mgh > mri_tessellate mri/tmp.mgh 1 surf/lh.both > mris_smooth -nw surf/lh.both surf/lh.smboth > tksurfer subject lh smboth > > Note that eventhough you call it "lh" it has both hemis. "lh" is just > to fool freesurfer into thinking it is a hemi. > > The issue I run into is that I try to get matlab to read the surface > through read_surf, I find that the magic number is not recognized. > > Has anyone experienced this before? Any thoughts about navigating > through this? > > Best, > > Raghav _______________________________________________ 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.