Display an image slice in 3D

display_slice(brain, slice, ...)

Arguments

brain

template brain (e.g. IS2) of the slice.

slice

Path to PNG image containing slice to display.

...

extra arguments to pass to persp3d.

Value

This function is principally called for its side effect of adding to the plot. A vector of rgl shape IDs is returned invisibly.