Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region Basics » CreateRegionOfInterestRegion

CreateRegionOfInterestRegion


Creates a region corresponding to a given region of interest.

Header:AVL.h

Syntax

C++
C#
 
void avl::CreateRegionOfInterestRegion
(
	const avl::RegionOfInterest& inRegionOfInterest,
	int inFrameWidth,
	int inFrameHeight,
	avl::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