You are here: Start » AVL.NET » AVL.RegionProjection Method
AVL.RegionProjection Method
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
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.