2D correlation coefficient
c = corr2(imA, imB)
imA and imB are 2D matrices of the same size.
Correlation coefficient, a scalar of class double.
corr2 computes correlation coefficient of two 2D matrices imA and imB. c = sum( (imA-mA).*(imB-mB) / sqrt(sum((imA-mA).^2) * sum((imB-mB).^2)) mA=mean2(imA) and mB=mean2(imB)