autocorr2d

Compute the 2D spatial autocorrelation of a matrix or image using the Wiener - Khintchine Theorem.
860 Downloads
Updated 15 May 2018

View License

Compute the 2D spatial autocorrelation of a matrix or image I using the Wiener - Khintchine Theorem. The output is the normalized correlation coefficient -1 < C < 1.
The center pixel of A will have C = 1. Using images with odd dimensions will give results that are easier to interpret.
ref: http://mathworld.wolfram.com/Wiener-KhinchinTheorem.html

See detailed examples in the m-file help.

Cite As

Tristan Ursell (2024). autocorr2d (https://www.mathworks.com/matlabcentral/fileexchange/67348-autocorr2d), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0