twoPointProbability - Two-point probability functions

Compute two-point probability functions from 2D structures using the Fast Fourier Transform

You are now following this Submission

This function calculates the two-point probability function of the pixels in a label image. The function uses the Fast Fourier Transform for the correlation operations. This function replaces the function autocorr2. I was not satisfied with it, and I knew it could be done better. Thanks for the comments by Jan. Plase see the provided examples for more information.

Cite As

Santiago Benito (2026). twoPointProbability - Two-point probability functions (https://www.mathworks.com/matlabcentral/fileexchange/86852-twopointprobability-two-point-probability-functions), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0

This function replaces the function autocorr2. I was not satisfied with it, and I knew it could be done better. Thanks for the comments by Jan.

0.0