nibabel.funcs

Processor functions for images

Functions

as_closest_canonical(img[, enforce_diag])

Return img with data reordered to be closest to canonical

concat_images(images[, check_affines, axis])

Concatenate images in list to single image, along specified dimension

four_to_three(img)

Create 3D images from 4D image by slicing over last axis

squeeze_image(img)

Return image, remove axes length 1 at end of image shape