Documente Academic
Documente Profesional
Documente Cultură
Detection
PCA
Recognition
Sally
H. H. Kha
PCA
H. H. Kha
PCA
H. H. Kha
http://www.apple.com/ilife/iphoto/
PCA
H. H. Kha
x
2. Recognize face by nearest neighbor
y1...y n
k argmin y k
k
PCA
H. H. Kha
H. H. Kha
PCA
H. H. Kha
PCA
H. H. Kha
PCA
10
H. H. Kha
Geometrical Interpretation
PCA
11
H. H. Kha
Geometrical Interpretation
PCA
12
H. H. Kha
Dimensionality Reduction
The set of faces is a subspace of the set
of images
Suppose it is K dimensional
We can find the best subspace using
PCA
This is like fitting a hyper-plane to the
set of faces
- spanned by vectors u1, u2, ..., uK
Any face:
PCA
x +w1u1+w2u2++wkuk
13
H. H. Kha
Image Representation
Training set of m images of size
N*N are represented by vectors of
size N2
x1,x2,x3,,xM
Example
1 2 3
3 1 2
4 5 1 33
1
2
3
3
1
2
4
5
1
91
PCA
16
H. H. Kha
Maximize
subject to ||u||=1
Projection of data point
N
1/N
17
H. H. Kha
PCA
18
H. H. Kha
Eigenfaces example
Training
images
x1,,xN
PCA
19
H. H. Kha
Eigenfaces example
Top eigenvectors: u1,uk
Mean:
PCA
20
H. H. Kha
PCA
21
H. H. Kha
=
Reconstruction:
=
x^
PCA
w1u1+w2u2+w3u3+w4u4+
22
H. H. Kha
23
H. H. Kha
Recognition
The distance of p to each face class is defined by
k2 = ||p-pk||2; k = 1,,N
A distance threshold c, is half the largest distance
between any two face images:
c = maxj,k {||pj-pk||}; j,k = 1,,N
PCA
24
H. H. Kha
Recognition
Find the distance between the original image x and
its reconstructed image from the eigenface space, xf,
2 = || x x^ ||2
Recognition process:
IF c
then input image is not a face image;
IF <c AND kc for all k
then input image contains an unknown face;
IF <c AND k*=mink{ k} < c
then input image contains the face of individual k*
PCA
25
H. H. Kha
PCA
PCA
26
H. H. Kha
Limitations
Global appearance method: not robust to
misalignment, background variation
PCA
27
H. H. Kha