You are here: Start » AVL.NET » AVL.SplitRegionIntoExactlyNCharacters(AvlNet.Region, int, int, float, AvlNet.Region[], AvlNet.Region[], AvlNet.Profile)
AVL.SplitRegionIntoExactlyNCharacters(AvlNet.Region, int, int, float, AvlNet.Region[], AvlNet.Region[], AvlNet.Profile)
Splits the input region into a fixed-size array of regions corresponding to individual characters.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SplitRegionIntoExactlyNCharacters( AvlNet.Region inRegion, int inCharacterCount, int inCharacterSpacing, float inProjectionSmooth, out AvlNet.Region[] outRegions, out AvlNet.Region[] diagClasses, out AvlNet.Profile diagProjection )
Parameters
- inRegion
- Type: AvlNet.Region
Region which contains characters - inCharacterCount
- Type: System.Int32
Character count in provided region - inCharacterSpacing
- Type: System.Int32
Spacing size between characters - inProjectionSmooth
- Type: System.Single
Projection smoothing value used to remove noises from character region - outRegions
- Type: AvlNet.Region
Output array of regions containing separated characters - diagClasses
- Type: AvlNet.Region
Regions that contain location of split characters - diagProjection
- Type: AvlNet.Profile
Profile of region projection used to distinguish characters
Errors
| Error type | Description |
|---|---|
| DomainError | Value of inCharacterCount is greater than inRegion frame width. |
| DomainError | Value of inCharactersSpacing is greater than single character width. |
