target date: May 19, 2004 (you do not need to submit this part of the project on the target date: this is just to help you in allocating the time for this project. This assignment will be a section of your final report due on or before June 3, 2004)
In this assignment your goal is to write two Matlab functions: the first one to compute the feature vector associated to a given face and the second one to reconstruct a face given its feature vector (and, of course, the face eigenspace basis). Let's first introduce some notation:
|
Notation |
Meaning |
|
|
The matrix that contains the first K basis elements of the face eigenspace (eigenfaces) |
|
|
The vector that contains the column scan of the face image |
|
|
Zero mean version of the vector that contains the column scan of the face image |
|
|
The feature vector containing the components of the face projected on the face eigenspace generated by the first K eigenfaces. |
Write a function to compute the features associated to a given face. The help for such function should look like:
Omega = project_face(Gamma, U, K)
DESC:
project the face Gamma on the eigenspace
INPUT:
Gamma = input face
U = face eigenspace basis
K = number of features produced
OUTPUT:
Omega = face feature vector (K-dimensional)
The following image shows an example of the projection/reconstruction process:
M. Turk and A. Pentland, "Eigenfaces for recognition," Journal of Cognitive Neuroscience, Vol. 3, No. 1, pp. 71-86, Winter 1991.download from: http://www.cs.ucsb.edu/~mturk/research.htm M. Turk and A. Pentland, "Face recognition using eigenfaces," Proc. IEEE Conference on Computer Vision and Pattern Recognition, Maui, Hawaii, 1991.download from: http://www.cs.ucsb.edu/~mturk/research.htm