Assembly: AForge.Imaging (in AForge.Imaging.dll) Version: 184.108.40.206 (220.127.116.11)
public class TransformToPolar : BaseTransformationFilter
The image processing routine does transformation of the source image into circle (polar transformation). 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.
// create filter TransformToPolar filter = new TransformToPolar( ); filter.OffsetAngle = 0; filter.CirlceDepth = 1; filter.UseOriginalImageSize = false; filter.NewSize = new Size( 200, 200 ); // apply the filter Bitmap newImage = filter.Apply( image );