Rotate image using bilinear interpolation.

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

Syntax

C#
public class RotateBilinear : BaseRotateFilter

Remarks

The class implements image rotation filter using bilinear interpolation algorithm.

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

Sample usage:

CopyC#
// create filter - rotate for 30 degrees keeping original image size
RotateBilinear filter = new RotateBilinear( 30, true );
// apply the filter
Bitmap newImage = filter.Apply( image );

Initial image:

Result image:

Inheritance Hierarchy

See Also