You are here: Start » FIL.NET » FIS.SplitRegionIntoComponents Method
FIS.SplitRegionIntoComponents Method
Splits a region into an array of regions. Operates by merging blobs in accordance to the inMaxDistance parameter.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void SplitRegionIntoComponents ( FilNet.Region inRegion, int? inMaxDistance, float inDistanceBalance, float? inMaxJointDiameter, int? inMaxJointWidth, int? inMaxJointHeight, int inMinComponentArea, int? inMaxComponentArea, bool inRemoveBoundaryBlobs, IList<FilNet.Region> outComponents )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inMaxDistance | int? | <0, INF> | 5 | Default value: 5. |
![]() | inDistanceBalance | float | <-1.0f, 1.0f> | Defines how much important the distance between regions in x coordinate is according to distance in y coordinate. | |
![]() | inMaxJointDiameter | float? | <0.0f, INF> | ||
![]() | inMaxJointWidth | int? | <0, INF> | ||
![]() | inMaxJointHeight | int? | <0, INF> | ||
![]() | inMinComponentArea | int | <0, INF> | 1 | Minimal area of a resulting component. Default value: 1. |
![]() | inMaxComponentArea | int? | <0, INF> | Maximal area of a resulting component. Default value: ftl::NIL. | |
![]() | 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<FilNet.Region> |