how to calculate pca (principal component analysis ) for a single image using matlab builtin function ?
Show older comments
i have a color image. how to calculate its pca?
Answers (1)
Image Analyst
on 3 Jan 2020
0 votes
See attached demos.

4 Comments
Munshida P
on 4 Jan 2020
Munshida P
on 4 Jan 2020
Image Analyst
on 4 Jan 2020
See the FAQ for two code samples for how you can get a directory listing of files and then process each of them in turn. Inside the loop you would place your code that does PCA.
Munshida P
on 4 Jan 2020
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!