You are here: Start » AVL.NET » AVL.RegionProjection(AvlNet.Region, AvlNet.ProjectionDirection, AvlNet.Profile)

AVL.RegionProjection(AvlNet.Region, AvlNet.ProjectionDirection, AvlNet.Profile)

Computes the profile of the region pixel count in consecutive rows or columns.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RegionProjection(
	AvlNet.Region inRegion,
	AvlNet.ProjectionDirection inProjectionDirection,
	out AvlNet.Profile outProfile
)

Parameters

inRegion
Type: AvlNet.Region
Input region
inProjectionDirection
Type: AvlNet.ProjectionDirection
Direction in which the pixel occurrences are counted, 'horizontal' means summation row after row, 'vertical' indicates summation column after column
outProfile
Type: AvlNet.Profile
Profile of pixel count in consecutive rows/columns

Examples

RegionProjection performed on a sample region with inProjectionDirection = Vertical.

See also