Back to FabImage Library website

You are here: Start » Function Reference » Region Relations » MakeRegionConditional

MakeRegionConditional


Header:FIL.h
Namespace:fil

Computes region feature and checks whether its value is in range.

Syntax

C++
C#
 
void fil::MakeRegionConditional
(
	const fil::Region& inRegion,
	fil::RegionFeature::Type inFeature,
	ftl::Optional<float> inMinimum,
	ftl::Optional<float> inMaximum,
	ftl::Conditional<fil::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