twoPointProbability - Two-point probability functions
Version 1.0 (243 KB) by
Santiago Benito
Compute two-point probability functions from 2D structures using the Fast Fourier Transform
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 (2024). twoPointProbability - Two-point probability functions (https://www.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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.