Create a custome shape Structuring Element

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

Syntax

C#
public StructuringElementEx(
	int[,] values,
	int anchorX,
	int anchorY
)
Visual Basic (Declaration)
Public Sub New ( _
	values As Integer(,), _
	anchorX As Integer, _
	anchorY As Integer _
)
Visual C++
public:
StructuringElementEx(
	array<int,2>^ values, 
	int anchorX, 
	int anchorY
)

Parameters

values
Type: array< System..::.Int32 ,2>[,](,)[,]
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.
anchorX
Type: System..::.Int32
Relative horizontal offset of the anchor point
anchorY
Type: System..::.Int32
Relative vertical offset of the anchor point

See Also