Back to FabImage Studio website

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

cvDilate


Module: OpenCV

Dilates an image by using a specific structuring element.

Name Type Range Description
Input value
inSrc Image Source image.
Input value
inElement Region* Structuring element used for dilation. NIL value means that a 3 x 3 rectangular structuring element is used.
Input value
inAnchor Location* Position of the anchor within the element. The NIL value means that the anchor is at the element center.
Input value
inIterations Integer 0 - Number of times dilation is applied.
Input value
inBorderType CvBorderType Pixel extrapolation method.
Input value
inBorderValue Pixel* Border value in case of a constant border.
Output value
outDst Image Output image.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Input image must have pixel type different from Int8 and Int32 in cvDilate.
DomainError Input image must not be empty in cvDilate.

Complexity Level

This filter is available on Basic Complexity Level.