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.8.0
Syntax
public GrayLevelCooccurrenceMatrix(
	int distance,
	CooccurrenceDegree degree,
	bool normalize = true,
	bool autoGray = true
)
Request Example View Source

Parameters

distance
Type: SystemInt32
The distance at which the texture should be analyzed. Default is 1.
degree
Type: Accord.ImagingCooccurrenceDegree
The direction to look for co-occurrences. Default is Degree0.
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