Back to Aurora Vision Library Lite websiteYou are here:
Start »
Region »
Region Features »
RegionArea
Header: |
AVL.h
|
Namespace: |
avl |
Computes the number of pixels contained in a region.
Syntax
void avl::RegionArea
(
const avl::Region& inRegion,
int& outArea
)
Parameters
|
Name |
Type |
Default |
Description |
|
inRegion |
const Region& |
|
Input region |
|
outArea |
int& |
|
|
Examples
Area of the sample region equals to 5567.
Errors
List of possible exceptions:
Error type |
Description |
DomainError |
The area of the region exceeds the capacity of the integer type in RegionArea. |