Finding the correlation coefficient between two images

조회 수: 9 (최근 30일)
Maame Afrifa
Maame Afrifa 2019년 7월 9일
댓글: Maame Afrifa 2019년 7월 12일
Can you please help me on how to find the correlation coefficient between two images? thanks

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2019년 7월 10일
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

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by