File Exchange

image thumbnail

autocorr2 - Two-point autocorrelation

version 0.0 (1.32 MB) by Santiago Benito
Determine the radially averaged autocorrelation of a binary image

6 Downloads

Updated 03 Feb 2021

View License

This function calculates the radially averaged autocorrelation (also known as pair correlation or two-point correlation of the pixels of an image as a function of distance. The function is really fast because it uses the Fourier transform for the convolution of the original image. The code also corrects for the finite image size: images close to the edge have fewer neighbors than particles near the center.

The code is inspired by its imagej version, programmed by Michael Schmid. More information here: https://imagejdocu.tudor.lu/macro/radially_averaged_autocorrelation

Cite As

Santiago Benito (2021). autocorr2 - Two-point autocorrelation (https://www.mathworks.com/matlabcentral/fileexchange/86852-autocorr2-two-point-autocorrelation), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2019a
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!

autocorr2