2D Autocorrelation function
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 (2026). 2D Autocorrelation function (https://in.mathworks.com/matlabcentral/fileexchange/37624-2d-autocorrelation-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Correlation and Convolution >
Tags
Acknowledgements
Inspired: BiofilmQ
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
New folder/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
