Concept: In geometry, affine transformations refer to a vector space for a linear transformation with a translation transformation and become another vector space. Note that the translation transformation is not a linear transformation. The expression is as follows:
Wherea is our transformation matrix.
Here we will not discuss the translation transformation components, only the transformation matrix. Specifically, only the transformation matrices of two-dimensional space are discussed.
In two-dimensional space, common linear transformations are commonly used, including: rotation, scaling, shearing, reflection, and orthographic projection.
1. Rotation:
The matrix that rotates the θ counterclockwise around the origin is expressed as:
2. Zoom:
Here the Alpha and β are the scaling coefficients for the x and y axes, respectively:
3. Shear (transvection):
Shear is actually inclined, divided into two kinds: one is parallel to the x axis, one is parallel to the Y axis:
The matrix representation of the parallel x-axis is:
Affine transformation of matrix theory