Perform advanced morphological transformations using erosion and dilation as basic operations.

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 Image<TColor, TDepth> MorphologyEx(
	StructuringElementEx element,
	CV_MORPH_OP operation,
	int iterations
)
Public Function MorphologyEx ( _
	element As StructuringElementEx, _
	operation As CV_MORPH_OP, _
	iterations As Integer _
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ MorphologyEx(
	StructuringElementEx^ element, 
	CV_MORPH_OP operation, 
	int iterations
)

Parameters

element
StructuringElementEx
Structuring element
operation
CV_MORPH_OP
Type of morphological operation
iterations
Int32
Number of times erosion and dilation are applied

Return Value

The result of the morphological operation

See Also