http://www.emgu.com
Applies arbitrary linear filter to the image. In-place operation is supported. When the aperture is partially outside the image, the function interpolates outlier pixel values from the nearest pixels that is inside the image
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void Filter2D(
IInputArray src,
IOutputArray dst,
IInputArray kernel,
Point anchor,
double delta = 0,
BorderType borderType = BorderType.Reflect101
)
Public Shared Sub Filter2D (
src As IInputArray,
dst As IOutputArray,
kernel As IInputArray,
anchor As Point,
Optional delta As Double = 0,
Optional borderType As BorderType = BorderType.Reflect101
)
public:
static void Filter2D(
IInputArray^ src,
IOutputArray^ dst,
IInputArray^ kernel,
Point anchor,
double delta = 0,
BorderType borderType = BorderType::Reflect101
)
static member Filter2D :
src : IInputArray *
dst : IOutputArray *
kernel : IInputArray *
anchor : Point *
?delta : float *
?borderType : BorderType
(* Defaults:
let _delta = defaultArg delta 0
let _borderType = defaultArg borderType BorderType.Reflect101
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
The source image - dst
- Type: Emgu.CVIOutputArray
The destination image - kernel
- Type: Emgu.CVIInputArray
Convolution kernel, single-channel floating point matrix. If you want to apply different kernels to different channels, split the image using cvSplit into separate color planes and process them individually - anchor
- Type: System.DrawingPoint
The anchor of the kernel that indicates the relative position of a filtered point within the kernel. The anchor shoud lie within the kernel. The special default value (-1,-1) means that it is at the kernel center - delta (Optional)
- Type: SystemDouble
The optional value added to the filtered pixels before storing them in dst - borderType (Optional)
- Type: Emgu.CV.CvEnumBorderType
The pixel extrapolation method.
See Also