Back to Aurora Vision Studio website

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

TestRegionEqualTo


Module: FoundationBasic

Tests whether given regions are equal.

Name Type Description
Input value inRegion Region Input region
Input value inReferenceRegion Region
Output value outIsEqual Bool

Description

The operation tests whether the inRegion is the same region as contained inside inReferenceRegion. It means that the resulting outIsEqual is set to 'true' if and only if both of the conditions are met:

  • inRegion and inReferenceRegion have the same dimensions
  • inRegion and inReferenceRegion contain the same set of pixels

Examples

TestRegionEqualTo run with inRegion set to the right region and inReferenceRegion set to the left, computes the outIsEqual = true.

TestRegionEqualTo run with inRegion set to the right region and inReferenceRegion set to the left, computes the outIsEqual = false, as dimensions of the regions differ.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also