Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Region Features » RegionArea
Computes the number of pixels contained in a region.
Name | Type | Description | |
---|---|---|---|
inRegion | Region | Input region | |
outArea | Integer |
Examples
Description of usage of this filter can be found in examples and tutorial: Mounts (Blob Analysis), Brick destroy (Game), User Filter Example - Database, Detecting Chocolate Coverage on a Wafer.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | The area of the region exceeds the capacity of the integer type in RegionArea. |
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- ShapeArea – Computes the area of a shape.