Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Relations » GroupRegionsByRegions
GroupRegionsByRegions
For each region returns which regions lie inside of it or intersect with it.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::GroupRegionsByRegions ( const atl::Array<avl::Region>& inRegions, const atl::Array<avl::Region>& inGroupRegions, avl::MatchingCriterion::Type inMatchingCriterion, atl::Array<atl::Array<int> >& outGroupedIndices, atl::Optional<atl::Array<atl::Array<avl::Region> >&> outGroupedRegions = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRegions | const Array<Region>& | Array of regions that will be classified into multiple groups | ||
inGroupRegions | const Array<Region>& | Array of regions that define the groups | ||
inMatchingCriterion | MatchingCriterion::Type | Specifies whether a region must fully belong to a group region or if it is enough that it intersects | ||
outGroupedIndices | Array<Array<int> >& | Indices of input regions classified into multiple groups | ||
outGroupedRegions | Optional<Array<Array<Region> >&> | NIL | Input regions classified into multiple groups |