Using Principle Component Analysis (PCA) in classification

9 ビュー (過去 30 日間)
KaMu
KaMu 2014 年 6 月 24 日
コメント済み: jin li 2018 年 7 月 13 日
Hi All, I am working in a project that classify certain texture images. I will be using Gaussian Mixture model to classify all the database into textured and non-textured images.
Now, I am using PCA to reduce the dimension of my data that is 512 dimensions, so I can train the GMM model. The results from PCA are new variables and those variables will be used in the training process:
[wcoeff,score,latent,~,explained] = pca(AllData);
The question is: in the testing process how can I use the wcoeff to get the same variables? Do I just multiply the wcoeff with the new image?
  2 件のコメント
Delsavonita Delsavonita
Delsavonita Delsavonita 2018 年 5 月 8 日
編集済み: Adam 2018 年 5 月 8 日
i have the same problem too, since you post the question on 2014, you must be done doing your project, so can you kindly send me the solution for this problem ? i really need this...
Adam
Adam 2018 年 5 月 8 日
Don't post your e-mail address in a public forum.

サインインしてコメントする。

回答 (1 件)

KaMu
KaMu 2014 年 6 月 26 日
編集済み: KaMu 2014 年 6 月 26 日
I keep received emails that some one answer my question but I can't see any answers!
  2 件のコメント
Image Analyst
Image Analyst 2018 年 5 月 8 日
Because we don't understand your question. See my attached PCA demo. It will show you how to get the PC components.
jin li
jin li 2018 年 7 月 13 日
It is right. He finally display each component. first calculate coeff then component=image matrix * coeff so this will be eigenimage

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by