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

2 次查看(过去 30 天)
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.

回答(1 个)

Aashray
Aashray 2025-2-7
编辑:Aashray 2025-2-27
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:

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by