---------- Forwarded message ---------- From: fatma zribi zribi.fatma@gmail.com Date: 2013/7/11 Subject: Re: How to use read_curv? To: Bruce Fischl fischl@nmr.mgh.harvard.edu
i have used read_surf to read ?h.white data. Now i would like to use curv and sulc file of FreeSurfer and extract the variance compared two one template of the average of 80subjects. We hav'ent a method to go from curv file to plot a mesh with matlab.
2013/7/11 Bruce Fischl fischl@nmr.mgh.harvard.edu
sorry, I still don't understand what the issue is. read_surf will give you the surface geometry/topology, and read_curv will give you the scalar fields to display over them. You can use mri_surf2surf to map them into a common space (the fsaverage surface for example)
cheers Bruce On Thu, 11 Jul 2013, fatma zribi wrote:
Hi Bruce,
I would like to use information about curv and sulc of a population and plot the variance with plot_mesh (variance presented in one brain)
With best regards,
Fatma
2013/7/11 Bruce Fischl fischl@nmr.mgh.harvard.edu Hi Fatma
I don't understand your question. read_curv returns a scalar field over the surface, not the surface itself, which is why it is nvertices x 1. Use read_surf to read the surface topology in cheers Bruce On Thu, 11 Jul 2013, fatma zribi wrote: Dear Bruce, Now i would like to use the function read_curv but I have a problem of dimension .. curv is a vector of [143704,1] and vertices must be a matrix of [3, 143704] Would you mind help me and send an exemple of the use of the function wiht the visualisation of the brain [curv, fnum] = read_curv([SD_atlas.parms.**SUBJECTS_DIR '/' SD_atlas.parms.SUBJECT '/surf/' SD_atlas.parms.hemi '.curv']); white_sbjMesh.vertices = curv'; white_sbjMesh.faces=(fnum+1)'**; SD_white_remeshed{j}.vertices = MARS_linearInterpolate(max_**mesh.vertices, SD_sphere_sbjMesh, white_sbjMesh.vertices); SD_avg_mesh.vertices = SD_avg_mesh.vertices+SD_white_**remeshed{j}.vertices; Thank you very much for your help with best regards, FatmaThe 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/**compliancelinehttp://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.