fmri_data.surface

May 7, 2026 · View on GitHub

← back to fmri_data methods · Object methods index

Render an fmri_data / statistic_image as a colored overlay on inflated or pial cortical surfaces. Returns surface handles you can manipulate (alpha, colormap, view). The fastest path to a publication- quality surface figure for a thresholded results map.

Quick example

imgs = load_image_set('emotionreg');
t = ttest(imgs);
t = threshold(t, .005, 'unc', 'k', 10);
create_figure('s'); surface(t);

surface sample

See also

  • fmri_data.montage — slice-based view
  • region.surface — render a region object on cutaway surfaces
  • addbrain — get bare anatomical surface handles to draw onto
  • render_on_surface — lower-level surface-rendering primitive