Digital Image Processing: Mathematical Tools
Digital Image Processing: Mathematical Tools
Mathematical tools
Hamid Laga
Institut Telecom / Telecom Lille1
[email protected]
http://www.img.cs.titech.ac.jp/~hamid/
Mathematical tools
Linear algebra
Vectors and matrices
Inner product
Convolution
Eigendecomposition
Probability theory
Basics
Probability distributions
2
Mathematical tools
Objectives
This review is aimed to ease understanding of
the IP topics, not for rigorous math. Review
3
Linear algebra - vectors
What is a vector
A point in the multi-dimensional space with
respect to some coordinate system
Notation
4
Linear algebra - vectors
Scalar product (dot / inner product)
A product of two vectors and results in a scalar
Formulation
5
)) , ( cos( b a angle b a =
Linear algebra - vectors
Interpretations of the scalar product
Projection
Angle
Similarity
6
Linear algebra - vectors
Norms
7
Linear algebra - vectors
Linear combination
A linear combination of v
1
,v
2
,,v
n
is an expression of the form
where the os are scalars.
Linear dependence
A vector v is said to be linearly dependent on a set of
vectors v
1
,v
2
,,v
n
if and only if v can be written as a linear
combination of these vectors.
Otherwise, v is linearly independent of the set of vectors
v
1
,v
2
,,v
n
.
8
Linear algebra - bases
9
Linear algebra - bases
Example
In 3D space the basis are
10
Linear algebra - bases
Coordinate system:
Origin + standard basis
11
Linear algebra - bases
Change of basis
12
Linear algebra - bases
13
Linear algebra - Matrices
Example rotation matrix
14
Linear algebra - Matrices
Definition
An mn (read "m by n") matrix is a rectangular array of
entries or elements
mis the number of rows, n the number of columns
A is the identity matrix ( I ) if its all diagonal elements are
1, and the other elements (off-diagonal) are 0.
15
Linear algebra - Matrices
Rank of a matrix
16
Linear algebra - Matrices
Inverse of a matrix
17
Linear algebra - Matrices
Inverse of a matrix - properties
18
Linear algebra - Matrices
Determinant of a matrix
19
Linear algebra - Eigendecomposition
Eigenvalues and eigenvections
20
Linear algebra - Eigendecomposition
Eigendecomposition
21
1
=VDV A
Linear algebra - Eigendecomposition
Eigendecomposition
Matrix inverse via eigendecomposition
if matrix A can be eigendecomposed and if none of its
eigenvalues are zero, then A is nonsingular and its
inverse is given by
Because D is a diagonal matrix, its inverse is given
22
1
=VDV A
1 1 1
= V VD A
| |
ii
ii
D
1
1
=