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

C# | Visual Basic | Visual C++ |
public void _MorphologyEx( StructuringElementEx element, CV_MORPH_OP operation, int iterations )
Public Sub _MorphologyEx ( _ element As StructuringElementEx, _ operation As CV_MORPH_OP, _ iterations As Integer _ )
public: void _MorphologyEx( StructuringElementEx^ element, CV_MORPH_OP operation, int iterations )

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