You are here: Start » AVL.NET » Function Reference » Region » Region Features » 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 | |
---|---|---|---|---|---|
![]() | inRegion | AvlNet.Region | Input region. | ||
![]() | inProjectionDirection | AvlNet.ProjectionDirection | Direction in which the pixel occurrences are counted, 'horizontal' means summation row after row, 'vertical' indicates summation column after column. | ||
![]() | outProfile | AvlNet.Profile | Profile of pixel count in consecutive rows/columns. |
Examples
![]() |
![]() |
RegionProjection performed on a sample region with inProjectionDirection = Vertical.