You are here: Start » AVL.NET » AVL.SplitRegionIntoComponents(AvlNet.Region, float, bool, AvlNet.SplitAlgorithm?, AvlNet.Region[])
AVL.SplitRegionIntoComponents(AvlNet.Region, float, bool, AvlNet.SplitAlgorithm?, AvlNet.Region[])
Splits a region into an array of regions. Operates by merging blobs in accordance to the inMaxDistance parameter.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SplitRegionIntoComponents( AvlNet.Region inRegion, float inMaxDistance, bool inRemoveBoundaryBlobs, AvlNet.SplitAlgorithm? inSplitAlgorithm, out AvlNet.Region[] outComponents )
Parameters
- inRegion
- Type: AvlNet.Region
Input region - inMaxDistance
- Type: System.Single
- inRemoveBoundaryBlobs
- Type: System.Boolean
Flag indicating whether the blobs on border of the input region should be removed or not - inSplitAlgorithm
- Type: System.Nullable<AvlNet.SplitAlgorithm>
Algorithm that is used to split the region, if set to Auto, the algorithm with shorter predicted time of execution will be chosen, or null. - outComponents
- Type: AvlNet.Region
Examples
![]() |
![]() |
SplitRegionIntoComponents used with inMaxDistance = 50.
Remarks
This filter is mostly used in Blob Analysis Technique please refer to our Machine Vision Guide - Blob Analysis article.


