(template parameter) Interpolation function. Default linear.
Slice of an image which is transformed.
2D Transformation matrix (3x3). Its element type must be floating point type, and it can be defined as Slice object, dynamic or static 2D array.
Output image size [width, height] - if transformation potentially moves parts of image out of input image bounds, output image can be sized differently to maintain information.
Note: Given transformation is considered to be an perspective transformation. If it is not, result is undefined.
Transformed image.
Transform an image by given perspective transformation.