nibabel.minc2

Preliminary MINC2 support

Use with care; I haven’t tested this against a wide range of MINC files.

If you have a file that isn’t read correctly, please send an example.

Test reading with something like:

import nibabel as nib
img = nib.load('my_funny.mnc')
data = img.get_fdata()
print(data.mean())
print(data.max())
print(data.min())

and compare against command line output of:

mincstats my_funny.mnc

Classes

Hdf5Bunch(var)

Make object for accessing attributes of variable

Minc2File(mincfile)

Class to wrap MINC2 format file

Minc2Header([data_dtype, shape, zooms])

Minc2Image(dataobj, affine[, header, extra, ...])

Class for MINC2 images