Principal Component Analysis for feature extraction

Hi. I'm learning about PCA and wanted to learn how it can be used for feature extraction and if it is feasible to extract features using PCA? Also I don't understand when exactly is PCA used in image processing. From what I understand it is used to reduce the size of a dataset and then features are extracted from that dataset using some other methods such as GLCM. Am I correct?

Réponses (1)

deepak panday
deepak panday le 10 Jan 2018

1 vote

[coff,score]=pca(data) newData = data*coff(:,1:n)
where n is number of feature to selected.

2 commentaires

this line code only for PCA feature extraction?
how can i apply this code on real images??

Connectez-vous pour commenter.

Catégories

Commenté :

le 4 Avr 2020

Community Treasure Hunt

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

Start Hunting!

Translated by