Closed cll008 closed 3 years ago
Strange bug that causes ft_read_headshape to fail. NaN(s) is/are in both original file and after mesh refinement.
Subscript indices must either be real positive integers or logicals.
Error in ft_read_headshape (line 95) color(i,1:3) = picture(round((1-texture(i,2))*length(picture)),1+floor(texture(i,1)*length(picture)),1:3); Occipital Scanner app reproduced across MATLAB vesrions
color(i,1:3) = picture(round((1-texture(i,2))*length(picture)),1+floor(texture(i,1)*length(picture)),1:3);
NaN most likely represent holes in the model. Fixed with commit b86dd49
Strange bug that causes ft_read_headshape to fail. NaN(s) is/are in both original file and after mesh refinement.
Subscript indices must either be real positive integers or logicals.
Error in ft_read_headshape (line 95)
color(i,1:3) = picture(round((1-texture(i,2))*length(picture)),1+floor(texture(i,1)*length(picture)),1:3);
Occipital Scanner app reproduced across MATLAB vesrions