Application of Linear Transformation
Application of Linear Transformation
TRANSFORMATION
IN COMPUTER SCIENCE
IE- MATHS(4)
WHAT IS LINEAR TRANSFORMATION?
The diagram below exemplifies a linear transformation that is additive, meaning the functions
are added together.
Beginning in the upper left-hand corner, the transformation follows the two pathways, as
diagrammed by the arrows.
The two produced expressions of the linear transformation are always equal.
Notice that while T is the name of the function, T(u), is the name of the output of the
transformation.
APPLICATION OF LINEAR TRANFORMATION
1. Cryptography
1. Cryptography
For the security , we first code the alphabet as follows:
2.Computer Graphics
Computer graphics essentially consist of a large number of basic
geometric shapes such as triangles or quadrilaterals, defined by their
vertexes (corners).
The computer graphics seen in movies and videogames works in three
stages:
1. A 3D model of the scene objects is created;
2. The model is converted into (many small) polygons in 3D that
approximate the surfaces of the model; and
3. The polygons are transformed via a linear transformation to yield a 2D
representation that can be shown on a flat screen.
There is interesting mathematics in each stage, but the transformations
that take place in the third stage are linear, and that’s what we’ll study
today
APPLICATION OF LINEAR TRANFORMATION
A) Rotation
Imagine that we want to circle the camera around the ball. This is equivalent to
rotating the ball around the yy axis.This is a linear transformation.
We can implement it by multiplying the coordinates of the ball by a rotation matrix.
To define the rotation matrix, we need to think about what happens to each of the
columns of I : e1,e2,e3.
APPLICATION OF LINEAR TRANFORMATION
B) Shear Transformation
Let’s do an example. Let’s say I have these points in
APPLICATION OF LINEAR TRANFORMATION
Now let’s transform each of these points according to the following rule.
Let
APPLICATION OF LINEAR TRANFORMATION