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