You are here: Start » FIL.NET » Function Reference » Computer Vision » Optical Character Recognition » FIL.SplitRegionIntoExactlyNCharacters

FIL.SplitRegionIntoExactlyNCharacters

Splits the input region into a fixed-size array of regions corresponding to individual characters.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void SplitRegionIntoExactlyNCharacters
(
	FilNet.Region inRegion,
	int inCharacterCount,
	int inCharacterSpacing,
	float inProjectionSmooth,
	INullable<SafeList<FilNet.Region>> outRegions
)

Parameters

Name Type Range Default Description
inRegionFilNet.RegionRegion which contains characters.
inCharacterCountint<1, INF>Character count in provided region.
inCharacterSpacingint<0, INF>Spacing size between characters.
inProjectionSmoothfloat<0.0f, INF>1.0fProjection smoothing value used to remove noises from character region. Default value: 1.0f.
outRegionsFilNet.INullable<FilNet.SafeList<FilNet.Region>>Output array of regions containing separated characters. This parameter cannot be null.

Examples

Input region.

Result of the filter's usage.

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.

Function Overrides

See also