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

ErodeRegion_Threshold
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Erodes a region with inThresholdValue pixels of inKernel.
Syntax
C++
C#
void fil::ErodeRegion_Threshold ( const fil::Region& inRegion, const fil::Region& inKernel, ftl::Optional<const fil::Location&> inKernelAnchor, const int inThresholdValue, fil::Region& outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | ||
![]() |
inKernel | const Region& | |||
![]() |
inKernelAnchor | Optional<const Location&> | NIL | ||
![]() |
inThresholdValue | const int | 0 - ![]() |
||
![]() |
outRegion | Region& | Output region |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty kernel on input in ErodeRegion_Threshold. |