⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcadist_final.m

📁 matlab图像处理工具相
💻 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 + -