PCA and LDA on a binary black and white image

1 view (last 30 days)
Hi guys I need a matlab code for PCA and LDA to carry out on binary black and white image. Plz help me with it.

Accepted Answer

Walter Roberson
Walter Roberson on 5 Apr 2011
PCA:
[COEFF,SCORE] = princomp(YourImage);
LDA: use classify
  4 Comments
Walter Roberson
Walter Roberson on 6 Apr 2011
The MATLAB routines for PCA and LDA are part of the {optional, extra cost} Statistics Toolbox.
I imagine that if you were to use a search engine, you would be able to find alternative code Files that other people have Contributed for the Exchange of MATLAB ideas.

Sign in to comment.

More Answers (0)

Categories

Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!