public static Bitmap Sphere(Bitmap bitmap, PixelPoint pixelPoint) { SphereFilter sFilter = new SphereFilter(pixelPoint); return(sFilter.ApplyFilter(bitmap)); }
public static Bitmap Sphere(Bitmap bitmap) { SphereFilter sFilter = new SphereFilter(new PixelPoint(bitmap.Width / 2, bitmap.Height / 2)); return(sFilter.ApplyFilter(bitmap)); }