Start » Filter Reference » OpenCV » Image Filtering » 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 | |
---|---|---|---|---|
inShape | CvStructuringShape | Element shape. | ||
inEWidth | Integer | 1 - | Width of the structuring element. | |
inEHeight | Integer | 1 - | Height of the structuring element. | |
inAnchor | Location* | Anchor position within the element. The NIL value means that the anchor is at the center. | ||
outElement | Region | Output structuring element. |
Complexity Level
This filter is available on Basic Complexity Level.