Click or drag to resize
Accord.NET (logo)

GrayLevelCooccurrenceMatrixCompute Method (UnmanagedImage)

Computes the Gray-level Co-occurrence Matrix (GLCM) for the given source image.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public double[,] Compute(
	UnmanagedImage source
)
Request Example View Source

Parameters

source
Type: Accord.ImagingUnmanagedImage
The source image.

Return Value

Type: Double
A square matrix of double-precision values containing the GLCM for the given source.
See Also