Back to Aurora Vision Library website
You are here: Start » Function Reference » ShapeRegion » Shape Region Morphology » DilateShapeRegion

DilateShapeRegion
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Performs a morphological dilation on a shape region.
Applications: Making the shape region thicker or filling-in small holes within it.
Syntax
C++
C#
void avl::DilateShapeRegion ( const avl::ShapeRegion& inShapeRegion, const float inRadius, avl::ShapeRegion& outShapeRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inShapeRegion | const ShapeRegion& | |||
![]() |
inRadius | const float | 0.0 - ![]() |
1.0f | |
![]() |
outShapeRegion | ShapeRegion& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unable to create Polygon from ShapeRegion in DilateShapeRegion. |