C# Class Accord.Imaging.GrayLevelCooccurrenceMatrix

Gray-Level Co-occurrence Matrix (GLCM).
ファイルを表示 Open project: accord-net/framework Class Usage Examples

Public Methods

Method 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

Method Description
max ( int width, int height, int offset, byte src ) : int

Method Details

Clone() public method

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

Compute() public method

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

Compute() public method

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.
return ].double[

GrayLevelCooccurrenceMatrix() public method

Initializes a new instance of the GrayLevelCooccurrenceMatrix class.
public GrayLevelCooccurrenceMatrix ( ) : System
return System

GrayLevelCooccurrenceMatrix() public method

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

GrayLevelCooccurrenceMatrix() public method

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.
return System

GrayLevelCooccurrenceMatrix() public method

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.
return System