http://www.emgu.com
Create a custome shape Structuring Element

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

Syntax

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

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