Click or drag to resize

IBitmapImageDilate Method (MorphologyKernelType, Int32)

Applies dilation kernel to the image. Works best on grey scale images.

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

Parameters

kernelType
Type: CohesiveComputing.ImagingMorphologyKernelType
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