how can I compute two-point correlation function from binary image??

31 views (last 30 days)
I want to make 3D microstructure using stochastic reconstruction from 2D image. To do this, I should know characterization via correlation functions. I do not know how to compute correlation function though I know the theory of correlation function. Please give me an advice!

Answers (2)

Jyotish Robin
Jyotish Robin on 2 Aug 2016
It is my understanding that you want to compute the two-point correlation function of a binary image.
The following documentation link will be helpful.

Santiago Benito
Santiago Benito on 3 Feb 2021
I might be a little to late, but here's a function I programmed that is much faster: https://de.mathworks.com/matlabcentral/fileexchange/86852-autocorr2-two-point-autocorrelation
It uses the FFT to do the convolution.

Products

Community Treasure Hunt

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

Start Hunting!