Linear Algebra Review - PowerPoint PPT Presentation

About This Presentation
Title:

Linear Algebra Review

Description:

Linear Algebra Review Why do we need Linear Algebra? We will associate coordinates to 3D points in the scene 2D points in the CCD array 2D points in the image ... – PowerPoint PPT presentation

Number of Views:183
Avg rating:3.0/5.0
Slides: 35
Provided by: Prefer547
Category:

less

Transcript and Presenter's Notes

Title: Linear Algebra Review


1
Linear Algebra Review
2
Why do we need Linear Algebra?
  • We will associate coordinates to
  • 3D points in the scene
  • 2D points in the CCD array
  • 2D points in the image
  • Coordinates will be used to
  • Perform geometrical transformations
  • Associate 3D with 2D points
  • Images are matrices of numbers
  • We will find properties of these numbers

3
Matrices
Sum
A and B must have the same dimensions
4
Matrices
Product
5
Matrices
Transpose
If
A is symmetric
6
Matrices
Determinant
A must be square
7
Matrices
Inverse
A must be square
8
2D Vector
9
Vector Addition
10
Vector Subtraction
V-w
v
w
11
Scalar Product
12
Inner (dot) Product
The inner product is a SCALAR!
13
Orthonormal Basis
14
Vector (cross) Product
The cross product is a VECTOR!
15
Vector Product Computation
16
2D Geometrical Transformations
17
2D Translation
P
t
P
18
2D Translation Equation
19
2D Translation using Matrices
P
20
Homogeneous Coordinates
  • Multiply the coordinates by a non-zero scalar and
    add an extra coordinate equal to that scalar.
    For example,
  • NOTE If the scalar is 1, there is no need for
    the multiplication!

21
Back to Cartesian Coordinates
  • Divide by the last coordinate and eliminate it.
    For example,

22
2D Translation using Homogeneous Coordinates
t
P
23
Scaling
P
P
24
Scaling Equation
P
Sy.y
P
y
x
Sx.x
25
Scaling Translating
PT.P
PS.P
P
PT.PT.(S.P)(T.S).P
26
Scaling Translating
PT.PT.(S.P)(T.S).P
27
Translating Scaling ? Scaling Translating
PS.PS.(T.P)(S.T).P
28
Rotation
P
P
29
Rotation Equations
Counter-clockwise rotation by an angle ?
30
Degrees of Freedom
R is 2x2
4 elements
BUT! There is only 1 degree of freedom ?
The 4 elements must satisfy the following
constraints
31
Scaling, Translating Rotating
Order matters!
P S.P PT.P(T.S).P PR.PR.(T.S).P(R.T
.S).P
R.T.S ? R.S.T ? T.S.R
32
3D Rotation of Points
Rotation around the coordinate axes,
counter-clockwise
z
33
3D Rotation (axis angle)
34
3D Translation of Points
Translate by a vector t(tx,ty,tx)T
P
t
Y
x
x
P
y
z
z
Write a Comment
User Comments (0)
About PowerShow.com