nilearn.image
: Image Processing and Resampling Utilities#
Mathematical operations working on Niimg-like objects like a (3+)D block of data, and an affine.
Functions:
| Binarize an image such that its values are either 0 or 1. |
| Improve SNR on masked fMRI signals. |
| Concatenate a list of 3D/4D niimgs of varying lengths. |
| Convert the x, y, z coordinates from one image space to another |
| Copy an image to a nibabel.Nifti1Image. |
| Crops an image as much as possible. |
| Get the image data as a |
| Return confounds signals extracted from input signals with highest variance. |
| Indexes into a 4D Niimg-like object in the fourth dimension. |
| Iterates 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 (no registration is performed: the image should already be aligned). |
| Returns an image with the affine diagonal (by permuting axes). |
| Smooth images by applying a Gaussian filter. |
| Performs swapping of hemispheres in the indicated NIfTI image. |
| Threshold the given input image, mostly statistical or atlas images. |