The filter adds random salt and pepper noise - sets maximum or minimum values to randomly selected pixels.
The filter accepts 8 bpp grayscale images and 24/32 bpp color images for processing.
Sample usage:
// create filter SaltAndPepperNoise filter = new SaltAndPepperNoise( 10 ); // apply the filter filter.ApplyInPlace( image );
Initial image:
Result image: