mdreg.skimage.transform#
- mdreg.skimage.transform(moving, defo)[source]#
Transforms an image with a deformation field.
- Parameters:
moving (numpy.ndarray) – The input 2D or 3D image array.
defo (numpy.ndarray) – The deformation field. This array has 3 dimensions for a 2D image array and 4 dimensions for a 3D image array.
- Returns:
The transformed image.
- Return type: