Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Features » RegionRectangularity

RegionRectangularity
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes the area of a region divided by the area of its bounding rectangle.
Syntax
C++
C#
void fil::RegionRectangularity ( const fil::Region& inRegion, float& outRectangularity )
Parameters
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. |