Four face databases in matlab format

Algorithms

(Matlab 7 or higher version is required to open these files)
We recomend to pre-process the data using either of the following two methods:

Nomalize each vector to unit
%===========================================
[nSmp,nFea] = size(fea);
for i = 1:nSmp
     fea(i,:) = fea(i,:) ./ max(1e-12,norm(fea(i,:)));
end
%===========================================

Scale the features (pixel values) to [0,1]
%===========================================
maxValue = max(max(fea));
fea = fea/maxValue;
%===========================================


If you used the processed data sets on this page, we appreciate it very much if you can cite our following works:



Return to Codes and Data