FilterUser Method (Image, Double, Point2D)

CVB.Net Documentation
Apply a user-defined linear convolution filter to an image.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image User(
	Image img,
	double[,] kernel,
	Point2D maskOffset
)

Parameters

img
Type: Stemmer.CvbImage
Image to apply the filter to.
kernel
Type: SystemDouble
Coefficients of the filter kernel; must be a two-dimensional array.
maskOffset
Type: Stemmer.CvbPoint2D
reference point of the filter mask, relative to the top left cell of the mask

Return Value

Type: Image
Filtered image.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img or kernel is null.
ObjectDisposedExceptionIf the input img has already been disposed
InvalidOperationExceptionIf the user kernel has a rank != 2.
See Also

Reference