Assembly: AForge.Imaging (in AForge.Imaging.dll) Version: 188.8.131.52 (184.108.40.206)
public class WaterWave : BaseFilter
The image processing filter implements simple water wave effect. Using properties of the class, it is possible to set number of vertical/horizontal waves, as well as their amplitude.
Bilinear interpolation is used to create smooth effect.
The filter accepts 8 bpp grayscale images and 24/32 color images for processing.
// create filter WaterWave filter = new WaterWave( ); filter.HorizontalWavesCount = 10; filter.HorizontalWavesAmplitude = 5; filter.VerticalWavesCount = 3; filter.VerticalWavesAmplitude = 15; // apply the filter Bitmap newImage = filter.Apply( image );