C# Class Accord.Imaging.GrayLevelDifferenceMethod

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

Public Methods

Method 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

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

Method Details

Compute() public method

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

GrayLevelDifferenceMethod() public method

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

GrayLevelDifferenceMethod() public method

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