Resample movimg into voxel space of reference using transform
Apply a transformation to the image considered as ‘moving’ to bring it into the same grid as a given reference image. The transformation usually maps world space in reference to world space in movimg, but can also be a voxel to voxel mapping (see parameters below).
This function uses scipy.ndimage except for the case interp_order==3, where a fast cubic spline implementation is used.
Parameters : | moving: nipy-like image :
transform: transform object :
reference : None or nipy-like image, optional
mov_voxel_coords : boolean, optional
ref_voxel_coords : boolean, optional
interp_order: int, optional :
|
---|---|
Returns : | aligned_img : Image
|