Finding the correlation coefficient between two images

13 Ansichten (letzte 30 Tage)
Maame Afrifa
Maame Afrifa am 9 Jul. 2019
Kommentiert: Maame Afrifa am 12 Jul. 2019
Can you please help me on how to find the correlation coefficient between two images? thanks

Antworten (1)

Bjorn Gustavsson
Bjorn Gustavsson am 10 Jul. 2019
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

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by