Table of Contents

Method GetStructuringElement

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

GetStructuringElement(MorphShapes, Size)

Returns a run length encoded structuring element of the specified size and shape.

public static Mat GetStructuringElement(MorphShapes shape, Size ksize)

Parameters

shape MorphShapes

Element shape that can be one of cv::MorphShapes

ksize Size

Size of the structuring element.

Returns

Mat