Back to Aurora Vision Library website
You are here: Start » Function Reference » Profile » Profile Local Transforms » DilateProfile
DilateProfile
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationPro |
Changes a profile by choosing maximum point within a kernel.
Syntax
C++
C#
void avl::DilateProfile ( const avl::Profile& inProfile, atl::Optional<const avl::Range&> inRange, const int inKernelRadius, const bool inCyclic, avl::Profile& outProfile )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Profile to be processed | ||
![]() |
inRange | Optional<const Range&> | NIL | ||
![]() |
inKernelRadius | const int | 0 - ![]() |
3 | Defines the width of the kernel as '2 * inKernelRadius + 1' |
![]() |
inCyclic | const bool | Defines whether the first element should be considered adjacent to the last element | ||
![]() |
outProfile | Profile& | Output profile |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Range exceeds the input profile in DilateProfile. |



