C# Класс Accord.Imaging.Filters.BurkesDithering

Dithering using Burkes error diffusion.

The filter represents binarization filter, which is based on error diffusion dithering with Burkes coefficients. Error is diffused on 7 neighbor pixels with next coefficients:

| * | 8 | 4 | | 2 | 4 | 8 | 4 | 2 | / 32

The filter accepts 8 bpp grayscale images for processing.

Sample usage:

// create filter BurkesDithering filter = new BurkesDithering( ); // apply the filter filter.ApplyInPlace( image );

Initial image:

Result image:

Наследование: ErrorDiffusionToAdjacentNeighbors
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BurkesDithering ( ) : System

Initializes a new instance of the BurkesDithering class.

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

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

Initializes a new instance of the BurkesDithering class.
public BurkesDithering ( ) : System
Результат System