Apply volume registration.
Uses registration parameters computed by
The image to morph (“from” volume).
The image to align with (“to” volume).
float, shape (4, 4)
The affine that registers one volume to another.
The class that applies the the symmetric diffeomorphic registration (SDR) morph.
Interpolation to be used during the interpolation. Can be “linear” (default) or “nearest”.
The constant value to assume exists outside the bounds of the
moving image domain. Can be a string percentage like
to use the given percentile of image data as the constant value.
The image after affine (and SDR, if provided) registration.
New in version 0.24.