MATLAB Answers

0

How can I made a correlation between two images of the same size?

Asked by Biza Ferreira on 28 Jun 2016
Latest activity Commented on by Muhammad Usman Saleem on 29 Jun 2016
Hello, I have a small problem I wanted to build a table with the correlation of 10 images values all with the same size.

  0 Comments

Sign in to comment.

2 Answers

Answer by Muhammad Usman Saleem on 28 Jun 2016

it is very simple to find correlation between two images of same size.
a=imread('firstimage.tif');
b=imread('secondimage.tif');
if you mean correlation coefficient, you can program manually the function or use corr2 :
corr2(a,b); % returns a scalar
try to read these links also helpful for you
https://www.mathworks.com/matlabcentral/answers/63796-correlation-between-the-two-images

  0 Comments

Sign in to comment.


Answer by Biza Ferreira on 29 Jun 2016
Edited by Biza Ferreira on 29 Jun 2016

can you help me to solve this correlation problem using the expression
I have a problem in implementing this with MATLAB

  1 Comment

I think it is formula for cross correlation? If yes matlab has created build in function cross2(x,y) for correlation. Read my answer above please

Sign in to comment.