PCA and LDA on a binary black and white image

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.

2 Kommentare

Sean de Wolski
Sean de Wolski am 5 Apr. 2011
What have YOU done so far to solve YOUR homework problem?
wat do you mean?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Apr. 2011

0 Stimmen

PCA:
[COEFF,SCORE] = princomp(YourImage);
LDA: use classify

4 Kommentare

Hey walter
[COEFF,SCORE] = princomp(YourImage); is showing me error
??? Undefined function or method 'princomp' for input arguments of type 'double'.
Error in ==> algo4 at 3
[COEFF,SCORE] = princomp(b);
even for uint8
Walter Roberson
Walter Roberson am 5 Apr. 2011
And do you have the Statistics toolbox installed and licensed?
nope!!
Walter Roberson
Walter Roberson am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by