2D Autocorrelation function

Calculate the 2d Auto-correlation function of matrix based on Wiener-Khinchin theorem .


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 (2023). 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

Inspired: BiofilmQ

Community Treasure Hunt

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

Start Hunting!

New folder/

Version Published Release Notes