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
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
why not just combine the curv files in the same way and create a new one?
On Fri, 19 Mar 2010, Raghav Puranmalka wrote:
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
p.s. or you could use mris_curvature -w ... to create one directly On Fri, 19 Mar 2010, Raghav Puranmalka wrote:
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
freesurfer@nmr.mgh.harvard.edu