Image processing: moving window correlation between two image

6 views (last 30 days)
Dear all, I have two images and I want to calculate the correlation coefficient between two images (not whole images). I mean the correlation coefficient within moving windows and this also called convolution technique. Thank you in advance.

Answers (1)

CS Researcher
CS Researcher on 2 May 2016
Try this:
correlation_coefficient = corr2(A,B); % A and B are sub-images of the original images

Community Treasure Hunt

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

Start Hunting!