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:
Initializes a new instance of the BayerDithering class.