You are here: Start » AVL.NET » AVS.SplitRegionIntoComponents Method
AVS.SplitRegionIntoComponents Method
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 inDistanceBalance, int inMinComponentArea, bool inRemoveBoundaryBlobs, IList<AvlNet.Region> outComponents )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inDistanceBalance | float | <-1.0f, 1.0f> | Defines how much important the distance between regions in x coordinate is according to distance in y coordinate. | ||
inMinComponentArea | int | <0, INF> | 1 | Minimal area of a resulting component. Default value: 1. | |
inRemoveBoundaryBlobs | bool | False | Flag indicating whether the blobs on border of the input region should be removed or not. Default value: False. | ||
outComponents | System.Collections.Generic.IList<AvlNet.Region> |