CvCreateStructuringElementEx Method (Int32, Int32, Int32, Int32, ElementShape, Int32) OpenCvSharp Class Library
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 static IplConvKernel CreateStructuringElementEx(
	int cols,
	int rows,
	int anchorX,
	int anchorY,
	ElementShape shape,
	int[,] values
)

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.
values
Type: SystemInt32
Pointer to the structuring element data, a plane array, representing row-by-row scanning of the element matrix. Non-zero values indicate points that belong to the element. If the pointer is null, then all values are considered non-zero, that is, the element is of a rectangular shape. This parameter is considered only if the shape is CV_SHAPE_CUSTOM .

Return Value

Type: IplConvKernel

[Missing <returns> documentation for "M:OpenCvSharp.Cv.CreateStructuringElementEx(System.Int32,System.Int32,System.Int32,System.Int32,OpenCvSharp.ElementShape,System.Int32[0:,0:])"]

See Also

Reference