http://www.emgu.com
Erodes the image (applies the local minimum operator). Supports CV_8UC1, CV_8UC4 type.

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static void Erode(
	IntPtr src,
	IntPtr dst,
	IntPtr kernel,
	IntPtr buffer,
	Point anchor,
	int iterations,
	IntPtr stream
)
Visual Basic
Public Shared Sub Erode ( _
	src As IntPtr, _
	dst As IntPtr, _
	kernel As IntPtr, _
	buffer As IntPtr, _
	anchor As Point, _
	iterations As Integer, _
	stream As IntPtr _
)
Visual C++
public:
static void Erode(
	IntPtr src, 
	IntPtr dst, 
	IntPtr kernel, 
	IntPtr buffer, 
	Point anchor, 
	int iterations, 
	IntPtr stream
)

Parameters

src
Type: System..::..IntPtr
The source GpuMat
dst
Type: System..::..IntPtr
The destination GpuMat
kernel
Type: System..::..IntPtr
The morphology kernel, pointer to an CvArr. If it is IntPtr.Zero, a 3x3 rectangular structuring element is used.
buffer
Type: System..::..IntPtr
Temperary buffer. Should be the same size and type as the src GpuMat.
anchor
Type: System.Drawing..::..Point
The center of the kernel. User (-1, -1) for the default kernel center.
iterations
Type: System..::..Int32
The number of iterations morphology is applied
stream
Type: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).

See Also