Performs advanced morphological transformations.

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

Syntax

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

Parameters

src
Type: System..::.IntPtr
Source image.
dst
Type: System..::.IntPtr
Destination image.
temp
Type: System..::.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
Type: System..::.IntPtr
Structuring element.
operation
Type: Emgu.CV.CvEnum..::.CV_MORPH_OP
Type of morphological operation.
iterations
Type: System..::.Int32
Number of times erosion and dilation are applied.

See Also