Create a structuring element of the specific type

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public StructuringElementEx(
	int cols,
	int rows,
	int anchorX,
	int anchorY,
	CV_ELEMENT_SHAPE shape
)
Visual Basic (Declaration)
Public Sub New ( _
	cols As Integer, _
	rows As Integer, _
	anchorX As Integer, _
	anchorY As Integer, _
	shape As CV_ELEMENT_SHAPE _
)
Visual C++
public:
StructuringElementEx(
	int cols, 
	int rows, 
	int anchorX, 
	int anchorY, 
	CV_ELEMENT_SHAPE shape
)

Parameters

cols
Type: System..::.Int32
Number of columns in the structuring element
rows
Type: System..::.Int32
Number of rows in the structuring element
anchorX
Type: System..::.Int32
Relative horizontal offset of the anchor point
anchorY
Type: System..::.Int32
Relative vertical offset of the anchor point
shape
Type: Emgu.CV.CvEnum..::.CV_ELEMENT_SHAPE
Shape of the structuring element

See Also