C# Class Accord.Imaging.GrayLevelRunLengthMatrix

Gray-Level Run-Length Matrix.
Exibir arquivo Open project: accord-net/framework

Public Methods

Method Description
Compute ( UnmanagedImage source ) : double[][]

Computes the Gray-level Run-length for the given image source.

GrayLevelRunLengthMatrix ( CooccurrenceDegree degree )

Initializes a new instance of the GrayLevelDifferenceMethod class.

GrayLevelRunLengthMatrix ( CooccurrenceDegree degree, bool autoGray )

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 Run-length for the given image source.
public Compute ( UnmanagedImage source ) : double[][]
source UnmanagedImage The source image.
return double[][]

GrayLevelRunLengthMatrix() public method

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

GrayLevelRunLengthMatrix() public method

Initializes a new instance of the GrayLevelDifferenceMethod class.
public GrayLevelRunLengthMatrix ( CooccurrenceDegree degree, bool autoGray )
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.