?? pcadist_final.m
字號:
function tst=pcadist_final(tst,vec,m,S)
% This function used to project the testing image on the features (PCA) space
% Where t: Is the testing image in double type
% x: Is the feature matrix
% vec: Is the eigen vectors
% m: Is the mean of the data
% S: Is the scale of the testing image
tst=imresize(tst,[S,S]);
tst=reshape(tst,S*S,1);
tst=double(tst);
tst=tst-m;
tst=vec'*tst;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -