Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Region Basics »
CreateRegionOfInterestRegion
CreateRegionOfInterestRegion
Creates a region corresponding to a given region of interest.
Syntax
C++
C#
void avl::CreateRegionOfInterestRegion
(
const avl::RegionOfInterest& inRegionOfInterest,
int inFrameWidth,
int inFrameHeight,
avl::Region& outRegion
)
void CreateRegionOfInterestRegion
(
RegionOfInterest inRegionOfInterest,
int inFrameWidth,
int inFrameHeight,
out Region outRegion
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
|
inRegionOfInterest |
const RegionOfInterest& |
|
|
|
|
inFrameWidth |
int |
0 - |
|
Width of the created region's frame |
|
inFrameHeight |
int |
0 - |
|
Height of the created region's frame |
|
outRegion |
Region& |
|
|
Output region |
Errors
Error type |
Description |
RuntimeError |
Invalid RegionOfInterest |