Skip to content

Autocorrelation

Source

Autocorrelation function.

autocorrelation(image)

Compute the autocorrelation of an image.

This method is used to explore spatial correlations in images, in particular in the noise.

The autocorrelation is normalized to the zero-shift value, which is centered in the resulting images.

Parameters:

Name Type Description Default
image NDArray

Input image.

required

Returns:

Type Description
ndarray

Autocorrelation of the input image.