BlurEffectConvolute 方法 (Bitmap, Int32, Int32, Int32) |
Creates a new filtered WriteableBitmap.
命名空间:
CPF.Effects
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法 public static Bitmap Convolute(
Bitmap bmp,
int[,] kernel,
int kernelFactorSum,
int kernelOffsetSum
)
参数
- bmp
- 类型:CPF.DrawingBitmap
The Bitmap. - kernel
- 类型:SystemInt32
The kernel used for convolution. - kernelFactorSum
- 类型:SystemInt32
The factor used for the kernel summing. - kernelOffsetSum
- 类型:SystemInt32
The offset used for the kernel summing.
返回值
类型:
BitmapA new Bitmap that is a filtered version of the input.
参见