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.CV.OpenCL
Assembly: Emgu.CV.OpenCL (in Emgu.CV.OpenCL.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void Filter2D(
	IntPtr src,
	IntPtr dst,
	IntPtr kernel,
	Point anchor,
	BORDER_TYPE borderType
)
Visual Basic
Public Shared Sub Filter2D ( 
	src As IntPtr,
	dst As IntPtr,
	kernel As IntPtr,
	anchor As Point,
	borderType As BORDER_TYPE
)
Visual C++
public:
static void Filter2D(
	IntPtr src, 
	IntPtr dst, 
	IntPtr kernel, 
	Point anchor, 
	BORDER_TYPE borderType
)
F#
static member Filter2D : 
        src : IntPtr * 
        dst : IntPtr * 
        kernel : IntPtr * 
        anchor : Point * 
        borderType : BORDER_TYPE -> unit 

Parameters

src
Type: System..::..IntPtr
The source OclMat
dst
Type: System..::..IntPtr
The destination OclImage
kernel
Type: System..::..IntPtr
Convolution kernel, single-channel floating point matrix (e.g. Emgu.CV.Matrix). If you want to apply different kernels to different channels, split the ocl image into separate color planes and process them individually
anchor
Type: System.Drawing..::..Point
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
borderType
Type: Emgu.CV.CvEnum..::..BORDER_TYPE
Border type. Use REFLECT101 for default.

See Also