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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void gpuMatFilter2D(
	IntPtr src,
	IntPtr dst,
	IntPtr kernel,
	Point anchor
)
Public Shared Sub gpuMatFilter2D ( _
	src As IntPtr, _
	dst As IntPtr, _
	kernel As IntPtr, _
	anchor As Point _
)
public:
static void gpuMatFilter2D(
	IntPtr src, 
	IntPtr dst, 
	IntPtr kernel, 
	Point anchor
)

Parameters

src
IntPtr
The source GpuMat
dst
IntPtr
The destination GpuMmage
kernel
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 gpu image into separate color planes and process them individually
anchor
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

See Also