Hi Freesurfer experts,
I was working on to conduct the local gyrification index analysis. I am getting the following error message when I used the option -localGI in recon-all.
--------------------------------------------------------------------
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!
--------------------------------------------------------------------
I have seen people have similar problem long time ago ( https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg33701.html).
I also tried to check the SearchProjectionOnPial.m file and it looks same as what was attached in the email.
Can anyone help on this?
I will really appreciate.
Thank you,
Hari
freesurfer@nmr.mgh.harvard.edu