Class ConvolutionFilterOptions
- Namespace
- Aspose.Imaging.ImageFilters.FilterOptions
- Assembly
- Aspose.Imaging.dll
The convolution filter options.
public class ConvolutionFilterOptions : FilterOptionsBase
- Inheritance
-
ConvolutionFilterOptions
- Derived
- Inherited Members
Constructors
ConvolutionFilterOptions()
Initializes a new instance of the ConvolutionFilterOptions class.
protected ConvolutionFilterOptions()
ConvolutionFilterOptions(double[,], double, int)
Initializes a new instance of the ConvolutionFilterOptions class.
public ConvolutionFilterOptions(double[,] kernel, double factor = 1, int bias = 0)
Parameters
kernel
double[,]The convolution kernel for X-axis direction.
factor
doubleThe factor.
bias
intThe bias value.
Exceptions
- ArgumentNullException
ArgumentNullException
Fields
MinSize
The min kernel size.
protected const byte MinSize = 3
Field Value
Properties
Bias
Gets or sets the bias.
public int Bias { get; set; }
Property Value
- int
The bias.
Factor
Gets or sets the factor.
public double Factor { get; set; }
Property Value
- double
The factor.
Kernel
Gets the kernel.
public virtual double[,] Kernel { get; }
Property Value
- double[,]