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

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)

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.
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.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Products

Asked:

on 15 Jun 2016

Answered:

on 3 Feb 2021

Community Treasure Hunt

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

Start Hunting!