two dimensional Principal component analysis

how can i write code of 2D PCA transform for image processing.i intend to use this transform in image compression as well as for denoising purpose.pls help me sir..

2 Comments

Sir. I am looking for the code of 2D-PCA. Please help.
See code in my answer here.

Sign in to comment.

 Accepted Answer

You can preform PCA on a set of images by converting them to vectors, getting the principal components, and then converting those components back to a image
doc reshape
Basically, PCA doesn't care about the relative positions of elements in the input array.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!