2-Dimensional Principle Component Analysis
2 次查看(过去 30 天)
显示 更早的评论
Hi all
I want to extract the feature vector from image using 2DPCA.
If I use the direct matlab function princomp let sya
img=imread('myimage.bmp'); img=double(rgb2gray(img)); [coeff score latent tsquare]=princomp(img);
then which one is the feature vector in this case?
princomp function is same like the linear transformation like y=Ax.? where A is matrix of mxn and x is n-dimensonal unitary column vector.Bur if I apply manually y is column feature vector.why?
thanks
2 个评论
Ali Asghar sharifi
2017-2-3
function 'princomp' use for 'PCA' not '2DPCA' and this function removed and you can use function 'pca'.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!