Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Morphology » DemarcateRegions
DemarcateRegions
Splits common pixels of the input regions among these regions.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::DemarcateRegions ( const atl::Array<avl::Region>& inRegions, atl::Optional<avl::Metric::Type> inMetric, atl::Array<avl::Region>& outRegions )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRegions | const Array<Region>& | |||
inMetric | Optional<Metric::Type> | NIL | Metric used for deciding which region owns a pixel; if set to NIL, region with lowest index in the input array is chosen | |
outRegions | Array<Region>& |
Examples
Errors
Error type | Description |
---|---|
DomainError | Dimensions of two or more regions differ in DemarcateRegions. |