0
votes

I want to calculate the correlation coefficient for my image pixel(binary)and after that for my encrypted image. I know corr2 is for calculating the correlation coefficient for two images.

But is there a function for calculating the correlation coefficient for one image in matlab?

1

1 Answers

2
votes

under matlab ? you can use ifft ( fft ( image1 ) x fft ( image2 ) ) ... it will return the 2D correlation matrix and Locate the maximum peak !!!!

Good luck