2-Dimensional Principle Component Analysis

2 Ansichten (letzte 30 Tage)
Algorithms Analyst
Algorithms Analyst am 27 Apr. 2013
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 Kommentare
Algorithms Analyst
Algorithms Analyst am 29 Apr. 2013
any comment?????
Ali Asghar sharifi
Ali Asghar sharifi am 3 Feb. 2017
function 'princomp' use for 'PCA' not '2DPCA' and this function removed and you can use function 'pca'.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by