
Affine transformation
This function applies an affine transformation to the current image.An affine transformation consists of four sub-transformations: Scale, Stretch, Shear (in x or y direction) and rotation. The following dialog illustrates the exact meaning and matrix of each sub-transformation.

The overall transformation matrix is

or

One example of the affine transformation is show as follows.
The original image.

The image after the affine transformation. Scale=0.5, Stretch=1, Shear(y)=1.1, Rotate=10 degrees.

Note that the size of the result image can be very large. VIPBase sets an upper limit of 3600 pixels for the larger of the width and the height.
VIPBase also supports the perspective transformation, another widely used geometric transformation. See the documentation here.
![]() |
VIPBase © 2006 Fengjun Lv |
Last update: 08/01/2006 (check html) |
