Allocates and fills the structure IplConvKernel, which can be used as a structuring element in the morphological operations.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public IplConvKernel( int cols, int rows, int anchorX, int anchorY, ElementShape shape )
Parameters
- cols
- Type: SystemInt32
Number of columns in the structuring element. - rows
- Type: SystemInt32
Number of rows in the structuring element. - anchorX
- Type: SystemInt32
Relative horizontal offset of the anchor point. - anchorY
- Type: SystemInt32
Relative vertical offset of the anchor point. - shape
- Type: OpenCvSharpElementShape
Shape of the structuring element.
Return Value
Type:See Also