can I apply CCA to thePCA features of two different images.

4 vues (au cours des 30 derniers jours)
HIMA BINDU
HIMA BINDU le 14 Juil 2015
Modifié(e) : Aashray le 27 Fév 2025
I am trying to obtain PCA features of two images of same size. My question is can i find correlation of the two PCA features using CCA.

Réponses (1)

Aashray
Aashray le 7 Fév 2025
Modifié(e) : Aashray le 27 Fév 2025
Hello!
To find CCA (Canonical Correlation Analysis) using two PCA (Principal Component Analysis) features of two images, you need to load the desired images first into MATLAB, and then flatten those images using the “reshape” function into 1 dimensional vector.
After that, find the PCA coefficient and the score of both the images using “pca” function.
These scores can then be fed to “canoncorr” function for finding out the desired CCA result.
For more information regarding the “pca” and “canoncorr” function, kindly refer to the following MATLAB documentation:

Catégories

En savoir plus sur Dimensionality Reduction and Feature Extraction dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by