Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Morphology » ErodeRegion_Threshold

ErodeRegion_Threshold
Erodes a region with inThresholdValue pixels of inKernel.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ErodeRegion_Threshold ( const avl::Region& inRegion, const avl::Region& inKernel, atl::Optional<avl::Location&> inKernelAnchor, const int& inThresholdValue, avl::Region& outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | ||
![]() |
inKernel | const Region& | |||
![]() |
inKernelAnchor | Optional<Location&> | NIL | ||
![]() |
inThresholdValue | const int& | 0 - ![]() |
||
![]() |
outRegion | Region& | Output region |
Errors
Error type | Description |
---|---|
DomainError | inKernel empty in ErodeRegion_Threshold |