mdreg.ants.transform#
- mdreg.ants.transform(moving, transfo, interpolator='linear')[source]#
Transforms an image using a transformation produced by
mdreg.ants.coreg()
.- Parameters:
moving – numpy.ndarray The input 2D or 3D image array.
transfo – str | list path or paths to parameter files encoding the transformation from moving to coregistered image
interpolator – str Type of interpolation to use. For options see the ants documentation
- Returns:
The transformed image.
- Return type: