You are here: Start » AVL.NET » Function Reference » Region » Region Features » AVL.RegionProjection

AVL.RegionProjection

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RegionProjection
(
	AvlNet.Region inRegion,
	AvlNet.ProjectionDirection inProjectionDirection,
	AvlNet.Profile outProfile
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inProjectionDirectionAvlNet.ProjectionDirectionDirection in which the pixel occurrences are counted, 'horizontal' means summation row after row, 'vertical' indicates summation column after column.
outProfileAvlNet.ProfileProfile of pixel count in consecutive rows/columns.

Examples

RegionProjection performed on a sample region with inProjectionDirection = Vertical.

See also