Back to Aurora Vision Library website

You are here: Start » Function Reference » Region » Region Morphology » ErodeRegion_Threshold

ErodeRegion_Threshold


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Erodes a region with inThresholdValue pixels of inKernel.

Syntax

C++
C#
 
void avl::ErodeRegion_Threshold
(
	const avl::Region& inRegion,
	const avl::Region& inKernel,
	atl::Optional<const avl::Location&> inKernelAnchor,
	const int inThresholdValue,
	avl::Region& outRegion
)

Parameters

Name Type Range Default Description
Input value inRegion const Region& Input region
Input value inKernel const Region&
Input value inKernelAnchor Optional<const Location&> NIL
Input value inThresholdValue const int 0 -
Output value 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.