Dear Francois, the viewer part is almost done. One of the remaining steps is to create an 'inner skull' surface, maybe via convhull, but one that would follow the cortex only, without the cerebellum, more akin to pial_outer_smoothed surfaces generated in freesurfer with the lgi routine. Is this possible in BST, or I would need to import the lgi surface? I need this type of surface for calculating scout center positions and their labels at some cortical smoothing levels via the smoothing sliders (just for display: relying on seeds or centrality measures, while accurate, is less optimal for display when smoothing is near 0, native cortex). Thank you. Octavian
Thank you, Francois. The viewer is close to being ready to roll, the one issue remaining is displaying the scout 'label centers' when the cortex is in nonsmoothed ('native') state. I may not need to project those centers after all. I would appreciate your input with two issues (two potential methods to tackle the issue):
how do I plot the cortex convhull ON TOP OF a cortical surface displayed by figure_3d.m (using custom commands/script), I am talking about
tess_bem.m line 97:
surfnorm command in matlab does not seem to work in this context (what I want is normals on top of surface as in the cylinder figures here https://www.mathworks.com/help/matlab/ref/surfnorm.html#mw_0393003d-de72-457c-9e79-1841cb9acfbd
I do not want to bother you with the rationale/explanation of why I need these at this point, but appreciate your help with these specific tasks.
Thank you,
Dear Francois, the viewer is almost ready. One issue is with aseg surface scouts. Is there a way to:
generate full surface files from one selected scout (from another surface)?
dilate the new surface (probably via creating a surface mask 1st, prior to tess_envelope dilate step). Step 1 optional if one could dilate a surface scout (I am thinking more about closed surfaces, such as hippocampi).
Thank you, Octavian
dilate the new surface (probably via creating a surface mask 1st, prior to tess_envelope dilate step). Step 1 optional if one could dilate a surface scout (I am thinking more about closed surfaces, such as hippocampi).
What do you mean with "dilating"?
You want to create a new surface larger than the previous one? By moving the vertices a few millimeters away from the center of mass along the normal to the surface?
This is a very tricky problem for non-convex elements, as it may quickly cause self-intersections...