C# Класс Accord.Imaging.GrayLevelDifferenceMethod

Gray-Level Difference Method (GLDM).
Computes an gray-level histogram of difference values between adjacent pixels in an image.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
max ( int width, int height, int offset, byte src ) : int

Описание методов

Compute() публичный метод

Computes the Gray-level Difference Method (GLDM) Histogram for the given source image.
public Compute ( UnmanagedImage source ) : int[]
source UnmanagedImage The source image.
Результат int[]

GrayLevelDifferenceMethod() публичный метод

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.
Результат System

GrayLevelDifferenceMethod() публичный метод

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.
Результат System