Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region Features » RegionRectangularity

RegionRectangularity


Header:AVL.h
Namespace:avl

Computes the area of a region divided by the area of its bounding rectangle.

Syntax

C++
C#
 
void avl::RegionRectangularity
(
	const avl::Region& inRegion,
	float& outRectangularity
)

Parameters

Name Type Default Description
inRegion const Region& Input region
outRectangularity float&

Hints

  • If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.

Errors

List of possible exceptions:

Error type Description
DomainError Empty region on input in RegionRectangularity.