Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Features » RegionProjection
RegionProjection
Computes the profile of the region pixel count in consecutive rows or columns.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::RegionProjection ( const avl::Region& inRegion, const avl::ProjectionDirection::Type inProjectionDirection, avl::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 |