Applies any affine transformation of the plane (linear transformation plus vector shift) to a pixel image.
Pixel image (object of class
Matrix representing a linear transformation.
Vector of length 2 representing a translation.
Optional arguments passed to
The image is subjected first to the linear transformation represented by
mat (multiplying on the left by
and then the result is translated by the vector
mat must be a nonsingular 2 * 2
This is a method for the generic function
Another pixel image (of class
"im") representing the
result of applying the affine transformation.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.