Create a custome shape Structuring Element

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

Syntax

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

Parameters

values
array<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
Int32
Relative horizontal offset of the anchor point
anchorY
Int32
Relative vertical offset of the anchor point

See Also