Hi,
I am just studying the FreeSurfer open source code (obtained from the read-only CVS, “dev” branch checkout instructions). It appears there is a slight mistake in mrisComputeOriginalVertexDistances. The following code computes the difference between v->y and vn->origy, where it probably should use v->origy as well.
mrisurf.c:4093: xd = v->origx - vn->origx ; yd = v->y - vn->origy ; zd = v->origz - vn->origz ;
Andreas
Hi Andreas,
that is indeed a mistake, thanks for catching it. I think at that point it doesn't affect anything since the orig[xyz] and [xyz] have the same coords in the flattening at the beginning, but still, it's good to fix Bruce On Sat, 14 Nov 2015, Andreas Schuh wrote:
Hi,
I am just studying the FreeSurfer open source code (obtained from the read-only CVS, “dev” branch checkout instructions). It appears there is a slight mistake in mrisComputeOriginalVertexDistances. The following code computes the difference between v->y and vn->origy, where it probably should use v->origy as well.
mrisurf.c:4093: xd = v->origx - vn->origx ; yd = v->y - vn->origy ; zd = v->origz - vn->origz ;
Andreas _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu