C# Class Accord.Imaging.GrayLevelDifferenceMethod

Gray-Level Difference Method (GLDM).
Computes an gray-level histogram of difference values between adjacent pixels in an image.
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
Compute ( UnmanagedImage source ) : int[]

Computes the Gray-level Difference Method (GLDM) Histogram for the given source image.

GrayLevelDifferenceMethod ( CooccurrenceDegree degree ) : System

Initializes a new instance of the GrayLevelDifferenceMethod class.

GrayLevelDifferenceMethod ( CooccurrenceDegree degree, bool autoGray ) : System

Initializes a new instance of the GrayLevelDifferenceMethod class.

Private Methods

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

Method Details

Compute() public méthode

Computes the Gray-level Difference Method (GLDM) Histogram for the given source image.
public Compute ( UnmanagedImage source ) : int[]
source UnmanagedImage The source image.
Résultat int[]

GrayLevelDifferenceMethod() public méthode

Initializes a new instance of the GrayLevelDifferenceMethod class.
public GrayLevelDifferenceMethod ( CooccurrenceDegree degree ) : System
degree CooccurrenceDegree The direction at which the co-occurrence should be found.
Résultat System

GrayLevelDifferenceMethod() public méthode

Initializes a new instance of the GrayLevelDifferenceMethod class.
public GrayLevelDifferenceMethod ( CooccurrenceDegree degree, bool autoGray ) : System
degree CooccurrenceDegree The direction at which the co-occurrence should be found.
autoGray bool Whether the maximum value of gray should be /// automatically computed from the image. Default is true.
Résultat System