How can i extract three texture features among the 22 using PCA?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am doing project on lung cancer detection for that i have extracted texture features using GLCM. Among the 22 features i need only three. Can anyone please help me to do this using PCA?
0 commentaires
Réponses (1)
Image Analyst
le 20 Déc 2016
If you have 22 PCA columns, then just extract the 3 you want as usual.
pca3 = pca22(:, 1:3); % or whatever.
If you have any followup questions, read this first and be much much more explicit in describing your situation.
2 commentaires
Image Analyst
le 20 Déc 2016
Are you using graycomatrix() or graycoprops()? How are you getting 22 things from either of those? I don't get that. My graycomatrix() demo is attached. Why don't you just call pca() and take the 3 most important components?
Voir également
Catégories
En savoir plus sur Dimensionality Reduction and Feature Extraction dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!