Click or drag to resize

ConvolutionFilter Class

Applies convolution to the source raster. Convolution is the modification of a pixel's value based on the values of its surrounding pixels. The Kernel is the numerical matrix that is applied to each pixel in this process. The convolution operation is discussed in more detail in numerous texts on image processing and useful convolution kernels are widely available from various sources.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Graphics.Imaging
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public class ConvolutionFilter : RasterFilter

The ConvolutionFilter type exposes the following members.

Constructors
  NameDescription
Public methodConvolutionFilter
Initializes a new instance.
Public methodConvolutionFilter(Matrix3By3)
Initializes a new instance with the specified Kernel.
Public methodConvolutionFilter(Matrix3By3, Double)
Initializes a new instance with the specified Kernel and Divisor.
Public methodConvolutionFilter(Matrix3By3, Double, Double)
Initializes a new instance with the specified Kernel, Divisor, and Offset.
Top
Properties
  NameDescription
Public propertyDivisor
Gets or sets the divisor for the result of the convolution kernel operation.
Public propertyKernel
Gets or sets the convolution kernel of the filter.
Public propertyOffset
Gets or sets the offset for the result of the convolution kernel operation. The value is added to the result of the operation.
Top
Methods
  NameDescription
Public methodDispose (Inherited from RasterFilter.)
Protected methodDispose(Boolean) (Overrides RasterFilterDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also