C# 클래스 Accord.Imaging.Filters.BayerDithering

Ordered dithering using Bayer matrix.

The filter represents OrderedDithering filter initialized with the next threshold matrix:

byte[,] matrix = new byte[4, 4] { { 0, 192, 48, 240 }, { 128, 64, 176, 112 }, { 32, 224, 16, 208 }, { 160, 96, 144, 80 } };

The filter accepts 8 bpp grayscale images for processing.

Sample usage:

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

Initial image:

Result image:

상속: OrderedDithering
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
BayerDithering ( ) : System

Initializes a new instance of the BayerDithering class.

메소드 상세

BayerDithering() 공개 메소드

Initializes a new instance of the BayerDithering class.
public BayerDithering ( ) : System
리턴 System