包含的文件有:
createDistMat.m,pca.m,feret.m,dup1,dup2,fb,fc,feretGallery,listAll,trainList
使用方法:
Run the function pca to create a variable pcaProj.
Input variable pcaProj to the function createDistMat, thus creating a distance
matrix that you then use as an input to the function feret. See headers of
all three functions for more details. The sequence should look something like this:
>> load trainList.mat
>> pca ('C:/FERET_Normalised/', trainList, 200);
>> pcaDistMatCos = createDistMat(pcaProj, 'COS');
>> pcaResultsCOS = feret(pcaDistMatCos, 50);
>> pcaResultsCOS.perc(1) % gives rank 1 result
>> plot(pcaResultsL1.cms) % plots the CMS curve