Sunday 15 July 2012

matlab - Correlation for one image pixels -


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

But does matlab have a function to calculate the correlation coefficient for an image?

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

Good luck

No comments:

Post a Comment