Transform polar image into rectangle.

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


public class TransformFromPolar : BaseTransformationFilter


The image processing routine is oposite transformation to the one done by TransformToPolar routine, i.e. transformation from polar image into rectangle. The produced effect is similar to GIMP's "Polar Coordinates" distortion filter (or its equivalent in Photoshop).

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

Sample usage:

// create filter
TransformFromPolar filter = new TransformFromPolar( );
filter.OffsetAngle = 0;
filter.CirlceDepth = 1;
filter.UseOriginalImageSize = false;
filter.NewSize = new Size( 360, 120 );
// apply the filter
Bitmap newImage = filter.Apply( image );

Initial image:

Result image:

Inheritance Hierarchy


See Also