Back to Aurora Vision Library website

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

RegionRectangularity


Header: AVL.h
Namespace: avl
Module: FoundationBasic

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
Input value inRegion const Region& Input region
Output value 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.