http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Applies an advanced morphological operation to the image
Supports CV_8UC1, CV_8UC4 type.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public static void MorphologyEx( IntPtr src, IntPtr dst, CV_MORPH_OP op, IntPtr kernel, IntPtr buffer1, IntPtr buffer2, Point anchor, int iterations, IntPtr stream ) |
Visual Basic |
---|
Public Shared Sub MorphologyEx ( _ src As IntPtr, _ dst As IntPtr, _ op As CV_MORPH_OP, _ kernel As IntPtr, _ buffer1 As IntPtr, _ buffer2 As IntPtr, _ anchor As Point, _ iterations As Integer, _ stream As IntPtr _ ) |
Visual C++ |
---|
public: static void MorphologyEx( IntPtr src, IntPtr dst, CV_MORPH_OP op, IntPtr kernel, IntPtr buffer1, IntPtr buffer2, Point anchor, int iterations, IntPtr stream ) |
Parameters
- src
- Type: System..::..IntPtr
The source GpuMat
- dst
- Type: System..::..IntPtr
The destination GpuMat
- op
- Type: Emgu.CV.CvEnum..::..CV_MORPH_OP
The type of morphological operation
- kernel
- Type: System..::..IntPtr
The morphology kernel, pointer to an CvArr.
- buffer1
- Type: System..::..IntPtr
Temperary buffer. Should be the same size and type as the src GpuMat.
- buffer2
- Type: System..::..IntPtr
Temperary buffer. Should be the same size and type as the src GpuMat. Required for morphology operations other than erode or dilate. For erode and dilate operation, you can use IntPtr.Zero here.
- 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).