Professional Documents
Culture Documents
Sumitha Balasuriya
Computer Vision
Image processing is a precursor to
Computer Vision making a computer
understand and interpret whats in an
image or video.
3D shape
Robotics
Recognition
Tracking
Categorisation /
Retrieval Segmentation
Innate Face Recognition Ability
Face recognition almost instantaneous
Highly invariant to pose, scale, rotation, lighting
changes
Can handle partial occasions and changes in age
And we can do all this for faces of several
thousand individuals
Who is this?
Fully Automated Face Recognition
Image Face
Detection Recognition Identity
/ Video
Face Detection
Colour
Motion
Template
Fiduciary points
Face Detection
Template matching
Extract facial regions (matrix of pixels) and
compare with that of known individuals
Need templates for different face poses/views
Very high dimensional data
High Dimensional Correlated Data
Images as a high dimensional vector
I1,1
Image space (high dimensional space of all possible
Transform Face images to a Face Space
Face space (low dimensional space of face images)
U Face images
2
The basis vectors (Ui) of face
space are the Principal Components
of face images. U3
These Principal Components (PCs)
correspond to the directions of
U1
greatest variation of the face dataset.
The first PC corresponds to the direction (and scale) of
greatest variation, the 2nd PC corresponds to the
orthogonal direction with the second greatest variation and
so on
Embedding a face image vector into face space is done by
calculating the vectors projection onto the Principal
Components. Mean face image
f = U * (I - A)
Face image Change dimensionality of
Embedded face f by changing that of U
Eigenfaces
Principal Component Analysis
(Karhunen-Loeve transform)
PCA find the Principal Components of a dataset
Finding the Eigenvectors and eigenvalues of the
covariance matrix (Eigen decomposition)
The covariance matrix contains the relationships
(correlations) between the variables of the vectors.
Variances along the diagonals and covariance
between each pair of variables in other positions
i , j X i i X j j
PCA (continued)
Covariance matrix for images
For images will run out of memory because for a
X *XT dataset of say 512x512 images X*XT will be a
262144x262144 matrix. If it has double precision
(64bit) values C will be 512GB!!!
Therefore for image we instead compute the reduced covariance matrix
High eigenvalue
Eigenfaces 1 to 9
eigenfaces seem
to capture lighting
and other global
intensity changes
Lower eigenvalue
Eigenfaces 10 to 18
eigenfaces are
better for
recognition
Transform into Face Space
Projection f = U * (I - A)
U2
U3
a
2
d ( a, b) i bi
i 1
Decision
surface
r r
d (unknown, known ) known known unknown known