Click or drag to resize

IBitmapImageSmooth Method (KernelType, Int32)

Applies a smoothing kernel to the image. Uses strength parameter to apply dynamic centre pixel weighting.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage Smooth(
	KernelType kernelType,
	int[] kernel
)

Parameters

kernelType
Type: CohesiveComputing.ImagingKernelType
Size of kernel.
kernel
Type: SystemInt32
An array whose elements specify a kernal.

Return Value

Type: IBitmapImage
A new image instance with effect applied.
Exceptions
ExceptionCondition
ArgumentNullExceptionkernel
ArgumentExceptionIncorrect number of elements. - kernel
See Also