Viewer#

Driving BrainViewer from Python. These examples draw off screen, with no window, and save screenshots of the views; they need the [viewer] extra and a GPU or a software renderer, but no display.

Moving around the 2D views

Moving around the 2D views

The 3D view

The 3D view

4D images in the viewer

4D images in the viewer

DTI colours in the viewer

DTI colours in the viewer

FOD glyphs in the viewer

FOD glyphs in the viewer

A parcellation in the viewer

A parcellation in the viewer

Peaks in the viewer

Peaks in the viewer

A brain in the viewer

A brain in the viewer

Separate views and rotation videos

Separate views and rotation videos

Saving and reopening a viewer session

Saving and reopening a viewer session

Surfaces in the viewer

Surfaces in the viewer

Tractograms in the viewer

Tractograms in the viewer

Streamlines as tubes

Streamlines as tubes

Volumes and overlays in the viewer

Volumes and overlays in the viewer