Search Results for

    Show / Hide Table of Contents

    Class GaussianBlurFilter

    A filter to apply Gaussian blur to an image.

    Inheritance
    System.Object
    GaussianBlurFilter
    Implements
    IImageFilter
    Namespace: IronBarCode
    Assembly: IronBarCode.dll
    Syntax
    public class GaussianBlurFilter : Object, IImageFilter

    Constructors

    GaussianBlurFilter()

    Initializes a new instance of the GaussianBlurFilter class.

    Declaration
    public GaussianBlurFilter()

    GaussianBlurFilter(Int32, Int32, Single)

    Initializes a new instance of the GaussianBlurFilter class.

    Declaration
    public GaussianBlurFilter(int kernelWidth, int kernelHeight, float sigma)
    Parameters
    Type Name Description
    System.Int32 kernelWidth

    Width of the kernel to apply Gaussian blur.

    System.Int32 kernelHeight

    Height of the kernel to apply Gaussian blur.

    System.Single sigma

    The 'Sigma' value representing the weight of the blur.

    GaussianBlurFilter(Single)

    Initializes a new instance of the GaussianBlurFilter class.

    Declaration
    public GaussianBlurFilter(float sigma)
    Parameters
    Type Name Description
    System.Single sigma

    The 'Sigma' value representing the weight of the blur.

    Properties

    KernelHeight

    Height of the kernel to apply Gaussian blur. Must be an odd value greater than 0. Default = 3.

    Declaration
    public int KernelHeight { get; set; }
    Property Value
    Type Description
    System.Int32

    KernelWidth

    Width of the kernel to apply Gaussian blur. Must be an odd value greater than 0. Default = 3.

    Declaration
    public int KernelWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    Sigma

    The 'Sigma' value representing the weight of the blur. Default = 3.0f.

    Declaration
    public float Sigma { get; set; }
    Property Value
    Type Description
    System.Single

    Implements

    IImageFilter
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronBarcode to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronBarcode free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.