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

Dithering using Stucki error diffusion.

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

| * | 8 | 4 | | 2 | 4 | 8 | 4 | 2 | | 1 | 2 | 4 | 2 | 1 | / 42

The filter accepts 8 bpp grayscale images for processing.

Sample usage:

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

Initial image:

Result image:

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

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

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

Initializes a new instance of the StuckiDithering class.

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

StuckiDithering() публичный Метод

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