Jitter filter.

The filter moves each pixel of a source image in random direction within a window of specified radius.

The filter accepts 8 bpp grayscale images and 24/32 color images for processing.

Sample usage:

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

Initial image:

Result image:

Наследование: BaseUsingCopyPartialFilter
Пример #1
0
 private void SetFilter()
 {
     ImageType = ImageTypes.Rgb32bpp;
     Af.Jitter newFilter = new Af.Jitter();
     newFilter.Radius = (int)Remap(radius, 1, 10);
     imageFilter      = newFilter;
 }