You are here: Start » AVL.NET » AVL.SplitRegionIntoExactlyNCharacters
Splits the input region into a fixed-size array of regions corresponding to individual characters.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SplitRegionIntoExactlyNCharacters ( AvlNet.Region inRegion, int inCharacterCount, int inCharacterSpacing, float inProjectionSmooth, INullable<SafeList<AvlNet.Region>> outRegions, IList<AvlNet.Region> diagClasses, AvlNet.Profile diagProjection )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Region which contains characters. | |||
inCharacterCount | int | <1, INF> | Character count in provided region. | ||
inCharacterSpacing | int | <0, INF> | Spacing size between characters. | ||
inProjectionSmooth | float | <0.0f, INF> | 1.0f | Projection smoothing value used to remove noises from character region. Default value: 1.0f. | |
outRegions | AvlNet.INullable<AvlNet.SafeList<AvlNet.Region>> | Output array of regions containing separated characters. | |||
diagClasses | System.Collections.Generic.IList<AvlNet.Region> | Regions that contain location of split characters. | |||
diagProjection | AvlNet.Profile | Profile of region projection used to distinguish characters. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Value of inCharacterCount is greater than inRegion frame width. |
DomainError | Value of inCharactersSpacing is greater than single character width. |