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

69 views (last 30 days)
geonhui Gwak
geonhui Gwak on 15 Jun 2016
Answered: Santiago Benito on 3 Feb 2021
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.

Community Treasure Hunt

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

Start Hunting!