Back to FabImage Studio website

You are here: Start » Filter Reference » OpenCV » Image Filtering » cvGetStructuringElement

cvGetStructuringElement


Module: OpenCV

Returns the structuring element of the specified size and shape for morphological operations.

Applications

Prepares element to be used with cvErode, cvDilate or cvMorphologyEx.
Name Type Range Description
Input value inShape CvStructuringShape Element shape.
Input value inEWidth Integer 1 - Width of the structuring element.
Input value inEHeight Integer 1 - Height of the structuring element.
Input value inAnchor Location* Anchor position within the element. The NIL value means that the anchor is at the center.
Output value outElement Region Output structuring element.

Complexity Level

This filter is available on Basic Complexity Level.