Apply an affine transformation.
The given matrix and offset are used to find for each point in the output the corresponding coordinates in the input by an affine transformation. The value of the input at those coordinates is determined by spline interpolation of the requested order. Points outside the boundaries of the input are filled according to the given mode.
Parameters : | input : ndarray
matrix : ndarray
offset : float or sequence, optional
output_shape : tuple of ints, optional
output : ndarray or dtype, optional
order : int, optional
mode : str, optional
cval : scalar, optional
prefilter : bool, optional
|
---|---|
Returns : | affine_transform : ndarray or None
|