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)
Syntaxpublic static Mat GetStructuringElement(
ElementShape shape,
Size ksize,
Point anchor
)
Public Shared Function GetStructuringElement (
shape As ElementShape,
ksize As Size,
anchor As Point
) As Mat
public:
static Mat^ GetStructuringElement(
ElementShape shape,
Size ksize,
Point anchor
)
static member GetStructuringElement :
shape : ElementShape *
ksize : Size *
anchor : Point -> Mat
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:
MatThe structuring element
See Also