Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Features » RegionArea
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes the number of pixels contained in a region.
Syntax
C++
C#
void avl::RegionArea ( const avl::Region& inRegion, int& outArea )
Parameters
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | The area of the region exceeds the capacity of the integer type in RegionArea. |
See Also
- ShapeArea – Computes the area of a shape.