is there a version of Principle Component Analysis for images?

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

Antworten (3)

doc pca
and
edit pca

10 Kommentare

And regular pca, which I forgot about...
Page Not Found!!!
What version are you using? If you are on a relatively old version, use princomp() as Adam suggested.
doc princomp
Or upgrade to the newest release:
yes i used this function: princomp()
but i ask how to use this function on images
thanks for reply
Turn the images into column vectors. Spatial location does not matter.
how??? could you please give me some details
thanks
x = I(:)
where I is your image.
and after that
y = princomp(x)
Essentially. You need to horizontally concatenate all of your images first.
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

Melden Sie sich an, um zu kommentieren.

Image Analyst
Image Analyst am 15 Apr. 2013

0 Stimmen

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 Kommentare

what about another images like fMRI cross-sectional images???
Sure, you could do it. Would that be useful to you? Why do you want PCA component images anyway?
i want it to Analyze some fMRI cross-sectional brain images to early diagnosis Alzahimar Disease

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 15 Apr. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by