Click or drag to resize
Accord.NET (logo)

GrayLevelCooccurrenceMatrixCompute Method (BitmapData)

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.7.0
Syntax
public double[,] Compute(
	BitmapData source
)
Request Example View Source

Parameters

source
Type: System.Drawing.ImagingBitmapData
The source image.

Return Value

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