Performs advanced morphological transformations.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvMorphologyEx(
	IntPtr src,
	IntPtr dst,
	IntPtr temp,
	IntPtr element,
	CV_MORPH_OP operation,
	int iterations
)
Public Shared Sub cvMorphologyEx ( _
	src As IntPtr, _
	dst As IntPtr, _
	temp As IntPtr, _
	element As IntPtr, _
	operation As CV_MORPH_OP, _
	iterations As Integer _
)
public:
static void cvMorphologyEx(
	IntPtr src, 
	IntPtr dst, 
	IntPtr temp, 
	IntPtr element, 
	CV_MORPH_OP operation, 
	int iterations
)

Parameters

src
IntPtr
Source image.
dst
IntPtr
Destination image.
temp
IntPtr
Temporary image, required in some cases. The temporary image temp is required for morphological gradient and, in case of in-place operation, for "top hat" and "black hat".
element
IntPtr
Structuring element.
operation
CV_MORPH_OP
Type of morphological operation.
iterations
Int32
Number of times erosion and dilation are applied.

See Also