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

29 visualizzazioni (ultimi 30 giorni)
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!

Risposte (2)

Jyotish Robin
Jyotish Robin il 2 Ago 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 il 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.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by