GetMaximumRegion
Returns the region from the input array that corresponds to the largest computed feature value.
Applications:Use this filter when you have an array of regions and you want to select one of them that best matches some criterion.
Syntax
C++
C#
Python
def GetMaximumRegion( inRegions: list[Region], outRegion: Region, /, *, inFeature: RegionFeature = RegionFeature.Area ) -> ( outValue: float, outIndex: int )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegions | list[Region] | Input regions | |
![]() |
inFeature | RegionFeature | RegionFeature.Area | Region feature value to be computed |
![]() |
outRegion | Region | Output region | |
![]() |
outValue | float | Computed feature value of the output region | |
![]() |
outIndex | int |


