NiBabel

Access a cacophony of neuro-imaging file formats

Previous topic

nibabel.funcs.as_closest_canonical

Next topic

nibabel.funcs.four_to_three

This Page

Reggie -- the one

nibabel.funcs.concat_images

nibabel.funcs.concat_images(images, check_affines=True)

Concatenate images in list to single image, along last dimension

Parameters :

images : sequence

sequence of SpatialImage or of filenamess

check_affines : {True, False}, optional

If True, then check that all the affines for images are nearly the same, raising a ValueError otherwise. Default is True

Returns :

concat_img : SpatialImage

New image resulting from concatenating images across last dimension