Hi,
I'm with @filipa and we have a problem when following this tutorial https://neuroimage.usc.edu/brainstorm/Tutorials/DeepAtlas
We're trying to create a surface with deep sources (Hippocampus and amygdala) in order to reconstruct sources there.
After selecting a few regions of interest, keeping them only, and merging with my current cortex, I get the following error:
Index in position 1 exceeds array bounds. Index must not exceed 17072.
Error in panel_scout>GetScoutPosition (line 4656)
orient = VertexNormals(iVert,:);
Error in panel_scout>PlotScouts (line 4332)
MarkerLocation = GetScoutPosition(Vertices, VertexNormals, sScouts(i).Seed, 0.0002);
Error in panel_scout (line 63)
eval(macro_method);
Error in view_surface (line 166)
panel_scout('PlotScouts', [], hFig);
Error in tree_callbacks>@(h,ev)view_surface(filenameRelative) (line 1100)
gui_component('MenuItem', jPopup, [], 'Display', IconLoader.ICON_DISPLAY, [], @(h,ev)view_surface(filenameRelative));
Can you help?
Thanks!