Affine transformation
Affine Transformation[edit | edit source]
An affine transformation is a function between affine spaces which preserves points, straight lines, and planes. Sets of parallel lines remain parallel after an affine transformation. In the context of linear algebra, an affine transformation is a combination of linear transformations and translations.
Definition[edit | edit source]
Mathematically, an affine transformation can be represented as a function \( f: \mathbb{R}^n \to \mathbb{R}^m \) of the form:
\[
f(\mathbf{x}) = A\mathbf{x} + \mathbf{b}
\]
where \( A \) is a linear transformation represented by a matrix, \( \mathbf{x} \) is a vector in \( \mathbb{R}^n \), and \( \mathbf{b} \) is a translation vector in \( \mathbb{R}^m \).
Properties[edit | edit source]
Affine transformations have several important properties:
- Linearity: The linear part of the transformation, represented by the matrix \( A \), ensures that straight lines remain straight.
- Parallelism: Parallel lines remain parallel after the transformation.
- Midpoints: The midpoint of a line segment remains the midpoint after transformation.
- Ratios: Ratios of distances along parallel lines are preserved.
Types of Affine Transformations[edit | edit source]
Affine transformations include several specific types of transformations:
Translation[edit | edit source]
A translation moves every point a constant distance in a specified direction. It is represented by the transformation \( f(\mathbf{x}) = \mathbf{x} + \mathbf{b} \).
Scaling[edit | edit source]
Scaling changes the size of an object. Uniform scaling occurs when the scale factor is the same in all directions, while non-uniform scaling has different scale factors for different directions.
Rotation[edit | edit source]
Rotation turns an object around a fixed point, known as the center of rotation. In two dimensions, a rotation by an angle \( \theta \) is represented by the matrix:
\[
R = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}
\]
Shearing[edit | edit source]
Shearing distorts the shape of an object such that the transformation moves each point in a fixed direction, proportional to its distance from a line that is parallel to that direction.
Reflection[edit | edit source]
Reflection is a transformation that "flips" an object over a line (in 2D) or a plane (in 3D).
Applications[edit | edit source]
Affine transformations are widely used in computer graphics, image processing, and geometric modeling. They are essential for tasks such as:
- Image registration: Aligning images from different sources.
- Geometric transformations: Modifying the geometry of objects in graphics applications.
- Fractals: Generating fractal patterns, such as the fractal fern.
Related Pages[edit | edit source]
Gallery[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD