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

1 回表示 (過去 30 日間)
HIMA BINDU
HIMA BINDU 2015 年 7 月 14 日
編集済み: Aashray 2025 年 2 月 27 日
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 Center および File ExchangeDimensionality 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