Class DilateFilter
A filter to apply dilation to an image.
Inheritance
System.Object
DilateFilter
Implements
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class DilateFilter : Object, IImageFilter
Constructors
DilateFilter()
Initializes a new instance of the DilateFilter class.
Declaration
public DilateFilter()
DilateFilter(Int32)
Initializes a new instance of the DilateFilter class.
Declaration
public DilateFilter(int kernelSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | kernelSize | Size of the kernel used to apply dilation, expressed as the length of one side of a square kernel of ones. |
Fields
KernelSize
Size of the kernel used to apply dilation, expressed as the length of one side of a square kernel of ones. Default = 3.
Declaration
public int KernelSize
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
The greater the size of the kernel, the more the low color intensity regions grow.