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

any comment?????
function 'princomp' use for 'PCA' not '2DPCA' and this function removed and you can use function 'pca'.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

질문:

2013년 4월 27일

댓글:

2017년 2월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by