Giving credit

Previous topic

7.5.2. nilearn.image.concat_imgs

Next topic

7.5.4. nilearn.image.crop_img

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

7.5.3. nilearn.image.copy_img

nilearn.image.copy_img(img)

Copy an image to a nibabel.Nifti1Image.

Parameters:

img: image

nibabel SpatialImage object to copy.

Returns:

img_copy: image

copy of input (data, affine and header)