Back to Adaptive 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
inRegion const Region& Input region
inKernel const Region&
inKernelAnchor Optional<const Location&> NIL
inThresholdValue const int 0 -
outRegion Region& Output region

Errors

List of possible exceptions:

Error type Description
DomainError Empty kernel on input in ErodeRegion_Threshold.