twoPointProbability - Two-point probability functions

Compute two-point probability functions from 2D structures using the Fast Fourier Transform
303 Downloads
Updated 18 Jul 2023

View License

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://in.mathworks.com/matlabcentral/fileexchange/86852-twopointprobability-two-point-probability-functions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
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