is there a version of Principle Component Analysis for images?

1 visualización (últimos 30 días)
Mohamed Moawed
Mohamed Moawed el 15 de Abr. de 2013
hello everybody, i want to ask about Principle Component Analysis, a tool used for data analysis
is there a version for PCA that is used for analysis the images?
and i want a source code and some examples for that
thanks for your help

Respuestas (3)

Sean de Wolski
Sean de Wolski el 15 de Abr. de 2013
doc pca
and
edit pca
  10 comentarios
Sean de Wolski
Sean de Wolski el 15 de Abr. de 2013
Essentially. You need to horizontally concatenate all of your images first.
Mohamed Moawed
Mohamed Moawed el 15 de Abr. de 2013
i = imread ('pout.tif'); x = i( : ); y = princomp(x); x = im2double (x); y = princomp(x); imshow (y)
i get no output!!!
what is the wrong here

Iniciar sesión para comentar.


Adam Filion
Adam Filion el 15 de Abr. de 2013
I don't know much PCA myself, but I know we have some built-in tools in Statistics and Wavelet toolboxes that may be of use:
There are also a number of entries on the File Exchange for PCA:

Image Analyst
Image Analyst el 15 de Abr. de 2013
The most famous application of PCA to images is eigenfaces: http://en.wikipedia.org/wiki/Eigenface You can essentially construct any face image by a weighted sum of eigenface (PCA) images.
  3 comentarios
Image Analyst
Image Analyst el 16 de Abr. de 2013
Sure, you could do it. Would that be useful to you? Why do you want PCA component images anyway?
Mohamed Moawed
Mohamed Moawed el 16 de Abr. de 2013
i want it to Analyze some fMRI cross-sectional brain images to early diagnosis Alzahimar Disease

Iniciar sesión para comentar.

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by