Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Relations » MakeRegionConditional
MakeRegionConditional
Computes region feature and checks whether its value is in range.
Syntax
C++
C#
void avl::MakeRegionConditional ( const avl::Region& inRegion, avl::RegionFeature::Type inFeature, atl::Optional<float> inMinimum, atl::Optional<float> inMaximum, atl::Conditional<avl::Region>& outConditionalRegion )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRegion | const Region& | Input region | ||
inFeature | RegionFeature::Type | Region feature value to be computed | ||
inMinimum | Optional<float> | NIL | Lowest value of the range | |
inMaximum | Optional<float> | NIL | Highest value of the range | |
outConditionalRegion | Conditional<Region>& | The region if the condition is met or nothing otherwise |