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
BruceThe information in this e-mail is intended only for the person to whom it is
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,
Fatma
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.