apply_affine_transformation¶

apply_affine_transformation(fixed_img, moving_img, transform_initializer)[source]¶

Apply affine transformation using OpenCV.

Parameters:
Returns:

A transformed image.

Return type:

numpy.ndarray

Examples

>>> moving_image = apply_affine_transformation(
...     fixed_image, moving_image, transform_initializer
... )