open-discussion > RE: Image generator
Jul 27, 2012  02:07 AM | Satrajit Ghosh
RE: Image generator
import matplotlib as mpl
mpl.use('Agg')
from nibabel import load
from matplotlib.pylab import imsave, imshow
img = load('data/T1.nii')
imsave('test.png', img.get_data()[45, :,:])

Threaded View

TitleAuthorDate
Christian Haselgrove Jul 26, 2012
Christian Haselgrove Jul 27, 2012
Michael Hanke Jul 27, 2012
RE: Image generator
Satrajit Ghosh Jul 27, 2012
vsochat Jul 27, 2012
Joseph Dien Jul 27, 2012
Christian Haselgrove Jul 26, 2012
Justin Senseney Jul 26, 2012
Christine Zakrzewski Jul 26, 2012
Stephen Strother Jul 26, 2012
Justin Senseney Jul 26, 2012