|
GrayLevelCooccurrenceMatrix Constructor (Int32, CooccurrenceDegree, Boolean, Boolean)
|
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
)
Public Sub New (
distance As Integer,
degree As CooccurrenceDegree,
Optional normalize As Boolean = true,
Optional autoGray As Boolean = true
)
Request Example
View SourceParameters
- 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