Description: 1 This program uses PCA dimensionality reduction algorithm training images obtained feature image 2 would mean every picture with the image projected onto the difference feature vector space 3. Computing training images projected maximum pairwise Euclidean from distance_max 4. the test image is projected to the feature vector space, with all the training images calculate its minimum Euclidean distance projection distanceST_min. 5 Set judging threshold (set 0.3* distance_max, the experience obtained by the test, different threshold values will affect the determination result). When distanceST_min> 0.3* distance_max, then that test image and the training images do not belong to the same class, on the contrary, it is considered to be.
To Search:
File list (Check if you may need any files):
正确识别结果.bmp
source\1.pgm
......\10.pgm
......\2.pgm
......\3.pgm
......\4.pgm
......\5.pgm
......\6.pgm
......\7.pgm
......\8.pgm
......\9.pgm
......\no.jpg
......\yes.jpg
test\10.pgm
....\11.pgm
....\12.pgm
....\13.pgm
....\14.pgm
....\t1.bmp
....\t2.bmp
....\t3.jpg
main.m
错误识别结果.bmp
特征图像.bmp
训练图像.bmp
source
test