Resize image using bicubic interpolation algorithm.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public class ResizeBicubic : BaseResizeFilter

Remarks

The class implements image resizing filter using bicubic interpolation algorithm. It uses bicubic kernel W(x) as described on Wikipedia (coefficient a is set to -0.5).

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

Sample usage:

CopyC#
// create filter
ResizeBicubic filter = new ResizeBicubic( 400, 300 );
// apply the filter
Bitmap newImage = filter.Apply( image );

Initial image:

Result image:

Inheritance Hierarchy

See Also