Click or drag to resize
CvInvokeGetStructuringElement Method
Returns a structuring element of the specified size and shape for morphological operations.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static Mat GetStructuringElement(
	ElementShape shape,
	Size ksize,
	Point anchor


Type: Emgu.CV.CvEnumElementShape
Element shape
Type: System.DrawingSize
Size of the structuring element.
Type: System.DrawingPoint
Anchor position within the element. The value (-1, -1) means that the anchor is at the center. Note that only the shape of a cross-shaped element depends on the anchor position. In other cases the anchor just regulates how much the result of the morphological operation is shifted.

Return Value

Type: Mat
The structuring element
See Also