• Let F1, F2,…, FM be a set of training face images.
Let F be their mean and Fi = Fi – F
•
• Use principal
components to compute the eigenvectors
and eigenvalues of the covariance matrix
of the Fi s
• Choose the vector u of most significant M eigenvectors
to use as the basis.
• Each face is represented as a linear combination of eigenfaces
u = (u1, u2, u3, u4, u5); F27 = a1*u1 +
a2*u2 + … + a5*u5