C# Class Accord.Imaging.GrayLevelCooccurrenceMatrix

Gray-Level Co-occurrence Matrix (GLCM).
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

Compute ( UnmanagedImage source ) : ].double[

Computes the Gray-level Co-occurrence Matrix (GLCM) for the given source image.

Compute ( UnmanagedImage source, Rectangle region ) : ].double[

Computes the Gray-level Co-occurrence Matrix for the given matrix.

GrayLevelCooccurrenceMatrix ( ) : System

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.

GrayLevelCooccurrenceMatrix ( int distance ) : System

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.

GrayLevelCooccurrenceMatrix ( int distance, CooccurrenceDegree degree ) : System

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.

GrayLevelCooccurrenceMatrix ( int distance, CooccurrenceDegree degree, bool normalize = true, bool autoGray = true ) : System

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.

Private Methods

Méthode Description
max ( int width, int height, int offset, byte src ) : int

Method Details

Clone() public méthode

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Résultat object

Compute() public méthode

Computes the Gray-level Co-occurrence Matrix (GLCM) for the given source image.
public Compute ( UnmanagedImage source ) : ].double[
source UnmanagedImage The source image.
Résultat ].double[

Compute() public méthode

Computes the Gray-level Co-occurrence Matrix for the given matrix.
public Compute ( UnmanagedImage source, Rectangle region ) : ].double[
source UnmanagedImage The source image.
region System.Drawing.Rectangle A region of the source image where /// the GLCM should be computed for.
Résultat ].double[

GrayLevelCooccurrenceMatrix() public méthode

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
public GrayLevelCooccurrenceMatrix ( ) : System
Résultat System

GrayLevelCooccurrenceMatrix() public méthode

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
public GrayLevelCooccurrenceMatrix ( int distance ) : System
distance int The distance at which the texture should be analyzed.
Résultat System

GrayLevelCooccurrenceMatrix() public méthode

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
public GrayLevelCooccurrenceMatrix ( int distance, CooccurrenceDegree degree ) : System
distance int The distance at which the texture should be analyzed.
degree CooccurrenceDegree The direction to look for co-occurrences.
Résultat System

GrayLevelCooccurrenceMatrix() public méthode

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
public GrayLevelCooccurrenceMatrix ( int distance, CooccurrenceDegree degree, bool normalize = true, bool autoGray = true ) : System
distance int The distance at which the texture should be analyzed.
degree CooccurrenceDegree The direction to look for co-occurrences.
normalize bool Whether the produced GLCM should be normalized, /// dividing each element by the number of pairs. Default is true.
autoGray bool Whether the maximum value of gray should be /// automatically computed from the image. Default is true.
Résultat System