how to use feature vectorization and pca for feature reduction?

I have already extracted multiple features like color, texture, shape extracted using methods and algorithms like regionprops, color moments, glcm, vein feature and so on. I have 110 features per image. kindly guide me how to form feature vectorization and use pca for feature reduction.
thnx

 採用された回答

Image Analyst
Image Analyst 2016 年 11 月 25 日

0 投票

Basically you've asked us to give you a course in Image Processing in an Answers forum posting. So here it is : http://szeliski.org/Book/
I'm also attaching my pca demo, actually given to me by the Mathworks.

5 件のコメント

parul mittal
parul mittal 2016 年 11 月 26 日
thanx sr for reply. sr I have already extracted features. now I have formed feature vector of size 16*110 also where 16 are images and 110 are features/per image. I just want to know about pca. kindly guide me.
thanx
Image Analyst
Image Analyst 2016 年 11 月 26 日
Well I gave you a demo. And the help has more. Why can't you just pass your data in?
coeff = pca(X)
If you still don't know what to do then attach your feature matrix in a .mat file and I'll pass it in to pca() for you and give you coeffs, though you could of course do that yourself.
parul mittal
parul mittal 2016 年 11 月 26 日
編集済み: parul mittal 2016 年 11 月 26 日
thanx sr.. yes sr I can compute. sr can u guide me can I directly use this output as an input to classifier or i need to normalize it? and sr I m bit confused whether coefficients means matrix of elements of eigenvectors and scores means eigenvector or eigenvector*data? kindly guide me.
thanx
Walter Roberson
Walter Roberson 2016 年 11 月 26 日
It is not required that you normalize features. However, normalizing features might give you much better results. Why not try it both ways?
parul mittal
parul mittal 2016 年 11 月 27 日
thnx sr il try in both way

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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