Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Region Morphology » DemarcateRegions
Splits common pixels of the input regions among these regions.
Name | Type | Description | |
---|---|---|---|
![]() |
inRegions | RegionArray | |
![]() |
inMetric | Metric* | Metric used for deciding which region owns a pixel; if set to NIL, region with lowest index in the input array is chosen |
![]() |
outRegions | RegionArray |
Applications
Use this filter to make sure that the regions of an array do not intersect.
Examples
![]() |
![]() |
DemarcateRegions performed with inMetric = Euclidean.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Dimensions of two or more regions differ in DemarcateRegions. |
Complexity Level
This filter is available on Advanced Complexity Level.