how can i measure the spatial correlation in any image? suppose, there are two images I1 and I2. is there any method that will quantitatively tell me which of those two is more/less spatially correlated? |
spatial correlation of image...
Started by ●September 23, 2002
Reply by ●April 12, 20062006-04-12
Hi whoever,
For comapring the similarity you can use the cross correlation coefficient .
That basically tells you how much is the 2 images same .
The formula is
r = (Sum(x(i) -
Mean(x))*Sum(y(i)-Mean(y))/(SQRT(Sum(SQUARE((x(i)-Mean(x))*SQRT(Sum(SQUARE((y(i)-Mean(y)));
where x and y are the 2 images . If the images are same then the correlation
coefficient would be very high .else it would be close to zero.