sagittal = np.asarray(V[slice_indices[0], :, :]).astype(np.uint8).T
fig = _three_plot([axial, coronal, sagittal],
["Axial", "Coronal", "Sagittal"],
cmap=plt.cm.gray, origin="lower")
// Save the figure if requested
if fname is not None:
fig.savefig(fname, bbox_inches="tight")
return fig
def overlay_slices(L, R, slice_index=None, slice_type=1, ltitle="Left",
rtitle="Right", fname=None):
rPlot three overlaid slices from the given volumes.