Performs advanced morphological transformations using erosion and dilation as basic operations.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void MorphologyEx( CvArr src, CvArr dst, CvArr temp, IplConvKernel element, MorphologyOperation operation, int iterations )
Parameters
- src
- Type: OpenCvSharpCvArr
Source image. - dst
- Type: OpenCvSharpCvArr
Destination image. - temp
- Type: OpenCvSharpCvArr
Temporary image, required in some cases. - element
- Type: OpenCvSharpIplConvKernel
Structuring element. - operation
- Type: OpenCvSharpMorphologyOperation
Type of morphological operation. - iterations
- Type: SystemInt32
Number of times erosion and dilation are applied.
See Also