Click or drag to resize
Accord.NET (logo)

GrayLevelCooccurrenceMatrix Constructor (Int32, CooccurrenceDegree, Boolean, Boolean)

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
public GrayLevelCooccurrenceMatrix(
	int distance,
	CooccurrenceDegree degree,
	bool normalize = true,
	bool autoGray = true
Request Example View Source


Type: SystemInt32
The distance at which the texture should be analyzed.
Type: Accord.ImagingCooccurrenceDegree
The direction to look for co-occurrences.
normalize (Optional)
Type: SystemBoolean
Whether the produced GLCM should be normalized, dividing each element by the number of pairs. Default is true.
autoGray (Optional)
Type: SystemBoolean
Whether the maximum value of gray should be automatically computed from the image. Default is true.
See Also