Click or drag to resize
Accord.NET (logo) GrayLevelCooccurrenceMatrix Class
Gray-Level Co-occurrence Matrix (GLCM).
Inheritance Hierarchy
SystemObject
  Accord.ImagingGrayLevelCooccurrenceMatrix

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.4.0
Syntax
public class GrayLevelCooccurrenceMatrix : ICloneable
Request Example View Source

The GrayLevelCooccurrenceMatrix type exposes the following members.

Constructors
  NameDescription
Public methodGrayLevelCooccurrenceMatrix
Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
Public methodGrayLevelCooccurrenceMatrix(Int32)
Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
Public methodGrayLevelCooccurrenceMatrix(Int32, CooccurrenceDegree)
Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
Public methodGrayLevelCooccurrenceMatrix(Int32, CooccurrenceDegree, Boolean, Boolean)
Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
Top
Properties
  NameDescription
Public propertyAutoGray
Gets or sets whether the maximum value of gray should be automatically computed from the image. If set to false, the maximum gray value will be assumed 255.
Public propertyDegree
Gets or sets the direction at which the co-occurrence should be found.
Public propertyDistance
Gets or sets the distance at which the texture should be analyzed. Default is 1.
Public propertyNormalize
Gets or sets whether the produced GLCM should be normalized, dividing each element by the number of pairs. Default is true.
Public propertyPairs
Gets the number of pairs registered during the last computed GLCM.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodCompute(UnmanagedImage)
Computes the Gray-level Co-occurrence Matrix (GLCM) for the given source image.
Public methodCompute(UnmanagedImage, Rectangle)
Computes the Gray-level Co-occurrence Matrix for the given matrix.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by Matrix.)
Top
See Also