image thumbnail

2D Autocorrelation function

version 1.0.0.0 (351 KB) by Youssef Khmou
Calculate the 2d Auto-correlation function of matrix based on Wiener-Khinchin theorem .

3.7K Downloads

Updated 25 Jul 2012

View License

This function calculates the 2D auto correlation function of matrix ( gray scale image) using Wiener-Khinchin theorem and uses the four internal function ifft2,fftshift,fft2 & conj .

In the PDF file "2DAUTOCORRELATIONFUNCTION.pdf" the calculations are detailed using two examples,
1) "circuit.tif" image.
2) 2d zero mean Gaussian signal .
As in 1d, the 2d auto-correlation of the second example is symmetric and has Dirac impulse in the center.

Cite As

Youssef Khmou (2021). 2D Autocorrelation function (https://www.mathworks.com/matlabcentral/fileexchange/37624-2d-autocorrelation-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: BiofilmQ

Community Treasure Hunt

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

Start Hunting!

New folder/