Class BilateralFilter
A filter to apply bilateral smoothing to an image.
Inheritance
Implements
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class BilateralFilter : Object, IImageFilter
Constructors
BilateralFilter()
Initializes a new instance of the BilateralFilter class.
Declaration
public BilateralFilter()
BilateralFilter(Int32, Single, Single)
Initializes a new instance of the BilateralFilter class.
Declaration
public BilateralFilter(int neighborhoodDiameter, float sigmaColor, float sigmaSpace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | neighborhoodDiameter | Diameter of the pixel neighborhood used for filtering. |
System.Single | sigmaColor | 'Sigma' value representing the "weight" of how pixels will influence each other, based on color. |
System.Single | sigmaSpace | 'Sigma' value representing the "weight" of how pixels will influence each other, based on distance. |
Properties
NeighborhoodDiameter
Diameter of the pixel neighborhood used for filtering. Default = 5.
Declaration
public int NeighborhoodDiameter { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SigmaColor
'Sigma' value representing the "weight" of how pixels will influence each other, based on color. Default = 75.0.
Declaration
public float SigmaColor { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
SigmaSpace
'Sigma' value representing the "weight" of how pixels will influence each other, based on distance. Default = 75.0.
Declaration
public float SigmaSpace { get; set; }
Property Value
Type | Description |
---|---|
System.Single |