Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Region » Region Relations » TestRegionInRegion

TestRegionInRegion


Module: FoundationBasic

Tests whether a region is contained in another one.

Name Type Description
inSubregion Region
inRegion Region Input region
outIsContained Bool

Description

The operation tests whether the inSubregion is contained inside the inRegion. The resulting outIsContained is set to 'true' if and only if each pixel of inSubregion is also included in inRegion.

Examples

TestRegionInRegion run with inSubregion set to the left region and inRegion set to the right, computes the outIsContained = true.

TestRegionInRegion run with inSubregion set to the left region and inRegion set to the right, computes the outIsContained = false.

Complexity Level

This filter is available on Basic Complexity Level.

See Also