Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Features » RegionProjection

RegionProjection
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes the profile of the region pixel count in consecutive rows or columns.
Syntax
C++
C#
void fil::RegionProjection ( const fil::Region& inRegion, const fil::ProjectionDirection::Type inProjectionDirection, fil::Profile& outProfile )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | |
![]() |
inProjectionDirection | const ProjectionDirection::Type | 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 |
Examples
![]() |
![]() |
RegionProjection performed on a sample region with inProjectionDirection = Vertical.