Click or drag to resize

CvInvokeGetStructuringElement Method

http://www.emgu.com
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: 4.1.1.3497 (4.1.1.3497)
Syntax
public static Mat GetStructuringElement(
	ElementShape shape,
	Size ksize,
	Point anchor
)

Parameters

shape
Type: Emgu.CV.CvEnumElementShape
Element shape
ksize
Type: System.DrawingSize
Size of the structuring element.
anchor
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