Class ConvolutionFilterOptions

Class ConvolutionFilterOptions

Namespace: Aspose.Imaging.ImageFilters.FilterOptions
Assembly: Aspose.Imaging.dll (25.2.0)

The convolution filter options.

public class ConvolutionFilterOptions : FilterOptionsBase

Inheritance

objectFilterOptionsBaseConvolutionFilterOptions

Derived

GaussianBlurFilterOptions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

ConvolutionFilterOptions(double[,], double, int)

Initializes a new instance of the Aspose.Imaging.ImageFilters.FilterOptions.ConvolutionFilterOptions class.

public ConvolutionFilterOptions(double[,] kernel, double factor = 1, int bias = 0)

Parameters

kernel double[,]

The convolution kernel for X-axis direction.

factor double

The factor.

bias int

The bias value.

Exceptions

ArgumentNullException

ArgumentNullException

ConvolutionFilterOptions()

Initializes a new instance of the Aspose.Imaging.ImageFilters.FilterOptions.ConvolutionFilterOptions class.

protected ConvolutionFilterOptions()

Fields

MinSize

The min kernel size.

protected const byte MinSize = 3

Field Value

byte

Properties

Bias

Gets or sets the bias.

public int Bias { get; set; }

Property Value

int

Factor

Gets or sets the factor.

public double Factor { get; set; }

Property Value

double

Kernel

Gets the kernel.

public virtual double[,] Kernel { get; }

Property Value

double[,]