Class ErodeFilter
A filter to apply erosion to an image.
Inheritance
System.Object
ErodeFilter
Implements
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class ErodeFilter : Object, IImageFilter
Constructors
ErodeFilter()
Initializes a new instance of the ErodeFilter class.
Declaration
public ErodeFilter()
ErodeFilter(Int32)
Initializes a new instance of the ErodeFilter class.
Declaration
public ErodeFilter(int kernelSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | kernelSize | Size of the kernel used to apply erosion, expressed as the length of one side of a square kernel of ones. |
Fields
KernelSize
Size of the kernel used to apply erosion, 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 high color intensity regions grow.