ConvolutionFilterOptions Class

Summary: The convolution filter options.

Module: aspose.imaging.imagefilters.filteroptions

Full Name: aspose.imaging.imagefilters.filteroptions.ConvolutionFilterOptions

Inheritance: FilterOptionsBase

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
ConvolutionFilterOptions(kernel)Initializes a new instance of the ConvolutionFilterOptions class with factor = 1, and bias = 0.
ConvolutionFilterOptions(kernel, factor)Initializes a new instance of the ConvolutionFilterOptions class with bias = 0.
ConvolutionFilterOptions(kernel, factor, bias)Initializes a new instance of the ConvolutionFilterOptions class.

Properties

NameTypeAccessDescription
biasintr/wGets or sets the bias.
factordoubler/wGets or sets the factor.
kernel_datadoublerGets the kernel.

Constructor: ConvolutionFilterOptions(kernel)

 ConvolutionFilterOptions(kernel) 

Initializes a new instance of the ConvolutionFilterOptions class with factor = 1, and bias = 0.

Parameters:

ParameterTypeDescription
kerneldoubleThe convolution kernel for X-axis direction.

Constructor: ConvolutionFilterOptions(kernel, factor)

 ConvolutionFilterOptions(kernel, factor) 

Initializes a new instance of the ConvolutionFilterOptions class with bias = 0.

Parameters:

ParameterTypeDescription
kerneldoubleThe convolution kernel for X-axis direction.
factordoubleThe factor.

Constructor: ConvolutionFilterOptions(kernel, factor, bias)

 ConvolutionFilterOptions(kernel, factor, bias) 

Initializes a new instance of the ConvolutionFilterOptions class.

Parameters:

ParameterTypeDescription
kerneldoubleThe convolution kernel for X-axis direction.
factordoubleThe factor.
biasintThe bias value.