Hi List, I am getting the following error when running recon-all lgi for local gyrification index. I have changed the script in matlab as we are using matlab 2013b as mentioned in the previous thread. I am attaching the script. Please let me know what else to do. Thanks Regards Meenal Budhiraja PhD student Karolinska Institute Stockholm,Sweden.
preparing pial mesh structure ... ...searching for mesh edges...done (349.20 sec). ... creating path file for vertex 1 / 66330 area file for outer ROIs saved at 1 Improper assignment with rectangular empty matrix. Error in dsearchn (line 79) [d(i),t(i)] = min(sum((x-yi).^2,2)); Error in mesh_vertex_nearest (line 29) nearestIndex = dsearchn(vertices,points); Error in reorganize_verticeslist (line 28) [nextindex,nextvalue]=mesh_vertex_nearest(mesh_total.vertices(remaininglist,:),mesh_total.vertices(verticeslist(start_vertex),:)); Error in make_roi_paths (line 93) reorglist = reorganize_verticeslist (mesh_total, A, mesh_outer, perim, verticeslist, step); >> ERROR: make_roi_paths did not complete successfully!
function [verticeslist]=SearchProjectionOnPial(mesh_total,mesh_outer,perim, step) % step is typically set between 5 and 10. Default is 7, increasing it will % limit redundancies in the resulting path file. verticeslist=[]; si=max(size(perim)); for t=1:step:si [nearestIndexMT,nearestValuesMT]=mesh_vertex_nearest(mesh_total.vertices,mesh_outer.vertices(perim(t),:)); verticeslist= [verticeslist nearestIndexMT]; end verticeslist=unique(verticeslist);
_______________________________________________ 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.