RegionProjection
Computes the profile of the region pixel count in consecutive rows or columns.
Syntax
C++
C#
Python
def RegionProjection( inRegion: Region, outProfile: Profile, /, *, inProjectionDirection: ProjectionDirection = ProjectionDirection.Horizontal ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegion | Region | Input region | |
![]() |
inProjectionDirection | ProjectionDirection | ProjectionDirection.Horizontal | Direction in which the pixel occurrences are counted, 'horizontal' means summation row after row, 'vertical' indicates summation column after column |
![]() |
outProfile | Profile | Profile of pixel count in consecutive rows/columns |


