THERE ARE ERRORS IN SURFACES! POSSIBLY ISOLATED/DISCONNECTED PATCHES!!TRYING TO CONTINUE.. CHECK OUTPUT!!
Performing curvature registration
Error using TriScatteredInterp
The coordinates of the input points must be finite values; Inf and NaN are not permitted.
Error in mygriddata (line 25)
Error in curvature_registration512g_wt_multi_bs_elastic_xyz_cg (line 60)
Error in curvature_registration_newbs_elastic_xyz (line 73)
Error in svreg_label_surf_hemi (line 191)
MATLAB:TriScatteredInterp:NonFiniteInputPtsErrId