Finding the correlation coefficient between two images

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2019 年 7 月 10 日

1 投票

You should be able to get the 2 x 2 correlation matrix this way:
ImgCorr = corrcoef(double(Im1(:)),double(Im2(:)));
From that you can take element 1,2 or element 2,1 as the correlation coefficient.
HTH

質問済み:

2019 年 7 月 9 日

コメント済み:

2019 年 7 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by