几何变换
To perform a general geometric transformation of a 2-D or 3-D image, first define the
parameters of the transformation, then warp the image.
仿射变换和投影变换以矩阵表示。您可以使用矩阵运算来执行图像的全局变换。
You can create custom geometric transformations to process images of arbitrary
dimension, or to change the dimensionality of the output image from the input
image.
This example shows how to specify the color of blank space in the image after a
geometric transformation.