ResizeBilinear Class
Resize image using bilinear 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 ResizeBilinear : BaseResizeFilter

Remarks

The class implements image resizing filter using bilinear interpolation algorithm.

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

Sample usage:

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

Initial image:

Result image:

Inheritance Hierarchy

See Also