nipreps/niworkflows

Add figure to facilitate CIFTI visualization

Closed this issue · 4 comments

mgxd commented

Even though we are using the CIFTI (when available) within the carpetplot generation, a figure would be ideal

wb_view
Screen Shot 2021-10-21 at 9 37 53 AM

Preliminary testing with https://github.com/danjgale/surfplot yielded decent results:
cifti-surfplot

This is just the mean BOLD? Are we also doing a carpetplot?

mgxd commented

no, this is showing the left/right surfaces at timepoint 0 of the BOLD series. The carpetplot will use the CIFTI if available, otherwise just the volumetric NIfTI (added in #491)

mgxd commented

Ok, laying some steps out here:

  1. Add 32k and 59k midthickness/inflated/very-inflated fsLR surfaces to TemplateFlow.
  2. Add surfplot as a dependency, which requires vtk
  3. Add code to generate figure from CIFTIs
    (In fMRIPrep/nibabies/etc)
  4. Add figure to reports
  1. Create a colormap that plots everything <= 0 in fully transparent color (e.g., it would look gray as the interhemispheric junction).