nilearn.image
: Image Processing and Resampling Utilities#
Mathematical operations working on Niimg-like objects.
Like, for example, a (3+)D block of data, and an affine.
Functions:
|
Binarize an image such that its values are either 0 or 1. |
|
|
|
Concatenate a list of 3D/4D niimgs of varying lengths. |
|
Convert the x, y, z coordinates from one image space to another space. |
|
Copy an image to a nibabel.Nifti1Image. |
|
Crops an image as much as possible. |
|
Get the image data as a |
|
Return confounds extracted from input signals with highest variance. |
|
Indexes into a 4D Niimg-like object in the fourth dimension. |
|
Iterate over a 4D Niimg-like object in the fourth dimension. |
Return the largest connected component of an image or list of images. |
|
|
Load a Niimg-like object from filenames or list of filenames. |
|
Interpret a numpy based string formula using niimg in named parameters. |
|
Compute the mean of the images over time or the 4th dimension. |
|
Create a new image of the same class as the reference image. |
|
Resample a Niimg-like object. |
|
Resample a Niimg-like source image on a target Niimg-like image. |
|
Return an image with the affine diagonal (by permuting axes). |
|
Smooth images by applying a Gaussian filter. |
|
Perform swapping of hemispheres in the indicated NIfTI image. |
|
Threshold the given input image, mostly statistical or atlas images. |